|
3028 | 3028 | "traits": {
|
3029 | 3029 | "smithy.api#enumValue": "DEPLOYMENT_COMPLETED"
|
3030 | 3030 | }
|
| 3031 | + }, |
| 3032 | + "REVERT_COMPLETED": { |
| 3033 | + "target": "smithy.api#Unit", |
| 3034 | + "traits": { |
| 3035 | + "smithy.api#enumValue": "REVERT_COMPLETED" |
| 3036 | + } |
3031 | 3037 | }
|
3032 | 3038 | }
|
3033 | 3039 | },
|
|
3081 | 3087 | "traits": {
|
3082 | 3088 | "smithy.api#enumValue": "ROLLED_BACK"
|
3083 | 3089 | }
|
| 3090 | + }, |
| 3091 | + "REVERTED": { |
| 3092 | + "target": "smithy.api#Unit", |
| 3093 | + "traits": { |
| 3094 | + "smithy.api#enumValue": "REVERTED" |
| 3095 | + } |
3084 | 3096 | }
|
3085 | 3097 | }
|
3086 | 3098 | },
|
|
3371 | 3383 | "traits": {
|
3372 | 3384 | "smithy.api#enumValue": "ROLLED_BACK"
|
3373 | 3385 | }
|
| 3386 | + }, |
| 3387 | + "REVERTED": { |
| 3388 | + "target": "smithy.api#Unit", |
| 3389 | + "traits": { |
| 3390 | + "smithy.api#enumValue": "REVERTED" |
| 3391 | + } |
3374 | 3392 | }
|
3375 | 3393 | }
|
3376 | 3394 | },
|
|
3840 | 3858 | "ClientConfigurationVersion": {
|
3841 | 3859 | "target": "com.amazonaws.appconfig#Version",
|
3842 | 3860 | "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>", |
3844 | 3862 | "smithy.api#httpQuery": "client_configuration_version"
|
3845 | 3863 | }
|
3846 | 3864 | }
|
|
5529 | 5547 | }
|
5530 | 5548 | ],
|
5531 | 5549 | "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>", |
5533 | 5551 | "smithy.api#examples": [
|
5534 | 5552 | {
|
5535 | 5553 | "title": "To stop configuration deployment",
|
|
5582 | 5600 | "smithy.api#httpLabel": {},
|
5583 | 5601 | "smithy.api#required": {}
|
5584 | 5602 | }
|
| 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 | + } |
5585 | 5611 | }
|
5586 | 5612 | },
|
5587 | 5613 | "traits": {
|
|
0 commit comments