You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-appconfig): This release improves deployment safety by granting customers the ability to REVERT completed deployments, to the last known good state.In the StopDeployment API revert case the status of a COMPLETE deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion.
* <code>ConfigurationVersion</code> attribute returned by <a>GetConfiguration</a> when there is new or updated data, and should be saved
1627
1628
* for subsequent calls to <a>GetConfiguration</a>.</p>
1628
1629
* </important>
1629
-
* <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
1630
-
* Configuration</a> in the <i>AppConfig User Guide</i>.</p>
1630
+
* <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
1631
+
* configuration data in AppConfig</a> in the <i>AppConfig
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/appconfig.json
+28-2
Original file line number
Diff line number
Diff line change
@@ -3028,6 +3028,12 @@
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,6 +3087,12 @@
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,6 +3383,12 @@
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,7 +3858,7 @@
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>",
"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,6 +5600,14 @@
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>",
0 commit comments