@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface PcaConnectorAdAsyncClient extends AwsClient
builder()
method.
Amazon Web Services Private CA Connector for Active Directory creates a connector between Amazon Web Services Private CA and Active Directory (AD) that enables you to provision security certificates for AD signed by a private CA that you own. For more information, see Amazon Web Services Private CA Connector for Active Directory.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<CreateConnectorResponse> createConnector(CreateConnectorRequest createConnectorRequest)
Creates a connector between Amazon Web Services Private CA and an Active Directory. You must specify the private CA, directory ID, and security groups.
createConnectorRequest - default CompletableFuture<CreateConnectorResponse> createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest)
Creates a connector between Amazon Web Services Private CA and an Active Directory. You must specify the private CA, directory ID, and security groups.
This is a convenience which creates an instance of the CreateConnectorRequest.Builder avoiding the need
to create one manually via CreateConnectorRequest.builder()
createConnectorRequest - A Consumer that will call methods on
CreateConnectorRequest.Builder to create a
request.default CompletableFuture<CreateDirectoryRegistrationResponse> createDirectoryRegistration(CreateDirectoryRegistrationRequest createDirectoryRegistrationRequest)
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an Active Directory
createDirectoryRegistrationRequest - default CompletableFuture<CreateDirectoryRegistrationResponse> createDirectoryRegistration(Consumer<CreateDirectoryRegistrationRequest.Builder> createDirectoryRegistrationRequest)
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an Active Directory
This is a convenience which creates an instance of the CreateDirectoryRegistrationRequest.Builder
avoiding the need to create one manually via CreateDirectoryRegistrationRequest.builder()
createDirectoryRegistrationRequest - A Consumer that will call methods on
CreateDirectoryRegistrationRequest.Builder to
create a request.default CompletableFuture<CreateServicePrincipalNameResponse> createServicePrincipalName(CreateServicePrincipalNameRequest createServicePrincipalNameRequest)
Creates a service principal name (SPN) for the service account in Active Directory. Kerberos authentication uses SPNs to associate a service instance with a service sign-in account.
createServicePrincipalNameRequest - default CompletableFuture<CreateServicePrincipalNameResponse> createServicePrincipalName(Consumer<CreateServicePrincipalNameRequest.Builder> createServicePrincipalNameRequest)
Creates a service principal name (SPN) for the service account in Active Directory. Kerberos authentication uses SPNs to associate a service instance with a service sign-in account.
This is a convenience which creates an instance of the CreateServicePrincipalNameRequest.Builder avoiding
the need to create one manually via CreateServicePrincipalNameRequest.builder()
createServicePrincipalNameRequest - A Consumer that will call methods on
CreateServicePrincipalNameRequest.Builder to
create a request.default CompletableFuture<CreateTemplateResponse> createTemplate(CreateTemplateRequest createTemplateRequest)
Creates an Active Directory compatible certificate template. The connectors issues certificates using these templates based on the requester’s Active Directory group membership.
createTemplateRequest - default CompletableFuture<CreateTemplateResponse> createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest)
Creates an Active Directory compatible certificate template. The connectors issues certificates using these templates based on the requester’s Active Directory group membership.
This is a convenience which creates an instance of the CreateTemplateRequest.Builder avoiding the need to
create one manually via CreateTemplateRequest.builder()
createTemplateRequest - A Consumer that will call methods on
CreateTemplateRequest.Builder to create a
request.default CompletableFuture<CreateTemplateGroupAccessControlEntryResponse> createTemplateGroupAccessControlEntry(CreateTemplateGroupAccessControlEntryRequest createTemplateGroupAccessControlEntryRequest)
Create a group access control entry. Allow or deny Active Directory groups from enrolling and/or autoenrolling with the template based on the group security identifiers (SIDs).
createTemplateGroupAccessControlEntryRequest - default CompletableFuture<CreateTemplateGroupAccessControlEntryResponse> createTemplateGroupAccessControlEntry(Consumer<CreateTemplateGroupAccessControlEntryRequest.Builder> createTemplateGroupAccessControlEntryRequest)
Create a group access control entry. Allow or deny Active Directory groups from enrolling and/or autoenrolling with the template based on the group security identifiers (SIDs).
This is a convenience which creates an instance of the
CreateTemplateGroupAccessControlEntryRequest.Builder avoiding the need to create one manually via
CreateTemplateGroupAccessControlEntryRequest.builder()
createTemplateGroupAccessControlEntryRequest - A Consumer that will call methods on
CreateTemplateGroupAccessControlEntryRequest.Builder
to create a request.default CompletableFuture<DeleteConnectorResponse> deleteConnector(DeleteConnectorRequest deleteConnectorRequest)
Deletes a connector for Active Directory. You must provide the Amazon Resource Name (ARN) of the connector that you want to delete. You can find the ARN by calling the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_ListConnectors action. Deleting a connector does not deregister your directory with Amazon Web Services Private CA. You can deregister your directory by calling the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_DeleteDirectoryRegistration action.
deleteConnectorRequest - default CompletableFuture<DeleteConnectorResponse> deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest)
Deletes a connector for Active Directory. You must provide the Amazon Resource Name (ARN) of the connector that you want to delete. You can find the ARN by calling the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_ListConnectors action. Deleting a connector does not deregister your directory with Amazon Web Services Private CA. You can deregister your directory by calling the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_DeleteDirectoryRegistration action.
This is a convenience which creates an instance of the DeleteConnectorRequest.Builder avoiding the need
to create one manually via DeleteConnectorRequest.builder()
deleteConnectorRequest - A Consumer that will call methods on
DeleteConnectorRequest.Builder to create a
request.default CompletableFuture<DeleteDirectoryRegistrationResponse> deleteDirectoryRegistration(DeleteDirectoryRegistrationRequest deleteDirectoryRegistrationRequest)
Deletes a directory registration. Deleting a directory registration deauthorizes Amazon Web Services Private CA with the directory.
deleteDirectoryRegistrationRequest - default CompletableFuture<DeleteDirectoryRegistrationResponse> deleteDirectoryRegistration(Consumer<DeleteDirectoryRegistrationRequest.Builder> deleteDirectoryRegistrationRequest)
Deletes a directory registration. Deleting a directory registration deauthorizes Amazon Web Services Private CA with the directory.
This is a convenience which creates an instance of the DeleteDirectoryRegistrationRequest.Builder
avoiding the need to create one manually via DeleteDirectoryRegistrationRequest.builder()
deleteDirectoryRegistrationRequest - A Consumer that will call methods on
DeleteDirectoryRegistrationRequest.Builder to
create a request.default CompletableFuture<DeleteServicePrincipalNameResponse> deleteServicePrincipalName(DeleteServicePrincipalNameRequest deleteServicePrincipalNameRequest)
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
deleteServicePrincipalNameRequest - default CompletableFuture<DeleteServicePrincipalNameResponse> deleteServicePrincipalName(Consumer<DeleteServicePrincipalNameRequest.Builder> deleteServicePrincipalNameRequest)
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
This is a convenience which creates an instance of the DeleteServicePrincipalNameRequest.Builder avoiding
the need to create one manually via DeleteServicePrincipalNameRequest.builder()
deleteServicePrincipalNameRequest - A Consumer that will call methods on
DeleteServicePrincipalNameRequest.Builder to
create a request.default CompletableFuture<DeleteTemplateResponse> deleteTemplate(DeleteTemplateRequest deleteTemplateRequest)
Deletes a template. Certificates issued using the template are still valid until they are revoked or expired.
deleteTemplateRequest - default CompletableFuture<DeleteTemplateResponse> deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest)
Deletes a template. Certificates issued using the template are still valid until they are revoked or expired.
This is a convenience which creates an instance of the DeleteTemplateRequest.Builder avoiding the need to
create one manually via DeleteTemplateRequest.builder()
deleteTemplateRequest - A Consumer that will call methods on
DeleteTemplateRequest.Builder to create a
request.default CompletableFuture<DeleteTemplateGroupAccessControlEntryResponse> deleteTemplateGroupAccessControlEntry(DeleteTemplateGroupAccessControlEntryRequest deleteTemplateGroupAccessControlEntryRequest)
Deletes a group access control entry.
deleteTemplateGroupAccessControlEntryRequest - default CompletableFuture<DeleteTemplateGroupAccessControlEntryResponse> deleteTemplateGroupAccessControlEntry(Consumer<DeleteTemplateGroupAccessControlEntryRequest.Builder> deleteTemplateGroupAccessControlEntryRequest)
Deletes a group access control entry.
This is a convenience which creates an instance of the
DeleteTemplateGroupAccessControlEntryRequest.Builder avoiding the need to create one manually via
DeleteTemplateGroupAccessControlEntryRequest.builder()
deleteTemplateGroupAccessControlEntryRequest - A Consumer that will call methods on
DeleteTemplateGroupAccessControlEntryRequest.Builder
to create a request.default CompletableFuture<GetConnectorResponse> getConnector(GetConnectorRequest getConnectorRequest)
Lists information about your connector. You specify the connector on input by its ARN (Amazon Resource Name).
getConnectorRequest - default CompletableFuture<GetConnectorResponse> getConnector(Consumer<GetConnectorRequest.Builder> getConnectorRequest)
Lists information about your connector. You specify the connector on input by its ARN (Amazon Resource Name).
This is a convenience which creates an instance of the GetConnectorRequest.Builder avoiding the need to
create one manually via GetConnectorRequest.builder()
getConnectorRequest - A Consumer that will call methods on
GetConnectorRequest.Builder to create a
request.default CompletableFuture<GetDirectoryRegistrationResponse> getDirectoryRegistration(GetDirectoryRegistrationRequest getDirectoryRegistrationRequest)
A structure that contains information about your directory registration.
getDirectoryRegistrationRequest - default CompletableFuture<GetDirectoryRegistrationResponse> getDirectoryRegistration(Consumer<GetDirectoryRegistrationRequest.Builder> getDirectoryRegistrationRequest)
A structure that contains information about your directory registration.
This is a convenience which creates an instance of the GetDirectoryRegistrationRequest.Builder avoiding
the need to create one manually via GetDirectoryRegistrationRequest.builder()
getDirectoryRegistrationRequest - A Consumer that will call methods on
GetDirectoryRegistrationRequest.Builder to
create a request.default CompletableFuture<GetServicePrincipalNameResponse> getServicePrincipalName(GetServicePrincipalNameRequest getServicePrincipalNameRequest)
Lists the service principal name that the connector uses to authenticate with Active Directory.
getServicePrincipalNameRequest - default CompletableFuture<GetServicePrincipalNameResponse> getServicePrincipalName(Consumer<GetServicePrincipalNameRequest.Builder> getServicePrincipalNameRequest)
Lists the service principal name that the connector uses to authenticate with Active Directory.
This is a convenience which creates an instance of the GetServicePrincipalNameRequest.Builder avoiding
the need to create one manually via GetServicePrincipalNameRequest.builder()
getServicePrincipalNameRequest - A Consumer that will call methods on
GetServicePrincipalNameRequest.Builder to
create a request.default CompletableFuture<GetTemplateResponse> getTemplate(GetTemplateRequest getTemplateRequest)
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
getTemplateRequest - default CompletableFuture<GetTemplateResponse> getTemplate(Consumer<GetTemplateRequest.Builder> getTemplateRequest)
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
This is a convenience which creates an instance of the GetTemplateRequest.Builder avoiding the need to
create one manually via GetTemplateRequest.builder()
getTemplateRequest - A Consumer that will call methods on
GetTemplateRequest.Builder to create a
request.default CompletableFuture<GetTemplateGroupAccessControlEntryResponse> getTemplateGroupAccessControlEntry(GetTemplateGroupAccessControlEntryRequest getTemplateGroupAccessControlEntryRequest)
Retrieves the group access control entries for a template.
getTemplateGroupAccessControlEntryRequest - default CompletableFuture<GetTemplateGroupAccessControlEntryResponse> getTemplateGroupAccessControlEntry(Consumer<GetTemplateGroupAccessControlEntryRequest.Builder> getTemplateGroupAccessControlEntryRequest)
Retrieves the group access control entries for a template.
This is a convenience which creates an instance of the GetTemplateGroupAccessControlEntryRequest.Builder
avoiding the need to create one manually via GetTemplateGroupAccessControlEntryRequest.builder()
getTemplateGroupAccessControlEntryRequest - A Consumer that will call methods on
GetTemplateGroupAccessControlEntryRequest.Builder
to create a request.default CompletableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest listConnectorsRequest)
Lists the connectors that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector action.
listConnectorsRequest - default CompletableFuture<ListConnectorsResponse> listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Lists the connectors that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector action.
This is a convenience which creates an instance of the ListConnectorsRequest.Builder avoiding the need to
create one manually via ListConnectorsRequest.builder()
listConnectorsRequest - A Consumer that will call methods on
ListConnectorsRequest.Builder to create a
request.default ListConnectorsPublisher listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest)
Lists the connectors that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector action.
This is a variant of
listConnectors(software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsRequest) 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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectors(software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsRequest)
operation.
listConnectorsRequest - default ListConnectorsPublisher listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Lists the connectors that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector action.
This is a variant of
listConnectors(software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsRequest) 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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectors(software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsRequest)
operation.
This is a convenience which creates an instance of the ListConnectorsRequest.Builder avoiding the need to
create one manually via ListConnectorsRequest.builder()
listConnectorsRequest - A Consumer that will call methods on
ListConnectorsRequest.Builder to create a
request.default CompletableFuture<ListDirectoryRegistrationsResponse> listDirectoryRegistrations(ListDirectoryRegistrationsRequest listDirectoryRegistrationsRequest)
Lists the directory registrations that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration action.
listDirectoryRegistrationsRequest - default CompletableFuture<ListDirectoryRegistrationsResponse> listDirectoryRegistrations(Consumer<ListDirectoryRegistrationsRequest.Builder> listDirectoryRegistrationsRequest)
Lists the directory registrations that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration action.
This is a convenience which creates an instance of the ListDirectoryRegistrationsRequest.Builder avoiding
the need to create one manually via ListDirectoryRegistrationsRequest.builder()
listDirectoryRegistrationsRequest - A Consumer that will call methods on
ListDirectoryRegistrationsRequest.Builder to
create a request.default ListDirectoryRegistrationsPublisher listDirectoryRegistrationsPaginator(ListDirectoryRegistrationsRequest listDirectoryRegistrationsRequest)
Lists the directory registrations that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration action.
This is a variant of
listDirectoryRegistrations(software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsRequest)
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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsPublisher publisher = client.listDirectoryRegistrationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsPublisher publisher = client.listDirectoryRegistrationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDirectoryRegistrations(software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsRequest)
operation.
listDirectoryRegistrationsRequest - default ListDirectoryRegistrationsPublisher listDirectoryRegistrationsPaginator(Consumer<ListDirectoryRegistrationsRequest.Builder> listDirectoryRegistrationsRequest)
Lists the directory registrations that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration action.
This is a variant of
listDirectoryRegistrations(software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsRequest)
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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsPublisher publisher = client.listDirectoryRegistrationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsPublisher publisher = client.listDirectoryRegistrationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDirectoryRegistrations(software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsRequest)
operation.
This is a convenience which creates an instance of the ListDirectoryRegistrationsRequest.Builder avoiding
the need to create one manually via ListDirectoryRegistrationsRequest.builder()
listDirectoryRegistrationsRequest - A Consumer that will call methods on
ListDirectoryRegistrationsRequest.Builder to
create a request.default CompletableFuture<ListServicePrincipalNamesResponse> listServicePrincipalNames(ListServicePrincipalNamesRequest listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
listServicePrincipalNamesRequest - default CompletableFuture<ListServicePrincipalNamesResponse> listServicePrincipalNames(Consumer<ListServicePrincipalNamesRequest.Builder> listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
This is a convenience which creates an instance of the ListServicePrincipalNamesRequest.Builder avoiding
the need to create one manually via ListServicePrincipalNamesRequest.builder()
listServicePrincipalNamesRequest - A Consumer that will call methods on
ListServicePrincipalNamesRequest.Builder to
create a request.default ListServicePrincipalNamesPublisher listServicePrincipalNamesPaginator(ListServicePrincipalNamesRequest listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
This is a variant of
listServicePrincipalNames(software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesRequest)
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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesPublisher publisher = client.listServicePrincipalNamesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesPublisher publisher = client.listServicePrincipalNamesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicePrincipalNames(software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesRequest)
operation.
listServicePrincipalNamesRequest - default ListServicePrincipalNamesPublisher listServicePrincipalNamesPaginator(Consumer<ListServicePrincipalNamesRequest.Builder> listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
This is a variant of
listServicePrincipalNames(software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesRequest)
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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesPublisher publisher = client.listServicePrincipalNamesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesPublisher publisher = client.listServicePrincipalNamesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicePrincipalNames(software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesRequest)
operation.
This is a convenience which creates an instance of the ListServicePrincipalNamesRequest.Builder avoiding
the need to create one manually via ListServicePrincipalNamesRequest.builder()
listServicePrincipalNamesRequest - A Consumer that will call methods on
ListServicePrincipalNamesRequest.Builder to
create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags, if any, that are associated with your resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags, if any, that are associated with your resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create
a request.default CompletableFuture<ListTemplateGroupAccessControlEntriesResponse> listTemplateGroupAccessControlEntries(ListTemplateGroupAccessControlEntriesRequest listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
listTemplateGroupAccessControlEntriesRequest - default CompletableFuture<ListTemplateGroupAccessControlEntriesResponse> listTemplateGroupAccessControlEntries(Consumer<ListTemplateGroupAccessControlEntriesRequest.Builder> listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
This is a convenience which creates an instance of the
ListTemplateGroupAccessControlEntriesRequest.Builder avoiding the need to create one manually via
ListTemplateGroupAccessControlEntriesRequest.builder()
listTemplateGroupAccessControlEntriesRequest - A Consumer that will call methods on
ListTemplateGroupAccessControlEntriesRequest.Builder
to create a request.default ListTemplateGroupAccessControlEntriesPublisher listTemplateGroupAccessControlEntriesPaginator(ListTemplateGroupAccessControlEntriesRequest listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
This is a variant of
listTemplateGroupAccessControlEntries(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesRequest)
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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesPublisher publisher = client.listTemplateGroupAccessControlEntriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesPublisher publisher = client.listTemplateGroupAccessControlEntriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTemplateGroupAccessControlEntries(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesRequest)
operation.
listTemplateGroupAccessControlEntriesRequest - default ListTemplateGroupAccessControlEntriesPublisher listTemplateGroupAccessControlEntriesPaginator(Consumer<ListTemplateGroupAccessControlEntriesRequest.Builder> listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
This is a variant of
listTemplateGroupAccessControlEntries(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesRequest)
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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesPublisher publisher = client.listTemplateGroupAccessControlEntriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesPublisher publisher = client.listTemplateGroupAccessControlEntriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTemplateGroupAccessControlEntries(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesRequest)
operation.
This is a convenience which creates an instance of the
ListTemplateGroupAccessControlEntriesRequest.Builder avoiding the need to create one manually via
ListTemplateGroupAccessControlEntriesRequest.builder()
listTemplateGroupAccessControlEntriesRequest - A Consumer that will call methods on
ListTemplateGroupAccessControlEntriesRequest.Builder
to create a request.default CompletableFuture<ListTemplatesResponse> listTemplates(ListTemplatesRequest listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
listTemplatesRequest - default CompletableFuture<ListTemplatesResponse> listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
This is a convenience which creates an instance of the ListTemplatesRequest.Builder avoiding the need to
create one manually via ListTemplatesRequest.builder()
listTemplatesRequest - A Consumer that will call methods on
ListTemplatesRequest.Builder to create a
request.default ListTemplatesPublisher listTemplatesPaginator(ListTemplatesRequest listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
This is a variant of
listTemplates(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesRequest) 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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTemplates(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesRequest) operation.
listTemplatesRequest - default ListTemplatesPublisher listTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
This is a variant of
listTemplates(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesRequest) 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 subscribe helper method
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTemplates(software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesRequest) operation.
This is a convenience which creates an instance of the ListTemplatesRequest.Builder avoiding the need to
create one manually via ListTemplatesRequest.builder()
listTemplatesRequest - A Consumer that will call methods on
ListTemplatesRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to your resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to your resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a
request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from your resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from your resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a
request.default CompletableFuture<UpdateTemplateResponse> updateTemplate(UpdateTemplateRequest updateTemplateRequest)
Update template configuration to define the information included in certificates.
updateTemplateRequest - default CompletableFuture<UpdateTemplateResponse> updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest)
Update template configuration to define the information included in certificates.
This is a convenience which creates an instance of the UpdateTemplateRequest.Builder avoiding the need to
create one manually via UpdateTemplateRequest.builder()
updateTemplateRequest - A Consumer that will call methods on
UpdateTemplateRequest.Builder to create a
request.default CompletableFuture<UpdateTemplateGroupAccessControlEntryResponse> updateTemplateGroupAccessControlEntry(UpdateTemplateGroupAccessControlEntryRequest updateTemplateGroupAccessControlEntryRequest)
Update a group access control entry you created using CreateTemplateGroupAccessControlEntry.
updateTemplateGroupAccessControlEntryRequest - default CompletableFuture<UpdateTemplateGroupAccessControlEntryResponse> updateTemplateGroupAccessControlEntry(Consumer<UpdateTemplateGroupAccessControlEntryRequest.Builder> updateTemplateGroupAccessControlEntryRequest)
Update a group access control entry you created using CreateTemplateGroupAccessControlEntry.
This is a convenience which creates an instance of the
UpdateTemplateGroupAccessControlEntryRequest.Builder avoiding the need to create one manually via
UpdateTemplateGroupAccessControlEntryRequest.builder()
updateTemplateGroupAccessControlEntryRequest - A Consumer that will call methods on
UpdateTemplateGroupAccessControlEntryRequest.Builder
to create a request.default PcaConnectorAdServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic PcaConnectorAdAsyncClient create()
PcaConnectorAdAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static PcaConnectorAdAsyncClientBuilder builder()
PcaConnectorAdAsyncClient.Copyright © 2023. All rights reserved.