@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_METRICENDPOINT_PREFIXbuilder, cancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getSigningPlatform, getSigningProfile, listSigningJobs, listSigningPlatforms, listSigningProfiles, putSigningProfile, startSigningJob, waitersaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelSigningProfile, describeSigningJob, getCachedResponseMetadata, getSigningPlatform, getSigningProfile, listSigningJobs, listSigningPlatforms, listSigningProfiles, putSigningProfile, startSigningJob, waiterspublic 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 AWSsignerAsyncpublic 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 AWSsignerAsyncasyncHandler - 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 AWSsignerAsyncpublic 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 AWSsignerAsyncasyncHandler - 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)
AWSsignerAsyncReturns information on a specific signing platform.
getSigningPlatformAsync in interface AWSsignerAsyncpublic Future<GetSigningPlatformResult> getSigningPlatformAsync(GetSigningPlatformRequest request, AsyncHandler<GetSigningPlatformRequest,GetSigningPlatformResult> asyncHandler)
AWSsignerAsyncReturns information on a specific signing platform.
getSigningPlatformAsync in interface AWSsignerAsyncasyncHandler - 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)
AWSsignerAsyncReturns information on a specific signing profile.
getSigningProfileAsync in interface AWSsignerAsyncpublic Future<GetSigningProfileResult> getSigningProfileAsync(GetSigningProfileRequest request, AsyncHandler<GetSigningProfileRequest,GetSigningProfileResult> asyncHandler)
AWSsignerAsyncReturns information on a specific signing profile.
getSigningProfileAsync in interface AWSsignerAsyncasyncHandler - 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 AWSsignerAsyncpublic 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 AWSsignerAsyncasyncHandler - 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 AWSsignerAsyncpublic 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 AWSsignerAsyncasyncHandler - 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 AWSsignerAsyncpublic 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 AWSsignerAsyncasyncHandler - 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)
AWSsignerAsyncCreates 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 AWSsignerAsyncpublic Future<PutSigningProfileResult> putSigningProfileAsync(PutSigningProfileRequest request, AsyncHandler<PutSigningProfileRequest,PutSigningProfileResult> asyncHandler)
AWSsignerAsyncCreates 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 AWSsignerAsyncasyncHandler - 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 AWSsignerAsyncpublic 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 AWSsignerAsyncasyncHandler - 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 AWSsignershutdown in class AWSsignerClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.