aws-sdk-core 2.2.20 → 2.2.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38622ad0dc80892e743a675c16a73ab8fa718d80
4
- data.tar.gz: 834412ce69956d67eaecb380a56744345bdfa0a0
3
+ metadata.gz: 8af60b147fb7b624a055c0fed10ee7a73672c6e7
4
+ data.tar.gz: f78c0ef7c9f31b3cb62bb76c2d335db2016ceae5
5
5
  SHA512:
6
- metadata.gz: 495672ae65656474a25f59aa15e2eb3aabe955b4c74f9ab5016962fe76b2a1820d5e6c01680eb83596b098a87007f64ba97982b5d8c5a35259c849529b78f3a7
7
- data.tar.gz: 9d0171e7b4f13e2980383fbcca1c5843fd7dd359674a78ce1f24c9ed607fe678bfc41471f03e2ed415c762d0b7595282ec6c7f5fb043cecbd003f2efd782fc3d
6
+ metadata.gz: 03593764d90f8315582484d174e3805a134f4c991692a5e6e1aa7eef41aba44e68ea68e1e65404668c1541a0409236bbc2fac7ab760bf8538a56a00bfa48b4b2
7
+ data.tar.gz: 451f40dfea3e633e537f3dbabd17b1d9caee90d920dab2a2ebc984539d46e5c218692a59216ca30eb540959469ace2f1ca48f49208fa2e3d183218a6defe64c2
@@ -366,6 +366,21 @@
366
366
  {"shape":"TooManyRequestsException"}
367
367
  ]
368
368
  },
