@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSsignerAsync extends AbstractAWSsigner implements AWSsignerAsync
AWSsignerAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
addProfilePermission, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getRevocationStatus, getSigningPlatform, getSigningProfile, listProfilePermissions, listSigningJobs, listSigningPlatforms, listSigningProfiles, listTagsForResource, putSigningProfile, removeProfilePermission, revokeSignature, revokeSigningProfile, shutdown, signPayload, startSigningJob, tagResource, untagResource, waiters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProfilePermission, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getRevocationStatus, getSigningPlatform, getSigningProfile, listProfilePermissions, listSigningJobs, listSigningPlatforms, listSigningProfiles, listTagsForResource, putSigningProfile, removeProfilePermission, revokeSignature, revokeSigningProfile, shutdown, signPayload, startSigningJob, tagResource, untagResource, waiters
public Future<AddProfilePermissionResult> addProfilePermissionAsync(AddProfilePermissionRequest request)
AWSsignerAsync
Adds cross-account permissions to a signing profile.
addProfilePermissionAsync
in interface AWSsignerAsync
public Future<AddProfilePermissionResult> addProfilePermissionAsync(AddProfilePermissionRequest request, AsyncHandler<AddProfilePermissionRequest,AddProfilePermissionResult> asyncHandler)
AWSsignerAsync
Adds cross-account permissions to a signing profile.
addProfilePermissionAsync
in interface AWSsignerAsync
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.public Future<CancelSigningProfileResult> cancelSigningProfileAsync(CancelSigningProfileRequest request)
AWSsignerAsync
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.
cancelSigningProfileAsync
in interface AWSsignerAsync
public Future<CancelSigningProfileResult> cancelSigningProfileAsync(CancelSigningProfileRequest request, AsyncHandler<CancelSigningProfileRequest,CancelSigningProfileResult> asyncHandler)
AWSsignerAsync
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.
cancelSigningProfileAsync
in interface AWSsignerAsync
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.public Future<DescribeSigningJobResult> describeSigningJobAsync(DescribeSigningJobRequest request)
AWSsignerAsync
Returns information about a specific code signing job. You specify the job by using the jobId
value
that is returned by the StartSigningJob operation.
describeSigningJobAsync
in interface AWSsignerAsync
public Future<DescribeSigningJobResult> describeSigningJobAsync(DescribeSigningJobRequest request, AsyncHandler<DescribeSigningJobRequest,DescribeSigningJobResult> asyncHandler)
AWSsignerAsync
Returns information about a specific code signing job. You specify the job by using the jobId
value
that is returned by the StartSigningJob operation.
describeSigningJobAsync
in interface AWSsignerAsync
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.public Future<GetRevocationStatusResult> getRevocationStatusAsync(GetRevocationStatusRequest request)
AWSsignerAsync
Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
getRevocationStatusAsync
in interface AWSsignerAsync
public Future<GetRevocationStatusResult> getRevocationStatusAsync(GetRevocationStatusRequest request, AsyncHandler<GetRevocationStatusRequest,GetRevocationStatusResult> asyncHandler)
AWSsignerAsync
Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
getRevocationStatusAsync
in interface AWSsignerAsync
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.public Future<GetSigningPlatformResult> getSigningPlatformAsync(GetSigningPlatformRequest request)
AWSsignerAsync
Returns information on a specific signing platform.
getSigningPlatformAsync
in interface AWSsignerAsync
public Future<GetSigningPlatformResult> getSigningPlatformAsync(GetSigningPlatformRequest request, AsyncHandler<GetSigningPlatformRequest,GetSigningPlatformResult> asyncHandler)
AWSsignerAsync
Returns information on a specific signing platform.
getSigningPlatformAsync
in interface AWSsignerAsync
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.public Future<GetSigningProfileResult> getSigningProfileAsync(GetSigningProfileRequest request)
AWSsignerAsync
Returns information on a specific signing profile.
getSigningProfileAsync
in interface AWSsignerAsync
public Future<GetSigningProfileResult> getSigningProfileAsync(GetSigningProfileRequest request, AsyncHandler<GetSigningProfileRequest,GetSigningProfileResult> asyncHandler)
AWSsignerAsync
Returns information on a specific signing profile.
getSigningProfileAsync
in interface AWSsignerAsync
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.public Future<ListProfilePermissionsResult> listProfilePermissionsAsync(ListProfilePermissionsRequest request)
AWSsignerAsync
Lists the cross-account permissions associated with a signing profile.
listProfilePermissionsAsync
in interface AWSsignerAsync
public Future<ListProfilePermissionsResult> listProfilePermissionsAsync(ListProfilePermissionsRequest request, AsyncHandler<ListProfilePermissionsRequest,ListProfilePermissionsResult> asyncHandler)
AWSsignerAsync
Lists the cross-account permissions associated with a signing profile.
listProfilePermissionsAsync
in interface AWSsignerAsync
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.public Future<ListSigningJobsResult> listSigningJobsAsync(ListSigningJobsRequest request)
AWSsignerAsync
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.
listSigningJobsAsync
in interface AWSsignerAsync
public Future<ListSigningJobsResult> listSigningJobsAsync(ListSigningJobsRequest request, AsyncHandler<ListSigningJobsRequest,ListSigningJobsResult> asyncHandler)
AWSsignerAsync
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.
listSigningJobsAsync
in interface AWSsignerAsync
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.public Future<ListSigningPlatformsResult> listSigningPlatformsAsync(ListSigningPlatformsRequest request)
AWSsignerAsync
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.
listSigningPlatformsAsync
in interface AWSsignerAsync
public Future<ListSigningPlatformsResult> listSigningPlatformsAsync(ListSigningPlatformsRequest request, AsyncHandler<ListSigningPlatformsRequest,ListSigningPlatformsResult> asyncHandler)
AWSsignerAsync
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.
listSigningPlatformsAsync
in interface AWSsignerAsync
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.public Future<ListSigningProfilesResult> listSigningProfilesAsync(ListSigningProfilesRequest request)
AWSsignerAsync
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.
listSigningProfilesAsync
in interface AWSsignerAsync
public Future<ListSigningProfilesResult> listSigningProfilesAsync(ListSigningProfilesRequest request, AsyncHandler<ListSigningProfilesRequest,ListSigningProfilesResult> asyncHandler)
AWSsignerAsync
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.
listSigningProfilesAsync
in interface AWSsignerAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSsignerAsync
Returns a list of the tags associated with a signing profile resource.
listTagsForResourceAsync
in interface AWSsignerAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSsignerAsync
Returns a list of the tags associated with a signing profile resource.
listTagsForResourceAsync
in interface AWSsignerAsync
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.public Future<PutSigningProfileResult> putSigningProfileAsync(PutSigningProfileRequest request)
AWSsignerAsync
Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
putSigningProfileAsync
in interface AWSsignerAsync
public Future<PutSigningProfileResult> putSigningProfileAsync(PutSigningProfileRequest request, AsyncHandler<PutSigningProfileRequest,PutSigningProfileResult> asyncHandler)
AWSsignerAsync
Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
putSigningProfileAsync
in interface AWSsignerAsync
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.public Future<RemoveProfilePermissionResult> removeProfilePermissionAsync(RemoveProfilePermissionRequest request)
AWSsignerAsync
Removes cross-account permissions from a signing profile.
removeProfilePermissionAsync
in interface AWSsignerAsync
public Future<RemoveProfilePermissionResult> removeProfilePermissionAsync(RemoveProfilePermissionRequest request, AsyncHandler<RemoveProfilePermissionRequest,RemoveProfilePermissionResult> asyncHandler)
AWSsignerAsync
Removes cross-account permissions from a signing profile.
removeProfilePermissionAsync
in interface AWSsignerAsync
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.public Future<RevokeSignatureResult> revokeSignatureAsync(RevokeSignatureRequest request)
AWSsignerAsync
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
revokeSignatureAsync
in interface AWSsignerAsync
public Future<RevokeSignatureResult> revokeSignatureAsync(RevokeSignatureRequest request, AsyncHandler<RevokeSignatureRequest,RevokeSignatureResult> asyncHandler)
AWSsignerAsync
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
revokeSignatureAsync
in interface AWSsignerAsync
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.public Future<RevokeSigningProfileResult> revokeSigningProfileAsync(RevokeSigningProfileRequest request)
AWSsignerAsync
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.
revokeSigningProfileAsync
in interface AWSsignerAsync
public Future<RevokeSigningProfileResult> revokeSigningProfileAsync(RevokeSigningProfileRequest request, AsyncHandler<RevokeSigningProfileRequest,RevokeSigningProfileResult> asyncHandler)
AWSsignerAsync
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.
revokeSigningProfileAsync
in interface AWSsignerAsync
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.public Future<SignPayloadResult> signPayloadAsync(SignPayloadRequest request)
AWSsignerAsync
Signs a binary payload and returns a signature envelope.
signPayloadAsync
in interface AWSsignerAsync
public Future<SignPayloadResult> signPayloadAsync(SignPayloadRequest request, AsyncHandler<SignPayloadRequest,SignPayloadResult> asyncHandler)
AWSsignerAsync
Signs a binary payload and returns a signature envelope.
signPayloadAsync
in interface AWSsignerAsync
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.public Future<StartSigningJobResult> startSigningJobAsync(StartSigningJobRequest request)
AWSsignerAsync
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.
startSigningJobAsync
in interface AWSsignerAsync
public Future<StartSigningJobResult> startSigningJobAsync(StartSigningJobRequest request, AsyncHandler<StartSigningJobRequest,StartSigningJobResult> asyncHandler)
AWSsignerAsync
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.
startSigningJobAsync
in interface AWSsignerAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSsignerAsync
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.
tagResourceAsync
in interface AWSsignerAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSsignerAsync
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.
tagResourceAsync
in interface AWSsignerAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSsignerAsync
Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
untagResourceAsync
in interface AWSsignerAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSsignerAsync
Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
untagResourceAsync
in interface AWSsignerAsync
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.