@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSsignerClient extends AmazonWebServiceClient implements AWSsigner
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 |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSsignerClientBuilder |
builder() |
CancelSigningProfileResult |
cancelSigningProfile(CancelSigningProfileRequest request)
Changes the state of an
ACTIVE signing profile to CANCELED. |
DescribeSigningJobResult |
describeSigningJob(DescribeSigningJobRequest request)
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 request)
Returns information on a specific signing platform.
|
GetSigningProfileResult |
getSigningProfile(GetSigningProfileRequest request)
Returns information on a specific signing profile.
|
ListSigningJobsResult |
listSigningJobs(ListSigningJobsRequest request)
Lists all your signing jobs.
|
ListSigningPlatformsResult |
listSigningPlatforms(ListSigningPlatformsRequest request)
Lists all signing platforms available in code signing that match the request parameters.
|
ListSigningProfilesResult |
listSigningProfiles(ListSigningProfilesRequest request)
Lists all available signing profiles in your AWS account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns a list of the tags associated with a signing profile resource.
|
PutSigningProfileResult |
putSigningProfile(PutSigningProfileRequest request)
Creates a signing profile.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartSigningJobResult |
startSigningJob(StartSigningJobRequest request)
Initiates a signing job to be performed on the code provided.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds one or more tags to a signing profile.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Remove one or more tags from a signing profile.
|
AWSsignerWaiters |
waiters() |
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
public static AWSsignerClientBuilder builder()
public CancelSigningProfileResult cancelSigningProfile(CancelSigningProfileRequest request)
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.
cancelSigningProfile in interface AWSsignercancelSigningProfileRequest - 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.public DescribeSigningJobResult describeSigningJob(DescribeSigningJobRequest request)
Returns information about a specific code signing job. You specify the job by using the jobId value
that is returned by the StartSigningJob operation.
describeSigningJob in interface AWSsignerdescribeSigningJobRequest - ResourceNotFoundException - A specified resource could not be found.AccessDeniedException - You do not have sufficient access to perform this action.InternalServiceErrorException - An internal error occurred.public GetSigningPlatformResult getSigningPlatform(GetSigningPlatformRequest request)
Returns information on a specific signing platform.
getSigningPlatform in interface AWSsignergetSigningPlatformRequest - ResourceNotFoundException - A specified resource could not be found.AccessDeniedException - You do not have sufficient access to perform this action.InternalServiceErrorException - An internal error occurred.public GetSigningProfileResult getSigningProfile(GetSigningProfileRequest request)
Returns information on a specific signing profile.
getSigningProfile in interface AWSsignergetSigningProfileRequest - 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.public ListSigningJobsResult listSigningJobs(ListSigningJobsRequest request)
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.
listSigningJobs in interface AWSsignerlistSigningJobsRequest - 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.public ListSigningPlatformsResult listSigningPlatforms(ListSigningPlatformsRequest request)
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.
listSigningPlatforms in interface AWSsignerlistSigningPlatformsRequest - 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.public ListSigningProfilesResult listSigningProfiles(ListSigningProfilesRequest request)
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.
listSigningProfiles in interface AWSsignerlistSigningProfilesRequest - AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The signing job has been throttled.InternalServiceErrorException - An internal error occurred.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns a list of the tags associated with a signing profile resource.
listTagsForResource in interface AWSsignerlistTagsForResourceRequest - 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.public PutSigningProfileResult putSigningProfile(PutSigningProfileRequest request)
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
putSigningProfile in interface AWSsignerputSigningProfileRequest - 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.public StartSigningJobResult startSigningJob(StartSigningJobRequest request)
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/
startSigningJob in interface AWSsignerstartSigningJobRequest - 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.public TagResourceResult tagResource(TagResourceRequest request)
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. You specify the signing profile using its Amazon Resource Name (ARN). You specify the tag by using a key-value pair.
tagResource in interface AWSsignertagResourceRequest - 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.public UntagResourceResult untagResource(UntagResourceRequest request)
Remove one or more tags from a signing profile. Specify a list of tag keys to remove the tags.
untagResource in interface AWSsigneruntagResourceRequest - 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.public 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 the request.
getCachedResponseMetadata in interface AWSsignerrequest - The originally executed requestpublic AWSsignerWaiters waiters()
public void shutdown()
AWSsignershutdown in interface AWSsignershutdown in class AmazonWebServiceClientCopyright © 2020. All rights reserved.