369
+ "FlushStageAuthorizersCache":{
370
+ "name":"FlushStageAuthorizersCache",
371
+ "http":{
372
+ "method":"DELETE",
373
+ "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers",
374
+ "responseCode":202
375
+ },
376
+ "input":{"shape":"FlushStageAuthorizersCacheRequest"},
377
+ "errors":[
378
+ {"shape":"UnauthorizedException"},
379
+ {"shape":"NotFoundException"},
380
+ {"shape":"BadRequestException"},
381
+ {"shape":"TooManyRequestsException"}
382
+ ]
383
+ },
369
384
  "FlushStageCache":{
370
385
  "name":"FlushStageCache",
371
386
  "http":{
@@ -433,6 +448,7 @@
433
448
  "input":{"shape":"GetApiKeysRequest"},
434
449
  "output":{"shape":"ApiKeys"},
435
450
  "errors":[
451
+ {"shape":"BadRequestException"},
436
452
  {"shape":"UnauthorizedException"},
437
453
  {"shape":"TooManyRequestsException"}
438
454
  ]
@@ -517,6 +533,7 @@
517
533
  "input":{"shape":"GetClientCertificatesRequest"},
518
534
  "output":{"shape":"ClientCertificates"},
519
535
  "errors":[
536
+ {"shape":"BadRequestException"},
520
537
  {"shape":"UnauthorizedException"},
521
538
  {"shape":"TooManyRequestsException"}
522
539
  ]
@@ -545,6 +562,7 @@
545
562
  "input":{"shape":"GetDeploymentsRequest"},
546
563
  "output":{"shape":"Deployments"},
547
564
  "errors":[
565
+ {"shape":"BadRequestException"},
548
566
  {"shape":"UnauthorizedException"},
549
567
  {"shape":"TooManyRequestsException"},
550
568
  {"shape":"ServiceUnavailableException"}
@@ -574,6 +592,7 @@
574
592
  "input":{"shape":"GetDomainNamesRequest"},
575
593
  "output":{"shape":"DomainNames"},
576
594
  "errors":[
595
+ {"shape":"BadRequestException"},
577
596
  {"shape":"UnauthorizedException"},
578
597
  {"shape":"TooManyRequestsException"}
579
598
  ]
@@ -688,6 +707,7 @@
688
707
  "input":{"shape":"GetModelsRequest"},
689
708
  "output":{"shape":"Models"},
690
709
  "errors":[
710
+ {"shape":"BadRequestException"},
691
711
  {"shape":"UnauthorizedException"},
692
712
  {"shape":"NotFoundException"},
693
713
  {"shape":"TooManyRequestsException"}
@@ -716,6 +736,7 @@
716
736
  "input":{"shape":"GetResourcesRequest"},
717
737
  "output":{"shape":"Resources"},
718
738
  "errors":[
739
+ {"shape":"BadRequestException"},
719
740
  {"shape":"UnauthorizedException"},
720
741
  {"shape":"NotFoundException"},
721
742
  {"shape":"TooManyRequestsException"}
@@ -744,6 +765,7 @@
744
765
  "input":{"shape":"GetRestApisRequest"},
745
766
  "output":{"shape":"RestApis"},
746
767
  "errors":[
768
+ {"shape":"BadRequestException"},
747
769
  {"shape":"UnauthorizedException"},
748
770
  {"shape":"TooManyRequestsException"}
749
771
  ]
@@ -861,6 +883,21 @@
861
883
  {"shape":"TooManyRequestsException"}
862
884
  ]
863
885
  },
886
+ "TestInvokeAuthorizer":{
887
+ "name":"TestInvokeAuthorizer",
888
+ "http":{
889
+ "method":"POST",
890
+ "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"
891
+ },
892
+ "input":{"shape":"TestInvokeAuthorizerRequest"},
893
+ "output":{"shape":"TestInvokeAuthorizerResponse"},
894
+ "errors":[
895
+ {"shape":"BadRequestException"},
896
+ {"shape":"UnauthorizedException"},
897
+ {"shape":"NotFoundException"},
898
+ {"shape":"TooManyRequestsException"}
899
+ ]
900
+ },
864
901
  "TestInvokeMethod":{
865
902
  "name":"TestInvokeMethod",
866
903
  "http":{
@@ -1729,6 +1766,25 @@
1729
1766
  },
1730
1767
  "payload":"body"
1731
1768
  },
1769
+ "FlushStageAuthorizersCacheRequest":{
1770
+ "type":"structure",
1771
+ "required":[
1772
+ "restApiId",
1773
+ "stageName"
1774
+ ],
1775
+ "members":{
1776
+ "restApiId":{
1777
+ "shape":"String",
1778
+ "location":"uri",
1779
+ "locationName":"restapi_id"
1780
+ },
1781
+ "stageName":{
1782
+ "shape":"String",
1783
+ "location":"uri",
1784
+ "locationName":"stage_name"
1785
+ }
1786
+ }
1787
+ },
1732
1788
  "FlushStageCacheRequest":{
1733
1789
  "type":"structure",
1734
1790
  "required":[
@@ -2430,6 +2486,11 @@
2430
2486
  "key":{"shape":"String"},
2431
2487
  "value":{"shape":"NullableBoolean"}
2432
2488
  },
2489
+ "MapOfStringToList":{
2490
+ "type":"map",
2491
+ "key":{"shape":"String"},
2492
+ "value":{"shape":"ListOfString"}
2493
+ },
2433
2494
  "MapOfStringToString":{
2434
2495
  "type":"map",
2435
2496
  "key":{"shape":"String"},
@@ -2466,7 +2527,9 @@
2466
2527
  "throttlingRateLimit":{"shape":"Double"},
2467
2528
  "cachingEnabled":{"shape":"Boolean"},
2468
2529
  "cacheTtlInSeconds":{"shape":"Integer"},
2469
- "cacheDataEncrypted":{"shape":"Boolean"}
2530
+ "cacheDataEncrypted":{"shape":"Boolean"},
2531
+ "requireAuthorizationForCacheControl":{"shape":"Boolean"},
2532
+ "unauthorizedCacheControlHeaderStrategy":{"shape":"UnauthorizedCacheControlHeaderStrategy"}
2470
2533
  }
2471
2534
  },
2472
2535
  "MethodSnapshot":{
@@ -2765,6 +2828,41 @@
2765
2828
  "value":{"shape":"String"}
2766
2829
  }
2767
2830
  },
2831
+ "TestInvokeAuthorizerRequest":{
2832
+ "type":"structure",
2833
+ "required":[
2834
+ "restApiId",
2835
+ "authorizerId"
2836
+ ],
2837
+ "members":{
2838
+ "restApiId":{
2839
+ "shape":"String",
2840
+ "location":"uri",
2841
+ "locationName":"restapi_id"
2842
+ },
2843
+ "authorizerId":{
2844
+ "shape":"String",
2845
+ "location":"uri",
2846
+ "locationName":"authorizer_id"
2847
+ },
2848
+ "headers":{"shape":"MapOfHeaderValues"},
2849
+ "pathWithQueryString":{"shape":"String"},
2850
+ "body":{"shape":"String"},
2851
+ "stageVariables":{"shape":"MapOfStringToString"},
2852
+ "additionalContext":{"shape":"MapOfStringToString"}
2853
+ }
2854
+ },
2855
+ "TestInvokeAuthorizerResponse":{
2856
+ "type":"structure",
2857
+ "members":{
2858
+ "clientStatus":{"shape":"Integer"},
2859
+ "log":{"shape":"String"},
2860
+ "latency":{"shape":"Long"},
2861
+ "principalId":{"shape":"String"},
2862
+ "policy":{"shape":"String"},
2863
+ "authorization":{"shape":"MapOfStringToList"}
2864
+ }
2865
+ },
2768
2866
  "TestInvokeMethodRequest":{
2769
2867
  "type":"structure",
2770
2868
  "required":[
@@ -2826,6 +2924,14 @@
2826
2924
  "error":{"httpStatusCode":429},
2827
2925
  "exception":true
2828
2926
  },
2927
+ "UnauthorizedCacheControlHeaderStrategy":{
2928
+ "type":"string",
2929
+ "enum":[
2930
+ "FAIL_WITH_403",
2931
+ "SUCCEED_WITH_RESPONSE_HEADER",
2932
+ "SUCCEED_WITHOUT_RESPONSE_HEADER"
2933
+ ]
2934
+ },
2829
2935
  "UnauthorizedException":{
2830
2936
  "type":"structure",
2831
2937
  "members":{
@@ -94,7 +94,7 @@
94
94
  {
95
95
  "target": "Id",
96
96
  "source": "response",
97
- "path": "Activites[].ActivityId"
97
+ "path": "Activities[].ActivityId"
98
98
  }
99
99
  ],
100
100
  "path": "Activities[]"
@@ -591,7 +591,7 @@
591
591
  {
592
592
  "target": "Id",
593
593
  "source": "response",
594
- "path": "Activites[].ActivityId"
594
+ "path": "Activities[].ActivityId"
595
595
  }
596
596
  ],
597
597
  "path": "Activities[]"
@@ -4,15 +4,15 @@
4
4
  "GroupExists": {
5
5
  "acceptors": [
6
6
  {
7
- "argument": "length(AutoScalingGroups)",
8
- "expected": 1,
9
- "matcher": "pathAll",
7
+ "argument": "length(AutoScalingGroups) > `0`",
8
+ "expected": true,
9
+ "matcher": "path",
10
10
  "state": "success"
11
11
  },
12
12
  {
13
- "argument": "length(AutoScalingGroups)",
14
- "expected": 0,
15
- "matcher": "pathAll",
13
+ "argument": "length(AutoScalingGroups) > `0`",
14
+ "expected": false,
15
+ "matcher": "path",
16
16
  "state": "retry"
17
17
  }
18
18
  ],
@@ -25,13 +25,13 @@
25
25
  {
26
26
  "argument": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)",
27
27
  "expected": false,
28
- "matcher": "pathAll",
28
+ "matcher": "path",
29
29
  "state": "success"
30
30
  },
31
31
  {
32
32
  "argument": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)",
33
33
  "expected": true,
34
- "matcher": "pathAll",
34
+ "matcher": "path",
35
35
  "state": "retry"
36
36
  }
37
37
  ],
@@ -42,15 +42,15 @@
42
42
  "GroupNotExists": {
43
43
  "acceptors": [
44
44
  {
45
- "argument": "length(AutoScalingGroups)",
46
- "expected": 0,
47
- "matcher": "pathAll",
45
+ "argument": "length(AutoScalingGroups) > `0`",
46
+ "expected": false,
47
+ "matcher": "path",
48
48
  "state": "success"
49
49
  },
50
50
  {
51
- "argument": "length(AutoScalingGroups)",
52
- "expected": 1,
53
- "matcher": "pathAll",
51
+ "argument": "length(AutoScalingGroups) > `0`",
52
+ "expected": true,
53
+ "matcher": "path",
54
54
  "state": "retry"
55
55
  }
56
56
  ],
@@ -4,10 +4,10 @@
4
4
  "apiVersion":"2013-01-01",
5
5
  "endpointPrefix":"cloudsearchdomain",
6
6
  "jsonVersion":"1.1",
7
+ "protocol":"rest-json",
7
8
  "serviceFullName":"Amazon CloudSearch Domain",
8
9
  "signatureVersion":"v4",
9
- "signingName":"cloudsearch",
10
- "protocol":"rest-json"
10
+ "signingName":"cloudsearch"
11
11
  },
12
12
  "operations":{
13
13
  "Search":{
@@ -19,10 +19,7 @@
19
19
  "input":{"shape":"SearchRequest"},
20
20
  "output":{"shape":"SearchResponse"},
21
21
  "errors":[
22
- {
23
- "shape":"SearchException",
24
- "exception":true
25
- }
22
+ {"shape":"SearchException"}
26
23
  ]
27
24
  },
28
25
  "Suggest":{
@@ -34,10 +31,7 @@
34
31
  "input":{"shape":"SuggestRequest"},
35
32
  "output":{"shape":"SuggestResponse"},
36
33
  "errors":[
37
- {
38
- "shape":"SearchException",
39
- "exception":true
40
- }
34
+ {"shape":"SearchException"}
41
35
  ]
42
36
  },
43
37
  "UploadDocuments":{
@@ -49,10 +43,7 @@
49
43
  "input":{"shape":"UploadDocumentsRequest"},
50
44
  "output":{"shape":"UploadDocumentsResponse"},
51
45
  "errors":[
52
- {
53
- "shape":"DocumentServiceException",
54
- "exception":true
55
- }
46
+ {"shape":"DocumentServiceException"}
56
47
  ]
57
48
  }
58
49
  },
@@ -106,6 +97,7 @@
106
97
  "type":"list",
107
98
  "member":{"shape":"DocumentServiceWarning"}
108
99
  },
