Interface SchemasClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon EventBridge Schema Registry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemasClientBuilderbuilder()Create a builder that can be used to configure and create aSchemasClient.static SchemasClientcreate()Create aSchemasClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateDiscovererResponsecreateDiscoverer(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest) Creates a discoverer.default CreateDiscovererResponsecreateDiscoverer(CreateDiscovererRequest createDiscovererRequest) Creates a discoverer.default CreateRegistryResponsecreateRegistry(Consumer<CreateRegistryRequest.Builder> createRegistryRequest) Creates a registry.default CreateRegistryResponsecreateRegistry(CreateRegistryRequest createRegistryRequest) Creates a registry.default CreateSchemaResponsecreateSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest) Creates a schema definition.default CreateSchemaResponsecreateSchema(CreateSchemaRequest createSchemaRequest) Creates a schema definition.default DeleteDiscovererResponsedeleteDiscoverer(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest) Deletes a discoverer.default DeleteDiscovererResponsedeleteDiscoverer(DeleteDiscovererRequest deleteDiscovererRequest) Deletes a discoverer.default DeleteRegistryResponsedeleteRegistry(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest) Deletes a Registry.default DeleteRegistryResponsedeleteRegistry(DeleteRegistryRequest deleteRegistryRequest) Deletes a Registry.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.default DeleteSchemaResponsedeleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest) Delete a schema definition.default DeleteSchemaResponsedeleteSchema(DeleteSchemaRequest deleteSchemaRequest) Delete a schema definition.default DeleteSchemaVersionResponsedeleteSchemaVersion(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest) Delete the schema version definitiondefault DeleteSchemaVersionResponsedeleteSchemaVersion(DeleteSchemaVersionRequest deleteSchemaVersionRequest) Delete the schema version definitiondefault DescribeCodeBindingResponsedescribeCodeBinding(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest) Describe the code binding URI.default DescribeCodeBindingResponsedescribeCodeBinding(DescribeCodeBindingRequest describeCodeBindingRequest) Describe the code binding URI.default DescribeDiscovererResponsedescribeDiscoverer(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest) Describes the discoverer.default DescribeDiscovererResponsedescribeDiscoverer(DescribeDiscovererRequest describeDiscovererRequest) Describes the discoverer.default DescribeRegistryResponsedescribeRegistry(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest) Describes the registry.default DescribeRegistryResponsedescribeRegistry(DescribeRegistryRequest describeRegistryRequest) Describes the registry.default DescribeSchemaResponsedescribeSchema(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest) Retrieve the schema definition.default DescribeSchemaResponsedescribeSchema(DescribeSchemaRequest describeSchemaRequest) Retrieve the schema definition.default ExportSchemaResponseexportSchema(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest) Invokes the ExportSchema operation.default ExportSchemaResponseexportSchema(ExportSchemaRequest exportSchemaRequest) Invokes the ExportSchema operation.default GetCodeBindingSourceResponsegetCodeBindingSource(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest) Get the code binding source URI.default GetCodeBindingSourceResponsegetCodeBindingSource(GetCodeBindingSourceRequest getCodeBindingSourceRequest) Get the code binding source URI.default GetDiscoveredSchemaResponsegetDiscoveredSchema(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.default GetDiscoveredSchemaResponsegetDiscoveredSchema(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.default ListDiscoverersResponselistDiscoverers(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) List the discoverers.default ListDiscoverersResponselistDiscoverers(ListDiscoverersRequest listDiscoverersRequest) List the discoverers.default ListDiscoverersIterablelistDiscoverersPaginator(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)operation.default ListDiscoverersIterablelistDiscoverersPaginator(ListDiscoverersRequest listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)operation.default ListRegistriesResponselistRegistries(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) List the registries.default ListRegistriesResponselistRegistries(ListRegistriesRequest listRegistriesRequest) List the registries.default ListRegistriesIterablelistRegistriesPaginator(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)operation.default ListRegistriesIterablelistRegistriesPaginator(ListRegistriesRequest listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)operation.default ListSchemasResponselistSchemas(Consumer<ListSchemasRequest.Builder> listSchemasRequest) List the schemas.default ListSchemasResponselistSchemas(ListSchemasRequest listSchemasRequest) List the schemas.default ListSchemasIterablelistSchemasPaginator(Consumer<ListSchemasRequest.Builder> listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)operation.default ListSchemasIterablelistSchemasPaginator(ListSchemasRequest listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)operation.default ListSchemaVersionsResponselistSchemaVersions(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) Provides a list of the schema versions and related information.default ListSchemaVersionsResponselistSchemaVersions(ListSchemaVersionsRequest listSchemaVersionsRequest) Provides a list of the schema versions and related information.default ListSchemaVersionsIterablelistSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)operation.default ListSchemaVersionsIterablelistSchemaVersionsPaginator(ListSchemaVersionsRequest listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Get tags for resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Get tags for resource.default PutCodeBindingResponseputCodeBinding(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest) Put code binding URIdefault PutCodeBindingResponseputCodeBinding(PutCodeBindingRequest putCodeBindingRequest) Put code binding URIdefault PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) The name of the policy.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) The name of the policy.default SearchSchemasResponsesearchSchemas(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) Search the schemasdefault SearchSchemasResponsesearchSchemas(SearchSchemasRequest searchSchemasRequest) Search the schemasdefault SearchSchemasIterablesearchSchemasPaginator(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) This is a variant ofsearchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)operation.default SearchSchemasIterablesearchSchemasPaginator(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 ServiceMetadatadefault StartDiscovererResponsestartDiscoverer(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest) Starts the discovererdefault StartDiscovererResponsestartDiscoverer(StartDiscovererRequest startDiscovererRequest) Starts the discovererdefault StopDiscovererResponsestopDiscoverer(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest) Stops the discovererdefault StopDiscovererResponsestopDiscoverer(StopDiscovererRequest stopDiscovererRequest) Stops the discovererdefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Add tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default UpdateDiscovererResponseupdateDiscoverer(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest) Updates the discovererdefault UpdateDiscovererResponseupdateDiscoverer(UpdateDiscovererRequest updateDiscovererRequest) Updates the discovererdefault UpdateRegistryResponseupdateRegistry(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest) Updates a registry.default UpdateRegistryResponseupdateRegistry(UpdateRegistryRequest updateRegistryRequest) Updates a registry.default UpdateSchemaResponseupdateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest) Updates the schema definitiondefault UpdateSchemaResponseupdateSchema(UpdateSchemaRequest updateSchemaRequest) Updates the schema definitiondefault SchemasWaiterwaiter()Create an instance ofSchemasWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaCreateDiscovererRequest.builder()- Parameters:
createDiscovererRequest- AConsumerthat will call methods onCreateDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateRegistryRequest.builder()- Parameters:
createRegistryRequest- AConsumerthat will call methods onCreateRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSchemaRequest.builder()- Parameters:
createSchemaRequest- AConsumerthat will call methods onCreateSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteDiscovererRequest.builder()- Parameters:
deleteDiscovererRequest- AConsumerthat will call methods onDeleteDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteRegistryRequest.builder()- Parameters:
deleteRegistryRequest- AConsumerthat will call methods onDeleteRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSchemaRequest.builder()- Parameters:
deleteSchemaRequest- AConsumerthat will call methods onDeleteSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSchemaVersionRequest.builder()- Parameters:
deleteSchemaVersionRequest- AConsumerthat will call methods onDeleteSchemaVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeCodeBindingRequest.builder()- Parameters:
describeCodeBindingRequest- AConsumerthat will call methods onDescribeCodeBindingRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeDiscovererRequest.builder()- Parameters:
describeDiscovererRequest- AConsumerthat will call methods onDescribeDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeRegistryRequest.builder()- Parameters:
describeRegistryRequest- AConsumerthat will call methods onDescribeRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeSchemaRequest.builder()- Parameters:
describeSchemaRequest- AConsumerthat will call methods onDescribeSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaExportSchemaRequest.builder()- Parameters:
exportSchemaRequest- AConsumerthat will call methods onExportSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCodeBindingSourceRequest.builder()- Parameters:
getCodeBindingSourceRequest- AConsumerthat will call methods onGetCodeBindingSourceRequest.Builderto 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.Builderavoiding the need to create one manually viaGetDiscoveredSchemaRequest.builder()- Parameters:
getDiscoveredSchemaRequest- AConsumerthat will call methods onGetDiscoveredSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaListDiscoverersRequest.builder()- Parameters:
listDiscoverersRequest- AConsumerthat will call methods onListDiscoverersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDiscoverersRequest.builder()- Parameters:
listDiscoverersRequest- AConsumerthat will call methods onListDiscoverersRequest.Builderto 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.Builderavoiding the need to create one manually viaListRegistriesRequest.builder()- Parameters:
listRegistriesRequest- AConsumerthat will call methods onListRegistriesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListRegistriesRequest.builder()- Parameters:
listRegistriesRequest- AConsumerthat will call methods onListRegistriesRequest.Builderto 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.Builderavoiding the need to create one manually viaListSchemaVersionsRequest.builder()- Parameters:
listSchemaVersionsRequest- AConsumerthat will call methods onListSchemaVersionsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSchemaVersionsRequest.builder()- Parameters:
listSchemaVersionsRequest- AConsumerthat will call methods onListSchemaVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSchemasRequest.builder()- Parameters:
listSchemasRequest- AConsumerthat will call methods onListSchemasRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSchemasRequest.builder()- Parameters:
listSchemasRequest- AConsumerthat will call methods onListSchemasRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaPutCodeBindingRequest.builder()- Parameters:
putCodeBindingRequest- AConsumerthat will call methods onPutCodeBindingRequest.Builderto 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.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaSearchSchemasRequest.builder()- Parameters:
searchSchemasRequest- AConsumerthat will call methods onSearchSchemasRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaSearchSchemasRequest.builder()- Parameters:
searchSchemasRequest- AConsumerthat will call methods onSearchSchemasRequest.Builderto 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.Builderavoiding the need to create one manually viaStartDiscovererRequest.builder()- Parameters:
startDiscovererRequest- AConsumerthat will call methods onStartDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaStopDiscovererRequest.builder()- Parameters:
stopDiscovererRequest- AConsumerthat will call methods onStopDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateDiscovererRequest.builder()- Parameters:
updateDiscovererRequest- AConsumerthat will call methods onUpdateDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateRegistryRequest.builder()- Parameters:
updateRegistryRequest- AConsumerthat will call methods onUpdateRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSchemaRequest.builder()- Parameters:
updateSchemaRequest- AConsumerthat will call methods onUpdateSchemaRequest.Builderto create a request.- Returns:
- Result of the UpdateSchema operation returned by the service.
- See Also:
-
waiter
Create an instance ofSchemasWaiterusing 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 aSchemasClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSchemasClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-