Interface AcmAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface AcmAsyncClient extends AwsClient
Service client for accessing ACM asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

Certificate Manager

You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites and applications. For more information about using ACM, see the Certificate Manager User Guide.

  • Field Details

  • Method Details

    • addTagsToCertificate

      default CompletableFuture<AddTagsToCertificateResponse> addTagsToCertificate(AddTagsToCertificateRequest addTagsToCertificateRequest)

      Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair.

      This action applies only to the certificate resource type. For all other ACM resource types, use TagResource instead.

      You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates.

      To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.

      Parameters:
      addTagsToCertificateRequest -
      Returns:
      A Java Future containing the result of the AddTagsToCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addTagsToCertificate

      default CompletableFuture<AddTagsToCertificateResponse> addTagsToCertificate(Consumer<AddTagsToCertificateRequest.Builder> addTagsToCertificateRequest)

      Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair.

      This action applies only to the certificate resource type. For all other ACM resource types, use TagResource instead.

      You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates.

      To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.


      This is a convenience which creates an instance of the AddTagsToCertificateRequest.Builder avoiding the need to create one manually via AddTagsToCertificateRequest.builder()

      Parameters:
      addTagsToCertificateRequest - A Consumer that will call methods on AddTagsToCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddTagsToCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAcmeDomainValidation

      default CompletableFuture<CreateAcmeDomainValidationResponse> createAcmeDomainValidation(CreateAcmeDomainValidationRequest createAcmeDomainValidationRequest)

      Creates a domain validation for an ACME endpoint. Domain validations authorize the endpoint to issue certificates for specified domain names. You configure prevalidation to prove domain ownership.

      Parameters:
      createAcmeDomainValidationRequest -
      Returns:
      A Java Future containing the result of the CreateAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAcmeDomainValidation

      default CompletableFuture<CreateAcmeDomainValidationResponse> createAcmeDomainValidation(Consumer<CreateAcmeDomainValidationRequest.Builder> createAcmeDomainValidationRequest)

      Creates a domain validation for an ACME endpoint. Domain validations authorize the endpoint to issue certificates for specified domain names. You configure prevalidation to prove domain ownership.


      This is a convenience which creates an instance of the CreateAcmeDomainValidationRequest.Builder avoiding the need to create one manually via CreateAcmeDomainValidationRequest.builder()

      Parameters:
      createAcmeDomainValidationRequest - A Consumer that will call methods on CreateAcmeDomainValidationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAcmeEndpoint

      default CompletableFuture<CreateAcmeEndpointResponse> createAcmeEndpoint(CreateAcmeEndpointRequest createAcmeEndpointRequest)

      Creates an ACME endpoint, which is a managed ACME server with a unique endpoint URL. After creation, ACME clients can use the endpoint URL to automate certificate issuance using the ACME protocol.

      Parameters:
      createAcmeEndpointRequest -
      Returns:
      A Java Future containing the result of the CreateAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAcmeEndpoint

      default CompletableFuture<CreateAcmeEndpointResponse> createAcmeEndpoint(Consumer<CreateAcmeEndpointRequest.Builder> createAcmeEndpointRequest)

      Creates an ACME endpoint, which is a managed ACME server with a unique endpoint URL. After creation, ACME clients can use the endpoint URL to automate certificate issuance using the ACME protocol.


      This is a convenience which creates an instance of the CreateAcmeEndpointRequest.Builder avoiding the need to create one manually via CreateAcmeEndpointRequest.builder()

      Parameters:
      createAcmeEndpointRequest - A Consumer that will call methods on CreateAcmeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAcmeExternalAccountBinding

      default CompletableFuture<CreateAcmeExternalAccountBindingResponse> createAcmeExternalAccountBinding(CreateAcmeExternalAccountBindingRequest createAcmeExternalAccountBindingRequest)

      Creates an external account binding (EAB) for an ACME endpoint. An EAB provides credentials that authorize an ACME client to register an account with the endpoint. Each EAB is associated with an IAM role that controls what certificate operations the ACME client can perform.

      Parameters:
      createAcmeExternalAccountBindingRequest -
      Returns:
      A Java Future containing the result of the CreateAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAcmeExternalAccountBinding

      default CompletableFuture<CreateAcmeExternalAccountBindingResponse> createAcmeExternalAccountBinding(Consumer<CreateAcmeExternalAccountBindingRequest.Builder> createAcmeExternalAccountBindingRequest)

      Creates an external account binding (EAB) for an ACME endpoint. An EAB provides credentials that authorize an ACME client to register an account with the endpoint. Each EAB is associated with an IAM role that controls what certificate operations the ACME client can perform.


      This is a convenience which creates an instance of the CreateAcmeExternalAccountBindingRequest.Builder avoiding the need to create one manually via CreateAcmeExternalAccountBindingRequest.builder()

      Parameters:
      createAcmeExternalAccountBindingRequest - A Consumer that will call methods on CreateAcmeExternalAccountBindingRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAcmeDomainValidation

      default CompletableFuture<DeleteAcmeDomainValidationResponse> deleteAcmeDomainValidation(DeleteAcmeDomainValidationRequest deleteAcmeDomainValidationRequest)

      Deletes a domain validation. After deletion, the ACME endpoint can no longer issue certificates for the associated domain.

      Parameters:
      deleteAcmeDomainValidationRequest -
      Returns:
      A Java Future containing the result of the DeleteAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAcmeDomainValidation

      default CompletableFuture<DeleteAcmeDomainValidationResponse> deleteAcmeDomainValidation(Consumer<DeleteAcmeDomainValidationRequest.Builder> deleteAcmeDomainValidationRequest)

      Deletes a domain validation. After deletion, the ACME endpoint can no longer issue certificates for the associated domain.


      This is a convenience which creates an instance of the DeleteAcmeDomainValidationRequest.Builder avoiding the need to create one manually via DeleteAcmeDomainValidationRequest.builder()

      Parameters:
      deleteAcmeDomainValidationRequest - A Consumer that will call methods on DeleteAcmeDomainValidationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAcmeEndpoint

      default CompletableFuture<DeleteAcmeEndpointResponse> deleteAcmeEndpoint(DeleteAcmeEndpointRequest deleteAcmeEndpointRequest)

      Deletes an ACME endpoint. After deletion, the endpoint URL is no longer accessible and ACME clients cannot issue certificates through it. Any existing external account bindings and domain validations associated with the endpoint are also deleted.

      Parameters:
      deleteAcmeEndpointRequest -
      Returns:
      A Java Future containing the result of the DeleteAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAcmeEndpoint

      default CompletableFuture<DeleteAcmeEndpointResponse> deleteAcmeEndpoint(Consumer<DeleteAcmeEndpointRequest.Builder> deleteAcmeEndpointRequest)

      Deletes an ACME endpoint. After deletion, the endpoint URL is no longer accessible and ACME clients cannot issue certificates through it. Any existing external account bindings and domain validations associated with the endpoint are also deleted.


      This is a convenience which creates an instance of the DeleteAcmeEndpointRequest.Builder avoiding the need to create one manually via DeleteAcmeEndpointRequest.builder()

      Parameters:
      deleteAcmeEndpointRequest - A Consumer that will call methods on DeleteAcmeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAcmeExternalAccountBinding

      default CompletableFuture<DeleteAcmeExternalAccountBindingResponse> deleteAcmeExternalAccountBinding(DeleteAcmeExternalAccountBindingRequest deleteAcmeExternalAccountBindingRequest)

      Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.

      Parameters:
      deleteAcmeExternalAccountBindingRequest -
      Returns:
      A Java Future containing the result of the DeleteAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAcmeExternalAccountBinding

      default CompletableFuture<DeleteAcmeExternalAccountBindingResponse> deleteAcmeExternalAccountBinding(Consumer<DeleteAcmeExternalAccountBindingRequest.Builder> deleteAcmeExternalAccountBindingRequest)

      Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.


      This is a convenience which creates an instance of the DeleteAcmeExternalAccountBindingRequest.Builder avoiding the need to create one manually via DeleteAcmeExternalAccountBindingRequest.builder()

      Parameters:
      deleteAcmeExternalAccountBindingRequest - A Consumer that will call methods on DeleteAcmeExternalAccountBindingRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCertificate

      default CompletableFuture<DeleteCertificateResponse> deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)

      Deletes a certificate and its associated private key. If this action succeeds, the certificate is not available for use by Amazon Web Services services integrated with ACM. Deleting a certificate is eventually consistent. The may be a short delay before the certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action.

      You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To delete a certificate that is in use, you must first remove the certificate association using the console or the CLI for the associated service.

      Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see Deleting Your Private CA in the Private Certificate Authority User Guide.

      You cannot delete a certificate with a CertificateKeyPairOrigin of ACME. ACM automatically deletes these certificates 1 year after they expire.

      Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see Deleting your private CA in the Amazon Web Services Private Certificate Authority User Guide.

      Parameters:
      deleteCertificateRequest -
      Returns:
      A Java Future containing the result of the DeleteCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceInUseException The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCertificate

      default CompletableFuture<DeleteCertificateResponse> deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest)

      Deletes a certificate and its associated private key. If this action succeeds, the certificate is not available for use by Amazon Web Services services integrated with ACM. Deleting a certificate is eventually consistent. The may be a short delay before the certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action.

      You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To delete a certificate that is in use, you must first remove the certificate association using the console or the CLI for the associated service.

      Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see Deleting Your Private CA in the Private Certificate Authority User Guide.

      You cannot delete a certificate with a CertificateKeyPairOrigin of ACME. ACM automatically deletes these certificates 1 year after they expire.

      Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see Deleting your private CA in the Amazon Web Services Private Certificate Authority User Guide.


      This is a convenience which creates an instance of the DeleteCertificateRequest.Builder avoiding the need to create one manually via DeleteCertificateRequest.builder()

      Parameters:
      deleteCertificateRequest - A Consumer that will call methods on DeleteCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceInUseException The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeAccount

      default CompletableFuture<DescribeAcmeAccountResponse> describeAcmeAccount(DescribeAcmeAccountRequest describeAcmeAccountRequest)

      Returns detailed metadata about the specified ACME account, including its status, public key thumbprint, and associated external account binding.

      Parameters:
      describeAcmeAccountRequest -
      Returns:
      A Java Future containing the result of the DescribeAcmeAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeAccount

      default CompletableFuture<DescribeAcmeAccountResponse> describeAcmeAccount(Consumer<DescribeAcmeAccountRequest.Builder> describeAcmeAccountRequest)

      Returns detailed metadata about the specified ACME account, including its status, public key thumbprint, and associated external account binding.


      This is a convenience which creates an instance of the DescribeAcmeAccountRequest.Builder avoiding the need to create one manually via DescribeAcmeAccountRequest.builder()

      Parameters:
      describeAcmeAccountRequest - A Consumer that will call methods on DescribeAcmeAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAcmeAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeDomainValidation

      default CompletableFuture<DescribeAcmeDomainValidationResponse> describeAcmeDomainValidation(DescribeAcmeDomainValidationRequest describeAcmeDomainValidationRequest)

      Returns detailed metadata about the specified domain validation, including its status, domain scope, and DNS resource records required for validation.

      Parameters:
      describeAcmeDomainValidationRequest -
      Returns:
      A Java Future containing the result of the DescribeAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeDomainValidation

      default CompletableFuture<DescribeAcmeDomainValidationResponse> describeAcmeDomainValidation(Consumer<DescribeAcmeDomainValidationRequest.Builder> describeAcmeDomainValidationRequest)

      Returns detailed metadata about the specified domain validation, including its status, domain scope, and DNS resource records required for validation.


      This is a convenience which creates an instance of the DescribeAcmeDomainValidationRequest.Builder avoiding the need to create one manually via DescribeAcmeDomainValidationRequest.builder()

      Parameters:
      describeAcmeDomainValidationRequest - A Consumer that will call methods on DescribeAcmeDomainValidationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeEndpoint

      default CompletableFuture<DescribeAcmeEndpointResponse> describeAcmeEndpoint(DescribeAcmeEndpointRequest describeAcmeEndpointRequest)

      Returns detailed metadata about the specified ACME endpoint, including its status, URL, authorization behavior, and certificate authority configuration.

      Parameters:
      describeAcmeEndpointRequest -
      Returns:
      A Java Future containing the result of the DescribeAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeEndpoint

      default CompletableFuture<DescribeAcmeEndpointResponse> describeAcmeEndpoint(Consumer<DescribeAcmeEndpointRequest.Builder> describeAcmeEndpointRequest)

      Returns detailed metadata about the specified ACME endpoint, including its status, URL, authorization behavior, and certificate authority configuration.


      This is a convenience which creates an instance of the DescribeAcmeEndpointRequest.Builder avoiding the need to create one manually via DescribeAcmeEndpointRequest.builder()

      Parameters:
      describeAcmeEndpointRequest - A Consumer that will call methods on DescribeAcmeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeExternalAccountBinding

      default CompletableFuture<DescribeAcmeExternalAccountBindingResponse> describeAcmeExternalAccountBinding(DescribeAcmeExternalAccountBindingRequest describeAcmeExternalAccountBindingRequest)

      Returns detailed metadata about the specified external account binding, including the associated IAM role, expiration time, and usage history.

      Parameters:
      describeAcmeExternalAccountBindingRequest -
      Returns:
      A Java Future containing the result of the DescribeAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAcmeExternalAccountBinding

      default CompletableFuture<DescribeAcmeExternalAccountBindingResponse> describeAcmeExternalAccountBinding(Consumer<DescribeAcmeExternalAccountBindingRequest.Builder> describeAcmeExternalAccountBindingRequest)

      Returns detailed metadata about the specified external account binding, including the associated IAM role, expiration time, and usage history.


      This is a convenience which creates an instance of the DescribeAcmeExternalAccountBindingRequest.Builder avoiding the need to create one manually via DescribeAcmeExternalAccountBindingRequest.builder()

      Parameters:
      describeAcmeExternalAccountBindingRequest - A Consumer that will call methods on DescribeAcmeExternalAccountBindingRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeCertificate

      default CompletableFuture<DescribeCertificateResponse> describeCertificate(DescribeCertificateRequest describeCertificateRequest)

      Returns detailed metadata about the specified ACM certificate.

      If you have just created a certificate using the RequestCertificate action, there is a delay of several seconds before you can retrieve information about it.

      Parameters:
      describeCertificateRequest -
      Returns:
      A Java Future containing the result of the DescribeCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeCertificate

      default CompletableFuture<DescribeCertificateResponse> describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest)

      Returns detailed metadata about the specified ACM certificate.

      If you have just created a certificate using the RequestCertificate action, there is a delay of several seconds before you can retrieve information about it.


      This is a convenience which creates an instance of the DescribeCertificateRequest.Builder avoiding the need to create one manually via DescribeCertificateRequest.builder()

      Parameters:
      describeCertificateRequest - A Consumer that will call methods on DescribeCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • exportCertificate

      default CompletableFuture<ExportCertificateResponse> exportCertificate(ExportCertificateRequest exportCertificateRequest)

      Exports a private certificate issued by a private certificate authority (CA) or a public certificate for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it.

      For information about exporting and formatting a certificate using the ACM console or CLI, see Export a private certificate and Export a public certificate.

      ACM public certificates created prior to June 17, 2025 cannot be exported.

      Parameters:
      exportCertificateRequest -
      Returns:
      A Java Future containing the result of the ExportCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • exportCertificate

      default CompletableFuture<ExportCertificateResponse> exportCertificate(Consumer<ExportCertificateRequest.Builder> exportCertificateRequest)

      Exports a private certificate issued by a private certificate authority (CA) or a public certificate for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it.

      For information about exporting and formatting a certificate using the ACM console or CLI, see Export a private certificate and Export a public certificate.

      ACM public certificates created prior to June 17, 2025 cannot be exported.


      This is a convenience which creates an instance of the ExportCertificateRequest.Builder avoiding the need to create one manually via ExportCertificateRequest.builder()

      Parameters:
      exportCertificateRequest - A Consumer that will call methods on ExportCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ExportCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccountConfiguration

      default CompletableFuture<GetAccountConfigurationResponse> getAccountConfiguration(GetAccountConfigurationRequest getAccountConfigurationRequest)

      Returns the account configuration options associated with an Amazon Web Services account.

      Parameters:
      getAccountConfigurationRequest -
      Returns:
      A Java Future containing the result of the GetAccountConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException You do not have access required to perform this action.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccountConfiguration

      default CompletableFuture<GetAccountConfigurationResponse> getAccountConfiguration(Consumer<GetAccountConfigurationRequest.Builder> getAccountConfigurationRequest)

      Returns the account configuration options associated with an Amazon Web Services account.


      This is a convenience which creates an instance of the GetAccountConfigurationRequest.Builder avoiding the need to create one manually via GetAccountConfigurationRequest.builder()

      Parameters:
      getAccountConfigurationRequest - A Consumer that will call methods on GetAccountConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccountConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException You do not have access required to perform this action.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAcmeExternalAccountBindingCredentials

      default CompletableFuture<GetAcmeExternalAccountBindingCredentialsResponse> getAcmeExternalAccountBindingCredentials(GetAcmeExternalAccountBindingCredentialsRequest getAcmeExternalAccountBindingCredentialsRequest)

      Retrieves the key ID and MAC key credentials for an external account binding. These credentials are used by ACME clients during account registration to bind to the endpoint.

      Parameters:
      getAcmeExternalAccountBindingCredentialsRequest -
      Returns:
      A Java Future containing the result of the GetAcmeExternalAccountBindingCredentials operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAcmeExternalAccountBindingCredentials

      default CompletableFuture<GetAcmeExternalAccountBindingCredentialsResponse> getAcmeExternalAccountBindingCredentials(Consumer<GetAcmeExternalAccountBindingCredentialsRequest.Builder> getAcmeExternalAccountBindingCredentialsRequest)

      Retrieves the key ID and MAC key credentials for an external account binding. These credentials are used by ACME clients during account registration to bind to the endpoint.


      This is a convenience which creates an instance of the GetAcmeExternalAccountBindingCredentialsRequest.Builder avoiding the need to create one manually via GetAcmeExternalAccountBindingCredentialsRequest.builder()

      Parameters:
      getAcmeExternalAccountBindingCredentialsRequest - A Consumer that will call methods on GetAcmeExternalAccountBindingCredentialsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAcmeExternalAccountBindingCredentials operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCertificate

      default CompletableFuture<GetCertificateResponse> getCertificate(GetCertificateRequest getCertificateRequest)

      Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM RequestCertificate action, or a certificate imported into ACM using the ImportCertificate action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode the certificates and inspect individual fields.

      Parameters:
      getCertificateRequest -
      Returns:
      A Java Future containing the result of the GetCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCertificate

      default CompletableFuture<GetCertificateResponse> getCertificate(Consumer<GetCertificateRequest.Builder> getCertificateRequest)

      Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM RequestCertificate action, or a certificate imported into ACM using the ImportCertificate action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode the certificates and inspect individual fields.


      This is a convenience which creates an instance of the GetCertificateRequest.Builder avoiding the need to create one manually via GetCertificateRequest.builder()

      Parameters:
      getCertificateRequest - A Consumer that will call methods on GetCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importCertificate

      default CompletableFuture<ImportCertificateResponse> importCertificate(ImportCertificateRequest importCertificateRequest)

      Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM. Note that integrated services allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see Importing Certificates in the Certificate Manager User Guide.

      ACM does not provide managed renewal for certificates that you import.

      Note the following guidelines when importing third party certificates:

      • You must enter the private key that matches the certificate you are importing.

      • The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.

      • The private key must be no larger than 5 KB (5,120 bytes).

      • The certificate, private key, and certificate chain must be PEM-encoded.

      • The current time must be between the Not Before and Not After certificate fields.

      • The Issuer field must not be empty.

      • The OCSP authority URL, if present, must not exceed 1000 characters.

      • To import a new certificate, omit the CertificateArn argument. Include this argument only when you want to replace a previously imported certificate.

      • When you import a certificate by using the CLI, you must specify the certificate, the certificate chain, and the private key by their file names preceded by fileb://. For example, you can specify a certificate saved in the C:\temp folder as fileb://C:\temp\certificate_to_import.pem. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.

      • When you import a certificate by using an SDK, you must specify the certificate, the certificate chain, and the private key files in the manner required by the programming language you're using.

      • The cryptographic algorithm of an imported certificate must match the algorithm of the signing CA. For example, if the signing CA key type is RSA, then the certificate key type must also be RSA.

      This operation returns the Amazon Resource Name (ARN) of the imported certificate.

      Parameters:
      importCertificateRequest -
      Returns:
      A Java Future containing the result of the ImportCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • LimitExceededException An ACM quota has been exceeded.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importCertificate

      default CompletableFuture<ImportCertificateResponse> importCertificate(Consumer<ImportCertificateRequest.Builder> importCertificateRequest)

      Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM. Note that integrated services allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see Importing Certificates in the Certificate Manager User Guide.

      ACM does not provide managed renewal for certificates that you import.

      Note the following guidelines when importing third party certificates:

      • You must enter the private key that matches the certificate you are importing.

      • The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.

      • The private key must be no larger than 5 KB (5,120 bytes).

      • The certificate, private key, and certificate chain must be PEM-encoded.

      • The current time must be between the Not Before and Not After certificate fields.

      • The Issuer field must not be empty.

      • The OCSP authority URL, if present, must not exceed 1000 characters.

      • To import a new certificate, omit the CertificateArn argument. Include this argument only when you want to replace a previously imported certificate.

      • When you import a certificate by using the CLI, you must specify the certificate, the certificate chain, and the private key by their file names preceded by fileb://. For example, you can specify a certificate saved in the C:\temp folder as fileb://C:\temp\certificate_to_import.pem. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.

      • When you import a certificate by using an SDK, you must specify the certificate, the certificate chain, and the private key files in the manner required by the programming language you're using.

      • The cryptographic algorithm of an imported certificate must match the algorithm of the signing CA. For example, if the signing CA key type is RSA, then the certificate key type must also be RSA.

      This operation returns the Amazon Resource Name (ARN) of the imported certificate.


      This is a convenience which creates an instance of the ImportCertificateRequest.Builder avoiding the need to create one manually via ImportCertificateRequest.builder()

      Parameters:
      importCertificateRequest - A Consumer that will call methods on ImportCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ImportCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • LimitExceededException An ACM quota has been exceeded.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeAccounts

      default CompletableFuture<ListAcmeAccountsResponse> listAcmeAccounts(ListAcmeAccountsRequest listAcmeAccountsRequest)

      Retrieves a list of ACME accounts registered with the specified ACME endpoint. ACME accounts are created when clients use external account binding credentials to register.

      Parameters:
      listAcmeAccountsRequest -
      Returns:
      A Java Future containing the result of the ListAcmeAccounts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeAccounts

      default CompletableFuture<ListAcmeAccountsResponse> listAcmeAccounts(Consumer<ListAcmeAccountsRequest.Builder> listAcmeAccountsRequest)

      Retrieves a list of ACME accounts registered with the specified ACME endpoint. ACME accounts are created when clients use external account binding credentials to register.


      This is a convenience which creates an instance of the ListAcmeAccountsRequest.Builder avoiding the need to create one manually via ListAcmeAccountsRequest.builder()

      Parameters:
      listAcmeAccountsRequest - A Consumer that will call methods on ListAcmeAccountsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAcmeAccounts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeAccountsPaginator

      default ListAcmeAccountsPublisher listAcmeAccountsPaginator(ListAcmeAccountsRequest listAcmeAccountsRequest)

      This is a variant of listAcmeAccounts(software.amazon.awssdk.services.acm.model.ListAcmeAccountsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeAccounts(software.amazon.awssdk.services.acm.model.ListAcmeAccountsRequest) operation.

      Parameters:
      listAcmeAccountsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeAccountsPaginator

      default ListAcmeAccountsPublisher listAcmeAccountsPaginator(Consumer<ListAcmeAccountsRequest.Builder> listAcmeAccountsRequest)

      This is a variant of listAcmeAccounts(software.amazon.awssdk.services.acm.model.ListAcmeAccountsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeAccounts(software.amazon.awssdk.services.acm.model.ListAcmeAccountsRequest) operation.


      This is a convenience which creates an instance of the ListAcmeAccountsRequest.Builder avoiding the need to create one manually via ListAcmeAccountsRequest.builder()

      Parameters:
      listAcmeAccountsRequest - A Consumer that will call methods on ListAcmeAccountsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeDomainValidations

      default CompletableFuture<ListAcmeDomainValidationsResponse> listAcmeDomainValidations(ListAcmeDomainValidationsRequest listAcmeDomainValidationsRequest)

      Retrieves a list of domain validations for the specified ACME endpoint.

      Parameters:
      listAcmeDomainValidationsRequest -
      Returns:
      A Java Future containing the result of the ListAcmeDomainValidations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeDomainValidations

      default CompletableFuture<ListAcmeDomainValidationsResponse> listAcmeDomainValidations(Consumer<ListAcmeDomainValidationsRequest.Builder> listAcmeDomainValidationsRequest)

      Retrieves a list of domain validations for the specified ACME endpoint.


      This is a convenience which creates an instance of the ListAcmeDomainValidationsRequest.Builder avoiding the need to create one manually via ListAcmeDomainValidationsRequest.builder()

      Parameters:
      listAcmeDomainValidationsRequest - A Consumer that will call methods on ListAcmeDomainValidationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAcmeDomainValidations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeDomainValidationsPaginator

      default ListAcmeDomainValidationsPublisher listAcmeDomainValidationsPaginator(ListAcmeDomainValidationsRequest listAcmeDomainValidationsRequest)

      This is a variant of listAcmeDomainValidations(software.amazon.awssdk.services.acm.model.ListAcmeDomainValidationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeDomainValidations(software.amazon.awssdk.services.acm.model.ListAcmeDomainValidationsRequest) operation.

      Parameters:
      listAcmeDomainValidationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeDomainValidationsPaginator

      default ListAcmeDomainValidationsPublisher listAcmeDomainValidationsPaginator(Consumer<ListAcmeDomainValidationsRequest.Builder> listAcmeDomainValidationsRequest)

      This is a variant of listAcmeDomainValidations(software.amazon.awssdk.services.acm.model.ListAcmeDomainValidationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeDomainValidations(software.amazon.awssdk.services.acm.model.ListAcmeDomainValidationsRequest) operation.


      This is a convenience which creates an instance of the ListAcmeDomainValidationsRequest.Builder avoiding the need to create one manually via ListAcmeDomainValidationsRequest.builder()

      Parameters:
      listAcmeDomainValidationsRequest - A Consumer that will call methods on ListAcmeDomainValidationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeEndpoints

      default CompletableFuture<ListAcmeEndpointsResponse> listAcmeEndpoints(ListAcmeEndpointsRequest listAcmeEndpointsRequest)

      Retrieves a list of ACME endpoints in your account. Use this operation to view all configured ACME endpoints and their current status.

      Parameters:
      listAcmeEndpointsRequest -
      Returns:
      A Java Future containing the result of the ListAcmeEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeEndpoints

      default CompletableFuture<ListAcmeEndpointsResponse> listAcmeEndpoints(Consumer<ListAcmeEndpointsRequest.Builder> listAcmeEndpointsRequest)

      Retrieves a list of ACME endpoints in your account. Use this operation to view all configured ACME endpoints and their current status.


      This is a convenience which creates an instance of the ListAcmeEndpointsRequest.Builder avoiding the need to create one manually via ListAcmeEndpointsRequest.builder()

      Parameters:
      listAcmeEndpointsRequest - A Consumer that will call methods on ListAcmeEndpointsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAcmeEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeEndpointsPaginator

      default ListAcmeEndpointsPublisher listAcmeEndpointsPaginator(ListAcmeEndpointsRequest listAcmeEndpointsRequest)

      This is a variant of listAcmeEndpoints(software.amazon.awssdk.services.acm.model.ListAcmeEndpointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeEndpoints(software.amazon.awssdk.services.acm.model.ListAcmeEndpointsRequest) operation.

      Parameters:
      listAcmeEndpointsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeEndpointsPaginator

      default ListAcmeEndpointsPublisher listAcmeEndpointsPaginator(Consumer<ListAcmeEndpointsRequest.Builder> listAcmeEndpointsRequest)

      This is a variant of listAcmeEndpoints(software.amazon.awssdk.services.acm.model.ListAcmeEndpointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeEndpoints(software.amazon.awssdk.services.acm.model.ListAcmeEndpointsRequest) operation.


      This is a convenience which creates an instance of the ListAcmeEndpointsRequest.Builder avoiding the need to create one manually via ListAcmeEndpointsRequest.builder()

      Parameters:
      listAcmeEndpointsRequest - A Consumer that will call methods on ListAcmeEndpointsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeExternalAccountBindings

      default CompletableFuture<ListAcmeExternalAccountBindingsResponse> listAcmeExternalAccountBindings(ListAcmeExternalAccountBindingsRequest listAcmeExternalAccountBindingsRequest)

      Retrieves a list of external account bindings for the specified ACME endpoint.

      Parameters:
      listAcmeExternalAccountBindingsRequest -
      Returns:
      A Java Future containing the result of the ListAcmeExternalAccountBindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeExternalAccountBindings

      default CompletableFuture<ListAcmeExternalAccountBindingsResponse> listAcmeExternalAccountBindings(Consumer<ListAcmeExternalAccountBindingsRequest.Builder> listAcmeExternalAccountBindingsRequest)

      Retrieves a list of external account bindings for the specified ACME endpoint.


      This is a convenience which creates an instance of the ListAcmeExternalAccountBindingsRequest.Builder avoiding the need to create one manually via ListAcmeExternalAccountBindingsRequest.builder()

      Parameters:
      listAcmeExternalAccountBindingsRequest - A Consumer that will call methods on ListAcmeExternalAccountBindingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAcmeExternalAccountBindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeExternalAccountBindingsPaginator

      default ListAcmeExternalAccountBindingsPublisher listAcmeExternalAccountBindingsPaginator(ListAcmeExternalAccountBindingsRequest listAcmeExternalAccountBindingsRequest)

      This is a variant of listAcmeExternalAccountBindings(software.amazon.awssdk.services.acm.model.ListAcmeExternalAccountBindingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeExternalAccountBindings(software.amazon.awssdk.services.acm.model.ListAcmeExternalAccountBindingsRequest) operation.

      Parameters:
      listAcmeExternalAccountBindingsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAcmeExternalAccountBindingsPaginator

      default ListAcmeExternalAccountBindingsPublisher listAcmeExternalAccountBindingsPaginator(Consumer<ListAcmeExternalAccountBindingsRequest.Builder> listAcmeExternalAccountBindingsRequest)

      This is a variant of listAcmeExternalAccountBindings(software.amazon.awssdk.services.acm.model.ListAcmeExternalAccountBindingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listAcmeExternalAccountBindings(software.amazon.awssdk.services.acm.model.ListAcmeExternalAccountBindingsRequest) operation.


      This is a convenience which creates an instance of the ListAcmeExternalAccountBindingsRequest.Builder avoiding the need to create one manually via ListAcmeExternalAccountBindingsRequest.builder()

      Parameters:
      listAcmeExternalAccountBindingsRequest - A Consumer that will call methods on ListAcmeExternalAccountBindingsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificates

      default CompletableFuture<ListCertificatesResponse> listCertificates(ListCertificatesRequest listCertificatesRequest)

      Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048 certificates. For more information, see Filters.

      By default, this action does not return certificates with a CertificateKeyPairOrigin of ACME. To include ACME certificates, specify ACME in the CertificateKeyPairOrigins filter.

      Parameters:
      listCertificatesRequest -
      Returns:
      A Java Future containing the result of the ListCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArgsException One or more of request parameters specified is not valid.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificates

      default CompletableFuture<ListCertificatesResponse> listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)

      Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048 certificates. For more information, see Filters.

      By default, this action does not return certificates with a CertificateKeyPairOrigin of ACME. To include ACME certificates, specify ACME in the CertificateKeyPairOrigins filter.


      This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need to create one manually via ListCertificatesRequest.builder()

      Parameters:
      listCertificatesRequest - A Consumer that will call methods on ListCertificatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArgsException One or more of request parameters specified is not valid.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificates

      default CompletableFuture<ListCertificatesResponse> listCertificates()

      Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048 certificates. For more information, see Filters.

      By default, this action does not return certificates with a CertificateKeyPairOrigin of ACME. To include ACME certificates, specify ACME in the CertificateKeyPairOrigins filter.

      Returns:
      A Java Future containing the result of the ListCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArgsException One or more of request parameters specified is not valid.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificatesPaginator

      default ListCertificatesPublisher listCertificatesPaginator()

      This is a variant of listCertificates(software.amazon.awssdk.services.acm.model.ListCertificatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

      Please notice that the configuration of MaxItems 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 listCertificates(software.amazon.awssdk.services.acm.model.ListCertificatesRequest) operation.

      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArgsException One or more of request parameters specified is not valid.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificatesPaginator

      default ListCertificatesPublisher listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest)

      This is a variant of listCertificates(software.amazon.awssdk.services.acm.model.ListCertificatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

      Please notice that the configuration of MaxItems 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 listCertificates(software.amazon.awssdk.services.acm.model.ListCertificatesRequest) operation.

      Parameters:
      listCertificatesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArgsException One or more of request parameters specified is not valid.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificatesPaginator

      default ListCertificatesPublisher listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)

      This is a variant of listCertificates(software.amazon.awssdk.services.acm.model.ListCertificatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

      Please notice that the configuration of MaxItems 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 listCertificates(software.amazon.awssdk.services.acm.model.ListCertificatesRequest) operation.


      This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need to create one manually via ListCertificatesRequest.builder()

      Parameters:
      listCertificatesRequest - A Consumer that will call methods on ListCertificatesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArgsException One or more of request parameters specified is not valid.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForCertificate

      default CompletableFuture<ListTagsForCertificateResponse> listTagsForCertificate(ListTagsForCertificateRequest listTagsForCertificateRequest)

      Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.

      This action applies only to the certificate resource type. For all other ACM resource types, use ListTagsForResource instead.

      Parameters:
      listTagsForCertificateRequest -
      Returns:
      A Java Future containing the result of the ListTagsForCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForCertificate

      default CompletableFuture<ListTagsForCertificateResponse> listTagsForCertificate(Consumer<ListTagsForCertificateRequest.Builder> listTagsForCertificateRequest)

      Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.

      This action applies only to the certificate resource type. For all other ACM resource types, use ListTagsForResource instead.


      This is a convenience which creates an instance of the ListTagsForCertificateRequest.Builder avoiding the need to create one manually via ListTagsForCertificateRequest.builder()

      Parameters:
      listTagsForCertificateRequest - A Consumer that will call methods on ListTagsForCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists the tags associated with an ACM resource.

      Use this action for all ACM resource types except the certificate resource type. For certificate resources, use ListTagsForCertificate instead.

      To add one or more tags, use the TagResource action. To remove one or more tags, use the UntagResource action.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Lists the tags associated with an ACM resource.

      Use this action for all ACM resource types except the certificate resource type. For certificate resources, use ListTagsForCertificate instead.

      To add one or more tags, use the TagResource action. To remove one or more tags, use the UntagResource action.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putAccountConfiguration

      default CompletableFuture<PutAccountConfigurationResponse> putAccountConfiguration(PutAccountConfigurationRequest putAccountConfigurationRequest)

      Adds or modifies account-level configurations in ACM.

      The supported configuration option is DaysBeforeExpiry. This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

      Parameters:
      putAccountConfigurationRequest -
      Returns:
      A Java Future containing the result of the PutAccountConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putAccountConfiguration

      default CompletableFuture<PutAccountConfigurationResponse> putAccountConfiguration(Consumer<PutAccountConfigurationRequest.Builder> putAccountConfigurationRequest)

      Adds or modifies account-level configurations in ACM.

      The supported configuration option is DaysBeforeExpiry. This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.


      This is a convenience which creates an instance of the PutAccountConfigurationRequest.Builder avoiding the need to create one manually via PutAccountConfigurationRequest.builder()

      Parameters:
      putAccountConfigurationRequest - A Consumer that will call methods on PutAccountConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutAccountConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTagsFromCertificate

      default CompletableFuture<RemoveTagsFromCertificateResponse> removeTagsFromCertificate(RemoveTagsFromCertificateRequest removeTagsFromCertificateRequest)

      Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.

      This action applies only to the certificate resource type. For all other ACM resource types, use UntagResource instead.

      To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.

      Parameters:
      removeTagsFromCertificateRequest -
      Returns:
      A Java Future containing the result of the RemoveTagsFromCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTagsFromCertificate

      default CompletableFuture<RemoveTagsFromCertificateResponse> removeTagsFromCertificate(Consumer<RemoveTagsFromCertificateRequest.Builder> removeTagsFromCertificateRequest)

      Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.

      This action applies only to the certificate resource type. For all other ACM resource types, use UntagResource instead.

      To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.


      This is a convenience which creates an instance of the RemoveTagsFromCertificateRequest.Builder avoiding the need to create one manually via RemoveTagsFromCertificateRequest.builder()

      Parameters:
      removeTagsFromCertificateRequest - A Consumer that will call methods on RemoveTagsFromCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveTagsFromCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • renewCertificate

      default CompletableFuture<RenewCertificateResponse> renewCertificate(RenewCertificateRequest renewCertificateRequest)

      Renews an eligible ACM certificate. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first grant the ACM service principal permission to do so. For more information, see Testing Managed Renewal in the ACM User Guide.

      Parameters:
      renewCertificateRequest -
      Returns:
      A Java Future containing the result of the RenewCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • renewCertificate

      default CompletableFuture<RenewCertificateResponse> renewCertificate(Consumer<RenewCertificateRequest.Builder> renewCertificateRequest)

      Renews an eligible ACM certificate. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first grant the ACM service principal permission to do so. For more information, see Testing Managed Renewal in the ACM User Guide.


      This is a convenience which creates an instance of the RenewCertificateRequest.Builder avoiding the need to create one manually via RenewCertificateRequest.builder()

      Parameters:
      renewCertificateRequest - A Consumer that will call methods on RenewCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RenewCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • requestCertificate

      default CompletableFuture<RequestCertificateResponse> requestCertificate(RequestCertificateRequest requestCertificateRequest)

      Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM certificate, you must specify a fully qualified domain name (FQDN) in the DomainName parameter. You can also specify additional FQDNs in the SubjectAlternativeNames parameter.

      If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation.

      ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).

      After successful completion of the RequestCertificate action, there is a delay of several seconds before you can retrieve information about the new certificate.

      Parameters:
      requestCertificateRequest -
      Returns:
      A Java Future containing the result of the RequestCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • InvalidDomainValidationOptionsException One or more values in the DomainValidationOption structure is incorrect.
      • LimitExceededException An ACM quota has been exceeded.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • requestCertificate

      default CompletableFuture<RequestCertificateResponse> requestCertificate(Consumer<RequestCertificateRequest.Builder> requestCertificateRequest)

      Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM certificate, you must specify a fully qualified domain name (FQDN) in the DomainName parameter. You can also specify additional FQDNs in the SubjectAlternativeNames parameter.

      If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation.

      ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).

      After successful completion of the RequestCertificate action, there is a delay of several seconds before you can retrieve information about the new certificate.


      This is a convenience which creates an instance of the RequestCertificateRequest.Builder avoiding the need to create one manually via RequestCertificateRequest.builder()

      Parameters:
      requestCertificateRequest - A Consumer that will call methods on RequestCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RequestCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException An input parameter was invalid.
      • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.
      • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
      • InvalidDomainValidationOptionsException One or more values in the DomainValidationOption structure is incorrect.
      • LimitExceededException An ACM quota has been exceeded.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resendValidationEmail

      default CompletableFuture<ResendValidationEmailResponse> resendValidationEmail(ResendValidationEmailRequest resendValidationEmailRequest)

      Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain.

      Parameters:
      resendValidationEmailRequest -
      Returns:
      A Java Future containing the result of the ResendValidationEmail operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidDomainValidationOptionsException One or more values in the DomainValidationOption structure is incorrect.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • InvalidStateException Processing has reached an invalid state.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resendValidationEmail

      default CompletableFuture<ResendValidationEmailResponse> resendValidationEmail(Consumer<ResendValidationEmailRequest.Builder> resendValidationEmailRequest)

      Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain.


      This is a convenience which creates an instance of the ResendValidationEmailRequest.Builder avoiding the need to create one manually via ResendValidationEmailRequest.builder()

      Parameters:
      resendValidationEmailRequest - A Consumer that will call methods on ResendValidationEmailRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ResendValidationEmail operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • InvalidDomainValidationOptionsException One or more values in the DomainValidationOption structure is incorrect.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • InvalidStateException Processing has reached an invalid state.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeAcmeAccount

      default CompletableFuture<RevokeAcmeAccountResponse> revokeAcmeAccount(RevokeAcmeAccountRequest revokeAcmeAccountRequest)

      Revokes an ACME account, preventing it from requesting or revoking certificates. This operation is irreversible.

      Parameters:
      revokeAcmeAccountRequest -
      Returns:
      A Java Future containing the result of the RevokeAcmeAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeAcmeAccount

      default CompletableFuture<RevokeAcmeAccountResponse> revokeAcmeAccount(Consumer<RevokeAcmeAccountRequest.Builder> revokeAcmeAccountRequest)

      Revokes an ACME account, preventing it from requesting or revoking certificates. This operation is irreversible.


      This is a convenience which creates an instance of the RevokeAcmeAccountRequest.Builder avoiding the need to create one manually via RevokeAcmeAccountRequest.builder()

      Parameters:
      revokeAcmeAccountRequest - A Consumer that will call methods on RevokeAcmeAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokeAcmeAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeAcmeExternalAccountBinding

      default CompletableFuture<RevokeAcmeExternalAccountBindingResponse> revokeAcmeExternalAccountBinding(RevokeAcmeExternalAccountBindingRequest revokeAcmeExternalAccountBindingRequest)

      Revokes an external account binding, preventing new ACME accounts from being registered using this binding. Existing ACME accounts that were previously registered using the binding are not affected and must be revoked separately.

      Parameters:
      revokeAcmeExternalAccountBindingRequest -
      Returns:
      A Java Future containing the result of the RevokeAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeAcmeExternalAccountBinding

      default CompletableFuture<RevokeAcmeExternalAccountBindingResponse> revokeAcmeExternalAccountBinding(Consumer<RevokeAcmeExternalAccountBindingRequest.Builder> revokeAcmeExternalAccountBindingRequest)

      Revokes an external account binding, preventing new ACME accounts from being registered using this binding. Existing ACME accounts that were previously registered using the binding are not affected and must be revoked separately.


      This is a convenience which creates an instance of the RevokeAcmeExternalAccountBindingRequest.Builder avoiding the need to create one manually via RevokeAcmeExternalAccountBindingRequest.builder()

      Parameters:
      revokeAcmeExternalAccountBindingRequest - A Consumer that will call methods on RevokeAcmeExternalAccountBindingRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokeAcmeExternalAccountBinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeCertificate

      default CompletableFuture<RevokeCertificateResponse> revokeCertificate(RevokeCertificateRequest revokeCertificateRequest)

      Revokes a public ACM certificate. You can only revoke certificates that have been previously exported.

      Once a certificate is revoked, you cannot reuse the certificate. Revoking a certificate is permanent.

      Parameters:
      revokeCertificateRequest -
      Returns:
      A Java Future containing the result of the RevokeCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceInUseException The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeCertificate

      default CompletableFuture<RevokeCertificateResponse> revokeCertificate(Consumer<RevokeCertificateRequest.Builder> revokeCertificateRequest)

      Revokes a public ACM certificate. You can only revoke certificates that have been previously exported.

      Once a certificate is revoked, you cannot reuse the certificate. Revoking a certificate is permanent.


      This is a convenience which creates an instance of the RevokeCertificateRequest.Builder avoiding the need to create one manually via RevokeCertificateRequest.builder()

      Parameters:
      revokeCertificateRequest - A Consumer that will call methods on RevokeCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokeCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceInUseException The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchCertificates

      default CompletableFuture<SearchCertificatesResponse> searchCertificates(SearchCertificatesRequest searchCertificatesRequest)

      Retrieves a list of certificates matching search criteria. You can filter certificates by X.509 attributes and ACM specific properties like certificate status, type and renewal eligibility. This operation provides more flexible filtering than ListCertificates by supporting complex filter statements.

      Parameters:
      searchCertificatesRequest -
      Returns:
      A Java Future containing the result of the SearchCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchCertificates

      default CompletableFuture<SearchCertificatesResponse> searchCertificates(Consumer<SearchCertificatesRequest.Builder> searchCertificatesRequest)

      Retrieves a list of certificates matching search criteria. You can filter certificates by X.509 attributes and ACM specific properties like certificate status, type and renewal eligibility. This operation provides more flexible filtering than ListCertificates by supporting complex filter statements.


      This is a convenience which creates an instance of the SearchCertificatesRequest.Builder avoiding the need to create one manually via SearchCertificatesRequest.builder()

      Parameters:
      searchCertificatesRequest - A Consumer that will call methods on SearchCertificatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SearchCertificates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchCertificatesPaginator

      default SearchCertificatesPublisher searchCertificatesPaginator(SearchCertificatesRequest searchCertificatesRequest)

      This is a variant of searchCertificates(software.amazon.awssdk.services.acm.model.SearchCertificatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the searchCertificates(software.amazon.awssdk.services.acm.model.SearchCertificatesRequest) operation.

      Parameters:
      searchCertificatesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchCertificatesPaginator

      default SearchCertificatesPublisher searchCertificatesPaginator(Consumer<SearchCertificatesRequest.Builder> searchCertificatesRequest)

      This is a variant of searchCertificates(software.amazon.awssdk.services.acm.model.SearchCertificatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the searchCertificates(software.amazon.awssdk.services.acm.model.SearchCertificatesRequest) operation.


      This is a convenience which creates an instance of the SearchCertificatesRequest.Builder avoiding the need to create one manually via SearchCertificatesRequest.builder()

      Parameters:
      searchCertificatesRequest - A Consumer that will call methods on SearchCertificatesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds one or more tags to an ACM resource. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value.

      Use this action for all ACM resource types except the certificate resource type. For certificate resources, use AddTagsToCertificate instead.

      To remove one or more tags, use the UntagResource action. To view all of the tags that have been applied to a resource, use the ListTagsForResource action.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds one or more tags to an ACM resource. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value.

      Use this action for all ACM resource types except the certificate resource type. For certificate resources, use AddTagsToCertificate instead.

      To remove one or more tags, use the UntagResource action. To view all of the tags that have been applied to a resource, use the ListTagsForResource action.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException A service quota has been exceeded.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes one or more tags from an ACM resource.

      Use this action for all ACM resource types except the certificate resource type. For certificate resources, use RemoveTagsFromCertificate instead.

      To add one or more tags, use the TagResource action. To view all of the tags that have been applied to a resource, use the ListTagsForResource action.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes one or more tags from an ACM resource.

      Use this action for all ACM resource types except the certificate resource type. For certificate resources, use RemoveTagsFromCertificate instead.

      To add one or more tags, use the TagResource action. To view all of the tags that have been applied to a resource, use the ListTagsForResource action.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAcmeDomainValidation

      default CompletableFuture<UpdateAcmeDomainValidationResponse> updateAcmeDomainValidation(UpdateAcmeDomainValidationRequest updateAcmeDomainValidationRequest)

      Updates the prevalidation configuration of an existing domain validation.

      Parameters:
      updateAcmeDomainValidationRequest -
      Returns:
      A Java Future containing the result of the UpdateAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAcmeDomainValidation

      default CompletableFuture<UpdateAcmeDomainValidationResponse> updateAcmeDomainValidation(Consumer<UpdateAcmeDomainValidationRequest.Builder> updateAcmeDomainValidationRequest)

      Updates the prevalidation configuration of an existing domain validation.


      This is a convenience which creates an instance of the UpdateAcmeDomainValidationRequest.Builder avoiding the need to create one manually via UpdateAcmeDomainValidationRequest.builder()

      Parameters:
      updateAcmeDomainValidationRequest - A Consumer that will call methods on UpdateAcmeDomainValidationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAcmeDomainValidation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAcmeEndpoint

      default CompletableFuture<UpdateAcmeEndpointResponse> updateAcmeEndpoint(UpdateAcmeEndpointRequest updateAcmeEndpointRequest)

      Updates the configuration of an existing ACME endpoint. You can change the authorization behavior, contact requirement, or certificate authority settings.

      Parameters:
      updateAcmeEndpointRequest -
      Returns:
      A Java Future containing the result of the UpdateAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAcmeEndpoint

      default CompletableFuture<UpdateAcmeEndpointResponse> updateAcmeEndpoint(Consumer<UpdateAcmeEndpointRequest.Builder> updateAcmeEndpointRequest)

      Updates the configuration of an existing ACME endpoint. You can change the authorization behavior, contact requirement, or certificate authority settings.


      This is a convenience which creates an instance of the UpdateAcmeEndpointRequest.Builder avoiding the need to create one manually via UpdateAcmeEndpointRequest.builder()

      Parameters:
      updateAcmeEndpointRequest - A Consumer that will call methods on UpdateAcmeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAcmeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The request processing has failed because of an unknown error, exception, or failure.
      • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
      • AccessDeniedException You do not have access required to perform this action.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • ThrottlingException The request was denied because it exceeded a quota.
      • 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.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCertificateOptions

      default CompletableFuture<UpdateCertificateOptionsResponse> updateCertificateOptions(UpdateCertificateOptionsRequest updateCertificateOptionsRequest)

      Updates a certificate. You can use this function to specify whether to export your certificate. Certificate transparency logging opt-out is no longer available. For more information, see Certificate Transparency Logging and Certificate Manager Exportable Managed Certificates.

      Parameters:
      updateCertificateOptionsRequest -
      Returns:
      A Java Future containing the result of the UpdateCertificateOptions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • LimitExceededException An ACM quota has been exceeded.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • InvalidStateException Processing has reached an invalid state.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCertificateOptions

      default CompletableFuture<UpdateCertificateOptionsResponse> updateCertificateOptions(Consumer<UpdateCertificateOptionsRequest.Builder> updateCertificateOptionsRequest)

      Updates a certificate. You can use this function to specify whether to export your certificate. Certificate transparency logging opt-out is no longer available. For more information, see Certificate Transparency Logging and Certificate Manager Exportable Managed Certificates.


      This is a convenience which creates an instance of the UpdateCertificateOptionsRequest.Builder avoiding the need to create one manually via UpdateCertificateOptionsRequest.builder()

      Parameters:
      updateCertificateOptionsRequest - A Consumer that will call methods on UpdateCertificateOptionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateCertificateOptions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
      • LimitExceededException An ACM quota has been exceeded.
      • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.
      • InvalidStateException Processing has reached an invalid state.
      • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AcmException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default AcmAsyncWaiter waiter()
      Create an instance of AcmAsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of AcmAsyncWaiter
    • serviceClientConfiguration

      default AcmServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static AcmAsyncClient create()
      Create a AcmAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static AcmAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a AcmAsyncClient.