@Generated(value="software.amazon.awssdk:codegen") public interface CloudDirectoryAsyncClient extends SdkClient, SdkAutoCloseable
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 |
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.
AddFacetToObjectRequest.Builder
avoiding the need
to create one manually via AddFacetToObjectRequest.builder()
addFacetToObjectRequest
- a Consumer
that will call methods on AddFacetToObjectRequest.Builder
.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 .
ApplySchemaRequest.Builder
avoiding the need to
create one manually via ApplySchemaRequest.builder()
applySchemaRequest
- a Consumer
that will call methods on ApplySchemaRequest.Builder
.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
AttachObjectRequest.Builder
avoiding the need to
create one manually via AttachObjectRequest.builder()
attachObjectRequest
- a Consumer
that will call methods on AttachObjectRequest.Builder
.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.
AttachPolicyRequest.Builder
avoiding the need to
create one manually via AttachPolicyRequest.builder()
attachPolicyRequest
- a Consumer
that will call methods on AttachPolicyRequest.Builder
.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.
AttachToIndexRequest.Builder
avoiding the need to
create one manually via AttachToIndexRequest.builder()
attachToIndexRequest
- a Consumer
that will call methods on AttachToIndexRequest.Builder
.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.
AttachTypedLinkRequest.Builder
avoiding the need
to create one manually via AttachTypedLinkRequest.builder()
attachTypedLinkRequest
- a Consumer
that will call methods on AttachTypedLinkRequest.Builder
.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.
BatchReadRequest.Builder
avoiding the need to
create one manually via BatchReadRequest.builder()
batchReadRequest
- a Consumer
that will call methods on BatchReadRequest.Builder
.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.
BatchWriteRequest.Builder
avoiding the need to
create one manually via BatchWriteRequest.builder()
batchWriteRequest
- a Consumer
that will call methods on BatchWriteRequest.Builder
.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.
CreateDirectoryRequest.Builder
avoiding the need
to create one manually via CreateDirectoryRequest.builder()
createDirectoryRequest
- a Consumer
that will call methods on CreateDirectoryRequest.Builder
.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.
CreateFacetRequest.Builder
avoiding the need to
create one manually via CreateFacetRequest.builder()
createFacetRequest
- a Consumer
that will call methods on CreateFacetRequest.Builder
.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.
CreateIndexRequest.Builder
avoiding the need to
create one manually via CreateIndexRequest.builder()
createIndexRequest
- a Consumer
that will call methods on CreateIndexRequest.Builder
.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.
CreateObjectRequest.Builder
avoiding the need to
create one manually via CreateObjectRequest.builder()
createObjectRequest
- a Consumer
that will call methods on CreateObjectRequest.Builder
.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.
CreateSchemaRequest.Builder
avoiding the need to
create one manually via CreateSchemaRequest.builder()
createSchemaRequest
- a Consumer
that will call methods on CreateSchemaRequest.Builder
.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.
CreateTypedLinkFacetRequest.Builder
avoiding the
need to create one manually via CreateTypedLinkFacetRequest.builder()
createTypedLinkFacetRequest
- a Consumer
that will call methods on CreateTypedLinkFacetRequest.Builder
.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.
DeleteDirectoryRequest.Builder
avoiding the need
to create one manually via DeleteDirectoryRequest.builder()
deleteDirectoryRequest
- a Consumer
that will call methods on DeleteDirectoryRequest.Builder
.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.
DeleteFacetRequest.Builder
avoiding the need to
create one manually via DeleteFacetRequest.builder()
deleteFacetRequest
- a Consumer
that will call methods on DeleteFacetRequest.Builder
.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.
DeleteObjectRequest.Builder
avoiding the need to
create one manually via DeleteObjectRequest.builder()
deleteObjectRequest
- a Consumer
that will call methods on DeleteObjectRequest.Builder
.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.
DeleteSchemaRequest.Builder
avoiding the need to
create one manually via DeleteSchemaRequest.builder()
deleteSchemaRequest
- a Consumer
that will call methods on DeleteSchemaRequest.Builder
.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.
DeleteTypedLinkFacetRequest.Builder
avoiding the
need to create one manually via DeleteTypedLinkFacetRequest.builder()
deleteTypedLinkFacetRequest
- a Consumer
that will call methods on DeleteTypedLinkFacetRequest.Builder
.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.
DetachFromIndexRequest.Builder
avoiding the need
to create one manually via DetachFromIndexRequest.builder()
detachFromIndexRequest
- a Consumer
that will call methods on DetachFromIndexRequest.Builder
.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.
DetachObjectRequest.Builder
avoiding the need to
create one manually via DetachObjectRequest.builder()
detachObjectRequest
- a Consumer
that will call methods on DetachObjectRequest.Builder
.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.
DetachPolicyRequest.Builder
avoiding the need to
create one manually via DetachPolicyRequest.builder()
detachPolicyRequest
- a Consumer
that will call methods on DetachPolicyRequest.Builder
.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.
DetachTypedLinkRequest.Builder
avoiding the need
to create one manually via DetachTypedLinkRequest.builder()
detachTypedLinkRequest
- a Consumer
that will call methods on DetachTypedLinkRequest.Builder
.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.
DisableDirectoryRequest.Builder
avoiding the need
to create one manually via DisableDirectoryRequest.builder()
disableDirectoryRequest
- a Consumer
that will call methods on DisableDirectoryRequest.Builder
.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.
EnableDirectoryRequest.Builder
avoiding the need
to create one manually via EnableDirectoryRequest.builder()
enableDirectoryRequest
- a Consumer
that will call methods on EnableDirectoryRequest.Builder
.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.
GetDirectoryRequest.Builder
avoiding the need to
create one manually via GetDirectoryRequest.builder()
getDirectoryRequest
- a Consumer
that will call methods on GetDirectoryRequest.Builder
.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.
GetFacetRequest.Builder
avoiding the need to
create one manually via GetFacetRequest.builder()
getFacetRequest
- a Consumer
that will call methods on GetFacetRequest.Builder
.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.
GetObjectInformationRequest.Builder
avoiding the
need to create one manually via GetObjectInformationRequest.builder()
getObjectInformationRequest
- a Consumer
that will call methods on GetObjectInformationRequest.Builder
.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.
GetSchemaAsJsonRequest.Builder
avoiding the need
to create one manually via GetSchemaAsJsonRequest.builder()
getSchemaAsJsonRequest
- a Consumer
that will call methods on GetSchemaAsJsonRequest.Builder
.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.
GetTypedLinkFacetInformationRequest.Builder
avoiding the need to create one manually via GetTypedLinkFacetInformationRequest.builder()
getTypedLinkFacetInformationRequest
- a Consumer
that will call methods on GetTypedLinkFacetInformationRequest.Builder
.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.
ListAppliedSchemaArnsRequest.Builder
avoiding the
need to create one manually via ListAppliedSchemaArnsRequest.builder()
listAppliedSchemaArnsRequest
- a Consumer
that will call methods on ListAppliedSchemaArnsRequest.Builder
.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 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.
ListAttachedIndicesRequest.Builder
avoiding the
need to create one manually via ListAttachedIndicesRequest.builder()
listAttachedIndicesRequest
- a Consumer
that will call methods on ListAttachedIndicesRequest.Builder
.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 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()
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
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.
ListDevelopmentSchemaArnsRequest.Builder
avoiding
the need to create one manually via ListDevelopmentSchemaArnsRequest.builder()
listDevelopmentSchemaArnsRequest
- a Consumer
that will call methods on ListDevelopmentSchemaArnsRequest.Builder
.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()
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 CompletableFuture<ListDirectoriesResponse> listDirectories(ListDirectoriesRequest listDirectoriesRequest)
Lists directories created within an account.
listDirectoriesRequest
- NextToken
value is not valid.default CompletableFuture<ListDirectoriesResponse> listDirectories()
Lists directories created within an account.
NextToken
value is not valid.default CompletableFuture<ListDirectoriesResponse> listDirectories(Consumer<ListDirectoriesRequest.Builder> listDirectoriesRequest)
Lists directories created within an account.
ListDirectoriesRequest.Builder
avoiding the need
to create one manually via ListDirectoriesRequest.builder()
listDirectoriesRequest
- a Consumer
that will call methods on ListDirectoriesRequest.Builder
.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()
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 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.
ListFacetAttributesRequest.Builder
avoiding the
need to create one manually via ListFacetAttributesRequest.builder()
listFacetAttributesRequest
- a Consumer
that will call methods on ListFacetAttributesRequest.Builder
.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 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.
ListFacetNamesRequest.Builder
avoiding the need to
create one manually via ListFacetNamesRequest.builder()
listFacetNamesRequest
- a Consumer
that will call methods on ListFacetNamesRequest.Builder
.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 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.
ListIncomingTypedLinksRequest.Builder
avoiding the
need to create one manually via ListIncomingTypedLinksRequest.builder()
listIncomingTypedLinksRequest
- a Consumer
that will call methods on ListIncomingTypedLinksRequest.Builder
.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.
ListIndexRequest.Builder
avoiding the need to
create one manually via ListIndexRequest.builder()
listIndexRequest
- a Consumer
that will call methods on ListIndexRequest.Builder
.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 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.
ListObjectAttributesRequest.Builder
avoiding the
need to create one manually via ListObjectAttributesRequest.builder()
listObjectAttributesRequest
- a Consumer
that will call methods on ListObjectAttributesRequest.Builder
.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 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.
ListObjectChildrenRequest.Builder
avoiding the
need to create one manually via ListObjectChildrenRequest.builder()
listObjectChildrenRequest
- a Consumer
that will call methods on ListObjectChildrenRequest.Builder
.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 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.
ListObjectParentPathsRequest.Builder
avoiding the
need to create one manually via ListObjectParentPathsRequest.builder()
listObjectParentPathsRequest
- a Consumer
that will call methods on ListObjectParentPathsRequest.Builder
.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 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.
ListObjectParentsRequest.Builder
avoiding the need
to create one manually via ListObjectParentsRequest.builder()
listObjectParentsRequest
- a Consumer
that will call methods on ListObjectParentsRequest.Builder
.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 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.
ListObjectPoliciesRequest.Builder
avoiding the
need to create one manually via ListObjectPoliciesRequest.builder()
listObjectPoliciesRequest
- a Consumer
that will call methods on ListObjectPoliciesRequest.Builder
.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 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.
ListOutgoingTypedLinksRequest.Builder
avoiding the
need to create one manually via ListOutgoingTypedLinksRequest.builder()
listOutgoingTypedLinksRequest
- a Consumer
that will call methods on ListOutgoingTypedLinksRequest.Builder
.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.
ListPolicyAttachmentsRequest.Builder
avoiding the
need to create one manually via ListPolicyAttachmentsRequest.builder()
listPolicyAttachmentsRequest
- a Consumer
that will call methods on ListPolicyAttachmentsRequest.Builder
.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 CompletableFuture<ListPublishedSchemaArnsResponse> listPublishedSchemaArns(ListPublishedSchemaArnsRequest listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
listPublishedSchemaArnsRequest
- NextToken
value is not valid.default CompletableFuture<ListPublishedSchemaArnsResponse> listPublishedSchemaArns()
Retrieves each published schema Amazon Resource Name (ARN).
NextToken
value is not valid.default CompletableFuture<ListPublishedSchemaArnsResponse> listPublishedSchemaArns(Consumer<ListPublishedSchemaArnsRequest.Builder> listPublishedSchemaArnsRequest)
Retrieves each published schema Amazon Resource Name (ARN).
ListPublishedSchemaArnsRequest.Builder
avoiding
the need to create one manually via ListPublishedSchemaArnsRequest.builder()
listPublishedSchemaArnsRequest
- a Consumer
that will call methods on ListPublishedSchemaArnsRequest.Builder
.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()
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 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.
ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- a Consumer
that will call methods on ListTagsForResourceRequest.Builder
.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 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.
ListTypedLinkFacetAttributesRequest.Builder
avoiding the need to create one manually via ListTypedLinkFacetAttributesRequest.builder()
listTypedLinkFacetAttributesRequest
- a Consumer
that will call methods on ListTypedLinkFacetAttributesRequest.Builder
.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 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.
ListTypedLinkFacetNamesRequest.Builder
avoiding
the need to create one manually via ListTypedLinkFacetNamesRequest.builder()
listTypedLinkFacetNamesRequest
- a Consumer
that will call methods on ListTypedLinkFacetNamesRequest.Builder
.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 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.
LookupPolicyRequest.Builder
avoiding the need to
create one manually via LookupPolicyRequest.builder()
lookupPolicyRequest
- a Consumer
that will call methods on LookupPolicyRequest.Builder
.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 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.
PublishSchemaRequest.Builder
avoiding the need to
create one manually via PublishSchemaRequest.builder()
publishSchemaRequest
- a Consumer
that will call methods on PublishSchemaRequest.Builder
.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.
PutSchemaFromJsonRequest.Builder
avoiding the need
to create one manually via PutSchemaFromJsonRequest.builder()
putSchemaFromJsonRequest
- a Consumer
that will call methods on PutSchemaFromJsonRequest.Builder
.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.
RemoveFacetFromObjectRequest.Builder
avoiding the
need to create one manually via RemoveFacetFromObjectRequest.builder()
removeFacetFromObjectRequest
- a Consumer
that will call methods on RemoveFacetFromObjectRequest.Builder
.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.
TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- a Consumer
that will call methods on TagResourceRequest.Builder
.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.
UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- a Consumer
that will call methods on UntagResourceRequest.Builder
.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
.
UpdateFacetRequest.Builder
avoiding the need to
create one manually via UpdateFacetRequest.builder()
updateFacetRequest
- a Consumer
that will call methods on UpdateFacetRequest.Builder
.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.
UpdateObjectAttributesRequest.Builder
avoiding the
need to create one manually via UpdateObjectAttributesRequest.builder()
updateObjectAttributesRequest
- a Consumer
that will call methods on UpdateObjectAttributesRequest.Builder
.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.
UpdateSchemaRequest.Builder
avoiding the need to
create one manually via UpdateSchemaRequest.builder()
updateSchemaRequest
- a Consumer
that will call methods on UpdateSchemaRequest.Builder
.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.
UpdateTypedLinkFacetRequest.Builder
avoiding the
need to create one manually via UpdateTypedLinkFacetRequest.builder()
updateTypedLinkFacetRequest
- a Consumer
that will call methods on UpdateTypedLinkFacetRequest.Builder
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.