@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSsignerAsyncClient extends AWSsignerClient implements AWSsignerAsync
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
AWS Signer is a fully managed code signing service to help you ensure the trust and integrity of your code.
AWS 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 import a third-party code signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management.
For more information about AWS Signer, see the AWS Signer Developer Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addProfilePermission, builder, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getSigningPlatform, getSigningProfile, listProfilePermissions, listSigningJobs, listSigningPlatforms, listSigningProfiles, listTagsForResource, putSigningProfile, removeProfilePermission, revokeSignature, revokeSigningProfile, startSigningJob, tagResource, untagResource, waiters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProfilePermission, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getSigningPlatform, getSigningProfile, listProfilePermissions, listSigningJobs, listSigningPlatforms, listSigningProfiles, listTagsForResource, putSigningProfile, removeProfilePermission, revokeSignature, revokeSigningProfile, startSigningJob, tagResource, untagResource, waiters
public static AWSsignerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
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<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, code signing 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 code signing 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, code signing 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 code signing 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 code signing that match the request parameters. If additional jobs
remain to be listed, code signing 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 code signing 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 code signing that match the request parameters. If additional jobs
remain to be listed, code signing 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 code signing 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, code signing 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 code signing 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, code signing 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 code signing 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. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
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. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
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<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 Create a Bucket in the Amazon S3 Getting Started Guide.
Your S3 source bucket must be version enabled.
You must create an S3 destination bucket. Code signing 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 code signing.
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 http://docs.aws.amazon.com/acm/latest/userguide/
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 Create a Bucket in the Amazon S3 Getting Started Guide.
Your S3 source bucket must be version enabled.
You must create an S3 destination bucket. Code signing 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 code signing.
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 http://docs.aws.amazon.com/acm/latest/userguide/
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSsigner
shutdown
in class AWSsignerClient