@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface PcaConnectorAdClient 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 |
| Modifier and Type | Method and Description |
|---|---|
static PcaConnectorAdClientBuilder |
builder()
Create a builder that can be used to configure and create a
PcaConnectorAdClient. |
static PcaConnectorAdClient |
create()
Create a
PcaConnectorAdClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateConnectorResponse |
createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest)
Creates a connector between Amazon Web Services Private CA and an Active Directory.
|
default CreateConnectorResponse |
createConnector(CreateConnectorRequest createConnectorRequest)
Creates a connector between Amazon Web Services Private CA and an Active Directory.
|
default CreateDirectoryRegistrationResponse |
createDirectoryRegistration(Consumer<CreateDirectoryRegistrationRequest.Builder> createDirectoryRegistrationRequest)
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an
Active Directory
|
default CreateDirectoryRegistrationResponse |
createDirectoryRegistration(CreateDirectoryRegistrationRequest createDirectoryRegistrationRequest)
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an
Active Directory
|
default CreateServicePrincipalNameResponse |
createServicePrincipalName(Consumer<CreateServicePrincipalNameRequest.Builder> createServicePrincipalNameRequest)
Creates a service principal name (SPN) for the service account in Active Directory.
|
default CreateServicePrincipalNameResponse |
createServicePrincipalName(CreateServicePrincipalNameRequest createServicePrincipalNameRequest)
Creates a service principal name (SPN) for the service account in Active Directory.
|
default CreateTemplateResponse |
createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest)
Creates an Active Directory compatible certificate template.
|
default CreateTemplateResponse |
createTemplate(CreateTemplateRequest createTemplateRequest)
Creates an Active Directory compatible certificate template.
|
default CreateTemplateGroupAccessControlEntryResponse |
createTemplateGroupAccessControlEntry(Consumer<CreateTemplateGroupAccessControlEntryRequest.Builder> createTemplateGroupAccessControlEntryRequest)
Create a group access control entry.
|
default CreateTemplateGroupAccessControlEntryResponse |
createTemplateGroupAccessControlEntry(CreateTemplateGroupAccessControlEntryRequest createTemplateGroupAccessControlEntryRequest)
Create a group access control entry.
|
default DeleteConnectorResponse |
deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest)
Deletes a connector for Active Directory.
|
default DeleteConnectorResponse |
deleteConnector(DeleteConnectorRequest deleteConnectorRequest)
Deletes a connector for Active Directory.
|
default DeleteDirectoryRegistrationResponse |
deleteDirectoryRegistration(Consumer<DeleteDirectoryRegistrationRequest.Builder> deleteDirectoryRegistrationRequest)
Deletes a directory registration.
|
default DeleteDirectoryRegistrationResponse |
deleteDirectoryRegistration(DeleteDirectoryRegistrationRequest deleteDirectoryRegistrationRequest)
Deletes a directory registration.
|
default DeleteServicePrincipalNameResponse |
deleteServicePrincipalName(Consumer<DeleteServicePrincipalNameRequest.Builder> deleteServicePrincipalNameRequest)
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
|
default DeleteServicePrincipalNameResponse |
deleteServicePrincipalName(DeleteServicePrincipalNameRequest deleteServicePrincipalNameRequest)
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
|
default DeleteTemplateResponse |
deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest)
Deletes a template.
|
default DeleteTemplateResponse |
deleteTemplate(DeleteTemplateRequest deleteTemplateRequest)
Deletes a template.
|
default DeleteTemplateGroupAccessControlEntryResponse |
deleteTemplateGroupAccessControlEntry(Consumer<DeleteTemplateGroupAccessControlEntryRequest.Builder> deleteTemplateGroupAccessControlEntryRequest)
Deletes a group access control entry.
|
default DeleteTemplateGroupAccessControlEntryResponse |
deleteTemplateGroupAccessControlEntry(DeleteTemplateGroupAccessControlEntryRequest deleteTemplateGroupAccessControlEntryRequest)
Deletes a group access control entry.
|
default GetConnectorResponse |
getConnector(Consumer<GetConnectorRequest.Builder> getConnectorRequest)
Lists information about your connector.
|
default GetConnectorResponse |
getConnector(GetConnectorRequest getConnectorRequest)
Lists information about your connector.
|
default GetDirectoryRegistrationResponse |
getDirectoryRegistration(Consumer<GetDirectoryRegistrationRequest.Builder> getDirectoryRegistrationRequest)
A structure that contains information about your directory registration.
|
default GetDirectoryRegistrationResponse |
getDirectoryRegistration(GetDirectoryRegistrationRequest getDirectoryRegistrationRequest)
A structure that contains information about your directory registration.
|
default GetServicePrincipalNameResponse |
getServicePrincipalName(Consumer<GetServicePrincipalNameRequest.Builder> getServicePrincipalNameRequest)
Lists the service principal name that the connector uses to authenticate with Active Directory.
|
default GetServicePrincipalNameResponse |
getServicePrincipalName(GetServicePrincipalNameRequest getServicePrincipalNameRequest)
Lists the service principal name that the connector uses to authenticate with Active Directory.
|
default GetTemplateResponse |
getTemplate(Consumer<GetTemplateRequest.Builder> getTemplateRequest)
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
|
default GetTemplateResponse |
getTemplate(GetTemplateRequest getTemplateRequest)
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
|
default GetTemplateGroupAccessControlEntryResponse |
getTemplateGroupAccessControlEntry(Consumer<GetTemplateGroupAccessControlEntryRequest.Builder> getTemplateGroupAccessControlEntryRequest)
Retrieves the group access control entries for a template.
|
default GetTemplateGroupAccessControlEntryResponse |
getTemplateGroupAccessControlEntry(GetTemplateGroupAccessControlEntryRequest getTemplateGroupAccessControlEntryRequest)
Retrieves the group access control entries for a template.
|
default 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.
|
default 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.
|
default ListConnectorsIterable |
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.
|
default ListConnectorsIterable |
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.
|
default 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.
|
default 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.
|
default ListDirectoryRegistrationsIterable |
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.
|
default ListDirectoryRegistrationsIterable |
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.
|
default ListServicePrincipalNamesResponse |
listServicePrincipalNames(Consumer<ListServicePrincipalNamesRequest.Builder> listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
|
default ListServicePrincipalNamesResponse |
listServicePrincipalNames(ListServicePrincipalNamesRequest listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
|
default ListServicePrincipalNamesIterable |
listServicePrincipalNamesPaginator(Consumer<ListServicePrincipalNamesRequest.Builder> listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
|
default ListServicePrincipalNamesIterable |
listServicePrincipalNamesPaginator(ListServicePrincipalNamesRequest listServicePrincipalNamesRequest)
Lists the service principal names that the connector uses to authenticate with Active Directory.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags, if any, that are associated with your resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags, if any, that are associated with your resource.
|
default ListTemplateGroupAccessControlEntriesResponse |
listTemplateGroupAccessControlEntries(Consumer<ListTemplateGroupAccessControlEntriesRequest.Builder> listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
|
default ListTemplateGroupAccessControlEntriesResponse |
listTemplateGroupAccessControlEntries(ListTemplateGroupAccessControlEntriesRequest listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
|
default ListTemplateGroupAccessControlEntriesIterable |
listTemplateGroupAccessControlEntriesPaginator(Consumer<ListTemplateGroupAccessControlEntriesRequest.Builder> listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
|
default ListTemplateGroupAccessControlEntriesIterable |
listTemplateGroupAccessControlEntriesPaginator(ListTemplateGroupAccessControlEntriesRequest listTemplateGroupAccessControlEntriesRequest)
Lists group access control entries you created.
|
default ListTemplatesResponse |
listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
|
default ListTemplatesResponse |
listTemplates(ListTemplatesRequest listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
|
default ListTemplatesIterable |
listTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
|
default ListTemplatesIterable |
listTemplatesPaginator(ListTemplatesRequest listTemplatesRequest)
Lists the templates, if any, that are associated with a connector.
|
default PcaConnectorAdServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to your resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to your resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from your resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from your resource.
|
default UpdateTemplateResponse |
updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest)
Update template configuration to define the information included in certificates.
|
default UpdateTemplateResponse |
updateTemplate(UpdateTemplateRequest updateTemplateRequest)
Update template configuration to define the information included in certificates.
|
default UpdateTemplateGroupAccessControlEntryResponse |
updateTemplateGroupAccessControlEntry(Consumer<UpdateTemplateGroupAccessControlEntryRequest.Builder> updateTemplateGroupAccessControlEntryRequest)
Update a group access control entry you created using CreateTemplateGroupAccessControlEntry.
|
default UpdateTemplateGroupAccessControlEntryResponse |
updateTemplateGroupAccessControlEntry(UpdateTemplateGroupAccessControlEntryRequest updateTemplateGroupAccessControlEntryRequest)
Update a group access control entry you created using CreateTemplateGroupAccessControlEntry.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateConnectorResponse createConnector(CreateConnectorRequest createConnectorRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectorResponse createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDirectoryRegistrationResponse createDirectoryRegistration(CreateDirectoryRegistrationRequest createDirectoryRegistrationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an Active Directory
createDirectoryRegistrationRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDirectoryRegistrationResponse createDirectoryRegistration(Consumer<CreateDirectoryRegistrationRequest.Builder> createDirectoryRegistrationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServicePrincipalNameResponse createServicePrincipalName(CreateServicePrincipalNameRequest createServicePrincipalNameRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServicePrincipalNameResponse createServicePrincipalName(Consumer<CreateServicePrincipalNameRequest.Builder> createServicePrincipalNameRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTemplateResponse createTemplate(CreateTemplateRequest createTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Creates an Active Directory compatible certificate template. The connectors issues certificates using these templates based on the requester’s Active Directory group membership.
createTemplateRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTemplateResponse createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTemplateGroupAccessControlEntryResponse createTemplateGroupAccessControlEntry(CreateTemplateGroupAccessControlEntryRequest createTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTemplateGroupAccessControlEntryResponse createTemplateGroupAccessControlEntry(Consumer<CreateTemplateGroupAccessControlEntryRequest.Builder> createTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectorResponse deleteConnector(DeleteConnectorRequest deleteConnectorRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectorResponse deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDirectoryRegistrationResponse deleteDirectoryRegistration(DeleteDirectoryRegistrationRequest deleteDirectoryRegistrationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Deletes a directory registration. Deleting a directory registration deauthorizes Amazon Web Services Private CA with the directory.
deleteDirectoryRegistrationRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDirectoryRegistrationResponse deleteDirectoryRegistration(Consumer<DeleteDirectoryRegistrationRequest.Builder> deleteDirectoryRegistrationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServicePrincipalNameResponse deleteServicePrincipalName(DeleteServicePrincipalNameRequest deleteServicePrincipalNameRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
deleteServicePrincipalNameRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServicePrincipalNameResponse deleteServicePrincipalName(Consumer<DeleteServicePrincipalNameRequest.Builder> deleteServicePrincipalNameRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTemplateResponse deleteTemplate(DeleteTemplateRequest deleteTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Deletes a template. Certificates issued using the template are still valid until they are revoked or expired.
deleteTemplateRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTemplateResponse deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTemplateGroupAccessControlEntryResponse deleteTemplateGroupAccessControlEntry(DeleteTemplateGroupAccessControlEntryRequest deleteTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Deletes a group access control entry.
deleteTemplateGroupAccessControlEntryRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTemplateGroupAccessControlEntryResponse deleteTemplateGroupAccessControlEntry(Consumer<DeleteTemplateGroupAccessControlEntryRequest.Builder> deleteTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectorResponse getConnector(GetConnectorRequest getConnectorRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists information about your connector. You specify the connector on input by its ARN (Amazon Resource Name).
getConnectorRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectorResponse getConnector(Consumer<GetConnectorRequest.Builder> getConnectorRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDirectoryRegistrationResponse getDirectoryRegistration(GetDirectoryRegistrationRequest getDirectoryRegistrationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
A structure that contains information about your directory registration.
getDirectoryRegistrationRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDirectoryRegistrationResponse getDirectoryRegistration(Consumer<GetDirectoryRegistrationRequest.Builder> getDirectoryRegistrationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServicePrincipalNameResponse getServicePrincipalName(GetServicePrincipalNameRequest getServicePrincipalNameRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists the service principal name that the connector uses to authenticate with Active Directory.
getServicePrincipalNameRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServicePrincipalNameResponse getServicePrincipalName(Consumer<GetServicePrincipalNameRequest.Builder> getServicePrincipalNameRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTemplateResponse getTemplate(GetTemplateRequest getTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
getTemplateRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTemplateResponse getTemplate(Consumer<GetTemplateRequest.Builder> getTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTemplateGroupAccessControlEntryResponse getTemplateGroupAccessControlEntry(GetTemplateGroupAccessControlEntryRequest getTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Retrieves the group access control entries for a template.
getTemplateGroupAccessControlEntryRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTemplateGroupAccessControlEntryResponse getTemplateGroupAccessControlEntry(Consumer<GetTemplateGroupAccessControlEntryRequest.Builder> getTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsResponse listConnectors(ListConnectorsRequest listConnectorsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists the connectors that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector action.
listConnectorsRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsResponse listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsIterable listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsIterable responses = client
.listConnectorsPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.iterator().forEachRemaining(....);
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsIterable listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsIterable responses = client
.listConnectorsPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListConnectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.iterator().forEachRemaining(....);
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDirectoryRegistrationsResponse listDirectoryRegistrations(ListDirectoryRegistrationsRequest listDirectoryRegistrationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists the directory registrations that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration action.
listDirectoryRegistrationsRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDirectoryRegistrationsResponse listDirectoryRegistrations(Consumer<ListDirectoryRegistrationsRequest.Builder> listDirectoryRegistrationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDirectoryRegistrationsIterable listDirectoryRegistrationsPaginator(ListDirectoryRegistrationsRequest listDirectoryRegistrationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsIterable responses = client.listDirectoryRegistrationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsIterable responses = client
.listDirectoryRegistrationsPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsIterable responses = client.listDirectoryRegistrationsPaginator(request);
responses.iterator().forEachRemaining(....);
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDirectoryRegistrationsIterable listDirectoryRegistrationsPaginator(Consumer<ListDirectoryRegistrationsRequest.Builder> listDirectoryRegistrationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsIterable responses = client.listDirectoryRegistrationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsIterable responses = client
.listDirectoryRegistrationsPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListDirectoryRegistrationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListDirectoryRegistrationsIterable responses = client.listDirectoryRegistrationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicePrincipalNamesResponse listServicePrincipalNames(ListServicePrincipalNamesRequest listServicePrincipalNamesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists the service principal names that the connector uses to authenticate with Active Directory.
listServicePrincipalNamesRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicePrincipalNamesResponse listServicePrincipalNames(Consumer<ListServicePrincipalNamesRequest.Builder> listServicePrincipalNamesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicePrincipalNamesIterable listServicePrincipalNamesPaginator(ListServicePrincipalNamesRequest listServicePrincipalNamesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesIterable responses = client.listServicePrincipalNamesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesIterable responses = client
.listServicePrincipalNamesPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesIterable responses = client.listServicePrincipalNamesPaginator(request);
responses.iterator().forEachRemaining(....);
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicePrincipalNamesIterable listServicePrincipalNamesPaginator(Consumer<ListServicePrincipalNamesRequest.Builder> listServicePrincipalNamesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesIterable responses = client.listServicePrincipalNamesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesIterable responses = client
.listServicePrincipalNamesPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListServicePrincipalNamesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListServicePrincipalNamesIterable responses = client.listServicePrincipalNamesPaginator(request);
responses.iterator().forEachRemaining(....);
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists the tags, if any, that are associated with your resource.
listTagsForResourceRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplateGroupAccessControlEntriesResponse listTemplateGroupAccessControlEntries(ListTemplateGroupAccessControlEntriesRequest listTemplateGroupAccessControlEntriesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists group access control entries you created.
listTemplateGroupAccessControlEntriesRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplateGroupAccessControlEntriesResponse listTemplateGroupAccessControlEntries(Consumer<ListTemplateGroupAccessControlEntriesRequest.Builder> listTemplateGroupAccessControlEntriesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplateGroupAccessControlEntriesIterable listTemplateGroupAccessControlEntriesPaginator(ListTemplateGroupAccessControlEntriesRequest listTemplateGroupAccessControlEntriesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesIterable responses = client.listTemplateGroupAccessControlEntriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesIterable responses = client
.listTemplateGroupAccessControlEntriesPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesIterable responses = client.listTemplateGroupAccessControlEntriesPaginator(request);
responses.iterator().forEachRemaining(....);
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplateGroupAccessControlEntriesIterable listTemplateGroupAccessControlEntriesPaginator(Consumer<ListTemplateGroupAccessControlEntriesRequest.Builder> listTemplateGroupAccessControlEntriesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesIterable responses = client.listTemplateGroupAccessControlEntriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesIterable responses = client
.listTemplateGroupAccessControlEntriesPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListTemplateGroupAccessControlEntriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplateGroupAccessControlEntriesIterable responses = client.listTemplateGroupAccessControlEntriesPaginator(request);
responses.iterator().forEachRemaining(....);
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplatesResponse listTemplates(ListTemplatesRequest listTemplatesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Lists the templates, if any, that are associated with a connector.
listTemplatesRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplatesResponse listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplatesIterable listTemplatesPaginator(ListTemplatesRequest listTemplatesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesIterable responses = client.listTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesIterable responses = client
.listTemplatesPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesIterable responses = client.listTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
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 - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTemplatesIterable listTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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 iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesIterable responses = client.listTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesIterable responses = client
.listTemplatesPaginator(request);
for (software.amazon.awssdk.services.pcaconnectorad.model.ListTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.pcaconnectorad.paginators.ListTemplatesIterable responses = client.listTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Adds one or more tags to your resource.
tagResourceRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
Removes one or more tags from your resource.
untagResourceRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTemplateResponse updateTemplate(UpdateTemplateRequest updateTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Update template configuration to define the information included in certificates.
updateTemplateRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTemplateResponse updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTemplateGroupAccessControlEntryResponse updateTemplateGroupAccessControlEntry(UpdateTemplateGroupAccessControlEntryRequest updateTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
Update a group access control entry you created using CreateTemplateGroupAccessControlEntry.
updateTemplateGroupAccessControlEntryRequest - AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTemplateGroupAccessControlEntryResponse updateTemplateGroupAccessControlEntry(Consumer<UpdateTemplateGroupAccessControlEntryRequest.Builder> updateTemplateGroupAccessControlEntryRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, PcaConnectorAdException
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.AccessDeniedException - You can receive this error if you attempt to create a resource share when you don't have the required
permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web
Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in
place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web
Services account.ValidationException - An input validation error occurred. For example, invalid characters in a template name, or if a
pagination token is invalid.ResourceNotFoundException - The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
its status might not be ACTIVE.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request processing has failed because of an unknown error, exception or failure with an internal
server.ConflictException - This request cannot be completed for one of the following reasons because the requested resource was
being concurrently modified by another request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.PcaConnectorAdException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic PcaConnectorAdClient create()
PcaConnectorAdClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static PcaConnectorAdClientBuilder builder()
PcaConnectorAdClient.static ServiceMetadata serviceMetadata()
default PcaConnectorAdServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.