Schemas
public struct Schemas
Client object for interacting with AWS Schemas service.
Amazon EventBridge Schema Registry
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the Schemas client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)Parameters
accessKeyIdPublic access key provided by AWS
secretAccessKeyPrivate access key provided by AWS
sessionTokenToken provided by STS.AssumeRole() which allows access to another AWS account
regionRegion of server you want to communicate with
endpointCustom endpoint URL to use instead of standard AWS servers
middlewaresArray of middlewares to apply to requests and responses
eventLoopGroupProviderEventLoopGroup to use. Use
useAWSClientSharedif the client shall manage its own EventLoopGroup.
-
Creates a discoverer.
Declaration
Swift
public func createDiscoverer(_ input: CreateDiscovererRequest) -> EventLoopFuture<CreateDiscovererResponse> -
Creates a registry.
Declaration
Swift
public func createRegistry(_ input: CreateRegistryRequest) -> EventLoopFuture<CreateRegistryResponse> -
Creates a schema definition. Inactive schemas will be deleted after two years.
Declaration
Swift
public func createSchema(_ input: CreateSchemaRequest) -> EventLoopFuture<CreateSchemaResponse> -
Deletes a discoverer.
Declaration
Swift
@discardableResult public func deleteDiscoverer(_ input: DeleteDiscovererRequest) -> EventLoopFuture<Void> -
Deletes a Registry.
Declaration
Swift
@discardableResult public func deleteRegistry(_ input: DeleteRegistryRequest) -> EventLoopFuture<Void> -
Delete the resource-based policy attached to the specified registry.
Declaration
Swift
@discardableResult public func deleteResourcePolicy(_ input: DeleteResourcePolicyRequest) -> EventLoopFuture<Void> -
Delete a schema definition.
Declaration
Swift
@discardableResult public func deleteSchema(_ input: DeleteSchemaRequest) -> EventLoopFuture<Void> -
Delete the schema version definition
Declaration
Swift
@discardableResult public func deleteSchemaVersion(_ input: DeleteSchemaVersionRequest) -> EventLoopFuture<Void> -
Describe the code binding URI.
Declaration
Swift
public func describeCodeBinding(_ input: DescribeCodeBindingRequest) -> EventLoopFuture<DescribeCodeBindingResponse> -
Describes the discoverer.
Declaration
Swift
public func describeDiscoverer(_ input: DescribeDiscovererRequest) -> EventLoopFuture<DescribeDiscovererResponse> -
Describes the registry.
Declaration
Swift
public func describeRegistry(_ input: DescribeRegistryRequest) -> EventLoopFuture<DescribeRegistryResponse> -
Retrieve the schema definition.
Declaration
Swift
public func describeSchema(_ input: DescribeSchemaRequest) -> EventLoopFuture<DescribeSchemaResponse> -
Get the code binding source URI.
Declaration
Swift
public func getCodeBindingSource(_ input: GetCodeBindingSourceRequest) -> EventLoopFuture<GetCodeBindingSourceResponse> -
Get the discovered schema that was generated based on sampled events.
Declaration
Swift
public func getDiscoveredSchema(_ input: GetDiscoveredSchemaRequest) -> EventLoopFuture<GetDiscoveredSchemaResponse> -
Retrieves the resource-based policy attached to a given registry.
Declaration
Swift
public func getResourcePolicy(_ input: GetResourcePolicyRequest) -> EventLoopFuture<GetResourcePolicyResponse> -
List the discoverers.
Declaration
Swift
public func listDiscoverers(_ input: ListDiscoverersRequest) -> EventLoopFuture<ListDiscoverersResponse> -
List the registries.
Declaration
Swift
public func listRegistries(_ input: ListRegistriesRequest) -> EventLoopFuture<ListRegistriesResponse> -
Provides a list of the schema versions and related information.
Declaration
Swift
public func listSchemaVersions(_ input: ListSchemaVersionsRequest) -> EventLoopFuture<ListSchemaVersionsResponse> -
List the schemas.
Declaration
Swift
public func listSchemas(_ input: ListSchemasRequest) -> EventLoopFuture<ListSchemasResponse> -
Get tags for resource.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse> -
Put code binding URI
Declaration
Swift
public func putCodeBinding(_ input: PutCodeBindingRequest) -> EventLoopFuture<PutCodeBindingResponse> -
The name of the policy.
Declaration
Swift
public func putResourcePolicy(_ input: PutResourcePolicyRequest) -> EventLoopFuture<PutResourcePolicyResponse> -
Search the schemas
Declaration
Swift
public func searchSchemas(_ input: SearchSchemasRequest) -> EventLoopFuture<SearchSchemasResponse> -
Starts the discoverer
Declaration
Swift
public func startDiscoverer(_ input: StartDiscovererRequest) -> EventLoopFuture<StartDiscovererResponse> -
Stops the discoverer
Declaration
Swift
public func stopDiscoverer(_ input: StopDiscovererRequest) -> EventLoopFuture<StopDiscovererResponse> -
Add tags to a resource.
Declaration
Swift
@discardableResult public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<Void> -
Removes tags from a resource.
Declaration
Swift
@discardableResult public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<Void> -
Updates the discoverer
Declaration
Swift
public func updateDiscoverer(_ input: UpdateDiscovererRequest) -> EventLoopFuture<UpdateDiscovererResponse> -
Updates a registry.
Declaration
Swift
public func updateRegistry(_ input: UpdateRegistryRequest) -> EventLoopFuture<UpdateRegistryResponse> -
Updates the schema definition Inactive schemas will be deleted after two years.
Declaration
Swift
public func updateSchema(_ input: UpdateSchemaRequest) -> EventLoopFuture<UpdateSchemaResponse>
-
List the discoverers.
Declaration
Swift
public func listDiscoverersPaginator(_ input: ListDiscoverersRequest, onPage: @escaping (ListDiscoverersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void> -
List the registries.
Declaration
Swift
public func listRegistriesPaginator(_ input: ListRegistriesRequest, onPage: @escaping (ListRegistriesResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void> -
Provides a list of the schema versions and related information.
Declaration
Swift
public func listSchemaVersionsPaginator(_ input: ListSchemaVersionsRequest, onPage: @escaping (ListSchemaVersionsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void> -
List the schemas.
Declaration
Swift
public func listSchemasPaginator(_ input: ListSchemasRequest, onPage: @escaping (ListSchemasResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void> -
Search the schemas
Declaration
Swift
public func searchSchemasPaginator(_ input: SearchSchemasRequest, onPage: @escaping (SearchSchemasResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListDiscoverersRequest : AWSShapeextension Schemas.ListDiscoverersRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct ListRegistriesRequest : AWSShapeextension Schemas.ListRegistriesRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct ListSchemaVersionsRequest : AWSShapeextension Schemas.ListSchemaVersionsRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct ListSchemasRequest : AWSShapeextension Schemas.ListSchemasRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct SearchSchemasRequest : AWSShapeextension Schemas.SearchSchemasRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum CodeGenerationStatus : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum DiscovererState : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum `Type` : String, CustomStringConvertible, Codable
View on GitHub
Schemas Structure Reference