Skip to content

Commit 08f35b9

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent be3cc3e commit 08f35b9

File tree

5 files changed

+314
-18
lines changed

5 files changed

+314
-18
lines changed

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

+28-2
Original file line numberDiff line numberDiff line change
@@ -3028,6 +3028,12 @@
30283028
"traits": {
30293029
"smithy.api#enumValue": "DEPLOYMENT_COMPLETED"
30303030
}
3031+
},
3032+
"REVERT_COMPLETED": {
3033+
"target": "smithy.api#Unit",
3034+
"traits": {
3035+
"smithy.api#enumValue": "REVERT_COMPLETED"
3036+
}
30313037
}
30323038
}
30333039
},
@@ -3081,6 +3087,12 @@
30813087
"traits": {
30823088
"smithy.api#enumValue": "ROLLED_BACK"
30833089
}
3090+
},
3091+
"REVERTED": {
3092+
"target": "smithy.api#Unit",
3093+
"traits": {
3094+
"smithy.api#enumValue": "REVERTED"
3095+
}
30843096
}
30853097
}
30863098
},
@@ -3371,6 +3383,12 @@
33713383
"traits": {
33723384
"smithy.api#enumValue": "ROLLED_BACK"
33733385
}
3386+
},
3387+
"REVERTED": {
3388+
"target": "smithy.api#Unit",
3389+
"traits": {
3390+
"smithy.api#enumValue": "REVERTED"
3391+
}
33743392
}
33753393
}
33763394
},
@@ -3840,7 +3858,7 @@
38403858
"ClientConfigurationVersion": {
38413859
"target": "com.amazonaws.appconfig#Version",
38423860
"traits": {
3843-
"smithy.api#documentation": "<p>The configuration version returned in the most recent <a>GetConfiguration</a>\n response.</p>\n <important>\n <p>AppConfig uses the value of the <code>ClientConfigurationVersion</code>\n parameter to identify the configuration version on your clients. If you don’t send\n <code>ClientConfigurationVersion</code> with each call to <a>GetConfiguration</a>, your clients receive the current configuration. You are\n charged each time your clients receive a configuration.</p>\n <p>To avoid excess charges, we recommend you use the <a href=\"https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html\">StartConfigurationSession</a> and <a href=\"https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html\">GetLatestConfiguration</a> APIs, which track the client configuration version on\n your behalf. If you choose to continue using <a>GetConfiguration</a>, we\n recommend that you include the <code>ClientConfigurationVersion</code> value with every\n call to <a>GetConfiguration</a>. The value to use for\n <code>ClientConfigurationVersion</code> comes from the\n <code>ConfigurationVersion</code> attribute returned by <a>GetConfiguration</a> when there is new or updated data, and should be saved\n for subsequent calls to <a>GetConfiguration</a>.</p>\n </important>\n <p>For more information about working with configurations, see <a href=\"http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html\">Retrieving the\n Configuration</a> in the <i>AppConfig User Guide</i>.</p>",
3861+
"smithy.api#documentation": "<p>The configuration version returned in the most recent <a>GetConfiguration</a>\n response.</p>\n <important>\n <p>AppConfig uses the value of the <code>ClientConfigurationVersion</code>\n parameter to identify the configuration version on your clients. If you don’t send\n <code>ClientConfigurationVersion</code> with each call to <a>GetConfiguration</a>, your clients receive the current configuration. You are\n charged each time your clients receive a configuration.</p>\n <p>To avoid excess charges, we recommend you use the <a href=\"https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html\">StartConfigurationSession</a> and <a href=\"https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html\">GetLatestConfiguration</a> APIs, which track the client configuration version on\n your behalf. If you choose to continue using <a>GetConfiguration</a>, we\n recommend that you include the <code>ClientConfigurationVersion</code> value with every\n call to <a>GetConfiguration</a>. The value to use for\n <code>ClientConfigurationVersion</code> comes from the\n <code>ConfigurationVersion</code> attribute returned by <a>GetConfiguration</a> when there is new or updated data, and should be saved\n for subsequent calls to <a>GetConfiguration</a>.</p>\n </important>\n <p>For more information about working with configurations, see <a href=\"http://docs.aws.amazon.com/appconfig/latest/userguide/retrieving-feature-flags.html\">Retrieving feature flags and\n configuration data in AppConfig</a> in the <i>AppConfig\n User Guide</i>.</p>",
38443862
"smithy.api#httpQuery": "client_configuration_version"
38453863
}
38463864
}
@@ -5529,7 +5547,7 @@
55295547
}
55305548
],
55315549
"traits": {
5532-
"smithy.api#documentation": "<p>Stops a deployment. This API action works only on deployments that have a status of\n <code>DEPLOYING</code>. This action moves the deployment to a status of\n <code>ROLLED_BACK</code>.</p>",
5550+
"smithy.api#documentation": "<p>Stops a deployment. This API action works only on deployments that have a status of\n <code>DEPLOYING</code>, unless an <code>AllowRevert</code> parameter is supplied. If the\n <code>AllowRevert</code> parameter is supplied, the status of an in-progress deployment\n will be <code>ROLLED_BACK</code>. The status of a completed deployment will be\n <code>REVERTED</code>. AppConfig only allows a revert within 72 hours of\n deployment completion.</p>",
55335551
"smithy.api#examples": [
55345552
{
55355553
"title": "To stop configuration deployment",
@@ -5582,6 +5600,14 @@
55825600
"smithy.api#httpLabel": {},
55835601
"smithy.api#required": {}
55845602
}
5603+
},
5604+
"AllowRevert": {
5605+
"target": "com.amazonaws.appconfig#Boolean",
5606+
"traits": {
5607+
"smithy.api#default": null,
5608+
"smithy.api#documentation": "<p>A Boolean that enables AppConfig to rollback a <code>COMPLETED</code>\n deployment to the previous configuration version. This action moves the deployment to a\n status of <code>REVERTED</code>.</p>",
5609+
"smithy.api#httpHeader": "Allow-Revert"
5610+
}
55855611
}
55865612
},
55875613
"traits": {

0 commit comments

Comments
 (0)