aws-sdk-core 2.11.386 → 3.68.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1171) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -553
  4. data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +101 -0
  5. data/lib/aws-sdk-core/async_client_stubs.rb +80 -0
  6. data/lib/aws-sdk-core/binary.rb +6 -0
  7. data/lib/aws-sdk-core/binary/decode_handler.rb +56 -0
  8. data/lib/aws-sdk-core/binary/encode_handler.rb +32 -0
  9. data/lib/aws-sdk-core/binary/event_builder.rb +122 -0
  10. data/lib/aws-sdk-core/binary/event_parser.rb +134 -0
  11. data/lib/aws-sdk-core/binary/event_stream_decoder.rb +62 -0
  12. data/lib/aws-sdk-core/binary/event_stream_encoder.rb +53 -0
  13. data/lib/aws-sdk-core/client_side_monitoring/publisher.rb +49 -0
  14. data/lib/aws-sdk-core/client_side_monitoring/request_metrics.rb +197 -0
  15. data/lib/aws-sdk-core/client_stubs.rb +11 -8
  16. data/lib/aws-sdk-core/credential_provider.rb +11 -12
  17. data/lib/aws-sdk-core/credential_provider_chain.rb +41 -14
  18. data/lib/aws-sdk-core/deprecations.rb +16 -10
  19. data/lib/aws-sdk-core/errors.rb +123 -22
  20. data/lib/aws-sdk-core/event_emitter.rb +62 -0
  21. data/lib/aws-sdk-core/ini_parser.rb +1 -0
  22. data/lib/aws-sdk-core/instance_profile_credentials.rb +4 -3
  23. data/lib/aws-sdk-core/json.rb +9 -10
  24. data/lib/aws-sdk-core/json/builder.rb +4 -2
  25. data/lib/aws-sdk-core/json/error_handler.rb +19 -2
  26. data/lib/aws-sdk-core/json/handler.rb +22 -3
  27. data/lib/aws-sdk-core/json/parser.rb +1 -1
  28. data/lib/aws-sdk-core/log/param_filter.rb +4 -3
  29. data/lib/aws-sdk-core/pageable_response.rb +1 -0
  30. data/lib/aws-sdk-core/pager.rb +30 -25
  31. data/lib/aws-sdk-core/param_converter.rb +3 -3
  32. data/lib/aws-sdk-core/param_validator.rb +60 -26
  33. data/lib/aws-sdk-core/plugins/api_key.rb +52 -0
  34. data/lib/aws-sdk-core/plugins/apig_authorizer_token.rb +30 -0
  35. data/lib/aws-sdk-core/plugins/apig_credentials_configuration.rb +34 -0
  36. data/lib/aws-sdk-core/plugins/apig_user_agent.rb +37 -0
  37. data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +280 -0
  38. data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +84 -0
  39. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -0
  40. data/lib/aws-sdk-core/plugins/endpoint_discovery.rb +43 -50
  41. data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +9 -8
  42. data/lib/aws-sdk-core/plugins/event_stream_configuration.rb +30 -0
  43. data/lib/aws-sdk-core/plugins/global_configuration.rb +19 -10
  44. data/lib/aws-sdk-core/plugins/idempotency_token.rb +1 -2
  45. data/lib/aws-sdk-core/plugins/invocation_id.rb +33 -0
  46. data/lib/aws-sdk-core/plugins/logging.rb +18 -18
  47. data/lib/aws-sdk-core/plugins/param_converter.rb +9 -5
  48. data/lib/aws-sdk-core/plugins/param_validator.rb +8 -5
  49. data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +10 -0
  50. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -1
  51. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +13 -12
  52. data/lib/aws-sdk-core/plugins/protocols/query.rb +2 -2
  53. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +23 -17
  54. data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
  55. data/lib/aws-sdk-core/plugins/retry_errors.rb +81 -25
  56. data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
  57. data/lib/aws-sdk-core/plugins/signature_v4.rb +141 -0
  58. data/lib/aws-sdk-core/plugins/stub_responses.rb +35 -18
  59. data/lib/aws-sdk-core/plugins/transfer_encoding.rb +53 -0
  60. data/lib/aws-sdk-core/plugins/user_agent.rb +23 -6
  61. data/lib/aws-sdk-core/process_credentials.rb +80 -0
  62. data/lib/aws-sdk-core/query.rb +5 -0
  63. data/lib/aws-sdk-core/query/ec2_param_builder.rb +9 -3
  64. data/lib/aws-sdk-core/query/handler.rb +20 -16
  65. data/lib/aws-sdk-core/query/param_builder.rb +10 -4
  66. data/lib/aws-sdk-core/refreshing_credentials.rb +1 -1
  67. data/lib/aws-sdk-core/resources/collection.rb +121 -0
  68. data/lib/aws-sdk-core/rest.rb +10 -0
  69. data/lib/aws-sdk-core/rest/handler.rb +1 -0
  70. data/lib/aws-sdk-core/rest/request/builder.rb +2 -1
  71. data/lib/aws-sdk-core/rest/request/endpoint.rb +3 -3
  72. data/lib/aws-sdk-core/rest/request/headers.rb +11 -1
  73. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +13 -0
  74. data/lib/aws-sdk-core/rest/response/body.rb +14 -1
  75. data/lib/aws-sdk-core/rest/response/headers.rb +2 -0
  76. data/lib/aws-sdk-core/rest/response/parser.rb +18 -14
  77. data/lib/aws-sdk-core/shared_config.rb +164 -22
  78. data/lib/aws-sdk-core/shared_credentials.rb +2 -0
  79. data/lib/aws-sdk-core/structure.rb +22 -13
  80. data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
  81. data/lib/aws-sdk-core/stubbing/empty_stub.rb +10 -3
  82. data/lib/aws-sdk-core/stubbing/protocols/api_gateway.rb +8 -0
  83. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
  84. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +92 -0
  85. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +5 -1
  86. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +9 -5
  87. data/lib/aws-sdk-core/stubbing/stub_data.rb +16 -3
  88. data/lib/aws-sdk-core/util.rb +66 -0
  89. data/lib/aws-sdk-core/waiters.rb +3 -0
  90. data/lib/aws-sdk-core/waiters/poller.rb +5 -9
  91. data/lib/aws-sdk-core/waiters/waiter.rb +1 -0
  92. data/lib/aws-sdk-core/xml.rb +9 -0
  93. data/lib/aws-sdk-core/xml/builder.rb +11 -5
  94. data/lib/aws-sdk-core/xml/error_handler.rb +27 -5
  95. data/lib/aws-sdk-core/xml/parser.rb +1 -11
  96. data/lib/aws-sdk-core/xml/parser/frame.rb +6 -6
  97. data/lib/aws-sdk-sts.rb +45 -0
  98. data/lib/aws-sdk-sts/client.rb +1833 -0
  99. data/lib/aws-sdk-sts/client_api.rb +320 -0
  100. data/lib/aws-sdk-sts/customizations.rb +0 -0
  101. data/lib/aws-sdk-sts/errors.rb +142 -0
  102. data/lib/aws-sdk-sts/resource.rb +23 -0
  103. data/lib/aws-sdk-sts/types.rb +1312 -0
  104. data/lib/seahorse.rb +60 -60
  105. data/lib/seahorse/client/async_base.rb +50 -0
  106. data/lib/seahorse/client/async_response.rb +62 -0
  107. data/lib/seahorse/client/base.rb +2 -8
  108. data/lib/seahorse/client/configuration.rb +4 -2
  109. data/lib/seahorse/client/h2/connection.rb +244 -0
  110. data/lib/seahorse/client/h2/handler.rb +151 -0
  111. data/lib/seahorse/client/handler_list_entry.rb +2 -2
  112. data/lib/seahorse/client/http/async_response.rb +42 -0
  113. data/lib/seahorse/client/http/response.rb +10 -5
  114. data/lib/seahorse/client/logging/formatter.rb +2 -0
  115. data/lib/seahorse/client/logging/handler.rb +2 -0
  116. data/lib/seahorse/client/net_http/connection_pool.rb +16 -4
  117. data/lib/seahorse/client/net_http/handler.rb +5 -0
  118. data/lib/seahorse/client/net_http/patches.rb +9 -1
  119. data/lib/seahorse/client/networking_error.rb +28 -0
  120. data/lib/seahorse/client/plugin.rb +66 -6
  121. data/lib/seahorse/client/plugins/content_length.rb +7 -2
  122. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  123. data/lib/seahorse/client/plugins/h2.rb +64 -0
  124. data/lib/seahorse/client/plugins/logging.rb +17 -19
  125. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  126. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  127. data/lib/seahorse/client/plugins/response_target.rb +10 -1
  128. data/lib/seahorse/client/request_context.rb +5 -0
  129. data/lib/seahorse/model/api.rb +33 -0
  130. data/lib/seahorse/model/authorizer.rb +21 -0
  131. data/lib/seahorse/model/operation.rb +11 -0
  132. data/lib/seahorse/model/shapes.rb +44 -2
  133. data/lib/seahorse/util.rb +1 -22
  134. metadata +91 -1046
  135. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
  136. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  137. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
  138. data/apis/acm-pca/2017-08-22/api-2.json +0 -1091
  139. data/apis/acm-pca/2017-08-22/examples-1.json +0 -5
  140. data/apis/acm-pca/2017-08-22/paginators-1.json +0 -22
  141. data/apis/acm-pca/2017-08-22/waiters-2.json +0 -61
  142. data/apis/acm/2015-12-08/api-2.json +0 -843
  143. data/apis/acm/2015-12-08/examples-1.json +0 -5
  144. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  145. data/apis/acm/2015-12-08/smoke.json +0 -18
  146. data/apis/acm/2015-12-08/waiters-2.json +0 -35
  147. data/apis/alexaforbusiness/2017-11-09/api-2.json +0 -4003
  148. data/apis/alexaforbusiness/2017-11-09/examples-1.json +0 -5
  149. data/apis/alexaforbusiness/2017-11-09/paginators-1.json +0 -94
  150. data/apis/amplify/2017-07-25/api-2.json +0 -2160
  151. data/apis/amplify/2017-07-25/examples-1.json +0 -5
  152. data/apis/amplify/2017-07-25/paginators-1.json +0 -4
  153. data/apis/apigateway/2015-07-09/api-2.json +0 -5384
  154. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  155. data/apis/apigateway/2015-07-09/paginators-1.json +0 -76
  156. data/apis/apigateway/2015-07-09/smoke.json +0 -20
  157. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +0 -192
  158. data/apis/apigatewaymanagementapi/2018-11-29/paginators-1.json +0 -3
  159. data/apis/apigatewayv2/2018-11-29/api-2.json +0 -5773
  160. data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
  161. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -779
  162. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -384
  163. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -28
  164. data/apis/application-autoscaling/2016-02-06/smoke.json +0 -13
  165. data/apis/application-insights/2018-11-25/api-2.json +0 -721
  166. data/apis/application-insights/2018-11-25/examples-1.json +0 -5
  167. data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
  168. data/apis/appmesh/2018-10-01/api-2.json +0 -1972
  169. data/apis/appmesh/2018-10-01/examples-1.json +0 -4
  170. data/apis/appmesh/2018-10-01/paginators-1.json +0 -28
  171. data/apis/appmesh/2019-01-25/api-2.json +0 -3424
  172. data/apis/appmesh/2019-01-25/examples-1.json +0 -4
  173. data/apis/appmesh/2019-01-25/paginators-1.json +0 -40
  174. data/apis/appstream/2016-12-01/api-2.json +0 -2356
  175. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  176. data/apis/appstream/2016-12-01/paginators-1.json +0 -14
  177. data/apis/appstream/2016-12-01/smoke.json +0 -11
  178. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  179. data/apis/appsync/2017-07-25/api-2.json +0 -2003
  180. data/apis/appsync/2017-07-25/examples-1.json +0 -5
  181. data/apis/appsync/2017-07-25/paginators-1.json +0 -4
  182. data/apis/athena/2017-05-18/api-2.json +0 -985
  183. data/apis/athena/2017-05-18/examples-1.json +0 -5
  184. data/apis/athena/2017-05-18/paginators-1.json +0 -24
  185. data/apis/athena/2017-05-18/smoke.json +0 -11
  186. data/apis/autoscaling-plans/2018-01-06/api-2.json +0 -659
  187. data/apis/autoscaling-plans/2018-01-06/examples-1.json +0 -5
  188. data/apis/autoscaling-plans/2018-01-06/paginators-1.json +0 -4
  189. data/apis/autoscaling/2011-01-01/api-2.json +0 -2455
  190. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  191. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  192. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  193. data/apis/autoscaling/2011-01-01/smoke.json +0 -20
  194. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  195. data/apis/backup/2018-11-15/api-2.json +0 -2150
  196. data/apis/backup/2018-11-15/examples-1.json +0 -5
  197. data/apis/backup/2018-11-15/paginators-1.json +0 -59
  198. data/apis/batch/2016-08-10/api-2.json +0 -1137
  199. data/apis/batch/2016-08-10/examples-1.json +0 -589
  200. data/apis/batch/2016-08-10/paginators-1.json +0 -28
  201. data/apis/batch/2016-08-10/smoke.json +0 -11
  202. data/apis/budgets/2016-10-20/api-2.json +0 -807
  203. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  204. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  205. data/apis/ce/2017-10-25/api-2.json +0 -1035
  206. data/apis/ce/2017-10-25/examples-1.json +0 -5
  207. data/apis/ce/2017-10-25/paginators-1.json +0 -4
  208. data/apis/chime/2018-05-01/api-2.json +0 -3499
  209. data/apis/chime/2018-05-01/examples-1.json +0 -5
  210. data/apis/chime/2018-05-01/paginators-1.json +0 -39
  211. data/apis/cloud9/2017-09-23/api-2.json +0 -549
  212. data/apis/cloud9/2017-09-23/examples-1.json +0 -315
  213. data/apis/cloud9/2017-09-23/paginators-1.json +0 -14
  214. data/apis/clouddirectory/2016-05-10/api-2.json +0 -4244
  215. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  216. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  217. data/apis/clouddirectory/2017-01-11/api-2.json +0 -4321
  218. data/apis/clouddirectory/2017-01-11/examples-1.json +0 -5
  219. data/apis/clouddirectory/2017-01-11/paginators-1.json +0 -99
  220. data/apis/cloudformation/2010-05-15/api-2.json +0 -2686
  221. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  222. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
  223. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  224. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  225. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  226. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  227. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  228. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  229. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  230. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  231. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  232. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  233. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  234. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  235. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  236. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  237. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  238. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  239. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  240. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  241. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  242. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  243. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  244. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  245. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  246. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  247. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  248. data/apis/cloudfront/2017-03-25/api-2.json +0 -2726
  249. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  250. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  251. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  252. data/apis/cloudfront/2017-10-30/api-2.json +0 -3906
  253. data/apis/cloudfront/2017-10-30/examples-1.json +0 -5
  254. data/apis/cloudfront/2017-10-30/paginators-1.json +0 -32
  255. data/apis/cloudfront/2017-10-30/smoke.json +0 -20
  256. data/apis/cloudfront/2017-10-30/waiters-2.json +0 -47
  257. data/apis/cloudfront/2018-06-18/api-2.json +0 -3907
  258. data/apis/cloudfront/2018-06-18/examples-1.json +0 -5
  259. data/apis/cloudfront/2018-06-18/paginators-1.json +0 -32
  260. data/apis/cloudfront/2018-06-18/smoke.json +0 -20
  261. data/apis/cloudfront/2018-06-18/waiters-2.json +0 -47
  262. data/apis/cloudfront/2018-11-05/api-2.json +0 -4004
  263. data/apis/cloudfront/2018-11-05/examples-1.json +0 -5
  264. data/apis/cloudfront/2018-11-05/paginators-1.json +0 -32
  265. data/apis/cloudfront/2018-11-05/smoke.json +0 -20
  266. data/apis/cloudfront/2018-11-05/waiters-2.json +0 -47
  267. data/apis/cloudfront/2019-03-26/api-2.json +0 -4032
  268. data/apis/cloudfront/2019-03-26/examples-1.json +0 -5
  269. data/apis/cloudfront/2019-03-26/paginators-1.json +0 -32
  270. data/apis/cloudfront/2019-03-26/smoke.json +0 -20
  271. data/apis/cloudfront/2019-03-26/waiters-2.json +0 -47
  272. data/apis/cloudhsm/2014-05-30/api-2.json +0 -879
  273. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  274. data/apis/cloudhsm/2014-05-30/paginators-1.json +0 -4
  275. data/apis/cloudhsmv2/2017-04-28/api-2.json +0 -718
  276. data/apis/cloudhsmv2/2017-04-28/examples-1.json +0 -5
  277. data/apis/cloudhsmv2/2017-04-28/paginators-1.json +0 -19
  278. data/apis/cloudhsmv2/2017-04-28/smoke.json +0 -18
  279. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  280. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  281. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  282. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  283. data/apis/cloudtrail/2013-11-01/api-2.json +0 -978
  284. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  285. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
  286. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  287. data/apis/codebuild/2016-10-06/api-2.json +0 -1276
  288. data/apis/codebuild/2016-10-06/examples-1.json +0 -281
  289. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  290. data/apis/codebuild/2016-10-06/smoke.json +0 -11
  291. data/apis/codecommit/2015-04-13/api-2.json +0 -4248
  292. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  293. data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
  294. data/apis/codecommit/2015-04-13/smoke.json +0 -18
  295. data/apis/codedeploy/2014-10-06/api-2.json +0 -3224
  296. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  297. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  298. data/apis/codedeploy/2014-10-06/smoke.json +0 -18
  299. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  300. data/apis/codepipeline/2015-07-09/api-2.json +0 -2406
  301. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  302. data/apis/codepipeline/2015-07-09/paginators-1.json +0 -38
  303. data/apis/codepipeline/2015-07-09/smoke.json +0 -18
  304. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  305. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  306. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  307. data/apis/codestar/2017-04-19/smoke.json +0 -11
  308. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1053
  309. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  310. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  311. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5371
  312. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  313. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -58
  314. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  315. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  316. data/apis/comprehend/2017-11-27/api-2.json +0 -2361
  317. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  318. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  319. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -681
  320. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  321. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  322. data/apis/config/2014-11-12/api-2.json +0 -3496
  323. data/apis/config/2014-11-12/examples-1.json +0 -5
  324. data/apis/config/2014-11-12/paginators-1.json +0 -21
  325. data/apis/config/2014-11-12/smoke.json +0 -19
  326. data/apis/connect/2017-08-08/api-2.json +0 -1926
  327. data/apis/connect/2017-08-08/examples-1.json +0 -5
  328. data/apis/connect/2017-08-08/paginators-1.json +0 -62
  329. data/apis/cur/2017-01-06/api-2.json +0 -277
  330. data/apis/cur/2017-01-06/examples-1.json +0 -102
  331. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  332. data/apis/cur/2017-01-06/smoke.json +0 -11
  333. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  334. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  335. data/apis/datasync/2018-11-09/api-2.json +0 -1337
  336. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  337. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  338. data/apis/dax/2017-04-19/api-2.json +0 -1140
  339. data/apis/dax/2017-04-19/examples-1.json +0 -5
  340. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  341. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  342. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  343. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  344. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  345. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  346. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  347. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  348. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  349. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  350. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  351. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  352. data/apis/discovery/2015-11-01/smoke.json +0 -11
  353. data/apis/dlm/2018-01-12/api-2.json +0 -444
  354. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  355. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  356. data/apis/dms/2016-01-01/api-2.json +0 -2291
  357. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  358. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  359. data/apis/dms/2016-01-01/smoke.json +0 -18
  360. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  361. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  362. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  363. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  364. data/apis/docdb/2014-10-31/smoke.json +0 -18
  365. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  366. data/apis/ds/2015-04-16/api-2.json +0 -2634
  367. data/apis/ds/2015-04-16/examples-1.json +0 -5
  368. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  369. data/apis/ds/2015-04-16/smoke.json +0 -20
  370. data/apis/dynamodb/2011-12-05/api-2.json +0 -803
  371. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  372. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  373. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  374. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  375. data/apis/dynamodb/2012-08-10/api-2.json +0 -2802
  376. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  377. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  378. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  379. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  380. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  381. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  382. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  383. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  384. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  385. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  386. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  387. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  388. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  389. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  390. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  391. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  392. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  393. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  394. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  395. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  396. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  397. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  398. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  399. data/apis/ec2/2016-11-15/api-2.json +0 -25555
  400. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  401. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  402. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  403. data/apis/ec2/2016-11-15/smoke.json +0 -20
  404. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  405. data/apis/ecr/2015-09-21/api-2.json +0 -1615
  406. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  407. data/apis/ecr/2015-09-21/paginators-1.json +0 -48
  408. data/apis/ecr/2015-09-21/smoke.json +0 -18
  409. data/apis/ecs/2014-11-13/api-2.json +0 -2902
  410. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  411. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  412. data/apis/ecs/2014-11-13/smoke.json +0 -18
  413. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  414. data/apis/eks/2017-11-01/api-2.json +0 -750
  415. data/apis/eks/2017-11-01/examples-1.json +0 -114
  416. data/apis/eks/2017-11-01/paginators-1.json +0 -16
  417. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  418. data/apis/elasticache/2015-02-02/api-2.json +0 -3301
  419. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  420. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  421. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  422. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  423. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  424. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  425. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  426. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  427. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -896
  428. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  429. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  430. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  431. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  432. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  433. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  434. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  435. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  436. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  437. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  438. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  439. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  440. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  441. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  442. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  443. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  444. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  445. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  446. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  447. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  448. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  449. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  450. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  451. data/apis/email/2010-12-01/api-2.json +0 -3182
  452. data/apis/email/2010-12-01/examples-1.json +0 -1021
  453. data/apis/email/2010-12-01/paginators-1.json +0 -18
  454. data/apis/email/2010-12-01/smoke.json +0 -18
  455. data/apis/email/2010-12-01/waiters-2.json +0 -18
  456. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  457. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  458. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  459. data/apis/es/2015-01-01/api-2.json +0 -1572
  460. data/apis/es/2015-01-01/examples-1.json +0 -5
  461. data/apis/es/2015-01-01/paginators-1.json +0 -29
  462. data/apis/es/2015-01-01/smoke.json +0 -18
  463. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  464. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  465. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  466. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  467. data/apis/events/2015-10-07/api-2.json +0 -1462
  468. data/apis/events/2015-10-07/examples-1.json +0 -5
  469. data/apis/events/2015-10-07/paginators-1.json +0 -4
  470. data/apis/events/2015-10-07/smoke.json +0 -18
  471. data/apis/firehose/2015-08-04/api-2.json +0 -1383
  472. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  473. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  474. data/apis/firehose/2015-08-04/smoke.json +0 -18
  475. data/apis/fms/2018-01-01/api-2.json +0 -701
  476. data/apis/fms/2018-01-01/examples-1.json +0 -5
  477. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  478. data/apis/forecast/2018-06-26/api-2.json +0 -1373
  479. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  480. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  481. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  482. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  483. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  484. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  485. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  486. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  487. data/apis/gamelift/2015-10-01/api-2.json +0 -3495
  488. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  489. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  490. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  491. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  492. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  493. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  494. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  495. data/apis/glacier/2012-06-01/smoke.json +0 -18
  496. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  497. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  498. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  499. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  500. data/apis/glue/2017-03-31/api-2.json +0 -6297
  501. data/apis/glue/2017-03-31/examples-1.json +0 -5
  502. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  503. data/apis/glue/2017-03-31/smoke.json +0 -11
  504. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  505. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  506. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  507. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  508. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  509. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  510. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  511. data/apis/health/2016-08-04/api-2.json +0 -554
  512. data/apis/health/2016-08-04/examples-1.json +0 -5
  513. data/apis/health/2016-08-04/paginators-1.json +0 -31
  514. data/apis/health/2016-08-04/smoke.json +0 -11
  515. data/apis/iam/2010-05-08/api-2.json +0 -5778
  516. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  517. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  518. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  519. data/apis/iam/2010-05-08/smoke.json +0 -18
  520. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  521. data/apis/importexport/2010-06-01/api-2.json +0 -667
  522. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  523. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  524. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  525. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  526. data/apis/inspector/2016-02-16/smoke.json +0 -18
  527. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  528. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  529. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  530. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  531. data/apis/iot/2015-05-28/api-2.json +0 -9676
  532. data/apis/iot/2015-05-28/examples-1.json +0 -5
  533. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  534. data/apis/iot/2015-05-28/smoke.json +0 -18
  535. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  536. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  537. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  538. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  539. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2223
  540. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  541. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  542. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  543. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  544. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  545. data/apis/iotevents/2018-07-27/api-2.json +0 -1144
  546. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  547. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  548. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  549. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  550. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  551. data/apis/kafka/2018-11-14/api-2.json +0 -1950
  552. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  553. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -418
  554. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  555. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  556. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  557. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  558. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  559. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  560. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  561. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  562. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  563. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  564. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  565. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  566. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  567. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  568. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  569. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  570. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  571. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  572. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  573. data/apis/kms/2014-11-01/api-2.json +0 -1834
  574. data/apis/kms/2014-11-01/examples-1.json +0 -906
  575. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  576. data/apis/kms/2014-11-01/smoke.json +0 -19
  577. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  578. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  579. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  580. data/apis/lambda/2014-11-11/api-2.json +0 -668
  581. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  582. data/apis/lambda/2015-03-31/api-2.json +0 -2353
  583. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  584. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  585. data/apis/lambda/2015-03-31/smoke.json +0 -18
  586. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  587. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  588. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  589. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  590. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  591. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  592. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  593. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  594. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  595. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  596. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  597. data/apis/logs/2014-03-28/api-2.json +0 -1701
  598. data/apis/logs/2014-03-28/examples-1.json +0 -5
  599. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  600. data/apis/logs/2014-03-28/smoke.json +0 -19
  601. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  602. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  603. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  604. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  605. data/apis/macie/2017-12-19/api-2.json +0 -365
  606. data/apis/macie/2017-12-19/examples-1.json +0 -5
  607. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  608. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  609. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  610. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  611. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -176
  612. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  613. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  614. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  615. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  616. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  617. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8350
  618. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  619. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  620. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  621. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  622. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
  623. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  624. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  625. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  626. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  627. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  628. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  629. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  630. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  631. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  632. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  633. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  634. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
  635. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  636. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  637. data/apis/mobile/2017-07-01/api-2.json +0 -551
  638. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  639. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  640. data/apis/monitoring/2010-08-01/api-2.json +0 -1526
  641. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  642. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  643. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  644. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  645. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  646. data/apis/mq/2017-11-27/api-2.json +0 -2538
  647. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  648. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  649. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  650. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  651. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  652. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  653. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  654. data/apis/neptune/2014-10-31/smoke.json +0 -18
  655. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  656. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  657. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  658. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  659. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  660. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  661. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  662. data/apis/opsworkscm/2016-11-01/api-2.json +0 -817
  663. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  664. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  665. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  666. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  667. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  668. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  669. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  670. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  671. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  672. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  673. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  674. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  675. data/apis/personalize/2018-05-22/api-2.json +0 -1712
  676. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  677. data/apis/personalize/2018-05-22/paginators-1.json +0 -58
  678. data/apis/pi/2018-02-27/api-2.json +0 -253
  679. data/apis/pi/2018-02-27/examples-1.json +0 -5
  680. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  681. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  682. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  683. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  684. data/apis/pinpoint/2016-12-01/api-2.json +0 -9678
  685. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  686. data/apis/polly/2016-06-10/api-2.json +0 -832
  687. data/apis/polly/2016-06-10/examples-1.json +0 -171
  688. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  689. data/apis/polly/2016-06-10/smoke.json +0 -11
  690. data/apis/pricing/2017-10-15/api-2.json +0 -227
  691. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  692. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  693. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  694. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  695. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  696. data/apis/qldb/2019-01-02/api-2.json +0 -776
  697. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  698. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  699. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  700. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  701. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  702. data/apis/ram/2018-01-04/api-2.json +0 -1021
  703. data/apis/ram/2018-01-04/examples-1.json +0 -5
  704. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  705. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  706. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  707. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  708. data/apis/rds/2013-01-10/api-2.json +0 -2903
  709. data/apis/rds/2013-01-10/examples-1.json +0 -5
  710. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  711. data/apis/rds/2013-01-10/smoke.json +0 -18
  712. data/apis/rds/2013-02-12/api-2.json +0 -3059
  713. data/apis/rds/2013-02-12/examples-1.json +0 -5
  714. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  715. data/apis/rds/2013-02-12/smoke.json +0 -18
  716. data/apis/rds/2013-09-09/api-2.json +0 -3160
  717. data/apis/rds/2013-09-09/examples-1.json +0 -5
  718. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  719. data/apis/rds/2013-09-09/smoke.json +0 -18
  720. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  721. data/apis/rds/2014-09-01/api-2.json +0 -3273
  722. data/apis/rds/2014-09-01/examples-1.json +0 -5
  723. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  724. data/apis/rds/2014-09-01/smoke.json +0 -18
  725. data/apis/rds/2014-10-31/api-2.json +0 -6880
  726. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  727. data/apis/rds/2014-10-31/paginators-1.json +0 -140
  728. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  729. data/apis/rds/2014-10-31/smoke.json +0 -18
  730. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  731. data/apis/rds/2015-11-12/api-2.json +0 -5509
  732. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  733. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  734. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  735. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  736. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  737. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  738. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  739. data/apis/redshift/2012-12-01/smoke.json +0 -18
  740. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  741. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  742. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  743. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  744. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  745. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  746. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  747. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  748. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  749. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  750. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  751. data/apis/robomaker/2018-06-29/api-2.json +0 -2145
  752. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  753. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  754. data/apis/route53/2013-04-01/api-2.json +0 -3780
  755. data/apis/route53/2013-04-01/examples-1.json +0 -762
  756. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  757. data/apis/route53/2013-04-01/smoke.json +0 -18
  758. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  759. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  760. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  761. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  762. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  763. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  764. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  765. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  766. data/apis/runtime.lex/2016-11-28/api-2.json +0 -693
  767. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  768. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  769. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  770. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  771. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  772. data/apis/s3/2006-03-01/api-2.json +0 -6586
  773. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  774. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  775. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  776. data/apis/s3/2006-03-01/smoke.json +0 -11
  777. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  778. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  779. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  780. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  781. data/apis/sagemaker/2017-07-24/api-2.json +0 -5281
  782. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  783. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  784. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  785. data/apis/sdb/2009-04-15/api-2.json +0 -955
  786. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  787. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  788. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  789. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  790. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  791. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  792. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  793. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  794. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  795. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  796. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  797. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  798. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  799. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  800. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  801. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  802. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  803. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  804. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  805. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  806. data/apis/shield/2016-06-02/api-2.json +0 -893
  807. data/apis/shield/2016-06-02/examples-1.json +0 -5
  808. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  809. data/apis/shield/2016-06-02/smoke.json +0 -11
  810. data/apis/signer/2017-08-25/api-2.json +0 -670
  811. data/apis/signer/2017-08-25/examples-1.json +0 -5
  812. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  813. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  814. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  815. data/apis/sms/2016-10-24/api-2.json +0 -1366
  816. data/apis/sms/2016-10-24/examples-1.json +0 -5
  817. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  818. data/apis/sms/2016-10-24/smoke.json +0 -18
  819. data/apis/snowball/2016-06-30/api-2.json +0 -955
  820. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  821. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  822. data/apis/snowball/2016-06-30/smoke.json +0 -11
  823. data/apis/sns/2010-03-31/api-2.json +0 -1468
  824. data/apis/sns/2010-03-31/examples-1.json +0 -5
  825. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  826. data/apis/sns/2010-03-31/resources-1.json +0 -327
  827. data/apis/sns/2010-03-31/smoke.json +0 -19
  828. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  829. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  830. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  831. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  832. data/apis/sqs/2012-11-05/smoke.json +0 -18
  833. data/apis/ssm/2014-11-06/api-2.json +0 -8916
  834. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  835. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  836. data/apis/ssm/2014-11-06/smoke.json +0 -18
  837. data/apis/states/2016-11-23/api-2.json +0 -1409
  838. data/apis/states/2016-11-23/examples-1.json +0 -5
  839. data/apis/states/2016-11-23/paginators-1.json +0 -28
  840. data/apis/states/2016-11-23/smoke.json +0 -11
  841. data/apis/storagegateway/2013-06-30/api-2.json +0 -3166
  842. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  843. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  844. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  845. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  846. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  847. data/apis/sts/2011-06-15/api-2.json +0 -562
  848. data/apis/sts/2011-06-15/examples-1.json +0 -207
  849. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  850. data/apis/sts/2011-06-15/smoke.json +0 -19
  851. data/apis/support/2013-04-15/api-2.json +0 -772
  852. data/apis/support/2013-04-15/examples-1.json +0 -5
  853. data/apis/support/2013-04-15/paginators-1.json +0 -25
  854. data/apis/swf/2012-01-25/api-2.json +0 -2792
  855. data/apis/swf/2012-01-25/examples-1.json +0 -5
  856. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  857. data/apis/textract/2018-06-27/api-2.json +0 -572
  858. data/apis/textract/2018-06-27/examples-1.json +0 -5
  859. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  860. data/apis/transcribe-streaming/2017-10-26/api-2.json +0 -262
  861. data/apis/transcribe-streaming/2017-10-26/examples-1.json +0 -5
  862. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +0 -4
  863. data/apis/transcribe/2017-10-26/api-2.json +0 -516
  864. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  865. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  866. data/apis/transfer/2018-11-05/api-2.json +0 -940
  867. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  868. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  869. data/apis/translate/2017-07-01/api-2.json +0 -408
  870. data/apis/translate/2017-07-01/examples-1.json +0 -5
  871. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  872. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  873. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  874. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  875. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  876. data/apis/waf/2015-08-24/api-2.json +0 -3857
  877. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  878. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  879. data/apis/waf/2015-08-24/smoke.json +0 -21
  880. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  881. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  882. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  883. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  884. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  885. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  886. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  887. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  888. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  889. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  890. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  891. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  892. data/apis/workspaces/2015-04-08/api-2.json +0 -1764
  893. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  894. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  895. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  896. data/apis/xray/2016-04-12/api-2.json +0 -1352
  897. data/apis/xray/2016-04-12/examples-1.json +0 -5
  898. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  899. data/bin/aws.rb +0 -180
  900. data/endpoints.json +0 -5443
  901. data/lib/aws-sdk-core/acm.rb +0 -7
  902. data/lib/aws-sdk-core/acmpca.rb +0 -7
  903. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  904. data/lib/aws-sdk-core/amplify.rb +0 -6
  905. data/lib/aws-sdk-core/api/builder.rb +0 -129
  906. data/lib/aws-sdk-core/api/customizations.rb +0 -303
  907. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  908. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  909. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  910. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  911. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  912. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  913. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  914. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  915. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  916. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  917. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  918. data/lib/aws-sdk-core/apigateway.rb +0 -6
  919. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  920. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  921. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  922. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  923. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  924. data/lib/aws-sdk-core/appmesh.rb +0 -6
  925. data/lib/aws-sdk-core/appstream.rb +0 -7
  926. data/lib/aws-sdk-core/appsync.rb +0 -6
  927. data/lib/aws-sdk-core/athena.rb +0 -6
  928. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  929. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  930. data/lib/aws-sdk-core/backup.rb +0 -6
  931. data/lib/aws-sdk-core/batch.rb +0 -6
  932. data/lib/aws-sdk-core/budgets.rb +0 -6
  933. data/lib/aws-sdk-core/checksums.rb +0 -51
  934. data/lib/aws-sdk-core/chime.rb +0 -6
  935. data/lib/aws-sdk-core/client.rb +0 -62
  936. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  937. data/lib/aws-sdk-core/cloud9.rb +0 -6
  938. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  939. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  940. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  941. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  942. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  943. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  944. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  945. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  946. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  947. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  948. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  949. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  950. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  951. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  952. data/lib/aws-sdk-core/codebuild.rb +0 -6
  953. data/lib/aws-sdk-core/codecommit.rb +0 -6
  954. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  955. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  956. data/lib/aws-sdk-core/codestar.rb +0 -6
  957. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  958. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  959. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  960. data/lib/aws-sdk-core/comprehend.rb +0 -6
  961. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  962. data/lib/aws-sdk-core/configservice.rb +0 -6
  963. data/lib/aws-sdk-core/connect.rb +0 -6
  964. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  965. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  966. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  967. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  968. data/lib/aws-sdk-core/datasync.rb +0 -6
  969. data/lib/aws-sdk-core/dax.rb +0 -6
  970. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  971. data/lib/aws-sdk-core/directconnect.rb +0 -6
  972. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  973. data/lib/aws-sdk-core/dlm.rb +0 -6
  974. data/lib/aws-sdk-core/docdb.rb +0 -7
  975. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  976. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  977. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  978. data/lib/aws-sdk-core/ec2.rb +0 -8
  979. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  980. data/lib/aws-sdk-core/ecr.rb +0 -6
  981. data/lib/aws-sdk-core/ecs.rb +0 -7
  982. data/lib/aws-sdk-core/efs.rb +0 -6
  983. data/lib/aws-sdk-core/eks.rb +0 -7
  984. data/lib/aws-sdk-core/elasticache.rb +0 -7
  985. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  986. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  987. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  988. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  989. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  990. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  991. data/lib/aws-sdk-core/emr.rb +0 -7
  992. data/lib/aws-sdk-core/endpoint_provider.rb +0 -131
  993. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  994. data/lib/aws-sdk-core/firehose.rb +0 -6
  995. data/lib/aws-sdk-core/fms.rb +0 -6
  996. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  997. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  998. data/lib/aws-sdk-core/fsx.rb +0 -6
  999. data/lib/aws-sdk-core/gamelift.rb +0 -6
  1000. data/lib/aws-sdk-core/glacier.rb +0 -8
  1001. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  1002. data/lib/aws-sdk-core/glue.rb +0 -6
  1003. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1004. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1005. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1006. data/lib/aws-sdk-core/health.rb +0 -6
  1007. data/lib/aws-sdk-core/iam.rb +0 -8
  1008. data/lib/aws-sdk-core/importexport.rb +0 -5
  1009. data/lib/aws-sdk-core/inspector.rb +0 -6
  1010. data/lib/aws-sdk-core/iot.rb +0 -6
  1011. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1012. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1013. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1014. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1015. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1016. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1017. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1018. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1019. data/lib/aws-sdk-core/kafka.rb +0 -5
  1020. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1021. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1022. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1023. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1024. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1025. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1026. data/lib/aws-sdk-core/kms.rb +0 -6
  1027. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1028. data/lib/aws-sdk-core/lambda.rb +0 -7
  1029. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1030. data/lib/aws-sdk-core/lex.rb +0 -6
  1031. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1032. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1033. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1034. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1035. data/lib/aws-sdk-core/macie.rb +0 -6
  1036. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1037. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1038. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1039. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1040. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1041. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1042. data/lib/aws-sdk-core/medialive.rb +0 -6
  1043. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1044. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1045. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1046. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1047. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1048. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1049. data/lib/aws-sdk-core/mobile.rb +0 -6
  1050. data/lib/aws-sdk-core/mq.rb +0 -5
  1051. data/lib/aws-sdk-core/mturk.rb +0 -6
  1052. data/lib/aws-sdk-core/neptune.rb +0 -7
  1053. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1054. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1055. data/lib/aws-sdk-core/organizations.rb +0 -6
  1056. data/lib/aws-sdk-core/partitions.rb +0 -174
  1057. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1058. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1059. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1060. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1061. data/lib/aws-sdk-core/personalize.rb +0 -6
  1062. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1063. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1064. data/lib/aws-sdk-core/pi.rb +0 -6
  1065. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1066. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1067. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1068. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1069. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1070. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1071. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1072. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1073. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1074. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1075. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1076. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1077. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1078. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1079. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1080. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1081. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1082. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1083. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1084. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1085. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1086. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1087. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1088. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1089. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1090. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1091. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1092. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1093. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1094. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1095. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1096. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1097. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1098. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1099. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1100. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1101. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1102. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +0 -30
  1103. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1104. data/lib/aws-sdk-core/polly.rb +0 -14
  1105. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1106. data/lib/aws-sdk-core/pricing.rb +0 -6
  1107. data/lib/aws-sdk-core/qldb.rb +0 -6
  1108. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1109. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1110. data/lib/aws-sdk-core/ram.rb +0 -6
  1111. data/lib/aws-sdk-core/rds.rb +0 -16
  1112. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1113. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1114. data/lib/aws-sdk-core/redshift.rb +0 -7
  1115. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1116. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1117. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1118. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1119. data/lib/aws-sdk-core/route53.rb +0 -7
  1120. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1121. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1122. data/lib/aws-sdk-core/s3.rb +0 -26
  1123. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1124. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1125. data/lib/aws-sdk-core/s3control.rb +0 -6
  1126. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1127. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1128. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1129. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1130. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1131. data/lib/aws-sdk-core/service.rb +0 -4
  1132. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1133. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1134. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1135. data/lib/aws-sdk-core/ses.rb +0 -7
  1136. data/lib/aws-sdk-core/shield.rb +0 -6
  1137. data/lib/aws-sdk-core/signer.rb +0 -7
  1138. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1139. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1140. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1141. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1142. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1143. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1144. data/lib/aws-sdk-core/sms.rb +0 -6
  1145. data/lib/aws-sdk-core/snowball.rb +0 -6
  1146. data/lib/aws-sdk-core/sns.rb +0 -7
  1147. data/lib/aws-sdk-core/sqs.rb +0 -7
  1148. data/lib/aws-sdk-core/ssm.rb +0 -6
  1149. data/lib/aws-sdk-core/states.rb +0 -6
  1150. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1151. data/lib/aws-sdk-core/sts.rb +0 -6
  1152. data/lib/aws-sdk-core/support.rb +0 -6
  1153. data/lib/aws-sdk-core/swf.rb +0 -6
  1154. data/lib/aws-sdk-core/textract.rb +0 -6
  1155. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1156. data/lib/aws-sdk-core/transfer.rb +0 -6
  1157. data/lib/aws-sdk-core/translate.rb +0 -6
  1158. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1159. data/lib/aws-sdk-core/version.rb +0 -3
  1160. data/lib/aws-sdk-core/waf.rb +0 -6
  1161. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1162. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1163. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1164. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1165. data/lib/aws-sdk-core/worklink.rb +0 -6
  1166. data/lib/aws-sdk-core/workmail.rb +0 -6
  1167. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1168. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1169. data/lib/aws-sdk-core/xray.rb +0 -6
  1170. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1171. data/service-models.json +0 -769
