@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSchemasClient extends AmazonWebServiceClient implements AWSSchemas
Amazon EventBridge Schema Registry
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSSchemasClientBuilder builder()
public CreateDiscovererResult createDiscoverer(CreateDiscovererRequest request)
Creates a discoverer.
createDiscoverer in interface AWSSchemascreateDiscovererRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseUnauthorizedException - 401 responseForbiddenException - 403 responseServiceUnavailableException - 503 responseConflictException - 409 responsepublic CreateRegistryResult createRegistry(CreateRegistryRequest request)
Creates a registry.
createRegistry in interface AWSSchemascreateRegistryRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseUnauthorizedException - 401 responseForbiddenException - 403 responseServiceUnavailableException - 503 responseConflictException - 409 responsepublic CreateSchemaResult createSchema(CreateSchemaRequest request)
Creates a schema definition.
Inactive schemas will be deleted after two years.
createSchema in interface AWSSchemascreateSchemaRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic DeleteDiscovererResult deleteDiscoverer(DeleteDiscovererRequest request)
Deletes a discoverer.
deleteDiscoverer in interface AWSSchemasdeleteDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DeleteRegistryResult deleteRegistry(DeleteRegistryRequest request)
Deletes a Registry.
deleteRegistry in interface AWSSchemasdeleteRegistryRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request)
Delete the resource-based policy attached to the specified registry.
deleteResourcePolicy in interface AWSSchemasdeleteResourcePolicyRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DeleteSchemaResult deleteSchema(DeleteSchemaRequest request)
Delete a schema definition.
deleteSchema in interface AWSSchemasdeleteSchemaRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DeleteSchemaVersionResult deleteSchemaVersion(DeleteSchemaVersionRequest request)
Delete the schema version definition
deleteSchemaVersion in interface AWSSchemasdeleteSchemaVersionRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DescribeCodeBindingResult describeCodeBinding(DescribeCodeBindingRequest request)
Describe the code binding URI.
describeCodeBinding in interface AWSSchemasdescribeCodeBindingRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responsepublic DescribeDiscovererResult describeDiscoverer(DescribeDiscovererRequest request)
Describes the discoverer.
describeDiscoverer in interface AWSSchemasdescribeDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DescribeRegistryResult describeRegistry(DescribeRegistryRequest request)
Describes the registry.
describeRegistry in interface AWSSchemasdescribeRegistryRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic DescribeSchemaResult describeSchema(DescribeSchemaRequest request)
Retrieve the schema definition.
describeSchema in interface AWSSchemasdescribeSchemaRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic ExportSchemaResult exportSchema(ExportSchemaRequest request)
exportSchema in interface AWSSchemasexportSchemaRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseTooManyRequestsException - 429 responsepublic GetCodeBindingSourceResult getCodeBindingSource(GetCodeBindingSourceRequest request)
Get the code binding source URI.
getCodeBindingSource in interface AWSSchemasgetCodeBindingSourceRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responsepublic GetDiscoveredSchemaResult getDiscoveredSchema(GetDiscoveredSchemaRequest request)
Get the discovered schema that was generated based on sampled events.
getDiscoveredSchema in interface AWSSchemasgetDiscoveredSchemaRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest request)
Retrieves the resource-based policy attached to a given registry.
getResourcePolicy in interface AWSSchemasgetResourcePolicyRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic ListDiscoverersResult listDiscoverers(ListDiscoverersRequest request)
List the discoverers.
listDiscoverers in interface AWSSchemaslistDiscoverersRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic ListRegistriesResult listRegistries(ListRegistriesRequest request)
List the registries.
listRegistries in interface AWSSchemaslistRegistriesRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic ListSchemaVersionsResult listSchemaVersions(ListSchemaVersionsRequest request)
Provides a list of the schema versions and related information.
listSchemaVersions in interface AWSSchemaslistSchemaVersionsRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic ListSchemasResult listSchemas(ListSchemasRequest request)
List the schemas.
listSchemas in interface AWSSchemaslistSchemasRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Get tags for resource.
listTagsForResource in interface AWSSchemaslistTagsForResourceRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic PutCodeBindingResult putCodeBinding(PutCodeBindingRequest request)
Put code binding URI
putCodeBinding in interface AWSSchemasputCodeBindingRequest - GoneException - 410 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responsepublic PutResourcePolicyResult putResourcePolicy(PutResourcePolicyRequest request)
The name of the policy.
putResourcePolicy in interface AWSSchemasputResourcePolicyRequest - The name of the policy.BadRequestException - 400 responseUnauthorizedException - 401 responsePreconditionFailedException - 412 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic SearchSchemasResult searchSchemas(SearchSchemasRequest request)
Search the schemas
searchSchemas in interface AWSSchemassearchSchemasRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic StartDiscovererResult startDiscoverer(StartDiscovererRequest request)
Starts the discoverer
startDiscoverer in interface AWSSchemasstartDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic StopDiscovererResult stopDiscoverer(StopDiscovererRequest request)
Stops the discoverer
stopDiscoverer in interface AWSSchemasstopDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic TagResourceResult tagResource(TagResourceRequest request)
Add tags to a resource.
tagResource in interface AWSSchemastagResourceRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a resource.
untagResource in interface AWSSchemasuntagResourceRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responsepublic UpdateDiscovererResult updateDiscoverer(UpdateDiscovererRequest request)
Updates the discoverer
updateDiscoverer in interface AWSSchemasupdateDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic UpdateRegistryResult updateRegistry(UpdateRegistryRequest request)
Updates a registry.
updateRegistry in interface AWSSchemasupdateRegistryRequest - Updates the registry.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic UpdateSchemaResult updateSchema(UpdateSchemaRequest request)
Updates the schema definition
Inactive schemas will be deleted after two years.
updateSchema in interface AWSSchemasupdateSchemaRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responsepublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSSchemasrequest - The originally executed requestpublic AWSSchemasWaiters waiters()
waiters in interface AWSSchemaspublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSSchemasshutdown in class AmazonWebServiceClient