Skip to content

Commit fba5997

Browse files
author
AWS SDK for Go v2 automation user
committedNov 18, 2024
Update API model
1 parent 0b8e5c8 commit fba5997

11 files changed

+12415
-4608
lines changed
 

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

+10-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
"traits": {
72-
"smithy.api#documentation": "<p>An action defines the tasks that the extension performs during the AppConfig\n workflow. Each action includes an action point such as\n <code>ON_CREATE_HOSTED_CONFIGURATION</code>, <code>PRE_DEPLOYMENT</code>, or\n <code>ON_DEPLOYMENT</code>. Each action also includes a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity and Access Management\n assume role. You specify the name, URI, and ARN for each <i>action point</i>\n defined in the extension. You can specify the following actions for an extension:</p>\n <ul>\n <li>\n <p>\n <code>PRE_CREATE_HOSTED_CONFIGURATION_VERSION</code>\n </p>\n </li>\n <li>\n <p>\n <code>PRE_START_DEPLOYMENT</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_START</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_STEP</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_BAKING</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_COMPLETE</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_ROLLED_BACK</code>\n </p>\n </li>\n </ul>"
72+
"smithy.api#documentation": "<p>An action defines the tasks that the extension performs during the AppConfig\n workflow. Each action includes an action point, as shown in the following list: </p>\n <ul>\n <li>\n <p>\n <code>PRE_CREATE_HOSTED_CONFIGURATION_VERSION</code>\n </p>\n </li>\n <li>\n <p>\n <code>PRE_START_DEPLOYMENT</code>\n </p>\n </li>\n <li>\n <p>\n <code>AT_DEPLOYMENT_TICK</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_START</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_STEP</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_BAKING</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_COMPLETE</code>\n </p>\n </li>\n <li>\n <p>\n <code>ON_DEPLOYMENT_ROLLED_BACK</code>\n </p>\n </li>\n </ul>\n <p>Each action also includes a name, a URI to an Lambda function, and an\n Amazon Resource Name (ARN) for an Identity and Access Management assume role. You specify the name,\n URI, and ARN for each <i>action point</i> defined in the extension.</p>"
7373
}
7474
},
7575
"com.amazonaws.appconfig#ActionInvocation": {
@@ -155,6 +155,12 @@
155155
"smithy.api#enumValue": "PRE_START_DEPLOYMENT"
156156
}
157157
},
158+
"AT_DEPLOYMENT_TICK": {
159+
"target": "smithy.api#Unit",
160+
"traits": {
161+
"smithy.api#enumValue": "AT_DEPLOYMENT_TICK"
162+
}
163+
},
158164
"ON_DEPLOYMENT_START": {
159165
"target": "smithy.api#Unit",
160166
"traits": {
@@ -1835,7 +1841,7 @@
18351841
"LocationUri": {
18361842
"target": "com.amazonaws.appconfig#Uri",
18371843
"traits": {
1838-
"smithy.api#documentation": "<p>A URI to locate the configuration. You can specify the following:</p>\n <ul>\n <li>\n <p>For the AppConfig hosted configuration store and for feature flags,\n specify <code>hosted</code>.</p>\n </li>\n <li>\n <p>For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in\n the format <code>ssm-parameter://<parameter name></code> or the ARN.</p>\n </li>\n <li>\n <p>For an Amazon Web Services\n CodePipeline pipeline, specify the URI in the following format:\n <code>codepipeline</code>://<pipeline name>.</p>\n </li>\n <li>\n <p>For an Secrets Manager secret, specify the URI in the following format:\n <code>secretsmanager</code>://<secret name>.</p>\n </li>\n <li>\n <p>For an Amazon S3 object, specify the URI in the following format:\n <code>s3://<bucket>/<objectKey> </code>. Here is an example:\n <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>\n </p>\n </li>\n <li>\n <p>For an SSM document, specify either the document name in the format\n <code>ssm-document://<document name></code> or the Amazon Resource Name\n (ARN).</p>\n </li>\n </ul>",
1844+
"smithy.api#documentation": "<p>A URI to locate the configuration. You can specify the following:</p>\n <ul>\n <li>\n <p>For the AppConfig hosted configuration store and for feature flags,\n specify <code>hosted</code>.</p>\n </li>\n <li>\n <p>For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in\n the format <code>ssm-parameter://<parameter name></code> or the ARN.</p>\n </li>\n <li>\n <p>For an Amazon Web Services\n CodePipeline pipeline, specify the URI in the following format:\n <code>codepipeline</code>://<pipeline name>.</p>\n </li>\n <li>\n <p>For an Secrets Manager secret, specify the URI in the following format:\n <code>secretsmanager</code>://<secret name>.</p>\n </li>\n <li>\n <p>For an Amazon S3 object, specify the URI in the following format:\n <code>s3://<bucket>/<objectKey> </code>. Here is an example:\n <code>s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json</code>\n </p>\n </li>\n <li>\n <p>For an SSM document, specify either the document name in the format\n <code>ssm-document://<document name></code> or the Amazon Resource Name\n (ARN).</p>\n </li>\n </ul>",
18391845
"smithy.api#required": {}
18401846
}
18411847
},
@@ -5040,7 +5046,7 @@
50405046
}
50415047
],
50425048
"traits": {
5043-
"smithy.api#documentation": "<p>Lists configurations stored in the AppConfig hosted configuration store by\n version.</p>",
5049+
"smithy.api#documentation": "<p>Lists configurations stored in the AppConfig hosted configuration store by\n version. </p>",
50445050
"smithy.api#examples": [
50455051
{
50465052
"title": "To list the available hosted configuration versions",
@@ -5096,7 +5102,7 @@
50965102
"MaxResults": {
50975103
"target": "com.amazonaws.appconfig#MaxResults",
50985104
"traits": {
5099-
"smithy.api#documentation": "<p>The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.</p>",
5105+
"smithy.api#documentation": "<p>The maximum number of items to return for this call. If <code>MaxResults</code> is not\n provided in the call, AppConfig returns the maximum of 50. The call also returns\n a token that you can specify in a subsequent call to get the next set of results.</p>",
51005106
"smithy.api#httpQuery": "max_results"
51015107
}
51025108
},

‎codegen/sdk-codegen/aws-models/auto-scaling.json

+79
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,12 @@
688688
"smithy.api#documentation": "<p>The unique identifiers of one or more traffic sources. You can specify up to 10\n traffic sources.</p>",
689689
"smithy.api#required": {}
690690
}
691+
},
692+
"SkipZonalShiftValidation": {
693+
"target": "com.amazonaws.autoscaling#SkipZonalShiftValidation",
694+
"traits": {
695+
"smithy.api#documentation": "<p>\n If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify <code>true</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html\">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.\n </p>"
696+
}
691697
}
692698
}
693699
},
@@ -928,6 +934,12 @@
928934
"traits": {
929935
"smithy.api#documentation": "<p>\n The instance capacity distribution across Availability Zones.\n </p>"
930936
}
937+
},
938+
"AvailabilityZoneImpairmentPolicy": {
939+
"target": "com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy",
940+
"traits": {
941+
"smithy.api#documentation": "<p>\n The Availability Zone impairment policy.\n </p>"
942+
}
931943
}
932944
},
933945
"traits": {
@@ -2323,6 +2335,26 @@
23232335
"smithy.api#documentation": "<p>\n Describes an Availability Zone distribution.\n </p>"
23242336
}
23252337
},
2338+
"com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy": {
2339+
"type": "structure",
2340+
"members": {
2341+
"ZonalShiftEnabled": {
2342+
"target": "com.amazonaws.autoscaling#ZonalShiftEnabled",
2343+
"traits": {
2344+
"smithy.api#documentation": "<p>\n If <code>true</code>, enable zonal shift for your Auto Scaling group.\n </p>"
2345+
}
2346+
},
2347+
"ImpairedZoneHealthCheckBehavior": {
2348+
"target": "com.amazonaws.autoscaling#ImpairedZoneHealthCheckBehavior",
2349+
"traits": {
2350+
"smithy.api#documentation": "<p>\n Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select <code>Replace unhealthy</code>, instances that appear unhealthy will be replaced in all Availability Zones. \n If you select <code>Ignore unhealthy</code>, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html\">Auto Scaling group zonal shift</a> \n in the <i>Amazon EC2 Auto Scaling User Guide</i>.\n \n </p>"
2351+
}
2352+
}
2353+
},
2354+
"traits": {
2355+
"smithy.api#documentation": "<p>\n Describes an Availability Zone impairment policy.\n </p>"
2356+
}
2357+
},
23262358
"com.amazonaws.autoscaling#AvailabilityZones": {
23272359
"type": "list",
23282360
"member": {
@@ -3147,6 +3179,18 @@
31473179
"traits": {
31483180
"smithy.api#documentation": "<p>The instance capacity distribution across Availability Zones.</p>"
31493181
}
3182+
},
3183+
"AvailabilityZoneImpairmentPolicy": {
3184+
"target": "com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy",
3185+
"traits": {
3186+
"smithy.api#documentation": "<p>\n The policy for Availability Zone impairment.\n </p>"
3187+
}
3188+
},
3189+
"SkipZonalShiftValidation": {
3190+
"target": "com.amazonaws.autoscaling#SkipZonalShiftValidation",
3191+
"traits": {
3192+
"smithy.api#documentation": "<p>\n If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify <code>true</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html\">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.\n </p>"
3193+
}
31503194
}
31513195
}
31523196
},
@@ -6272,6 +6316,23 @@
62726316
"com.amazonaws.autoscaling#HonorCooldown": {
62736317
"type": "boolean"
62746318
},
6319+
"com.amazonaws.autoscaling#ImpairedZoneHealthCheckBehavior": {
6320+
"type": "enum",
6321+
"members": {
6322+
"ReplaceUnhealthy": {
6323+
"target": "smithy.api#Unit",
6324+
"traits": {
6325+
"smithy.api#enumValue": "ReplaceUnhealthy"
6326+
}
6327+
},
6328+
"IgnoreUnhealthy": {
6329+
"target": "smithy.api#Unit",
6330+
"traits": {
6331+
"smithy.api#enumValue": "IgnoreUnhealthy"
6332+
}
6333+
}
6334+
}
6335+
},
62756336
"com.amazonaws.autoscaling#IncludeDeletedGroups": {
62766337
"type": "boolean"
62776338
},
@@ -10218,6 +10279,9 @@
1021810279
"com.amazonaws.autoscaling#SkipMatching": {
1021910280
"type": "boolean"
1022010281
},
10282+
"com.amazonaws.autoscaling#SkipZonalShiftValidation": {
10283+
"type": "boolean"
10284+
},
1022110285
"com.amazonaws.autoscaling#SpotInstancePools": {
1022210286
"type": "integer"
1022310287
},
@@ -11012,6 +11076,18 @@
1101211076
"traits": {
1101311077
"smithy.api#documentation": "<p>\n The instance capacity distribution across Availability Zones.\n </p>"
1101411078
}
11079+
},
11080+
"AvailabilityZoneImpairmentPolicy": {
11081+
"target": "com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy",
11082+
"traits": {
11083+
"smithy.api#documentation": "<p>\n The policy for Availability Zone impairment.\n </p>"
11084+
}
11085+
},
11086+
"SkipZonalShiftValidation": {
11087+
"target": "com.amazonaws.autoscaling#SkipZonalShiftValidation",
11088+
"traits": {
11089+
"smithy.api#documentation": "<p>\n If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify <code>true</code>. For more information, see \n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html\">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.\n </p>"
11090+
}
1101511091
}
1101611092
}
1101711093
},
@@ -11261,6 +11337,9 @@
1126111337
},
1126211338
"smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$"
1126311339
}
11340+
},
11341+
"com.amazonaws.autoscaling#ZonalShiftEnabled": {
11342+
"type": "boolean"
1126411343
}
1126511344
}
1126611345
}

0 commit comments

Comments
 (0)
Please sign in to comment.