@@ -1,14 +1,6 @@
1
1
  module Aws
2
2
  module Plugins
3
-
4
- # @seahorse.client.option [required, String] :region
5
- # The AWS region to connect to. The region is used to construct
6
- # the client endpoint. Defaults to `ENV['AWS_REGION']`.
7
- # Also checks `AMAZON_REGION` and `AWS_DEFAULT_REGION`.
8
- #
9
- # @seahorse.client.option [String] :endpoint A default endpoint is
10
- # constructed from the `:region`.
11
- #
3
+ # @api private
12
4
  class RegionalEndpoint < Seahorse::Client::Plugin
13
5
 
14
6
  # raised when region is not configured
@@ -16,26 +8,40 @@ module Aws
16
8
 
17
9
  option(:profile)
18
10
 
19
- option(:region) do |cfg|
11
+ option(:region,
12
+ required: true,
13
+ doc_type: String,
14
+ docstring: <<-DOCS) do |cfg|
15
+ The AWS region to connect to. The configured `:region` is
16
+ used to determine the service `:endpoint`. When not passed,
17
+ a default `:region` is search for in the following locations:
18
+
19
+ * `Aws.config[:region]`
20
+ * `ENV['AWS_REGION']`
21
+ * `ENV['AMAZON_REGION']`
22
+ * `ENV['AWS_DEFAULT_REGION']`
23
+ * `~/.aws/credentials`
24
+ * `~/.aws/config`
25
+ DOCS
20
26
  resolve_region(cfg)
