@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 programmatically and includes detailed information on data types and errors. For information about Cloud Directory features, see AWS Directory Service and the Amazon Cloud Directory Developer 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, attachTypedLink, batchRead, batchWrite, builder, createDirectory, createFacet, createIndex, createObject, createSchema, createTypedLinkFacet, deleteDirectory, deleteFacet, deleteObject, deleteSchema, deleteTypedLinkFacet, detachFromIndex, detachObject, detachPolicy, detachTypedLink, disableDirectory, enableDirectory, getAppliedSchemaVersion, getCachedResponseMetadata, getDirectory, getFacet, getLinkAttributes, getObjectAttributes, getObjectInformation, getSchemaAsJson, getTypedLinkFacetInformation, listAppliedSchemaArns, listAttachedIndices, listDevelopmentSchemaArns, listDirectories, listFacetAttributes, listFacetNames, listIncomingTypedLinks, listIndex, listManagedSchemaArns, listObjectAttributes, listObjectChildren, listObjectParentPaths, listObjectParents, listObjectPolicies, listOutgoingTypedLinks, listPolicyAttachments, listPublishedSchemaArns, listTagsForResource, listTypedLinkFacetAttributes, listTypedLinkFacetNames, lookupPolicy, publishSchema, putSchemaFromJson, removeFacetFromObject, tagResource, untagResource, updateFacet, updateLinkAttributes, updateObjectAttributes, updateSchema, updateTypedLinkFacet, upgradeAppliedSchema, upgradePublishedSchema
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFacetToObject, applySchema, attachObject, attachPolicy, attachToIndex, attachTypedLink, batchRead, batchWrite, createDirectory, createFacet, createIndex, createObject, createSchema, createTypedLinkFacet, deleteDirectory, deleteFacet, deleteObject, deleteSchema, deleteTypedLinkFacet, detachFromIndex, detachObject, detachPolicy, detachTypedLink, disableDirectory, enableDirectory, getAppliedSchemaVersion, getCachedResponseMetadata, getDirectory, getFacet, getLinkAttributes, getObjectAttributes, getObjectInformation, getSchemaAsJson, getTypedLinkFacetInformation, listAppliedSchemaArns, listAttachedIndices, listDevelopmentSchemaArns, listDirectories, listFacetAttributes, listFacetNames, listIncomingTypedLinks, listIndex, listManagedSchemaArns, listObjectAttributes, listObjectChildren, listObjectParentPaths, listObjectParents, listObjectPolicies, listOutgoingTypedLinks, listPolicyAttachments, listPublishedSchemaArns, listTagsForResource, listTypedLinkFacetAttributes, listTypedLinkFacetNames, lookupPolicy, publishSchema, putSchemaFromJson, removeFacetFromObject, setEndpoint, setRegion, tagResource, untagResource, updateFacet, updateLinkAttributes, updateObjectAttributes, updateSchema, updateTypedLinkFacet, upgradeAppliedSchema, upgradePublishedSchema
@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. An object can have more than one facet applied on it.
addFacetToObjectAsync
in interface AmazonCloudDirectoryAsync
public Future<AddFacetToObjectResult> addFacetToObjectAsync(AddFacetToObjectRequest request, AsyncHandler<AddFacetToObjectRequest,AddFacetToObjectResult> asyncHandler)
AmazonCloudDirectoryAsync
Adds a new Facet to an object. An object can have more than one facet applied on it.
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 the input published schema, at the specified version, into the Directory with the same name and version as that of the published schema.
applySchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<ApplySchemaResult> applySchemaAsync(ApplySchemaRequest request, AsyncHandler<ApplySchemaRequest,ApplySchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Copies the input published schema, at the specified version, into the Directory with the same name and version as that of the 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<AttachTypedLinkResult> attachTypedLinkAsync(AttachTypedLinkRequest request)
AmazonCloudDirectoryAsync
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
attachTypedLinkAsync
in interface AmazonCloudDirectoryAsync
public Future<AttachTypedLinkResult> attachTypedLinkAsync(AttachTypedLinkRequest request, AsyncHandler<AttachTypedLinkRequest,AttachTypedLinkResult> asyncHandler)
AmazonCloudDirectoryAsync
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
attachTypedLinkAsync
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.
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.
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.
You can also quickly create a directory using a managed schema, called the QuickStartSchema
. For
more information, see Managed Schema
in the Amazon Cloud Directory Developer Guide.
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.
You can also quickly create a directory using a managed schema, called the QuickStartSchema
. For
more information, see Managed Schema
in the Amazon Cloud Directory Developer Guide.
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 and search for more information.
createIndexAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateIndexResult> createIndexAsync(CreateIndexRequest request, AsyncHandler<CreateIndexRequest,CreateIndexResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates an index object. See Indexing and search 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<CreateTypedLinkFacetResult> createTypedLinkFacetAsync(CreateTypedLinkFacetRequest request)
AmazonCloudDirectoryAsync
Creates a TypedLinkFacet. For more information, see Typed Links.
createTypedLinkFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<CreateTypedLinkFacetResult> createTypedLinkFacetAsync(CreateTypedLinkFacetRequest request, AsyncHandler<CreateTypedLinkFacetRequest,CreateTypedLinkFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Creates a TypedLinkFacet. For more information, see Typed Links.
createTypedLinkFacetAsync
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 that are 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 that are 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. The maximum number of attributes that can be deleted during an object deletion is 30. For more information, see Amazon Cloud Directory Limits.
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. The maximum number of attributes that can be deleted during an object deletion is 30. For more information, see Amazon Cloud Directory Limits.
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<DeleteTypedLinkFacetResult> deleteTypedLinkFacetAsync(DeleteTypedLinkFacetRequest request)
AmazonCloudDirectoryAsync
Deletes a TypedLinkFacet. For more information, see Typed Links.
deleteTypedLinkFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<DeleteTypedLinkFacetResult> deleteTypedLinkFacetAsync(DeleteTypedLinkFacetRequest request, AsyncHandler<DeleteTypedLinkFacetRequest,DeleteTypedLinkFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Deletes a TypedLinkFacet. For more information, see Typed Links.
deleteTypedLinkFacetAsync
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<DetachTypedLinkResult> detachTypedLinkAsync(DetachTypedLinkRequest request)
AmazonCloudDirectoryAsync
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
detachTypedLinkAsync
in interface AmazonCloudDirectoryAsync
public Future<DetachTypedLinkResult> detachTypedLinkAsync(DetachTypedLinkRequest request, AsyncHandler<DetachTypedLinkRequest,DetachTypedLinkResult> asyncHandler)
AmazonCloudDirectoryAsync
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
detachTypedLinkAsync
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<GetAppliedSchemaVersionResult> getAppliedSchemaVersionAsync(GetAppliedSchemaVersionRequest request)
AmazonCloudDirectoryAsync
Returns current applied schema version ARN, including the minor version in use.
getAppliedSchemaVersionAsync
in interface AmazonCloudDirectoryAsync
public Future<GetAppliedSchemaVersionResult> getAppliedSchemaVersionAsync(GetAppliedSchemaVersionRequest request, AsyncHandler<GetAppliedSchemaVersionRequest,GetAppliedSchemaVersionResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns current applied schema version ARN, including the minor version in use.
getAppliedSchemaVersionAsync
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<GetLinkAttributesResult> getLinkAttributesAsync(GetLinkAttributesRequest request)
AmazonCloudDirectoryAsync
Retrieves attributes that are associated with a typed link.
getLinkAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<GetLinkAttributesResult> getLinkAttributesAsync(GetLinkAttributesRequest request, AsyncHandler<GetLinkAttributesRequest,GetLinkAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves attributes that are associated with a typed link.
getLinkAttributesAsync
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<GetObjectAttributesResult> getObjectAttributesAsync(GetObjectAttributesRequest request)
AmazonCloudDirectoryAsync
Retrieves attributes within a facet that are associated with an object.
getObjectAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<GetObjectAttributesResult> getObjectAttributesAsync(GetObjectAttributesRequest request, AsyncHandler<GetObjectAttributesRequest,GetObjectAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves attributes within a facet that are associated with an object.
getObjectAttributesAsync
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<GetTypedLinkFacetInformationResult> getTypedLinkFacetInformationAsync(GetTypedLinkFacetInformationRequest request)
AmazonCloudDirectoryAsync
Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed Links.
getTypedLinkFacetInformationAsync
in interface AmazonCloudDirectoryAsync
public Future<GetTypedLinkFacetInformationResult> getTypedLinkFacetInformationAsync(GetTypedLinkFacetInformationRequest request, AsyncHandler<GetTypedLinkFacetInformationRequest,GetTypedLinkFacetInformationResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed Links.
getTypedLinkFacetInformationAsync
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 schema major versions applied to a directory. If SchemaArn
is provided, lists the minor
version.
listAppliedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListAppliedSchemaArnsResult> listAppliedSchemaArnsAsync(ListAppliedSchemaArnsRequest request, AsyncHandler<ListAppliedSchemaArnsRequest,ListAppliedSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists schema major versions applied to a directory. If SchemaArn
is provided, lists the minor
version.
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 the specified object.
listAttachedIndicesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListAttachedIndicesResult> listAttachedIndicesAsync(ListAttachedIndicesRequest request, AsyncHandler<ListAttachedIndicesRequest,ListAttachedIndicesResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists indices attached to the specified 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 each Amazon Resource Name (ARN) of schemas in the development state.
listDevelopmentSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListDevelopmentSchemaArnsResult> listDevelopmentSchemaArnsAsync(ListDevelopmentSchemaArnsRequest request, AsyncHandler<ListDevelopmentSchemaArnsRequest,ListDevelopmentSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves each Amazon Resource Name (ARN) 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<ListIncomingTypedLinksResult> listIncomingTypedLinksAsync(ListIncomingTypedLinksRequest request)
AmazonCloudDirectoryAsync
Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
listIncomingTypedLinksAsync
in interface AmazonCloudDirectoryAsync
public Future<ListIncomingTypedLinksResult> listIncomingTypedLinksAsync(ListIncomingTypedLinksRequest request, AsyncHandler<ListIncomingTypedLinksRequest,ListIncomingTypedLinksResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
listIncomingTypedLinksAsync
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<ListManagedSchemaArnsResult> listManagedSchemaArnsAsync(ListManagedSchemaArnsRequest request)
AmazonCloudDirectoryAsync
Lists the major version families of each managed schema. If a major version ARN is provided as SchemaArn, the minor version revisions in that family are listed instead.
listManagedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListManagedSchemaArnsResult> listManagedSchemaArnsAsync(ListManagedSchemaArnsRequest request, AsyncHandler<ListManagedSchemaArnsRequest,ListManagedSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists the major version families of each managed schema. If a major version ARN is provided as SchemaArn, the minor version revisions in that family are listed instead.
listManagedSchemaArnsAsync
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 that are associated with an object.
listObjectAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListObjectAttributesResult> listObjectAttributesAsync(ListObjectAttributesRequest request, AsyncHandler<ListObjectAttributesRequest,ListObjectAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists all attributes that are associated with an object.
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 that are 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 that are 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<ListObjectParentPathsResult> listObjectParentPathsAsync(ListObjectParentPathsRequest request)
AmazonCloudDirectoryAsync
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure.
Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory
up to the requested object. The API returns the number of paths based on user-defined MaxResults
, in
case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among
multiple API calls unless the objects are deleted or moved. Paths not leading to the directory root are ignored
from the target object.
listObjectParentPathsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListObjectParentPathsResult> listObjectParentPathsAsync(ListObjectParentPathsRequest request, AsyncHandler<ListObjectParentPathsRequest,ListObjectParentPathsResult> asyncHandler)
AmazonCloudDirectoryAsync
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure.
Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory
up to the requested object. The API returns the number of paths based on user-defined MaxResults
, in
case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among
multiple API calls unless the objects are deleted or moved. Paths not leading to the directory root are ignored
from the target object.
listObjectParentPathsAsync
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 that are 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 that are 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<ListOutgoingTypedLinksResult> listOutgoingTypedLinksAsync(ListOutgoingTypedLinksRequest request)
AmazonCloudDirectoryAsync
Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
listOutgoingTypedLinksAsync
in interface AmazonCloudDirectoryAsync
public Future<ListOutgoingTypedLinksResult> listOutgoingTypedLinksAsync(ListOutgoingTypedLinksRequest request, AsyncHandler<ListOutgoingTypedLinksRequest,ListOutgoingTypedLinksResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
listOutgoingTypedLinksAsync
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
Lists the major version families of each published schema. If a major version ARN is provided as
SchemaArn
, the minor version revisions in that family are listed instead.
listPublishedSchemaArnsAsync
in interface AmazonCloudDirectoryAsync
public Future<ListPublishedSchemaArnsResult> listPublishedSchemaArnsAsync(ListPublishedSchemaArnsRequest request, AsyncHandler<ListPublishedSchemaArnsRequest,ListPublishedSchemaArnsResult> asyncHandler)
AmazonCloudDirectoryAsync
Lists the major version families of each published schema. If a major version ARN is provided as
SchemaArn
, the minor version revisions in that family are listed instead.
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<ListTypedLinkFacetAttributesResult> listTypedLinkFacetAttributesAsync(ListTypedLinkFacetAttributesRequest request)
AmazonCloudDirectoryAsync
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed Links.
listTypedLinkFacetAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListTypedLinkFacetAttributesResult> listTypedLinkFacetAttributesAsync(ListTypedLinkFacetAttributesRequest request, AsyncHandler<ListTypedLinkFacetAttributesRequest,ListTypedLinkFacetAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed Links.
listTypedLinkFacetAttributesAsync
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<ListTypedLinkFacetNamesResult> listTypedLinkFacetNamesAsync(ListTypedLinkFacetNamesRequest request)
AmazonCloudDirectoryAsync
Returns a paginated list of TypedLink
facet names for a particular schema. For more information, see
Typed Links.
listTypedLinkFacetNamesAsync
in interface AmazonCloudDirectoryAsync
public Future<ListTypedLinkFacetNamesResult> listTypedLinkFacetNamesAsync(ListTypedLinkFacetNamesRequest request, AsyncHandler<ListTypedLinkFacetNamesRequest,ListTypedLinkFacetNamesResult> asyncHandler)
AmazonCloudDirectoryAsync
Returns a paginated list of TypedLink
facet names for a particular schema. For more information, see
Typed Links.
listTypedLinkFacetNamesAsync
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. For more information, see Policies.
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. For more information, see Policies.
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 major version and a recommended minor version.
publishSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<PublishSchemaResult> publishSchemaAsync(PublishSchemaRequest request, AsyncHandler<PublishSchemaRequest,PublishSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Publishes a development schema with a major version and a recommended minor version.
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
An API operation for adding tags to a resource.
tagResourceAsync
in interface AmazonCloudDirectoryAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonCloudDirectoryAsync
An API operation 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
An API operation for removing tags from a resource.
untagResourceAsync
in interface AmazonCloudDirectoryAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonCloudDirectoryAsync
An API operation 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<UpdateLinkAttributesResult> updateLinkAttributesAsync(UpdateLinkAttributesRequest request)
AmazonCloudDirectoryAsync
Updates a given typed link’s attributes. Attributes to be updated must not contribute to the typed link’s
identity, as defined by its IdentityAttributeOrder
.
updateLinkAttributesAsync
in interface AmazonCloudDirectoryAsync
public Future<UpdateLinkAttributesResult> updateLinkAttributesAsync(UpdateLinkAttributesRequest request, AsyncHandler<UpdateLinkAttributesRequest,UpdateLinkAttributesResult> asyncHandler)
AmazonCloudDirectoryAsync
Updates a given typed link’s attributes. Attributes to be updated must not contribute to the typed link’s
identity, as defined by its IdentityAttributeOrder
.
updateLinkAttributesAsync
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 Future<UpdateTypedLinkFacetResult> updateTypedLinkFacetAsync(UpdateTypedLinkFacetRequest request)
AmazonCloudDirectoryAsync
Updates a TypedLinkFacet. For more information, see Typed Links.
updateTypedLinkFacetAsync
in interface AmazonCloudDirectoryAsync
public Future<UpdateTypedLinkFacetResult> updateTypedLinkFacetAsync(UpdateTypedLinkFacetRequest request, AsyncHandler<UpdateTypedLinkFacetRequest,UpdateTypedLinkFacetResult> asyncHandler)
AmazonCloudDirectoryAsync
Updates a TypedLinkFacet. For more information, see Typed Links.
updateTypedLinkFacetAsync
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<UpgradeAppliedSchemaResult> upgradeAppliedSchemaAsync(UpgradeAppliedSchemaRequest request)
AmazonCloudDirectoryAsync
Upgrades a single directory in-place using the PublishedSchemaArn
with schema updates found in
MinorVersion
. Backwards-compatible minor version upgrades are instantaneously available for readers
on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given
directory per call. To upgrade multiple directories from one schema, you would need to call this API on each
directory.
upgradeAppliedSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<UpgradeAppliedSchemaResult> upgradeAppliedSchemaAsync(UpgradeAppliedSchemaRequest request, AsyncHandler<UpgradeAppliedSchemaRequest,UpgradeAppliedSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Upgrades a single directory in-place using the PublishedSchemaArn
with schema updates found in
MinorVersion
. Backwards-compatible minor version upgrades are instantaneously available for readers
on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given
directory per call. To upgrade multiple directories from one schema, you would need to call this API on each
directory.
upgradeAppliedSchemaAsync
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<UpgradePublishedSchemaResult> upgradePublishedSchemaAsync(UpgradePublishedSchemaRequest request)
AmazonCloudDirectoryAsync
Upgrades a published schema under a new minor version revision using the current contents of
DevelopmentSchemaArn
.
upgradePublishedSchemaAsync
in interface AmazonCloudDirectoryAsync
public Future<UpgradePublishedSchemaResult> upgradePublishedSchemaAsync(UpgradePublishedSchemaRequest request, AsyncHandler<UpgradePublishedSchemaRequest,UpgradePublishedSchemaResult> asyncHandler)
AmazonCloudDirectoryAsync
Upgrades a published schema under a new minor version revision using the current contents of
DevelopmentSchemaArn
.
upgradePublishedSchemaAsync
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 AmazonCloudDirectoryClient