100
+ "Double":{"type":"double"},
109
101
  "Expr":{"type":"string"},
110
102
  "Exprs":{
111
103
  "type":"map",
@@ -118,6 +110,19 @@
118
110
  "key":{"shape":"String"},
119
111
  "value":{"shape":"BucketInfo"}
120
112
  },
113
+ "FieldStats":{
114
+ "type":"structure",
115
+ "members":{
116
+ "min":{"shape":"String"},
117
+ "max":{"shape":"String"},
118
+ "count":{"shape":"Long"},
119
+ "missing":{"shape":"Long"},
120
+ "sum":{"shape":"Double"},
121
+ "sumOfSquares":{"shape":"Double"},
122
+ "mean":{"shape":"String"},
123
+ "stddev":{"shape":"Double"}
124
+ }
125
+ },
121
126
  "FieldValue":{
122
127
  "type":"list",
123
128
  "member":{"shape":"String"}
@@ -245,6 +250,11 @@
245
250
  "shape":"Start",
246
251
  "location":"querystring",
247
252
  "locationName":"start"
253
+ },
254
+ "stats":{
255
+ "shape":"Stat",
256
+ "location":"querystring",
257
+ "locationName":"stats"
248
258
  }
249
259
  }
250
260
  },
@@ -253,7 +263,8 @@
253
263
  "members":{
254
264
  "status":{"shape":"SearchStatus"},
255
265
  "hits":{"shape":"Hits"},
256
- "facets":{"shape":"Facets"}
266
+ "facets":{"shape":"Facets"},
267
+ "stats":{"shape":"Stats"}
257
268
  }
