Skip to content

Commit e184834

Browse files
author
awstools
committed
docs(client-signer): Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions.
1 parent a11b006 commit e184834

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

clients/client-signer/src/commands/StartSigningJobCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ export interface StartSigningJobCommandOutput extends StartSigningJobResponse, _
4747
* <code>StartSigningJob</code> operation.</p>
4848
* </li>
4949
* <li>
50+
* <p>You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.</p>
51+
* </li>
52+
* <li>
5053
* <p>You must also specify a request token that identifies your request to Signer.</p>
5154
* </li>
5255
* </ul>

clients/client-signer/src/models/models_0.ts

+21-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,27 @@ export interface AddProfilePermissionRequest {
4242
profileVersion?: string;
4343

4444
/**
45-
* <p>The AWS Signer action permitted as part of cross-account permissions.</p>
45+
* <p>For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see <a href="https://docs.aws.amazon.com/signer/latest/developerguide/signing-profile-cross-account.html">Using cross-account signing with signing profiles</a> in the <i>AWS Signer Developer Guide</i>.</p>
46+
* <p>You can designate the following actions to an account.</p>
47+
* <ul>
48+
* <li>
49+
* <p>
50+
* <code>signer:StartSigningJob</code>. This action isn't supported for container image workflows. For details, see <a>StartSigningJob</a>.</p>
51+
* </li>
52+
* <li>
53+
* <p>
54+
* <code>signer:SignPayload</code>. This action isn't supported for AWS Lambda workflows. For details, see <a>SignPayload</a>
55+
* </p>
56+
* </li>
57+
* <li>
58+
* <p>
59+
* <code>signer:GetSigningProfile</code>. For details, see <a>GetSigningProfile</a>.</p>
60+
* </li>
61+
* <li>
62+
* <p>
63+
* <code>signer:RevokeSignature</code>. For details, see <a>RevokeSignature</a>.</p>
64+
* </li>
65+
* </ul>
4666
* @public
4767
*/
4868
action: string | undefined;

codegen/sdk-codegen/aws-models/signer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"action": {
116116
"target": "com.amazonaws.signer#String",
117117
"traits": {
118-
"smithy.api#documentation": "<p>The AWS Signer action permitted as part of cross-account permissions.</p>",
118+
"smithy.api#documentation": "<p>For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see <a href=\"https://docs.aws.amazon.com/signer/latest/developerguide/signing-profile-cross-account.html\">Using cross-account signing with signing profiles</a> in the <i>AWS Signer Developer Guide</i>.</p>\n\t\t <p>You can designate the following actions to an account.</p>\n\t\t <ul>\n <li>\n <p>\n <code>signer:StartSigningJob</code>. This action isn't supported for container image workflows. For details, see <a>StartSigningJob</a>.</p>\n </li>\n <li>\n <p>\n <code>signer:SignPayload</code>. This action isn't supported for AWS Lambda workflows. For details, see <a>SignPayload</a>\n </p>\n </li>\n <li>\n <p>\n <code>signer:GetSigningProfile</code>. For details, see <a>GetSigningProfile</a>.</p>\n </li>\n <li>\n <p>\n <code>signer:RevokeSignature</code>. For details, see <a>RevokeSignature</a>.</p>\n </li>\n </ul>",
119119
"smithy.api#required": {}
120120
}
121121
},
@@ -2677,7 +2677,7 @@
26772677
}
26782678
],
26792679
"traits": {
2680-
"smithy.api#documentation": "<p>Initiates a signing job to be performed on the code provided. Signing jobs are\n\t\t\tviewable by the <code>ListSigningJobs</code> operation for two years after they are\n\t\t\tperformed. Note the following requirements: </p>\n\t\t <ul>\n <li>\n\t\t\t\t <p> You must create an Amazon S3 source bucket. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html\">Creating a Bucket</a> in the\n\t\t\t\t\t\t<i>Amazon S3 Getting Started Guide</i>. </p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>Your S3 source bucket must be version enabled.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to\n\t\t\t\t\twrite your signed code.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You specify the name of the source and destination buckets when calling the\n\t\t\t\t\t\t<code>StartSigningJob</code> operation.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You must also specify a request token that identifies your request to Signer.</p>\n\t\t\t </li>\n </ul>\n\t\t <p>You can call the <a>DescribeSigningJob</a> and the <a>ListSigningJobs</a> actions after you call\n\t\t\t<code>StartSigningJob</code>.</p>\n\t\t <p>For a Java example that shows how to use this action, see <a href=\"https://docs.aws.amazon.com/signer/latest/developerguide/api-startsigningjob.html\">StartSigningJob</a>.</p>",
2680+
"smithy.api#documentation": "<p>Initiates a signing job to be performed on the code provided. Signing jobs are\n\t\t\tviewable by the <code>ListSigningJobs</code> operation for two years after they are\n\t\t\tperformed. Note the following requirements: </p>\n\t\t <ul>\n <li>\n\t\t\t\t <p> You must create an Amazon S3 source bucket. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html\">Creating a Bucket</a> in the\n\t\t\t\t\t\t<i>Amazon S3 Getting Started Guide</i>. </p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>Your S3 source bucket must be version enabled.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to\n\t\t\t\t\twrite your signed code.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You specify the name of the source and destination buckets when calling the\n\t\t\t\t\t\t<code>StartSigningJob</code> operation.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.</p>\n\t\t\t </li>\n <li>\n\t\t\t\t <p>You must also specify a request token that identifies your request to Signer.</p>\n\t\t\t </li>\n </ul>\n\t\t <p>You can call the <a>DescribeSigningJob</a> and the <a>ListSigningJobs</a> actions after you call\n\t\t\t<code>StartSigningJob</code>.</p>\n\t\t <p>For a Java example that shows how to use this action, see <a href=\"https://docs.aws.amazon.com/signer/latest/developerguide/api-startsigningjob.html\">StartSigningJob</a>.</p>",
26812681
"smithy.api#http": {
26822682
"method": "POST",
26832683
"uri": "/signing-jobs",

0 commit comments

Comments
 (0)