Interface SchemasClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Amazon EventBridge Schema Registry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemasClientBuilder
builder()
Create a builder that can be used to configure and create aSchemasClient
.static SchemasClient
create()
Create aSchemasClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateDiscovererResponse
createDiscoverer
(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest) Creates a discoverer.default CreateDiscovererResponse
createDiscoverer
(CreateDiscovererRequest createDiscovererRequest) Creates a discoverer.default CreateRegistryResponse
createRegistry
(Consumer<CreateRegistryRequest.Builder> createRegistryRequest) Creates a registry.default CreateRegistryResponse
createRegistry
(CreateRegistryRequest createRegistryRequest) Creates a registry.default CreateSchemaResponse
createSchema
(Consumer<CreateSchemaRequest.Builder> createSchemaRequest) Creates a schema definition.default CreateSchemaResponse
createSchema
(CreateSchemaRequest createSchemaRequest) Creates a schema definition.default DeleteDiscovererResponse
deleteDiscoverer
(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest) Deletes a discoverer.default DeleteDiscovererResponse
deleteDiscoverer
(DeleteDiscovererRequest deleteDiscovererRequest) Deletes a discoverer.default DeleteRegistryResponse
deleteRegistry
(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest) Deletes a Registry.default DeleteRegistryResponse
deleteRegistry
(DeleteRegistryRequest deleteRegistryRequest) Deletes a Registry.default DeleteResourcePolicyResponse
deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.default DeleteResourcePolicyResponse
deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.default DeleteSchemaResponse
deleteSchema
(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest) Delete a schema definition.default DeleteSchemaResponse
deleteSchema
(DeleteSchemaRequest deleteSchemaRequest) Delete a schema definition.default DeleteSchemaVersionResponse
deleteSchemaVersion
(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest) Delete the schema version definitiondefault DeleteSchemaVersionResponse
deleteSchemaVersion
(DeleteSchemaVersionRequest deleteSchemaVersionRequest) Delete the schema version definitiondefault DescribeCodeBindingResponse
describeCodeBinding
(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest) Describe the code binding URI.default DescribeCodeBindingResponse
describeCodeBinding
(DescribeCodeBindingRequest describeCodeBindingRequest) Describe the code binding URI.default DescribeDiscovererResponse
describeDiscoverer
(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest) Describes the discoverer.default DescribeDiscovererResponse
describeDiscoverer
(DescribeDiscovererRequest describeDiscovererRequest) Describes the discoverer.default DescribeRegistryResponse
describeRegistry
(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest) Describes the registry.default DescribeRegistryResponse
describeRegistry
(DescribeRegistryRequest describeRegistryRequest) Describes the registry.default DescribeSchemaResponse
describeSchema
(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest) Retrieve the schema definition.default DescribeSchemaResponse
describeSchema
(DescribeSchemaRequest describeSchemaRequest) Retrieve the schema definition.default ExportSchemaResponse
exportSchema
(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest) Invokes the ExportSchema operation.default ExportSchemaResponse
exportSchema
(ExportSchemaRequest exportSchemaRequest) Invokes the ExportSchema operation.default GetCodeBindingSourceResponse
getCodeBindingSource
(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest) Get the code binding source URI.default GetCodeBindingSourceResponse
getCodeBindingSource
(GetCodeBindingSourceRequest getCodeBindingSourceRequest) Get the code binding source URI.default GetDiscoveredSchemaResponse
getDiscoveredSchema
(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.default GetDiscoveredSchemaResponse
getDiscoveredSchema
(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.default GetResourcePolicyResponse
getResourcePolicy
(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.default GetResourcePolicyResponse
getResourcePolicy
(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.default ListDiscoverersResponse
listDiscoverers
(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) List the discoverers.default ListDiscoverersResponse
listDiscoverers
(ListDiscoverersRequest listDiscoverersRequest) List the discoverers.default ListDiscoverersIterable
listDiscoverersPaginator
(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.default ListDiscoverersIterable
listDiscoverersPaginator
(ListDiscoverersRequest listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.default ListRegistriesResponse
listRegistries
(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) List the registries.default ListRegistriesResponse
listRegistries
(ListRegistriesRequest listRegistriesRequest) List the registries.default ListRegistriesIterable
listRegistriesPaginator
(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.default ListRegistriesIterable
listRegistriesPaginator
(ListRegistriesRequest listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.default ListSchemasResponse
listSchemas
(Consumer<ListSchemasRequest.Builder> listSchemasRequest) List the schemas.default ListSchemasResponse
listSchemas
(ListSchemasRequest listSchemasRequest) List the schemas.default ListSchemasIterable
listSchemasPaginator
(Consumer<ListSchemasRequest.Builder> listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.default ListSchemasIterable
listSchemasPaginator
(ListSchemasRequest listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.default ListSchemaVersionsResponse
listSchemaVersions
(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) Provides a list of the schema versions and related information.default ListSchemaVersionsResponse
listSchemaVersions
(ListSchemaVersionsRequest listSchemaVersionsRequest) Provides a list of the schema versions and related information.default ListSchemaVersionsIterable
listSchemaVersionsPaginator
(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.default ListSchemaVersionsIterable
listSchemaVersionsPaginator
(ListSchemaVersionsRequest listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Get tags for resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Get tags for resource.default PutCodeBindingResponse
putCodeBinding
(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest) Put code binding URIdefault PutCodeBindingResponse
putCodeBinding
(PutCodeBindingRequest putCodeBindingRequest) Put code binding URIdefault PutResourcePolicyResponse
putResourcePolicy
(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) The name of the policy.default PutResourcePolicyResponse
putResourcePolicy
(PutResourcePolicyRequest putResourcePolicyRequest) The name of the policy.default SearchSchemasResponse
searchSchemas
(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) Search the schemasdefault SearchSchemasResponse
searchSchemas
(SearchSchemasRequest searchSchemasRequest) Search the schemasdefault SearchSchemasIterable
searchSchemasPaginator
(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) This is a variant ofsearchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.default SearchSchemasIterable
searchSchemasPaginator
(SearchSchemasRequest searchSchemasRequest) This is a variant ofsearchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartDiscovererResponse
startDiscoverer
(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest) Starts the discovererdefault StartDiscovererResponse
startDiscoverer
(StartDiscovererRequest startDiscovererRequest) Starts the discovererdefault StopDiscovererResponse
stopDiscoverer
(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest) Stops the discovererdefault StopDiscovererResponse
stopDiscoverer
(StopDiscovererRequest stopDiscovererRequest) Stops the discovererdefault TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to a resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Add tags to a resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default UpdateDiscovererResponse
updateDiscoverer
(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest) Updates the discovererdefault UpdateDiscovererResponse
updateDiscoverer
(UpdateDiscovererRequest updateDiscovererRequest) Updates the discovererdefault UpdateRegistryResponse
updateRegistry
(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest) Updates a registry.default UpdateRegistryResponse
updateRegistry
(UpdateRegistryRequest updateRegistryRequest) Updates a registry.default UpdateSchemaResponse
updateSchema
(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest) Updates the schema definitiondefault UpdateSchemaResponse
updateSchema
(UpdateSchemaRequest updateSchemaRequest) Updates the schema definitiondefault SchemasWaiter
waiter()
Create an instance ofSchemasWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createDiscoverer
default CreateDiscovererResponse createDiscoverer(CreateDiscovererRequest createDiscovererRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException Creates a discoverer.
- Parameters:
createDiscovererRequest
-- Returns:
- Result of the CreateDiscoverer operation returned by the service.
- See Also:
-
createDiscoverer
default CreateDiscovererResponse createDiscoverer(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException Creates a discoverer.
This is a convenience which creates an instance of the
CreateDiscovererRequest.Builder
avoiding the need to create one manually viaCreateDiscovererRequest.builder()
- Parameters:
createDiscovererRequest
- AConsumer
that will call methods onCreateDiscovererRequest.Builder
to create a request.- Returns:
- Result of the CreateDiscoverer operation returned by the service.
- See Also:
-
createRegistry
default CreateRegistryResponse createRegistry(CreateRegistryRequest createRegistryRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException Creates a registry.
- Parameters:
createRegistryRequest
-- Returns:
- Result of the CreateRegistry operation returned by the service.
- See Also:
-
createRegistry
default CreateRegistryResponse createRegistry(Consumer<CreateRegistryRequest.Builder> createRegistryRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException Creates a registry.
This is a convenience which creates an instance of the
CreateRegistryRequest.Builder
avoiding the need to create one manually viaCreateRegistryRequest.builder()
- Parameters:
createRegistryRequest
- AConsumer
that will call methods onCreateRegistryRequest.Builder
to create a request.- Returns:
- Result of the CreateRegistry operation returned by the service.
- See Also:
-
createSchema
default CreateSchemaResponse createSchema(CreateSchemaRequest createSchemaRequest) throws ServiceUnavailableException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Creates a schema definition.
Inactive schemas will be deleted after two years.
- Parameters:
createSchemaRequest
-- Returns:
- Result of the CreateSchema operation returned by the service.
- See Also:
-
createSchema
default CreateSchemaResponse createSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest) throws ServiceUnavailableException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Creates a schema definition.
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the
CreateSchemaRequest.Builder
avoiding the need to create one manually viaCreateSchemaRequest.builder()
- Parameters:
createSchemaRequest
- AConsumer
that will call methods onCreateSchemaRequest.Builder
to create a request.- Returns:
- Result of the CreateSchema operation returned by the service.
- See Also:
-
deleteDiscoverer
default DeleteDiscovererResponse deleteDiscoverer(DeleteDiscovererRequest deleteDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Deletes a discoverer.
- Parameters:
deleteDiscovererRequest
-- Returns:
- Result of the DeleteDiscoverer operation returned by the service.
- See Also:
-
deleteDiscoverer
default DeleteDiscovererResponse deleteDiscoverer(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Deletes a discoverer.
This is a convenience which creates an instance of the
DeleteDiscovererRequest.Builder
avoiding the need to create one manually viaDeleteDiscovererRequest.builder()
- Parameters:
deleteDiscovererRequest
- AConsumer
that will call methods onDeleteDiscovererRequest.Builder
to create a request.- Returns:
- Result of the DeleteDiscoverer operation returned by the service.
- See Also:
-
deleteRegistry
default DeleteRegistryResponse deleteRegistry(DeleteRegistryRequest deleteRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Deletes a Registry.
- Parameters:
deleteRegistryRequest
-- Returns:
- Result of the DeleteRegistry operation returned by the service.
- See Also:
-
deleteRegistry
default DeleteRegistryResponse deleteRegistry(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Deletes a Registry.
This is a convenience which creates an instance of the
DeleteRegistryRequest.Builder
avoiding the need to create one manually viaDeleteRegistryRequest.builder()
- Parameters:
deleteRegistryRequest
- AConsumer
that will call methods onDeleteRegistryRequest.Builder
to create a request.- Returns:
- Result of the DeleteRegistry operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Delete the resource-based policy attached to the specified registry.
- Parameters:
deleteResourcePolicyRequest
-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Delete the resource-based policy attached to the specified registry.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builder
avoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteSchema
default DeleteSchemaResponse deleteSchema(DeleteSchemaRequest deleteSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Delete a schema definition.
- Parameters:
deleteSchemaRequest
-- Returns:
- Result of the DeleteSchema operation returned by the service.
- See Also:
-
deleteSchema
default DeleteSchemaResponse deleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Delete a schema definition.
This is a convenience which creates an instance of the
DeleteSchemaRequest.Builder
avoiding the need to create one manually viaDeleteSchemaRequest.builder()
- Parameters:
deleteSchemaRequest
- AConsumer
that will call methods onDeleteSchemaRequest.Builder
to create a request.- Returns:
- Result of the DeleteSchema operation returned by the service.
- See Also:
-
deleteSchemaVersion
default DeleteSchemaVersionResponse deleteSchemaVersion(DeleteSchemaVersionRequest deleteSchemaVersionRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Delete the schema version definition
- Parameters:
deleteSchemaVersionRequest
-- Returns:
- Result of the DeleteSchemaVersion operation returned by the service.
- See Also:
-
deleteSchemaVersion
default DeleteSchemaVersionResponse deleteSchemaVersion(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Delete the schema version definition
This is a convenience which creates an instance of the
DeleteSchemaVersionRequest.Builder
avoiding the need to create one manually viaDeleteSchemaVersionRequest.builder()
- Parameters:
deleteSchemaVersionRequest
- AConsumer
that will call methods onDeleteSchemaVersionRequest.Builder
to create a request.- Returns:
- Result of the DeleteSchemaVersion operation returned by the service.
- See Also:
-
describeCodeBinding
default DescribeCodeBindingResponse describeCodeBinding(DescribeCodeBindingRequest describeCodeBindingRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Describe the code binding URI.
- Parameters:
describeCodeBindingRequest
-- Returns:
- Result of the DescribeCodeBinding operation returned by the service.
- See Also:
-
describeCodeBinding
default DescribeCodeBindingResponse describeCodeBinding(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Describe the code binding URI.
This is a convenience which creates an instance of the
DescribeCodeBindingRequest.Builder
avoiding the need to create one manually viaDescribeCodeBindingRequest.builder()
- Parameters:
describeCodeBindingRequest
- AConsumer
that will call methods onDescribeCodeBindingRequest.Builder
to create a request.- Returns:
- Result of the DescribeCodeBinding operation returned by the service.
- See Also:
-
describeDiscoverer
default DescribeDiscovererResponse describeDiscoverer(DescribeDiscovererRequest describeDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Describes the discoverer.
- Parameters:
describeDiscovererRequest
-- Returns:
- Result of the DescribeDiscoverer operation returned by the service.
- See Also:
-
describeDiscoverer
default DescribeDiscovererResponse describeDiscoverer(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Describes the discoverer.
This is a convenience which creates an instance of the
DescribeDiscovererRequest.Builder
avoiding the need to create one manually viaDescribeDiscovererRequest.builder()
- Parameters:
describeDiscovererRequest
- AConsumer
that will call methods onDescribeDiscovererRequest.Builder
to create a request.- Returns:
- Result of the DescribeDiscoverer operation returned by the service.
- See Also:
-
describeRegistry
default DescribeRegistryResponse describeRegistry(DescribeRegistryRequest describeRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Describes the registry.
- Parameters:
describeRegistryRequest
-- Returns:
- Result of the DescribeRegistry operation returned by the service.
- See Also:
-
describeRegistry
default DescribeRegistryResponse describeRegistry(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Describes the registry.
This is a convenience which creates an instance of the
DescribeRegistryRequest.Builder
avoiding the need to create one manually viaDescribeRegistryRequest.builder()
- Parameters:
describeRegistryRequest
- AConsumer
that will call methods onDescribeRegistryRequest.Builder
to create a request.- Returns:
- Result of the DescribeRegistry operation returned by the service.
- See Also:
-
describeSchema
default DescribeSchemaResponse describeSchema(DescribeSchemaRequest describeSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Retrieve the schema definition.
- Parameters:
describeSchemaRequest
-- Returns:
- Result of the DescribeSchema operation returned by the service.
- See Also:
-
describeSchema
default DescribeSchemaResponse describeSchema(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Retrieve the schema definition.
This is a convenience which creates an instance of the
DescribeSchemaRequest.Builder
avoiding the need to create one manually viaDescribeSchemaRequest.builder()
- Parameters:
describeSchemaRequest
- AConsumer
that will call methods onDescribeSchemaRequest.Builder
to create a request.- Returns:
- Result of the DescribeSchema operation returned by the service.
- See Also:
-
exportSchema
default ExportSchemaResponse exportSchema(ExportSchemaRequest exportSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Invokes the ExportSchema operation.- Parameters:
exportSchemaRequest
-- Returns:
- Result of the ExportSchema operation returned by the service.
- See Also:
-
exportSchema
default ExportSchemaResponse exportSchema(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Invokes the ExportSchema operation.
This is a convenience which creates an instance of the
ExportSchemaRequest.Builder
avoiding the need to create one manually viaExportSchemaRequest.builder()
- Parameters:
exportSchemaRequest
- AConsumer
that will call methods onExportSchemaRequest.Builder
to create a request.- Returns:
- Result of the ExportSchema operation returned by the service.
- See Also:
-
getCodeBindingSource
default GetCodeBindingSourceResponse getCodeBindingSource(GetCodeBindingSourceRequest getCodeBindingSourceRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Get the code binding source URI.
- Parameters:
getCodeBindingSourceRequest
-- Returns:
- Result of the GetCodeBindingSource operation returned by the service.
- See Also:
-
getCodeBindingSource
default GetCodeBindingSourceResponse getCodeBindingSource(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Get the code binding source URI.
This is a convenience which creates an instance of the
GetCodeBindingSourceRequest.Builder
avoiding the need to create one manually viaGetCodeBindingSourceRequest.builder()
- Parameters:
getCodeBindingSourceRequest
- AConsumer
that will call methods onGetCodeBindingSourceRequest.Builder
to create a request.- Returns:
- Result of the GetCodeBindingSource operation returned by the service.
- See Also:
-
getDiscoveredSchema
default GetDiscoveredSchemaResponse getDiscoveredSchema(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Get the discovered schema that was generated based on sampled events.
- Parameters:
getDiscoveredSchemaRequest
-- Returns:
- Result of the GetDiscoveredSchema operation returned by the service.
- See Also:
-
getDiscoveredSchema
default GetDiscoveredSchemaResponse getDiscoveredSchema(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Get the discovered schema that was generated based on sampled events.
This is a convenience which creates an instance of the
GetDiscoveredSchemaRequest.Builder
avoiding the need to create one manually viaGetDiscoveredSchemaRequest.builder()
- Parameters:
getDiscoveredSchemaRequest
- AConsumer
that will call methods onGetDiscoveredSchemaRequest.Builder
to create a request.- Returns:
- Result of the GetDiscoveredSchema operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Retrieves the resource-based policy attached to a given registry.
- Parameters:
getResourcePolicyRequest
-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Retrieves the resource-based policy attached to a given registry.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builder
avoiding the need to create one manually viaGetResourcePolicyRequest.builder()
- Parameters:
getResourcePolicyRequest
- AConsumer
that will call methods onGetResourcePolicyRequest.Builder
to create a request.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
listDiscoverers
default ListDiscoverersResponse listDiscoverers(ListDiscoverersRequest listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException List the discoverers.
- Parameters:
listDiscoverersRequest
-- Returns:
- Result of the ListDiscoverers operation returned by the service.
- See Also:
-
listDiscoverers
default ListDiscoverersResponse listDiscoverers(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException List the discoverers.
This is a convenience which creates an instance of the
ListDiscoverersRequest.Builder
avoiding the need to create one manually viaListDiscoverersRequest.builder()
- Parameters:
listDiscoverersRequest
- AConsumer
that will call methods onListDiscoverersRequest.Builder
to create a request.- Returns:
- Result of the ListDiscoverers operation returned by the service.
- See Also:
-
listDiscoverersPaginator
default ListDiscoverersIterable listDiscoverersPaginator(ListDiscoverersRequest listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client .listDiscoverersPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.- Parameters:
listDiscoverersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDiscoverersPaginator
default ListDiscoverersIterable listDiscoverersPaginator(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client .listDiscoverersPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.
This is a convenience which creates an instance of the
ListDiscoverersRequest.Builder
avoiding the need to create one manually viaListDiscoverersRequest.builder()
- Parameters:
listDiscoverersRequest
- AConsumer
that will call methods onListDiscoverersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRegistries
default ListRegistriesResponse listRegistries(ListRegistriesRequest listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException List the registries.
- Parameters:
listRegistriesRequest
-- Returns:
- Result of the ListRegistries operation returned by the service.
- See Also:
-
listRegistries
default ListRegistriesResponse listRegistries(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException List the registries.
This is a convenience which creates an instance of the
ListRegistriesRequest.Builder
avoiding the need to create one manually viaListRegistriesRequest.builder()
- Parameters:
listRegistriesRequest
- AConsumer
that will call methods onListRegistriesRequest.Builder
to create a request.- Returns:
- Result of the ListRegistries operation returned by the service.
- See Also:
-
listRegistriesPaginator
default ListRegistriesIterable listRegistriesPaginator(ListRegistriesRequest listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.- Parameters:
listRegistriesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRegistriesPaginator
default ListRegistriesIterable listRegistriesPaginator(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.
This is a convenience which creates an instance of the
ListRegistriesRequest.Builder
avoiding the need to create one manually viaListRegistriesRequest.builder()
- Parameters:
listRegistriesRequest
- AConsumer
that will call methods onListRegistriesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSchemaVersions
default ListSchemaVersionsResponse listSchemaVersions(ListSchemaVersionsRequest listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Provides a list of the schema versions and related information.
- Parameters:
listSchemaVersionsRequest
-- Returns:
- Result of the ListSchemaVersions operation returned by the service.
- See Also:
-
listSchemaVersions
default ListSchemaVersionsResponse listSchemaVersions(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Provides a list of the schema versions and related information.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builder
avoiding the need to create one manually viaListSchemaVersionsRequest.builder()
- Parameters:
listSchemaVersionsRequest
- AConsumer
that will call methods onListSchemaVersionsRequest.Builder
to create a request.- Returns:
- Result of the ListSchemaVersions operation returned by the service.
- See Also:
-
listSchemaVersionsPaginator
default ListSchemaVersionsIterable listSchemaVersionsPaginator(ListSchemaVersionsRequest listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client .listSchemaVersionsPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.- Parameters:
listSchemaVersionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSchemaVersionsPaginator
default ListSchemaVersionsIterable listSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client .listSchemaVersionsPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builder
avoiding the need to create one manually viaListSchemaVersionsRequest.builder()
- Parameters:
listSchemaVersionsRequest
- AConsumer
that will call methods onListSchemaVersionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSchemas
default ListSchemasResponse listSchemas(ListSchemasRequest listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException List the schemas.
- Parameters:
listSchemasRequest
-- Returns:
- Result of the ListSchemas operation returned by the service.
- See Also:
-
listSchemas
default ListSchemasResponse listSchemas(Consumer<ListSchemasRequest.Builder> listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException List the schemas.
This is a convenience which creates an instance of the
ListSchemasRequest.Builder
avoiding the need to create one manually viaListSchemasRequest.builder()
- Parameters:
listSchemasRequest
- AConsumer
that will call methods onListSchemasRequest.Builder
to create a request.- Returns:
- Result of the ListSchemas operation returned by the service.
- See Also:
-
listSchemasPaginator
default ListSchemasIterable listSchemasPaginator(ListSchemasRequest listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListSchemasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.- Parameters:
listSchemasRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSchemasPaginator
default ListSchemasIterable listSchemasPaginator(Consumer<ListSchemasRequest.Builder> listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request); for (software.amazon.awssdk.services.schemas.model.ListSchemasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.
This is a convenience which creates an instance of the
ListSchemasRequest.Builder
avoiding the need to create one manually viaListSchemasRequest.builder()
- Parameters:
listSchemasRequest
- AConsumer
that will call methods onListSchemasRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Get tags for resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Get tags for resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putCodeBinding
default PutCodeBindingResponse putCodeBinding(PutCodeBindingRequest putCodeBindingRequest) throws GoneException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Put code binding URI
- Parameters:
putCodeBindingRequest
-- Returns:
- Result of the PutCodeBinding operation returned by the service.
- See Also:
-
putCodeBinding
default PutCodeBindingResponse putCodeBinding(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest) throws GoneException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException Put code binding URI
This is a convenience which creates an instance of the
PutCodeBindingRequest.Builder
avoiding the need to create one manually viaPutCodeBindingRequest.builder()
- Parameters:
putCodeBindingRequest
- AConsumer
that will call methods onPutCodeBindingRequest.Builder
to create a request.- Returns:
- Result of the PutCodeBinding operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws BadRequestException, UnauthorizedException, PreconditionFailedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException The name of the policy.
- Parameters:
putResourcePolicyRequest
- The name of the policy.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws BadRequestException, UnauthorizedException, PreconditionFailedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException The name of the policy.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builder
avoiding the need to create one manually viaPutResourcePolicyRequest.builder()
- Parameters:
putResourcePolicyRequest
- AConsumer
that will call methods onPutResourcePolicyRequest.Builder
to create a request. The name of the policy.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
searchSchemas
default SearchSchemasResponse searchSchemas(SearchSchemasRequest searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Search the schemas
- Parameters:
searchSchemasRequest
-- Returns:
- Result of the SearchSchemas operation returned by the service.
- See Also:
-
searchSchemas
default SearchSchemasResponse searchSchemas(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Search the schemas
This is a convenience which creates an instance of the
SearchSchemasRequest.Builder
avoiding the need to create one manually viaSearchSchemasRequest.builder()
- Parameters:
searchSchemasRequest
- AConsumer
that will call methods onSearchSchemasRequest.Builder
to create a request.- Returns:
- Result of the SearchSchemas operation returned by the service.
- See Also:
-
searchSchemasPaginator
default SearchSchemasIterable searchSchemasPaginator(SearchSchemasRequest searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request); for (software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.- Parameters:
searchSchemasRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
searchSchemasPaginator
default SearchSchemasIterable searchSchemasPaginator(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException This is a variant of
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request); for (software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.
This is a convenience which creates an instance of the
SearchSchemasRequest.Builder
avoiding the need to create one manually viaSearchSchemasRequest.builder()
- Parameters:
searchSchemasRequest
- AConsumer
that will call methods onSearchSchemasRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
startDiscoverer
default StartDiscovererResponse startDiscoverer(StartDiscovererRequest startDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Starts the discoverer
- Parameters:
startDiscovererRequest
-- Returns:
- Result of the StartDiscoverer operation returned by the service.
- See Also:
-
startDiscoverer
default StartDiscovererResponse startDiscoverer(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Starts the discoverer
This is a convenience which creates an instance of the
StartDiscovererRequest.Builder
avoiding the need to create one manually viaStartDiscovererRequest.builder()
- Parameters:
startDiscovererRequest
- AConsumer
that will call methods onStartDiscovererRequest.Builder
to create a request.- Returns:
- Result of the StartDiscoverer operation returned by the service.
- See Also:
-
stopDiscoverer
default StopDiscovererResponse stopDiscoverer(StopDiscovererRequest stopDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Stops the discoverer
- Parameters:
stopDiscovererRequest
-- Returns:
- Result of the StopDiscoverer operation returned by the service.
- See Also:
-
stopDiscoverer
default StopDiscovererResponse stopDiscoverer(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Stops the discoverer
This is a convenience which creates an instance of the
StopDiscovererRequest.Builder
avoiding the need to create one manually viaStopDiscovererRequest.builder()
- Parameters:
stopDiscovererRequest
- AConsumer
that will call methods onStopDiscovererRequest.Builder
to create a request.- Returns:
- Result of the StopDiscoverer operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Add tags to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Add tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Removes tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDiscoverer
default UpdateDiscovererResponse updateDiscoverer(UpdateDiscovererRequest updateDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Updates the discoverer
- Parameters:
updateDiscovererRequest
-- Returns:
- Result of the UpdateDiscoverer operation returned by the service.
- See Also:
-
updateDiscoverer
default UpdateDiscovererResponse updateDiscoverer(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Updates the discoverer
This is a convenience which creates an instance of the
UpdateDiscovererRequest.Builder
avoiding the need to create one manually viaUpdateDiscovererRequest.builder()
- Parameters:
updateDiscovererRequest
- AConsumer
that will call methods onUpdateDiscovererRequest.Builder
to create a request.- Returns:
- Result of the UpdateDiscoverer operation returned by the service.
- See Also:
-
updateRegistry
default UpdateRegistryResponse updateRegistry(UpdateRegistryRequest updateRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Updates a registry.
- Parameters:
updateRegistryRequest
- Updates the registry.- Returns:
- Result of the UpdateRegistry operation returned by the service.
- See Also:
-
updateRegistry
default UpdateRegistryResponse updateRegistry(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Updates a registry.
This is a convenience which creates an instance of the
UpdateRegistryRequest.Builder
avoiding the need to create one manually viaUpdateRegistryRequest.builder()
- Parameters:
updateRegistryRequest
- AConsumer
that will call methods onUpdateRegistryRequest.Builder
to create a request. Updates the registry.- Returns:
- Result of the UpdateRegistry operation returned by the service.
- See Also:
-
updateSchema
default UpdateSchemaResponse updateSchema(UpdateSchemaRequest updateSchemaRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Updates the schema definition
Inactive schemas will be deleted after two years.
- Parameters:
updateSchemaRequest
-- Returns:
- Result of the UpdateSchema operation returned by the service.
- See Also:
-
updateSchema
default UpdateSchemaResponse updateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException Updates the schema definition
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the
UpdateSchemaRequest.Builder
avoiding the need to create one manually viaUpdateSchemaRequest.builder()
- Parameters:
updateSchemaRequest
- AConsumer
that will call methods onUpdateSchemaRequest.Builder
to create a request.- Returns:
- Result of the UpdateSchema operation returned by the service.
- See Also:
-
waiter
Create an instance ofSchemasWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
SchemasWaiter
-
create
Create aSchemasClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSchemasClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-