21
27
  end
22
28
 
23
29
  option(:regional_endpoint, false)
24
30
 
25
- option(:endpoint) do |cfg|
31
+ option(:endpoint, doc_type: String, docstring: <<-DOCS) do |cfg|
32
+ The client endpoint is normally constructed from the `:region`
33
+ option. You should only configure an `:endpoint` when connecting
34
+ to test endpoints. This should be avalid HTTP(S) URI.
35
+ DOCS
26
36
  endpoint_prefix = cfg.api.metadata['endpointPrefix']
27
37
  if cfg.region && endpoint_prefix
28
- EndpointProvider.resolve(cfg.region, endpoint_prefix)
29
- sts_regional = cfg.respond_to?(:sts_regional_endpoints) ? cfg.sts_regional_endpoints : nil
30
- EndpointProvider.resolve(cfg.region, endpoint_prefix, sts_regional)
38
+ Aws::Partitions::EndpointProvider.resolve(cfg.region, endpoint_prefix)
31
39
  end
32
40
  end
33
41
 
34
42
  def after_initialize(client)
35
43
  if client.config.region.nil? or client.config.region == ''
36
- msg = "missing region; use :region option or "
37
- msg << "export region name to ENV['AWS_REGION']"
38
- raise Errors::MissingRegionError, msg
44
+ raise Errors::MissingRegionError
39
45
  end
