@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSchemasClient extends AmazonWebServiceClient implements AWSSchemas
Amazon EventBridge Schema Registry
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSSchemasClientBuilder builder()
public CreateDiscovererResult createDiscoverer(CreateDiscovererRequest request)
Creates a discoverer.
createDiscoverer
in interface AWSSchemas
createDiscovererRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseUnauthorizedException
- 401 responseForbiddenException
- 403 responseServiceUnavailableException
- 503 responseConflictException
- 409 responsepublic CreateRegistryResult createRegistry(CreateRegistryRequest request)
Creates a registry.
createRegistry
in interface AWSSchemas
createRegistryRequest
- 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 AWSSchemas
createSchemaRequest
- ServiceUnavailableException
- 503 responseBadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic DeleteDiscovererResult deleteDiscoverer(DeleteDiscovererRequest request)
Deletes a discoverer.
deleteDiscoverer
in interface AWSSchemas
deleteDiscovererRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic DeleteRegistryResult deleteRegistry(DeleteRegistryRequest request)
Deletes a Registry.
deleteRegistry
in interface AWSSchemas
deleteRegistryRequest
- 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 AWSSchemas
deleteResourcePolicyRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic DeleteSchemaResult deleteSchema(DeleteSchemaRequest request)
Delete a schema definition.
deleteSchema
in interface AWSSchemas
deleteSchemaRequest
- 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 AWSSchemas
deleteSchemaVersionRequest
- 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 AWSSchemas
describeCodeBindingRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseTooManyRequestsException
- 429 responsepublic DescribeDiscovererResult describeDiscoverer(DescribeDiscovererRequest request)
Describes the discoverer.
describeDiscoverer
in interface AWSSchemas
describeDiscovererRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic DescribeRegistryResult describeRegistry(DescribeRegistryRequest request)
Describes the registry.
describeRegistry
in interface AWSSchemas
describeRegistryRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic DescribeSchemaResult describeSchema(DescribeSchemaRequest request)
Retrieve the schema definition.
describeSchema
in interface AWSSchemas
describeSchemaRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic ExportSchemaResult exportSchema(ExportSchemaRequest request)
exportSchema
in interface AWSSchemas
exportSchemaRequest
- 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 AWSSchemas
getCodeBindingSourceRequest
- 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 AWSSchemas
getDiscoveredSchemaRequest
- 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 AWSSchemas
getResourcePolicyRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic ListDiscoverersResult listDiscoverers(ListDiscoverersRequest request)
List the discoverers.
listDiscoverers
in interface AWSSchemas
listDiscoverersRequest
- ServiceUnavailableException
- 503 responseBadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic ListRegistriesResult listRegistries(ListRegistriesRequest request)
List the registries.
listRegistries
in interface AWSSchemas
listRegistriesRequest
- 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 AWSSchemas
listSchemaVersionsRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic ListSchemasResult listSchemas(ListSchemasRequest request)
List the schemas.
listSchemas
in interface AWSSchemas
listSchemasRequest
- ServiceUnavailableException
- 503 responseBadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Get tags for resource.
listTagsForResource
in interface AWSSchemas
listTagsForResourceRequest
- NotFoundException
- 404 responseBadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic PutCodeBindingResult putCodeBinding(PutCodeBindingRequest request)
Put code binding URI
putCodeBinding
in interface AWSSchemas
putCodeBindingRequest
- 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 AWSSchemas
putResourcePolicyRequest
- 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 AWSSchemas
searchSchemasRequest
- ServiceUnavailableException
- 503 responseBadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic StartDiscovererResult startDiscoverer(StartDiscovererRequest request)
Starts the discoverer
startDiscoverer
in interface AWSSchemas
startDiscovererRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic StopDiscovererResult stopDiscoverer(StopDiscovererRequest request)
Stops the discoverer
stopDiscoverer
in interface AWSSchemas
stopDiscovererRequest
- 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 AWSSchemas
tagResourceRequest
- NotFoundException
- 404 responseBadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a resource.
untagResource
in interface AWSSchemas
untagResourceRequest
- NotFoundException
- 404 responseBadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responsepublic UpdateDiscovererResult updateDiscoverer(UpdateDiscovererRequest request)
Updates the discoverer
updateDiscoverer
in interface AWSSchemas
updateDiscovererRequest
- BadRequestException
- 400 responseUnauthorizedException
- 401 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseServiceUnavailableException
- 503 responsepublic UpdateRegistryResult updateRegistry(UpdateRegistryRequest request)
Updates a registry.
updateRegistry
in interface AWSSchemas
updateRegistryRequest
- 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 AWSSchemas
updateSchemaRequest
- 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 AWSSchemas
request
- The originally executed requestpublic AWSSchemasWaiters waiters()
waiters
in interface AWSSchemas
public void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSSchemas
shutdown
in class AmazonWebServiceClient