aws-sdk-core 2.0.0.rc4 → 2.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/CloudFront-2013-11-11.json +5502 -0
- data/apis/CloudWatch-2010-08-01.json +186 -1
- data/apis/DirectConnect-2012-10-25.json +758 -140
- data/apis/DynamoDB-2012-08-10.json +860 -2
- data/apis/EC2-2013-10-15.json +14698 -0
- data/apis/EMR-2009-03-31.json +86 -0
- data/apis/ElastiCache-2013-06-15.json +13 -5
- data/apis/ElasticBeanstalk-2010-12-01.json +141 -16
- data/apis/ElasticLoadBalancing-2012-06-01.json +0 -72
- data/apis/IAM-2010-05-08.json +156 -0
- data/apis/Kinesis-2013-12-02.json +9 -1
- data/apis/OpsWorks-2013-02-18.json +180 -6
- data/apis/RDS-2013-02-12.json +2 -1
- data/apis/RDS-2013-09-09.json +7963 -0
- data/apis/Redshift-2012-12-01.json +3273 -702
- data/apis/Route53-2012-12-12.json +2 -2
- data/apis/S3-2006-03-01.json +579 -538
- data/apis/SNS-2010-03-31.json +14 -0
- data/apis/SQS-2012-11-05.json +43 -6
- data/apis/STS-2011-06-15.json +81 -0
- data/apis/StorageGateway-2013-06-30.json +28 -28
- data/apis/source/cloudformation-2010-05-15.json +199 -199
- data/apis/source/cloudfront-2013-11-11.json +8828 -0
- data/apis/source/cloudfront-2013-11-11.paginators.json +32 -0
- data/apis/source/cloudfront-2013-11-11.waiters.json +29 -0
- data/apis/source/cloudsearch-2011-02-01.json +16 -23
- data/apis/source/datapipeline-2012-10-29.paginators.json +3 -2
- data/apis/source/directconnect-2012-10-25.json +1302 -363
- data/apis/source/dynamodb-2011-12-05.paginators.json +4 -1
- data/apis/source/dynamodb-2011-12-05.waiters.json +27 -0
- data/apis/source/dynamodb-2012-08-10.json +1634 -417
- data/apis/source/dynamodb-2012-08-10.paginators.json +4 -1
- data/apis/source/dynamodb-2012-08-10.waiters.json +25 -0
- data/apis/source/ec2-2013-10-15.json +19911 -0
- data/apis/source/ec2-2013-10-15.paginators.json +126 -0
- data/apis/source/ec2-2013-10-15.waiters.json +146 -0
- data/apis/source/elasticache-2013-06-15.json +10 -8
- data/apis/source/elasticache-2013-06-15.paginators.json +8 -2
- data/apis/source/elasticbeanstalk-2010-12-01.json +186 -32
- data/apis/source/elasticloadbalancing-2012-06-01.json +166 -293
- data/apis/source/elasticmapreduce-2009-03-31.json +229 -134
- data/apis/source/elastictranscoder-2012-09-25.json +1 -1
- data/apis/source/glacier-2012-06-01.paginators.json +3 -3
- data/apis/source/glacier-2012-06-01.waiters.json +23 -0
- data/apis/source/iam-2010-05-08.json +1306 -626
- data/apis/source/iam-2010-05-08.paginators.json +3 -0
- data/apis/source/kinesis-2013-12-02.json +4 -4
- data/apis/source/kinesis-2013-12-02.paginators.json +10 -4
- data/apis/source/monitoring-2010-08-01.json +336 -28
- data/apis/source/opsworks-2013-02-18.json +385 -102
- data/apis/source/rds-2013-01-10.paginators.json +6 -2
- data/apis/source/rds-2013-02-12.paginators.json +6 -2
- data/apis/source/rds-2013-09-09.json +10658 -0
- data/apis/source/rds-2013-09-09.paginators.json +110 -0
- data/apis/source/rds-2013-09-09.waiters.json +36 -0
- data/apis/source/redshift-2012-12-01.json +4759 -1237
- data/apis/source/redshift-2012-12-01.paginators.json +20 -1
- data/apis/source/redshift-2012-12-01.waiters.json +43 -0
- data/apis/source/route53-2012-12-12.paginators.json +2 -2
- data/apis/source/s3-2006-03-01.json +1032 -985
- data/apis/source/s3-2006-03-01.paginators.json +14 -3
- data/apis/source/s3-2006-03-01.waiters.json +27 -0
- data/apis/source/sns-2010-03-31.paginators.json +10 -0
- data/apis/source/sqs-2012-11-05.json +153 -101
- data/apis/source/storagegateway-2013-06-30.json +403 -442
- data/apis/source/storagegateway-2013-06-30.paginators.json +24 -0
- data/apis/source/sts-2011-06-15.json +258 -75
- data/apis/source/support-2013-04-15.paginators.json +0 -6
- data/apis/source/swf-2012-01-25.paginators.json +7 -7
- data/features/autoscaling/client.feature +6 -10
- data/features/autoscaling/{setup.rb → step_definitions.rb} +1 -1
- data/features/cloudformation/client.feature +5 -6
- data/features/cloudformation/{setup.rb → step_definitions.rb} +1 -1
- data/features/cloudfront/client.feature +5 -9
- data/features/cloudfront/{setup.rb → step_definitions.rb} +1 -1
- data/features/cloudsearch/client.feature +4 -6
- data/features/cloudsearch/{setup.rb → step_definitions.rb} +1 -1
- data/features/cloudwatch/client.feature +7 -9
- data/features/cloudwatch/{setup.rb → step_definitions.rb} +1 -1
- data/features/datapipeline/client.feature +5 -7
- data/features/datapipeline/{setup.rb → step_definitions.rb} +1 -1
- data/features/directconnect/client.feature +5 -7
- data/features/directconnect/{setup.rb → step_definitions.rb} +1 -1
- data/features/dynamodb/client.feature +6 -10
- data/features/dynamodb/simplified.feature +5 -9
- data/features/dynamodb/step_definitions.rb +9 -1
- data/features/ec2/client.feature +4 -9
- data/features/ec2/step_definitions.rb +3 -16
- data/features/elasticache/client.feature +4 -6
- data/features/elasticache/{setup.rb → step_definitions.rb} +1 -1
- data/features/elasticbeanstalk/client.feature +4 -6
- data/features/elasticbeanstalk/{setup.rb → step_definitions.rb} +1 -1
- data/features/elasticloadbalancing/client.feature +4 -6
- data/features/elasticloadbalancing/{setup.rb → step_definitions.rb} +1 -1
- data/features/elastictranscoder/client.feature +4 -6
- data/features/elastictranscoder/{setup.rb → step_definitions.rb} +1 -1
- data/features/emr/client.feature +4 -6
- data/features/emr/{setup.rb → step_definitions.rb} +1 -1
- data/features/env.rb +0 -2
- data/features/glacier/client.feature +10 -34
- data/features/glacier/step_definitions.rb +25 -8
- data/features/glacier/upload.feature +27 -0
- data/features/iam/client.feature +4 -6
- data/features/iam/{setup.rb → step_definitions.rb} +1 -1
- data/features/importexport/client.feature +4 -6
- data/features/importexport/{setup.rb → step_definitions.rb} +1 -1
- data/features/kinesis/client.feature +4 -6
- data/features/kinesis/{setup.rb → step_definitions.rb} +1 -1
- data/features/opsworks/client.feature +4 -6
- data/features/opsworks/{setup.rb → step_definitions.rb} +1 -1
- data/features/rds/client.feature +4 -6
- data/features/rds/{setup.rb → step_definitions.rb} +1 -1
- data/features/redshift/client.feature +4 -6
- data/features/redshift/{setup.rb → step_definitions.rb} +1 -1
- data/features/route53/client.feature +4 -6
- data/features/route53/{setup.rb → step_definitions.rb} +1 -1
- data/features/s3/buckets.feature +8 -0
- data/features/s3/step_definitions.rb +42 -3
- data/features/sdb/client.feature +4 -6
- data/features/sdb/{setup.rb → step_definitions.rb} +1 -1
- data/features/ses/client.feature +4 -6
- data/features/ses/{setup.rb → step_definitions.rb} +1 -1
- data/features/sns/client.feature +5 -6
- data/features/sns/{setup.rb → step_definitions.rb} +1 -1
- data/features/sqs/client.feature +5 -7
- data/features/sqs/step_definitions.rb +11 -0
- data/features/step_definitions.rb +88 -0
- data/features/storagegateway/client.feature +4 -6
- data/features/storagegateway/{setup.rb → step_definitions.rb} +1 -1
- data/features/sts/client.feature +5 -6
- data/features/sts/{setup.rb → step_definitions.rb} +1 -1
- data/features/swf/client.feature +5 -9
- data/features/swf/{setup.rb → step_definitions.rb} +1 -1
- data/lib/aws/api/shape_translator.rb +1 -0
- data/lib/aws/errors.rb +35 -11
- data/lib/aws/plugins/credentials.rb +11 -5
- data/lib/aws/plugins/regional_endpoint.rb +7 -3
- data/lib/aws/plugins/s3_regional_endpoint.rb +0 -2
- data/lib/aws/request_handler.rb +8 -3
- data/lib/aws/signers/s3.rb +14 -18
- data/lib/aws/version.rb +1 -1
- data/spec/aws/errors_spec.rb +39 -0
- data/spec/aws/plugins/credentials_spec.rb +12 -0
- data/spec/aws/plugins/region_endpoint_spec.rb +16 -4
- data/spec/aws/plugins/retry_errors_spec.rb +26 -26
- data/spec/aws/service_spec.rb +1 -1
- data/spec/fixtures/operations/route53/change_resource_record_sets.yml +18 -0
- data/tasks/test.rake +6 -18
- data/vendor/seahorse/lib/seahorse/client/http/headers.rb +20 -0
- data/vendor/seahorse/tasks/test.rake +2 -15
- metadata +77 -64
- data/features/common/step_definitions.rb +0 -63
- data/features/dynamodb/setup.rb +0 -8
- data/features/ec2/setup.rb +0 -6
- data/features/glacier/setup.rb +0 -16
- data/features/s3/setup.rb +0 -17
- data/features/sqs/setup.rb +0 -10
@@ -1,45 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"pagination": {
|
3
3
|
"GetWorkflowExecutionHistory": {
|
4
|
+
"limit_key": "maximumPageSize",
|
4
5
|
"input_token": "nextPageToken",
|
5
6
|
"output_token": "nextPageToken",
|
6
|
-
"limit_key": "maximumPageSize",
|
7
7
|
"result_key": "events"
|
8
8
|
},
|
9
9
|
"ListActivityTypes": {
|
10
|
+
"limit_key": "maximumPageSize",
|
10
11
|
"input_token": "nextPageToken",
|
11
12
|
"output_token": "nextPageToken",
|
12
|
-
"limit_key": "maximumPageSize",
|
13
13
|
"result_key": "typeInfos"
|
14
14
|
},
|
15
15
|
"ListClosedWorkflowExecutions": {
|
16
|
+
"limit_key": "maximumPageSize",
|
16
17
|
"input_token": "nextPageToken",
|
17
18
|
"output_token": "nextPageToken",
|
18
|
-
"limit_key": "maximumPageSize",
|
19
19
|
"result_key": "executionInfos"
|
20
20
|
},
|
21
21
|
"ListDomains": {
|
22
|
+
"limit_key": "maximumPageSize",
|
22
23
|
"input_token": "nextPageToken",
|
23
24
|
"output_token": "nextPageToken",
|
24
|
-
"limit_key": "maximumPageSize",
|
25
25
|
"result_key": "domainInfos"
|
26
26
|
},
|
27
27
|
"ListOpenWorkflowExecutions": {
|
28
|
+
"limit_key": "maximumPageSize",
|
28
29
|
"input_token": "nextPageToken",
|
29
30
|
"output_token": "nextPageToken",
|
30
|
-
"limit_key": "maximumPageSize",
|
31
31
|
"result_key": "executionInfos"
|
32
32
|
},
|
33
33
|
"ListWorkflowTypes": {
|
34
|
+
"limit_key": "maximumPageSize",
|
34
35
|
"input_token": "nextPageToken",
|
35
36
|
"output_token": "nextPageToken",
|
36
|
-
"limit_key": "maximumPageSize",
|
37
37
|
"result_key": "typeInfos"
|
38
38
|
},
|
39
39
|
"PollForDecisionTask": {
|
40
|
+
"limit_key": "maximumPageSize",
|
40
41
|
"input_token": "nextPageToken",
|
41
42
|
"output_token": "nextPageToken",
|
42
|
-
"limit_key": "maximumPageSize",
|
43
43
|
"result_key": "events"
|
44
44
|
}
|
45
45
|
}
|
@@ -3,18 +3,14 @@
|
|
3
3
|
Feature: Auto Scaling
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "DescribeScalingProcessTypes" API
|
7
|
+
Then the response should contain a list of "Processes"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
image_id: "ami-12345678",
|
15
|
-
instance_type: "m1.small",
|
16
|
-
}
|
17
|
-
"""
|
10
|
+
When I attempt to call the "CreateLaunchConfiguration" API with:
|
11
|
+
| LaunchConfigurationName | |
|
12
|
+
| ImageId | ami-12345678 |
|
13
|
+
| InstanceType | m1.small |
|
18
14
|
Then I expect the response error code to be "ValidationError"
|
19
15
|
And I expect the response error message to include:
|
20
16
|
"""
|
@@ -3,14 +3,13 @@
|
|
3
3
|
Feature: AWS CloudFormation
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "ListStacks" API
|
7
|
+
Then the response should contain a list of "StackSummaries"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
"""
|
10
|
+
When I attempt to call the "CreateStack" API with:
|
11
|
+
| StackName | fakestack |
|
12
|
+
| TemplateURL | http://s3.amazonaws.com/foo/bar |
|
14
13
|
Then I expect the response error code to be "ValidationError"
|
15
14
|
And I expect the response error message to include:
|
16
15
|
"""
|
@@ -3,17 +3,13 @@
|
|
3
3
|
Feature: Amazon CloudFront
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
|
8
|
-
|
9
|
-
"""
|
10
|
-
Then the response "distribution_list.items" should be an array
|
6
|
+
When I call the "ListDistributions" API with:
|
7
|
+
| MaxItems | 1 |
|
8
|
+
Then the response should contain a "DistributionList" with a list of "Items"
|
11
9
|
|
12
10
|
Scenario: Error handling
|
13
|
-
|
14
|
-
|
15
|
-
{ id: '123' }
|
16
|
-
"""
|
11
|
+
When I attempt to call the "GetDistribution" API with:
|
12
|
+
| Id | fake-id |
|
17
13
|
Then I expect the response error code to be "NoSuchDistribution"
|
18
14
|
And I expect the response error message to include:
|
19
15
|
"""
|
@@ -3,14 +3,12 @@
|
|
3
3
|
Feature: Amazon CloudSearch
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "DescribeDomains" API
|
7
|
+
Then the response should contain a "DomainStatusList"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
{ domain_name: "fakedomain" }
|
13
|
-
"""
|
10
|
+
When I attempt to call the "DescribeIndexFields" API with:
|
11
|
+
| DomainName | fakedomain |
|
14
12
|
Then I expect the response error code to be "ResourceNotFound"
|
15
13
|
And I expect the response error message to include:
|
16
14
|
"""
|
@@ -3,17 +3,15 @@
|
|
3
3
|
Feature: Amazon CloudWatch
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
|
8
|
-
|
9
|
-
"""
|
10
|
-
Then the response "metrics" should be an array
|
6
|
+
When I call the "ListMetrics" API with:
|
7
|
+
| Namespace | AWS/EC2 |
|
8
|
+
Then the response should contain a list of "Metrics"
|
11
9
|
|
12
10
|
Scenario: Error handling
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
When I attempt to call the "SetAlarmState" API with:
|
12
|
+
| AlarmName | abc |
|
13
|
+
| StateValue | mno |
|
14
|
+
| StateReason | xyz |
|
17
15
|
Then I expect the response error code to be "ValidationError"
|
18
16
|
And I expect the response error message to include:
|
19
17
|
"""
|
@@ -3,16 +3,14 @@
|
|
3
3
|
Feature: AWS Data Pipeline
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "ListPipelines" API
|
7
|
+
Then the response should contain a "PipelineIdList"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
{ pipeline_ids: ['fake_pipeline'] }
|
13
|
-
"""
|
10
|
+
When I attempt to call the "GetPipelineDefinition" API with:
|
11
|
+
| PipelineId | fake-id |
|
14
12
|
Then I expect the response error code to be "PipelineNotFoundException"
|
15
13
|
And I expect the response error message to include:
|
16
14
|
"""
|
17
|
-
|
15
|
+
fake-id pipeline does not exist
|
18
16
|
"""
|
@@ -3,16 +3,14 @@
|
|
3
3
|
Feature: AWS Direct Connect
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "DescribeConnections" API
|
7
|
+
Then the response should contain a list of "Connections"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
{ offering_id: 'fake_offering' }
|
13
|
-
"""
|
10
|
+
When I attempt to call the "DescribeConnections" API with:
|
11
|
+
| connectionId | fake-connection |
|
14
12
|
Then I expect the response error code to be "DirectConnectClientException"
|
15
13
|
And I expect the response error message to include:
|
16
14
|
"""
|
17
|
-
|
15
|
+
Connection ID fake-connection has an invalid format
|
18
16
|
"""
|
@@ -3,19 +3,15 @@
|
|
3
3
|
Feature: Amazon DynamoDB
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
|
8
|
-
|
9
|
-
"""
|
10
|
-
Then the response "table_names" should be an array
|
6
|
+
When I call the "ListTables" API with:
|
7
|
+
| Limit | 1 |
|
8
|
+
Then the response should contain a list of "TableNames"
|
11
9
|
|
12
10
|
Scenario: Error handling
|
13
|
-
|
14
|
-
|
15
|
-
{ table_name: 'fake_table' }
|
16
|
-
"""
|
11
|
+
When I attempt to call the "DescribeTable" API with:
|
12
|
+
| TableName | fake-table |
|
17
13
|
Then I expect the response error code to be "ResourceNotFoundException"
|
18
14
|
And I expect the response error message to include:
|
19
15
|
"""
|
20
|
-
Requested resource not found: Table:
|
16
|
+
Requested resource not found: Table: fake-table not found
|
21
17
|
"""
|
@@ -10,23 +10,19 @@ Feature: Amazon DynamoDB without translation
|
|
10
10
|
Given I disable translation features Aws::DynamoDB
|
11
11
|
|
12
12
|
Scenario: Sending a request with a simplified hash structure
|
13
|
-
When I call "
|
14
|
-
|
15
|
-
{ 'Limit' => 1 }
|
16
|
-
"""
|
13
|
+
When I call the "ListTables" API with:
|
14
|
+
| Limit | 1 |
|
17
15
|
Then the HTTP request body should be:
|
18
16
|
"""
|
19
17
|
{"Limit":1}
|
20
18
|
"""
|
21
19
|
|
22
20
|
Scenario: Receiving a response with a simplified hash structure
|
23
|
-
When I call "
|
21
|
+
When I call the "ListTables" API
|
24
22
|
Then I expect response data to be a hash
|
25
23
|
And I expect response data["TableNames"] to be an array
|
26
24
|
|
27
25
|
Scenario: Using simple mode does not disable error handling
|
28
|
-
When I call "
|
29
|
-
|
30
|
-
{ 'TableName' => 'fake-table' }
|
31
|
-
"""
|
26
|
+
When I attempt to call the "DescribeTable" API with:
|
27
|
+
| TableName | fake_table |
|
32
28
|
Then I expect the response error code to be "ResourceNotFoundException"
|
@@ -1,3 +1,11 @@
|
|
1
|
+
Before("@dynamodb") do
|
2
|
+
@dynamodb = @client = Aws.dynamodb
|
3
|
+
end
|
4
|
+
|
5
|
+
After("@dynamodb") do
|
6
|
+
end
|
7
|
+
|
1
8
|
Given(/^I disable translation features Aws::DynamoDB$/) do
|
2
|
-
@
|
9
|
+
@raw_json = true
|
10
|
+
@dynamodb = @client = Aws.dynamodb(raw_json: true)
|
3
11
|
end
|
data/features/ec2/client.feature
CHANGED
@@ -3,17 +3,12 @@
|
|
3
3
|
Feature: Amazon Elastic Compute Cloud
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call
|
7
|
-
""
|
8
|
-
{ region_names: ['us-west-2'] }
|
9
|
-
"""
|
10
|
-
Then the response "regions" should be an array
|
6
|
+
When I call the "DescribeRegions" API
|
7
|
+
Then the response should contain a list of "Regions"
|
11
8
|
|
12
9
|
Scenario: Error handling
|
13
|
-
|
14
|
-
|
15
|
-
{ instance_ids: ['i-12345678'] }
|
16
|
-
"""
|
10
|
+
When I attempt to call the "DescribeInstances" API with:
|
11
|
+
| InstanceIds | ['i-12345678'] |
|
17
12
|
Then I expect the response error code to be "InvalidInstanceIDNotFound"
|
18
13
|
And I expect the response error message to include:
|
19
14
|
"""
|
@@ -1,19 +1,6 @@
|
|
1
|
-
|
2
|
-
@
|
1
|
+
Before("@ec2") do
|
2
|
+
@ec2 = @client = Aws.ec2
|
3
3
|
end
|
4
4
|
|
5
|
-
|
6
|
-
expect(@region.endpoint).to eq(endpoint)
|
7
|
-
end
|
8
|
-
|
9
|
-
Given(/^I describe a non-existent instance$/) do
|
10
|
-
begin
|
11
|
-
@ec2.describe_instances(instance_ids: ['i-12345678'])
|
12
|
-
rescue => error
|
13
|
-
@error = error
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
Then(/^a "(.*?)" error should be raised$/) do |error_class|
|
18
|
-
expect(@error.class.name).to match(error_class)
|
5
|
+
After("@ec2") do
|
19
6
|
end
|
@@ -3,14 +3,12 @@
|
|
3
3
|
Feature: ElastiCache
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "DescribeEvents" API
|
7
|
+
Then the response should contain a list of "Events"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
{ cache_cluster_id: 'fake_cluster' }
|
13
|
-
"""
|
10
|
+
When I attempt to call the "DescribeCacheClusters" API with:
|
11
|
+
| CacheClusterId | fake_cluster |
|
14
12
|
Then I expect the response error code to be "InvalidParameterValue"
|
15
13
|
And I expect the response error message to include:
|
16
14
|
"""
|
@@ -3,14 +3,12 @@
|
|
3
3
|
Feature: AWS Elastic Beanstalk
|
4
4
|
|
5
5
|
Scenario: Making a basic request
|
6
|
-
When I call "
|
7
|
-
Then the response
|
6
|
+
When I call the "ListAvailableSolutionStacks" API
|
7
|
+
Then the response should contain a list of "SolutionStacks"
|
8
8
|
|
9
9
|
Scenario: Error handling
|
10
|
-
|
11
|
-
|
12
|
-
{ environment_id: 'fake_environment' }
|
13
|
-
"""
|
10
|
+
When I attempt to call the "DescribeEnvironmentResources" API with:
|
11
|
+
| EnvironmentId | fake_environment |
|
14
12
|
Then I expect the response error code to be "InvalidParameterValue"
|
15
13
|
And I expect the response error message to include:
|
16
14
|
"""
|