40
46
  end
41
47
 
@@ -1,35 +1,22 @@
1
1
  module Aws
2
2
  module Plugins
3
+ # @api private
3
4
  class ResponsePaging < Seahorse::Client::Plugin
4
5
 
5
- def add_handlers(handlers, config)
6
- handlers.add(Handler,
7
- operations: pageable_operations(config),
8
- step: :initialize,
9
- priority: 90)
10
- end
11
-
12
- private
13
-
14
- def pageable_operations(config)
15
- config.api.operations.inject([]) do |pageable, (name, operation)|
16
- pageable << name if operation[:pager]
17
- pageable
18
- end
19
- end
20
-
21
- # @api private
22
6
  class Handler < Seahorse::Client::Handler
23
7
 
24
8
  def call(context)
25
9
  context[:original_params] = context.params
26
10
  resp = @handler.call(context)
27
11
  resp.extend(PageableResponse)
28
- resp.pager = context.operation[:pager]
12
+ resp.pager = context.operation[:pager] || Aws::Pager::NullPager.new
29
13
  resp
30
14
  end
31
15
 
32
16
  end
17
+
18
+ handle(Handler, step: :initialize, priority: 90)
19
+
33
20
  end
34
21
  end
35
22
  end
@@ -2,18 +2,67 @@ require 'set'
2
2
 
