Interface SignerAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface SignerAsyncClient extends AwsClient
Service client for accessing signer asynchronously. This can be created using the static builder() method.

AWS Signer is a fully managed code-signing service to help you ensure the trust and integrity of your code.

Signer supports the following applications:

With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.

With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS and AWS IoT Device Management, and is integrated with AWS Certificate Manager (ACM). In order to sign code, you Project, you can sign container images stored in a container registry such as Amazon Elastic Container Registry (ECR). The signatures are stored in the registry alongside the images, where they are available for verifying image authenticity and integrity.

For more information about Signer, see the AWS Signer Developer Guide.

  • Field Details

  • Method Details

    • addProfilePermission

      default CompletableFuture<AddProfilePermissionResponse> addProfilePermission(AddProfilePermissionRequest addProfilePermissionRequest)

      Adds cross-account permissions to a signing profile.

      Parameters:
      addProfilePermissionRequest -
      Returns:
      A Java Future containing the result of the AddProfilePermission operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceLimitExceededException The client is making a request that exceeds service limits.
      • ConflictException The resource encountered a conflicting state.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addProfilePermission

      default CompletableFuture<AddProfilePermissionResponse> addProfilePermission(Consumer<AddProfilePermissionRequest.Builder> addProfilePermissionRequest)

      Adds cross-account permissions to a signing profile.


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

      Parameters:
      addProfilePermissionRequest - A Consumer that will call methods on AddProfilePermissionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddProfilePermission operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceLimitExceededException The client is making a request that exceeds service limits.
      • ConflictException The resource encountered a conflicting state.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • cancelSigningProfile

      default CompletableFuture<CancelSigningProfileResponse> cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest)

      Changes the state of an ACTIVE signing profile to CANCELED. A canceled profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.

      Parameters:
      cancelSigningProfileRequest -
      Returns:
      A Java Future containing the result of the CancelSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • cancelSigningProfile

      default CompletableFuture<CancelSigningProfileResponse> cancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest)

      Changes the state of an ACTIVE signing profile to CANCELED. A canceled profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.


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

      Parameters:
      cancelSigningProfileRequest - A Consumer that will call methods on CancelSigningProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CancelSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSigningJob

      default CompletableFuture<DescribeSigningJobResponse> describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest)

      Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.

      Parameters:
      describeSigningJobRequest -
      Returns:
      A Java Future containing the result of the DescribeSigningJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSigningJob

      default CompletableFuture<DescribeSigningJobResponse> describeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest)

      Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.


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

      Parameters:
      describeSigningJobRequest - A Consumer that will call methods on DescribeSigningJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSigningJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevocationStatus

      default CompletableFuture<GetRevocationStatusResponse> getRevocationStatus(GetRevocationStatusRequest getRevocationStatusRequest)

      Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.

      Parameters:
      getRevocationStatusRequest -
      Returns:
      A Java Future containing the result of the GetRevocationStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevocationStatus

      default CompletableFuture<GetRevocationStatusResponse> getRevocationStatus(Consumer<GetRevocationStatusRequest.Builder> getRevocationStatusRequest)

      Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.


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

      Parameters:
      getRevocationStatusRequest - A Consumer that will call methods on GetRevocationStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRevocationStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSigningPlatform

      default CompletableFuture<GetSigningPlatformResponse> getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest)

      Returns information on a specific signing platform.

      Parameters:
      getSigningPlatformRequest -
      Returns:
      A Java Future containing the result of the GetSigningPlatform operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSigningPlatform

      default CompletableFuture<GetSigningPlatformResponse> getSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest)

      Returns information on a specific signing platform.


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

      Parameters:
      getSigningPlatformRequest - A Consumer that will call methods on GetSigningPlatformRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSigningPlatform operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSigningProfile

      default CompletableFuture<GetSigningProfileResponse> getSigningProfile(GetSigningProfileRequest getSigningProfileRequest)

      Returns information on a specific signing profile.

      Parameters:
      getSigningProfileRequest -
      Returns:
      A Java Future containing the result of the GetSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSigningProfile

      default CompletableFuture<GetSigningProfileResponse> getSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest)

      Returns information on a specific signing profile.


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

      Parameters:
      getSigningProfileRequest - A Consumer that will call methods on GetSigningProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfilePermissions

      default CompletableFuture<ListProfilePermissionsResponse> listProfilePermissions(ListProfilePermissionsRequest listProfilePermissionsRequest)

      Lists the cross-account permissions associated with a signing profile.

      Parameters:
      listProfilePermissionsRequest -
      Returns:
      A Java Future containing the result of the ListProfilePermissions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfilePermissions

      default CompletableFuture<ListProfilePermissionsResponse> listProfilePermissions(Consumer<ListProfilePermissionsRequest.Builder> listProfilePermissionsRequest)

      Lists the cross-account permissions associated with a signing profile.


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

      Parameters:
      listProfilePermissionsRequest - A Consumer that will call methods on ListProfilePermissionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfilePermissions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningJobs

      default CompletableFuture<ListSigningJobsResponse> listSigningJobs(ListSigningJobsRequest listSigningJobsRequest)

      Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

      Parameters:
      listSigningJobsRequest -
      Returns:
      A Java Future containing the result of the ListSigningJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningJobs

      default CompletableFuture<ListSigningJobsResponse> listSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest)

      Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.


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

      Parameters:
      listSigningJobsRequest - A Consumer that will call methods on ListSigningJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSigningJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningJobs

      default CompletableFuture<ListSigningJobsResponse> listSigningJobs()

      Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

      Returns:
      A Java Future containing the result of the ListSigningJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningJobsPaginator

      default ListSigningJobsPublisher listSigningJobsPaginator()

      This is a variant of listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest) 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.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningJobsResponse 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 listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest) 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.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningJobsPaginator

      default ListSigningJobsPublisher listSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest)

      This is a variant of listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest) 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.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningJobsResponse 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 listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest) operation.

      Parameters:
      listSigningJobsRequest -
      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.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningJobsPaginator

      default ListSigningJobsPublisher listSigningJobsPaginator(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest)

      This is a variant of listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest) 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.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningJobsResponse 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 listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest) operation.


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

      Parameters:
      listSigningJobsRequest - A Consumer that will call methods on ListSigningJobsRequest.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.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningPlatforms

      default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest)

      Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

      Parameters:
      listSigningPlatformsRequest -
      Returns:
      A Java Future containing the result of the ListSigningPlatforms operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningPlatforms

      default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest)

      Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.


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

      Parameters:
      listSigningPlatformsRequest - A Consumer that will call methods on ListSigningPlatformsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSigningPlatforms operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningPlatforms

      default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms()

      Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

      Returns:
      A Java Future containing the result of the ListSigningPlatforms operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningPlatformsPaginator

      default ListSigningPlatformsPublisher listSigningPlatformsPaginator()

      This is a variant of listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest) 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.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse 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 listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest) 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.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningPlatformsPaginator

      default ListSigningPlatformsPublisher listSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest)

      This is a variant of listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest) 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.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse 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 listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest) operation.

      Parameters:
      listSigningPlatformsRequest -
      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.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningPlatformsPaginator

      default ListSigningPlatformsPublisher listSigningPlatformsPaginator(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest)

      This is a variant of listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest) 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.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse 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 listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest) operation.


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

      Parameters:
      listSigningPlatformsRequest - A Consumer that will call methods on ListSigningPlatformsRequest.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.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningProfiles

      default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest)

      Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

      Parameters:
      listSigningProfilesRequest -
      Returns:
      A Java Future containing the result of the ListSigningProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningProfiles

      default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest)

      Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.


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

      Parameters:
      listSigningProfilesRequest - A Consumer that will call methods on ListSigningProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSigningProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningProfiles

      default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles()

      Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

      Returns:
      A Java Future containing the result of the ListSigningProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningProfilesPaginator

      default ListSigningProfilesPublisher listSigningProfilesPaginator()

      This is a variant of listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest) 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.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse 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 listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest) 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.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningProfilesPaginator

      default ListSigningProfilesPublisher listSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest)

      This is a variant of listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest) 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.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse 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 listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest) operation.

      Parameters:
      listSigningProfilesRequest -
      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.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSigningProfilesPaginator

      default ListSigningProfilesPublisher listSigningProfilesPaginator(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest)

      This is a variant of listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest) 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.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse 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 listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest) operation.


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

      Parameters:
      listSigningProfilesRequest - A Consumer that will call methods on ListSigningProfilesRequest.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.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException 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)

      Returns a list of the tags associated with a signing profile resource.

      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.
      • InternalServiceErrorException An internal error occurred.
      • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
      • NotFoundException The signing profile was not found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • 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.
      • SignerException 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)

      Returns a list of the tags associated with a signing profile resource.


      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.
      • InternalServiceErrorException An internal error occurred.
      • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
      • NotFoundException The signing profile was not found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putSigningProfile

      default CompletableFuture<PutSigningProfileResponse> putSigningProfile(PutSigningProfileRequest putSigningProfileRequest)

      Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.

      Parameters:
      putSigningProfileRequest -
      Returns:
      A Java Future containing the result of the PutSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException You signing certificate could not be validated.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putSigningProfile

      default CompletableFuture<PutSigningProfileResponse> putSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest)

      Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.


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

      Parameters:
      putSigningProfileRequest - A Consumer that will call methods on PutSigningProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException You signing certificate could not be validated.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeProfilePermission

      default CompletableFuture<RemoveProfilePermissionResponse> removeProfilePermission(RemoveProfilePermissionRequest removeProfilePermissionRequest)

      Removes cross-account permissions from a signing profile.

      Parameters:
      removeProfilePermissionRequest -
      Returns:
      A Java Future containing the result of the RemoveProfilePermission operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException The resource encountered a conflicting state.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeProfilePermission

      default CompletableFuture<RemoveProfilePermissionResponse> removeProfilePermission(Consumer<RemoveProfilePermissionRequest.Builder> removeProfilePermissionRequest)

      Removes cross-account permissions from a signing profile.


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

      Parameters:
      removeProfilePermissionRequest - A Consumer that will call methods on RemoveProfilePermissionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveProfilePermission operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException The resource encountered a conflicting state.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeSignature

      default CompletableFuture<RevokeSignatureResponse> revokeSignature(RevokeSignatureRequest revokeSignatureRequest)

      Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.

      Parameters:
      revokeSignatureRequest -
      Returns:
      A Java Future containing the result of the RevokeSignature operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException A specified resource could not be found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeSignature

      default CompletableFuture<RevokeSignatureResponse> revokeSignature(Consumer<RevokeSignatureRequest.Builder> revokeSignatureRequest)

      Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.


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

      Parameters:
      revokeSignatureRequest - A Consumer that will call methods on RevokeSignatureRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokeSignature operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException A specified resource could not be found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeSigningProfile

      default CompletableFuture<RevokeSigningProfileResponse> revokeSigningProfile(RevokeSigningProfileRequest revokeSigningProfileRequest)

      Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.

      Parameters:
      revokeSigningProfileRequest -
      Returns:
      A Java Future containing the result of the RevokeSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException A specified resource could not be found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokeSigningProfile

      default CompletableFuture<RevokeSigningProfileResponse> revokeSigningProfile(Consumer<RevokeSigningProfileRequest.Builder> revokeSigningProfileRequest)

      Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.


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

      Parameters:
      revokeSigningProfileRequest - A Consumer that will call methods on RevokeSigningProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokeSigningProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException A specified resource could not be found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • signPayload

      default CompletableFuture<SignPayloadResponse> signPayload(SignPayloadRequest signPayloadRequest)

      Signs a binary payload and returns a signature envelope.

      Parameters:
      signPayloadRequest -
      Returns:
      A Java Future containing the result of the SignPayload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • signPayload

      default CompletableFuture<SignPayloadResponse> signPayload(Consumer<SignPayloadRequest.Builder> signPayloadRequest)

      Signs a binary payload and returns a signature envelope.


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

      Parameters:
      signPayloadRequest - A Consumer that will call methods on SignPayloadRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SignPayload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startSigningJob

      default CompletableFuture<StartSigningJobResponse> startSigningJob(StartSigningJobRequest startSigningJobRequest)

      Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation for two years after they are performed. Note the following requirements:

      • You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.

      • Your S3 source bucket must be version enabled.

      • You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.

      • You specify the name of the source and destination buckets when calling the StartSigningJob operation.

      • You must also specify a request token that identifies your request to Signer.

      You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob.

      For a Java example that shows how to use this action, see StartSigningJob.

      Parameters:
      startSigningJobRequest -
      Returns:
      A Java Future containing the result of the StartSigningJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.

        Instead of this error, TooManyRequestsException should be used.

      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startSigningJob

      default CompletableFuture<StartSigningJobResponse> startSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest)

      Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation for two years after they are performed. Note the following requirements:

      • You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.

      • Your S3 source bucket must be version enabled.

      • You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.

      • You specify the name of the source and destination buckets when calling the StartSigningJob operation.

      • You must also specify a request token that identifies your request to Signer.

      You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob.

      For a Java example that shows how to use this action, see StartSigningJob.


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

      Parameters:
      startSigningJobRequest - A Consumer that will call methods on StartSigningJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartSigningJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException You signing certificate could not be validated.
      • ResourceNotFoundException A specified resource could not be found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.

        Instead of this error, TooManyRequestsException should be used.

      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • InternalServiceErrorException An internal error occurred.
      • 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.
      • SignerException 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 a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.

      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.
      • InternalServiceErrorException An internal error occurred.
      • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
      • NotFoundException The signing profile was not found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • 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.
      • SignerException 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 a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.


      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.
      • InternalServiceErrorException An internal error occurred.
      • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
      • NotFoundException The signing profile was not found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • 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.
      • SignerException 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 a signing profile. To remove the tags, specify a list of tag keys.

      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.
      • InternalServiceErrorException An internal error occurred.
      • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
      • NotFoundException The signing profile was not found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • 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.
      • SignerException 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 a signing profile. To remove the tags, specify a list of tag keys.


      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.
      • InternalServiceErrorException An internal error occurred.
      • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
      • NotFoundException The signing profile was not found.
      • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

        This error supersedes the error ThrottlingException.

      • 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.
      • SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default SignerAsyncWaiter waiter()
      Create an instance of SignerAsyncWaiter 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 SignerAsyncWaiter
    • serviceClientConfiguration

      default SignerServiceClientConfiguration 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 SignerAsyncClient create()
      Create a SignerAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static SignerAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a SignerAsyncClient.