@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.
You can use Code Signing for Amazon FreeRTOS (AWS Signer) to sign code that you created for any of the IoT devices that Amazon Web Services supports. AWS Signer is integrated with Amazon FreeRTOS, AWS Certificate Manager, and AWS CloudTrail. Amazon FreeRTOS customers can use AWS Signer to sign code images before making them available for microcontrollers. You can use ACM to import third-party certificates to be used by AWS Signer. For general information about using AWS Signer, see the Code Signing for Amazon FreeRTOS Developer Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getSigningPlatform, getSigningProfile, listSigningJobs, listSigningPlatforms, listSigningProfiles, putSigningProfile, startSigningJob, 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
cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getSigningPlatform, getSigningProfile, listSigningJobs, listSigningPlatforms, listSigningProfiles, putSigningProfile, startSigningJob, waiters
public static AWSsignerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
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<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 AWS 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 AWS 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, 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 AWS 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, 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 AWS 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 AWS 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 AWS 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<PutSigningProfileResult> putSigningProfileAsync(PutSigningProfileRequest request)
AWSsignerAsync
Creates a signing profile. A signing profile is an AWS Signer 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 an AWS Signer 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<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. 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 AWS 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 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. 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 AWS 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 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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSsigner
shutdown
in class AWSsignerClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.