@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSsignerAsync extends AWSsigner
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSsignerAsync
instead.
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.
ENDPOINT_PREFIX
addProfilePermission, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getRevocationStatus, getSigningPlatform, getSigningProfile, listProfilePermissions, listSigningJobs, listSigningPlatforms, listSigningProfiles, listTagsForResource, putSigningProfile, removeProfilePermission, revokeSignature, revokeSigningProfile, shutdown, signPayload, startSigningJob, tagResource, untagResource, waiters
Future<AddProfilePermissionResult> addProfilePermissionAsync(AddProfilePermissionRequest addProfilePermissionRequest)
Adds cross-account permissions to a signing profile.
addProfilePermissionRequest
- Future<AddProfilePermissionResult> addProfilePermissionAsync(AddProfilePermissionRequest addProfilePermissionRequest, AsyncHandler<AddProfilePermissionRequest,AddProfilePermissionResult> asyncHandler)
Adds cross-account permissions to a signing profile.
addProfilePermissionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CancelSigningProfileResult> cancelSigningProfileAsync(CancelSigningProfileRequest cancelSigningProfileRequest)
Changes the state of an ACTIVE
signing profile to CANCELED
. A canceled profile is still
viewable with the ListSigningProfiles
operation, but it cannot perform new signing jobs, and is
deleted two years after cancelation.
cancelSigningProfileRequest
- Future<CancelSigningProfileResult> cancelSigningProfileAsync(CancelSigningProfileRequest cancelSigningProfileRequest, AsyncHandler<CancelSigningProfileRequest,CancelSigningProfileResult> asyncHandler)
Changes the state of an ACTIVE
signing profile to CANCELED
. A canceled profile is still
viewable with the ListSigningProfiles
operation, but it cannot perform new signing jobs, and is
deleted two years after cancelation.
cancelSigningProfileRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeSigningJobResult> describeSigningJobAsync(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.
describeSigningJobRequest
- Future<DescribeSigningJobResult> describeSigningJobAsync(DescribeSigningJobRequest describeSigningJobRequest, AsyncHandler<DescribeSigningJobRequest,DescribeSigningJobResult> asyncHandler)
Returns information about a specific code signing job. You specify the job by using the jobId
value
that is returned by the StartSigningJob operation.
describeSigningJobRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetRevocationStatusResult> getRevocationStatusAsync(GetRevocationStatusRequest getRevocationStatusRequest)
Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
getRevocationStatusRequest
- Future<GetRevocationStatusResult> getRevocationStatusAsync(GetRevocationStatusRequest getRevocationStatusRequest, AsyncHandler<GetRevocationStatusRequest,GetRevocationStatusResult> asyncHandler)
Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
getRevocationStatusRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetSigningPlatformResult> getSigningPlatformAsync(GetSigningPlatformRequest getSigningPlatformRequest)
Returns information on a specific signing platform.
getSigningPlatformRequest
- Future<GetSigningPlatformResult> getSigningPlatformAsync(GetSigningPlatformRequest getSigningPlatformRequest, AsyncHandler<GetSigningPlatformRequest,GetSigningPlatformResult> asyncHandler)
Returns information on a specific signing platform.
getSigningPlatformRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetSigningProfileResult> getSigningProfileAsync(GetSigningProfileRequest getSigningProfileRequest)
Returns information on a specific signing profile.
getSigningProfileRequest
- Future<GetSigningProfileResult> getSigningProfileAsync(GetSigningProfileRequest getSigningProfileRequest, AsyncHandler<GetSigningProfileRequest,GetSigningProfileResult> asyncHandler)
Returns information on a specific signing profile.
getSigningProfileRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListProfilePermissionsResult> listProfilePermissionsAsync(ListProfilePermissionsRequest listProfilePermissionsRequest)
Lists the cross-account permissions associated with a signing profile.
listProfilePermissionsRequest
- Future<ListProfilePermissionsResult> listProfilePermissionsAsync(ListProfilePermissionsRequest listProfilePermissionsRequest, AsyncHandler<ListProfilePermissionsRequest,ListProfilePermissionsResult> asyncHandler)
Lists the cross-account permissions associated with a signing profile.
listProfilePermissionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSigningJobsResult> listSigningJobsAsync(ListSigningJobsRequest listSigningJobsRequest)
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
listSigningJobsRequest
- Future<ListSigningJobsResult> listSigningJobsAsync(ListSigningJobsRequest listSigningJobsRequest, AsyncHandler<ListSigningJobsRequest,ListSigningJobsResult> asyncHandler)
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
listSigningJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSigningPlatformsResult> listSigningPlatformsAsync(ListSigningPlatformsRequest listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
listSigningPlatformsRequest
- Future<ListSigningPlatformsResult> listSigningPlatformsAsync(ListSigningPlatformsRequest listSigningPlatformsRequest, AsyncHandler<ListSigningPlatformsRequest,ListSigningPlatformsResult> asyncHandler)
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
listSigningPlatformsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSigningProfilesResult> listSigningProfilesAsync(ListSigningProfilesRequest listSigningProfilesRequest)
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
listSigningProfilesRequest
- Future<ListSigningProfilesResult> listSigningProfilesAsync(ListSigningProfilesRequest listSigningProfilesRequest, AsyncHandler<ListSigningProfilesRequest,ListSigningProfilesResult> asyncHandler)
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
listSigningProfilesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags associated with a signing profile resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Returns a list of the tags associated with a signing profile resource.
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutSigningProfileResult> putSigningProfileAsync(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.
putSigningProfileRequest
- Future<PutSigningProfileResult> putSigningProfileAsync(PutSigningProfileRequest putSigningProfileRequest, AsyncHandler<PutSigningProfileRequest,PutSigningProfileResult> asyncHandler)
Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
putSigningProfileRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RemoveProfilePermissionResult> removeProfilePermissionAsync(RemoveProfilePermissionRequest removeProfilePermissionRequest)
Removes cross-account permissions from a signing profile.
removeProfilePermissionRequest
- Future<RemoveProfilePermissionResult> removeProfilePermissionAsync(RemoveProfilePermissionRequest removeProfilePermissionRequest, AsyncHandler<RemoveProfilePermissionRequest,RemoveProfilePermissionResult> asyncHandler)
Removes cross-account permissions from a signing profile.
removeProfilePermissionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RevokeSignatureResult> revokeSignatureAsync(RevokeSignatureRequest revokeSignatureRequest)
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
revokeSignatureRequest
- Future<RevokeSignatureResult> revokeSignatureAsync(RevokeSignatureRequest revokeSignatureRequest, AsyncHandler<RevokeSignatureRequest,RevokeSignatureResult> asyncHandler)
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
revokeSignatureRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RevokeSigningProfileResult> revokeSigningProfileAsync(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.
revokeSigningProfileRequest
- Future<RevokeSigningProfileResult> revokeSigningProfileAsync(RevokeSigningProfileRequest revokeSigningProfileRequest, AsyncHandler<RevokeSigningProfileRequest,RevokeSigningProfileResult> asyncHandler)
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.
revokeSigningProfileRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<SignPayloadResult> signPayloadAsync(SignPayloadRequest signPayloadRequest)
Signs a binary payload and returns a signature envelope.
signPayloadRequest
- Future<SignPayloadResult> signPayloadAsync(SignPayloadRequest signPayloadRequest, AsyncHandler<SignPayloadRequest,SignPayloadResult> asyncHandler)
Signs a binary payload and returns a signature envelope.
signPayloadRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartSigningJobResult> startSigningJobAsync(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 ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.
You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob and the ListSigningJobs actions after you call
StartSigningJob
.
For a Java example that shows how to use this action, see StartSigningJob.
startSigningJobRequest
- Future<StartSigningJobResult> startSigningJobAsync(StartSigningJobRequest startSigningJobRequest, AsyncHandler<StartSigningJobRequest,StartSigningJobResult> asyncHandler)
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 ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.
You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob and the ListSigningJobs actions after you call
StartSigningJob
.
For a Java example that shows how to use this action, see StartSigningJob.
startSigningJobRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
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.
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.