258
269
  },
259
270
  "SearchStatus":{
@@ -266,6 +277,12 @@
266
277
  "Size":{"type":"long"},
267
278
  "Sort":{"type":"string"},
268
279
  "Start":{"type":"long"},
280
+ "Stat":{"type":"string"},
281
+ "Stats":{
282
+ "type":"map",
283
+ "key":{"shape":"String"},
284
+ "value":{"shape":"FieldStats"}
285
+ },
269
286
  "String":{"type":"string"},
270
287
  "SuggestModel":{
271
288
  "type":"structure",
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -4,11 +4,11 @@
4
4
  "apiVersion":"2012-08-10",
5
5
  "endpointPrefix":"dynamodb",
6
6
  "jsonVersion":"1.0",
7
+ "protocol":"json",
7
8
  "serviceAbbreviation":"DynamoDB",
8
9
  "serviceFullName":"Amazon DynamoDB",
9
10
  "signatureVersion":"v4",
10
- "targetPrefix":"DynamoDB_20120810",
11
- "protocol":"json"
11
+ "targetPrefix":"DynamoDB_20120810"
12
12
  },
13
13
  "operations":{
14
14
  "BatchGetItem":{
@@ -20,19 +20,9 @@
20
20
  "input":{"shape":"BatchGetItemInput"},
21
21
  "output":{"shape":"BatchGetItemOutput"},
22
22
  "errors":[
23
- {
24
- "shape":"ProvisionedThroughputExceededException",
25
- "exception":true
26
- },
27
- {
28
- "shape":"ResourceNotFoundException",
29
- "exception":true
30
- },
31
- {
32
- "shape":"InternalServerError",
33
- "exception":true,
34
- "fault":true
35
- }
23
+ {"shape":"ProvisionedThroughputExceededException"},
24
+ {"shape":"ResourceNotFoundException"},
25
+ {"shape":"InternalServerError"}
36
26
  ]
37
27
  },
38
28
  "BatchWriteItem":{
@@ -44,23 +34,10 @@
44
34
  "input":{"shape":"BatchWriteItemInput"},
45
35
  "output":{"shape":"BatchWriteItemOutput"},
46
36
  "errors":[
47
- {
48
- "shape":"ProvisionedThroughputExceededException",
49
- "exception":true
50
- },
51
- {
52
- "shape":"ResourceNotFoundException",
53
- "exception":true
54
- },
55
- {
56
- "shape":"ItemCollectionSizeLimitExceededException",
57
- "exception":true
58
- },
59
- {
60
- "shape":"InternalServerError",
61
- "exception":true,
62
- "fault":true
63
- }
37
+ {"shape":"ProvisionedThroughputExceededException"},
38
+ {"shape":"ResourceNotFoundException"},
39
+ {"shape":"ItemCollectionSizeLimitExceededException"},
40
+ {"shape":"InternalServerError"}
64
41
  ]
65
42
  },
66
43
  "CreateTable":{
@@ -72,19 +49,9 @@
72
49
  "input":{"shape":"CreateTableInput"},
73
50
  "output":{"shape":"CreateTableOutput"},
74
51
  "errors":[
75
- {
76
- "shape":"ResourceInUseException",
77
- "exception":true
78
- },
79
- {
80
- "shape":"LimitExceededException",
81
- "exception":true
82
- },
83
- {
84
- "shape":"InternalServerError",
85
- "exception":true,
86
- "fault":true
87
- }
52
+ {"shape":"ResourceInUseException"},
53
+ {"shape":"LimitExceededException"},
54
+ {"shape":"InternalServerError"}
88
55
  ]
89
56
  },
90
57
  "DeleteItem":{
@@ -96,27 +63,11 @@
96
63
  "input":{"shape":"DeleteItemInput"},
97
64
  "output":{"shape":"DeleteItemOutput"},
98
65
  "errors":[
99
- {
100
- "shape":"ConditionalCheckFailedException",
101
- "exception":true
102
- },
103
- {
104
- "shape":"ProvisionedThroughputExceededException",
105
- "exception":true
106
- },
107
- {
108
- "shape":"ResourceNotFoundException",
109
- "exception":true
110
- },
111
- {
112
- "shape":"ItemCollectionSizeLimitExceededException",
113
- "exception":true
114
- },
115
- {
116
- "shape":"InternalServerError",
117
- "exception":true,
118
- "fault":true
119
- }
66
+ {"shape":"ConditionalCheckFailedException"},
67
+ {"shape":"ProvisionedThroughputExceededException"},
68
+ {"shape":"ResourceNotFoundException"},
69
+ {"shape":"ItemCollectionSizeLimitExceededException"},
70
+ {"shape":"InternalServerError"}
120
71
  ]
121
72
  },
122
73
  "DeleteTable":{
@@ -128,23 +79,22 @@
128
79
  "input":{"shape":"DeleteTableInput"},
129
80
  "output":{"shape":"DeleteTableOutput"},
130
81
  "errors":[
131
- {
132
- "shape":"ResourceInUseException",
133
- "exception":true
134
- },
135
- {
136
- "shape":"ResourceNotFoundException",
137
- "exception":true
138
- },
139
- {
140
- "shape":"LimitExceededException",
141
- "exception":true
142
- },
143
- {
144
- "shape":"InternalServerError",
145
- "exception":true,
146
- "fault":true
147
- }
82
+ {"shape":"ResourceInUseException"},
83
+ {"shape":"ResourceNotFoundException"},
84
+ {"shape":"LimitExceededException"},
85
+ {"shape":"InternalServerError"}
86
+ ]
87
+ },
88
+ "DescribeLimits":{
89
+ "name":"DescribeLimits",
90
+ "http":{
91
+ "method":"POST",
92
+ "requestUri":"/"
93
+ },
94
+ "input":{"shape":"DescribeLimitsInput"},
95
+ "output":{"shape":"DescribeLimitsOutput"},
96
+ "errors":[
97
+ {"shape":"InternalServerError"}
148
98
  ]
149
99
  },
150
100
  "DescribeTable":{
@@ -156,15 +106,8 @@
156
106
  "input":{"shape":"DescribeTableInput"},
157
107
  "output":{"shape":"DescribeTableOutput"},
158
108
  "errors":[
159
- {
160
- "shape":"ResourceNotFoundException",
161
- "exception":true
162
- },
163
- {
164
- "shape":"InternalServerError",
165
- "exception":true,
166
- "fault":true
167
- }
109
+ {"shape":"ResourceNotFoundException"},
110
+ {"shape":"InternalServerError"}
168
111
  ]
169
112
  },
170
113
  "GetItem":{
@@ -176,19 +119,9 @@
176
119
  "input":{"shape":"GetItemInput"},
177
120
  "output":{"shape":"GetItemOutput"},
178
121
  "errors":[
179
- {
180
- "shape":"ProvisionedThroughputExceededException",
181
- "exception":true
182
- },
183
- {
184
- "shape":"ResourceNotFoundException",
185
- "exception":true
186
- },
187
- {
188
- "shape":"InternalServerError",
189
- "exception":true,
190
- "fault":true
191
- }
122
+ {"shape":"ProvisionedThroughputExceededException"},
123
+ {"shape":"ResourceNotFoundException"},
124
+ {"shape":"InternalServerError"}
192
125
  ]
193
126
  },
194
127
  "ListTables":{
@@ -200,11 +133,7 @@
200
133
  "input":{"shape":"ListTablesInput"},
201
134
  "output":{"shape":"ListTablesOutput"},
202
135
  "errors":[
203
- {
204
- "shape":"InternalServerError",
205
- "exception":true,
206
- "fault":true
207
- }
136
+ {"shape":"InternalServerError"}
208
137
  ]
209
138
  },
210
139
  "PutItem":{
@@ -216,27 +145,11 @@
216
145
  "input":{"shape":"PutItemInput"},
217
146
  "output":{"shape":"PutItemOutput"},
218
147
  "errors":[
219
- {
220
- "shape":"ConditionalCheckFailedException",
221
- "exception":true
222
- },
223
- {
224
- "shape":"ProvisionedThroughputExceededException",
225
- "exception":true
226
- },
227
- {
228
- "shape":"ResourceNotFoundException",
229
- "exception":true
230
- },
231
- {
232
- "shape":"ItemCollectionSizeLimitExceededException",
233
- "exception":true
234
- },
235
- {
236
- "shape":"InternalServerError",
237
- "exception":true,
238
- "fault":true
239
- }
148
+ {"shape":"ConditionalCheckFailedException"},
149
+ {"shape":"ProvisionedThroughputExceededException"},
150
+ {"shape":"ResourceNotFoundException"},
151
+ {"shape":"ItemCollectionSizeLimitExceededException"},
152
+ {"shape":"InternalServerError"}
240
153
  ]
241
154
  },
242
155
  "Query":{
@@ -248,19 +161,9 @@
248
161
  "input":{"shape":"QueryInput"},
249
162
  "output":{"shape":"QueryOutput"},
250
163
  "errors":[
251
- {
252
- "shape":"ProvisionedThroughputExceededException",
253
- "exception":true
254
- },
255
- {
256
- "shape":"ResourceNotFoundException",
257
- "exception":true
258
- },
259
- {
260
- "shape":"InternalServerError",
261
- "exception":true,
262
- "fault":true
263
- }
164
+ {"shape":"ProvisionedThroughputExceededException"},
165
+ {"shape":"ResourceNotFoundException"},
166
+ {"shape":"InternalServerError"}
264
167
  ]
265
168
  },
266
169
  "Scan":{
@@ -272,19 +175,9 @@
272
175
  "input":{"shape":"ScanInput"},
273
176
  "output":{"shape":"ScanOutput"},
274
177
  "errors":[
275
- {
276
- "shape":"ProvisionedThroughputExceededException",
277
- "exception":true
278
- },
279
- {
280
- "shape":"ResourceNotFoundException",
281
- "exception":true
282
- },
283
- {
284
- "shape":"InternalServerError",
285
- "exception":true,
286
- "fault":true
287
- }
178
+ {"shape":"ProvisionedThroughputExceededException"},
179
+ {"shape":"ResourceNotFoundException"},
180
+ {"shape":"InternalServerError"}
288
181
  ]
289
182
  },
290
183
  "UpdateItem":{
@@ -296,27 +189,11 @@
296
189
  "input":{"shape":"UpdateItemInput"},
297
190
  "output":{"shape":"UpdateItemOutput"},
298
191
  "errors":[
299
- {
300
- "shape":"ConditionalCheckFailedException",
301
- "exception":true
302
- },
303
- {
304
- "shape":"ProvisionedThroughputExceededException",
305
- "exception":true
306
- },
307
- {
308
- "shape":"ResourceNotFoundException",
309
- "exception":true
310
- },
311
- {
312
- "shape":"ItemCollectionSizeLimitExceededException",
313
- "exception":true
314
- },
315
- {
316
- "shape":"InternalServerError",
317
- "exception":true,
318
- "fault":true
319
- }
192
+ {"shape":"ConditionalCheckFailedException"},
193
+ {"shape":"ProvisionedThroughputExceededException"},
194
+ {"shape":"ResourceNotFoundException"},
195
+ {"shape":"ItemCollectionSizeLimitExceededException"},
196
+ {"shape":"InternalServerError"}
320
197
  ]
321
198
  },
322
199
  "UpdateTable":{
@@ -328,23 +205,10 @@
328
205
  "input":{"shape":"UpdateTableInput"},
329
206
  "output":{"shape":"UpdateTableOutput"},
330
207
  "errors":[
331
- {
332
- "shape":"ResourceInUseException",
333
- "exception":true
334
- },
335
- {
336
- "shape":"ResourceNotFoundException",
337
- "exception":true
338
- },
339
- {
340
- "shape":"LimitExceededException",
341
- "exception":true
342
- },
343
- {
344
- "shape":"InternalServerError",
345
- "exception":true,
346
- "fault":true
347
- }
208
+ {"shape":"ResourceInUseException"},
209
+ {"shape":"ResourceNotFoundException"},
210
+ {"shape":"LimitExceededException"},
211
+ {"shape":"InternalServerError"}
348
212
  ]
349
213
  }
350
214
  },
@@ -438,8 +302,8 @@
438
302
  "type":"map",
439
303
  "key":{"shape":"TableName"},
440
304
  "value":{"shape":"KeysAndAttributes"},
441
- "min":1,
442
- "max":100
305
+ "max":100,
306
+ "min":1
443
307
  },
