Skip to content

Commit fa926ac

Browse files
author
awstools
committed
feat(client-appconfig): AWS AppConfig has added a new extension action point, AT_DEPLOYMENT_TICK, to support third-party monitors to trigger an automatic rollback during a deployment.
1 parent bd19a2a commit fa926ac

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed

clients/client-appconfig/src/commands/ListHostedConfigurationVersionsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface ListHostedConfigurationVersionsCommandOutput extends HostedConf
3232

3333
/**
3434
* <p>Lists configurations stored in the AppConfig hosted configuration store by
35-
* version.</p>
35+
* version. </p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

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

+14-8
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ export interface AccountSettings {
6262

6363
/**
6464
* <p>An action defines the tasks that the extension performs during the AppConfig
65-
* workflow. Each action includes an action point such as
66-
* <code>ON_CREATE_HOSTED_CONFIGURATION</code>, <code>PRE_DEPLOYMENT</code>, or
67-
* <code>ON_DEPLOYMENT</code>. Each action also includes a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity and Access Management
68-
* assume role. You specify the name, URI, and ARN for each <i>action point</i>
69-
* defined in the extension. You can specify the following actions for an extension:</p>
65+
* workflow. Each action includes an action point, as shown in the following list: </p>
7066
* <ul>
7167
* <li>
7268
* <p>
@@ -80,6 +76,11 @@ export interface AccountSettings {
8076
* </li>
8177
* <li>
8278
* <p>
79+
* <code>AT_DEPLOYMENT_TICK</code>
80+
* </p>
81+
* </li>
82+
* <li>
83+
* <p>
8384
* <code>ON_DEPLOYMENT_START</code>
8485
* </p>
8586
* </li>
@@ -104,6 +105,9 @@ export interface AccountSettings {
104105
* </p>
105106
* </li>
106107
* </ul>
108+
* <p>Each action also includes a name, a URI to an Lambda function, and an
109+
* Amazon Resource Name (ARN) for an Identity and Access Management assume role. You specify the name,
110+
* URI, and ARN for each <i>action point</i> defined in the extension.</p>
107111
* @public
108112
*/
109113
export interface Action {
@@ -189,6 +193,7 @@ export interface ActionInvocation {
189193
* @enum
190194
*/
191195
export const ActionPoint = {
196+
AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
192197
ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
193198
ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE",
194199
ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK",
@@ -591,7 +596,7 @@ export interface CreateConfigurationProfileRequest {
591596
* <li>
592597
* <p>For an Amazon S3 object, specify the URI in the following format:
593598
* <code>s3://<bucket>/<objectKey> </code>. Here is an example:
594-
* <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>
599+
* <code>s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json</code>
595600
* </p>
596601
* </li>
597602
* <li>
@@ -2639,8 +2644,9 @@ export interface ListHostedConfigurationVersionsRequest {
26392644
ConfigurationProfileId: string | undefined;
26402645

26412646
/**
2642-
* <p>The maximum number of items to return for this call. The call also returns a token that
2643-
* you can specify in a subsequent call to get the next set of results.</p>
2647+
* <p>The maximum number of items to return for this call. If <code>MaxResults</code> is not
2648+
* provided in the call, AppConfig returns the maximum of 50. The call also returns
2649+
* a token that you can specify in a subsequent call to get the next set of results.</p>
26442650
* @public
26452651
*/
26462652
MaxResults?: number | undefined;

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

+10-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
"traits": {
72-
"smithy.api#documentation": "<p>An action defines the tasks that the extension performs during the AppConfig\n workflow. Each action includes an action point such as\n <code>ON_CREATE_HOSTED_CONFIGURATION</code>, <code>PRE_DEPLOYMENT</code>, or\n <code>ON_DEPLOYMENT</code>. Each action also includes a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity and Access Management\n assume role. You specify the name, URI, and ARN for each <i>action point</i>\n defined in the extension. You can specify the following actions for an extension:</p>\n <ul>\n <li>\n <p>\n <code>PRE_CREATE_HOSTED_CONFIGURATION_VERSION</code>\n </p>\n </li>\n <li>\n <p>\n <code>PRE_START_DEPLOYMENT</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_START</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_STEP</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_BAKING</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_COMPLETE</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_ROLLED_BACK</code>\n </p>\n </li>\n </ul>"
72+
"smithy.api#documentation": "<p>An action defines the tasks that the extension performs during the AppConfig\n workflow. Each action includes an action point, as shown in the following list: </p>\n <ul>\n <li>\n <p>\n <code>PRE_CREATE_HOSTED_CONFIGURATION_VERSION</code>\n </p>\n </li>\n <li>\n <p>\n <code>PRE_START_DEPLOYMENT</code>\n </p>\n </li>\n <li>\n <p>\n <code>AT_DEPLOYMENT_TICK</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_START</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_STEP</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_BAKING</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_COMPLETE</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_ROLLED_BACK</code>\n </p>\n </li>\n </ul>\n <p>Each action also includes a name, a URI to an Lambda function, and an\n Amazon Resource Name (ARN) for an Identity and Access Management assume role. You specify the name,\n URI, and ARN for each <i>action point</i> defined in the extension.</p>"
7373
}
7474
},
7575
"com.amazonaws.appconfig#ActionInvocation": {
@@ -155,6 +155,12 @@
155155
"smithy.api#enumValue": "PRE_START_DEPLOYMENT"
156156
}
157157
},
158+
"AT_DEPLOYMENT_TICK": {
159+
"target": "smithy.api#Unit",
160+
"traits": {
161+
"smithy.api#enumValue": "AT_DEPLOYMENT_TICK"
162+
}
163+
},
158164
"ON_DEPLOYMENT_START": {
159165
"target": "smithy.api#Unit",
160166
"traits": {
@@ -1835,7 +1841,7 @@
18351841
"LocationUri": {
18361842
"target": "com.amazonaws.appconfig#Uri",
18371843
"traits": {
1838-
"smithy.api#documentation": "<p>A URI to locate the configuration. You can specify the following:</p>\n <ul>\n <li>\n <p>For the AppConfig hosted configuration store and for feature flags,\n specify <code>hosted</code>.</p>\n </li>\n <li>\n <p>For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in\n the format <code>ssm-parameter://<parameter name></code> or the ARN.</p>\n </li>\n <li>\n <p>For an Amazon Web Services\n CodePipeline pipeline, specify the URI in the following format:\n <code>codepipeline</code>://<pipeline name>.</p>\n </li>\n <li>\n <p>For an Secrets Manager secret, specify the URI in the following format:\n <code>secretsmanager</code>://<secret name>.</p>\n </li>\n <li>\n <p>For an Amazon S3 object, specify the URI in the following format:\n <code>s3://<bucket>/<objectKey> </code>. Here is an example:\n <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>\n </p>\n </li>\n <li>\n <p>For an SSM document, specify either the document name in the format\n <code>ssm-document://<document name></code> or the Amazon Resource Name\n (ARN).</p>\n </li>\n </ul>",
1844+
"smithy.api#documentation": "<p>A URI to locate the configuration. You can specify the following:</p>\n <ul>\n <li>\n <p>For the AppConfig hosted configuration store and for feature flags,\n specify <code>hosted</code>.</p>\n </li>\n <li>\n <p>For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in\n the format <code>ssm-parameter://<parameter name></code> or the ARN.</p>\n </li>\n <li>\n <p>For an Amazon Web Services\n CodePipeline pipeline, specify the URI in the following format:\n <code>codepipeline</code>://<pipeline name>.</p>\n </li>\n <li>\n <p>For an Secrets Manager secret, specify the URI in the following format:\n <code>secretsmanager</code>://<secret name>.</p>\n </li>\n <li>\n <p>For an Amazon S3 object, specify the URI in the following format:\n <code>s3://<bucket>/<objectKey> </code>. Here is an example:\n <code>s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json</code>\n </p>\n </li>\n <li>\n <p>For an SSM document, specify either the document name in the format\n <code>ssm-document://<document name></code> or the Amazon Resource Name\n (ARN).</p>\n </li>\n </ul>",
18391845
"smithy.api#required": {}
18401846
}
18411847
},
@@ -5040,7 +5046,7 @@
50405046
}
50415047
],
50425048
"traits": {
5043-
"smithy.api#documentation": "<p>Lists configurations stored in the AppConfig hosted configuration store by\n version.</p>",
5049+
"smithy.api#documentation": "<p>Lists configurations stored in the AppConfig hosted configuration store by\n version. </p>",
50445050
"smithy.api#examples": [
50455051
{
50465052
"title": "To list the available hosted configuration versions",
@@ -5096,7 +5102,7 @@
50965102
"MaxResults": {
50975103
"target": "com.amazonaws.appconfig#MaxResults",
50985104
"traits": {
5099-
"smithy.api#documentation": "<p>The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.</p>",
5105+
"smithy.api#documentation": "<p>The maximum number of items to return for this call. If <code>MaxResults</code> is not\n provided in the call, AppConfig returns the maximum of 50. The call also returns\n a token that you can specify in a subsequent call to get the next set of results.</p>",
51005106
"smithy.api#httpQuery": "max_results"
51015107
}
51025108
},

0 commit comments

Comments
 (0)