Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Nov 18, 2024
1 parent 0b8e5c8 commit fba5997
Show file tree
Hide file tree
Showing 11 changed files with 12,415 additions and 4,608 deletions.
14 changes: 10 additions & 4 deletions codegen/sdk-codegen/aws-models/appconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}
},
"traits": {
"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>"
"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>"
}
},
"com.amazonaws.appconfig#ActionInvocation": {
Expand Down Expand Up @@ -155,6 +155,12 @@
"smithy.api#enumValue": "PRE_START_DEPLOYMENT"
}
},
"AT_DEPLOYMENT_TICK": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AT_DEPLOYMENT_TICK"
}
},
"ON_DEPLOYMENT_START": {
"target": "smithy.api#Unit",
"traits": {
Expand Down Expand Up @@ -1835,7 +1841,7 @@
"LocationUri": {
"target": "com.amazonaws.appconfig#Uri",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -5040,7 +5046,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists configurations stored in the AppConfig hosted configuration store by\n version.</p>",
"smithy.api#documentation": "<p>Lists configurations stored in the AppConfig hosted configuration store by\n version. </p>",
"smithy.api#examples": [
{
"title": "To list the available hosted configuration versions",
Expand Down Expand Up @@ -5096,7 +5102,7 @@
"MaxResults": {
"target": "com.amazonaws.appconfig#MaxResults",
"traits": {
"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>",
"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>",
"smithy.api#httpQuery": "max_results"
}
},
Expand Down
79 changes: 79 additions & 0 deletions codegen/sdk-codegen/aws-models/auto-scaling.json
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,12 @@
"smithy.api#documentation": "<p>The unique identifiers of one or more traffic sources. You can specify up to 10\n traffic sources.</p>",
"smithy.api#required": {}
}
},
"SkipZonalShiftValidation": {
"target": "com.amazonaws.autoscaling#SkipZonalShiftValidation",
"traits": {
"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>"
}
}
}
},
Expand Down Expand Up @@ -928,6 +934,12 @@
"traits": {
"smithy.api#documentation": "<p>\n The instance capacity distribution across Availability Zones.\n </p>"
}
},
"AvailabilityZoneImpairmentPolicy": {
"target": "com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy",
"traits": {
"smithy.api#documentation": "<p>\n The Availability Zone impairment policy.\n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2323,6 +2335,26 @@
"smithy.api#documentation": "<p>\n Describes an Availability Zone distribution.\n </p>"
}
},
"com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy": {
"type": "structure",
"members": {
"ZonalShiftEnabled": {
"target": "com.amazonaws.autoscaling#ZonalShiftEnabled",
"traits": {
"smithy.api#documentation": "<p>\n If <code>true</code>, enable zonal shift for your Auto Scaling group.\n </p>"
}
},
"ImpairedZoneHealthCheckBehavior": {
"target": "com.amazonaws.autoscaling#ImpairedZoneHealthCheckBehavior",
"traits": {
"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>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Describes an Availability Zone impairment policy.\n </p>"
}
},
"com.amazonaws.autoscaling#AvailabilityZones": {
"type": "list",
"member": {
Expand Down Expand Up @@ -3147,6 +3179,18 @@
"traits": {
"smithy.api#documentation": "<p>The instance capacity distribution across Availability Zones.</p>"
}
},
"AvailabilityZoneImpairmentPolicy": {
"target": "com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy",
"traits": {
"smithy.api#documentation": "<p>\n The policy for Availability Zone impairment.\n </p>"
}
},
"SkipZonalShiftValidation": {
"target": "com.amazonaws.autoscaling#SkipZonalShiftValidation",
"traits": {
"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>"
}
}
}
},
Expand Down Expand Up @@ -6272,6 +6316,23 @@
"com.amazonaws.autoscaling#HonorCooldown": {
"type": "boolean"
},
"com.amazonaws.autoscaling#ImpairedZoneHealthCheckBehavior": {
"type": "enum",
"members": {
"ReplaceUnhealthy": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ReplaceUnhealthy"
}
},
"IgnoreUnhealthy": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "IgnoreUnhealthy"
}
}
}
},
"com.amazonaws.autoscaling#IncludeDeletedGroups": {
"type": "boolean"
},
Expand Down Expand Up @@ -10218,6 +10279,9 @@
"com.amazonaws.autoscaling#SkipMatching": {
"type": "boolean"
},
"com.amazonaws.autoscaling#SkipZonalShiftValidation": {
"type": "boolean"
},
"com.amazonaws.autoscaling#SpotInstancePools": {
"type": "integer"
},
Expand Down Expand Up @@ -11012,6 +11076,18 @@
"traits": {
"smithy.api#documentation": "<p>\n The instance capacity distribution across Availability Zones.\n </p>"
}
},
"AvailabilityZoneImpairmentPolicy": {
"target": "com.amazonaws.autoscaling#AvailabilityZoneImpairmentPolicy",
"traits": {
"smithy.api#documentation": "<p>\n The policy for Availability Zone impairment.\n </p>"
}
},
"SkipZonalShiftValidation": {
"target": "com.amazonaws.autoscaling#SkipZonalShiftValidation",
"traits": {
"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>"
}
}
}
},
Expand Down Expand Up @@ -11261,6 +11337,9 @@
},
"smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$"
}
},
"com.amazonaws.autoscaling#ZonalShiftEnabled": {
"type": "boolean"
}
}
}
Loading

0 comments on commit fba5997

Please sign in to comment.