3
3
  module Aws
4
4
  module Plugins
5
-
6
- # @seahorse.client.option [Integer] :retry_limit (3)
7
- # The maximum number of times to retry failed requests. Only
8
- # ~ 500 level server errors and certain ~ 400 level client errors
9
- # are retried. Generally, these are throttling errors, data
10
- # checksum errors, networking errors, timeout errors and auth
11
- # errors from expired credentials.
5
+ # @api private
12
6
  class RetryErrors < Seahorse::Client::Plugin
13
7
 
14
- option(:retry_limit, 3)
8
+ EQUAL_JITTER = lambda { |delay| (delay / 2) + Kernel.rand(0..(delay/2))}
9
+ FULL_JITTER = lambda { |delay| Kernel.rand(0..delay) }
10
+ NO_JITTER = lambda { |delay| delay }
11
+
12
+ JITTERS = {
13
+ none: NO_JITTER,
14
+ equal: EQUAL_JITTER,
15
+ full: FULL_JITTER
16
+ }
17
+
18
+ JITTERS.default_proc = lambda { |h,k|
19
+ raise KeyError, "#{k} is not a named jitter function. Must be one of #{h.keys}"
20
+ }
21
+
22
+ DEFAULT_BACKOFF = lambda do |c|
23
+ delay = 2 ** c.retries * c.config.retry_base_delay
24
+ delay = [delay, c.config.retry_max_delay].min if (c.config.retry_max_delay || 0) > 0
25
+ jitter = c.config.retry_jitter
26
+ jitter = JITTERS[jitter] if Symbol === jitter
27
+ delay = jitter.call(delay) if jitter
28
+ Kernel.sleep(delay)
29
+ end
15
30
 