444
308
  "BatchGetResponseMap":{
445
309
  "type":"map",
@@ -467,8 +331,8 @@
467
331
  "type":"map",
468
332
  "key":{"shape":"TableName"},
469
333
  "value":{"shape":"WriteRequests"},
470
- "min":1,
471
- "max":25
334
+ "max":25,
335
+ "min":1
472
336
  },
473
337
  "BinaryAttributeValue":{"type":"blob"},
474
338
  "BinarySetAttributeValue":{
@@ -634,6 +498,20 @@
634
498
  "TableDescription":{"shape":"TableDescription"}
635
499
  }
636
500
  },
501
+ "DescribeLimitsInput":{
502
+ "type":"structure",
503
+ "members":{
504
+ }
505
+ },
506
+ "DescribeLimitsOutput":{
507
+ "type":"structure",
508
+ "members":{
509
+ "AccountMaxReadCapacityUnits":{"shape":"PositiveLongObject"},
510
+ "AccountMaxWriteCapacityUnits":{"shape":"PositiveLongObject"},
511
+ "TableMaxReadCapacityUnits":{"shape":"PositiveLongObject"},
512
+ "TableMaxWriteCapacityUnits":{"shape":"PositiveLongObject"}
513
+ }
514
+ },
637
515
  "DescribeTableInput":{
638
516
  "type":"structure",
639
517
  "required":["TableName"],
@@ -753,8 +631,8 @@
753
631
  },
