Skip to content

Commit

Permalink
feat(client-elastic-beanstalk): Add v2 smoke tests and smithy smokeTe…
Browse files Browse the repository at this point in the history
…sts trait for SDK testing.
  • Loading branch information
awstools committed Jul 8, 2024
1 parent 74b9086 commit bad32d4
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions codegen/sdk-codegen/aws-models/elastic-beanstalk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5830,6 +5830,19 @@
]
}
}
],
"smithy.test#smokeTests": [
{
"id": "ListAvailableSolutionStacksSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
Expand Down Expand Up @@ -8334,6 +8347,54 @@
"traits": {
"smithy.api#documentation": "<p>Updates the environment description, deploys a new application version, updates the\n configuration settings to an entirely new configuration template, or updates select\n configuration option values in the running environment.</p>\n <p> Attempting to update both the release and configuration is not allowed and AWS Elastic\n Beanstalk returns an <code>InvalidParameterCombination</code> error. </p>\n <p> When updating the configuration settings to a new template or individual settings, a\n draft configuration is created and <a>DescribeConfigurationSettings</a> for this\n environment returns two setting descriptions with different <code>DeploymentStatus</code>\n values. </p>",
"smithy.api#examples": [
{
"title": "To configure option settings",
"documentation": "The following operation configures several options in the aws:elb:loadbalancer namespace:",
"input": {
"EnvironmentName": "my-env",
"OptionSettings": [
{
"Namespace": "aws:elb:healthcheck",
"OptionName": "Interval",
"Value": "15"
},
{
"Namespace": "aws:elb:healthcheck",
"OptionName": "Timeout",
"Value": "8"
},
{
"Namespace": "aws:elb:healthcheck",
"OptionName": "HealthyThreshold",
"Value": "2"
},
{
"Namespace": "aws:elb:healthcheck",
"OptionName": "UnhealthyThreshold",
"Value": "3"
}
]
},
"output": {
"ApplicationName": "my-app",
"EnvironmentName": "my-env",
"VersionLabel": "7f58-stage-150812_025409",
"Status": "Updating",
"EnvironmentId": "e-wtp2rpqsej",
"EndpointURL": "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com",
"SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
"CNAME": "my-env.elasticbeanstalk.com",
"Health": "Grey",
"AbortableOperationInProgress": true,
"Tier": {
"Version": " ",
"Type": "Standard",
"Name": "WebServer"
},
"DateUpdated": "2015-08-12T18:15:23.804Z",
"DateCreated": "2015-08-07T20:48:49.599Z"
}
},
{
"title": "To update an environment to a new version",
"documentation": "The following operation updates an environment named \"my-env\" to version \"v2\" of the application to which it belongs:",
Expand Down

0 comments on commit bad32d4

Please sign in to comment.