16
- option(:retry_backoff, lambda { |c| Kernel.sleep(2 ** c.retries * 0.3) })
31
+ option(:retry_limit,
32
+ default: 3,
33
+ doc_type: Integer,
34
+ docstring: <<-DOCS)
35
+ The maximum number of times to retry failed requests. Only
36
+ ~ 500 level server errors and certain ~ 400 level client errors
37
+ are retried. Generally, these are throttling errors, data
38
+ checksum errors, networking errors, timeout errors and auth
39
+ errors from expired credentials.
40
+ DOCS
41
+
42
+ option(:retry_max_delay,
43
+ default: 0,
44
+ doc_type: Integer,
45
+ docstring: <<-DOCS)
46
+ The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
47
+ DOCS
48
+
49
+ option(:retry_base_delay,
50
+ default: 0.3,
51
+ doc_type: Float,
52
+ docstring: <<-DOCS)
53
+ The base delay in seconds used by the default backoff function.
54
+ DOCS
55
+
56
+ option(:retry_jitter,
57
+ default: :none,
58
+ doc_type: Symbol,
59
+ docstring: <<-DOCS)
60
+ A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
61
+
62
+ @see https://www.awsarchitectureblog.com/2015/03/backoff.html
63
+ DOCS
64
+
65
+ option(:retry_backoff, DEFAULT_BACKOFF)
17
66
 
