aws-sdk-core 2.5.8 → 2.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/apis/codepipeline/2015-07-09/api-2.json +6 -11
- data/apis/ec2/2016-04-01/examples-1.json +3724 -0
- data/apis/ecr/2015-09-21/examples-1.json +210 -0
- data/apis/ecs/2014-11-13/examples-1.json +878 -0
- data/apis/rds/2014-10-31/api-2.json +43 -0
- data/apis/sns/2010-03-31/api-2.json +6 -1
- data/apis/sns/2010-03-31/examples-1.json +5 -0
- data/lib/aws-sdk-core/api/docs/operation_documenter.rb +17 -13
- data/lib/aws-sdk-core/sns.rb +1 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +3 -2
@@ -919,6 +919,18 @@
|
|
919
919
|
{"shape":"ReservedDBInstancesOfferingNotFoundFault"}
|
920
920
|
]
|
921
921
|
},
|
922
|
+
"DescribeSourceRegions":{
|
923
|
+
"name":"DescribeSourceRegions",
|
924
|
+
"http":{
|
925
|
+
"method":"POST",
|
926
|
+
"requestUri":"/"
|
927
|
+
},
|
928
|
+
"input":{"shape":"DescribeSourceRegionsMessage"},
|
929
|
+
"output":{
|
930
|
+
"shape":"SourceRegionMessage",
|
931
|
+
"resultWrapper":"DescribeSourceRegionsResult"
|
932
|
+
}
|
933
|
+
},
|
922
934
|
"DownloadDBLogFilePortion":{
|
923
935
|
"name":"DownloadDBLogFilePortion",
|
924
936
|
"http":{
|
@@ -3199,6 +3211,15 @@
|
|
3199
3211
|
"Marker":{"shape":"String"}
|
3200
3212
|
}
|
3201
3213
|
},
|
3214
|
+
"DescribeSourceRegionsMessage":{
|
3215
|
+
"type":"structure",
|
3216
|
+
"members":{
|
3217
|
+
"RegionName":{"shape":"String"},
|
3218
|
+
"MaxRecords":{"shape":"IntegerOptional"},
|
3219
|
+
"Marker":{"shape":"String"},
|
3220
|
+
"Filters":{"shape":"FilterList"}
|
3221
|
+
}
|
3222
|
+
},
|
3202
3223
|
"DomainMembership":{
|
3203
3224
|
"type":"structure",
|
3204
3225
|
"members":{
|
@@ -4714,6 +4735,28 @@
|
|
4714
4735
|
},
|
4715
4736
|
"exception":true
|
4716
4737
|
},
|
4738
|
+
"SourceRegion":{
|
4739
|
+
"type":"structure",
|
4740
|
+
"members":{
|
4741
|
+
"RegionName":{"shape":"String"},
|
4742
|
+
"Endpoint":{"shape":"String"},
|
4743
|
+
"Status":{"shape":"String"}
|
4744
|
+
}
|
4745
|
+
},
|
4746
|
+
"SourceRegionList":{
|
4747
|
+
"type":"list",
|
4748
|
+
"member":{
|
4749
|
+
"shape":"SourceRegion",
|
4750
|
+
"locationName":"SourceRegion"
|
4751
|
+
}
|
4752
|
+
},
|
4753
|
+
"SourceRegionMessage":{
|
4754
|
+
"type":"structure",
|
4755
|
+
"members":{
|
4756
|
+
"Marker":{"shape":"String"},
|
4757
|
+
"SourceRegions":{"shape":"SourceRegionList"}
|
4758
|
+
}
|
4759
|
+
},
|
4717
4760
|
"SourceType":{
|
4718
4761
|
"type":"string",
|
4719
4762
|
"enum":[
|
@@ -38,6 +38,7 @@
|
|
38
38
|
"errors":[
|
39
39
|
{"shape":"ThrottledException"},
|
40
40
|
{"shape":"InternalErrorException"},
|
41
|
+
{"shape":"AuthorizationErrorException"},
|
41
42
|
{"shape":"InvalidParameterException"}
|
42
43
|
]
|
43
44
|
},
|
@@ -203,6 +204,7 @@
|
|
203
204
|
"errors":[
|
204
205
|
{"shape":"ThrottledException"},
|
205
206
|
{"shape":"InternalErrorException"},
|
207
|
+
{"shape":"AuthorizationErrorException"},
|
206
208
|
{"shape":"InvalidParameterException"}
|
207
209
|
]
|
208
210
|
},
|
@@ -274,6 +276,7 @@
|
|
274
276
|
"errors":[
|
275
277
|
{"shape":"ThrottledException"},
|
276
278
|
{"shape":"InternalErrorException"},
|
279
|
+
{"shape":"AuthorizationErrorException"},
|
277
280
|
{"shape":"InvalidParameterException"}
|
278
281
|
]
|
279
282
|
},
|
@@ -360,6 +363,7 @@
|
|
360
363
|
"errors":[
|
361
364
|
{"shape":"ThrottledException"},
|
362
365
|
{"shape":"InternalErrorException"},
|
366
|
+
{"shape":"AuthorizationErrorException"},
|
363
367
|
{"shape":"InvalidParameterException"}
|
364
368
|
]
|
365
369
|
},
|
@@ -440,7 +444,8 @@
|
|
440
444
|
"errors":[
|
441
445
|
{"shape":"InvalidParameterException"},
|
442
446
|
{"shape":"ThrottledException"},
|
443
|
-
{"shape":"InternalErrorException"}
|
447
|
+
{"shape":"InternalErrorException"},
|
448
|
+
{"shape":"AuthorizationErrorException"}
|
444
449
|
]
|
445
450
|
},
|
446
451
|
"SetSubscriptionAttributes":{
|
@@ -79,26 +79,30 @@ module Aws
|
|
79
79
|
if operation['examples']
|
80
80
|
operation['examples'].map do |example|
|
81
81
|
shared_example(example, method_name, operation)
|
82
|
-
end
|
82
|
+
end.compact
|
83
83
|
else
|
84
84
|
[]
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
88
|
def shared_example(json_ex, method_name, operation)
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
89
|
+
begin # disable broken examples
|
90
|
+
input_comments = json_ex['comments']['input']
|
91
|
+
input = SharedExample.new(json_ex['input'], method_name, operation, input_comments).to_str_input
|
92
|
+
parts = []
|
93
|
+
parts << "@example Example: #{json_ex['title']}\n\n"
|
94
|
+
parts << " # #{json_ex['description']}\n\n"
|
95
|
+
parts += input.lines.map { |line| " " + line }
|
96
|
+
if json_ex['output']
|
97
|
+
output_comments = json_ex['comments']['output']
|
98
|
+
output = SharedExample.new(json_ex['output'], method_name, operation, output_comments).to_str_output
|
99
|
+
parts << "\n\n # resp.to_h outputs the following:\n"
|
100
|
+
parts += output.lines.map { |line| " " + line }
|
101
|
+
end
|
102
|
+
tag(parts.join)
|
103
|
+
rescue
|
104
|
+
nil
|
100
105
|
end
|
101
|
-
tag(parts.join)
|
102
106
|
end
|
103
107
|
|
104
108
|
def examples_from_disk(method_name, operation)
|
data/lib/aws-sdk-core/sns.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
Aws.add_service(:SNS, {
|
2
2
|
api: "#{Aws::API_DIR}/sns/2010-03-31/api-2.json",
|
3
3
|
docs: "#{Aws::API_DIR}/sns/2010-03-31/docs-2.json",
|
4
|
+
examples: "#{Aws::API_DIR}/sns/2010-03-31/examples-1.json",
|
4
5
|
paginators: "#{Aws::API_DIR}/sns/2010-03-31/paginators-1.json",
|
5
6
|
resources: "#{Aws::API_DIR}/sns/2010-03-31/resources-1.json",
|
6
7
|
})
|
data/lib/aws-sdk-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -237,6 +237,7 @@ files:
|
|
237
237
|
- apis/snowball/2016-06-30/examples-1.json
|
238
238
|
- apis/snowball/2016-06-30/paginators-1.json
|
239
239
|
- apis/sns/2010-03-31/api-2.json
|
240
|
+
- apis/sns/2010-03-31/examples-1.json
|
240
241
|
- apis/sns/2010-03-31/paginators-1.json
|
241
242
|
- apis/sns/2010-03-31/resources-1.json
|
242
243
|
- apis/sqs/2012-11-05/api-2.json
|