All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.clouddirectory.CloudDirectoryAsyncClient Maven / Gradle / Ivy

/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.clouddirectory;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.clouddirectory.model.AddFacetToObjectRequest;
import software.amazon.awssdk.services.clouddirectory.model.AddFacetToObjectResponse;
import software.amazon.awssdk.services.clouddirectory.model.ApplySchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.ApplySchemaResponse;
import software.amazon.awssdk.services.clouddirectory.model.AttachObjectRequest;
import software.amazon.awssdk.services.clouddirectory.model.AttachObjectResponse;
import software.amazon.awssdk.services.clouddirectory.model.AttachPolicyRequest;
import software.amazon.awssdk.services.clouddirectory.model.AttachPolicyResponse;
import software.amazon.awssdk.services.clouddirectory.model.AttachToIndexRequest;
import software.amazon.awssdk.services.clouddirectory.model.AttachToIndexResponse;
import software.amazon.awssdk.services.clouddirectory.model.AttachTypedLinkRequest;
import software.amazon.awssdk.services.clouddirectory.model.AttachTypedLinkResponse;
import software.amazon.awssdk.services.clouddirectory.model.BatchReadRequest;
import software.amazon.awssdk.services.clouddirectory.model.BatchReadResponse;
import software.amazon.awssdk.services.clouddirectory.model.BatchWriteRequest;
import software.amazon.awssdk.services.clouddirectory.model.BatchWriteResponse;
import software.amazon.awssdk.services.clouddirectory.model.CreateDirectoryRequest;
import software.amazon.awssdk.services.clouddirectory.model.CreateDirectoryResponse;
import software.amazon.awssdk.services.clouddirectory.model.CreateFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.CreateFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.CreateIndexRequest;
import software.amazon.awssdk.services.clouddirectory.model.CreateIndexResponse;
import software.amazon.awssdk.services.clouddirectory.model.CreateObjectRequest;
import software.amazon.awssdk.services.clouddirectory.model.CreateObjectResponse;
import software.amazon.awssdk.services.clouddirectory.model.CreateSchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.CreateSchemaResponse;
import software.amazon.awssdk.services.clouddirectory.model.CreateTypedLinkFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.CreateTypedLinkFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.DeleteDirectoryRequest;
import software.amazon.awssdk.services.clouddirectory.model.DeleteDirectoryResponse;
import software.amazon.awssdk.services.clouddirectory.model.DeleteFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.DeleteFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.DeleteObjectRequest;
import software.amazon.awssdk.services.clouddirectory.model.DeleteObjectResponse;
import software.amazon.awssdk.services.clouddirectory.model.DeleteSchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.DeleteSchemaResponse;
import software.amazon.awssdk.services.clouddirectory.model.DeleteTypedLinkFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.DeleteTypedLinkFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.DetachFromIndexRequest;
import software.amazon.awssdk.services.clouddirectory.model.DetachFromIndexResponse;
import software.amazon.awssdk.services.clouddirectory.model.DetachObjectRequest;
import software.amazon.awssdk.services.clouddirectory.model.DetachObjectResponse;
import software.amazon.awssdk.services.clouddirectory.model.DetachPolicyRequest;
import software.amazon.awssdk.services.clouddirectory.model.DetachPolicyResponse;
import software.amazon.awssdk.services.clouddirectory.model.DetachTypedLinkRequest;
import software.amazon.awssdk.services.clouddirectory.model.DetachTypedLinkResponse;
import software.amazon.awssdk.services.clouddirectory.model.DisableDirectoryRequest;
import software.amazon.awssdk.services.clouddirectory.model.DisableDirectoryResponse;
import software.amazon.awssdk.services.clouddirectory.model.EnableDirectoryRequest;
import software.amazon.awssdk.services.clouddirectory.model.EnableDirectoryResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetAppliedSchemaVersionRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetAppliedSchemaVersionResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetDirectoryRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetDirectoryResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetLinkAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetLinkAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetObjectAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetObjectAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetObjectInformationRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetObjectInformationResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetSchemaAsJsonRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetSchemaAsJsonResponse;
import software.amazon.awssdk.services.clouddirectory.model.GetTypedLinkFacetInformationRequest;
import software.amazon.awssdk.services.clouddirectory.model.GetTypedLinkFacetInformationResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListIncomingTypedLinksRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListIncomingTypedLinksResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListIndexResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListOutgoingTypedLinksRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListOutgoingTypedLinksResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest;
import software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesResponse;
import software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest;
import software.amazon.awssdk.services.clouddirectory.model.LookupPolicyResponse;
import software.amazon.awssdk.services.clouddirectory.model.PublishSchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.PublishSchemaResponse;
import software.amazon.awssdk.services.clouddirectory.model.PutSchemaFromJsonRequest;
import software.amazon.awssdk.services.clouddirectory.model.PutSchemaFromJsonResponse;
import software.amazon.awssdk.services.clouddirectory.model.RemoveFacetFromObjectRequest;
import software.amazon.awssdk.services.clouddirectory.model.RemoveFacetFromObjectResponse;
import software.amazon.awssdk.services.clouddirectory.model.TagResourceRequest;
import software.amazon.awssdk.services.clouddirectory.model.TagResourceResponse;
import software.amazon.awssdk.services.clouddirectory.model.UntagResourceRequest;
import software.amazon.awssdk.services.clouddirectory.model.UntagResourceResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpdateFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpdateFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpdateLinkAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpdateLinkAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpdateObjectAttributesRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpdateObjectAttributesResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpdateSchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpdateSchemaResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpdateTypedLinkFacetRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpdateTypedLinkFacetResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpgradeAppliedSchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpgradeAppliedSchemaResponse;
import software.amazon.awssdk.services.clouddirectory.model.UpgradePublishedSchemaRequest;
import software.amazon.awssdk.services.clouddirectory.model.UpgradePublishedSchemaResponse;
import software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher;
import software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher;

