Skip to content

Commit 03e7736

Browse files
author
AWS
committed
Amazon AppConfig Update: This release allows customers to choose from a list of predefined deployment strategies while starting deployments.
1 parent 21bd248 commit 03e7736

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon AppConfig",
4+
"description": "This release allows customers to choose from a list of predefined deployment strategies while starting deployments."
5+
}

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

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@
165165
"errors":[
166166
{"shape":"ResourceNotFoundException"},
167167
{"shape":"InternalServerException"},
168-
{"shape":"ResourceNotFoundException"},
169168
{"shape":"BadRequestException"}
170169
],
171170
"documentation":"<p>Receive information about a configuration.</p> <important> <p>AWS 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 <code>GetConfiguration</code>, your clients receive the current configuration. You are charged each time your clients receive a configuration.</p> <p>To avoid excess charges, we recommend that you include the <code>ClientConfigurationVersion</code> value with every call to <code>GetConfiguration</code>. This value must be saved on your client. Subsequent calls to <code>GetConfiguration</code> must pass this value by using the <code>ClientConfigurationVersion</code> parameter. </p> </important>"
@@ -521,7 +520,10 @@
521520
"error":{"httpStatusCode":400},
522521
"exception":true
523522
},
524-
"Blob":{"type":"blob"},
523+
"Blob":{
524+
"type":"blob",
525+
"sensitive":true
526+
},
525527
"Configuration":{
526528
"type":"structure",
527529
"members":{
@@ -568,7 +570,7 @@
568570
"documentation":"<p>The URI location of the configuration.</p>"
569571
},
570572
"RetrievalRoleArn":{
571-
"shape":"Arn",
573+
"shape":"RoleArn",
572574
"documentation":"<p>The ARN of an IAM role with permission to access the configuration at the specified LocationUri.</p>"
573575
},
574576
"Validators":{
@@ -675,7 +677,7 @@
675677
"documentation":"<p>A URI to locate the configuration. You can specify a Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For an SSM document, specify either the document name in the format <code>ssm-document://&lt;Document_name&gt;</code> or the Amazon Resource Name (ARN). For a parameter, specify either the parameter name in the format <code>ssm-parameter://&lt;Parameter_name&gt;</code> or the ARN. For an Amazon S3 object, specify the URI in the following format: <code>s3://&lt;bucket&gt;/&lt;objectKey&gt; </code>. Here is an example: s3://my-bucket/my-app/us-east-1/my-config.json</p>"
676678
},
677679
"RetrievalRoleArn":{
678-
"shape":"Arn",
680+
"shape":"RoleArn",
679681
"documentation":"<p>The ARN of an IAM role with permission to access the configuration at the specified LocationUri.</p>"
680682
},
681683
"Validators":{
@@ -1011,7 +1013,7 @@
10111013
},
10121014
"DeploymentStrategyId":{
10131015
"type":"string",
1014-
"pattern":"([a-z0-9]{4,7}|arn:aws.*)"
1016+
"pattern":"(^[a-z0-9]{4,7}$|^AppConfig\\.[A-Za-z0-9]{9,40}$)"
10151017
},
10161018
"DeploymentStrategyList":{
10171019
"type":"list",
@@ -1457,7 +1459,7 @@
14571459
"documentation":"<p>ARN of the Amazon CloudWatch alarm.</p>"
14581460
},
14591461
"AlarmRoleArn":{
1460-
"shape":"Arn",
1462+
"shape":"RoleArn",
14611463
"documentation":"<p>ARN of an IAM role for AppConfig to monitor <code>AlarmArn</code>.</p>"
14621464
}
14631465
},
@@ -1510,6 +1512,12 @@
15101512
}
15111513
}
15121514
},
1515+
"RoleArn":{
1516+
"type":"string",
1517+
"max":2048,
1518+
"min":20,
1519+
"pattern":"^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\\d{12}:role[/].*)$"
1520+
},
15131521
"StartDeploymentRequest":{
15141522
"type":"structure",
15151523
"required":[
@@ -1587,7 +1595,8 @@
15871595
"StringWithLengthBetween0And32768":{
15881596
"type":"string",
15891597
"max":32768,
1590-
"min":0
1598+
"min":0,
1599+
"sensitive":true
15911600
},
15921601
"StringWithLengthBetween1And64":{
15931602
"type":"string",
@@ -1713,7 +1722,7 @@
17131722
"documentation":"<p>A description of the configuration profile.</p>"
17141723
},
17151724
"RetrievalRoleArn":{
1716-
"shape":"Arn",
1725+
"shape":"RoleArn",
17171726
"documentation":"<p>The ARN of an IAM role with permission to access the configuration at the specified LocationUri.</p>"
17181727
},
17191728
"Validators":{

0 commit comments

Comments
 (0)