@Generated(value="software.amazon.awssdk:codegen") public interface CloudDirectoryAsyncClient extends SdkClient
builder()
method.
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 AWS Directory Services features, see AWS Directory Service and the AWS Directory Service Administration Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<AddFacetToObjectResponse> |
addFacetToObject(AddFacetToObjectRequest addFacetToObjectRequest)
Adds a new Facet to an object.
|
default CompletableFuture<AddFacetToObjectResponse> |
addFacetToObject(Consumer<AddFacetToObjectRequest.Builder> addFacetToObjectRequest)
Adds a new Facet to an object.
|
default CompletableFuture<ApplySchemaResponse> |
applySchema(ApplySchemaRequest applySchemaRequest)
Copies the input published schema into the Directory with the same name and version as that of the
published schema .
|
default CompletableFuture<ApplySchemaResponse> |
applySchema(Consumer<ApplySchemaRequest.Builder> applySchemaRequest)
Copies the input published schema into the Directory with the same name and version as that of the
published schema .
|
default CompletableFuture<AttachObjectResponse> |
attachObject(AttachObjectRequest attachObjectRequest)
Attaches an existing object to another object.
|
default CompletableFuture<AttachObjectResponse> |
attachObject(Consumer<AttachObjectRequest.Builder> attachObjectRequest)
Attaches an existing object to another object.
|
default CompletableFuture<AttachPolicyResponse> |
attachPolicy(AttachPolicyRequest attachPolicyRequest)
Attaches a policy object to a regular object.
|
default CompletableFuture<AttachPolicyResponse> |
attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest)
Attaches a policy object to a regular object.
|
default CompletableFuture<AttachToIndexResponse> |
attachToIndex(AttachToIndexRequest attachToIndexRequest)
Attaches the specified object to the specified index.
|
default CompletableFuture<AttachToIndexResponse> |
attachToIndex(Consumer<AttachToIndexRequest.Builder> attachToIndexRequest)
Attaches the specified object to the specified index.
|
default CompletableFuture<AttachTypedLinkResponse> |
attachTypedLink(AttachTypedLinkRequest attachTypedLinkRequest)
Attaches a typed link to a specified source and target object.
|
default CompletableFuture<AttachTypedLinkResponse> |
attachTypedLink(Consumer<AttachTypedLinkRequest.Builder> attachTypedLinkRequest)
Attaches a typed link to a specified source and target object.
|
default CompletableFuture<BatchReadResponse> |
batchRead(BatchReadRequest batchReadRequest)
Performs all the read operations in a batch.
|
default CompletableFuture<BatchReadResponse> |
batchRead(Consumer<BatchReadRequest.Builder> batchReadRequest)
Performs all the read operations in a batch.
|
default CompletableFuture<BatchWriteResponse> |
batchWrite(BatchWriteRequest batchWriteRequest)
Performs all the write operations in a batch.
|
default CompletableFuture<BatchWriteResponse> |
batchWrite(Consumer<BatchWriteRequest.Builder> batchWriteRequest)
Performs all the write operations in a batch.
|
static CloudDirectoryAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
CloudDirectoryAsyncClient . |
static CloudDirectoryAsyncClient |
create()
Create a
CloudDirectoryAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateDirectoryResponse> |
createDirectory(Consumer<CreateDirectoryRequest.Builder> createDirectoryRequest)
Creates a Directory by copying the published schema into the directory.
|
default CompletableFuture<CreateDirectoryResponse> |
createDirectory(CreateDirectoryRequest createDirectoryRequest)
Creates a Directory by copying the published schema into the directory.
|
default CompletableFuture<CreateFacetResponse> |
createFacet(Consumer<CreateFacetRequest.Builder> createFacetRequest)
Creates a new Facet in a schema.
|
default CompletableFuture<CreateFacetResponse> |
createFacet(CreateFacetRequest createFacetRequest)
Creates a new Facet in a schema.
|
default CompletableFuture<CreateIndexResponse> |
createIndex(Consumer<CreateIndexRequest.Builder> createIndexRequest)
Creates an index object.
|
default CompletableFuture<CreateIndexResponse> |
createIndex(CreateIndexRequest createIndexRequest)
Creates an index object.
|
default CompletableFuture<CreateObjectResponse> |
createObject(Consumer<CreateObjectRequest.Builder> createObjectRequest)
Creates an object in a Directory.
|
default CompletableFuture<CreateObjectResponse> |
createObject(CreateObjectRequest createObjectRequest)
Creates an object in a Directory.
|
default CompletableFuture<CreateSchemaResponse> |
createSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest)
Creates a new schema in a development state.
|
default CompletableFuture<CreateSchemaResponse> |
createSchema(CreateSchemaRequest createSchemaRequest)
Creates a new schema in a development state.
|
default CompletableFuture<CreateTypedLinkFacetResponse> |
createTypedLinkFacet(Consumer<CreateTypedLinkFacetRequest.Builder> createTypedLinkFacetRequest)
Creates a TypedLinkFacet.
|
default CompletableFuture<CreateTypedLinkFacetResponse> |
createTypedLinkFacet(CreateTypedLinkFacetRequest createTypedLinkFacetRequest)
Creates a TypedLinkFacet.
|
default CompletableFuture<DeleteDirectoryResponse> |
deleteDirectory(Consumer<DeleteDirectoryRequest.Builder> deleteDirectoryRequest)
Deletes a directory.
|
default CompletableFuture<DeleteDirectoryResponse> |
deleteDirectory(DeleteDirectoryRequest deleteDirectoryRequest)
Deletes a directory.
|
default CompletableFuture<DeleteFacetResponse> |
deleteFacet(Consumer<DeleteFacetRequest.Builder> deleteFacetRequest)
Deletes a given Facet.
|
default CompletableFuture<DeleteFacetResponse> |
deleteFacet(DeleteFacetRequest deleteFacetRequest)
Deletes a given Facet.
|
default CompletableFuture<DeleteObjectResponse> |
deleteObject(Consumer<DeleteObjectRequest.Builder> deleteObjectRequest)
Deletes an object and its associated attributes.
|
default CompletableFuture<DeleteObjectResponse> |
deleteObject(DeleteObjectRequest deleteObjectRequest)
Deletes an object and its associated attributes.
|
default CompletableFuture<DeleteSchemaResponse> |
deleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest)
Deletes a given schema.
|
default CompletableFuture<DeleteSchemaResponse> |
deleteSchema(DeleteSchemaRequest deleteSchemaRequest)
Deletes a given schema.
|
default CompletableFuture<DeleteTypedLinkFacetResponse> |
deleteTypedLinkFacet(Consumer<DeleteTypedLinkFacetRequest.Builder> deleteTypedLinkFacetRequest)
Deletes a TypedLinkFacet.
|
default CompletableFuture<DeleteTypedLinkFacetResponse> |
deleteTypedLinkFacet(DeleteTypedLinkFacetRequest deleteTypedLinkFacetRequest)
Deletes a TypedLinkFacet.
|
default CompletableFuture<DetachFromIndexResponse> |
detachFromIndex(Consumer<DetachFromIndexRequest.Builder> detachFromIndexRequest)
Detaches the specified object from the specified index.
|
default CompletableFuture<DetachFromIndexResponse> |
detachFromIndex(DetachFromIndexRequest detachFromIndexRequest)
Detaches the specified object from the specified index.
|
default CompletableFuture<DetachObjectResponse> |
detachObject(Consumer<DetachObjectRequest.Builder> detachObjectRequest)
Detaches a given object from the parent object.
|
default CompletableFuture<DetachObjectResponse> |
detachObject(DetachObjectRequest detachObjectRequest)
Detaches a given object from the parent object.
|
default CompletableFuture<DetachPolicyResponse> |
detachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest)
Detaches a policy from an object.
|
default CompletableFuture<DetachPolicyResponse> |
detachPolicy(DetachPolicyRequest detachPolicyRequest)
Detaches a policy from an object.
|
default CompletableFuture<DetachTypedLinkResponse> |
detachTypedLink(Consumer<DetachTypedLinkRequest.Builder> detachTypedLinkRequest)
Detaches a typed link from a specified source and target object.
|
default CompletableFuture<DetachTypedLinkResponse> |
detachTypedLink(DetachTypedLinkRequest detachTypedLinkRequest)
Detaches a typed link from a specified source and target object.
|
default CompletableFuture<DisableDirectoryResponse> |
disableDirectory(Consumer<DisableDirectoryRequest.Builder> disableDirectoryRequest)
Disables the specified directory.
|
default CompletableFuture<DisableDirectoryResponse> |
disableDirectory(DisableDirectoryRequest disableDirectoryRequest)
Disables the specified directory.
|
default CompletableFuture<EnableDirectoryResponse> |
enableDirectory(Consumer<EnableDirectoryRequest.Builder> enableDirectoryRequest)
Enables the specified directory.
|
default CompletableFuture<EnableDirectoryResponse> |
enableDirectory(EnableDirectoryRequest enableDirectoryRequest)
Enables the specified directory.
|
default CompletableFuture<GetDirectoryResponse> |
getDirectory(Consumer<GetDirectoryRequest.Builder> getDirectoryRequest)
Retrieves metadata about a directory.
|
default CompletableFuture<GetDirectoryResponse> |
getDirectory(GetDirectoryRequest getDirectoryRequest)
Retrieves metadata about a directory.
|
default CompletableFuture<GetFacetResponse> |
getFacet(Consumer<GetFacetRequest.Builder> getFacetRequest)
|
default CompletableFuture<GetFacetResponse> |
getFacet(GetFacetRequest getFacetRequest)
|
default CompletableFuture<GetObjectInformationResponse> |
getObjectInformation(Consumer<GetObjectInformationRequest.Builder> getObjectInformationRequest)
Retrieves metadata about an object.
|
default CompletableFuture<GetObjectInformationResponse> |
getObjectInformation(GetObjectInformationRequest getObjectInformationRequest)
Retrieves metadata about an object.
|
default CompletableFuture<GetSchemaAsJsonResponse> |
getSchemaAsJson(Consumer<GetSchemaAsJsonRequest.Builder> getSchemaAsJsonRequest)
Retrieves a JSON representation of the schema.
|
default CompletableFuture<GetSchemaAsJsonResponse> |
getSchemaAsJson(GetSchemaAsJsonRequest getSchemaAsJsonRequest)
Retrieves a JSON representation of the schema.
|
default CompletableFuture<GetTypedLinkFacetInformationResponse> |
getTypedLinkFacetInformation(Consumer<GetTypedLinkFacetInformationRequest.Builder> getTypedLinkFacetInformationRequest)
Returns the identity attribute order for a specific TypedLinkFacet.
|
default CompletableFuture<GetTypedLinkFacetInformationResponse> |
getTypedLinkFacetInformation(GetTypedLinkFacetInformationRequest getTypedLinkFacetInformationRequest)
Returns the identity attribute order for a specific TypedLinkFacet.
|
default CompletableFuture<ListAppliedSchemaArnsResponse> |
listAppliedSchemaArns(Consumer<ListAppliedSchemaArnsRequest.Builder> listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
|
default CompletableFuture<ListAppliedSchemaArnsResponse> |
listAppliedSchemaArns(ListAppliedSchemaArnsRequest listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
|
default ListAppliedSchemaArnsPublisher |
listAppliedSchemaArnsPaginator(Consumer<ListAppliedSchemaArnsRequest.Builder> listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
|
default ListAppliedSchemaArnsPublisher |
listAppliedSchemaArnsPaginator(ListAppliedSchemaArnsRequest listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
|
default CompletableFuture<ListAttachedIndicesResponse> |
listAttachedIndices(Consumer<ListAttachedIndicesRequest.Builder> listAttachedIndicesRequest)
Lists indices attached to an object.
|
default CompletableFuture<ListAttachedIndicesResponse> |
listAttachedIndices(ListAttachedIndicesRequest listAttachedIndicesRequest)
Lists indices attached to an object.
|
default ListAttachedIndicesPublisher |
listAttachedIndicesPaginator(Consumer<ListAttachedIndicesRequest.Builder> listAttachedIndicesRequest)
Lists indices attached to an object.
|
default ListAttachedIndicesPublisher |
listAttachedIndicesPaginator(ListAttachedIndicesRequest listAttachedIndicesRequest)
Lists indices attached to an object.
|
default CompletableFuture<ListDevelopmentSchemaArnsResponse> |
listDevelopmentSchemaArns()
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
|
default CompletableFuture<ListDevelopmentSchemaArnsResponse> |
listDevelopmentSchemaArns(Consumer<ListDevelopmentSchemaArnsRequest.Builder> listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
|
default CompletableFuture<ListDevelopmentSchemaArnsResponse> |
listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
|
default ListDevelopmentSchemaArnsPublisher |
listDevelopmentSchemaArnsPaginator()
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
|
default ListDevelopmentSchemaArnsPublisher |
listDevelopmentSchemaArnsPaginator(Consumer<ListDevelopmentSchemaArnsRequest.Builder> listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
|
default ListDevelopmentSchemaArnsPublisher |
listDevelopmentSchemaArnsPaginator(ListDevelopmentSchemaArnsRequest listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
|
default CompletableFuture<ListDirectoriesResponse> |
listDirectories()
Lists directories created within an account.
|
default CompletableFuture<ListDirectoriesResponse> |
listDirectories(Consumer<ListDirectoriesRequest.Builder> listDirectoriesRequest)
Lists directories created within an account.
|
default CompletableFuture<ListDirectoriesResponse> |
listDirectories(ListDirectoriesRequest listDirectoriesRequest)
Lists directories created within an account.
|
default ListDirectoriesPublisher |
listDirectoriesPaginator()
Lists directories created within an account.
|
default ListDirectoriesPublisher |
listDirectoriesPaginator(Consumer<ListDirectoriesRequest.Builder> listDirectoriesRequest)
Lists directories created within an account.
|
default ListDirectoriesPublisher |
listDirectoriesPaginator(ListDirectoriesRequest listDirectoriesRequest)
Lists directories created within an account.
|
default CompletableFuture<ListFacetAttributesResponse> |
listFacetAttributes(Consumer<ListFacetAttributesRequest.Builder> listFacetAttributesRequest)
Retrieves attributes attached to the facet.
|
default CompletableFuture<ListFacetAttributesResponse> |
listFacetAttributes(ListFacetAttributesRequest listFacetAttributesRequest)
Retrieves attributes attached to the facet.
|
default ListFacetAttributesPublisher |
listFacetAttributesPaginator(Consumer<ListFacetAttributesRequest.Builder> listFacetAttributesRequest)
Retrieves attributes attached to the facet.
|
default ListFacetAttributesPublisher |
listFacetAttributesPaginator(ListFacetAttributesRequest listFacetAttributesRequest)
Retrieves attributes attached to the facet.
|
default CompletableFuture<ListFacetNamesResponse> |
listFacetNames(Consumer<ListFacetNamesRequest.Builder> listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
|
default CompletableFuture<ListFacetNamesResponse> |
listFacetNames(ListFacetNamesRequest listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
|
default ListFacetNamesPublisher |
listFacetNamesPaginator(Consumer<ListFacetNamesRequest.Builder> listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
|
default ListFacetNamesPublisher |
listFacetNamesPaginator(ListFacetNamesRequest listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
|
default CompletableFuture<ListIncomingTypedLinksResponse> |
listIncomingTypedLinks(Consumer<ListIncomingTypedLinksRequest.Builder> listIncomingTypedLinksRequest)
Returns a paginated list of all the incoming TypedLinkSpecifier information for an object.
|
default CompletableFuture<ListIncomingTypedLinksResponse> |
listIncomingTypedLinks(ListIncomingTypedLinksRequest listIncomingTypedLinksRequest)
Returns a paginated list of all the incoming TypedLinkSpecifier information for an object.
|
default CompletableFuture<ListIndexResponse> |
listIndex(Consumer<ListIndexRequest.Builder> listIndexRequest)
Lists objects attached to the specified index.
|
default CompletableFuture<ListIndexResponse> |
listIndex(ListIndexRequest listIndexRequest)
Lists objects attached to the specified index.
|
default ListIndexPublisher |
listIndexPaginator(Consumer<ListIndexRequest.Builder> listIndexRequest)
Lists objects attached to the specified index.
|
default ListIndexPublisher |
listIndexPaginator(ListIndexRequest listIndexRequest)
Lists objects attached to the specified index.
|
default CompletableFuture<ListObjectAttributesResponse> |
listObjectAttributes(Consumer<ListObjectAttributesRequest.Builder> listObjectAttributesRequest)
Lists all attributes that are associated with an object.
|
default CompletableFuture<ListObjectAttributesResponse> |
listObjectAttributes(ListObjectAttributesRequest listObjectAttributesRequest)
Lists all attributes that are associated with an object.
|
default ListObjectAttributesPublisher |
listObjectAttributesPaginator(Consumer<ListObjectAttributesRequest.Builder> listObjectAttributesRequest)
Lists all attributes that are associated with an object.
|
default ListObjectAttributesPublisher |
listObjectAttributesPaginator(ListObjectAttributesRequest listObjectAttributesRequest)
Lists all attributes that are associated with an object.
|
default CompletableFuture<ListObjectChildrenResponse> |
listObjectChildren(Consumer<ListObjectChildrenRequest.Builder> listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
|
default CompletableFuture<ListObjectChildrenResponse> |
listObjectChildren(ListObjectChildrenRequest listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
|
default ListObjectChildrenPublisher |
listObjectChildrenPaginator(Consumer<ListObjectChildrenRequest.Builder> listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
|
default ListObjectChildrenPublisher |
listObjectChildrenPaginator(ListObjectChildrenRequest listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
|
default CompletableFuture<ListObjectParentPathsResponse> |
listObjectParentPaths(Consumer<ListObjectParentPathsRequest.Builder> listObjectParentPathsRequest)
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
objects.
|
default CompletableFuture<ListObjectParentPathsResponse> |
listObjectParentPaths(ListObjectParentPathsRequest listObjectParentPathsRequest)
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
objects.
|
default ListObjectParentPathsPublisher |
listObjectParentPathsPaginator(Consumer<ListObjectParentPathsRequest.Builder> listObjectParentPathsRequest)
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
objects.
|
default ListObjectParentPathsPublisher |
listObjectParentPathsPaginator(ListObjectParentPathsRequest listObjectParentPathsRequest)
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
objects.
|
default CompletableFuture<ListObjectParentsResponse> |
listObjectParents(Consumer<ListObjectParentsRequest.Builder> listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
|
default CompletableFuture<ListObjectParentsResponse> |
listObjectParents(ListObjectParentsRequest listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
|
default ListObjectParentsPublisher |
listObjectParentsPaginator(Consumer<ListObjectParentsRequest.Builder> listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
|
default ListObjectParentsPublisher |
listObjectParentsPaginator(ListObjectParentsRequest listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
|
default CompletableFuture<ListObjectPoliciesResponse> |
listObjectPolicies(Consumer<ListObjectPoliciesRequest.Builder> listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
|
default CompletableFuture<ListObjectPoliciesResponse> |
listObjectPolicies(ListObjectPoliciesRequest listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
|
default ListObjectPoliciesPublisher |
listObjectPoliciesPaginator(Consumer<ListObjectPoliciesRequest.Builder> listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
|
default ListObjectPoliciesPublisher |
listObjectPoliciesPaginator(ListObjectPoliciesRequest listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
|
default CompletableFuture<ListOutgoingTypedLinksResponse> |
listOutgoingTypedLinks(Consumer<ListOutgoingTypedLinksRequest.Builder> listOutgoingTypedLinksRequest)
Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object.
|
default CompletableFuture<ListOutgoingTypedLinksResponse> |
listOutgoingTypedLinks(ListOutgoingTypedLinksRequest listOutgoingTypedLinksRequest)
Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object.
|
default CompletableFuture<ListPolicyAttachmentsResponse> |
listPolicyAttachments(Consumer<ListPolicyAttachmentsRequest.Builder> listPolicyAttachmentsRequest)
Returns all of the
ObjectIdentifiers to which a given policy is attached. |
default CompletableFuture<ListPolicyAttachmentsResponse> |
listPolicyAttachments(ListPolicyAttachmentsRequest listPolicyAttachmentsRequest)
Returns all of the
ObjectIdentifiers to which a given policy is attached. |
default ListPolicyAttachmentsPublisher |
listPolicyAttachmentsPaginator(Consumer<ListPolicyAttachmentsRequest.Builder> listPolicyAttachmentsRequest)
Returns all of the
ObjectIdentifiers to which a given policy is attached. |
default ListPolicyAttachmentsPublisher |
listPolicyAttachmentsPaginator(ListPolicyAttachmentsRequest listPolicyAttachmentsRequest)
Returns all of the
ObjectIdentifiers to which a given policy is attached. |
default CompletableFuture<ListPublishedSchemaArnsResponse> |
listPublishedSchemaArns()
Retrieves each published schema Amazon Resource Name (ARN).
|
default CompletableFuture<ListPublishedSchemaArnsResponse> |
listPublishedSchemaArns(Consumer<ListPublishedSchemaArnsRequest.Builder> listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
|
default CompletableFuture<ListPublishedSchemaArnsResponse> |
listPublishedSchemaArns(ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
|
default ListPublishedSchemaArnsPublisher |
listPublishedSchemaArnsPaginator()
Retrieves each published schema Amazon Resource Name (ARN).
|
default ListPublishedSchemaArnsPublisher |
listPublishedSchemaArnsPaginator(Consumer<ListPublishedSchemaArnsRequest.Builder> listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
|
default ListPublishedSchemaArnsPublisher |
listPublishedSchemaArnsPaginator(ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns tags for a resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns tags for a resource.
|
default ListTagsForResourcePublisher |
listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns tags for a resource.
|
default ListTagsForResourcePublisher |
listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
Returns tags for a resource.
|
default CompletableFuture<ListTypedLinkFacetAttributesResponse> |
listTypedLinkFacetAttributes(Consumer<ListTypedLinkFacetAttributesRequest.Builder> listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet.
|
default CompletableFuture<ListTypedLinkFacetAttributesResponse> |
listTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet.
|
default ListTypedLinkFacetAttributesPublisher |
listTypedLinkFacetAttributesPaginator(Consumer<ListTypedLinkFacetAttributesRequest.Builder> listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet.
|
default ListTypedLinkFacetAttributesPublisher |
listTypedLinkFacetAttributesPaginator(ListTypedLinkFacetAttributesRequest listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet.
|
default CompletableFuture<ListTypedLinkFacetNamesResponse> |
listTypedLinkFacetNames(Consumer<ListTypedLinkFacetNamesRequest.Builder> listTypedLinkFacetNamesRequest)
Returns a paginated list of
TypedLink facet names for a particular schema. |
default CompletableFuture<ListTypedLinkFacetNamesResponse> |
listTypedLinkFacetNames(ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest)
Returns a paginated list of
TypedLink facet names for a particular schema. |
default ListTypedLinkFacetNamesPublisher |
listTypedLinkFacetNamesPaginator(Consumer<ListTypedLinkFacetNamesRequest.Builder> listTypedLinkFacetNamesRequest)
Returns a paginated list of
TypedLink facet names for a particular schema. |
default ListTypedLinkFacetNamesPublisher |
listTypedLinkFacetNamesPaginator(ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest)
Returns a paginated list of
TypedLink facet names for a particular schema. |
default CompletableFuture<LookupPolicyResponse> |
lookupPolicy(Consumer<LookupPolicyRequest.Builder> lookupPolicyRequest)
Lists all policies from the root of the Directory to the object specified.
|
default CompletableFuture<LookupPolicyResponse> |
lookupPolicy(LookupPolicyRequest lookupPolicyRequest)
Lists all policies from the root of the Directory to the object specified.
|
default LookupPolicyPublisher |
lookupPolicyPaginator(Consumer<LookupPolicyRequest.Builder> lookupPolicyRequest)
Lists all policies from the root of the Directory to the object specified.
|
default LookupPolicyPublisher |
lookupPolicyPaginator(LookupPolicyRequest lookupPolicyRequest)
Lists all policies from the root of the Directory to the object specified.
|
default CompletableFuture<PublishSchemaResponse> |
publishSchema(Consumer<PublishSchemaRequest.Builder> publishSchemaRequest)
Publishes a development schema with a version.
|
default CompletableFuture<PublishSchemaResponse> |
publishSchema(PublishSchemaRequest publishSchemaRequest)
Publishes a development schema with a version.
|
default CompletableFuture<PutSchemaFromJsonResponse> |
putSchemaFromJson(Consumer<PutSchemaFromJsonRequest.Builder> putSchemaFromJsonRequest)
Allows a schema to be updated using JSON upload.
|
default CompletableFuture<PutSchemaFromJsonResponse> |
putSchemaFromJson(PutSchemaFromJsonRequest putSchemaFromJsonRequest)
Allows a schema to be updated using JSON upload.
|
default CompletableFuture<RemoveFacetFromObjectResponse> |
removeFacetFromObject(Consumer<RemoveFacetFromObjectRequest.Builder> removeFacetFromObjectRequest)
Removes the specified facet from the specified object.
|
default CompletableFuture<RemoveFacetFromObjectResponse> |
removeFacetFromObject(RemoveFacetFromObjectRequest removeFacetFromObjectRequest)
Removes the specified facet from the specified object.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
An API operation for adding tags to a resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
An API operation for adding tags to a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
An API operation for removing tags from a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
An API operation for removing tags from a resource.
|
default CompletableFuture<UpdateFacetResponse> |
updateFacet(Consumer<UpdateFacetRequest.Builder> updateFacetRequest)
Does the following:
|
default CompletableFuture<UpdateFacetResponse> |
updateFacet(UpdateFacetRequest updateFacetRequest)
Does the following:
|
default CompletableFuture<UpdateObjectAttributesResponse> |
updateObjectAttributes(Consumer<UpdateObjectAttributesRequest.Builder> updateObjectAttributesRequest)
Updates a given object's attributes.
|
default CompletableFuture<UpdateObjectAttributesResponse> |
updateObjectAttributes(UpdateObjectAttributesRequest updateObjectAttributesRequest)
Updates a given object's attributes.
|
default CompletableFuture<UpdateSchemaResponse> |
updateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest)
Updates the schema name with a new name.
|
default CompletableFuture<UpdateSchemaResponse> |
updateSchema(UpdateSchemaRequest updateSchemaRequest)
Updates the schema name with a new name.
|
default CompletableFuture<UpdateTypedLinkFacetResponse> |
updateTypedLinkFacet(Consumer<UpdateTypedLinkFacetRequest.Builder> updateTypedLinkFacetRequest)
Updates a TypedLinkFacet.
|
default CompletableFuture<UpdateTypedLinkFacetResponse> |
updateTypedLinkFacet(UpdateTypedLinkFacetRequest updateTypedLinkFacetRequest)
Updates a TypedLinkFacet.
|
serviceName
close
static final String SERVICE_NAME
static CloudDirectoryAsyncClient create()
CloudDirectoryAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static CloudDirectoryAsyncClientBuilder builder()
CloudDirectoryAsyncClient
.default CompletableFuture<AddFacetToObjectResponse> addFacetToObject(AddFacetToObjectRequest addFacetToObjectRequest)
Adds a new Facet to an object.
addFacetToObjectRequest
- default CompletableFuture<AddFacetToObjectResponse> addFacetToObject(Consumer<AddFacetToObjectRequest.Builder> addFacetToObjectRequest)
Adds a new Facet to an object.
This is a convenience which creates an instance of the AddFacetToObjectRequest.Builder
avoiding the need
to create one manually via AddFacetToObjectRequest.builder()
addFacetToObjectRequest
- A Consumer
that will call methods on AddFacetToObjectRequest.Builder
to create a request.default CompletableFuture<ApplySchemaResponse> applySchema(ApplySchemaRequest applySchemaRequest)
Copies the input published schema into the Directory with the same name and version as that of the published schema .
applySchemaRequest
- default CompletableFuture<ApplySchemaResponse> applySchema(Consumer<ApplySchemaRequest.Builder> applySchemaRequest)
Copies the input published schema 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 ApplySchemaRequest.Builder
avoiding the need to
create one manually via ApplySchemaRequest.builder()
applySchemaRequest
- A Consumer
that will call methods on ApplySchemaRequest.Builder
to create a request.default CompletableFuture<AttachObjectResponse> attachObject(AttachObjectRequest attachObjectRequest)
Attaches an existing object to another object. An object can be accessed in two ways:
Using the path
Using ObjectIdentifier
attachObjectRequest
- default CompletableFuture<AttachObjectResponse> attachObject(Consumer<AttachObjectRequest.Builder> attachObjectRequest)
Attaches an existing object to another object. An object can be accessed in two ways:
Using the path
Using ObjectIdentifier
This is a convenience which creates an instance of the AttachObjectRequest.Builder
avoiding the need to
create one manually via AttachObjectRequest.builder()
attachObjectRequest
- A Consumer
that will call methods on AttachObjectRequest.Builder
to create a request.default CompletableFuture<AttachPolicyResponse> attachPolicy(AttachPolicyRequest attachPolicyRequest)
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
attachPolicyRequest
- default CompletableFuture<AttachPolicyResponse> attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest)
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 AttachPolicyRequest.Builder
avoiding the need to
create one manually via AttachPolicyRequest.builder()
attachPolicyRequest
- A Consumer
that will call methods on AttachPolicyRequest.Builder
to create a request.default CompletableFuture<AttachToIndexResponse> attachToIndex(AttachToIndexRequest attachToIndexRequest)
Attaches the specified object to the specified index.
attachToIndexRequest
- default CompletableFuture<AttachToIndexResponse> attachToIndex(Consumer<AttachToIndexRequest.Builder> attachToIndexRequest)
Attaches the specified object to the specified index.
This is a convenience which creates an instance of the AttachToIndexRequest.Builder
avoiding the need to
create one manually via AttachToIndexRequest.builder()
attachToIndexRequest
- A Consumer
that will call methods on AttachToIndexRequest.Builder
to create a request.default CompletableFuture<AttachTypedLinkResponse> attachTypedLink(AttachTypedLinkRequest attachTypedLinkRequest)
Attaches a typed link to a specified source and target object. For more information, see Typed link.
attachTypedLinkRequest
- default CompletableFuture<AttachTypedLinkResponse> attachTypedLink(Consumer<AttachTypedLinkRequest.Builder> attachTypedLinkRequest)
Attaches a typed link to a specified source and target object. For more information, see Typed link.
This is a convenience which creates an instance of the AttachTypedLinkRequest.Builder
avoiding the need
to create one manually via AttachTypedLinkRequest.builder()
attachTypedLinkRequest
- A Consumer
that will call methods on AttachTypedLinkRequest.Builder
to create a request.default CompletableFuture<BatchReadResponse> batchRead(BatchReadRequest batchReadRequest)
Performs all the read operations in a batch.
batchReadRequest
- default CompletableFuture<BatchReadResponse> batchRead(Consumer<BatchReadRequest.Builder> batchReadRequest)
Performs all the read operations in a batch.
This is a convenience which creates an instance of the BatchReadRequest.Builder
avoiding the need to
create one manually via BatchReadRequest.builder()
batchReadRequest
- A Consumer
that will call methods on BatchReadRequest.Builder
to create a request.default CompletableFuture<BatchWriteResponse> batchWrite(BatchWriteRequest batchWriteRequest)
Performs all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations.
batchWriteRequest
- BatchWrite
exception has occurred.default CompletableFuture<BatchWriteResponse> batchWrite(Consumer<BatchWriteRequest.Builder> batchWriteRequest)
Performs all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations.
This is a convenience which creates an instance of the BatchWriteRequest.Builder
avoiding the need to
create one manually via BatchWriteRequest.builder()
batchWriteRequest
- A Consumer
that will call methods on BatchWriteRequest.Builder
to create a request.BatchWrite
exception has occurred.default CompletableFuture<CreateDirectoryResponse> createDirectory(CreateDirectoryRequest createDirectoryRequest)
Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.
createDirectoryRequest
- default CompletableFuture<CreateDirectoryResponse> createDirectory(Consumer<CreateDirectoryRequest.Builder> createDirectoryRequest)
Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.
This is a convenience which creates an instance of the CreateDirectoryRequest.Builder
avoiding the need
to create one manually via CreateDirectoryRequest.builder()
createDirectoryRequest
- A Consumer
that will call methods on CreateDirectoryRequest.Builder
to create a request.default CompletableFuture<CreateFacetResponse> createFacet(CreateFacetRequest createFacetRequest)
Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.
createFacetRequest
- default CompletableFuture<CreateFacetResponse> createFacet(Consumer<CreateFacetRequest.Builder> createFacetRequest)
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 CreateFacetRequest.Builder
avoiding the need to
create one manually via CreateFacetRequest.builder()
createFacetRequest
- A Consumer
that will call methods on CreateFacetRequest.Builder
to create a request.default CompletableFuture<CreateIndexResponse> createIndex(CreateIndexRequest createIndexRequest)
Creates an index object. See Indexing for more information.
createIndexRequest
- default CompletableFuture<CreateIndexResponse> createIndex(Consumer<CreateIndexRequest.Builder> createIndexRequest)
Creates an index object. See Indexing for more information.
This is a convenience which creates an instance of the CreateIndexRequest.Builder
avoiding the need to
create one manually via CreateIndexRequest.builder()
createIndexRequest
- A Consumer
that will call methods on CreateIndexRequest.Builder
to create a request.default CompletableFuture<CreateObjectResponse> createObject(CreateObjectRequest createObjectRequest)
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.
createObjectRequest
- default CompletableFuture<CreateObjectResponse> createObject(Consumer<CreateObjectRequest.Builder> createObjectRequest)
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 CreateObjectRequest.Builder
avoiding the need to
create one manually via CreateObjectRequest.builder()
createObjectRequest
- A Consumer
that will call methods on CreateObjectRequest.Builder
to create a request.default CompletableFuture<CreateSchemaResponse> createSchema(CreateSchemaRequest createSchemaRequest)
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.
createSchemaRequest
- default CompletableFuture<CreateSchemaResponse> createSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest)
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 CreateSchemaRequest.Builder
avoiding the need to
create one manually via CreateSchemaRequest.builder()
createSchemaRequest
- A Consumer
that will call methods on CreateSchemaRequest.Builder
to create a request.default CompletableFuture<CreateTypedLinkFacetResponse> createTypedLinkFacet(CreateTypedLinkFacetRequest createTypedLinkFacetRequest)
Creates a TypedLinkFacet. For more information, see Typed link.
createTypedLinkFacetRequest
- default CompletableFuture<CreateTypedLinkFacetResponse> createTypedLinkFacet(Consumer<CreateTypedLinkFacetRequest.Builder> createTypedLinkFacetRequest)
Creates a TypedLinkFacet. For more information, see Typed link.
This is a convenience which creates an instance of the CreateTypedLinkFacetRequest.Builder
avoiding the
need to create one manually via CreateTypedLinkFacetRequest.builder()
createTypedLinkFacetRequest
- A Consumer
that will call methods on CreateTypedLinkFacetRequest.Builder
to create a
request.default CompletableFuture<DeleteDirectoryResponse> deleteDirectory(DeleteDirectoryRequest deleteDirectoryRequest)
Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.
deleteDirectoryRequest
- default CompletableFuture<DeleteDirectoryResponse> deleteDirectory(Consumer<DeleteDirectoryRequest.Builder> deleteDirectoryRequest)
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 DeleteDirectoryRequest.Builder
avoiding the need
to create one manually via DeleteDirectoryRequest.builder()
deleteDirectoryRequest
- A Consumer
that will call methods on DeleteDirectoryRequest.Builder
to create a request.default CompletableFuture<DeleteFacetResponse> deleteFacet(DeleteFacetRequest deleteFacetRequest)
Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion.
deleteFacetRequest
- default CompletableFuture<DeleteFacetResponse> deleteFacet(Consumer<DeleteFacetRequest.Builder> deleteFacetRequest)
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 DeleteFacetRequest.Builder
avoiding the need to
create one manually via DeleteFacetRequest.builder()
deleteFacetRequest
- A Consumer
that will call methods on DeleteFacetRequest.Builder
to create a request.default CompletableFuture<DeleteObjectResponse> deleteObject(DeleteObjectRequest deleteObjectRequest)
Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted.
deleteObjectRequest
- default CompletableFuture<DeleteObjectResponse> deleteObject(Consumer<DeleteObjectRequest.Builder> deleteObjectRequest)
Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted.
This is a convenience which creates an instance of the DeleteObjectRequest.Builder
avoiding the need to
create one manually via DeleteObjectRequest.builder()
deleteObjectRequest
- A Consumer
that will call methods on DeleteObjectRequest.Builder
to create a request.default CompletableFuture<DeleteSchemaResponse> deleteSchema(DeleteSchemaRequest deleteSchemaRequest)
Deletes a given schema. Schemas in a development and published state can only be deleted.
deleteSchemaRequest
- default CompletableFuture<DeleteSchemaResponse> deleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest)
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 DeleteSchemaRequest.Builder
avoiding the need to
create one manually via DeleteSchemaRequest.builder()
deleteSchemaRequest
- A Consumer
that will call methods on DeleteSchemaRequest.Builder
to create a request.default CompletableFuture<DeleteTypedLinkFacetResponse> deleteTypedLinkFacet(DeleteTypedLinkFacetRequest deleteTypedLinkFacetRequest)
Deletes a TypedLinkFacet. For more information, see Typed link.
deleteTypedLinkFacetRequest
- default CompletableFuture<DeleteTypedLinkFacetResponse> deleteTypedLinkFacet(Consumer<DeleteTypedLinkFacetRequest.Builder> deleteTypedLinkFacetRequest)
Deletes a TypedLinkFacet. For more information, see Typed link.
This is a convenience which creates an instance of the DeleteTypedLinkFacetRequest.Builder
avoiding the
need to create one manually via DeleteTypedLinkFacetRequest.builder()
deleteTypedLinkFacetRequest
- A Consumer
that will call methods on DeleteTypedLinkFacetRequest.Builder
to create a
request.default CompletableFuture<DetachFromIndexResponse> detachFromIndex(DetachFromIndexRequest detachFromIndexRequest)
Detaches the specified object from the specified index.
detachFromIndexRequest
- default CompletableFuture<DetachFromIndexResponse> detachFromIndex(Consumer<DetachFromIndexRequest.Builder> detachFromIndexRequest)
Detaches the specified object from the specified index.
This is a convenience which creates an instance of the DetachFromIndexRequest.Builder
avoiding the need
to create one manually via DetachFromIndexRequest.builder()
detachFromIndexRequest
- A Consumer
that will call methods on DetachFromIndexRequest.Builder
to create a request.default CompletableFuture<DetachObjectResponse> detachObject(DetachObjectRequest detachObjectRequest)
Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.
detachObjectRequest
- default CompletableFuture<DetachObjectResponse> detachObject(Consumer<DetachObjectRequest.Builder> detachObjectRequest)
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 DetachObjectRequest.Builder
avoiding the need to
create one manually via DetachObjectRequest.builder()
detachObjectRequest
- A Consumer
that will call methods on DetachObjectRequest.Builder
to create a request.default CompletableFuture<DetachPolicyResponse> detachPolicy(DetachPolicyRequest detachPolicyRequest)
Detaches a policy from an object.
detachPolicyRequest
- default CompletableFuture<DetachPolicyResponse> detachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest)
Detaches a policy from an object.
This is a convenience which creates an instance of the DetachPolicyRequest.Builder
avoiding the need to
create one manually via DetachPolicyRequest.builder()
detachPolicyRequest
- A Consumer
that will call methods on DetachPolicyRequest.Builder
to create a request.default CompletableFuture<DetachTypedLinkResponse> detachTypedLink(DetachTypedLinkRequest detachTypedLinkRequest)
Detaches a typed link from a specified source and target object. For more information, see Typed link.
detachTypedLinkRequest
- default CompletableFuture<DetachTypedLinkResponse> detachTypedLink(Consumer<DetachTypedLinkRequest.Builder> detachTypedLinkRequest)
Detaches a typed link from a specified source and target object. For more information, see Typed link.
This is a convenience which creates an instance of the DetachTypedLinkRequest.Builder
avoiding the need
to create one manually via DetachTypedLinkRequest.builder()
detachTypedLinkRequest
- A Consumer
that will call methods on DetachTypedLinkRequest.Builder
to create a request.default CompletableFuture<DisableDirectoryResponse> disableDirectory(DisableDirectoryRequest disableDirectoryRequest)
Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.
disableDirectoryRequest
- default CompletableFuture<DisableDirectoryResponse> disableDirectory(Consumer<DisableDirectoryRequest.Builder> disableDirectoryRequest)
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 DisableDirectoryRequest.Builder
avoiding the need
to create one manually via DisableDirectoryRequest.builder()
disableDirectoryRequest
- A Consumer
that will call methods on DisableDirectoryRequest.Builder
to create a request.default CompletableFuture<EnableDirectoryResponse> enableDirectory(EnableDirectoryRequest enableDirectoryRequest)
Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.
enableDirectoryRequest
- default CompletableFuture<EnableDirectoryResponse> enableDirectory(Consumer<EnableDirectoryRequest.Builder> enableDirectoryRequest)
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 EnableDirectoryRequest.Builder
avoiding the need
to create one manually via EnableDirectoryRequest.builder()
enableDirectoryRequest
- A Consumer
that will call methods on EnableDirectoryRequest.Builder
to create a request.default CompletableFuture<GetDirectoryResponse> getDirectory(GetDirectoryRequest getDirectoryRequest)
Retrieves metadata about a directory.
getDirectoryRequest
- default CompletableFuture<GetDirectoryResponse> getDirectory(Consumer<GetDirectoryRequest.Builder> getDirectoryRequest)
Retrieves metadata about a directory.
This is a convenience which creates an instance of the GetDirectoryRequest.Builder
avoiding the need to
create one manually via GetDirectoryRequest.builder()
getDirectoryRequest
- A Consumer
that will call methods on GetDirectoryRequest.Builder
to create a request.default CompletableFuture<GetFacetResponse> getFacet(GetFacetRequest getFacetRequest)
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.
getFacetRequest
- default CompletableFuture<GetFacetResponse> getFacet(Consumer<GetFacetRequest.Builder> getFacetRequest)
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 GetFacetRequest.Builder
avoiding the need to
create one manually via GetFacetRequest.builder()
getFacetRequest
- A Consumer
that will call methods on GetFacetRequest.Builder
to create a request.default CompletableFuture<GetObjectInformationResponse> getObjectInformation(GetObjectInformationRequest getObjectInformationRequest)
Retrieves metadata about an object.
getObjectInformationRequest
- default CompletableFuture<GetObjectInformationResponse> getObjectInformation(Consumer<GetObjectInformationRequest.Builder> getObjectInformationRequest)
Retrieves metadata about an object.
This is a convenience which creates an instance of the GetObjectInformationRequest.Builder
avoiding the
need to create one manually via GetObjectInformationRequest.builder()
getObjectInformationRequest
- A Consumer
that will call methods on GetObjectInformationRequest.Builder
to create a
request.default CompletableFuture<GetSchemaAsJsonResponse> getSchemaAsJson(GetSchemaAsJsonRequest getSchemaAsJsonRequest)
Retrieves a JSON representation of the schema. See JSON Schema Format for more information.
getSchemaAsJsonRequest
- default CompletableFuture<GetSchemaAsJsonResponse> getSchemaAsJson(Consumer<GetSchemaAsJsonRequest.Builder> getSchemaAsJsonRequest)
Retrieves a JSON representation of the schema. See JSON Schema Format for more information.
This is a convenience which creates an instance of the GetSchemaAsJsonRequest.Builder
avoiding the need
to create one manually via GetSchemaAsJsonRequest.builder()
getSchemaAsJsonRequest
- A Consumer
that will call methods on GetSchemaAsJsonRequest.Builder
to create a request.default CompletableFuture<GetTypedLinkFacetInformationResponse> getTypedLinkFacetInformation(GetTypedLinkFacetInformationRequest getTypedLinkFacetInformationRequest)
Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed link.
getTypedLinkFacetInformationRequest
- NextToken
value is not valid.default CompletableFuture<GetTypedLinkFacetInformationResponse> getTypedLinkFacetInformation(Consumer<GetTypedLinkFacetInformationRequest.Builder> getTypedLinkFacetInformationRequest)
Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed link.
This is a convenience which creates an instance of the GetTypedLinkFacetInformationRequest.Builder
avoiding the need to create one manually via GetTypedLinkFacetInformationRequest.builder()
getTypedLinkFacetInformationRequest
- A Consumer
that will call methods on GetTypedLinkFacetInformationRequest.Builder
to create
a request.NextToken
value is not valid.default CompletableFuture<ListAppliedSchemaArnsResponse> listAppliedSchemaArns(ListAppliedSchemaArnsRequest listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
listAppliedSchemaArnsRequest
- NextToken
value is not valid.default CompletableFuture<ListAppliedSchemaArnsResponse> listAppliedSchemaArns(Consumer<ListAppliedSchemaArnsRequest.Builder> listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
This is a convenience which creates an instance of the ListAppliedSchemaArnsRequest.Builder
avoiding the
need to create one manually via ListAppliedSchemaArnsRequest.builder()
listAppliedSchemaArnsRequest
- A Consumer
that will call methods on ListAppliedSchemaArnsRequest.Builder
to create a
request.NextToken
value is not valid.default ListAppliedSchemaArnsPublisher listAppliedSchemaArnsPaginator(ListAppliedSchemaArnsRequest listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listAppliedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest)
operation.
listAppliedSchemaArnsRequest
- NextToken
value is not valid.default ListAppliedSchemaArnsPublisher listAppliedSchemaArnsPaginator(Consumer<ListAppliedSchemaArnsRequest.Builder> listAppliedSchemaArnsRequest)
Lists schemas applied to a directory.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListAppliedSchemaArnsPublisher publisher = client.listAppliedSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listAppliedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListAppliedSchemaArnsRequest)
operation.
This is a convenience which creates an instance of the ListAppliedSchemaArnsRequest.Builder
avoiding the
need to create one manually via ListAppliedSchemaArnsRequest.builder()
listAppliedSchemaArnsRequest
- A Consumer
that will call methods on ListAppliedSchemaArnsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListAttachedIndicesResponse> listAttachedIndices(ListAttachedIndicesRequest listAttachedIndicesRequest)
Lists indices attached to an object.
listAttachedIndicesRequest
- default CompletableFuture<ListAttachedIndicesResponse> listAttachedIndices(Consumer<ListAttachedIndicesRequest.Builder> listAttachedIndicesRequest)
Lists indices attached to an object.
This is a convenience which creates an instance of the ListAttachedIndicesRequest.Builder
avoiding the
need to create one manually via ListAttachedIndicesRequest.builder()
listAttachedIndicesRequest
- A Consumer
that will call methods on ListAttachedIndicesRequest.Builder
to create a
request.default ListAttachedIndicesPublisher listAttachedIndicesPaginator(ListAttachedIndicesRequest listAttachedIndicesRequest)
Lists indices attached to an object.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listAttachedIndices(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest)
operation.
listAttachedIndicesRequest
- default ListAttachedIndicesPublisher listAttachedIndicesPaginator(Consumer<ListAttachedIndicesRequest.Builder> listAttachedIndicesRequest)
Lists indices attached to an object.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListAttachedIndicesPublisher publisher = client.listAttachedIndicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listAttachedIndices(software.amazon.awssdk.services.clouddirectory.model.ListAttachedIndicesRequest)
operation.
This is a convenience which creates an instance of the ListAttachedIndicesRequest.Builder
avoiding the
need to create one manually via ListAttachedIndicesRequest.builder()
listAttachedIndicesRequest
- A Consumer
that will call methods on ListAttachedIndicesRequest.Builder
to create a
request.default CompletableFuture<ListDevelopmentSchemaArnsResponse> listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
listDevelopmentSchemaArnsRequest
- NextToken
value is not valid.default CompletableFuture<ListDevelopmentSchemaArnsResponse> listDevelopmentSchemaArns(Consumer<ListDevelopmentSchemaArnsRequest.Builder> listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
This is a convenience which creates an instance of the ListDevelopmentSchemaArnsRequest.Builder
avoiding
the need to create one manually via ListDevelopmentSchemaArnsRequest.builder()
listDevelopmentSchemaArnsRequest
- A Consumer
that will call methods on ListDevelopmentSchemaArnsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListDevelopmentSchemaArnsResponse> listDevelopmentSchemaArns()
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
NextToken
value is not valid.default ListDevelopmentSchemaArnsPublisher listDevelopmentSchemaArnsPaginator()
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)
operation.
NextToken
value is not valid.default ListDevelopmentSchemaArnsPublisher listDevelopmentSchemaArnsPaginator(ListDevelopmentSchemaArnsRequest listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)
operation.
listDevelopmentSchemaArnsRequest
- NextToken
value is not valid.default ListDevelopmentSchemaArnsPublisher listDevelopmentSchemaArnsPaginator(Consumer<ListDevelopmentSchemaArnsRequest.Builder> listDevelopmentSchemaArnsRequest)
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListDevelopmentSchemaArnsPublisher publisher = client.listDevelopmentSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listDevelopmentSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListDevelopmentSchemaArnsRequest)
operation.
This is a convenience which creates an instance of the ListDevelopmentSchemaArnsRequest.Builder
avoiding
the need to create one manually via ListDevelopmentSchemaArnsRequest.builder()
listDevelopmentSchemaArnsRequest
- A Consumer
that will call methods on ListDevelopmentSchemaArnsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListDirectoriesResponse> listDirectories(ListDirectoriesRequest listDirectoriesRequest)
Lists directories created within an account.
listDirectoriesRequest
- NextToken
value is not valid.default CompletableFuture<ListDirectoriesResponse> listDirectories(Consumer<ListDirectoriesRequest.Builder> listDirectoriesRequest)
Lists directories created within an account.
This is a convenience which creates an instance of the ListDirectoriesRequest.Builder
avoiding the need
to create one manually via ListDirectoriesRequest.builder()
listDirectoriesRequest
- A Consumer
that will call methods on ListDirectoriesRequest.Builder
to create a request.NextToken
value is not valid.default CompletableFuture<ListDirectoriesResponse> listDirectories()
Lists directories created within an account.
NextToken
value is not valid.default ListDirectoriesPublisher listDirectoriesPaginator()
Lists directories created within an account.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)
operation.
NextToken
value is not valid.default ListDirectoriesPublisher listDirectoriesPaginator(ListDirectoriesRequest listDirectoriesRequest)
Lists directories created within an account.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)
operation.
listDirectoriesRequest
- NextToken
value is not valid.default ListDirectoriesPublisher listDirectoriesPaginator(Consumer<ListDirectoriesRequest.Builder> listDirectoriesRequest)
Lists directories created within an account.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListDirectoriesPublisher publisher = client.listDirectoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listDirectories(software.amazon.awssdk.services.clouddirectory.model.ListDirectoriesRequest)
operation.
This is a convenience which creates an instance of the ListDirectoriesRequest.Builder
avoiding the need
to create one manually via ListDirectoriesRequest.builder()
listDirectoriesRequest
- A Consumer
that will call methods on ListDirectoriesRequest.Builder
to create a request.NextToken
value is not valid.default CompletableFuture<ListFacetAttributesResponse> listFacetAttributes(ListFacetAttributesRequest listFacetAttributesRequest)
Retrieves attributes attached to the facet.
listFacetAttributesRequest
- NextToken
value is not valid.default CompletableFuture<ListFacetAttributesResponse> listFacetAttributes(Consumer<ListFacetAttributesRequest.Builder> listFacetAttributesRequest)
Retrieves attributes attached to the facet.
This is a convenience which creates an instance of the ListFacetAttributesRequest.Builder
avoiding the
need to create one manually via ListFacetAttributesRequest.builder()
listFacetAttributesRequest
- A Consumer
that will call methods on ListFacetAttributesRequest.Builder
to create a
request.NextToken
value is not valid.default ListFacetAttributesPublisher listFacetAttributesPaginator(ListFacetAttributesRequest listFacetAttributesRequest)
Retrieves attributes attached to the facet.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest)
operation.
listFacetAttributesRequest
- NextToken
value is not valid.default ListFacetAttributesPublisher listFacetAttributesPaginator(Consumer<ListFacetAttributesRequest.Builder> listFacetAttributesRequest)
Retrieves attributes attached to the facet.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetAttributesPublisher publisher = client.listFacetAttributesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListFacetAttributesRequest)
operation.
This is a convenience which creates an instance of the ListFacetAttributesRequest.Builder
avoiding the
need to create one manually via ListFacetAttributesRequest.builder()
listFacetAttributesRequest
- A Consumer
that will call methods on ListFacetAttributesRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListFacetNamesResponse> listFacetNames(ListFacetNamesRequest listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
listFacetNamesRequest
- NextToken
value is not valid.default CompletableFuture<ListFacetNamesResponse> listFacetNames(Consumer<ListFacetNamesRequest.Builder> listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
This is a convenience which creates an instance of the ListFacetNamesRequest.Builder
avoiding the need to
create one manually via ListFacetNamesRequest.builder()
listFacetNamesRequest
- A Consumer
that will call methods on ListFacetNamesRequest.Builder
to create a request.NextToken
value is not valid.default ListFacetNamesPublisher listFacetNamesPaginator(ListFacetNamesRequest listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest)
operation.
listFacetNamesRequest
- NextToken
value is not valid.default ListFacetNamesPublisher listFacetNamesPaginator(Consumer<ListFacetNamesRequest.Builder> listFacetNamesRequest)
Retrieves the names of facets that exist in a schema.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListFacetNamesPublisher publisher = client.listFacetNamesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListFacetNamesRequest)
operation.
This is a convenience which creates an instance of the ListFacetNamesRequest.Builder
avoiding the need to
create one manually via ListFacetNamesRequest.builder()
listFacetNamesRequest
- A Consumer
that will call methods on ListFacetNamesRequest.Builder
to create a request.NextToken
value is not valid.default CompletableFuture<ListIncomingTypedLinksResponse> listIncomingTypedLinks(ListIncomingTypedLinksRequest listIncomingTypedLinksRequest)
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 link.
listIncomingTypedLinksRequest
- NextToken
value is not valid.default CompletableFuture<ListIncomingTypedLinksResponse> listIncomingTypedLinks(Consumer<ListIncomingTypedLinksRequest.Builder> listIncomingTypedLinksRequest)
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 link.
This is a convenience which creates an instance of the ListIncomingTypedLinksRequest.Builder
avoiding the
need to create one manually via ListIncomingTypedLinksRequest.builder()
listIncomingTypedLinksRequest
- A Consumer
that will call methods on ListIncomingTypedLinksRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListIndexResponse> listIndex(ListIndexRequest listIndexRequest)
Lists objects attached to the specified index.
listIndexRequest
- default CompletableFuture<ListIndexResponse> listIndex(Consumer<ListIndexRequest.Builder> listIndexRequest)
Lists objects attached to the specified index.
This is a convenience which creates an instance of the ListIndexRequest.Builder
avoiding the need to
create one manually via ListIndexRequest.builder()
listIndexRequest
- A Consumer
that will call methods on ListIndexRequest.Builder
to create a request.default ListIndexPublisher listIndexPaginator(ListIndexRequest listIndexRequest)
Lists objects attached to the specified index.
This is a variant of 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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListIndexResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listIndex(software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest)
operation.
listIndexRequest
- default ListIndexPublisher listIndexPaginator(Consumer<ListIndexRequest.Builder> listIndexRequest)
Lists objects attached to the specified index.
This is a variant of 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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListIndexPublisher publisher = client.listIndexPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListIndexResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listIndex(software.amazon.awssdk.services.clouddirectory.model.ListIndexRequest)
operation.
This is a convenience which creates an instance of the ListIndexRequest.Builder
avoiding the need to
create one manually via ListIndexRequest.builder()
listIndexRequest
- A Consumer
that will call methods on ListIndexRequest.Builder
to create a request.default CompletableFuture<ListObjectAttributesResponse> listObjectAttributes(ListObjectAttributesRequest listObjectAttributesRequest)
Lists all attributes that are associated with an object.
listObjectAttributesRequest
- NextToken
value is not valid.default CompletableFuture<ListObjectAttributesResponse> listObjectAttributes(Consumer<ListObjectAttributesRequest.Builder> listObjectAttributesRequest)
Lists all attributes that are associated with an object.
This is a convenience which creates an instance of the ListObjectAttributesRequest.Builder
avoiding the
need to create one manually via ListObjectAttributesRequest.builder()
listObjectAttributesRequest
- A Consumer
that will call methods on ListObjectAttributesRequest.Builder
to create a
request.NextToken
value is not valid.default ListObjectAttributesPublisher listObjectAttributesPaginator(ListObjectAttributesRequest listObjectAttributesRequest)
Lists all attributes that are associated with an object.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectAttributes(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest)
operation.
listObjectAttributesRequest
- NextToken
value is not valid.default ListObjectAttributesPublisher listObjectAttributesPaginator(Consumer<ListObjectAttributesRequest.Builder> listObjectAttributesRequest)
Lists all attributes that are associated with an object.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectAttributesPublisher publisher = client.listObjectAttributesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectAttributes(software.amazon.awssdk.services.clouddirectory.model.ListObjectAttributesRequest)
operation.
This is a convenience which creates an instance of the ListObjectAttributesRequest.Builder
avoiding the
need to create one manually via ListObjectAttributesRequest.builder()
listObjectAttributesRequest
- A Consumer
that will call methods on ListObjectAttributesRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListObjectChildrenResponse> listObjectChildren(ListObjectChildrenRequest listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
listObjectChildrenRequest
- NextToken
value is not valid.ListObjectChildren
for a leaf node object.default CompletableFuture<ListObjectChildrenResponse> listObjectChildren(Consumer<ListObjectChildrenRequest.Builder> listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
This is a convenience which creates an instance of the ListObjectChildrenRequest.Builder
avoiding the
need to create one manually via ListObjectChildrenRequest.builder()
listObjectChildrenRequest
- A Consumer
that will call methods on ListObjectChildrenRequest.Builder
to create a
request.NextToken
value is not valid.ListObjectChildren
for a leaf node object.default ListObjectChildrenPublisher listObjectChildrenPaginator(ListObjectChildrenRequest listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectChildren(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest)
operation.
listObjectChildrenRequest
- NextToken
value is not valid.ListObjectChildren
for a leaf node object.default ListObjectChildrenPublisher listObjectChildrenPaginator(Consumer<ListObjectChildrenRequest.Builder> listObjectChildrenRequest)
Returns a paginated list of child objects that are associated with a given object.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectChildrenPublisher publisher = client.listObjectChildrenPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectChildren(software.amazon.awssdk.services.clouddirectory.model.ListObjectChildrenRequest)
operation.
This is a convenience which creates an instance of the ListObjectChildrenRequest.Builder
avoiding the
need to create one manually via ListObjectChildrenRequest.builder()
listObjectChildrenRequest
- A Consumer
that will call methods on ListObjectChildrenRequest.Builder
to create a
request.NextToken
value is not valid.ListObjectChildren
for a leaf node object.default CompletableFuture<ListObjectParentPathsResponse> listObjectParentPaths(ListObjectParentPathsRequest listObjectParentPathsRequest)
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.
listObjectParentPathsRequest
- NextToken
value is not valid.default CompletableFuture<ListObjectParentPathsResponse> listObjectParentPaths(Consumer<ListObjectParentPathsRequest.Builder> listObjectParentPathsRequest)
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 ListObjectParentPathsRequest.Builder
avoiding the
need to create one manually via ListObjectParentPathsRequest.builder()
listObjectParentPathsRequest
- A Consumer
that will call methods on ListObjectParentPathsRequest.Builder
to create a
request.NextToken
value is not valid.default ListObjectParentPathsPublisher listObjectParentPathsPaginator(ListObjectParentPathsRequest listObjectParentPathsRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectParentPaths(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest)
operation.
listObjectParentPathsRequest
- NextToken
value is not valid.default ListObjectParentPathsPublisher listObjectParentPathsPaginator(Consumer<ListObjectParentPathsRequest.Builder> listObjectParentPathsRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentPathsPublisher publisher = client.listObjectParentPathsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectParentPaths(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentPathsRequest)
operation.
This is a convenience which creates an instance of the ListObjectParentPathsRequest.Builder
avoiding the
need to create one manually via ListObjectParentPathsRequest.builder()
listObjectParentPathsRequest
- A Consumer
that will call methods on ListObjectParentPathsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListObjectParentsResponse> listObjectParents(ListObjectParentsRequest listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
listObjectParentsRequest
- NextToken
value is not valid.default CompletableFuture<ListObjectParentsResponse> listObjectParents(Consumer<ListObjectParentsRequest.Builder> listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
This is a convenience which creates an instance of the ListObjectParentsRequest.Builder
avoiding the need
to create one manually via ListObjectParentsRequest.builder()
listObjectParentsRequest
- A Consumer
that will call methods on ListObjectParentsRequest.Builder
to create a request.NextToken
value is not valid.default ListObjectParentsPublisher listObjectParentsPaginator(ListObjectParentsRequest listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectParents(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest)
operation.
listObjectParentsRequest
- NextToken
value is not valid.default ListObjectParentsPublisher listObjectParentsPaginator(Consumer<ListObjectParentsRequest.Builder> listObjectParentsRequest)
Lists parent objects that are associated with a given object in pagination fashion.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectParentsPublisher publisher = client.listObjectParentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectParents(software.amazon.awssdk.services.clouddirectory.model.ListObjectParentsRequest)
operation.
This is a convenience which creates an instance of the ListObjectParentsRequest.Builder
avoiding the need
to create one manually via ListObjectParentsRequest.builder()
listObjectParentsRequest
- A Consumer
that will call methods on ListObjectParentsRequest.Builder
to create a request.NextToken
value is not valid.default CompletableFuture<ListObjectPoliciesResponse> listObjectPolicies(ListObjectPoliciesRequest listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
listObjectPoliciesRequest
- NextToken
value is not valid.default CompletableFuture<ListObjectPoliciesResponse> listObjectPolicies(Consumer<ListObjectPoliciesRequest.Builder> listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
This is a convenience which creates an instance of the ListObjectPoliciesRequest.Builder
avoiding the
need to create one manually via ListObjectPoliciesRequest.builder()
listObjectPoliciesRequest
- A Consumer
that will call methods on ListObjectPoliciesRequest.Builder
to create a
request.NextToken
value is not valid.default ListObjectPoliciesPublisher listObjectPoliciesPaginator(ListObjectPoliciesRequest listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectPolicies(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest)
operation.
listObjectPoliciesRequest
- NextToken
value is not valid.default ListObjectPoliciesPublisher listObjectPoliciesPaginator(Consumer<ListObjectPoliciesRequest.Builder> listObjectPoliciesRequest)
Returns policies attached to an object in pagination fashion.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListObjectPoliciesPublisher publisher = client.listObjectPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listObjectPolicies(software.amazon.awssdk.services.clouddirectory.model.ListObjectPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListObjectPoliciesRequest.Builder
avoiding the
need to create one manually via ListObjectPoliciesRequest.builder()
listObjectPoliciesRequest
- A Consumer
that will call methods on ListObjectPoliciesRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListOutgoingTypedLinksResponse> listOutgoingTypedLinks(ListOutgoingTypedLinksRequest listOutgoingTypedLinksRequest)
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 link.
listOutgoingTypedLinksRequest
- NextToken
value is not valid.default CompletableFuture<ListOutgoingTypedLinksResponse> listOutgoingTypedLinks(Consumer<ListOutgoingTypedLinksRequest.Builder> listOutgoingTypedLinksRequest)
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 link.
This is a convenience which creates an instance of the ListOutgoingTypedLinksRequest.Builder
avoiding the
need to create one manually via ListOutgoingTypedLinksRequest.builder()
listOutgoingTypedLinksRequest
- A Consumer
that will call methods on ListOutgoingTypedLinksRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListPolicyAttachmentsResponse> listPolicyAttachments(ListPolicyAttachmentsRequest listPolicyAttachmentsRequest)
Returns all of the ObjectIdentifiers
to which a given policy is attached.
listPolicyAttachmentsRequest
- NextToken
value is not valid.default CompletableFuture<ListPolicyAttachmentsResponse> listPolicyAttachments(Consumer<ListPolicyAttachmentsRequest.Builder> listPolicyAttachmentsRequest)
Returns all of the ObjectIdentifiers
to which a given policy is attached.
This is a convenience which creates an instance of the ListPolicyAttachmentsRequest.Builder
avoiding the
need to create one manually via ListPolicyAttachmentsRequest.builder()
listPolicyAttachmentsRequest
- A Consumer
that will call methods on ListPolicyAttachmentsRequest.Builder
to create a
request.NextToken
value is not valid.default ListPolicyAttachmentsPublisher listPolicyAttachmentsPaginator(ListPolicyAttachmentsRequest listPolicyAttachmentsRequest)
Returns all of the ObjectIdentifiers
to which a given policy is attached.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listPolicyAttachments(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest)
operation.
listPolicyAttachmentsRequest
- NextToken
value is not valid.default ListPolicyAttachmentsPublisher listPolicyAttachmentsPaginator(Consumer<ListPolicyAttachmentsRequest.Builder> listPolicyAttachmentsRequest)
Returns all of the ObjectIdentifiers
to which a given policy is attached.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListPolicyAttachmentsPublisher publisher = client.listPolicyAttachmentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listPolicyAttachments(software.amazon.awssdk.services.clouddirectory.model.ListPolicyAttachmentsRequest)
operation.
This is a convenience which creates an instance of the ListPolicyAttachmentsRequest.Builder
avoiding the
need to create one manually via ListPolicyAttachmentsRequest.builder()
listPolicyAttachmentsRequest
- A Consumer
that will call methods on ListPolicyAttachmentsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListPublishedSchemaArnsResponse> listPublishedSchemaArns(ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
listPublishedSchemaArnsRequest
- NextToken
value is not valid.default CompletableFuture<ListPublishedSchemaArnsResponse> listPublishedSchemaArns(Consumer<ListPublishedSchemaArnsRequest.Builder> listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
This is a convenience which creates an instance of the ListPublishedSchemaArnsRequest.Builder
avoiding
the need to create one manually via ListPublishedSchemaArnsRequest.builder()
listPublishedSchemaArnsRequest
- A Consumer
that will call methods on ListPublishedSchemaArnsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListPublishedSchemaArnsResponse> listPublishedSchemaArns()
Retrieves each published schema Amazon Resource Name (ARN).
NextToken
value is not valid.default ListPublishedSchemaArnsPublisher listPublishedSchemaArnsPaginator()
Retrieves each published schema Amazon Resource Name (ARN).
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)
operation.
NextToken
value is not valid.default ListPublishedSchemaArnsPublisher listPublishedSchemaArnsPaginator(ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)
operation.
listPublishedSchemaArnsRequest
- NextToken
value is not valid.default ListPublishedSchemaArnsPublisher listPublishedSchemaArnsPaginator(Consumer<ListPublishedSchemaArnsRequest.Builder> listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListPublishedSchemaArnsPublisher publisher = client.listPublishedSchemaArnsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listPublishedSchemaArns(software.amazon.awssdk.services.clouddirectory.model.ListPublishedSchemaArnsRequest)
operation.
This is a convenience which creates an instance of the ListPublishedSchemaArnsRequest.Builder
avoiding
the need to create one manually via ListPublishedSchemaArnsRequest.builder()
listPublishedSchemaArnsRequest
- A Consumer
that will call methods on ListPublishedSchemaArnsRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
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.
listTagsForResourceRequest
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
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 ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest)
operation.
listTagsForResourceRequest
- default ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.clouddirectory.model.ListTagsForResourceRequest)
operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.default CompletableFuture<ListTypedLinkFacetAttributesResponse> listTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed link.
listTypedLinkFacetAttributesRequest
- NextToken
value is not valid.default CompletableFuture<ListTypedLinkFacetAttributesResponse> listTypedLinkFacetAttributes(Consumer<ListTypedLinkFacetAttributesRequest.Builder> listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed link.
This is a convenience which creates an instance of the ListTypedLinkFacetAttributesRequest.Builder
avoiding the need to create one manually via ListTypedLinkFacetAttributesRequest.builder()
listTypedLinkFacetAttributesRequest
- A Consumer
that will call methods on ListTypedLinkFacetAttributesRequest.Builder
to create
a request.NextToken
value is not valid.default ListTypedLinkFacetAttributesPublisher listTypedLinkFacetAttributesPaginator(ListTypedLinkFacetAttributesRequest listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed link.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listTypedLinkFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest)
operation.
listTypedLinkFacetAttributesRequest
- NextToken
value is not valid.default ListTypedLinkFacetAttributesPublisher listTypedLinkFacetAttributesPaginator(Consumer<ListTypedLinkFacetAttributesRequest.Builder> listTypedLinkFacetAttributesRequest)
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed link.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetAttributesPublisher publisher = client.listTypedLinkFacetAttributesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listTypedLinkFacetAttributes(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetAttributesRequest)
operation.
This is a convenience which creates an instance of the ListTypedLinkFacetAttributesRequest.Builder
avoiding the need to create one manually via ListTypedLinkFacetAttributesRequest.builder()
listTypedLinkFacetAttributesRequest
- A Consumer
that will call methods on ListTypedLinkFacetAttributesRequest.Builder
to create
a request.NextToken
value is not valid.default CompletableFuture<ListTypedLinkFacetNamesResponse> listTypedLinkFacetNames(ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest)
Returns a paginated list of TypedLink
facet names for a particular schema. For more information, see
Typed
link.
listTypedLinkFacetNamesRequest
- NextToken
value is not valid.default CompletableFuture<ListTypedLinkFacetNamesResponse> listTypedLinkFacetNames(Consumer<ListTypedLinkFacetNamesRequest.Builder> listTypedLinkFacetNamesRequest)
Returns a paginated list of TypedLink
facet names for a particular schema. For more information, see
Typed
link.
This is a convenience which creates an instance of the ListTypedLinkFacetNamesRequest.Builder
avoiding
the need to create one manually via ListTypedLinkFacetNamesRequest.builder()
listTypedLinkFacetNamesRequest
- A Consumer
that will call methods on ListTypedLinkFacetNamesRequest.Builder
to create a
request.NextToken
value is not valid.default ListTypedLinkFacetNamesPublisher listTypedLinkFacetNamesPaginator(ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest)
Returns a paginated list of TypedLink
facet names for a particular schema. For more information, see
Typed
link.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listTypedLinkFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest)
operation.
listTypedLinkFacetNamesRequest
- NextToken
value is not valid.default ListTypedLinkFacetNamesPublisher listTypedLinkFacetNamesPaginator(Consumer<ListTypedLinkFacetNamesRequest.Builder> listTypedLinkFacetNamesRequest)
Returns a paginated list of TypedLink
facet names for a particular schema. For more information, see
Typed
link.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.ListTypedLinkFacetNamesPublisher publisher = client.listTypedLinkFacetNamesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesResponse>() {
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.
Note: If you prefer to have control on service calls, use the
listTypedLinkFacetNames(software.amazon.awssdk.services.clouddirectory.model.ListTypedLinkFacetNamesRequest)
operation.
This is a convenience which creates an instance of the ListTypedLinkFacetNamesRequest.Builder
avoiding
the need to create one manually via ListTypedLinkFacetNamesRequest.builder()
listTypedLinkFacetNamesRequest
- A Consumer
that will call methods on ListTypedLinkFacetNamesRequest.Builder
to create a
request.NextToken
value is not valid.default CompletableFuture<LookupPolicyResponse> lookupPolicy(LookupPolicyRequest lookupPolicyRequest)
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.
lookupPolicyRequest
- NextToken
value is not valid.default CompletableFuture<LookupPolicyResponse> lookupPolicy(Consumer<LookupPolicyRequest.Builder> lookupPolicyRequest)
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 LookupPolicyRequest.Builder
avoiding the need to
create one manually via LookupPolicyRequest.builder()
lookupPolicyRequest
- A Consumer
that will call methods on LookupPolicyRequest.Builder
to create a request.NextToken
value is not valid.default LookupPolicyPublisher lookupPolicyPaginator(LookupPolicyRequest lookupPolicyRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.LookupPolicyResponse>() {
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.
Note: If you prefer to have control on service calls, use the
lookupPolicy(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest)
operation.
lookupPolicyRequest
- NextToken
value is not valid.default LookupPolicyPublisher lookupPolicyPaginator(Consumer<LookupPolicyRequest.Builder> lookupPolicyRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new 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 forEach helper method
software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.clouddirectory.paginators.LookupPolicyPublisher publisher = client.lookupPolicyPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.clouddirectory.model.LookupPolicyResponse>() {
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.
Note: If you prefer to have control on service calls, use the
lookupPolicy(software.amazon.awssdk.services.clouddirectory.model.LookupPolicyRequest)
operation.
This is a convenience which creates an instance of the LookupPolicyRequest.Builder
avoiding the need to
create one manually via LookupPolicyRequest.builder()
lookupPolicyRequest
- A Consumer
that will call methods on LookupPolicyRequest.Builder
to create a request.NextToken
value is not valid.default CompletableFuture<PublishSchemaResponse> publishSchema(PublishSchemaRequest publishSchemaRequest)
Publishes a development schema with a version. If description and attributes are specified,
PublishSchema
overrides the development schema description and attributes. If not, the development
schema description and attributes are used.
publishSchemaRequest
- default CompletableFuture<PublishSchemaResponse> publishSchema(Consumer<PublishSchemaRequest.Builder> publishSchemaRequest)
Publishes a development schema with a version. If description and attributes are specified,
PublishSchema
overrides the development schema description and attributes. If not, the development
schema description and attributes are used.
This is a convenience which creates an instance of the PublishSchemaRequest.Builder
avoiding the need to
create one manually via PublishSchemaRequest.builder()
publishSchemaRequest
- A Consumer
that will call methods on PublishSchemaRequest.Builder
to create a request.default CompletableFuture<PutSchemaFromJsonResponse> putSchemaFromJson(PutSchemaFromJsonRequest putSchemaFromJsonRequest)
Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.
putSchemaFromJsonRequest
- SchemaDoc
value is not valid.default CompletableFuture<PutSchemaFromJsonResponse> putSchemaFromJson(Consumer<PutSchemaFromJsonRequest.Builder> putSchemaFromJsonRequest)
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 PutSchemaFromJsonRequest.Builder
avoiding the need
to create one manually via PutSchemaFromJsonRequest.builder()
putSchemaFromJsonRequest
- A Consumer
that will call methods on PutSchemaFromJsonRequest.Builder
to create a request.SchemaDoc
value is not valid.default CompletableFuture<RemoveFacetFromObjectResponse> removeFacetFromObject(RemoveFacetFromObjectRequest removeFacetFromObjectRequest)
Removes the specified facet from the specified object.
removeFacetFromObjectRequest
- default CompletableFuture<RemoveFacetFromObjectResponse> removeFacetFromObject(Consumer<RemoveFacetFromObjectRequest.Builder> removeFacetFromObjectRequest)
Removes the specified facet from the specified object.
This is a convenience which creates an instance of the RemoveFacetFromObjectRequest.Builder
avoiding the
need to create one manually via RemoveFacetFromObjectRequest.builder()
removeFacetFromObjectRequest
- A Consumer
that will call methods on RemoveFacetFromObjectRequest.Builder
to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
An API operation for adding tags to a resource.
tagResourceRequest
- default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
An API operation for adding tags to a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceRequest.Builder
to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
An API operation for removing tags from a resource.
untagResourceRequest
- default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
An API operation for removing tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceRequest.Builder
to create a request.default CompletableFuture<UpdateFacetResponse> updateFacet(UpdateFacetRequest updateFacetRequest)
Does the following:
Adds new Attributes
, Rules
, or ObjectTypes
.
Updates existing Attributes
, Rules
, or ObjectTypes
.
Deletes existing Attributes
, Rules
, or ObjectTypes
.
updateFacetRequest
- default CompletableFuture<UpdateFacetResponse> updateFacet(Consumer<UpdateFacetRequest.Builder> updateFacetRequest)
Does the following:
Adds new Attributes
, Rules
, or ObjectTypes
.
Updates existing Attributes
, Rules
, or ObjectTypes
.
Deletes existing Attributes
, Rules
, or ObjectTypes
.
This is a convenience which creates an instance of the UpdateFacetRequest.Builder
avoiding the need to
create one manually via UpdateFacetRequest.builder()
updateFacetRequest
- A Consumer
that will call methods on UpdateFacetRequest.Builder
to create a request.default CompletableFuture<UpdateObjectAttributesResponse> updateObjectAttributes(UpdateObjectAttributesRequest updateObjectAttributesRequest)
Updates a given object's attributes.
updateObjectAttributesRequest
- default CompletableFuture<UpdateObjectAttributesResponse> updateObjectAttributes(Consumer<UpdateObjectAttributesRequest.Builder> updateObjectAttributesRequest)
Updates a given object's attributes.
This is a convenience which creates an instance of the UpdateObjectAttributesRequest.Builder
avoiding the
need to create one manually via UpdateObjectAttributesRequest.builder()
updateObjectAttributesRequest
- A Consumer
that will call methods on UpdateObjectAttributesRequest.Builder
to create a
request.default CompletableFuture<UpdateSchemaResponse> updateSchema(UpdateSchemaRequest updateSchemaRequest)
Updates the schema name with a new name. Only development schema names can be updated.
updateSchemaRequest
- default CompletableFuture<UpdateSchemaResponse> updateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest)
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 UpdateSchemaRequest.Builder
avoiding the need to
create one manually via UpdateSchemaRequest.builder()
updateSchemaRequest
- A Consumer
that will call methods on UpdateSchemaRequest.Builder
to create a request.default CompletableFuture<UpdateTypedLinkFacetResponse> updateTypedLinkFacet(UpdateTypedLinkFacetRequest updateTypedLinkFacetRequest)
Updates a TypedLinkFacet. For more information, see Typed link.
updateTypedLinkFacetRequest
- default CompletableFuture<UpdateTypedLinkFacetResponse> updateTypedLinkFacet(Consumer<UpdateTypedLinkFacetRequest.Builder> updateTypedLinkFacetRequest)
Updates a TypedLinkFacet. For more information, see Typed link.
This is a convenience which creates an instance of the UpdateTypedLinkFacetRequest.Builder
avoiding the
need to create one manually via UpdateTypedLinkFacetRequest.builder()
updateTypedLinkFacetRequest
- A Consumer
that will call methods on UpdateTypedLinkFacetRequest.Builder
to create a
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.