/**
 * Service client for accessing Amazon CloudDirectory asynchronously. This can be created using the static
 * {@link #builder()} method.
 *
 * Amazon Cloud Directory
 * 

* 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. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface CloudDirectoryAsyncClient extends AwsClient { String SERVICE_NAME = "clouddirectory"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "clouddirectory"; /** *

* Adds a new Facet to an object. An object can have more than one facet applied on it. *

* * @param addFacetToObjectRequest * @return A Java Future containing the result of the AddFacetToObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AddFacetToObject * @see AWS API Documentation */ default CompletableFuture addFacetToObject(AddFacetToObjectRequest addFacetToObjectRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a new Facet to an object. An object can have more than one facet applied on it. *

*
*

* This is a convenience which creates an instance of the {@link AddFacetToObjectRequest.Builder} avoiding the need * to create one manually via {@link AddFacetToObjectRequest#builder()} *

* * @param addFacetToObjectRequest * A {@link Consumer} that will call methods on {@link AddFacetToObjectRequest.Builder} to create a request. * @return A Java Future containing the result of the AddFacetToObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AddFacetToObject * @see AWS API Documentation */ default CompletableFuture addFacetToObject( Consumer addFacetToObjectRequest) { return addFacetToObject(AddFacetToObjectRequest.builder().applyMutation(addFacetToObjectRequest).build()); } /** *

* Copies the input published schema, at the specified version, into the Directory with the same name and * version as that of the published schema. *

* * @param applySchemaRequest * @return A Java Future containing the result of the ApplySchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SchemaAlreadyExistsException Indicates that a schema could not be created due to a naming conflict. * Please select a different name and then try again.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ApplySchema * @see AWS * API Documentation */ default CompletableFuture applySchema(ApplySchemaRequest applySchemaRequest) { throw new UnsupportedOperationException(); } /** *

* Copies the input published schema, at the specified version, into the Directory with the same name and * version as that of the published schema. *

*
*

* This is a convenience which creates an instance of the {@link ApplySchemaRequest.Builder} avoiding the need to * create one manually via {@link ApplySchemaRequest#builder()} *

* * @param applySchemaRequest * A {@link Consumer} that will call methods on {@link ApplySchemaRequest.Builder} to create a request. * @return A Java Future containing the result of the ApplySchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SchemaAlreadyExistsException Indicates that a schema could not be created due to a naming conflict. * Please select a different name and then try again.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ApplySchema * @see AWS * API Documentation */ default CompletableFuture applySchema(Consumer applySchemaRequest) { return applySchema(ApplySchemaRequest.builder().applyMutation(applySchemaRequest).build()); } /** *

* Attaches an existing object to another object. An object can be accessed in two ways: *

*
    *
  1. *

    * Using the path *

    *
  2. *
  3. *

    * Using ObjectIdentifier *

    *
  4. *
* * @param attachObjectRequest * @return A Java Future containing the result of the AttachObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachObject * @see AWS * API Documentation */ default CompletableFuture attachObject(AttachObjectRequest attachObjectRequest) { throw new UnsupportedOperationException(); } /** *

* Attaches an existing object to another object. An object can be accessed in two ways: *

*
    *
  1. *

    * Using the path *

    *
  2. *
  3. *

    * Using ObjectIdentifier *

    *
  4. *
*
*

* This is a convenience which creates an instance of the {@link AttachObjectRequest.Builder} avoiding the need to * create one manually via {@link AttachObjectRequest#builder()} *

* * @param attachObjectRequest * A {@link Consumer} that will call methods on {@link AttachObjectRequest.Builder} to create a request. * @return A Java Future containing the result of the AttachObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachObject * @see AWS * API Documentation */ default CompletableFuture attachObject(Consumer attachObjectRequest) { return attachObject(AttachObjectRequest.builder().applyMutation(attachObjectRequest).build()); } /** *

* Attaches a policy object to a regular object. An object can have a limited number of attached policies. *

* * @param attachPolicyRequest * @return A Java Future containing the result of the AttachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachPolicy * @see AWS * API Documentation */ default CompletableFuture attachPolicy(AttachPolicyRequest attachPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Attaches a policy object to a regular object. An object can have a limited number of attached policies. *

*
*

* This is a convenience which creates an instance of the {@link AttachPolicyRequest.Builder} avoiding the need to * create one manually via {@link AttachPolicyRequest#builder()} *

* * @param attachPolicyRequest * A {@link Consumer} that will call methods on {@link AttachPolicyRequest.Builder} to create a request. * @return A Java Future containing the result of the AttachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachPolicy * @see AWS * API Documentation */ default CompletableFuture attachPolicy(Consumer attachPolicyRequest) { return attachPolicy(AttachPolicyRequest.builder().applyMutation(attachPolicyRequest).build()); } /** *

* Attaches the specified object to the specified index. *

* * @param attachToIndexRequest * @return A Java Future containing the result of the AttachToIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • IndexedAttributeMissingException An object has been attempted to be attached to an object that does * not have the appropriate attribute value.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachToIndex * @see AWS * API Documentation */ default CompletableFuture attachToIndex(AttachToIndexRequest attachToIndexRequest) { throw new UnsupportedOperationException(); } /** *

* Attaches the specified object to the specified index. *

*
*

* This is a convenience which creates an instance of the {@link AttachToIndexRequest.Builder} avoiding the need to * create one manually via {@link AttachToIndexRequest#builder()} *

* * @param attachToIndexRequest * A {@link Consumer} that will call methods on {@link AttachToIndexRequest.Builder} to create a request. * @return A Java Future containing the result of the AttachToIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • IndexedAttributeMissingException An object has been attempted to be attached to an object that does * not have the appropriate attribute value.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachToIndex * @see AWS * API Documentation */ default CompletableFuture attachToIndex(Consumer attachToIndexRequest) { return attachToIndex(AttachToIndexRequest.builder().applyMutation(attachToIndexRequest).build()); } /** *

* Attaches a typed link to a specified source and target object. For more information, see Typed Links. *

* * @param attachTypedLinkRequest * @return A Java Future containing the result of the AttachTypedLink operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachTypedLink * @see AWS API Documentation */ default CompletableFuture attachTypedLink(AttachTypedLinkRequest attachTypedLinkRequest) { throw new UnsupportedOperationException(); } /** *

* Attaches a typed link to a specified source and target object. For more information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link AttachTypedLinkRequest.Builder} avoiding the need * to create one manually via {@link AttachTypedLinkRequest#builder()} *

* * @param attachTypedLinkRequest * A {@link Consumer} that will call methods on {@link AttachTypedLinkRequest.Builder} to create a request. * @return A Java Future containing the result of the AttachTypedLink operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.AttachTypedLink * @see AWS API Documentation */ default CompletableFuture attachTypedLink( Consumer attachTypedLinkRequest) { return attachTypedLink(AttachTypedLinkRequest.builder().applyMutation(attachTypedLinkRequest).build()); } /** *

* Performs all the read operations in a batch. *

* * @param batchReadRequest * @return A Java Future containing the result of the BatchRead operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.BatchRead * @see AWS API * Documentation */ default CompletableFuture batchRead(BatchReadRequest batchReadRequest) { throw new UnsupportedOperationException(); } /** *

* Performs all the read operations in a batch. *

*
*

* This is a convenience which creates an instance of the {@link BatchReadRequest.Builder} avoiding the need to * create one manually via {@link BatchReadRequest#builder()} *

* * @param batchReadRequest * A {@link Consumer} that will call methods on {@link BatchReadRequest.Builder} to create a request. * @return A Java Future containing the result of the BatchRead operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.BatchRead * @see AWS API * Documentation */ default CompletableFuture batchRead(Consumer batchReadRequest) { return batchRead(BatchReadRequest.builder().applyMutation(batchReadRequest).build()); } /** *

* Performs all the write operations in a batch. Either all the operations succeed or none. *

* * @param batchWriteRequest * @return A Java Future containing the result of the BatchWrite operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • BatchWriteException A BatchWrite exception has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.BatchWrite * @see AWS API * Documentation */ default CompletableFuture batchWrite(BatchWriteRequest batchWriteRequest) { throw new UnsupportedOperationException(); } /** *

* Performs all the write operations in a batch. Either all the operations succeed or none. *

*
*

* This is a convenience which creates an instance of the {@link BatchWriteRequest.Builder} avoiding the need to * create one manually via {@link BatchWriteRequest#builder()} *

* * @param batchWriteRequest * A {@link Consumer} that will call methods on {@link BatchWriteRequest.Builder} to create a request. * @return A Java Future containing the result of the BatchWrite operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • BatchWriteException A BatchWrite exception has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.BatchWrite * @see AWS API * Documentation */ default CompletableFuture batchWrite(Consumer batchWriteRequest) { return batchWrite(BatchWriteRequest.builder().applyMutation(batchWriteRequest).build()); } /** *

* 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. *

* * @param createDirectoryRequest * @return A Java Future containing the result of the CreateDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryAlreadyExistsException Indicates that a Directory could not be created due to a * naming conflict. Choose a different name and try again.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateDirectory * @see AWS API Documentation */ default CompletableFuture createDirectory(CreateDirectoryRequest createDirectoryRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateDirectoryRequest.Builder} avoiding the need * to create one manually via {@link CreateDirectoryRequest#builder()} *

* * @param createDirectoryRequest * A {@link Consumer} that will call methods on {@link CreateDirectoryRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryAlreadyExistsException Indicates that a Directory could not be created due to a * naming conflict. Choose a different name and try again.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateDirectory * @see AWS API Documentation */ default CompletableFuture createDirectory( Consumer createDirectoryRequest) { return createDirectory(CreateDirectoryRequest.builder().applyMutation(createDirectoryRequest).build()); } /** *

* Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas. *

* * @param createFacetRequest * @return A Java Future containing the result of the CreateFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetAlreadyExistsException A facet with the same name already exists.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateFacet * @see AWS * API Documentation */ default CompletableFuture createFacet(CreateFacetRequest createFacetRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas. *

*
*

* This is a convenience which creates an instance of the {@link CreateFacetRequest.Builder} avoiding the need to * create one manually via {@link CreateFacetRequest#builder()} *

* * @param createFacetRequest * A {@link Consumer} that will call methods on {@link CreateFacetRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetAlreadyExistsException A facet with the same name already exists.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateFacet * @see AWS * API Documentation */ default CompletableFuture createFacet(Consumer createFacetRequest) { return createFacet(CreateFacetRequest.builder().applyMutation(createFacetRequest).build()); } /** *

* Creates an index object. See Indexing and * search for more information. *

* * @param createIndexRequest * @return A Java Future containing the result of the CreateIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • UnsupportedIndexTypeException Indicates that the requested index type is not supported.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateIndex * @see AWS * API Documentation */ default CompletableFuture createIndex(CreateIndexRequest createIndexRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an index object. See Indexing and * search for more information. *

*
*

* This is a convenience which creates an instance of the {@link CreateIndexRequest.Builder} avoiding the need to * create one manually via {@link CreateIndexRequest#builder()} *

* * @param createIndexRequest * A {@link Consumer} that will call methods on {@link CreateIndexRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • UnsupportedIndexTypeException Indicates that the requested index type is not supported.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateIndex * @see AWS * API Documentation */ default CompletableFuture createIndex(Consumer createIndexRequest) { return createIndex(CreateIndexRequest.builder().applyMutation(createIndexRequest).build()); } /** *

* 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. *

* * @param createObjectRequest * @return A Java Future containing the result of the CreateObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • UnsupportedIndexTypeException Indicates that the requested index type is not supported.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateObject * @see AWS * API Documentation */ default CompletableFuture createObject(CreateObjectRequest createObjectRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateObjectRequest.Builder} avoiding the need to * create one manually via {@link CreateObjectRequest#builder()} *

* * @param createObjectRequest * A {@link Consumer} that will call methods on {@link CreateObjectRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • UnsupportedIndexTypeException Indicates that the requested index type is not supported.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateObject * @see AWS * API Documentation */ default CompletableFuture createObject(Consumer createObjectRequest) { return createObject(CreateObjectRequest.builder().applyMutation(createObjectRequest).build()); } /** *

* 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. *

    *
  • *
* * @param createSchemaRequest * @return A Java Future containing the result of the CreateSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SchemaAlreadyExistsException Indicates that a schema could not be created due to a naming conflict. * Please select a different name and then try again.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateSchema * @see AWS * API Documentation */ default CompletableFuture createSchema(CreateSchemaRequest createSchemaRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link CreateSchemaRequest.Builder} avoiding the need to * create one manually via {@link CreateSchemaRequest#builder()} *

* * @param createSchemaRequest * A {@link Consumer} that will call methods on {@link CreateSchemaRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SchemaAlreadyExistsException Indicates that a schema could not be created due to a naming conflict. * Please select a different name and then try again.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateSchema * @see AWS * API Documentation */ default CompletableFuture createSchema(Consumer createSchemaRequest) { return createSchema(CreateSchemaRequest.builder().applyMutation(createSchemaRequest).build()); } /** *

* Creates a TypedLinkFacet. For more information, see Typed Links. *

* * @param createTypedLinkFacetRequest * @return A Java Future containing the result of the CreateTypedLinkFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetAlreadyExistsException A facet with the same name already exists.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateTypedLinkFacet * @see AWS API Documentation */ default CompletableFuture createTypedLinkFacet( CreateTypedLinkFacetRequest createTypedLinkFacetRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a TypedLinkFacet. For more information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link CreateTypedLinkFacetRequest.Builder} avoiding the * need to create one manually via {@link CreateTypedLinkFacetRequest#builder()} *

* * @param createTypedLinkFacetRequest * A {@link Consumer} that will call methods on {@link CreateTypedLinkFacetRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateTypedLinkFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetAlreadyExistsException A facet with the same name already exists.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.CreateTypedLinkFacet * @see AWS API Documentation */ default CompletableFuture createTypedLinkFacet( Consumer createTypedLinkFacetRequest) { return createTypedLinkFacet(CreateTypedLinkFacetRequest.builder().applyMutation(createTypedLinkFacetRequest).build()); } /** *

* Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise * extreme caution when deleting directories. *

* * @param deleteDirectoryRequest * @return A Java Future containing the result of the DeleteDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • DirectoryNotDisabledException An operation can only operate on a disabled directory.
  • *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryDeletedException A directory that has been deleted and to which access has been attempted. * Note: The requested resource will eventually cease to exist.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteDirectory * @see AWS API Documentation */ default CompletableFuture deleteDirectory(DeleteDirectoryRequest deleteDirectoryRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise * extreme caution when deleting directories. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDirectoryRequest.Builder} avoiding the need * to create one manually via {@link DeleteDirectoryRequest#builder()} *

* * @param deleteDirectoryRequest * A {@link Consumer} that will call methods on {@link DeleteDirectoryRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • DirectoryNotDisabledException An operation can only operate on a disabled directory.
  • *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryDeletedException A directory that has been deleted and to which access has been attempted. * Note: The requested resource will eventually cease to exist.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteDirectory * @see AWS API Documentation */ default CompletableFuture deleteDirectory( Consumer deleteDirectoryRequest) { return deleteDirectory(DeleteDirectoryRequest.builder().applyMutation(deleteDirectoryRequest).build()); } /** *

* Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. * Only development schema facets are allowed deletion. *

* * @param deleteFacetRequest * @return A Java Future containing the result of the DeleteFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • FacetInUseException Occurs when deleting a facet that contains an attribute that is a target to an * attribute reference in a different facet.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteFacet * @see AWS * API Documentation */ default CompletableFuture deleteFacet(DeleteFacetRequest deleteFacetRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. * Only development schema facets are allowed deletion. *

*
*

* This is a convenience which creates an instance of the {@link DeleteFacetRequest.Builder} avoiding the need to * create one manually via {@link DeleteFacetRequest#builder()} *

* * @param deleteFacetRequest * A {@link Consumer} that will call methods on {@link DeleteFacetRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • FacetInUseException Occurs when deleting a facet that contains an attribute that is a target to an * attribute reference in a different facet.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteFacet * @see AWS * API Documentation */ default CompletableFuture deleteFacet(Consumer deleteFacetRequest) { return deleteFacet(DeleteFacetRequest.builder().applyMutation(deleteFacetRequest).build()); } /** *

* 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. *

* * @param deleteObjectRequest * @return A Java Future containing the result of the DeleteObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • ObjectNotDetachedException Indicates that the requested operation cannot be completed because the * object has not been detached from the tree.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteObject * @see AWS * API Documentation */ default CompletableFuture deleteObject(DeleteObjectRequest deleteObjectRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteObjectRequest.Builder} avoiding the need to * create one manually via {@link DeleteObjectRequest#builder()} *

* * @param deleteObjectRequest * A {@link Consumer} that will call methods on {@link DeleteObjectRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • ObjectNotDetachedException Indicates that the requested operation cannot be completed because the * object has not been detached from the tree.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteObject * @see AWS * API Documentation */ default CompletableFuture deleteObject(Consumer deleteObjectRequest) { return deleteObject(DeleteObjectRequest.builder().applyMutation(deleteObjectRequest).build()); } /** *

* Deletes a given schema. Schemas in a development and published state can only be deleted. *

* * @param deleteSchemaRequest * @return A Java Future containing the result of the DeleteSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • StillContainsLinksException The object could not be deleted because links still exist. Remove the * links and then try the operation again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteSchema * @see AWS * API Documentation */ default CompletableFuture deleteSchema(DeleteSchemaRequest deleteSchemaRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a given schema. Schemas in a development and published state can only be deleted. *

*
*

* This is a convenience which creates an instance of the {@link DeleteSchemaRequest.Builder} avoiding the need to * create one manually via {@link DeleteSchemaRequest#builder()} *

* * @param deleteSchemaRequest * A {@link Consumer} that will call methods on {@link DeleteSchemaRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • StillContainsLinksException The object could not be deleted because links still exist. Remove the * links and then try the operation again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteSchema * @see AWS * API Documentation */ default CompletableFuture deleteSchema(Consumer deleteSchemaRequest) { return deleteSchema(DeleteSchemaRequest.builder().applyMutation(deleteSchemaRequest).build()); } /** *

* Deletes a TypedLinkFacet. For more information, see Typed Links. *

* * @param deleteTypedLinkFacetRequest * @return A Java Future containing the result of the DeleteTypedLinkFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteTypedLinkFacet * @see AWS API Documentation */ default CompletableFuture deleteTypedLinkFacet( DeleteTypedLinkFacetRequest deleteTypedLinkFacetRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a TypedLinkFacet. For more information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTypedLinkFacetRequest.Builder} avoiding the * need to create one manually via {@link DeleteTypedLinkFacetRequest#builder()} *

* * @param deleteTypedLinkFacetRequest * A {@link Consumer} that will call methods on {@link DeleteTypedLinkFacetRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteTypedLinkFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DeleteTypedLinkFacet * @see AWS API Documentation */ default CompletableFuture deleteTypedLinkFacet( Consumer deleteTypedLinkFacetRequest) { return deleteTypedLinkFacet(DeleteTypedLinkFacetRequest.builder().applyMutation(deleteTypedLinkFacetRequest).build()); } /** *

* Detaches the specified object from the specified index. *

* * @param detachFromIndexRequest * @return A Java Future containing the result of the DetachFromIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • ObjectAlreadyDetachedException Indicates that the object is not attached to the index.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachFromIndex * @see AWS API Documentation */ default CompletableFuture detachFromIndex(DetachFromIndexRequest detachFromIndexRequest) { throw new UnsupportedOperationException(); } /** *

* Detaches the specified object from the specified index. *

*
*

* This is a convenience which creates an instance of the {@link DetachFromIndexRequest.Builder} avoiding the need * to create one manually via {@link DetachFromIndexRequest#builder()} *

* * @param detachFromIndexRequest * A {@link Consumer} that will call methods on {@link DetachFromIndexRequest.Builder} to create a request. * @return A Java Future containing the result of the DetachFromIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • ObjectAlreadyDetachedException Indicates that the object is not attached to the index.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachFromIndex * @see AWS API Documentation */ default CompletableFuture detachFromIndex( Consumer detachFromIndexRequest) { return detachFromIndex(DetachFromIndexRequest.builder().applyMutation(detachFromIndexRequest).build()); } /** *

* Detaches a given object from the parent object. The object that is to be detached from the parent is specified by * the link name. *

* * @param detachObjectRequest * @return A Java Future containing the result of the DetachObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotNodeException Occurs when any invalid operations are performed on an object that is not a node, * such as calling ListObjectChildren for a leaf node object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachObject * @see AWS * API Documentation */ default CompletableFuture detachObject(DetachObjectRequest detachObjectRequest) { throw new UnsupportedOperationException(); } /** *

* Detaches a given object from the parent object. The object that is to be detached from the parent is specified by * the link name. *

*
*

* This is a convenience which creates an instance of the {@link DetachObjectRequest.Builder} avoiding the need to * create one manually via {@link DetachObjectRequest#builder()} *

* * @param detachObjectRequest * A {@link Consumer} that will call methods on {@link DetachObjectRequest.Builder} to create a request. * @return A Java Future containing the result of the DetachObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotNodeException Occurs when any invalid operations are performed on an object that is not a node, * such as calling ListObjectChildren for a leaf node object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachObject * @see AWS * API Documentation */ default CompletableFuture detachObject(Consumer detachObjectRequest) { return detachObject(DetachObjectRequest.builder().applyMutation(detachObjectRequest).build()); } /** *

* Detaches a policy from an object. *

* * @param detachPolicyRequest * @return A Java Future containing the result of the DetachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachPolicy * @see AWS * API Documentation */ default CompletableFuture detachPolicy(DetachPolicyRequest detachPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Detaches a policy from an object. *

*
*

* This is a convenience which creates an instance of the {@link DetachPolicyRequest.Builder} avoiding the need to * create one manually via {@link DetachPolicyRequest#builder()} *

* * @param detachPolicyRequest * A {@link Consumer} that will call methods on {@link DetachPolicyRequest.Builder} to create a request. * @return A Java Future containing the result of the DetachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachPolicy * @see AWS * API Documentation */ default CompletableFuture detachPolicy(Consumer detachPolicyRequest) { return detachPolicy(DetachPolicyRequest.builder().applyMutation(detachPolicyRequest).build()); } /** *

* Detaches a typed link from a specified source and target object. For more information, see Typed Links. *

* * @param detachTypedLinkRequest * @return A Java Future containing the result of the DetachTypedLink operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachTypedLink * @see AWS API Documentation */ default CompletableFuture detachTypedLink(DetachTypedLinkRequest detachTypedLinkRequest) { throw new UnsupportedOperationException(); } /** *

* Detaches a typed link from a specified source and target object. For more information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link DetachTypedLinkRequest.Builder} avoiding the need * to create one manually via {@link DetachTypedLinkRequest#builder()} *

* * @param detachTypedLinkRequest * A {@link Consumer} that will call methods on {@link DetachTypedLinkRequest.Builder} to create a request. * @return A Java Future containing the result of the DetachTypedLink operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DetachTypedLink * @see AWS API Documentation */ default CompletableFuture detachTypedLink( Consumer detachTypedLinkRequest) { return detachTypedLink(DetachTypedLinkRequest.builder().applyMutation(detachTypedLinkRequest).build()); } /** *

* Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can * be disabled. Disabled directories may be reenabled. *

* * @param disableDirectoryRequest * @return A Java Future containing the result of the DisableDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • DirectoryDeletedException A directory that has been deleted and to which access has been attempted. * Note: The requested resource will eventually cease to exist.
  • *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DisableDirectory * @see AWS API Documentation */ default CompletableFuture disableDirectory(DisableDirectoryRequest disableDirectoryRequest) { throw new UnsupportedOperationException(); } /** *

* Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can * be disabled. Disabled directories may be reenabled. *

*
*

* This is a convenience which creates an instance of the {@link DisableDirectoryRequest.Builder} avoiding the need * to create one manually via {@link DisableDirectoryRequest#builder()} *

* * @param disableDirectoryRequest * A {@link Consumer} that will call methods on {@link DisableDirectoryRequest.Builder} to create a request. * @return A Java Future containing the result of the DisableDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • DirectoryDeletedException A directory that has been deleted and to which access has been attempted. * Note: The requested resource will eventually cease to exist.
  • *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.DisableDirectory * @see AWS API Documentation */ default CompletableFuture disableDirectory( Consumer disableDirectoryRequest) { return disableDirectory(DisableDirectoryRequest.builder().applyMutation(disableDirectoryRequest).build()); } /** *

* Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then * be read and written to. *

* * @param enableDirectoryRequest * @return A Java Future containing the result of the EnableDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • DirectoryDeletedException A directory that has been deleted and to which access has been attempted. * Note: The requested resource will eventually cease to exist.
  • *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.EnableDirectory * @see AWS API Documentation */ default CompletableFuture enableDirectory(EnableDirectoryRequest enableDirectoryRequest) { throw new UnsupportedOperationException(); } /** *

* Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then * be read and written to. *

*
*

* This is a convenience which creates an instance of the {@link EnableDirectoryRequest.Builder} avoiding the need * to create one manually via {@link EnableDirectoryRequest#builder()} *

* * @param enableDirectoryRequest * A {@link Consumer} that will call methods on {@link EnableDirectoryRequest.Builder} to create a request. * @return A Java Future containing the result of the EnableDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • DirectoryDeletedException A directory that has been deleted and to which access has been attempted. * Note: The requested resource will eventually cease to exist.
  • *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.EnableDirectory * @see AWS API Documentation */ default CompletableFuture enableDirectory( Consumer enableDirectoryRequest) { return enableDirectory(EnableDirectoryRequest.builder().applyMutation(enableDirectoryRequest).build()); } /** *

* Returns current applied schema version ARN, including the minor version in use. *

* * @param getAppliedSchemaVersionRequest * @return A Java Future containing the result of the GetAppliedSchemaVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetAppliedSchemaVersion * @see AWS API Documentation */ default CompletableFuture getAppliedSchemaVersion( GetAppliedSchemaVersionRequest getAppliedSchemaVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Returns current applied schema version ARN, including the minor version in use. *

*
*

* This is a convenience which creates an instance of the {@link GetAppliedSchemaVersionRequest.Builder} avoiding * the need to create one manually via {@link GetAppliedSchemaVersionRequest#builder()} *

* * @param getAppliedSchemaVersionRequest * A {@link Consumer} that will call methods on {@link GetAppliedSchemaVersionRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetAppliedSchemaVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetAppliedSchemaVersion * @see AWS API Documentation */ default CompletableFuture getAppliedSchemaVersion( Consumer getAppliedSchemaVersionRequest) { return getAppliedSchemaVersion(GetAppliedSchemaVersionRequest.builder().applyMutation(getAppliedSchemaVersionRequest) .build()); } /** *

* Retrieves metadata about a directory. *

* * @param getDirectoryRequest * @return A Java Future containing the result of the GetDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetDirectory * @see AWS * API Documentation */ default CompletableFuture getDirectory(GetDirectoryRequest getDirectoryRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves metadata about a directory. *

*
*

* This is a convenience which creates an instance of the {@link GetDirectoryRequest.Builder} avoiding the need to * create one manually via {@link GetDirectoryRequest#builder()} *

* * @param getDirectoryRequest * A {@link Consumer} that will call methods on {@link GetDirectoryRequest.Builder} to create a request. * @return A Java Future containing the result of the GetDirectory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetDirectory * @see AWS * API Documentation */ default CompletableFuture getDirectory(Consumer getDirectoryRequest) { return getDirectory(GetDirectoryRequest.builder().applyMutation(getDirectoryRequest).build()); } /** *

* 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. *

* * @param getFacetRequest * @return A Java Future containing the result of the GetFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetFacet * @see AWS API * Documentation */ default CompletableFuture getFacet(GetFacetRequest getFacetRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link GetFacetRequest.Builder} avoiding the need to * create one manually via {@link GetFacetRequest#builder()} *

* * @param getFacetRequest * A {@link Consumer} that will call methods on {@link GetFacetRequest.Builder} to create a request. * @return A Java Future containing the result of the GetFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetFacet * @see AWS API * Documentation */ default CompletableFuture getFacet(Consumer getFacetRequest) { return getFacet(GetFacetRequest.builder().applyMutation(getFacetRequest).build()); } /** *

* Retrieves attributes that are associated with a typed link. *

* * @param getLinkAttributesRequest * @return A Java Future containing the result of the GetLinkAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetLinkAttributes * @see AWS API Documentation */ default CompletableFuture getLinkAttributes(GetLinkAttributesRequest getLinkAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves attributes that are associated with a typed link. *

*
*

* This is a convenience which creates an instance of the {@link GetLinkAttributesRequest.Builder} avoiding the need * to create one manually via {@link GetLinkAttributesRequest#builder()} *

* * @param getLinkAttributesRequest * A {@link Consumer} that will call methods on {@link GetLinkAttributesRequest.Builder} to create a request. * @return A Java Future containing the result of the GetLinkAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetLinkAttributes * @see AWS API Documentation */ default CompletableFuture getLinkAttributes( Consumer getLinkAttributesRequest) { return getLinkAttributes(GetLinkAttributesRequest.builder().applyMutation(getLinkAttributesRequest).build()); } /** *

* Retrieves attributes within a facet that are associated with an object. *

* * @param getObjectAttributesRequest * @return A Java Future containing the result of the GetObjectAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetObjectAttributes * @see AWS API Documentation */ default CompletableFuture getObjectAttributes( GetObjectAttributesRequest getObjectAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves attributes within a facet that are associated with an object. *

*
*

* This is a convenience which creates an instance of the {@link GetObjectAttributesRequest.Builder} avoiding the * need to create one manually via {@link GetObjectAttributesRequest#builder()} *

* * @param getObjectAttributesRequest * A {@link Consumer} that will call methods on {@link GetObjectAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetObjectAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetObjectAttributes * @see AWS API Documentation */ default CompletableFuture getObjectAttributes( Consumer getObjectAttributesRequest) { return getObjectAttributes(GetObjectAttributesRequest.builder().applyMutation(getObjectAttributesRequest).build()); } /** *

* Retrieves metadata about an object. *

* * @param getObjectInformationRequest * @return A Java Future containing the result of the GetObjectInformation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetObjectInformation * @see AWS API Documentation */ default CompletableFuture getObjectInformation( GetObjectInformationRequest getObjectInformationRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves metadata about an object. *

*
*

* This is a convenience which creates an instance of the {@link GetObjectInformationRequest.Builder} avoiding the * need to create one manually via {@link GetObjectInformationRequest#builder()} *

* * @param getObjectInformationRequest * A {@link Consumer} that will call methods on {@link GetObjectInformationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetObjectInformation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetObjectInformation * @see AWS API Documentation */ default CompletableFuture getObjectInformation( Consumer getObjectInformationRequest) { return getObjectInformation(GetObjectInformationRequest.builder().applyMutation(getObjectInformationRequest).build()); } /** *

* Retrieves a JSON representation of the schema. See JSON * Schema Format for more information. *

* * @param getSchemaAsJsonRequest * @return A Java Future containing the result of the GetSchemaAsJson operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetSchemaAsJson * @see AWS API Documentation */ default CompletableFuture getSchemaAsJson(GetSchemaAsJsonRequest getSchemaAsJsonRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves a JSON representation of the schema. See JSON * Schema Format for more information. *

*
*

* This is a convenience which creates an instance of the {@link GetSchemaAsJsonRequest.Builder} avoiding the need * to create one manually via {@link GetSchemaAsJsonRequest#builder()} *

* * @param getSchemaAsJsonRequest * A {@link Consumer} that will call methods on {@link GetSchemaAsJsonRequest.Builder} to create a request. * @return A Java Future containing the result of the GetSchemaAsJson operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetSchemaAsJson * @see AWS API Documentation */ default CompletableFuture getSchemaAsJson( Consumer getSchemaAsJsonRequest) { return getSchemaAsJson(GetSchemaAsJsonRequest.builder().applyMutation(getSchemaAsJsonRequest).build()); } /** *

* Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed Links. *

* * @param getTypedLinkFacetInformationRequest * @return A Java Future containing the result of the GetTypedLinkFacetInformation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetTypedLinkFacetInformation * @see AWS API Documentation */ default CompletableFuture getTypedLinkFacetInformation( GetTypedLinkFacetInformationRequest getTypedLinkFacetInformationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link GetTypedLinkFacetInformationRequest.Builder} * avoiding the need to create one manually via {@link GetTypedLinkFacetInformationRequest#builder()} *

* * @param getTypedLinkFacetInformationRequest * A {@link Consumer} that will call methods on {@link GetTypedLinkFacetInformationRequest.Builder} to create * a request. * @return A Java Future containing the result of the GetTypedLinkFacetInformation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.GetTypedLinkFacetInformation * @see AWS API Documentation */ default CompletableFuture getTypedLinkFacetInformation( Consumer getTypedLinkFacetInformationRequest) { return getTypedLinkFacetInformation(GetTypedLinkFacetInformationRequest.builder() .applyMutation(getTypedLinkFacetInformationRequest).build()); } /** *

* Lists schema major versions applied to a directory. If SchemaArn is provided, lists the minor * version. *

* * @param listAppliedSchemaArnsRequest * @return A Java Future containing the result of the ListAppliedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAppliedSchemaArns * @see AWS API Documentation */ default CompletableFuture listAppliedSchemaArns( ListAppliedSchemaArnsRequest listAppliedSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists schema major versions applied to a directory. If SchemaArn is provided, lists the minor * version. *

*
*

* This is a convenience which creates an instance of the {@link ListAppliedSchemaArnsRequest.Builder} avoiding the * need to create one manually via {@link ListAppliedSchemaArnsRequest#builder()} *

* * @param listAppliedSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListAppliedSchemaArnsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListAppliedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAppliedSchemaArns * @see AWS API Documentation */ default CompletableFuture listAppliedSchemaArns( Consumer listAppliedSchemaArnsRequest) { return listAppliedSchemaArns(ListAppliedSchemaArnsRequest.builder().applyMutation(listAppliedSchemaArnsRequest).build()); } /** *

* Lists schema major versions applied to a directory. If SchemaArn is provided, lists the minor * version. *

*
*

* This is a variant of * {@link #listAppliedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAppliedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest)} * operation. *

* * @param listAppliedSchemaArnsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAppliedSchemaArns * @see AWS API Documentation */ default ListAppliedSchemaArnsPublisher listAppliedSchemaArnsPaginator( ListAppliedSchemaArnsRequest listAppliedSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists schema major versions applied to a directory. If SchemaArn is provided, lists the minor * version. *

*
*

* This is a variant of * {@link #listAppliedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAppliedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListAppliedSchemaArnsRequest.Builder} avoiding the * need to create one manually via {@link ListAppliedSchemaArnsRequest#builder()} *

* * @param listAppliedSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListAppliedSchemaArnsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAppliedSchemaArns * @see AWS API Documentation */ default ListAppliedSchemaArnsPublisher listAppliedSchemaArnsPaginator( Consumer listAppliedSchemaArnsRequest) { return listAppliedSchemaArnsPaginator(ListAppliedSchemaArnsRequest.builder().applyMutation(listAppliedSchemaArnsRequest) .build()); } /** *

* Lists indices attached to the specified object. *

* * @param listAttachedIndicesRequest * @return A Java Future containing the result of the ListAttachedIndices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAttachedIndices * @see AWS API Documentation */ default CompletableFuture listAttachedIndices( ListAttachedIndicesRequest listAttachedIndicesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists indices attached to the specified object. *

*
*

* This is a convenience which creates an instance of the {@link ListAttachedIndicesRequest.Builder} avoiding the * need to create one manually via {@link ListAttachedIndicesRequest#builder()} *

* * @param listAttachedIndicesRequest * A {@link Consumer} that will call methods on {@link ListAttachedIndicesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListAttachedIndices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAttachedIndices * @see AWS API Documentation */ default CompletableFuture listAttachedIndices( Consumer listAttachedIndicesRequest) { return listAttachedIndices(ListAttachedIndicesRequest.builder().applyMutation(listAttachedIndicesRequest).build()); } /** *

* Lists indices attached to the specified object. *

*
*

* This is a variant of * {@link #listAttachedIndices(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAttachedIndices(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest)} * operation. *

* * @param listAttachedIndicesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAttachedIndices * @see AWS API Documentation */ default ListAttachedIndicesPublisher listAttachedIndicesPaginator(ListAttachedIndicesRequest listAttachedIndicesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists indices attached to the specified object. *

*
*

* This is a variant of * {@link #listAttachedIndices(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAttachedIndices(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListAttachedIndicesRequest.Builder} avoiding the * need to create one manually via {@link ListAttachedIndicesRequest#builder()} *

* * @param listAttachedIndicesRequest * A {@link Consumer} that will call methods on {@link ListAttachedIndicesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListAttachedIndices * @see AWS API Documentation */ default ListAttachedIndicesPublisher listAttachedIndicesPaginator( Consumer listAttachedIndicesRequest) { return listAttachedIndicesPaginator(ListAttachedIndicesRequest.builder().applyMutation(listAttachedIndicesRequest) .build()); } /** *

* Retrieves each Amazon Resource Name (ARN) of schemas in the development state. *

* * @param listDevelopmentSchemaArnsRequest * @return A Java Future containing the result of the ListDevelopmentSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDevelopmentSchemaArns * @see AWS API Documentation */ default CompletableFuture listDevelopmentSchemaArns( ListDevelopmentSchemaArnsRequest listDevelopmentSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves each Amazon Resource Name (ARN) of schemas in the development state. *

*
*

* This is a convenience which creates an instance of the {@link ListDevelopmentSchemaArnsRequest.Builder} avoiding * the need to create one manually via {@link ListDevelopmentSchemaArnsRequest#builder()} *

* * @param listDevelopmentSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListDevelopmentSchemaArnsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListDevelopmentSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDevelopmentSchemaArns * @see AWS API Documentation */ default CompletableFuture listDevelopmentSchemaArns( Consumer listDevelopmentSchemaArnsRequest) { return listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest.builder() .applyMutation(listDevelopmentSchemaArnsRequest).build()); } /** *

* Retrieves each Amazon Resource Name (ARN) of schemas in the development state. *

* * @return A Java Future containing the result of the ListDevelopmentSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDevelopmentSchemaArns * @see AWS API Documentation */ default CompletableFuture listDevelopmentSchemaArns() { return listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest.builder().build()); } /** *

* Retrieves each Amazon Resource Name (ARN) of schemas in the development state. *

*
*

* This is a variant of * {@link #listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDevelopmentSchemaArns * @see AWS API Documentation */ default ListDevelopmentSchemaArnsPublisher listDevelopmentSchemaArnsPaginator() { return listDevelopmentSchemaArnsPaginator(ListDevelopmentSchemaArnsRequest.builder().build()); } /** *

* Retrieves each Amazon Resource Name (ARN) of schemas in the development state. *

*
*

* This is a variant of * {@link #listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)} * operation. *

* * @param listDevelopmentSchemaArnsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDevelopmentSchemaArns * @see AWS API Documentation */ default ListDevelopmentSchemaArnsPublisher listDevelopmentSchemaArnsPaginator( ListDevelopmentSchemaArnsRequest listDevelopmentSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves each Amazon Resource Name (ARN) of schemas in the development state. *

*
*

* This is a variant of * {@link #listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListDevelopmentSchemaArnsRequest.Builder} avoiding * the need to create one manually via {@link ListDevelopmentSchemaArnsRequest#builder()} *

* * @param listDevelopmentSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListDevelopmentSchemaArnsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDevelopmentSchemaArns * @see AWS API Documentation */ default ListDevelopmentSchemaArnsPublisher listDevelopmentSchemaArnsPaginator( Consumer listDevelopmentSchemaArnsRequest) { return listDevelopmentSchemaArnsPaginator(ListDevelopmentSchemaArnsRequest.builder() .applyMutation(listDevelopmentSchemaArnsRequest).build()); } /** *

* Lists directories created within an account. *

* * @param listDirectoriesRequest * @return A Java Future containing the result of the ListDirectories operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDirectories * @see AWS API Documentation */ default CompletableFuture listDirectories(ListDirectoriesRequest listDirectoriesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists directories created within an account. *

*
*

* This is a convenience which creates an instance of the {@link ListDirectoriesRequest.Builder} avoiding the need * to create one manually via {@link ListDirectoriesRequest#builder()} *

* * @param listDirectoriesRequest * A {@link Consumer} that will call methods on {@link ListDirectoriesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListDirectories operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDirectories * @see AWS API Documentation */ default CompletableFuture listDirectories( Consumer listDirectoriesRequest) { return listDirectories(ListDirectoriesRequest.builder().applyMutation(listDirectoriesRequest).build()); } /** *

* Lists directories created within an account. *

* * @return A Java Future containing the result of the ListDirectories operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDirectories * @see AWS API Documentation */ default CompletableFuture listDirectories() { return listDirectories(ListDirectoriesRequest.builder().build()); } /** *

* Lists directories created within an account. *

*
*

* This is a variant of * {@link #listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDirectories * @see AWS API Documentation */ default ListDirectoriesPublisher listDirectoriesPaginator() { return listDirectoriesPaginator(ListDirectoriesRequest.builder().build()); } /** *

* Lists directories created within an account. *

*
*

* This is a variant of * {@link #listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)} * operation. *

* * @param listDirectoriesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDirectories * @see AWS API Documentation */ default ListDirectoriesPublisher listDirectoriesPaginator(ListDirectoriesRequest listDirectoriesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists directories created within an account. *

*
*

* This is a variant of * {@link #listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListDirectoriesRequest.Builder} avoiding the need * to create one manually via {@link ListDirectoriesRequest#builder()} *

* * @param listDirectoriesRequest * A {@link Consumer} that will call methods on {@link ListDirectoriesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListDirectories * @see AWS API Documentation */ default ListDirectoriesPublisher listDirectoriesPaginator(Consumer listDirectoriesRequest) { return listDirectoriesPaginator(ListDirectoriesRequest.builder().applyMutation(listDirectoriesRequest).build()); } /** *

* Retrieves attributes attached to the facet. *

* * @param listFacetAttributesRequest * @return A Java Future containing the result of the ListFacetAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetAttributes * @see AWS API Documentation */ default CompletableFuture listFacetAttributes( ListFacetAttributesRequest listFacetAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves attributes attached to the facet. *

*
*

* This is a convenience which creates an instance of the {@link ListFacetAttributesRequest.Builder} avoiding the * need to create one manually via {@link ListFacetAttributesRequest#builder()} *

* * @param listFacetAttributesRequest * A {@link Consumer} that will call methods on {@link ListFacetAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListFacetAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetAttributes * @see AWS API Documentation */ default CompletableFuture listFacetAttributes( Consumer listFacetAttributesRequest) { return listFacetAttributes(ListFacetAttributesRequest.builder().applyMutation(listFacetAttributesRequest).build()); } /** *

* Retrieves attributes attached to the facet. *

*
*

* This is a variant of * {@link #listFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest)} * operation. *

* * @param listFacetAttributesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetAttributes * @see AWS API Documentation */ default ListFacetAttributesPublisher listFacetAttributesPaginator(ListFacetAttributesRequest listFacetAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves attributes attached to the facet. *

*
*

* This is a variant of * {@link #listFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListFacetAttributesRequest.Builder} avoiding the * need to create one manually via {@link ListFacetAttributesRequest#builder()} *

* * @param listFacetAttributesRequest * A {@link Consumer} that will call methods on {@link ListFacetAttributesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetAttributes * @see AWS API Documentation */ default ListFacetAttributesPublisher listFacetAttributesPaginator( Consumer listFacetAttributesRequest) { return listFacetAttributesPaginator(ListFacetAttributesRequest.builder().applyMutation(listFacetAttributesRequest) .build()); } /** *

* Retrieves the names of facets that exist in a schema. *

* * @param listFacetNamesRequest * @return A Java Future containing the result of the ListFacetNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetNames * @see AWS * API Documentation */ default CompletableFuture listFacetNames(ListFacetNamesRequest listFacetNamesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the names of facets that exist in a schema. *

*
*

* This is a convenience which creates an instance of the {@link ListFacetNamesRequest.Builder} avoiding the need to * create one manually via {@link ListFacetNamesRequest#builder()} *

* * @param listFacetNamesRequest * A {@link Consumer} that will call methods on {@link ListFacetNamesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListFacetNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetNames * @see AWS * API Documentation */ default CompletableFuture listFacetNames(Consumer listFacetNamesRequest) { return listFacetNames(ListFacetNamesRequest.builder().applyMutation(listFacetNamesRequest).build()); } /** *

* Retrieves the names of facets that exist in a schema. *

*
*

* This is a variant of * {@link #listFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest)} * operation. *

* * @param listFacetNamesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetNames * @see AWS * API Documentation */ default ListFacetNamesPublisher listFacetNamesPaginator(ListFacetNamesRequest listFacetNamesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the names of facets that exist in a schema. *

*
*

* This is a variant of * {@link #listFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListFacetNamesRequest.Builder} avoiding the need to * create one manually via {@link ListFacetNamesRequest#builder()} *

* * @param listFacetNamesRequest * A {@link Consumer} that will call methods on {@link ListFacetNamesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListFacetNames * @see AWS * API Documentation */ default ListFacetNamesPublisher listFacetNamesPaginator(Consumer listFacetNamesRequest) { return listFacetNamesPaginator(ListFacetNamesRequest.builder().applyMutation(listFacetNamesRequest).build()); } /** *

* 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. *

* * @param listIncomingTypedLinksRequest * @return A Java Future containing the result of the ListIncomingTypedLinks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListIncomingTypedLinks * @see AWS API Documentation */ default CompletableFuture listIncomingTypedLinks( ListIncomingTypedLinksRequest listIncomingTypedLinksRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListIncomingTypedLinksRequest.Builder} avoiding the * need to create one manually via {@link ListIncomingTypedLinksRequest#builder()} *

* * @param listIncomingTypedLinksRequest * A {@link Consumer} that will call methods on {@link ListIncomingTypedLinksRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListIncomingTypedLinks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListIncomingTypedLinks * @see AWS API Documentation */ default CompletableFuture listIncomingTypedLinks( Consumer listIncomingTypedLinksRequest) { return listIncomingTypedLinks(ListIncomingTypedLinksRequest.builder().applyMutation(listIncomingTypedLinksRequest) .build()); } /** *

* Lists objects attached to the specified index. *

* * @param listIndexRequest * @return A Java Future containing the result of the ListIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListIndex * @see AWS API * Documentation */ default CompletableFuture listIndex(ListIndexRequest listIndexRequest) { throw new UnsupportedOperationException(); } /** *

* Lists objects attached to the specified index. *

*
*

* This is a convenience which creates an instance of the {@link ListIndexRequest.Builder} avoiding the need to * create one manually via {@link ListIndexRequest#builder()} *

* * @param listIndexRequest * A {@link Consumer} that will call methods on {@link ListIndexRequest.Builder} to create a request. * @return A Java Future containing the result of the ListIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListIndex * @see AWS API * Documentation */ default CompletableFuture listIndex(Consumer listIndexRequest) { return listIndex(ListIndexRequest.builder().applyMutation(listIndexRequest).build()); } /** *

* Lists objects attached to the specified index. *

*
*

* This is a variant of {@link #listIndex(software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListIndexResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listIndex(software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest)} operation. *

* * @param listIndexRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListIndex * @see AWS API * Documentation */ default ListIndexPublisher listIndexPaginator(ListIndexRequest listIndexRequest) { throw new UnsupportedOperationException(); } /** *

* Lists objects attached to the specified index. *

*
*

* This is a variant of {@link #listIndex(software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListIndexResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listIndex(software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListIndexRequest.Builder} avoiding the need to * create one manually via {@link ListIndexRequest#builder()} *

* * @param listIndexRequest * A {@link Consumer} that will call methods on {@link ListIndexRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotIndexException Indicates that the requested operation can only operate on index objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListIndex * @see AWS API * Documentation */ default ListIndexPublisher listIndexPaginator(Consumer listIndexRequest) { return listIndexPaginator(ListIndexRequest.builder().applyMutation(listIndexRequest).build()); } /** *

* 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. *

* * @param listManagedSchemaArnsRequest * @return A Java Future containing the result of the ListManagedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListManagedSchemaArns * @see AWS API Documentation */ default CompletableFuture listManagedSchemaArns( ListManagedSchemaArnsRequest listManagedSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListManagedSchemaArnsRequest.Builder} avoiding the * need to create one manually via {@link ListManagedSchemaArnsRequest#builder()} *

* * @param listManagedSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListManagedSchemaArnsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListManagedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListManagedSchemaArns * @see AWS API Documentation */ default CompletableFuture listManagedSchemaArns( Consumer listManagedSchemaArnsRequest) { return listManagedSchemaArns(ListManagedSchemaArnsRequest.builder().applyMutation(listManagedSchemaArnsRequest).build()); } /** *

* 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. *

* * @return A Java Future containing the result of the ListManagedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListManagedSchemaArns * @see AWS API Documentation */ default CompletableFuture listManagedSchemaArns() { return listManagedSchemaArns(ListManagedSchemaArnsRequest.builder().build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listManagedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher publisher = client.listManagedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher publisher = client.listManagedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listManagedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListManagedSchemaArns * @see AWS API Documentation */ default ListManagedSchemaArnsPublisher listManagedSchemaArnsPaginator() { return listManagedSchemaArnsPaginator(ListManagedSchemaArnsRequest.builder().build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listManagedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher publisher = client.listManagedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher publisher = client.listManagedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listManagedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest)} * operation. *

* * @param listManagedSchemaArnsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListManagedSchemaArns * @see AWS API Documentation */ default ListManagedSchemaArnsPublisher listManagedSchemaArnsPaginator( ListManagedSchemaArnsRequest listManagedSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listManagedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher publisher = client.listManagedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListManagedSchemaArnsPublisher publisher = client.listManagedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listManagedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListManagedSchemaArnsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListManagedSchemaArnsRequest.Builder} avoiding the * need to create one manually via {@link ListManagedSchemaArnsRequest#builder()} *

* * @param listManagedSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListManagedSchemaArnsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListManagedSchemaArns * @see AWS API Documentation */ default ListManagedSchemaArnsPublisher listManagedSchemaArnsPaginator( Consumer listManagedSchemaArnsRequest) { return listManagedSchemaArnsPaginator(ListManagedSchemaArnsRequest.builder().applyMutation(listManagedSchemaArnsRequest) .build()); } /** *

* Lists all attributes that are associated with an object. *

* * @param listObjectAttributesRequest * @return A Java Future containing the result of the ListObjectAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectAttributes * @see AWS API Documentation */ default CompletableFuture listObjectAttributes( ListObjectAttributesRequest listObjectAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all attributes that are associated with an object. *

*
*

* This is a convenience which creates an instance of the {@link ListObjectAttributesRequest.Builder} avoiding the * need to create one manually via {@link ListObjectAttributesRequest#builder()} *

* * @param listObjectAttributesRequest * A {@link Consumer} that will call methods on {@link ListObjectAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListObjectAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectAttributes * @see AWS API Documentation */ default CompletableFuture listObjectAttributes( Consumer listObjectAttributesRequest) { return listObjectAttributes(ListObjectAttributesRequest.builder().applyMutation(listObjectAttributesRequest).build()); } /** *

* Lists all attributes that are associated with an object. *

*
*

* This is a variant of * {@link #listObjectAttributes(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectAttributes(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest)} * operation. *

* * @param listObjectAttributesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectAttributes * @see AWS API Documentation */ default ListObjectAttributesPublisher listObjectAttributesPaginator(ListObjectAttributesRequest listObjectAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all attributes that are associated with an object. *

*
*

* This is a variant of * {@link #listObjectAttributes(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectAttributes(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListObjectAttributesRequest.Builder} avoiding the * need to create one manually via {@link ListObjectAttributesRequest#builder()} *

* * @param listObjectAttributesRequest * A {@link Consumer} that will call methods on {@link ListObjectAttributesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectAttributes * @see AWS API Documentation */ default ListObjectAttributesPublisher listObjectAttributesPaginator( Consumer listObjectAttributesRequest) { return listObjectAttributesPaginator(ListObjectAttributesRequest.builder().applyMutation(listObjectAttributesRequest) .build()); } /** *

* Returns a paginated list of child objects that are associated with a given object. *

* * @param listObjectChildrenRequest * @return A Java Future containing the result of the ListObjectChildren operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • NotNodeException Occurs when any invalid operations are performed on an object that is not a node, * such as calling ListObjectChildren for a leaf node object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectChildren * @see AWS API Documentation */ default CompletableFuture listObjectChildren(ListObjectChildrenRequest listObjectChildrenRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of child objects that are associated with a given object. *

*
*

* This is a convenience which creates an instance of the {@link ListObjectChildrenRequest.Builder} avoiding the * need to create one manually via {@link ListObjectChildrenRequest#builder()} *

* * @param listObjectChildrenRequest * A {@link Consumer} that will call methods on {@link ListObjectChildrenRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListObjectChildren operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • NotNodeException Occurs when any invalid operations are performed on an object that is not a node, * such as calling ListObjectChildren for a leaf node object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectChildren * @see AWS API Documentation */ default CompletableFuture listObjectChildren( Consumer listObjectChildrenRequest) { return listObjectChildren(ListObjectChildrenRequest.builder().applyMutation(listObjectChildrenRequest).build()); } /** *

* Returns a paginated list of child objects that are associated with a given object. *

*
*

* This is a variant of * {@link #listObjectChildren(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectChildren(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest)} * operation. *

* * @param listObjectChildrenRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • NotNodeException Occurs when any invalid operations are performed on an object that is not a node, * such as calling ListObjectChildren for a leaf node object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectChildren * @see AWS API Documentation */ default ListObjectChildrenPublisher listObjectChildrenPaginator(ListObjectChildrenRequest listObjectChildrenRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of child objects that are associated with a given object. *

*
*

* This is a variant of * {@link #listObjectChildren(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectChildren(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListObjectChildrenRequest.Builder} avoiding the * need to create one manually via {@link ListObjectChildrenRequest#builder()} *

* * @param listObjectChildrenRequest * A {@link Consumer} that will call methods on {@link ListObjectChildrenRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • NotNodeException Occurs when any invalid operations are performed on an object that is not a node, * such as calling ListObjectChildren for a leaf node object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectChildren * @see AWS API Documentation */ default ListObjectChildrenPublisher listObjectChildrenPaginator( Consumer listObjectChildrenRequest) { return listObjectChildrenPaginator(ListObjectChildrenRequest.builder().applyMutation(listObjectChildrenRequest).build()); } /** *

* 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. *

* * @param listObjectParentPathsRequest * @return A Java Future containing the result of the ListObjectParentPaths operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParentPaths * @see AWS API Documentation */ default CompletableFuture listObjectParentPaths( ListObjectParentPathsRequest listObjectParentPathsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListObjectParentPathsRequest.Builder} avoiding the * need to create one manually via {@link ListObjectParentPathsRequest#builder()} *

* * @param listObjectParentPathsRequest * A {@link Consumer} that will call methods on {@link ListObjectParentPathsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListObjectParentPaths operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParentPaths * @see AWS API Documentation */ default CompletableFuture listObjectParentPaths( Consumer listObjectParentPathsRequest) { return listObjectParentPaths(ListObjectParentPathsRequest.builder().applyMutation(listObjectParentPathsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listObjectParentPaths(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectParentPaths(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest)} * operation. *

* * @param listObjectParentPathsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParentPaths * @see AWS API Documentation */ default ListObjectParentPathsPublisher listObjectParentPathsPaginator( ListObjectParentPathsRequest listObjectParentPathsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listObjectParentPaths(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectParentPaths(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListObjectParentPathsRequest.Builder} avoiding the * need to create one manually via {@link ListObjectParentPathsRequest#builder()} *

* * @param listObjectParentPathsRequest * A {@link Consumer} that will call methods on {@link ListObjectParentPathsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParentPaths * @see AWS API Documentation */ default ListObjectParentPathsPublisher listObjectParentPathsPaginator( Consumer listObjectParentPathsRequest) { return listObjectParentPathsPaginator(ListObjectParentPathsRequest.builder().applyMutation(listObjectParentPathsRequest) .build()); } /** *

* Lists parent objects that are associated with a given object in pagination fashion. *

* * @param listObjectParentsRequest * @return A Java Future containing the result of the ListObjectParents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • CannotListParentOfRootException Cannot list the parents of a Directory root.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParents * @see AWS API Documentation */ default CompletableFuture listObjectParents(ListObjectParentsRequest listObjectParentsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists parent objects that are associated with a given object in pagination fashion. *

*
*

* This is a convenience which creates an instance of the {@link ListObjectParentsRequest.Builder} avoiding the need * to create one manually via {@link ListObjectParentsRequest#builder()} *

* * @param listObjectParentsRequest * A {@link Consumer} that will call methods on {@link ListObjectParentsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListObjectParents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • CannotListParentOfRootException Cannot list the parents of a Directory root.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParents * @see AWS API Documentation */ default CompletableFuture listObjectParents( Consumer listObjectParentsRequest) { return listObjectParents(ListObjectParentsRequest.builder().applyMutation(listObjectParentsRequest).build()); } /** *

* Lists parent objects that are associated with a given object in pagination fashion. *

*
*

* This is a variant of * {@link #listObjectParents(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectParents(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest)} * operation. *

* * @param listObjectParentsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • CannotListParentOfRootException Cannot list the parents of a Directory root.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParents * @see AWS API Documentation */ default ListObjectParentsPublisher listObjectParentsPaginator(ListObjectParentsRequest listObjectParentsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists parent objects that are associated with a given object in pagination fashion. *

*
*

* This is a variant of * {@link #listObjectParents(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectParents(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListObjectParentsRequest.Builder} avoiding the need * to create one manually via {@link ListObjectParentsRequest#builder()} *

* * @param listObjectParentsRequest * A {@link Consumer} that will call methods on {@link ListObjectParentsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • CannotListParentOfRootException Cannot list the parents of a Directory root.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectParents * @see AWS API Documentation */ default ListObjectParentsPublisher listObjectParentsPaginator( Consumer listObjectParentsRequest) { return listObjectParentsPaginator(ListObjectParentsRequest.builder().applyMutation(listObjectParentsRequest).build()); } /** *

* Returns policies attached to an object in pagination fashion. *

* * @param listObjectPoliciesRequest * @return A Java Future containing the result of the ListObjectPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectPolicies * @see AWS API Documentation */ default CompletableFuture listObjectPolicies(ListObjectPoliciesRequest listObjectPoliciesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns policies attached to an object in pagination fashion. *

*
*

* This is a convenience which creates an instance of the {@link ListObjectPoliciesRequest.Builder} avoiding the * need to create one manually via {@link ListObjectPoliciesRequest#builder()} *

* * @param listObjectPoliciesRequest * A {@link Consumer} that will call methods on {@link ListObjectPoliciesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListObjectPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectPolicies * @see AWS API Documentation */ default CompletableFuture listObjectPolicies( Consumer listObjectPoliciesRequest) { return listObjectPolicies(ListObjectPoliciesRequest.builder().applyMutation(listObjectPoliciesRequest).build()); } /** *

* Returns policies attached to an object in pagination fashion. *

*
*

* This is a variant of * {@link #listObjectPolicies(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectPolicies(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest)} * operation. *

* * @param listObjectPoliciesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectPolicies * @see AWS API Documentation */ default ListObjectPoliciesPublisher listObjectPoliciesPaginator(ListObjectPoliciesRequest listObjectPoliciesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns policies attached to an object in pagination fashion. *

*
*

* This is a variant of * {@link #listObjectPolicies(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listObjectPolicies(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListObjectPoliciesRequest.Builder} avoiding the * need to create one manually via {@link ListObjectPoliciesRequest#builder()} *

* * @param listObjectPoliciesRequest * A {@link Consumer} that will call methods on {@link ListObjectPoliciesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListObjectPolicies * @see AWS API Documentation */ default ListObjectPoliciesPublisher listObjectPoliciesPaginator( Consumer listObjectPoliciesRequest) { return listObjectPoliciesPaginator(ListObjectPoliciesRequest.builder().applyMutation(listObjectPoliciesRequest).build()); } /** *

* 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. *

* * @param listOutgoingTypedLinksRequest * @return A Java Future containing the result of the ListOutgoingTypedLinks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListOutgoingTypedLinks * @see AWS API Documentation */ default CompletableFuture listOutgoingTypedLinks( ListOutgoingTypedLinksRequest listOutgoingTypedLinksRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListOutgoingTypedLinksRequest.Builder} avoiding the * need to create one manually via {@link ListOutgoingTypedLinksRequest#builder()} *

* * @param listOutgoingTypedLinksRequest * A {@link Consumer} that will call methods on {@link ListOutgoingTypedLinksRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListOutgoingTypedLinks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListOutgoingTypedLinks * @see AWS API Documentation */ default CompletableFuture listOutgoingTypedLinks( Consumer listOutgoingTypedLinksRequest) { return listOutgoingTypedLinks(ListOutgoingTypedLinksRequest.builder().applyMutation(listOutgoingTypedLinksRequest) .build()); } /** *

* Returns all of the ObjectIdentifiers to which a given policy is attached. *

* * @param listPolicyAttachmentsRequest * @return A Java Future containing the result of the ListPolicyAttachments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPolicyAttachments * @see AWS API Documentation */ default CompletableFuture listPolicyAttachments( ListPolicyAttachmentsRequest listPolicyAttachmentsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns all of the ObjectIdentifiers to which a given policy is attached. *

*
*

* This is a convenience which creates an instance of the {@link ListPolicyAttachmentsRequest.Builder} avoiding the * need to create one manually via {@link ListPolicyAttachmentsRequest#builder()} *

* * @param listPolicyAttachmentsRequest * A {@link Consumer} that will call methods on {@link ListPolicyAttachmentsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListPolicyAttachments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPolicyAttachments * @see AWS API Documentation */ default CompletableFuture listPolicyAttachments( Consumer listPolicyAttachmentsRequest) { return listPolicyAttachments(ListPolicyAttachmentsRequest.builder().applyMutation(listPolicyAttachmentsRequest).build()); } /** *

* Returns all of the ObjectIdentifiers to which a given policy is attached. *

*
*

* This is a variant of * {@link #listPolicyAttachments(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPolicyAttachments(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest)} * operation. *

* * @param listPolicyAttachmentsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPolicyAttachments * @see AWS API Documentation */ default ListPolicyAttachmentsPublisher listPolicyAttachmentsPaginator( ListPolicyAttachmentsRequest listPolicyAttachmentsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns all of the ObjectIdentifiers to which a given policy is attached. *

*
*

* This is a variant of * {@link #listPolicyAttachments(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPolicyAttachments(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListPolicyAttachmentsRequest.Builder} avoiding the * need to create one manually via {@link ListPolicyAttachmentsRequest#builder()} *

* * @param listPolicyAttachmentsRequest * A {@link Consumer} that will call methods on {@link ListPolicyAttachmentsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • NotPolicyException Indicates that the requested operation can only operate on policy objects.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPolicyAttachments * @see AWS API Documentation */ default ListPolicyAttachmentsPublisher listPolicyAttachmentsPaginator( Consumer listPolicyAttachmentsRequest) { return listPolicyAttachmentsPaginator(ListPolicyAttachmentsRequest.builder().applyMutation(listPolicyAttachmentsRequest) .build()); } /** *

* 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. *

* * @param listPublishedSchemaArnsRequest * @return A Java Future containing the result of the ListPublishedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPublishedSchemaArns * @see AWS API Documentation */ default CompletableFuture listPublishedSchemaArns( ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListPublishedSchemaArnsRequest.Builder} avoiding * the need to create one manually via {@link ListPublishedSchemaArnsRequest#builder()} *

* * @param listPublishedSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListPublishedSchemaArnsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListPublishedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPublishedSchemaArns * @see AWS API Documentation */ default CompletableFuture listPublishedSchemaArns( Consumer listPublishedSchemaArnsRequest) { return listPublishedSchemaArns(ListPublishedSchemaArnsRequest.builder().applyMutation(listPublishedSchemaArnsRequest) .build()); } /** *

* 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. *

* * @return A Java Future containing the result of the ListPublishedSchemaArns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPublishedSchemaArns * @see AWS API Documentation */ default CompletableFuture listPublishedSchemaArns() { return listPublishedSchemaArns(ListPublishedSchemaArnsRequest.builder().build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPublishedSchemaArns * @see AWS API Documentation */ default ListPublishedSchemaArnsPublisher listPublishedSchemaArnsPaginator() { return listPublishedSchemaArnsPaginator(ListPublishedSchemaArnsRequest.builder().build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)} * operation. *

* * @param listPublishedSchemaArnsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPublishedSchemaArns * @see AWS API Documentation */ default ListPublishedSchemaArnsPublisher listPublishedSchemaArnsPaginator( ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListPublishedSchemaArnsRequest.Builder} avoiding * the need to create one manually via {@link ListPublishedSchemaArnsRequest#builder()} *

* * @param listPublishedSchemaArnsRequest * A {@link Consumer} that will call methods on {@link ListPublishedSchemaArnsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListPublishedSchemaArns * @see AWS API Documentation */ default ListPublishedSchemaArnsPublisher listPublishedSchemaArnsPaginator( Consumer listPublishedSchemaArnsRequest) { return listPublishedSchemaArnsPaginator(ListPublishedSchemaArnsRequest.builder() .applyMutation(listPublishedSchemaArnsRequest).build()); } /** *

* 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. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listTagsForResource(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTagsForResource(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest)} * operation. *

* * @param listTagsForResourceRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listTagsForResource(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTagsForResource(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourcePublisher listTagsForResourcePaginator( Consumer listTagsForResourceRequest) { return listTagsForResourcePaginator(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest) .build()); } /** *

* Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more * information, see Typed Links. *

* * @param listTypedLinkFacetAttributesRequest * @return A Java Future containing the result of the ListTypedLinkFacetAttributes operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetAttributes * @see AWS API Documentation */ default CompletableFuture listTypedLinkFacetAttributes( ListTypedLinkFacetAttributesRequest listTypedLinkFacetAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more * information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link ListTypedLinkFacetAttributesRequest.Builder} * avoiding the need to create one manually via {@link ListTypedLinkFacetAttributesRequest#builder()} *

* * @param listTypedLinkFacetAttributesRequest * A {@link Consumer} that will call methods on {@link ListTypedLinkFacetAttributesRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListTypedLinkFacetAttributes operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetAttributes * @see AWS API Documentation */ default CompletableFuture listTypedLinkFacetAttributes( Consumer listTypedLinkFacetAttributesRequest) { return listTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest.builder() .applyMutation(listTypedLinkFacetAttributesRequest).build()); } /** *

* Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more * information, see Typed Links. *

*
*

* This is a variant of * {@link #listTypedLinkFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypedLinkFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest)} * operation. *

* * @param listTypedLinkFacetAttributesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetAttributes * @see AWS API Documentation */ default ListTypedLinkFacetAttributesPublisher listTypedLinkFacetAttributesPaginator( ListTypedLinkFacetAttributesRequest listTypedLinkFacetAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more * information, see Typed Links. *

*
*

* This is a variant of * {@link #listTypedLinkFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypedLinkFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTypedLinkFacetAttributesRequest.Builder} * avoiding the need to create one manually via {@link ListTypedLinkFacetAttributesRequest#builder()} *

* * @param listTypedLinkFacetAttributesRequest * A {@link Consumer} that will call methods on {@link ListTypedLinkFacetAttributesRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetAttributes * @see AWS API Documentation */ default ListTypedLinkFacetAttributesPublisher listTypedLinkFacetAttributesPaginator( Consumer listTypedLinkFacetAttributesRequest) { return listTypedLinkFacetAttributesPaginator(ListTypedLinkFacetAttributesRequest.builder() .applyMutation(listTypedLinkFacetAttributesRequest).build()); } /** *

* Returns a paginated list of TypedLink facet names for a particular schema. For more information, see * Typed Links. *

* * @param listTypedLinkFacetNamesRequest * @return A Java Future containing the result of the ListTypedLinkFacetNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetNames * @see AWS API Documentation */ default CompletableFuture listTypedLinkFacetNames( ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of TypedLink facet names for a particular schema. For more information, see * Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link ListTypedLinkFacetNamesRequest.Builder} avoiding * the need to create one manually via {@link ListTypedLinkFacetNamesRequest#builder()} *

* * @param listTypedLinkFacetNamesRequest * A {@link Consumer} that will call methods on {@link ListTypedLinkFacetNamesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTypedLinkFacetNames operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetNames * @see AWS API Documentation */ default CompletableFuture listTypedLinkFacetNames( Consumer listTypedLinkFacetNamesRequest) { return listTypedLinkFacetNames(ListTypedLinkFacetNamesRequest.builder().applyMutation(listTypedLinkFacetNamesRequest) .build()); } /** *

* Returns a paginated list of TypedLink facet names for a particular schema. For more information, see * Typed Links. *

*
*

* This is a variant of * {@link #listTypedLinkFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypedLinkFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest)} * operation. *

* * @param listTypedLinkFacetNamesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetNames * @see AWS API Documentation */ default ListTypedLinkFacetNamesPublisher listTypedLinkFacetNamesPaginator( ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of TypedLink facet names for a particular schema. For more information, see * Typed Links. *

*
*

* This is a variant of * {@link #listTypedLinkFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypedLinkFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTypedLinkFacetNamesRequest.Builder} avoiding * the need to create one manually via {@link ListTypedLinkFacetNamesRequest#builder()} *

* * @param listTypedLinkFacetNamesRequest * A {@link Consumer} that will call methods on {@link ListTypedLinkFacetNamesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.ListTypedLinkFacetNames * @see AWS API Documentation */ default ListTypedLinkFacetNamesPublisher listTypedLinkFacetNamesPaginator( Consumer listTypedLinkFacetNamesRequest) { return listTypedLinkFacetNamesPaginator(ListTypedLinkFacetNamesRequest.builder() .applyMutation(listTypedLinkFacetNamesRequest).build()); } /** *

* 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. *

* * @param lookupPolicyRequest * @return A Java Future containing the result of the LookupPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.LookupPolicy * @see AWS * API Documentation */ default CompletableFuture lookupPolicy(LookupPolicyRequest lookupPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link LookupPolicyRequest.Builder} avoiding the need to * create one manually via {@link LookupPolicyRequest#builder()} *

* * @param lookupPolicyRequest * A {@link Consumer} that will call methods on {@link LookupPolicyRequest.Builder} to create a request. * @return A Java Future containing the result of the LookupPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.LookupPolicy * @see AWS * API Documentation */ default CompletableFuture lookupPolicy(Consumer lookupPolicyRequest) { return lookupPolicy(LookupPolicyRequest.builder().applyMutation(lookupPolicyRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #lookupPolicy(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #lookupPolicy(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest)} operation. *

* * @param lookupPolicyRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.LookupPolicy * @see AWS * API Documentation */ default LookupPolicyPublisher lookupPolicyPaginator(LookupPolicyRequest lookupPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #lookupPolicy(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #lookupPolicy(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link LookupPolicyRequest.Builder} avoiding the need to * create one manually via {@link LookupPolicyRequest#builder()} *

* * @param lookupPolicyRequest * A {@link Consumer} that will call methods on {@link LookupPolicyRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • InvalidNextTokenException Indicates that the NextToken value is not valid.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.LookupPolicy * @see AWS * API Documentation */ default LookupPolicyPublisher lookupPolicyPaginator(Consumer lookupPolicyRequest) { return lookupPolicyPaginator(LookupPolicyRequest.builder().applyMutation(lookupPolicyRequest).build()); } /** *

* Publishes a development schema with a major version and a recommended minor version. *

* * @param publishSchemaRequest * @return A Java Future containing the result of the PublishSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SchemaAlreadyPublishedException Indicates that a schema is already published.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.PublishSchema * @see AWS * API Documentation */ default CompletableFuture publishSchema(PublishSchemaRequest publishSchemaRequest) { throw new UnsupportedOperationException(); } /** *

* Publishes a development schema with a major version and a recommended minor version. *

*
*

* This is a convenience which creates an instance of the {@link PublishSchemaRequest.Builder} avoiding the need to * create one manually via {@link PublishSchemaRequest#builder()} *

* * @param publishSchemaRequest * A {@link Consumer} that will call methods on {@link PublishSchemaRequest.Builder} to create a request. * @return A Java Future containing the result of the PublishSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SchemaAlreadyPublishedException Indicates that a schema is already published.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.PublishSchema * @see AWS * API Documentation */ default CompletableFuture publishSchema(Consumer publishSchemaRequest) { return publishSchema(PublishSchemaRequest.builder().applyMutation(publishSchemaRequest).build()); } /** *

* Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON * Schema Format for more information. *

* * @param putSchemaFromJsonRequest * @return A Java Future containing the result of the PutSchemaFromJson operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidSchemaDocException Indicates that the provided SchemaDoc value is not valid.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.PutSchemaFromJson * @see AWS API Documentation */ default CompletableFuture putSchemaFromJson(PutSchemaFromJsonRequest putSchemaFromJsonRequest) { throw new UnsupportedOperationException(); } /** *

* Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON * Schema Format for more information. *

*
*

* This is a convenience which creates an instance of the {@link PutSchemaFromJsonRequest.Builder} avoiding the need * to create one manually via {@link PutSchemaFromJsonRequest#builder()} *

* * @param putSchemaFromJsonRequest * A {@link Consumer} that will call methods on {@link PutSchemaFromJsonRequest.Builder} to create a request. * @return A Java Future containing the result of the PutSchemaFromJson operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidSchemaDocException Indicates that the provided SchemaDoc value is not valid.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.PutSchemaFromJson * @see AWS API Documentation */ default CompletableFuture putSchemaFromJson( Consumer putSchemaFromJsonRequest) { return putSchemaFromJson(PutSchemaFromJsonRequest.builder().applyMutation(putSchemaFromJsonRequest).build()); } /** *

* Removes the specified facet from the specified object. *

* * @param removeFacetFromObjectRequest * @return A Java Future containing the result of the RemoveFacetFromObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.RemoveFacetFromObject * @see AWS API Documentation */ default CompletableFuture removeFacetFromObject( RemoveFacetFromObjectRequest removeFacetFromObjectRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the specified facet from the specified object. *

*
*

* This is a convenience which creates an instance of the {@link RemoveFacetFromObjectRequest.Builder} avoiding the * need to create one manually via {@link RemoveFacetFromObjectRequest#builder()} *

* * @param removeFacetFromObjectRequest * A {@link Consumer} that will call methods on {@link RemoveFacetFromObjectRequest.Builder} to create a * request. * @return A Java Future containing the result of the RemoveFacetFromObject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.RemoveFacetFromObject * @see AWS API Documentation */ default CompletableFuture removeFacetFromObject( Consumer removeFacetFromObjectRequest) { return removeFacetFromObject(RemoveFacetFromObjectRequest.builder().applyMutation(removeFacetFromObjectRequest).build()); } /** *

* An API operation for adding tags to a resource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* An API operation for adding tags to a resource. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* An API operation for removing tags from a resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UntagResource * @see AWS * API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* An API operation for removing tags from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidTaggingRequestException Can occur for multiple reasons such as when you tag a resource that * doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed * limit is 50 tags per resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UntagResource * @see AWS * API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Does the following: *

*
    *
  1. *

    * Adds new Attributes, Rules, or ObjectTypes. *

    *
  2. *
  3. *

    * Updates existing Attributes, Rules, or ObjectTypes. *

    *
  4. *
  5. *

    * Deletes existing Attributes, Rules, or ObjectTypes. *

    *
  6. *
* * @param updateFacetRequest * @return A Java Future containing the result of the UpdateFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidFacetUpdateException An attempt to modify a Facet resulted in an invalid schema * exception.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateFacet * @see AWS * API Documentation */ default CompletableFuture updateFacet(UpdateFacetRequest updateFacetRequest) { throw new UnsupportedOperationException(); } /** *

* Does the following: *

*
    *
  1. *

    * Adds new Attributes, Rules, or ObjectTypes. *

    *
  2. *
  3. *

    * Updates existing Attributes, Rules, or ObjectTypes. *

    *
  4. *
  5. *

    * Deletes existing Attributes, Rules, or ObjectTypes. *

    *
  6. *
*
*

* This is a convenience which creates an instance of the {@link UpdateFacetRequest.Builder} avoiding the need to * create one manually via {@link UpdateFacetRequest#builder()} *

* * @param updateFacetRequest * A {@link Consumer} that will call methods on {@link UpdateFacetRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • InvalidFacetUpdateException An attempt to modify a Facet resulted in an invalid schema * exception.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateFacet * @see AWS * API Documentation */ default CompletableFuture updateFacet(Consumer updateFacetRequest) { return updateFacet(UpdateFacetRequest.builder().applyMutation(updateFacetRequest).build()); } /** *

* 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. *

* * @param updateLinkAttributesRequest * @return A Java Future containing the result of the UpdateLinkAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateLinkAttributes * @see AWS API Documentation */ default CompletableFuture updateLinkAttributes( UpdateLinkAttributesRequest updateLinkAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateLinkAttributesRequest.Builder} avoiding the * need to create one manually via {@link UpdateLinkAttributesRequest#builder()} *

* * @param updateLinkAttributesRequest * A {@link Consumer} that will call methods on {@link UpdateLinkAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateLinkAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateLinkAttributes * @see AWS API Documentation */ default CompletableFuture updateLinkAttributes( Consumer updateLinkAttributesRequest) { return updateLinkAttributes(UpdateLinkAttributesRequest.builder().applyMutation(updateLinkAttributesRequest).build()); } /** *

* Updates a given object's attributes. *

* * @param updateObjectAttributesRequest * @return A Java Future containing the result of the UpdateObjectAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateObjectAttributes * @see AWS API Documentation */ default CompletableFuture updateObjectAttributes( UpdateObjectAttributesRequest updateObjectAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a given object's attributes. *

*
*

* This is a convenience which creates an instance of the {@link UpdateObjectAttributesRequest.Builder} avoiding the * need to create one manually via {@link UpdateObjectAttributesRequest#builder()} *

* * @param updateObjectAttributesRequest * A {@link Consumer} that will call methods on {@link UpdateObjectAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateObjectAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • DirectoryNotEnabledException Operations are only permitted on enabled directories.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • LinkNameAlreadyInUseException Indicates that a link could not be created due to a naming conflict. * Choose a different name and then try again.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateObjectAttributes * @see AWS API Documentation */ default CompletableFuture updateObjectAttributes( Consumer updateObjectAttributesRequest) { return updateObjectAttributes(UpdateObjectAttributesRequest.builder().applyMutation(updateObjectAttributesRequest) .build()); } /** *

* Updates the schema name with a new name. Only development schema names can be updated. *

* * @param updateSchemaRequest * @return A Java Future containing the result of the UpdateSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateSchema * @see AWS * API Documentation */ default CompletableFuture updateSchema(UpdateSchemaRequest updateSchemaRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the schema name with a new name. Only development schema names can be updated. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSchemaRequest.Builder} avoiding the need to * create one manually via {@link UpdateSchemaRequest#builder()} *

* * @param updateSchemaRequest * A {@link Consumer} that will call methods on {@link UpdateSchemaRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateSchema * @see AWS * API Documentation */ default CompletableFuture updateSchema(Consumer updateSchemaRequest) { return updateSchema(UpdateSchemaRequest.builder().applyMutation(updateSchemaRequest).build()); } /** *

* Updates a TypedLinkFacet. For more information, see Typed Links. *

* * @param updateTypedLinkFacetRequest * @return A Java Future containing the result of the UpdateTypedLinkFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • InvalidFacetUpdateException An attempt to modify a Facet resulted in an invalid schema * exception.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateTypedLinkFacet * @see AWS API Documentation */ default CompletableFuture updateTypedLinkFacet( UpdateTypedLinkFacetRequest updateTypedLinkFacetRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a TypedLinkFacet. For more information, see Typed Links. *

*
*

* This is a convenience which creates an instance of the {@link UpdateTypedLinkFacetRequest.Builder} avoiding the * need to create one manually via {@link UpdateTypedLinkFacetRequest#builder()} *

* * @param updateTypedLinkFacetRequest * A {@link Consumer} that will call methods on {@link UpdateTypedLinkFacetRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateTypedLinkFacet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • FacetValidationException The Facet that you provided was not well formed or could not be * validated with the schema.
  • *
  • InvalidFacetUpdateException An attempt to modify a Facet resulted in an invalid schema * exception.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • FacetNotFoundException The specified Facet could not be found.
  • *
  • InvalidRuleException Occurs when any of the rule parameter keys or values are invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpdateTypedLinkFacet * @see AWS API Documentation */ default CompletableFuture updateTypedLinkFacet( Consumer updateTypedLinkFacetRequest) { return updateTypedLinkFacet(UpdateTypedLinkFacetRequest.builder().applyMutation(updateTypedLinkFacetRequest).build()); } /** *

* 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. *

* * @param upgradeAppliedSchemaRequest * @return A Java Future containing the result of the UpgradeAppliedSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • IncompatibleSchemaException Indicates a failure occurred while performing a check for backward * compatibility between the specified schema and the schema that is currently applied to the directory.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • SchemaAlreadyExistsException Indicates that a schema could not be created due to a naming conflict. * Please select a different name and then try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpgradeAppliedSchema * @see AWS API Documentation */ default CompletableFuture upgradeAppliedSchema( UpgradeAppliedSchemaRequest upgradeAppliedSchemaRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpgradeAppliedSchemaRequest.Builder} avoiding the * need to create one manually via {@link UpgradeAppliedSchemaRequest#builder()} *

* * @param upgradeAppliedSchemaRequest * A {@link Consumer} that will call methods on {@link UpgradeAppliedSchemaRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpgradeAppliedSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • IncompatibleSchemaException Indicates a failure occurred while performing a check for backward * compatibility between the specified schema and the schema that is currently applied to the directory.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • SchemaAlreadyExistsException Indicates that a schema could not be created due to a naming conflict. * Please select a different name and then try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpgradeAppliedSchema * @see AWS API Documentation */ default CompletableFuture upgradeAppliedSchema( Consumer upgradeAppliedSchemaRequest) { return upgradeAppliedSchema(UpgradeAppliedSchemaRequest.builder().applyMutation(upgradeAppliedSchemaRequest).build()); } /** *

* Upgrades a published schema under a new minor version revision using the current contents of * DevelopmentSchemaArn. *

* * @param upgradePublishedSchemaRequest * @return A Java Future containing the result of the UpgradePublishedSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • IncompatibleSchemaException Indicates a failure occurred while performing a check for backward * compatibility between the specified schema and the schema that is currently applied to the directory.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpgradePublishedSchema * @see AWS API Documentation */ default CompletableFuture upgradePublishedSchema( UpgradePublishedSchemaRequest upgradePublishedSchemaRequest) { throw new UnsupportedOperationException(); } /** *

* Upgrades a published schema under a new minor version revision using the current contents of * DevelopmentSchemaArn. *

*
*

* This is a convenience which creates an instance of the {@link UpgradePublishedSchemaRequest.Builder} avoiding the * need to create one manually via {@link UpgradePublishedSchemaRequest#builder()} *

* * @param upgradePublishedSchemaRequest * A {@link Consumer} that will call methods on {@link UpgradePublishedSchemaRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpgradePublishedSchema operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServiceException Indicates a problem that must be resolved by Amazon Web Services. This might * be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any * operational issues with the service.
  • *
  • InvalidArnException Indicates that the provided ARN value is not valid.
  • *
  • RetryableConflictException Occurs when a conflict with a previous successful write is detected. For * example, if a write operation occurs on an object and then an attempt is made to read the object using * “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did * not have time to propagate to the host serving the current request. A retry (with appropriate backoff * logic) is the recommended response to this exception.
  • *
  • ValidationException Indicates that your request is malformed in some manner. See the exception * message.
  • *
  • IncompatibleSchemaException Indicates a failure occurred while performing a check for backward * compatibility between the specified schema and the schema that is currently applied to the directory.
  • *
  • AccessDeniedException Access denied or directory not found. Either you don't have permissions for * this directory or the directory does not exist. Try calling ListDirectories and check your * permissions.
  • *
  • ResourceNotFoundException The specified resource could not be found.
  • *
  • InvalidAttachmentException Indicates that an attempt to make an attachment was invalid. For example, * attaching two nodes with a link type that is not applicable to the nodes or attempting to apply a schema * to a directory a second time.
  • *
  • LimitExceededException Indicates that limits are exceeded. See Limits for more * information.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CloudDirectoryException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CloudDirectoryAsyncClient.UpgradePublishedSchema * @see AWS API Documentation */ default CompletableFuture upgradePublishedSchema( Consumer upgradePublishedSchemaRequest) { return upgradePublishedSchema(UpgradePublishedSchemaRequest.builder().applyMutation(upgradePublishedSchemaRequest) .build()); } @Override default CloudDirectoryServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link CloudDirectoryAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static CloudDirectoryAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link CloudDirectoryAsyncClient}. */ static CloudDirectoryAsyncClientBuilder builder() { return new DefaultCloudDirectoryAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy