Skip to content

Commit bad32d4

Browse files
author
awstools
committed
feat(client-elastic-beanstalk): Add v2 smoke tests and smithy smokeTests trait for SDK testing.
1 parent 74b9086 commit bad32d4

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

codegen/sdk-codegen/aws-models/elastic-beanstalk.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5830,6 +5830,19 @@
58305830
]
58315831
}
58325832
}
5833+
],
5834+
"smithy.test#smokeTests": [
5835+
{
5836+
"id": "ListAvailableSolutionStacksSuccess",
5837+
"params": {},
5838+
"vendorParams": {
5839+
"region": "us-west-2"
5840+
},
5841+
"vendorParamsShape": "aws.test#AwsVendorParams",
5842+
"expect": {
5843+
"success": {}
5844+
}
5845+
}
58335846
]
58345847
}
58355848
},
@@ -8334,6 +8347,54 @@
83348347
"traits": {
83358348
"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>",
83368349
"smithy.api#examples": [
8350+
{
8351+
"title": "To configure option settings",
8352+
"documentation": "The following operation configures several options in the aws:elb:loadbalancer namespace:",
8353+
"input": {
8354+
"EnvironmentName": "my-env",
8355+
"OptionSettings": [
8356+
{
8357+
"Namespace": "aws:elb:healthcheck",
8358+
"OptionName": "Interval",
8359+
"Value": "15"
8360+
},
8361+
{
8362+
"Namespace": "aws:elb:healthcheck",
8363+
"OptionName": "Timeout",
8364+
"Value": "8"
8365+
},
8366+
{
8367+
"Namespace": "aws:elb:healthcheck",
8368+
"OptionName": "HealthyThreshold",
8369+
"Value": "2"
8370+
},
8371+
{
8372+
"Namespace": "aws:elb:healthcheck",
8373+
"OptionName": "UnhealthyThreshold",
8374+
"Value": "3"
8375+
}
8376+
]
8377+
},
8378+
"output": {
8379+
"ApplicationName": "my-app",
8380+
"EnvironmentName": "my-env",
8381+
"VersionLabel": "7f58-stage-150812_025409",
8382+
"Status": "Updating",
8383+
"EnvironmentId": "e-wtp2rpqsej",
8384+
"EndpointURL": "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com",
8385+
"SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
8386+
"CNAME": "my-env.elasticbeanstalk.com",
8387+
"Health": "Grey",
8388+
"AbortableOperationInProgress": true,
8389+
"Tier": {
8390+
"Version": " ",
8391+
"Type": "Standard",
8392+
"Name": "WebServer"
8393+
},
8394+
"DateUpdated": "2015-08-12T18:15:23.804Z",
8395+
"DateCreated": "2015-08-07T20:48:49.599Z"
8396+
}
8397+
},
83378398
{
83388399
"title": "To update an environment to a new version",
83398400
"documentation": "The following operation updates an environment named \"my-env\" to version \"v2\" of the application to which it belongs:",

0 commit comments

Comments
 (0)