@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSsigner
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSsigner
instead.
With code signing for IoT, you can sign code that you create for any IoT device that is supported by Amazon Web Services (AWS). Code signing is available through Amazon FreeRTOS and AWS IoT Device Management, and integrated with AWS Certificate Manager (ACM). In order to sign code, you import a third-party code signing certificate with ACM that is used to sign updates in Amazon FreeRTOS and AWS IoT Device Management. For general information about using code signing, see the Code Signing for IoT Developer Guide.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CancelSigningProfileResult |
cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest)
Changes the state of an
ACTIVE signing profile to CANCELED . |
DescribeSigningJobResult |
describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest)
Returns information about a specific code signing job.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetSigningPlatformResult |
getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest)
Returns information on a specific signing platform.
|
GetSigningProfileResult |
getSigningProfile(GetSigningProfileRequest getSigningProfileRequest)
Returns information on a specific signing profile.
|
ListSigningJobsResult |
listSigningJobs(ListSigningJobsRequest listSigningJobsRequest)
Lists all your signing jobs.
|
ListSigningPlatformsResult |
listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest)
Lists all signing platforms available in code signing that match the request parameters.
|
ListSigningProfilesResult |
listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest)
Lists all available signing profiles in your AWS account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags associated with a signing profile resource.
|
PutSigningProfileResult |
putSigningProfile(PutSigningProfileRequest putSigningProfileRequest)
Creates a signing profile.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartSigningJobResult |
startSigningJob(StartSigningJobRequest startSigningJobRequest)
Initiates a signing job to be performed on the code provided.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to a signing profile.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from a signing profile.
|
AWSsignerWaiters |
waiters() |
static final String ENDPOINT_PREFIX
CancelSigningProfileResult cancelSigningProfile(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
- ResourceNotFoundException
- A specified resource could not be found.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.DescribeSigningJobResult describeSigningJob(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
- ResourceNotFoundException
- A specified resource could not be found.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServiceErrorException
- An internal error occurred.GetSigningPlatformResult getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest)
Returns information on a specific signing platform.
getSigningPlatformRequest
- ResourceNotFoundException
- A specified resource could not be found.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServiceErrorException
- An internal error occurred.GetSigningProfileResult getSigningProfile(GetSigningProfileRequest getSigningProfileRequest)
Returns information on a specific signing profile.
getSigningProfileRequest
- ResourceNotFoundException
- A specified resource could not be found.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.ListSigningJobsResult listSigningJobs(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, 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.
listSigningJobsRequest
- ValidationException
- You signing certificate could not be validated.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.ListSigningPlatformsResult listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest)
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.
listSigningPlatformsRequest
- ValidationException
- You signing certificate could not be validated.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.ListSigningProfilesResult listSigningProfiles(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, 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.
listSigningProfilesRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags associated with a signing profile resource.
listTagsForResourceRequest
- InternalServiceErrorException
- An internal error occurred.BadRequestException
- The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a
tagging API on a cancelled signing profile.NotFoundException
- The signing profile was not found.PutSigningProfileResult putSigningProfile(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. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
putSigningProfileRequest
- ResourceNotFoundException
- A specified resource could not be found.AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- You signing certificate could not be validated.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.StartSigningJobResult startSigningJob(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 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/
startSigningJobRequest
- ValidationException
- You signing certificate could not be validated.ResourceNotFoundException
- A specified resource could not be found.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The signing job has been throttled.InternalServiceErrorException
- An internal error occurred.TagResourceResult tagResource(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
- InternalServiceErrorException
- An internal error occurred.BadRequestException
- The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a
tagging API on a cancelled signing profile.NotFoundException
- The signing profile was not found.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
untagResourceRequest
- InternalServiceErrorException
- An internal error occurred.BadRequestException
- The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a
tagging API on a cancelled signing profile.NotFoundException
- The signing profile was not found.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.AWSsignerWaiters waiters()