754
632
  "IndexName":{
755
633
  "type":"string",
756
- "min":3,
757
634
  "max":255,
635
+ "min":3,
758
636
  "pattern":"[a-zA-Z0-9_.-]+"
759
637
  },
760
638
  "IndexStatus":{
@@ -826,19 +704,19 @@
826
704
  "KeyList":{
827
705
  "type":"list",
828
706
  "member":{"shape":"Key"},
829
- "min":1,
830
- "max":100
707
+ "max":100,
708
+ "min":1
831
709
  },
832
710
  "KeySchema":{
833
711
  "type":"list",
834
712
  "member":{"shape":"KeySchemaElement"},
835
- "min":1,
836
- "max":2
713
+ "max":2,
714
+ "min":1
837
715
  },
838
716
  "KeySchemaAttributeName":{
839
717
  "type":"string",
840
- "min":1,
841
- "max":255
718
+ "max":255,
719
+ "min":1
842
720
  },
843
721
  "KeySchemaElement":{
844
722
  "type":"structure",
@@ -889,8 +767,8 @@
889
767
  },
890
768
  "ListTablesInputLimit":{
891
769
  "type":"integer",
892
- "min":1,
893
- "max":100
770
+ "max":100,
771
+ "min":1
894
772
  },
895
773
  "ListTablesOutput":{
896
774
  "type":"structure",
@@ -939,14 +817,14 @@
939
817
  },
940
818
  "NonKeyAttributeName":{
941
819
  "type":"string",
942
- "min":1,
943
- "max":255
820
+ "max":255,
821
+ "min":1
944
822
  },
945
823
  "NonKeyAttributeNameList":{
946
824
  "type":"list",
947
825
  "member":{"shape":"NonKeyAttributeName"},
948
- "min":1,
949
- "max":20
826
+ "max":20,
827
+ "min":1
950
828
  },
951
829
  "NullAttributeValue":{"type":"boolean"},
952
830
  "NumberAttributeValue":{"type":"string"},
@@ -1159,13 +1037,13 @@
1159
1037
  },
