Interface SignerAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionaddProfilePermission(Consumer<AddProfilePermissionRequest.Builder> addProfilePermissionRequest) Adds cross-account permissions to a signing profile.addProfilePermission(AddProfilePermissionRequest addProfilePermissionRequest) Adds cross-account permissions to a signing profile.static SignerAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aSignerAsyncClient.cancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest) Changes the state of anACTIVEsigning profile toCANCELED.cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest) Changes the state of anACTIVEsigning profile toCANCELED.static SignerAsyncClientcreate()Create aSignerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.describeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest) Returns information about a specific code signing job.describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest) Returns information about a specific code signing job.getRevocationStatus(Consumer<GetRevocationStatusRequest.Builder> getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.getRevocationStatus(GetRevocationStatusRequest getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.getSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest) Returns information on a specific signing platform.getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest) Returns information on a specific signing platform.getSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest) Returns information on a specific signing profile.getSigningProfile(GetSigningProfileRequest getSigningProfileRequest) Returns information on a specific signing profile.listProfilePermissions(Consumer<ListProfilePermissionsRequest.Builder> listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.listProfilePermissions(ListProfilePermissionsRequest listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.default CompletableFuture<ListSigningJobsResponse> Lists all your signing jobs.default CompletableFuture<ListSigningJobsResponse> listSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) Lists all your signing jobs.default CompletableFuture<ListSigningJobsResponse> listSigningJobs(ListSigningJobsRequest listSigningJobsRequest) Lists all your signing jobs.default ListSigningJobsPublisherThis is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)operation.default ListSigningJobsPublisherlistSigningJobsPaginator(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)operation.default ListSigningJobsPublisherlistSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)operation.Lists all signing platforms available in AWS Signer that match the request parameters.listSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters.listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsPublisherThis is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)operation.default ListSigningPlatformsPublisherlistSigningPlatformsPaginator(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)operation.default ListSigningPlatformsPublisherlistSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)operation.Lists all available signing profiles in your AWS account.listSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) Lists all available signing profiles in your AWS account.listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest) Lists all available signing profiles in your AWS account.default ListSigningProfilesPublisherThis is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)operation.default ListSigningProfilesPublisherlistSigningProfilesPaginator(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)operation.default ListSigningProfilesPublisherlistSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.putSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest) Creates a signing profile.putSigningProfile(PutSigningProfileRequest putSigningProfileRequest) Creates a signing profile.removeProfilePermission(Consumer<RemoveProfilePermissionRequest.Builder> removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.removeProfilePermission(RemoveProfilePermissionRequest removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.default CompletableFuture<RevokeSignatureResponse> revokeSignature(Consumer<RevokeSignatureRequest.Builder> revokeSignatureRequest) Changes the state of a signing job to REVOKED.default CompletableFuture<RevokeSignatureResponse> revokeSignature(RevokeSignatureRequest revokeSignatureRequest) Changes the state of a signing job to REVOKED.revokeSigningProfile(Consumer<RevokeSigningProfileRequest.Builder> revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED.revokeSigningProfile(RevokeSigningProfileRequest revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED.default SignerServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<SignPayloadResponse> signPayload(Consumer<SignPayloadRequest.Builder> signPayloadRequest) Signs a binary payload and returns a signature envelope.default CompletableFuture<SignPayloadResponse> signPayload(SignPayloadRequest signPayloadRequest) Signs a binary payload and returns a signature envelope.default CompletableFuture<StartSigningJobResponse> startSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest) Initiates a signing job to be performed on the code provided.default CompletableFuture<StartSigningJobResponse> startSigningJob(StartSigningJobRequest startSigningJobRequest) Initiates a signing job to be performed on the code provided.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a signing profile.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds one or more tags to a signing profile.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a signing profile.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from a signing profile.default SignerAsyncWaiterwaiter()Create an instance ofSignerAsyncWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaAddProfilePermissionRequest.builder()- Parameters:
addProfilePermissionRequest- AConsumerthat will call methods onAddProfilePermissionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
ACTIVEsigning profile toCANCELED. A canceled profile is still viewable with theListSigningProfilesoperation, 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
ACTIVEsigning profile toCANCELED. A canceled profile is still viewable with theListSigningProfilesoperation, 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.Builderavoiding the need to create one manually viaCancelSigningProfileRequest.builder()- Parameters:
cancelSigningProfileRequest- AConsumerthat will call methods onCancelSigningProfileRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
jobIdvalue 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
jobIdvalue that is returned by the StartSigningJob operation.
This is a convenience which creates an instance of the
DescribeSigningJobRequest.Builderavoiding the need to create one manually viaDescribeSigningJobRequest.builder()- Parameters:
describeSigningJobRequest- AConsumerthat will call methods onDescribeSigningJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetRevocationStatusRequest.builder()- Parameters:
getRevocationStatusRequest- AConsumerthat will call methods onGetRevocationStatusRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetSigningPlatformRequest.builder()- Parameters:
getSigningPlatformRequest- AConsumerthat will call methods onGetSigningPlatformRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetSigningProfileRequest.builder()- Parameters:
getSigningProfileRequest- AConsumerthat will call methods onGetSigningProfileRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListProfilePermissionsRequest.builder()- Parameters:
listProfilePermissionsRequest- AConsumerthat will call methods onListProfilePermissionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
maxResultsparameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
maxResultsparameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningJobsRequest.Builderavoiding the need to create one manually viaListSigningJobsRequest.builder()- Parameters:
listSigningJobsRequest- AConsumerthat will call methods onListSigningJobsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
Lists all your signing jobs. You can use the
maxResultsparameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListSigningJobsRequest.builder()- Parameters:
listSigningJobsRequest- AConsumerthat will call methods onListSigningJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
nextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
nextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningPlatformsRequest.Builderavoiding the need to create one manually viaListSigningPlatformsRequest.builder()- Parameters:
listSigningPlatformsRequest- AConsumerthat will call methods onListSigningPlatformsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a
nextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListSigningPlatformsRequest.builder()- Parameters:
listSigningPlatformsRequest- AConsumerthat will call methods onListSigningPlatformsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
ACTIVEstatus unless theincludeCanceledrequest field is set totrue. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
ACTIVEstatus unless theincludeCanceledrequest field is set totrue. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningProfilesRequest.Builderavoiding the need to create one manually viaListSigningProfilesRequest.builder()- Parameters:
listSigningProfilesRequest- AConsumerthat will call methods onListSigningProfilesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
Lists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVEstatus unless theincludeCanceledrequest field is set totrue. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListSigningProfilesRequest.builder()- Parameters:
listSigningProfilesRequest- AConsumerthat will call methods onListSigningProfilesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaPutSigningProfileRequest.builder()- Parameters:
putSigningProfileRequest- AConsumerthat will call methods onPutSigningProfileRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaRemoveProfilePermissionRequest.builder()- Parameters:
removeProfilePermissionRequest- AConsumerthat will call methods onRemoveProfilePermissionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaRevokeSignatureRequest.builder()- Parameters:
revokeSignatureRequest- AConsumerthat will call methods onRevokeSignatureRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaRevokeSigningProfileRequest.builder()- Parameters:
revokeSigningProfileRequest- AConsumerthat will call methods onRevokeSigningProfileRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaSignPayloadRequest.builder()- Parameters:
signPayloadRequest- AConsumerthat will call methods onSignPayloadRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
ListSigningJobsoperation 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
StartSigningJoboperation. -
You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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,
TooManyRequestsExceptionshould 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
ListSigningJobsoperation 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
StartSigningJoboperation. -
You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.
-
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.Builderavoiding the need to create one manually viaStartSigningJobRequest.builder()- Parameters:
startSigningJobRequest- AConsumerthat will call methods onStartSigningJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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,
TooManyRequestsExceptionshould 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
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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
Create an instance ofSignerAsyncWaiterusing 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
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aSignerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSignerAsyncClient.
-