Interface SignerAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
AWS Signer is a fully managed code-signing service to help you ensure the trust and integrity of your code.
Signer supports the following applications:
With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.
With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS and AWS IoT Device Management, and is integrated with AWS Certificate Manager (ACM). In order to sign code, you Project, you can sign container images stored in a container registry such as Amazon Elastic Container Registry (ECR). The signatures are stored in the registry alongside the images, where they are available for verifying image authenticity and integrity.
For more information about Signer, see the AWS Signer Developer Guide.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value 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 SignerAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aSignerAsyncClient
.cancelSigningProfile
(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest) Changes the state of anACTIVE
signing profile toCANCELED
.cancelSigningProfile
(CancelSigningProfileRequest cancelSigningProfileRequest) Changes the state of anACTIVE
signing profile toCANCELED
.static SignerAsyncClient
create()
Create aSignerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and 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 ListSigningJobsPublisher
This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.default ListSigningJobsPublisher
listSigningJobsPaginator
(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.default ListSigningJobsPublisher
listSigningJobsPaginator
(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 ListSigningPlatformsPublisher
This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.default ListSigningPlatformsPublisher
listSigningPlatformsPaginator
(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.default ListSigningPlatformsPublisher
listSigningPlatformsPaginator
(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 ListSigningProfilesPublisher
This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.default ListSigningProfilesPublisher
listSigningProfilesPaginator
(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.default ListSigningProfilesPublisher
listSigningProfilesPaginator
(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 SignerServiceClientConfiguration
The 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 SignerAsyncWaiter
waiter()
Create an instance ofSignerAsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods 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.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ServiceLimitExceededException The client is making a request that exceeds service limits.
- ConflictException The resource encountered a conflicting state.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addProfilePermission
default CompletableFuture<AddProfilePermissionResponse> addProfilePermission(Consumer<AddProfilePermissionRequest.Builder> addProfilePermissionRequest) Adds cross-account permissions to a signing profile.
This is a convenience which creates an instance of the
AddProfilePermissionRequest.Builder
avoiding the need to create one manually viaAddProfilePermissionRequest.builder()
- Parameters:
addProfilePermissionRequest
- AConsumer
that will call methods onAddProfilePermissionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddProfilePermission operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ServiceLimitExceededException The client is making a request that exceeds service limits.
- ConflictException The resource encountered a conflicting state.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelSigningProfile
default CompletableFuture<CancelSigningProfileResponse> cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest) Changes the state of an
ACTIVE
signing profile toCANCELED
. A canceled profile is still viewable with theListSigningProfiles
operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.- Parameters:
cancelSigningProfileRequest
-- Returns:
- A Java Future containing the result of the CancelSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelSigningProfile
default CompletableFuture<CancelSigningProfileResponse> cancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest) Changes the state of an
ACTIVE
signing profile toCANCELED
. A canceled profile is still viewable with theListSigningProfiles
operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.
This is a convenience which creates an instance of the
CancelSigningProfileRequest.Builder
avoiding the need to create one manually viaCancelSigningProfileRequest.builder()
- Parameters:
cancelSigningProfileRequest
- AConsumer
that will call methods onCancelSigningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSigningJob
default CompletableFuture<DescribeSigningJobResponse> describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest) Returns information about a specific code signing job. You specify the job by using the
jobId
value that is returned by the StartSigningJob operation.- Parameters:
describeSigningJobRequest
-- Returns:
- A Java Future containing the result of the DescribeSigningJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSigningJob
default CompletableFuture<DescribeSigningJobResponse> describeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest) Returns information about a specific code signing job. You specify the job by using the
jobId
value that is returned by the StartSigningJob operation.
This is a convenience which creates an instance of the
DescribeSigningJobRequest.Builder
avoiding the need to create one manually viaDescribeSigningJobRequest.builder()
- Parameters:
describeSigningJobRequest
- AConsumer
that will call methods onDescribeSigningJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSigningJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRevocationStatus
default CompletableFuture<GetRevocationStatusResponse> getRevocationStatus(GetRevocationStatusRequest getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
- Parameters:
getRevocationStatusRequest
-- Returns:
- A Java Future containing the result of the GetRevocationStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRevocationStatus
default CompletableFuture<GetRevocationStatusResponse> getRevocationStatus(Consumer<GetRevocationStatusRequest.Builder> getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
This is a convenience which creates an instance of the
GetRevocationStatusRequest.Builder
avoiding the need to create one manually viaGetRevocationStatusRequest.builder()
- Parameters:
getRevocationStatusRequest
- AConsumer
that will call methods onGetRevocationStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRevocationStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSigningPlatform
default CompletableFuture<GetSigningPlatformResponse> getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest) Returns information on a specific signing platform.
- Parameters:
getSigningPlatformRequest
-- Returns:
- A Java Future containing the result of the GetSigningPlatform operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSigningPlatform
default CompletableFuture<GetSigningPlatformResponse> getSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest) Returns information on a specific signing platform.
This is a convenience which creates an instance of the
GetSigningPlatformRequest.Builder
avoiding the need to create one manually viaGetSigningPlatformRequest.builder()
- Parameters:
getSigningPlatformRequest
- AConsumer
that will call methods onGetSigningPlatformRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSigningPlatform operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSigningProfile
default CompletableFuture<GetSigningProfileResponse> getSigningProfile(GetSigningProfileRequest getSigningProfileRequest) Returns information on a specific signing profile.
- Parameters:
getSigningProfileRequest
-- Returns:
- A Java Future containing the result of the GetSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSigningProfile
default CompletableFuture<GetSigningProfileResponse> getSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest) Returns information on a specific signing profile.
This is a convenience which creates an instance of the
GetSigningProfileRequest.Builder
avoiding the need to create one manually viaGetSigningProfileRequest.builder()
- Parameters:
getSigningProfileRequest
- AConsumer
that will call methods onGetSigningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfilePermissions
default CompletableFuture<ListProfilePermissionsResponse> listProfilePermissions(ListProfilePermissionsRequest listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.
- Parameters:
listProfilePermissionsRequest
-- Returns:
- A Java Future containing the result of the ListProfilePermissions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfilePermissions
default CompletableFuture<ListProfilePermissionsResponse> listProfilePermissions(Consumer<ListProfilePermissionsRequest.Builder> listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.
This is a convenience which creates an instance of the
ListProfilePermissionsRequest.Builder
avoiding the need to create one manually viaListProfilePermissionsRequest.builder()
- Parameters:
listProfilePermissionsRequest
- AConsumer
that will call methods onListProfilePermissionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListProfilePermissions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningJobs
default CompletableFuture<ListSigningJobsResponse> listSigningJobs(ListSigningJobsRequest listSigningJobsRequest) Lists all your signing jobs. You can use the
maxResults
parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Parameters:
listSigningJobsRequest
-- Returns:
- A Java Future containing the result of the ListSigningJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningJobs
default CompletableFuture<ListSigningJobsResponse> listSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) Lists all your signing jobs. You can use the
maxResults
parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningJobsRequest.Builder
avoiding the need to create one manually viaListSigningJobsRequest.builder()
- Parameters:
listSigningJobsRequest
- AConsumer
that will call methods onListSigningJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSigningJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningJobs
Lists all your signing jobs. You can use the
maxResults
parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Returns:
- A Java Future containing the result of the ListSigningJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningJobsPaginator
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.- 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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.- 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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListSigningJobsRequest.builder()
- Parameters:
listSigningJobsRequest
- AConsumer
that will call methods onListSigningJobsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningPlatforms
default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a
nextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Parameters:
listSigningPlatformsRequest
-- Returns:
- A Java Future containing the result of the ListSigningPlatforms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningPlatforms
default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a
nextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningPlatformsRequest.Builder
avoiding the need to create one manually viaListSigningPlatformsRequest.builder()
- Parameters:
listSigningPlatformsRequest
- AConsumer
that will call methods onListSigningPlatformsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSigningPlatforms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningPlatforms
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a
nextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Returns:
- A Java Future containing the result of the ListSigningPlatforms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningPlatformsPaginator
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.- 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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.- 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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListSigningPlatformsRequest.builder()
- Parameters:
listSigningPlatformsRequest
- AConsumer
that will call methods onListSigningPlatformsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningProfiles
default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest) Lists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVE
status unless theincludeCanceled
request field is set totrue
. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Parameters:
listSigningProfilesRequest
-- Returns:
- A Java Future containing the result of the ListSigningProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningProfiles
default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) Lists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVE
status unless theincludeCanceled
request field is set totrue
. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningProfilesRequest.Builder
avoiding the need to create one manually viaListSigningProfilesRequest.builder()
- Parameters:
listSigningProfilesRequest
- AConsumer
that will call methods onListSigningProfilesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSigningProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningProfiles
Lists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVE
status unless theincludeCanceled
request field is set totrue
. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Returns:
- A Java Future containing the result of the ListSigningProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSigningProfilesPaginator
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.- 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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.- 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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListSigningProfilesRequest.builder()
- Parameters:
listSigningProfilesRequest
- AConsumer
that will call methods onListSigningProfilesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServiceErrorException An internal error occurred.
- BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
- NotFoundException The signing profile was not found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServiceErrorException An internal error occurred.
- BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
- NotFoundException The signing profile was not found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putSigningProfile
default CompletableFuture<PutSigningProfileResponse> putSigningProfile(PutSigningProfileRequest putSigningProfileRequest) Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
- Parameters:
putSigningProfileRequest
-- Returns:
- A Java Future containing the result of the PutSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException You signing certificate could not be validated.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putSigningProfile
default CompletableFuture<PutSigningProfileResponse> putSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest) Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
This is a convenience which creates an instance of the
PutSigningProfileRequest.Builder
avoiding the need to create one manually viaPutSigningProfileRequest.builder()
- Parameters:
putSigningProfileRequest
- AConsumer
that will call methods onPutSigningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException You signing certificate could not be validated.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeProfilePermission
default CompletableFuture<RemoveProfilePermissionResponse> removeProfilePermission(RemoveProfilePermissionRequest removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.
- Parameters:
removeProfilePermissionRequest
-- Returns:
- A Java Future containing the result of the RemoveProfilePermission operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ConflictException The resource encountered a conflicting state.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeProfilePermission
default CompletableFuture<RemoveProfilePermissionResponse> removeProfilePermission(Consumer<RemoveProfilePermissionRequest.Builder> removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.
This is a convenience which creates an instance of the
RemoveProfilePermissionRequest.Builder
avoiding the need to create one manually viaRemoveProfilePermissionRequest.builder()
- Parameters:
removeProfilePermissionRequest
- AConsumer
that will call methods onRemoveProfilePermissionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RemoveProfilePermission operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ConflictException The resource encountered a conflicting state.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeSignature
default CompletableFuture<RevokeSignatureResponse> revokeSignature(RevokeSignatureRequest revokeSignatureRequest) Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
- Parameters:
revokeSignatureRequest
-- Returns:
- A Java Future containing the result of the RevokeSignature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException A specified resource could not be found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeSignature
default CompletableFuture<RevokeSignatureResponse> revokeSignature(Consumer<RevokeSignatureRequest.Builder> revokeSignatureRequest) Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
This is a convenience which creates an instance of the
RevokeSignatureRequest.Builder
avoiding the need to create one manually viaRevokeSignatureRequest.builder()
- Parameters:
revokeSignatureRequest
- AConsumer
that will call methods onRevokeSignatureRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RevokeSignature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException A specified resource could not be found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeSigningProfile
default CompletableFuture<RevokeSigningProfileResponse> revokeSigningProfile(RevokeSigningProfileRequest revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.
- Parameters:
revokeSigningProfileRequest
-- Returns:
- A Java Future containing the result of the RevokeSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException A specified resource could not be found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeSigningProfile
default CompletableFuture<RevokeSigningProfileResponse> revokeSigningProfile(Consumer<RevokeSigningProfileRequest.Builder> revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.
This is a convenience which creates an instance of the
RevokeSigningProfileRequest.Builder
avoiding the need to create one manually viaRevokeSigningProfileRequest.builder()
- Parameters:
revokeSigningProfileRequest
- AConsumer
that will call methods onRevokeSigningProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RevokeSigningProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException A specified resource could not be found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
signPayload
Signs a binary payload and returns a signature envelope.
- Parameters:
signPayloadRequest
-- Returns:
- A Java Future containing the result of the SignPayload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
signPayload
default CompletableFuture<SignPayloadResponse> signPayload(Consumer<SignPayloadRequest.Builder> signPayloadRequest) Signs a binary payload and returns a signature envelope.
This is a convenience which creates an instance of the
SignPayloadRequest.Builder
avoiding the need to create one manually viaSignPayloadRequest.builder()
- Parameters:
signPayloadRequest
- AConsumer
that will call methods onSignPayloadRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SignPayload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startSigningJob
default CompletableFuture<StartSigningJobResponse> startSigningJob(StartSigningJobRequest startSigningJobRequest) Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the
ListSigningJobs
operation for two years after they are performed. Note the following requirements:-
You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.
-
Your S3 source bucket must be version enabled.
-
You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.
-
You specify the name of the source and destination buckets when calling the
StartSigningJob
operation. -
You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob and the ListSigningJobs actions after you call
StartSigningJob
.For a Java example that shows how to use this action, see StartSigningJob.
- Parameters:
startSigningJobRequest
-- Returns:
- A Java Future containing the result of the StartSigningJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
Instead of this error,
TooManyRequestsException
should be used. - TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startSigningJob
default CompletableFuture<StartSigningJobResponse> startSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest) Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the
ListSigningJobs
operation for two years after they are performed. Note the following requirements:-
You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.
-
Your S3 source bucket must be version enabled.
-
You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.
-
You specify the name of the source and destination buckets when calling the
StartSigningJob
operation. -
You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob and the ListSigningJobs actions after you call
StartSigningJob
.For a Java example that shows how to use this action, see StartSigningJob.
This is a convenience which creates an instance of the
StartSigningJobRequest.Builder
avoiding the need to create one manually viaStartSigningJobRequest.builder()
- Parameters:
startSigningJobRequest
- AConsumer
that will call methods onStartSigningJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartSigningJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException You signing certificate could not be validated.
- ResourceNotFoundException A specified resource could not be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
Instead of this error,
TooManyRequestsException
should be used. - TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - InternalServiceErrorException An internal error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
tagResource
Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServiceErrorException An internal error occurred.
- BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
- NotFoundException The signing profile was not found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServiceErrorException An internal error occurred.
- BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
- NotFoundException The signing profile was not found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServiceErrorException An internal error occurred.
- BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
- NotFoundException The signing profile was not found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServiceErrorException An internal error occurred.
- BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
- NotFoundException The signing profile was not found.
- TooManyRequestsException The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SignerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
Create an instance ofSignerAsyncWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
SignerAsyncWaiter
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aSignerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSignerAsyncClient
.
-