1160
1038
  "ScanSegment":{
1161
1039
  "type":"integer",
1162
- "min":0,
1163
- "max":999999
1040
+ "max":999999,
1041
+ "min":0
1164
1042
  },
1165
1043
  "ScanTotalSegments":{
1166
1044
  "type":"integer",
1167
- "min":1,
1168
- "max":1000000
1045
+ "max":1000000,
1046
+ "min":1
1169
1047
  },
1170
1048
  "SecondaryIndexesCapacityMap":{
1171
1049
  "type":"map",
@@ -1183,8 +1061,8 @@
1183
1061
  },
1184
1062
  "StreamArn":{
1185
1063
  "type":"string",
1186
- "min":37,
1187
- "max":1024
1064
+ "max":1024,
1065
+ "min":37
1188
1066
  },
1189
1067
  "StreamEnabled":{"type":"boolean"},
1190
1068
  "StreamSpecification":{
@@ -1230,8 +1108,8 @@
1230
1108
  },
1231
1109
  "TableName":{
1232
1110
  "type":"string",
1233
- "min":3,
1234
1111
  "max":255,
1112
+ "min":3,
1235
1113
  "pattern":"[a-zA-Z0-9_.-]+"
1236
1114
  },
1237
1115
  "TableNameList":{
@@ -1315,8 +1193,8 @@
1315
1193
  "WriteRequests":{
1316
1194
  "type":"list",
1317
1195
  "member":{"shape":"WriteRequest"},
1318
- "min":1,
1319
- "max":25
1196
+ "max":25,
1197
+ "min":1
1320
1198
  }
1321
1199
  }
1322
1200
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -19,6 +19,7 @@
19
19
  "Scan": {
20
20
  "input_token": "ExclusiveStartKey",
21
21
  "output_token": "LastEvaluatedKey",
22
+ "limit_key": "Limit",
22
23
  "result_key": "Items"
23
24
  }
24
25
  }
@@ -111,9 +111,9 @@ module Aws
111
111
 
112
112
  def client_constructor_docstring
113
113
  <<-DOCS.strip