18
67
  # @api private
19
68
  class ErrorInspector
@@ -23,17 +72,22 @@ module Aws
23
72
  'UnrecognizedClientException', # json services
24
73
  'InvalidAccessKeyId', # s3
25
74
  'AuthFailure', # ec2
75
+ 'InvalidIdentityToken', # sts
76
+ 'ExpiredToken', # route53
26
77
  ])
27
78
 
28
79
  THROTTLING_ERRORS = Set.new([
29
80
  'Throttling', # query services
30
81
  'ThrottlingException', # json services
31
82
  'RequestThrottled', # sqs
83
+ 'RequestThrottledException',
32
84
  'ProvisionedThroughputExceededException', # dynamodb
85
+ 'TransactionInProgressException', # dynamodb
33
86
  'RequestLimitExceeded', # ec2
34
87
  'BandwidthLimitExceeded', # cloud search
35
88
  'LimitExceededException', # kinesis
36
89
  'TooManyRequestsException', # batch
90
+ 'PriorRequestNotComplete', # route53
37
91
  ])
38
92
 
39
93
  CHECKSUM_ERRORS = Set.new([
@@ -41,7 +95,8 @@ module Aws
41
95
  ])
42
96
 
43
97
  NETWORKING_ERRORS = Set.new([
44
- 'RequestTimeout', # s3
98
+ 'RequestTimeout', # s3
99
+ 'IDPCommunicationError', # sts
45
100
  ])
46
101
 
47
102
  def initialize(error, http_status_code)
@@ -55,7 +110,7 @@ module Aws
55
110
  end
56
111
 
57
112
  def throttling_error?
58
- !!(THROTTLING_ERRORS.include?(@name) || @name.match(/throttl/i))
113
+ !!(THROTTLING_ERRORS.include?(@name) || @name.match(/throttl/i) || @http_status_code == 429)
59
114
  end
60
115
 
61
116
  def checksum?
@@ -64,6 +119,7 @@ module Aws
64
119
 
65
120
  def networking?
66
121
  @error.is_a?(Seahorse::Client::NetworkingError) ||
122
+ @error.is_a?(Errors::NoSuchEndpointError) ||
67
123
  NETWORKING_ERRORS.include?(@name)
68
124
  end
69
125
 
@@ -90,8 +146,21 @@ module Aws
90
146
  end
91
147
  end
92
148
 
149
+ def retryable?(context)
150
+ (expired_credentials? and refreshable_credentials?(context)) or
151
+ throttling_error? or
152
+ checksum? or
153
+ networking? or
154
+ server? or
155
+ endpoint_discovery?(context)
156
+ end
157
+
93
158
  private
94
159
 
