Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Signer

import { Signer } from "https://aws-api.deno.dev/v0.3/services/signer.ts?docs=full";
class Signer {
constructor(apiFactory: client.ApiFactory);
async addProfilePermission(params: AddProfilePermissionRequest, opts?: client.RequestOptions): Promise<AddProfilePermissionResponse>;
async cancelSigningProfile(params: CancelSigningProfileRequest, opts?: client.RequestOptions): Promise<void>;
async describeSigningJob(params: DescribeSigningJobRequest, opts?: client.RequestOptions): Promise<DescribeSigningJobResponse>;
async getSigningPlatform(params: GetSigningPlatformRequest, opts?: client.RequestOptions): Promise<GetSigningPlatformResponse>;
async getSigningProfile(params: GetSigningProfileRequest, opts?: client.RequestOptions): Promise<GetSigningProfileResponse>;
async listProfilePermissions(params: ListProfilePermissionsRequest, opts?: client.RequestOptions): Promise<ListProfilePermissionsResponse>;
async listSigningJobs(params?: ListSigningJobsRequest, opts?: client.RequestOptions): Promise<ListSigningJobsResponse>;
async listSigningPlatforms(params?: ListSigningPlatformsRequest, opts?: client.RequestOptions): Promise<ListSigningPlatformsResponse>;
async listSigningProfiles(params?: ListSigningProfilesRequest, opts?: client.RequestOptions): Promise<ListSigningProfilesResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async putSigningProfile(params: PutSigningProfileRequest, opts?: client.RequestOptions): Promise<PutSigningProfileResponse>;
async removeProfilePermission(params: RemoveProfilePermissionRequest, opts?: client.RequestOptions): Promise<RemoveProfilePermissionResponse>;
async revokeSignature(params: RevokeSignatureRequest, opts?: client.RequestOptions): Promise<void>;
async revokeSigningProfile(params: RevokeSigningProfileRequest, opts?: client.RequestOptions): Promise<void>;
async startSigningJob(params: StartSigningJobRequest, opts?: client.RequestOptions): Promise<StartSigningJobResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async waitForSuccessfulSigningJob(params: DescribeSigningJobRequest, opts?: client.RequestOptions): Promise<DescribeSigningJobResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Signer(apiFactory: client.ApiFactory)
[src]

§Methods

§

Adds cross-account permissions to a signing profile.

§
cancelSigningProfile(params: CancelSigningProfileRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the "StartSigningJob" operation.

§

Returns information on a specific signing platform.

§

Returns information on a specific signing profile.

§

Lists the cross-account permissions associated with a signing profile.

§

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.

§

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.

§

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.

§

Returns a list of the tags associated with a signing profile resource.

§

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

§

Removes cross-account permissions from a signing profile.

§
revokeSignature(params: RevokeSignatureRequest, opts?: client.RequestOptions): Promise<void>
[src]

Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.

§
revokeSigningProfile(params: RevokeSigningProfileRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

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/

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.

§
waitForSuccessfulSigningJob(params: DescribeSigningJobRequest, opts?: client.RequestOptions): Promise<DescribeSigningJobResponse>
[src]

Checks state up to 25 times, 20 seconds apart (about 9 minutes max wait time).

§Static Properties