114
- Constructs an API client.
115
- #{client_constructor_options}
116
- @return [#{@client_class.name}] Returns an API client.
114
+ Constructs an API client.
115
+ #{client_constructor_options}
116
+ @return [#{@client_class.name}] Returns an API client.
117
117
  DOCS
118
118
  end
119
119
 
@@ -158,17 +158,17 @@ module Aws
158
158
  w << "<tr><td><tt>:#{name}</tt></td><td>{##{operation}}</td><td>#{waiter.delay}</td><td>#{waiter.max_attempts}</td></tr>"
159
159
  end
160
160
  docstring = <<-DOCSTRING
161
- Returns the list of supported waiters. The following table lists the supported
162
- waiters and the client method they call:
163
- <table>
164
- <thead>
165
- <tr><th>Waiter Name</th><th>Client Method</th><th>Default Delay:</th><th>Default Max Attempts:</th></tr>
166
- </thead>
167
- <tbody>
168
- #{waiters}
169
- </tbody>
170
- </table>
171
- @return [Array<Symbol>] the list of supported waiters.
161
+ Returns the list of supported waiters. The following table lists the supported
162
+ waiters and the client method they call:
163
+ <table>
164
+ <thead>
165
+ <tr><th>Waiter Name</th><th>Client Method</th><th>Default Delay:</th><th>Default Max Attempts:</th></tr>
166
+ </thead>
167
+ <tbody>
168
+ #{waiters}
169
+ </tbody>
170
+ </table>
171
+ @return [Array<Symbol>] the list of supported waiters.
172
172
  DOCSTRING
173
173
  m = YARD::CodeObjects::MethodObject.new(yard_class, :waiter_names)
174
174
  m.scope = :instance
@@ -24,7 +24,16 @@ module Aws
24
24
  # @return [String,nil]
25
25
  def shape_ref_docs(shape_name, target)
26
26
  if ref_docs = shape(shape_name)['refs'][target]
27
- clean(ref_docs)
27
+ docs = clean(ref_docs)
28
+ # Running through kramdown to catch unclosed tags that
29
+ # break the client doc pages, see Aws::RDS::Client
30
+ # for an example.
31
+ begin
32
+ require 'kramdown'
33
+ Kramdown::Document.new(docs, input: 'html').to_kramdown.strip
34
+ rescue LoadError
35
+ docs
36
+ end
28
37
  else
29
38
  shape_docs(shape_name)
30
39
  end
@@ -44,7 +44,9 @@ module Aws
44
44
  operation_input_ref(operation).shape.members.map do |name, ref|
45
45
  req = ref.required ? 'required,' : ''
46
46
  type = input_type(ref)
47
- tag("@option #{@optname} [#{req}#{type}] :#{name} #{ref.documentation}")
47
+ docstring = "@option #{@optname} [#{req}#{type}] :#{name}\n"
48
+ docstring += ref.documentation.lines.map { |line| " #{line}" }.join
49
+ tag(docstring)
48
50
  end
49
51
  end
50
52
 
@@ -55,7 +57,8 @@ module Aws
55
57
  returns = "[#{rtype}] Returns a #{resp} object which responds to "
56
58
  returns << "the following methods:\n\n"
57
59
  operation.output.shape.members.each do |mname, mref|
58
- returns << " * {#{rtype}##{mname} ##{mname}} => #{output_type(mref, true)}\n"
60
+ mtype = output_type(mref, true).gsub(/</, '&lt;').gsub(/>/, '&gt;')
61
+ returns << " * {#{rtype}##{mname} ##{mname}} => #{mtype}\n"
59
62
  end
60
63
  else
61
64
  returns = "[Struct] Returns an empty #{resp}."
@@ -1,4 +1,5 @@
1
1
  Aws.add_service(:CloudSearchDomain, {
2
2
  api: "#{Aws::API_DIR}/cloudsearchdomain/2013-01-01/api-2.json",
3
3
  docs: "#{Aws::API_DIR}/cloudsearchdomain/2013-01-01/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/cloudsearchdomain/2013-01-01/examples-1.json",
4
5
  })
@@ -1,6 +1,7 @@
1
1
  Aws.add_service(:DynamoDB, {
2
2
  api: "#{Aws::API_DIR}/dynamodb/2012-08-10/api-2.json",
3
3
  docs: "#{Aws::API_DIR}/dynamodb/2012-08-10/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/dynamodb/2012-08-10/examples-1.json",
4
5
  paginators: "#{Aws::API_DIR}/dynamodb/2012-08-10/paginators-1.json",
5
6
  resources: "#{Aws::API_DIR}/dynamodb/2012-08-10/resources-1.json",
6
7
  waiters: "#{Aws::API_DIR}/dynamodb/2012-08-10/waiters-2.json",
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.2.20'
2
+ VERSION = '2.2.22'
3
3
  end
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.2.20
4
+ version: 2.2.22
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-02-25 00:00:00.000000000 Z
11
+ date: 2016-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -57,6 +57,7 @@ files:
57
57
  - apis/cloudsearch/2013-01-01/api-2.json
58
58
  - apis/cloudsearch/2013-01-01/paginators-1.json
59
59
  - apis/cloudsearchdomain/2013-01-01/api-2.json
60
+ - apis/cloudsearchdomain/2013-01-01/examples-1.json
60
61
  - apis/cloudtrail/2013-11-01/api-2.json
61
62
  - apis/cloudtrail/2013-11-01/examples-1.json
62
63
  - apis/cloudtrail/2013-11-01/paginators-1.json
@@ -82,6 +83,7 @@ files:
82
83
  - apis/ds/2015-04-16/api-2.json
83
84
  - apis/ds/2015-04-16/examples-1.json
84
85
  - apis/dynamodb/2012-08-10/api-2.json
86
+ - apis/dynamodb/2012-08-10/examples-1.json
85
87
  - apis/dynamodb/2012-08-10/paginators-1.json
86
88
  - apis/dynamodb/2012-08-10/resources-1.json
87
89
  - apis/dynamodb/2012-08-10/waiters-2.json
@@ -471,7 +473,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
471
473
  version: '0'
472
474
  requirements: []
473
475
  rubyforge_project:
474
- rubygems_version: 2.4.5
476
+ rubygems_version: 2.4.8
475
477
  signing_key:
476
478
  specification_version: 4
477
479
  summary: AWS SDK for Ruby - Core