160
+ def refreshable_credentials?(context)
161
+ context.config.credentials.respond_to?(:refresh!)
162
+ end
163
+
95
164
  def extract_name(error)
96
165
  if error.is_a?(Errors::ServiceError)
97
166
  error.class.code
@@ -144,24 +213,11 @@ module Aws
144
213
  end
145
214
 
146
215
  def should_retry?(context, error)
147
- retryable?(context, error) and
216
+ error.retryable?(context) and
148
217
  context.retries < retry_limit(context) and
149
218
  response_truncatable?(context)
150
219
  end
151
220
 
152
- def retryable?(context, error)
153
- (error.expired_credentials? and refreshable_credentials?(context)) or
154
- error.throttling_error? or
155
- error.checksum? or
156
- error.networking? or
157
- error.server? or
158
- error.endpoint_discovery?(context)
159
- end
160
-
161
- def refreshable_credentials?(context)
162
- context.config.credentials.respond_to?(:refresh!)
163
- end
164
-
165
221
  def retry_limit(context)
166
222
  context.config.retry_limit
167
223
  end
@@ -0,0 +1,51 @@
1
+ module Aws
2
+ module Plugins
3
+ # @api private
4
+ class SignatureV2 < Seahorse::Client::Plugin
5
+
6
+ option(:v2_signer) do |cfg|
7
+ Aws::Sigv2::Signer.new(credentials_provider: cfg.credentials)
8
+ end
9
+
10
+ def add_handlers(handlers, _)
11
+ handlers.add(Handler, step: :sign)
12
+ end
13
+
14
+ class Handler < Seahorse::Client::Handler
15
+
16
+ def call(context)
17
+ apply_signature(
18
+ context.http_request,
19
+ context.config.v2_signer
20
+ )
21
+ @handler.call(context)
22
+ end
23
+
24
+ private
25
+
26
+ def apply_signature(req, signer)
27
+
28
+ param_list = req.body.param_list
29
+ param_list.delete('Timestamp') # in case of re-signing
30
+
31
+ signature = signer.sign_request(
32
+ http_method: req.http_method,
33
+ url: req.endpoint,
34
+ params: param_list.inject({}) do |hash, param|
35
+ hash[param.name] = param.value
36
+ hash
37
+ end
38
+ )
39
+
40
+ # apply signature
41
+ signature.each_pair do |param_name, param_value|
42
+ param_list.set(param_name, param_value)
43
+ end
44
+
45
+ req.body = param_list.to_io
46
+
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,141 @@
1
+ require 'aws-sigv4'
2
+
3
+ module Aws
4
+ module Plugins
5
+ # @api private
6
+ class SignatureV4 < Seahorse::Client::Plugin
7
+
8
+ option(:sigv4_signer) do |cfg|
9
+ SignatureV4.build_signer(cfg)
10
+ end
11
+
12
+ option(:sigv4_name) do |cfg|
13
+ cfg.api.metadata['signingName'] || cfg.api.metadata['endpointPrefix']
14
+ end
15
+
16
+ option(:sigv4_region) do |cfg|
17
+
18
+ # The signature version 4 signing region is most
19
+ # commonly the configured region. There are a few
20
+ # notable exceptions:
21
+ #
22
+ # * Some services have a global endpoint to the entire
23
+ # partition. For example, when constructing a route53
24
+ # client for a region like "us-west-2", we will
25
+ # always use "route53.amazonaws.com". This endpoint
26
+ # is actually global to the entire partition,
27
+ # and must be signed as "us-east-1".
28
+ #
29
+ # * When the region is configured, but it is configured
30
+ # to a non region, such as "aws-global". This is similar
31
+ # to the previous case. We use the Aws::Partitions::EndpointProvider
32
+ # to resolve to the actual signing region.
33
+ #
34
+ prefix = cfg.api.metadata['endpointPrefix']
35
+ if prefix && cfg.endpoint.to_s.match(/#{prefix}\.amazonaws\.com/)
36
+ 'us-east-1'
37
+ elsif cfg.region
38
+ Aws::Partitions::EndpointProvider.signing_region(cfg.region, cfg.sigv4_name)
39
+ end
40
+ end
41
+
42
+ option(:unsigned_operations) do |cfg|
43
+ cfg.api.operation_names.inject([]) do |unsigned, operation_name|
44
+ if cfg.api.operation(operation_name)['authtype'] == 'none' ||
45
+ cfg.api.operation(operation_name)['authtype'] == 'custom'
46
+ # Unsign requests that has custom apigateway authorizer as well
47
+ unsigned << operation_name
48
+ else
49
+ unsigned
50
+ end
51
+ end
52
+ end
53
+
54
+ def add_handlers(handlers, cfg)
55
+ if cfg.unsigned_operations.empty?
56
+ handlers.add(Handler, step: :sign)
57
+ else
58
+ operations = cfg.api.operation_names - cfg.unsigned_operations
59
+ handlers.add(Handler, step: :sign, operations: operations)
60
+ end
61
+ end
62
+
63
+ class Handler < Seahorse::Client::Handler
64
+ def call(context)
65
+ SignatureV4.apply_signature(context: context)
66
+ @handler.call(context)
67
+ end
68
+ end
69
+
70
+ class MissingCredentialsSigner
71
+ def sign_request(*args)
72
+ raise Errors::MissingCredentialsError
73
+ end
74
+ end
75
+
76
+ class << self
77
+
78
+ # @api private
79
+ def build_signer(cfg)
80
+ if cfg.credentials && cfg.sigv4_region
81
+ Aws::Sigv4::Signer.new(
82
+ service: cfg.sigv4_name,
83
+ region: cfg.sigv4_region,
84
+ credentials_provider: cfg.credentials,
85
+ unsigned_headers: ['content-length', 'user-agent', 'x-amzn-trace-id']
86
+ )
87
+ elsif cfg.credentials
88
+ raise Errors::MissingRegionError
89
+ elsif cfg.sigv4_region
90
+ # Instead of raising now, we return a signer that raises only
91
+ # if you attempt to sign a request. Some services have unsigned
92
+ # operations and it okay to initialize clients for these services
93
+ # without credentials. Unsigned operations have an "authtype"
94
+ # trait of "none".
95
+ MissingCredentialsSigner.new
96
+ end
97
+ end
98
+
99
+ # @api private
100
+ def apply_signature(options = {})
101
+ context = apply_authtype(options[:context])
102
+ signer = options[:signer] || context.config.sigv4_signer
103
+ req = context.http_request
104
+
105
+ # in case this request is being re-signed
106
+ req.headers.delete('Authorization')
107
+ req.headers.delete('X-Amz-Security-Token')
108
+ req.headers.delete('X-Amz-Date')
109
+
110
+ # compute the signature
111
+ begin
112
+ signature = signer.sign_request(
113
+ http_method: req.http_method,
114
+ url: req.endpoint,
115
+ headers: req.headers,
116
+ body: req.body
117
+ )
118
+ rescue Aws::Sigv4::Errors::MissingCredentialsError
119
+ raise Aws::Errors::MissingCredentialsError
120
+ end
121
+
122
+ # apply signature headers
123
+ req.headers.update(signature.headers)
124
+
125
+ # add request metadata with signature components for debugging
126
+ context[:canonical_request] = signature.canonical_request
127
+ context[:string_to_sign] = signature.string_to_sign
128
+ end
129
+
130
+ # @api private
131
+ def apply_authtype(context)
132
+ if context.operation['authtype'].eql?('v4-unsigned-body') &&
133
+ context.http_request.endpoint.scheme.eql?('https')
134
+ context.http_request.headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'
135
+ end
136
+ context
137
+ end
138
+ end
139
+ end
140
+ end
141
+ end