@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCloudDirectoryAsyncClient extends AmazonCloudDirectoryClient implements AmazonCloudDirectoryAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon Cloud Directory is a component of the AWS Directory Service that simplifies the development and management of cloud-scale web, mobile and IoT applications. This guide describes the Cloud Directory operations that you can call programatically and includes detailed information on data types and errors. For information about AWS Directory Services features, see AWS Directory Service and the AWS Directory Service Administration Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonCloudDirectoryAsyncClient()
Deprecated.
|
AmazonCloudDirectoryAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonCloudDirectoryAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonCloudDirectoryAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonCloudDirectoryAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addFacetToObject, applySchema, attachObject, attachPolicy, attachToIndex, batchRead, batchWrite, builder, createDirectory, createFacet, createIndex, createObject, createSchema, deleteDirectory, deleteFacet, deleteObject, deleteSchema, detachFromIndex, detachObject, detachPolicy, disableDirectory, enableDirectory, getCachedResponseMetadata, getDirectory, getFacet, getObjectInformation, getSchemaAsJson, listAppliedSchemaArns, listAttachedIndices, listDevelopmentSchemaArns, listDirectories, listFacetAttributes, listFacetNames, listIndex, listObjectAttributes, listObjectChildren, listObjectParents, listObjectPolicies, listPolicyAttachments, listPublishedSchemaArns, listTagsForResource, lookupPolicy, publishSchema, putSchemaFromJson, removeFacetFromObject, tagResource, untagResource, updateFacet, updateObjectAttributes, updateSchema
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFacetToObject, applySchema, attachObject, attachPolicy, attachToIndex, batchRead, batchWrite, createDirectory, createFacet, createIndex, createObject, createSchema, deleteDirectory, deleteFacet, deleteObject, deleteSchema, detachFromIndex, detachObject, detachPolicy, disableDirectory, enableDirectory, getCachedResponseMetadata, getDirectory, getFacet, getObjectInformation, getSchemaAsJson, listAppliedSchemaArns, listAttachedIndices, listDevelopmentSchemaArns, listDirectories, listFacetAttributes, listFacetNames, listIndex, listObjectAttributes, listObjectChildren, listObjectParents, listObjectPolicies, listPolicyAttachments, listPublishedSchemaArns, listTagsForResource, lookupPolicy, publishSchema, putSchemaFromJson, removeFacetFromObject, setEndpoint, setRegion, tagResource, untagResource, updateFacet, updateObjectAttributes, updateSchema
@Deprecated public AmazonCloudDirectoryAsyncClient()
AmazonCloudDirectoryAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AmazonCloudDirectoryAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to Amazon CloudDirectory (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonCloudDirectoryAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AmazonCloudDirectoryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddFacetToObjectResult> addFacetToObjectAsync(AddFacetToObjectRequest request)
AmazonCloudDirectoryAsync
Adds a new Facet to an object.
addFacetToObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<AddFacetToObjectResult> addFacetToObjectAsync(AddFacetToObjectRequest request, AsyncHandler<AddFacetToObjectRequest,AddFacetToObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Adds a new Facet to an object.
addFacetToObjectAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ApplySchemaResult> applySchemaAsync(ApplySchemaRequest request)
AmazonCloudDirectoryAsync
Copies input published schema into Directory with same name and version as that of published schema .
applySchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<ApplySchemaResult> applySchemaAsync(ApplySchemaRequest request, AsyncHandler<ApplySchemaRequest,ApplySchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Copies input published schema into Directory with same name and version as that of published schema .
applySchemaAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachObjectResult> attachObjectAsync(AttachObjectRequest request)
AmazonCloudDirectoryAsync
Attaches an existing object to another object. An object can be accessed in two ways:
Using the path
Using ObjectIdentifier
attachObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<AttachObjectResult> attachObjectAsync(AttachObjectRequest request, AsyncHandler<AttachObjectRequest,AttachObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Attaches an existing object to another object. An object can be accessed in two ways:
Using the path
Using ObjectIdentifier
attachObjectAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachPolicyResult> attachPolicyAsync(AttachPolicyRequest request)
AmazonCloudDirectoryAsync
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
attachPolicyAsync
in interface AmazonCloudDirectoryAsync
public Future<AttachPolicyResult> attachPolicyAsync(AttachPolicyRequest request, AsyncHandler<AttachPolicyRequest,AttachPolicyResult> asyncHandler)
AmazonCloudDirectoryAsync
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
attachPolicyAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachToIndexResult> attachToIndexAsync(AttachToIndexRequest request)
AmazonCloudDirectoryAsync
Attaches the specified object to the specified index.
attachToIndexAsync
in interface AmazonCloudDirectoryAsync
public Future<AttachToIndexResult> attachToIndexAsync(AttachToIndexRequest request, AsyncHandler<AttachToIndexRequest,AttachToIndexResult> asyncHandler)
AmazonCloudDirectoryAsync
Attaches the specified object to the specified index.
attachToIndexAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchReadResult> batchReadAsync(BatchReadRequest request)
AmazonCloudDirectoryAsync
Performs all the read operations in a batch.
batchReadAsync
in interface AmazonCloudDirectoryAsync
public Future<BatchReadResult> batchReadAsync(BatchReadRequest request, AsyncHandler<BatchReadRequest,BatchReadResult> asyncHandler)
AmazonCloudDirectoryAsync
Performs all the read operations in a batch.
batchReadAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchWriteResult> batchWriteAsync(BatchWriteRequest request)
AmazonCloudDirectoryAsync
Performs all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations.
batchWriteAsync
in interface AmazonCloudDirectoryAsync
public Future<BatchWriteResult> batchWriteAsync(BatchWriteRequest request, AsyncHandler<BatchWriteRequest,BatchWriteResult> asyncHandler)
AmazonCloudDirectoryAsync
Performs all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations.
batchWriteAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request)
AmazonCloudDirectoryAsync
Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.
createDirectoryAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.
createDirectoryAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFacetResult> createFacetAsync(CreateFacetRequest request)
AmazonCloudDirectoryAsync
Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.
createFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateFacetResult> createFacetAsync(CreateFacetRequest request, AsyncHandler<CreateFacetRequest,CreateFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.
createFacetAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateIndexResult> createIndexAsync(CreateIndexRequest request)
AmazonCloudDirectoryAsync
Creates an index object. See Indexing for more information.
createIndexAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateIndexResult> createIndexAsync(CreateIndexRequest request, AsyncHandler<CreateIndexRequest,CreateIndexResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates an index object. See Indexing for more information.
createIndexAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateObjectResult> createObjectAsync(CreateObjectRequest request)
AmazonCloudDirectoryAsync
Creates an object in a Directory. Additionally attaches the object to a parent, if a parent reference and LinkName is specified. An object is simply a collection of Facet attributes. You can also use this API call to create a policy object, if the facet from which you create the object is a policy facet.
createObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateObjectResult> createObjectAsync(CreateObjectRequest request, AsyncHandler<CreateObjectRequest,CreateObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates an object in a Directory. Additionally attaches the object to a parent, if a parent reference and LinkName is specified. An object is simply a collection of Facet attributes. You can also use this API call to create a policy object, if the facet from which you create the object is a policy facet.
createObjectAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSchemaResult> createSchemaAsync(CreateSchemaRequest request)
AmazonCloudDirectoryAsync
Creates a new schema in a development state. A schema can exist in three phases:
Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published.
Published: Published schemas are immutable and have a version associated with them.
Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories.
createSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateSchemaResult> createSchemaAsync(CreateSchemaRequest request, AsyncHandler<CreateSchemaRequest,CreateSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates a new schema in a development state. A schema can exist in three phases:
Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published.
Published: Published schemas are immutable and have a version associated with them.
Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories.
createSchemaAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request)
AmazonCloudDirectoryAsync
Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.
deleteDirectoryAsync
in interface AmazonCloudDirectoryAsync
public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
AmazonCloudDirectoryAsync
Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.
deleteDirectoryAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFacetResult> deleteFacetAsync(DeleteFacetRequest request)
AmazonCloudDirectoryAsync
Deletes a given Facet. All attributes and Rules associated with the facet will be deleted. Only development schema facets are allowed deletion.
deleteFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<DeleteFacetResult> deleteFacetAsync(DeleteFacetRequest request, AsyncHandler<DeleteFacetRequest,DeleteFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Deletes a given Facet. All attributes and Rules associated with the facet will be deleted. Only development schema facets are allowed deletion.
deleteFacetAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteObjectResult> deleteObjectAsync(DeleteObjectRequest request)
AmazonCloudDirectoryAsync
Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted.
deleteObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<DeleteObjectResult> deleteObjectAsync(DeleteObjectRequest request, AsyncHandler<DeleteObjectRequest,DeleteObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted.
deleteObjectAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSchemaResult> deleteSchemaAsync(DeleteSchemaRequest request)
AmazonCloudDirectoryAsync
Deletes a given schema. Schemas in a development and published state can only be deleted.
deleteSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<DeleteSchemaResult> deleteSchemaAsync(DeleteSchemaRequest request, AsyncHandler<DeleteSchemaRequest,DeleteSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Deletes a given schema. Schemas in a development and published state can only be deleted.
deleteSchemaAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetachFromIndexResult> detachFromIndexAsync(DetachFromIndexRequest request)
AmazonCloudDirectoryAsync
Detaches the specified object from the specified index.
detachFromIndexAsync
in interface AmazonCloudDirectoryAsync
public Future<DetachFromIndexResult> detachFromIndexAsync(DetachFromIndexRequest request, AsyncHandler<DetachFromIndexRequest,DetachFromIndexResult> asyncHandler)
AmazonCloudDirectoryAsync
Detaches the specified object from the specified index.
detachFromIndexAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetachObjectResult> detachObjectAsync(DetachObjectRequest request)
AmazonCloudDirectoryAsync
Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.
detachObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<DetachObjectResult> detachObjectAsync(DetachObjectRequest request, AsyncHandler<DetachObjectRequest,DetachObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.
detachObjectAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetachPolicyResult> detachPolicyAsync(DetachPolicyRequest request)
AmazonCloudDirectoryAsync
Detaches a policy from an object.
detachPolicyAsync
in interface AmazonCloudDirectoryAsync
public Future<DetachPolicyResult> detachPolicyAsync(DetachPolicyRequest request, AsyncHandler<DetachPolicyRequest,DetachPolicyResult> asyncHandler)
AmazonCloudDirectoryAsync
Detaches a policy from an object.
detachPolicyAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisableDirectoryResult> disableDirectoryAsync(DisableDirectoryRequest request)
AmazonCloudDirectoryAsync
Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.
disableDirectoryAsync
in interface AmazonCloudDirectoryAsync
public Future<DisableDirectoryResult> disableDirectoryAsync(DisableDirectoryRequest request, AsyncHandler<DisableDirectoryRequest,DisableDirectoryResult> asyncHandler)
AmazonCloudDirectoryAsync
Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.
disableDirectoryAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<EnableDirectoryResult> enableDirectoryAsync(EnableDirectoryRequest request)
AmazonCloudDirectoryAsync
Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.
enableDirectoryAsync
in interface AmazonCloudDirectoryAsync
public Future<EnableDirectoryResult> enableDirectoryAsync(EnableDirectoryRequest request, AsyncHandler<EnableDirectoryRequest,EnableDirectoryResult> asyncHandler)
AmazonCloudDirectoryAsync
Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.
enableDirectoryAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDirectoryResult> getDirectoryAsync(GetDirectoryRequest request)
AmazonCloudDirectoryAsync
Retrieves metadata about a directory.
getDirectoryAsync
in interface AmazonCloudDirectoryAsync
public Future<GetDirectoryResult> getDirectoryAsync(GetDirectoryRequest request, AsyncHandler<GetDirectoryRequest,GetDirectoryResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves metadata about a directory.
getDirectoryAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetFacetResult> getFacetAsync(GetFacetRequest request)
AmazonCloudDirectoryAsync
Gets details of the Facet, such as Facet Name, Attributes, Rules, or ObjectType. You can call this on all kinds of schema facets -- published, development, or applied.
getFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<GetFacetResult> getFacetAsync(GetFacetRequest request, AsyncHandler<GetFacetRequest,GetFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Gets details of the Facet, such as Facet Name, Attributes, Rules, or ObjectType. You can call this on all kinds of schema facets -- published, development, or applied.
getFacetAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetObjectInformationResult> getObjectInformationAsync(GetObjectInformationRequest request)
AmazonCloudDirectoryAsync
Retrieves metadata about an object.
getObjectInformationAsync
in interface AmazonCloudDirectoryAsync
public Future<GetObjectInformationResult> getObjectInformationAsync(GetObjectInformationRequest request, AsyncHandler<GetObjectInformationRequest,GetObjectInformationResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves metadata about an object.
getObjectInformationAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSchemaAsJsonResult> getSchemaAsJsonAsync(GetSchemaAsJsonRequest request)
AmazonCloudDirectoryAsync
Retrieves a JSON representation of the schema. See JSON Schema Format for more information.
getSchemaAsJsonAsync
in interface AmazonCloudDirectoryAsync
public Future<GetSchemaAsJsonResult> getSchemaAsJsonAsync(GetSchemaAsJsonRequest request, AsyncHandler<GetSchemaAsJsonRequest,GetSchemaAsJsonResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves a JSON representation of the schema. See JSON Schema Format for more information.
getSchemaAsJsonAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppliedSchemaArnsResult> listAppliedSchemaArnsAsync(ListAppliedSchemaArnsRequest request)
AmazonCloudDirectoryAsync
Lists schemas applied to a directory.
listAppliedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListAppliedSchemaArnsResult> listAppliedSchemaArnsAsync(ListAppliedSchemaArnsRequest request, AsyncHandler<ListAppliedSchemaArnsRequest,ListAppliedSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists schemas applied to a directory.
listAppliedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAttachedIndicesResult> listAttachedIndicesAsync(ListAttachedIndicesRequest request)
AmazonCloudDirectoryAsync
Lists indices attached to an object.
listAttachedIndicesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListAttachedIndicesResult> listAttachedIndicesAsync(ListAttachedIndicesRequest request, AsyncHandler<ListAttachedIndicesRequest,ListAttachedIndicesResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists indices attached to an object.
listAttachedIndicesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDevelopmentSchemaArnsResult> listDevelopmentSchemaArnsAsync(ListDevelopmentSchemaArnsRequest request)
AmazonCloudDirectoryAsync
Retrieves the ARNs of schemas in the development state.
listDevelopmentSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListDevelopmentSchemaArnsResult> listDevelopmentSchemaArnsAsync(ListDevelopmentSchemaArnsRequest request, AsyncHandler<ListDevelopmentSchemaArnsRequest,ListDevelopmentSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves the ARNs of schemas in the development state.
listDevelopmentSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDirectoriesResult> listDirectoriesAsync(ListDirectoriesRequest request)
AmazonCloudDirectoryAsync
Lists directories created within an account.
listDirectoriesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListDirectoriesResult> listDirectoriesAsync(ListDirectoriesRequest request, AsyncHandler<ListDirectoriesRequest,ListDirectoriesResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists directories created within an account.
listDirectoriesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFacetAttributesResult> listFacetAttributesAsync(ListFacetAttributesRequest request)
AmazonCloudDirectoryAsync
Retrieves attributes attached to the facet.
listFacetAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListFacetAttributesResult> listFacetAttributesAsync(ListFacetAttributesRequest request, AsyncHandler<ListFacetAttributesRequest,ListFacetAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves attributes attached to the facet.
listFacetAttributesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFacetNamesResult> listFacetNamesAsync(ListFacetNamesRequest request)
AmazonCloudDirectoryAsync
Retrieves the names of facets that exist in a schema.
listFacetNamesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListFacetNamesResult> listFacetNamesAsync(ListFacetNamesRequest request, AsyncHandler<ListFacetNamesRequest,ListFacetNamesResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves the names of facets that exist in a schema.
listFacetNamesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListIndexResult> listIndexAsync(ListIndexRequest request)
AmazonCloudDirectoryAsync
Lists objects attached to the specified index.
listIndexAsync
in interface AmazonCloudDirectoryAsync
public Future<ListIndexResult> listIndexAsync(ListIndexRequest request, AsyncHandler<ListIndexRequest,ListIndexResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists objects attached to the specified index.
listIndexAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListObjectAttributesResult> listObjectAttributesAsync(ListObjectAttributesRequest request)
AmazonCloudDirectoryAsync
Lists all attributes associated with an object. This also supports common namespace prefix (key) listing. For
example, if you want to retrieve all attributes associated with facet1, key can be facet1
. If key is
empty, all attributes are returned in a paginated list.
listObjectAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListObjectAttributesResult> listObjectAttributesAsync(ListObjectAttributesRequest request, AsyncHandler<ListObjectAttributesRequest,ListObjectAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists all attributes associated with an object. This also supports common namespace prefix (key) listing. For
example, if you want to retrieve all attributes associated with facet1, key can be facet1
. If key is
empty, all attributes are returned in a paginated list.
listObjectAttributesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListObjectChildrenResult> listObjectChildrenAsync(ListObjectChildrenRequest request)
AmazonCloudDirectoryAsync
Returns a paginated list of child objects associated with a given object.
listObjectChildrenAsync
in interface AmazonCloudDirectoryAsync
public Future<ListObjectChildrenResult> listObjectChildrenAsync(ListObjectChildrenRequest request, AsyncHandler<ListObjectChildrenRequest,ListObjectChildrenResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns a paginated list of child objects associated with a given object.
listObjectChildrenAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListObjectParentsResult> listObjectParentsAsync(ListObjectParentsRequest request)
AmazonCloudDirectoryAsync
Lists parent objects associated with a given object in pagination fashion.
listObjectParentsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListObjectParentsResult> listObjectParentsAsync(ListObjectParentsRequest request, AsyncHandler<ListObjectParentsRequest,ListObjectParentsResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists parent objects associated with a given object in pagination fashion.
listObjectParentsAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListObjectPoliciesResult> listObjectPoliciesAsync(ListObjectPoliciesRequest request)
AmazonCloudDirectoryAsync
Returns policies attached to an object in pagination fashion.
listObjectPoliciesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListObjectPoliciesResult> listObjectPoliciesAsync(ListObjectPoliciesRequest request, AsyncHandler<ListObjectPoliciesRequest,ListObjectPoliciesResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns policies attached to an object in pagination fashion.
listObjectPoliciesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPolicyAttachmentsResult> listPolicyAttachmentsAsync(ListPolicyAttachmentsRequest request)
AmazonCloudDirectoryAsync
Returns all of the ObjectIdentifiers to which a given policy is attached.
listPolicyAttachmentsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListPolicyAttachmentsResult> listPolicyAttachmentsAsync(ListPolicyAttachmentsRequest request, AsyncHandler<ListPolicyAttachmentsRequest,ListPolicyAttachmentsResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns all of the ObjectIdentifiers to which a given policy is attached.
listPolicyAttachmentsAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPublishedSchemaArnsResult> listPublishedSchemaArnsAsync(ListPublishedSchemaArnsRequest request)
AmazonCloudDirectoryAsync
Retrieves published schema ARNs.
listPublishedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListPublishedSchemaArnsResult> listPublishedSchemaArnsAsync(ListPublishedSchemaArnsRequest request, AsyncHandler<ListPublishedSchemaArnsRequest,ListPublishedSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves published schema ARNs.
listPublishedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonCloudDirectoryAsync
Returns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call.
listTagsForResourceAsync
in interface AmazonCloudDirectoryAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call.
listTagsForResourceAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<LookupPolicyResult> lookupPolicyAsync(LookupPolicyRequest request)
AmazonCloudDirectoryAsync
Lists all policies from the root of the Directory to the object specified. If there are no policies present, an empty list is returned. If policies are present, and if some objects don't have the policies attached, it returns the objectIdentifier for such objects. If policies are present, it returns objectIdentifier, policyId, and policyType. Paths that don't lead to the root from the target object are ignored.
lookupPolicyAsync
in interface AmazonCloudDirectoryAsync
public Future<LookupPolicyResult> lookupPolicyAsync(LookupPolicyRequest request, AsyncHandler<LookupPolicyRequest,LookupPolicyResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists all policies from the root of the Directory to the object specified. If there are no policies present, an empty list is returned. If policies are present, and if some objects don't have the policies attached, it returns the objectIdentifier for such objects. If policies are present, it returns objectIdentifier, policyId, and policyType. Paths that don't lead to the root from the target object are ignored.
lookupPolicyAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PublishSchemaResult> publishSchemaAsync(PublishSchemaRequest request)
AmazonCloudDirectoryAsync
Publishes a development schema with a version. If description and attributes are specified, PublishSchema overrides the development schema description and attributes. If not, the development schema description and attributes are used.
publishSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<PublishSchemaResult> publishSchemaAsync(PublishSchemaRequest request, AsyncHandler<PublishSchemaRequest,PublishSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Publishes a development schema with a version. If description and attributes are specified, PublishSchema overrides the development schema description and attributes. If not, the development schema description and attributes are used.
publishSchemaAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutSchemaFromJsonResult> putSchemaFromJsonAsync(PutSchemaFromJsonRequest request)
AmazonCloudDirectoryAsync
Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.
putSchemaFromJsonAsync
in interface AmazonCloudDirectoryAsync
public Future<PutSchemaFromJsonResult> putSchemaFromJsonAsync(PutSchemaFromJsonRequest request, AsyncHandler<PutSchemaFromJsonRequest,PutSchemaFromJsonResult> asyncHandler)
AmazonCloudDirectoryAsync
Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.
putSchemaFromJsonAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveFacetFromObjectResult> removeFacetFromObjectAsync(RemoveFacetFromObjectRequest request)
AmazonCloudDirectoryAsync
Removes the specified facet from the specified object.
removeFacetFromObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<RemoveFacetFromObjectResult> removeFacetFromObjectAsync(RemoveFacetFromObjectRequest request, AsyncHandler<RemoveFacetFromObjectRequest,RemoveFacetFromObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Removes the specified facet from the specified object.
removeFacetFromObjectAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonCloudDirectoryAsync
API for adding tags to a resource.
tagResourceAsync
in interface AmazonCloudDirectoryAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonCloudDirectoryAsync
API for adding tags to a resource.
tagResourceAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonCloudDirectoryAsync
API for removing tags from a resource.
untagResourceAsync
in interface AmazonCloudDirectoryAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonCloudDirectoryAsync
API for removing tags from a resource.
untagResourceAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFacetResult> updateFacetAsync(UpdateFacetRequest request)
AmazonCloudDirectoryAsync
Does the following:
Adds new Attributes, Rules, or ObjectTypes.
Updates existing Attributes, Rules, or ObjectTypes.
Deletes existing Attributes, Rules, or ObjectTypes.
updateFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<UpdateFacetResult> updateFacetAsync(UpdateFacetRequest request, AsyncHandler<UpdateFacetRequest,UpdateFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Does the following:
Adds new Attributes, Rules, or ObjectTypes.
Updates existing Attributes, Rules, or ObjectTypes.
Deletes existing Attributes, Rules, or ObjectTypes.
updateFacetAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateObjectAttributesResult> updateObjectAttributesAsync(UpdateObjectAttributesRequest request)
AmazonCloudDirectoryAsync
Updates a given object's attributes.
updateObjectAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<UpdateObjectAttributesResult> updateObjectAttributesAsync(UpdateObjectAttributesRequest request, AsyncHandler<UpdateObjectAttributesRequest,UpdateObjectAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Updates a given object's attributes.
updateObjectAttributesAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSchemaResult> updateSchemaAsync(UpdateSchemaRequest request)
AmazonCloudDirectoryAsync
Updates the schema name with a new name. Only development schema names can be updated.
updateSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<UpdateSchemaResult> updateSchemaAsync(UpdateSchemaRequest request, AsyncHandler<UpdateSchemaRequest,UpdateSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Updates the schema name with a new name. Only development schema names can be updated.
updateSchemaAsync
in interface AmazonCloudDirectoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonCloudDirectory
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.