Skip to content

Commit a74c0f5

Browse files
author
AWS
committed
Amazon AppConfig Update: 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.
1 parent 9f6a7bc commit a74c0f5

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon AppConfig",
4+
"contributor": "",
5+
"description": "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."
6+
}

services/appconfig/src/main/resources/codegen-resources/service-2.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@
572572
{"shape":"InternalServerException"},
573573
{"shape":"BadRequestException"}
574574
],
575-
"documentation":"<p>Stops a deployment. This API action works only on deployments that have a status of <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>.</p>"
575+
"documentation":"<p>Stops a deployment. This API action works only on deployments that have a status of <code>DEPLOYING</code>, unless an <code>AllowRevert</code> parameter is supplied. If the <code>AllowRevert</code> parameter is supplied, the status of an in-progress deployment will be <code>ROLLED_BACK</code>. The status of a completed deployment will be <code>REVERTED</code>. AppConfig only allows a revert within 72 hours of deployment completion.</p>"
576576
},
577577
"TagResource":{
578578
"name":"TagResource",
@@ -1609,7 +1609,8 @@
16091609
"ROLLBACK_COMPLETED",
16101610
"BAKE_TIME_STARTED",
16111611
"DEPLOYMENT_STARTED",
1612-
"DEPLOYMENT_COMPLETED"
1612+
"DEPLOYMENT_COMPLETED",
1613+
"REVERT_COMPLETED"
16131614
]
16141615
},
16151616
"DeploymentEvents":{
@@ -1628,7 +1629,8 @@
16281629
"DEPLOYING",
16291630
"COMPLETE",
16301631
"ROLLING_BACK",
1631-
"ROLLED_BACK"
1632+
"ROLLED_BACK",
1633+
"REVERTED"
16321634
]
16331635
},
16341636
"DeploymentStrategies":{
@@ -1811,7 +1813,8 @@
18111813
"READY_FOR_DEPLOYMENT",
18121814
"DEPLOYING",
18131815
"ROLLING_BACK",
1814-
"ROLLED_BACK"
1816+
"ROLLED_BACK",
1817+
"REVERTED"
18151818
]
18161819
},
18171820
"Environments":{
@@ -2040,7 +2043,7 @@
20402043
},
20412044
"ClientConfigurationVersion":{
20422045
"shape":"Version",
2043-
"documentation":"<p>The configuration version returned in the most recent <a>GetConfiguration</a> response.</p> <important> <p>AppConfig uses the value of the <code>ClientConfigurationVersion</code> parameter to identify the configuration version on your clients. If you don’t send <code>ClientConfigurationVersion</code> with each call to <a>GetConfiguration</a>, your clients receive the current configuration. You are charged each time your clients receive a configuration.</p> <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 your behalf. If you choose to continue using <a>GetConfiguration</a>, we recommend that you include the <code>ClientConfigurationVersion</code> value with every call to <a>GetConfiguration</a>. The value to use for <code>ClientConfigurationVersion</code> comes from the <code>ConfigurationVersion</code> attribute returned by <a>GetConfiguration</a> when there is new or updated data, and should be saved for subsequent calls to <a>GetConfiguration</a>.</p> </important> <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 Configuration</a> in the <i>AppConfig User Guide</i>.</p>",
2046+
"documentation":"<p>The configuration version returned in the most recent <a>GetConfiguration</a> response.</p> <important> <p>AppConfig uses the value of the <code>ClientConfigurationVersion</code> parameter to identify the configuration version on your clients. If you don’t send <code>ClientConfigurationVersion</code> with each call to <a>GetConfiguration</a>, your clients receive the current configuration. You are charged each time your clients receive a configuration.</p> <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 your behalf. If you choose to continue using <a>GetConfiguration</a>, we recommend that you include the <code>ClientConfigurationVersion</code> value with every call to <a>GetConfiguration</a>. The value to use for <code>ClientConfigurationVersion</code> comes from the <code>ConfigurationVersion</code> attribute returned by <a>GetConfiguration</a> when there is new or updated data, and should be saved for subsequent calls to <a>GetConfiguration</a>.</p> </important> <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 configuration data in AppConfig</a> in the <i>AppConfig User Guide</i>.</p>",
20442047
"location":"querystring",
20452048
"locationName":"client_configuration_version"
20462049
}
@@ -2804,6 +2807,13 @@
28042807
"box":true,
28052808
"location":"uri",
28062809
"locationName":"DeploymentNumber"
2810+
},
2811+
"AllowRevert":{
2812+
"shape":"Boolean",
2813+
"documentation":"<p>A Boolean that enables AppConfig to rollback a <code>COMPLETED</code> deployment to the previous configuration version. This action moves the deployment to a status of <code>REVERTED</code>.</p>",
2814+
"box":true,
2815+
"location":"header",
2816+
"locationName":"Allow-Revert"
28072817
}
28082818
}
28092819
},

0 commit comments

Comments
 (0)