aws-sdk-core 2.11.388 → 3.72.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1173) 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 +24 -16
  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 +172 -15
  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 +1840 -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/plugins/sts_regional_endpoints.rb +32 -0
  103. data/lib/aws-sdk-sts/resource.rb +23 -0
  104. data/lib/aws-sdk-sts/types.rb +1312 -0
  105. data/lib/seahorse.rb +60 -60
  106. data/lib/seahorse/client/async_base.rb +50 -0
  107. data/lib/seahorse/client/async_response.rb +62 -0
  108. data/lib/seahorse/client/base.rb +5 -9
  109. data/lib/seahorse/client/configuration.rb +4 -2
  110. data/lib/seahorse/client/h2/connection.rb +244 -0
  111. data/lib/seahorse/client/h2/handler.rb +151 -0
  112. data/lib/seahorse/client/handler_list_entry.rb +2 -2
  113. data/lib/seahorse/client/http/async_response.rb +42 -0
  114. data/lib/seahorse/client/http/response.rb +10 -5
  115. data/lib/seahorse/client/logging/formatter.rb +2 -0
  116. data/lib/seahorse/client/logging/handler.rb +2 -0
  117. data/lib/seahorse/client/net_http/connection_pool.rb +16 -4
  118. data/lib/seahorse/client/net_http/handler.rb +5 -0
  119. data/lib/seahorse/client/net_http/patches.rb +9 -1
  120. data/lib/seahorse/client/networking_error.rb +28 -0
  121. data/lib/seahorse/client/plugin.rb +66 -6
  122. data/lib/seahorse/client/plugins/content_length.rb +7 -2
  123. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  124. data/lib/seahorse/client/plugins/h2.rb +64 -0
  125. data/lib/seahorse/client/plugins/logging.rb +17 -19
  126. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  127. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  128. data/lib/seahorse/client/plugins/response_target.rb +10 -1
  129. data/lib/seahorse/client/request_context.rb +5 -0
  130. data/lib/seahorse/model/api.rb +33 -0
  131. data/lib/seahorse/model/authorizer.rb +21 -0
  132. data/lib/seahorse/model/operation.rb +11 -0
  133. data/lib/seahorse/model/shapes.rb +44 -2
  134. data/lib/seahorse/util.rb +1 -22
  135. metadata +98 -1047
  136. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
  137. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  138. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
  139. data/apis/acm-pca/2017-08-22/api-2.json +0 -1091
  140. data/apis/acm-pca/2017-08-22/examples-1.json +0 -5
  141. data/apis/acm-pca/2017-08-22/paginators-1.json +0 -22
  142. data/apis/acm-pca/2017-08-22/waiters-2.json +0 -61
  143. data/apis/acm/2015-12-08/api-2.json +0 -843
  144. data/apis/acm/2015-12-08/examples-1.json +0 -5
  145. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  146. data/apis/acm/2015-12-08/smoke.json +0 -18
  147. data/apis/acm/2015-12-08/waiters-2.json +0 -35
  148. data/apis/alexaforbusiness/2017-11-09/api-2.json +0 -4003
  149. data/apis/alexaforbusiness/2017-11-09/examples-1.json +0 -5
  150. data/apis/alexaforbusiness/2017-11-09/paginators-1.json +0 -94
  151. data/apis/amplify/2017-07-25/api-2.json +0 -2171
  152. data/apis/amplify/2017-07-25/examples-1.json +0 -5
  153. data/apis/amplify/2017-07-25/paginators-1.json +0 -4
  154. data/apis/apigateway/2015-07-09/api-2.json +0 -5384
  155. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  156. data/apis/apigateway/2015-07-09/paginators-1.json +0 -76
  157. data/apis/apigateway/2015-07-09/smoke.json +0 -20
  158. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +0 -192
  159. data/apis/apigatewaymanagementapi/2018-11-29/paginators-1.json +0 -3
  160. data/apis/apigatewayv2/2018-11-29/api-2.json +0 -5773
  161. data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
  162. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -779
  163. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -384
  164. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -28
  165. data/apis/application-autoscaling/2016-02-06/smoke.json +0 -13
  166. data/apis/application-insights/2018-11-25/api-2.json +0 -721
  167. data/apis/application-insights/2018-11-25/examples-1.json +0 -5
  168. data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
  169. data/apis/appmesh/2018-10-01/api-2.json +0 -1972
  170. data/apis/appmesh/2018-10-01/examples-1.json +0 -4
  171. data/apis/appmesh/2018-10-01/paginators-1.json +0 -28
  172. data/apis/appmesh/2019-01-25/api-2.json +0 -3424
  173. data/apis/appmesh/2019-01-25/examples-1.json +0 -4
  174. data/apis/appmesh/2019-01-25/paginators-1.json +0 -40
  175. data/apis/appstream/2016-12-01/api-2.json +0 -2356
  176. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  177. data/apis/appstream/2016-12-01/paginators-1.json +0 -14
  178. data/apis/appstream/2016-12-01/smoke.json +0 -11
  179. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  180. data/apis/appsync/2017-07-25/api-2.json +0 -2003
  181. data/apis/appsync/2017-07-25/examples-1.json +0 -5
  182. data/apis/appsync/2017-07-25/paginators-1.json +0 -4
  183. data/apis/athena/2017-05-18/api-2.json +0 -985
  184. data/apis/athena/2017-05-18/examples-1.json +0 -5
  185. data/apis/athena/2017-05-18/paginators-1.json +0 -24
  186. data/apis/athena/2017-05-18/smoke.json +0 -11
  187. data/apis/autoscaling-plans/2018-01-06/api-2.json +0 -659
  188. data/apis/autoscaling-plans/2018-01-06/examples-1.json +0 -5
  189. data/apis/autoscaling-plans/2018-01-06/paginators-1.json +0 -4
  190. data/apis/autoscaling/2011-01-01/api-2.json +0 -2455
  191. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  192. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  193. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  194. data/apis/autoscaling/2011-01-01/smoke.json +0 -20
  195. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  196. data/apis/backup/2018-11-15/api-2.json +0 -2150
  197. data/apis/backup/2018-11-15/examples-1.json +0 -5
  198. data/apis/backup/2018-11-15/paginators-1.json +0 -59
  199. data/apis/batch/2016-08-10/api-2.json +0 -1137
  200. data/apis/batch/2016-08-10/examples-1.json +0 -589
  201. data/apis/batch/2016-08-10/paginators-1.json +0 -28
  202. data/apis/batch/2016-08-10/smoke.json +0 -11
  203. data/apis/budgets/2016-10-20/api-2.json +0 -807
  204. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  205. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  206. data/apis/ce/2017-10-25/api-2.json +0 -1035
  207. data/apis/ce/2017-10-25/examples-1.json +0 -5
  208. data/apis/ce/2017-10-25/paginators-1.json +0 -4
  209. data/apis/chime/2018-05-01/api-2.json +0 -3499
  210. data/apis/chime/2018-05-01/examples-1.json +0 -5
  211. data/apis/chime/2018-05-01/paginators-1.json +0 -39
  212. data/apis/cloud9/2017-09-23/api-2.json +0 -549
  213. data/apis/cloud9/2017-09-23/examples-1.json +0 -315
  214. data/apis/cloud9/2017-09-23/paginators-1.json +0 -14
  215. data/apis/clouddirectory/2016-05-10/api-2.json +0 -4244
  216. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  217. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  218. data/apis/clouddirectory/2017-01-11/api-2.json +0 -4321
  219. data/apis/clouddirectory/2017-01-11/examples-1.json +0 -5
  220. data/apis/clouddirectory/2017-01-11/paginators-1.json +0 -99
  221. data/apis/cloudformation/2010-05-15/api-2.json +0 -2686
  222. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  223. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
  224. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  225. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  226. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  227. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  228. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  229. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  230. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  231. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  232. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  233. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  234. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  235. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  236. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  237. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  238. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  239. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  240. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  241. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  242. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  243. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  244. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  245. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  246. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  247. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  248. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  249. data/apis/cloudfront/2017-03-25/api-2.json +0 -2726
  250. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  251. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  252. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  253. data/apis/cloudfront/2017-10-30/api-2.json +0 -3906
  254. data/apis/cloudfront/2017-10-30/examples-1.json +0 -5
  255. data/apis/cloudfront/2017-10-30/paginators-1.json +0 -32
  256. data/apis/cloudfront/2017-10-30/smoke.json +0 -20
  257. data/apis/cloudfront/2017-10-30/waiters-2.json +0 -47
  258. data/apis/cloudfront/2018-06-18/api-2.json +0 -3907
  259. data/apis/cloudfront/2018-06-18/examples-1.json +0 -5
  260. data/apis/cloudfront/2018-06-18/paginators-1.json +0 -32
  261. data/apis/cloudfront/2018-06-18/smoke.json +0 -20
  262. data/apis/cloudfront/2018-06-18/waiters-2.json +0 -47
  263. data/apis/cloudfront/2018-11-05/api-2.json +0 -4004
  264. data/apis/cloudfront/2018-11-05/examples-1.json +0 -5
  265. data/apis/cloudfront/2018-11-05/paginators-1.json +0 -32
  266. data/apis/cloudfront/2018-11-05/smoke.json +0 -20
  267. data/apis/cloudfront/2018-11-05/waiters-2.json +0 -47
  268. data/apis/cloudfront/2019-03-26/api-2.json +0 -4032
  269. data/apis/cloudfront/2019-03-26/examples-1.json +0 -5
  270. data/apis/cloudfront/2019-03-26/paginators-1.json +0 -32
  271. data/apis/cloudfront/2019-03-26/smoke.json +0 -20
  272. data/apis/cloudfront/2019-03-26/waiters-2.json +0 -47
  273. data/apis/cloudhsm/2014-05-30/api-2.json +0 -879
  274. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  275. data/apis/cloudhsm/2014-05-30/paginators-1.json +0 -4
  276. data/apis/cloudhsmv2/2017-04-28/api-2.json +0 -718
  277. data/apis/cloudhsmv2/2017-04-28/examples-1.json +0 -5
  278. data/apis/cloudhsmv2/2017-04-28/paginators-1.json +0 -19
  279. data/apis/cloudhsmv2/2017-04-28/smoke.json +0 -18
  280. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  281. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  282. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  283. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  284. data/apis/cloudtrail/2013-11-01/api-2.json +0 -1048
  285. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  286. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -28
  287. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  288. data/apis/codebuild/2016-10-06/api-2.json +0 -1276
  289. data/apis/codebuild/2016-10-06/examples-1.json +0 -281
  290. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  291. data/apis/codebuild/2016-10-06/smoke.json +0 -11
  292. data/apis/codecommit/2015-04-13/api-2.json +0 -4248
  293. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  294. data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
  295. data/apis/codecommit/2015-04-13/smoke.json +0 -18
  296. data/apis/codedeploy/2014-10-06/api-2.json +0 -3224
  297. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  298. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  299. data/apis/codedeploy/2014-10-06/smoke.json +0 -18
  300. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  301. data/apis/codepipeline/2015-07-09/api-2.json +0 -2406
  302. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  303. data/apis/codepipeline/2015-07-09/paginators-1.json +0 -38
  304. data/apis/codepipeline/2015-07-09/smoke.json +0 -18
  305. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  306. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  307. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  308. data/apis/codestar/2017-04-19/smoke.json +0 -11
  309. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1053
  310. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  311. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  312. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5371
  313. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  314. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -58
  315. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  316. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  317. data/apis/comprehend/2017-11-27/api-2.json +0 -2361
  318. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  319. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  320. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -681
  321. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  322. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  323. data/apis/config/2014-11-12/api-2.json +0 -3496
  324. data/apis/config/2014-11-12/examples-1.json +0 -5
  325. data/apis/config/2014-11-12/paginators-1.json +0 -21
  326. data/apis/config/2014-11-12/smoke.json +0 -19
  327. data/apis/connect/2017-08-08/api-2.json +0 -1926
  328. data/apis/connect/2017-08-08/examples-1.json +0 -5
  329. data/apis/connect/2017-08-08/paginators-1.json +0 -62
  330. data/apis/cur/2017-01-06/api-2.json +0 -277
  331. data/apis/cur/2017-01-06/examples-1.json +0 -102
  332. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  333. data/apis/cur/2017-01-06/smoke.json +0 -11
  334. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  335. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  336. data/apis/datasync/2018-11-09/api-2.json +0 -1337
  337. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  338. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  339. data/apis/dax/2017-04-19/api-2.json +0 -1140
  340. data/apis/dax/2017-04-19/examples-1.json +0 -5
  341. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  342. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  343. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  344. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  345. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  346. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  347. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  348. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  349. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  350. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  351. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  352. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  353. data/apis/discovery/2015-11-01/smoke.json +0 -11
  354. data/apis/dlm/2018-01-12/api-2.json +0 -444
  355. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  356. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  357. data/apis/dms/2016-01-01/api-2.json +0 -2296
  358. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  359. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  360. data/apis/dms/2016-01-01/smoke.json +0 -18
  361. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  362. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  363. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  364. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  365. data/apis/docdb/2014-10-31/smoke.json +0 -18
  366. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  367. data/apis/ds/2015-04-16/api-2.json +0 -2634
  368. data/apis/ds/2015-04-16/examples-1.json +0 -5
  369. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  370. data/apis/ds/2015-04-16/smoke.json +0 -20
  371. data/apis/dynamodb/2011-12-05/api-2.json +0 -803
  372. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  373. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  374. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  375. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  376. data/apis/dynamodb/2012-08-10/api-2.json +0 -2802
  377. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  378. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  379. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  380. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  381. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  382. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  383. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  384. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  385. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  386. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  387. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  388. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  389. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  390. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  391. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  392. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  393. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  394. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  395. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  396. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  397. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  398. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  399. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  400. data/apis/ec2/2016-11-15/api-2.json +0 -25555
  401. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  402. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  403. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  404. data/apis/ec2/2016-11-15/smoke.json +0 -20
  405. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  406. data/apis/ecr/2015-09-21/api-2.json +0 -1615
  407. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  408. data/apis/ecr/2015-09-21/paginators-1.json +0 -48
  409. data/apis/ecr/2015-09-21/smoke.json +0 -18
  410. data/apis/ecs/2014-11-13/api-2.json +0 -2902
  411. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  412. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  413. data/apis/ecs/2014-11-13/smoke.json +0 -18
  414. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  415. data/apis/eks/2017-11-01/api-2.json +0 -750
  416. data/apis/eks/2017-11-01/examples-1.json +0 -114
  417. data/apis/eks/2017-11-01/paginators-1.json +0 -16
  418. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  419. data/apis/elasticache/2015-02-02/api-2.json +0 -3301
  420. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  421. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  422. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  423. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  424. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  425. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  426. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  427. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  428. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -896
  429. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  430. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  431. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  432. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  433. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  434. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  435. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  436. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  437. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  438. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  439. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  440. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  441. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  442. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  443. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  444. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  445. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  446. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  447. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  448. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  449. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  450. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  451. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  452. data/apis/email/2010-12-01/api-2.json +0 -3182
  453. data/apis/email/2010-12-01/examples-1.json +0 -1021
  454. data/apis/email/2010-12-01/paginators-1.json +0 -18
  455. data/apis/email/2010-12-01/smoke.json +0 -18
  456. data/apis/email/2010-12-01/waiters-2.json +0 -18
  457. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  458. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  459. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  460. data/apis/es/2015-01-01/api-2.json +0 -1572
  461. data/apis/es/2015-01-01/examples-1.json +0 -5
  462. data/apis/es/2015-01-01/paginators-1.json +0 -29
  463. data/apis/es/2015-01-01/smoke.json +0 -18
  464. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  465. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  466. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  467. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  468. data/apis/events/2015-10-07/api-2.json +0 -1462
  469. data/apis/events/2015-10-07/examples-1.json +0 -5
  470. data/apis/events/2015-10-07/paginators-1.json +0 -4
  471. data/apis/events/2015-10-07/smoke.json +0 -18
  472. data/apis/firehose/2015-08-04/api-2.json +0 -1383
  473. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  474. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  475. data/apis/firehose/2015-08-04/smoke.json +0 -18
  476. data/apis/fms/2018-01-01/api-2.json +0 -701
  477. data/apis/fms/2018-01-01/examples-1.json +0 -5
  478. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  479. data/apis/forecast/2018-06-26/api-2.json +0 -1373
  480. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  481. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  482. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  483. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  484. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  485. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  486. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  487. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  488. data/apis/gamelift/2015-10-01/api-2.json +0 -3495
  489. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  490. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  491. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  492. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  493. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  494. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  495. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  496. data/apis/glacier/2012-06-01/smoke.json +0 -18
  497. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  498. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  499. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  500. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  501. data/apis/glue/2017-03-31/api-2.json +0 -6297
  502. data/apis/glue/2017-03-31/examples-1.json +0 -5
  503. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  504. data/apis/glue/2017-03-31/smoke.json +0 -11
  505. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  506. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  507. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  508. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  509. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  510. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  511. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  512. data/apis/health/2016-08-04/api-2.json +0 -554
  513. data/apis/health/2016-08-04/examples-1.json +0 -5
  514. data/apis/health/2016-08-04/paginators-1.json +0 -31
  515. data/apis/health/2016-08-04/smoke.json +0 -11
  516. data/apis/iam/2010-05-08/api-2.json +0 -5778
  517. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  518. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  519. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  520. data/apis/iam/2010-05-08/smoke.json +0 -18
  521. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  522. data/apis/importexport/2010-06-01/api-2.json +0 -667
  523. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  524. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  525. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  526. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  527. data/apis/inspector/2016-02-16/smoke.json +0 -18
  528. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  529. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  530. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  531. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  532. data/apis/iot/2015-05-28/api-2.json +0 -9676
  533. data/apis/iot/2015-05-28/examples-1.json +0 -5
  534. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  535. data/apis/iot/2015-05-28/smoke.json +0 -18
  536. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  537. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  538. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  539. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  540. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2223
  541. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  542. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  543. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  544. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  545. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  546. data/apis/iotevents/2018-07-27/api-2.json +0 -1144
  547. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  548. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  549. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  550. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  551. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  552. data/apis/kafka/2018-11-14/api-2.json +0 -1950
  553. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  554. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -418
  555. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  556. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  557. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  558. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  559. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  560. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  561. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  562. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  563. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  564. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  565. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  566. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  567. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  568. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  569. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  570. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  571. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  572. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  573. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  574. data/apis/kms/2014-11-01/api-2.json +0 -1834
  575. data/apis/kms/2014-11-01/examples-1.json +0 -906
  576. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  577. data/apis/kms/2014-11-01/smoke.json +0 -19
  578. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  579. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  580. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  581. data/apis/lambda/2014-11-11/api-2.json +0 -668
  582. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  583. data/apis/lambda/2015-03-31/api-2.json +0 -2353
  584. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  585. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  586. data/apis/lambda/2015-03-31/smoke.json +0 -18
  587. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  588. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  589. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  590. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  591. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  592. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  593. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  594. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  595. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  596. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  597. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  598. data/apis/logs/2014-03-28/api-2.json +0 -1701
  599. data/apis/logs/2014-03-28/examples-1.json +0 -5
  600. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  601. data/apis/logs/2014-03-28/smoke.json +0 -19
  602. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  603. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  604. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  605. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  606. data/apis/macie/2017-12-19/api-2.json +0 -365
  607. data/apis/macie/2017-12-19/examples-1.json +0 -5
  608. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  609. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  610. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  611. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  612. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -176
  613. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  614. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  615. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  616. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  617. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  618. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8350
  619. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  620. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  621. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  622. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  623. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
  624. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  625. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  626. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  627. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  628. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  629. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  630. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  631. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  632. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  633. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  634. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  635. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
  636. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  637. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  638. data/apis/mobile/2017-07-01/api-2.json +0 -551
  639. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  640. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  641. data/apis/monitoring/2010-08-01/api-2.json +0 -1526
  642. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  643. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  644. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  645. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  646. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  647. data/apis/mq/2017-11-27/api-2.json +0 -2538
  648. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  649. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  650. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  651. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  652. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  653. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  654. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  655. data/apis/neptune/2014-10-31/smoke.json +0 -18
  656. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  657. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  658. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  659. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  660. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  661. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  662. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  663. data/apis/opsworkscm/2016-11-01/api-2.json +0 -817
  664. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  665. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  666. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  667. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  668. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  669. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  670. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  671. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  672. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  673. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  674. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  675. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  676. data/apis/personalize/2018-05-22/api-2.json +0 -1712
  677. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  678. data/apis/personalize/2018-05-22/paginators-1.json +0 -58
  679. data/apis/pi/2018-02-27/api-2.json +0 -253
  680. data/apis/pi/2018-02-27/examples-1.json +0 -5
  681. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  682. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  683. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  684. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  685. data/apis/pinpoint/2016-12-01/api-2.json +0 -10826
  686. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  687. data/apis/polly/2016-06-10/api-2.json +0 -832
  688. data/apis/polly/2016-06-10/examples-1.json +0 -171
  689. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  690. data/apis/polly/2016-06-10/smoke.json +0 -11
  691. data/apis/pricing/2017-10-15/api-2.json +0 -227
  692. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  693. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  694. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  695. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  696. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  697. data/apis/qldb/2019-01-02/api-2.json +0 -776
  698. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  699. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  700. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  701. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  702. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  703. data/apis/ram/2018-01-04/api-2.json +0 -1021
  704. data/apis/ram/2018-01-04/examples-1.json +0 -5
  705. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  706. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  707. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  708. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  709. data/apis/rds/2013-01-10/api-2.json +0 -2903
  710. data/apis/rds/2013-01-10/examples-1.json +0 -5
  711. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  712. data/apis/rds/2013-01-10/smoke.json +0 -18
  713. data/apis/rds/2013-02-12/api-2.json +0 -3059
  714. data/apis/rds/2013-02-12/examples-1.json +0 -5
  715. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  716. data/apis/rds/2013-02-12/smoke.json +0 -18
  717. data/apis/rds/2013-09-09/api-2.json +0 -3160
  718. data/apis/rds/2013-09-09/examples-1.json +0 -5
  719. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  720. data/apis/rds/2013-09-09/smoke.json +0 -18
  721. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  722. data/apis/rds/2014-09-01/api-2.json +0 -3273
  723. data/apis/rds/2014-09-01/examples-1.json +0 -5
  724. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  725. data/apis/rds/2014-09-01/smoke.json +0 -18
  726. data/apis/rds/2014-10-31/api-2.json +0 -6880
  727. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  728. data/apis/rds/2014-10-31/paginators-1.json +0 -140
  729. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  730. data/apis/rds/2014-10-31/smoke.json +0 -18
  731. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  732. data/apis/rds/2015-11-12/api-2.json +0 -5509
  733. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  734. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  735. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  736. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  737. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  738. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  739. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  740. data/apis/redshift/2012-12-01/smoke.json +0 -18
  741. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  742. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  743. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  744. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  745. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  746. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  747. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  748. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  749. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  750. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  751. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  752. data/apis/robomaker/2018-06-29/api-2.json +0 -2145
  753. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  754. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  755. data/apis/route53/2013-04-01/api-2.json +0 -3780
  756. data/apis/route53/2013-04-01/examples-1.json +0 -762
  757. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  758. data/apis/route53/2013-04-01/smoke.json +0 -18
  759. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  760. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  761. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  762. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  763. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  764. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  765. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  766. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  767. data/apis/runtime.lex/2016-11-28/api-2.json +0 -693
  768. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  769. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  770. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  771. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  772. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  773. data/apis/s3/2006-03-01/api-2.json +0 -6587
  774. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  775. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  776. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  777. data/apis/s3/2006-03-01/smoke.json +0 -11
  778. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  779. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  780. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  781. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  782. data/apis/sagemaker/2017-07-24/api-2.json +0 -5281
  783. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  784. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  785. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  786. data/apis/sdb/2009-04-15/api-2.json +0 -955
  787. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  788. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  789. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  790. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  791. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  792. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  793. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  794. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  795. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  796. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  797. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  798. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  799. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  800. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  801. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  802. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  803. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  804. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  805. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  806. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  807. data/apis/shield/2016-06-02/api-2.json +0 -893
  808. data/apis/shield/2016-06-02/examples-1.json +0 -5
  809. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  810. data/apis/shield/2016-06-02/smoke.json +0 -11
  811. data/apis/signer/2017-08-25/api-2.json +0 -670
  812. data/apis/signer/2017-08-25/examples-1.json +0 -5
  813. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  814. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  815. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  816. data/apis/sms/2016-10-24/api-2.json +0 -1366
  817. data/apis/sms/2016-10-24/examples-1.json +0 -5
  818. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  819. data/apis/sms/2016-10-24/smoke.json +0 -18
  820. data/apis/snowball/2016-06-30/api-2.json +0 -955
  821. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  822. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  823. data/apis/snowball/2016-06-30/smoke.json +0 -11
  824. data/apis/sns/2010-03-31/api-2.json +0 -1468
  825. data/apis/sns/2010-03-31/examples-1.json +0 -5
  826. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  827. data/apis/sns/2010-03-31/resources-1.json +0 -327
  828. data/apis/sns/2010-03-31/smoke.json +0 -19
  829. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  830. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  831. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  832. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  833. data/apis/sqs/2012-11-05/smoke.json +0 -18
  834. data/apis/ssm/2014-11-06/api-2.json +0 -8916
  835. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  836. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  837. data/apis/ssm/2014-11-06/smoke.json +0 -18
  838. data/apis/states/2016-11-23/api-2.json +0 -1409
  839. data/apis/states/2016-11-23/examples-1.json +0 -5
  840. data/apis/states/2016-11-23/paginators-1.json +0 -28
  841. data/apis/states/2016-11-23/smoke.json +0 -11
  842. data/apis/storagegateway/2013-06-30/api-2.json +0 -3166
  843. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  844. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  845. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  846. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  847. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  848. data/apis/sts/2011-06-15/api-2.json +0 -562
  849. data/apis/sts/2011-06-15/examples-1.json +0 -207
  850. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  851. data/apis/sts/2011-06-15/smoke.json +0 -19
  852. data/apis/support/2013-04-15/api-2.json +0 -773
  853. data/apis/support/2013-04-15/examples-1.json +0 -5
  854. data/apis/support/2013-04-15/paginators-1.json +0 -25
  855. data/apis/support/2013-04-15/smoke.json +0 -22
  856. data/apis/swf/2012-01-25/api-2.json +0 -2792
  857. data/apis/swf/2012-01-25/examples-1.json +0 -5
  858. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  859. data/apis/textract/2018-06-27/api-2.json +0 -572
  860. data/apis/textract/2018-06-27/examples-1.json +0 -5
  861. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  862. data/apis/transcribe-streaming/2017-10-26/api-2.json +0 -262
  863. data/apis/transcribe-streaming/2017-10-26/examples-1.json +0 -5
  864. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +0 -4
  865. data/apis/transcribe/2017-10-26/api-2.json +0 -516
  866. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  867. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  868. data/apis/transfer/2018-11-05/api-2.json +0 -940
  869. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  870. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  871. data/apis/translate/2017-07-01/api-2.json +0 -408
  872. data/apis/translate/2017-07-01/examples-1.json +0 -5
  873. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  874. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  875. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  876. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  877. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  878. data/apis/waf/2015-08-24/api-2.json +0 -3857
  879. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  880. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  881. data/apis/waf/2015-08-24/smoke.json +0 -21
  882. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  883. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  884. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  885. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  886. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  887. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  888. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  889. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  890. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  891. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  892. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  893. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  894. data/apis/workspaces/2015-04-08/api-2.json +0 -1764
  895. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  896. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  897. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  898. data/apis/xray/2016-04-12/api-2.json +0 -1352
  899. data/apis/xray/2016-04-12/examples-1.json +0 -5
  900. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  901. data/bin/aws.rb +0 -180
  902. data/endpoints.json +0 -5449
  903. data/lib/aws-sdk-core/acm.rb +0 -7
  904. data/lib/aws-sdk-core/acmpca.rb +0 -7
  905. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  906. data/lib/aws-sdk-core/amplify.rb +0 -6
  907. data/lib/aws-sdk-core/api/builder.rb +0 -129
  908. data/lib/aws-sdk-core/api/customizations.rb +0 -303
  909. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  910. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  911. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  912. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  913. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  914. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  915. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  916. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  917. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  918. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  919. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  920. data/lib/aws-sdk-core/apigateway.rb +0 -6
  921. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  922. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  923. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  924. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  925. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  926. data/lib/aws-sdk-core/appmesh.rb +0 -6
  927. data/lib/aws-sdk-core/appstream.rb +0 -7
  928. data/lib/aws-sdk-core/appsync.rb +0 -6
  929. data/lib/aws-sdk-core/athena.rb +0 -6
  930. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  931. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  932. data/lib/aws-sdk-core/backup.rb +0 -6
  933. data/lib/aws-sdk-core/batch.rb +0 -6
  934. data/lib/aws-sdk-core/budgets.rb +0 -6
  935. data/lib/aws-sdk-core/checksums.rb +0 -51
  936. data/lib/aws-sdk-core/chime.rb +0 -6
  937. data/lib/aws-sdk-core/client.rb +0 -62
  938. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  939. data/lib/aws-sdk-core/cloud9.rb +0 -6
  940. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  941. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  942. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  943. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  944. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  945. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  946. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  947. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  948. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  949. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  950. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  951. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  952. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  953. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  954. data/lib/aws-sdk-core/codebuild.rb +0 -6
  955. data/lib/aws-sdk-core/codecommit.rb +0 -6
  956. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  957. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  958. data/lib/aws-sdk-core/codestar.rb +0 -6
  959. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  960. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  961. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  962. data/lib/aws-sdk-core/comprehend.rb +0 -6
  963. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  964. data/lib/aws-sdk-core/configservice.rb +0 -6
  965. data/lib/aws-sdk-core/connect.rb +0 -6
  966. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  967. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  968. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  969. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  970. data/lib/aws-sdk-core/datasync.rb +0 -6
  971. data/lib/aws-sdk-core/dax.rb +0 -6
  972. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  973. data/lib/aws-sdk-core/directconnect.rb +0 -6
  974. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  975. data/lib/aws-sdk-core/dlm.rb +0 -6
  976. data/lib/aws-sdk-core/docdb.rb +0 -7
  977. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  978. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  979. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  980. data/lib/aws-sdk-core/ec2.rb +0 -8
  981. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  982. data/lib/aws-sdk-core/ecr.rb +0 -6
  983. data/lib/aws-sdk-core/ecs.rb +0 -7
  984. data/lib/aws-sdk-core/efs.rb +0 -6
  985. data/lib/aws-sdk-core/eks.rb +0 -7
  986. data/lib/aws-sdk-core/elasticache.rb +0 -7
  987. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  988. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  989. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  990. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  991. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  992. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  993. data/lib/aws-sdk-core/emr.rb +0 -7
  994. data/lib/aws-sdk-core/endpoint_provider.rb +0 -131
  995. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  996. data/lib/aws-sdk-core/firehose.rb +0 -6
  997. data/lib/aws-sdk-core/fms.rb +0 -6
  998. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  999. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  1000. data/lib/aws-sdk-core/fsx.rb +0 -6
  1001. data/lib/aws-sdk-core/gamelift.rb +0 -6
  1002. data/lib/aws-sdk-core/glacier.rb +0 -8
  1003. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  1004. data/lib/aws-sdk-core/glue.rb +0 -6
  1005. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1006. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1007. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1008. data/lib/aws-sdk-core/health.rb +0 -6
  1009. data/lib/aws-sdk-core/iam.rb +0 -8
  1010. data/lib/aws-sdk-core/importexport.rb +0 -5
  1011. data/lib/aws-sdk-core/inspector.rb +0 -6
  1012. data/lib/aws-sdk-core/iot.rb +0 -6
  1013. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1014. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1015. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1016. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1017. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1018. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1019. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1020. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1021. data/lib/aws-sdk-core/kafka.rb +0 -5
  1022. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1023. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1024. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1025. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1026. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1027. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1028. data/lib/aws-sdk-core/kms.rb +0 -6
  1029. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1030. data/lib/aws-sdk-core/lambda.rb +0 -7
  1031. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1032. data/lib/aws-sdk-core/lex.rb +0 -6
  1033. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1034. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1035. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1036. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1037. data/lib/aws-sdk-core/macie.rb +0 -6
  1038. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1039. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1040. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1041. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1042. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1043. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1044. data/lib/aws-sdk-core/medialive.rb +0 -6
  1045. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1046. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1047. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1048. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1049. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1050. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1051. data/lib/aws-sdk-core/mobile.rb +0 -6
  1052. data/lib/aws-sdk-core/mq.rb +0 -5
  1053. data/lib/aws-sdk-core/mturk.rb +0 -6
  1054. data/lib/aws-sdk-core/neptune.rb +0 -7
  1055. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1056. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1057. data/lib/aws-sdk-core/organizations.rb +0 -6
  1058. data/lib/aws-sdk-core/partitions.rb +0 -174
  1059. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1060. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1061. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1062. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1063. data/lib/aws-sdk-core/personalize.rb +0 -6
  1064. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1065. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1066. data/lib/aws-sdk-core/pi.rb +0 -6
  1067. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1068. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1069. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1070. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1071. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1072. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1073. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1074. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1075. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1076. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1077. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1078. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1079. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1080. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1081. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1082. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1083. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1084. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1085. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1086. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1087. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1088. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1089. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1090. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1091. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1092. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1093. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1094. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1095. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1096. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1097. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1098. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1099. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1100. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1101. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1102. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1103. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1104. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +0 -30
  1105. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1106. data/lib/aws-sdk-core/polly.rb +0 -14
  1107. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1108. data/lib/aws-sdk-core/pricing.rb +0 -6
  1109. data/lib/aws-sdk-core/qldb.rb +0 -6
  1110. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1111. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1112. data/lib/aws-sdk-core/ram.rb +0 -6
  1113. data/lib/aws-sdk-core/rds.rb +0 -16
  1114. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1115. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1116. data/lib/aws-sdk-core/redshift.rb +0 -7
  1117. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1118. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1119. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1120. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1121. data/lib/aws-sdk-core/route53.rb +0 -7
  1122. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1123. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1124. data/lib/aws-sdk-core/s3.rb +0 -26
  1125. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1126. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1127. data/lib/aws-sdk-core/s3control.rb +0 -6
  1128. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1129. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1130. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1131. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1132. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1133. data/lib/aws-sdk-core/service.rb +0 -4
  1134. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1135. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1136. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1137. data/lib/aws-sdk-core/ses.rb +0 -7
  1138. data/lib/aws-sdk-core/shield.rb +0 -6
  1139. data/lib/aws-sdk-core/signer.rb +0 -7
  1140. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1141. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1142. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1143. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1144. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1145. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1146. data/lib/aws-sdk-core/sms.rb +0 -6
  1147. data/lib/aws-sdk-core/snowball.rb +0 -6
  1148. data/lib/aws-sdk-core/sns.rb +0 -7
  1149. data/lib/aws-sdk-core/sqs.rb +0 -7
  1150. data/lib/aws-sdk-core/ssm.rb +0 -6
  1151. data/lib/aws-sdk-core/states.rb +0 -6
  1152. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1153. data/lib/aws-sdk-core/sts.rb +0 -6
  1154. data/lib/aws-sdk-core/support.rb +0 -6
  1155. data/lib/aws-sdk-core/swf.rb +0 -6
  1156. data/lib/aws-sdk-core/textract.rb +0 -6
  1157. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1158. data/lib/aws-sdk-core/transfer.rb +0 -6
  1159. data/lib/aws-sdk-core/translate.rb +0 -6
  1160. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1161. data/lib/aws-sdk-core/version.rb +0 -3
  1162. data/lib/aws-sdk-core/waf.rb +0 -6
  1163. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1164. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1165. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1166. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1167. data/lib/aws-sdk-core/worklink.rb +0 -6
  1168. data/lib/aws-sdk-core/workmail.rb +0 -6
  1169. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1170. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1171. data/lib/aws-sdk-core/xray.rb +0 -6
  1172. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1173. data/service-models.json +0 -769
@@ -1,18 +1,20 @@
1
1
  module Aws
2
2
  module Plugins
3
-
4
- # @seahorse.client.option [Boolean] :stub_responses (false)
5
- # Causes the client to return stubbed responses. By default
6
- # fake responses are generated and returned. You can specify
7
- # the response data to return or errors to raise by calling
8
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
9
- #
10
- # ** Please note ** When response stubbing is enabled, no HTTP
11
- # requests are made, and retries are disabled.
12
- #
3
+ # @api private
13
4
  class StubResponses < Seahorse::Client::Plugin
14
5
 
15
- option(:stub_responses, false)
6
+ option(:stub_responses,
7
+ default: false,
8
+ doc_type: 'Boolean',
9
+ docstring: <<-DOCS)
10
+ Causes the client to return stubbed responses. By default
11
+ fake responses are generated and returned. You can specify
12
+ the response data to return or errors to raise by calling
13
+ {ClientStubs#stub_responses}. See {ClientStubs} for more information.
14
+
15
+ ** Please note ** When response stubbing is enabled, no HTTP
16
+ requests are made, and retries are disabled.
17
+ DOCS
16
18
 
17
19
  option(:region) do |config|
18
20
  'us-stubbed-1' if config.stub_responses
@@ -32,6 +34,9 @@ module Aws
32
34
  if client.config.stub_responses
33
35
  client.setup_stubbing
34
36
  client.handlers.remove(RetryErrors::Handler)
37
+ client.handlers.remove(ClientMetricsPlugin::Handler)
38
+ client.handlers.remove(ClientMetricsSendPlugin::LatencyHandler)
39
+ client.handlers.remove(ClientMetricsSendPlugin::AttemptHandler)
35
40
  end
36
41
  end
37
42
 
@@ -40,15 +45,18 @@ module Aws
40
45
  def call(context)
41
46
  stub = context.client.next_stub(context)
42
47
  resp = Seahorse::Client::Response.new(context: context)
43
- apply_stub(stub, resp)
44
- resp
48
+ async_mode = context.client.is_a? Seahorse::Client::AsyncBase
49
+ apply_stub(stub, resp, async_mode)
50
+
51
+ async_mode ? Seahorse::Client::AsyncResponse.new(
52
+ context: context, stream: context[:input_event_stream_handler].event_emitter.stream, sync_queue: Queue.new) : resp
45
53
  end
46
54
 
47
- def apply_stub(stub, response)
55
+ def apply_stub(stub, response, async_mode = false)
48
56
  http_resp = response.context.http_response
49
57
  case
50
58
  when stub[:error] then signal_error(stub[:error], http_resp)
51
- when stub[:http] then signal_http(stub[:http], http_resp)
59
+ when stub[:http] then signal_http(stub[:http], http_resp, async_mode)
52
60
  when stub[:data] then response.data = stub[:data]
53
61
  end
54
62
  end
@@ -62,9 +70,18 @@ module Aws
62
70
  end
63
71
 
64
72
  # @param [Seahorse::Client::Http::Response] stub
65
- # @param [Seahorse::Client::Http::Response] http_resp
66
- def signal_http(stub, http_resp)
67
- http_resp.signal_headers(stub.status_code, stub.headers.to_h)
73
+ # @param [Seahorse::Client::Http::Response | Seahorse::Client::Http::AsyncResponse] http_resp
74
+ # @param [Boolean] async_mode
75
+ def signal_http(stub, http_resp, async_mode = false)
76
+ if async_mode
77
+ h2_headers = stub.headers.to_h.inject([]) do |arr, (k, v)|
78
+ arr << [k, v]
79
+ end
80
+ h2_headers << [":status", stub.status_code]
81
+ http_resp.signal_headers(h2_headers)
82
+ else
83
+ http_resp.signal_headers(stub.status_code, stub.headers.to_h)
84
+ end
68
85
  while chunk = stub.body.read(1024 * 1024)
69
86
  http_resp.signal_data(chunk)
70
87
  end
@@ -0,0 +1,53 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ # For Streaming Input Operations, when `requiresLength` is enabled
5
+ # checking whether `Content-Length` header can be set,
6
+ # for `v4-unsigned-body` operations, set `Transfer-Encoding` header
7
+ class TransferEncoding < Seahorse::Client::Plugin
8
+
9
+ # @api private
10
+ class Handler < Seahorse::Client::Handler
11
+
12
+ def call(context)
13
+ if streaming?(context.operation.input)
14
+ begin
15
+ context.http_request.body.size
16
+ rescue
17
+ if requires_length?(context.operation.input)
18
+ # if size of the IO is not available but required
19
+ raise Aws::Errors::MissingContentLength.new
20
+ elsif context.operation['authtype'] == "v4-unsigned-body"
21
+ context.http_request.headers['Transfer-Encoding'] = 'chunked'
22
+ end
23
+ end
24
+ end
25
+
26
+ @handler.call(context)
27
+ end
28
+
29
+ private
30
+
31
+ def streaming?(ref)
32
+ if payload = ref[:payload_member]
33
+ payload["streaming"] || # checking ref and shape
34
+ payload.shape["streaming"]
35
+ else
36
+ false
37
+ end
38
+ end
39
+
40
+ def requires_length?(ref)
41
+ payload = ref[:payload_member]
42
+ payload["requiresLength"] || # checking ref and shape
43
+ payload.shape["requiresLength"]
44
+ end
45
+
46
+ end
47
+
48
+ handler(Handler, step: :sign)
49
+
50
+ end
51
+
52
+ end
53
+ end
@@ -1,5 +1,6 @@
1
1
  module Aws
2
2
  module Plugins
3
+ # @api private
3
4
  class UserAgent < Seahorse::Client::Plugin
4
5
 
5
6
  option(:user_agent_suffix)
@@ -13,12 +14,28 @@ module Aws
13
14
  end
14
15
 
15
16
  def set_user_agent(context)
16
- ua = "aws-sdk-ruby2/#{VERSION} %s/%s %s %s" % [
17
- (RUBY_ENGINE rescue nil or "ruby"),
18
- RUBY_VERSION,
19
- RUBY_PLATFORM,
20
- context.config.user_agent_suffix,
21
- ]
17
+ execution_env = ENV["AWS_EXECUTION_ENV"]
18
+
19
+ ua = "aws-sdk-ruby3/#{CORE_GEM_VERSION}"
20
+
21
+ begin
22
+ ua += " #{RUBY_ENGINE}/#{RUBY_VERSION}"
23
+ rescue
24
+ ua += " RUBY_ENGINE_NA/#{RUBY_VERSION}"
25
+ end
26
+
27
+ ua += " #{RUBY_PLATFORM}"
28
+
29
+ if context[:gem_name] && context[:gem_version]
30
+ ua += " #{context[:gem_name]}/#{context[:gem_version]}"
31
+ end
32
+
33
+ if execution_env
34
+ ua += " exec-env/#{execution_env}"
35
+ end
36
+
37
+ ua += " #{context.config.user_agent_suffix}" if context.config.user_agent_suffix
38
+
22
39
  context.http_request.headers['User-Agent'] = ua.strip
23
40
  end
24
41
 
@@ -0,0 +1,80 @@
1
+ require 'open3'
2
+
3
+ module Aws
4
+
5
+ # A credential provider that executes a given process and attempts
6
+ # to read its stdout to recieve a JSON payload containing the credentials
7
+ #
8
+ # Automatically handles refreshing credentials if an Expiration time is
9
+ # provided in the credentials payload
10
+ #
11
+ # credentials = Aws::ProcessCredentials.new('/usr/bin/credential_proc').credentials
12
+ #
13
+ # ec2 = Aws::EC2::Client.new(credentials: credentials)
14
+ #
15
+ # More documentation on process based credentials can be found here:
16
+ # https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes
17
+ class ProcessCredentials
18
+
19
+ include CredentialProvider
20
+ include RefreshingCredentials
21
+
22
+ # Creates a new ProcessCredentials object, which allows an
23
+ # external process to be used as a credential provider.
24
+ #
25
+ # @param [String] process Invocation string for process
26
+ # credentials provider.
27
+ def initialize(process)
28
+ @process = process
29
+ @credentials = credentials_from_process(@process)
30
+
31
+ super
32
+ end
33
+
34
+ private
35
+ def credentials_from_process(proc_invocation)
36
+ begin
37
+ raw_out, process_status = Open3.capture2(proc_invocation)
38
+ rescue Errno::ENOENT
39
+ raise Errors::InvalidProcessCredentialsPayload.new("Could not find process #{proc_invocation}")
40
+ end
41
+
42
+ if process_status.success?
43
+ begin
44
+ creds_json = JSON.parse(raw_out)
45
+ rescue JSON::ParserError
46
+ raise Errors::InvalidProcessCredentialsPayload.new("Invalid JSON response")
47
+ end
48
+ payload_version = creds_json['Version']
49
+ if payload_version == 1
50
+ _parse_payload_format_v1(creds_json)
51
+ else
52
+ raise Errors::InvalidProcessCredentialsPayload.new("Invalid version #{payload_version} for credentials payload")
53
+ end
54
+ else
55
+ raise Errors::InvalidProcessCredentialsPayload.new('credential_process provider failure, the credential process had non zero exit status and failed to provide credentials')
56
+ end
57
+ end
58
+
59
+ def _parse_payload_format_v1(creds_json)
60
+ creds = Credentials.new(
61
+ creds_json['AccessKeyId'],
62
+ creds_json['SecretAccessKey'],
63
+ creds_json['SessionToken']
64
+ )
65
+
66
+ @expiration = creds_json['Expiration'] ? Time.iso8601(creds_json['Expiration']) : nil
67
+ return creds if creds.set?
68
+ raise Errors::InvalidProcessCredentialsPayload.new("Invalid payload for JSON credentials version 1")
69
+ end
70
+
71
+ def refresh
72
+ @credentials = credentials_from_process(@process)
73
+ end
74
+
75
+ def near_expiration?
76
+ # are we within 5 minutes of expiration?
77
+ @expiration && (Time.now.to_i + 5 * 60) > @expiration.to_i
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,5 @@
1
+ require_relative 'query/ec2_param_builder'
2
+ require_relative 'query/handler'
3
+ require_relative 'query/param'
4
+ require_relative 'query/param_builder'
5
+ require_relative 'query/param_list'
@@ -45,7 +45,7 @@ module Aws
45
45
  when ListShape then list(ref, value, prefix)
46
46
  when MapShape then raise NotImplementedError
47
47
  when BlobShape then set(prefix, blob(value))
48
- when TimestampShape then set(prefix, timestamp(value))
48
+ when TimestampShape then set(prefix, timestamp(ref, value))
49
49
  else
50
50
  set(prefix, value.to_s)
51
51
  end
@@ -68,8 +68,14 @@ module Aws
68
68
  Base64.strict_encode64(value)
69
69
  end
70
70
 
71
- def timestamp(value)
72
- value.utc.iso8601
71
+ def timestamp(ref, value)
72
+ case ref['timestampFormat'] || ref.shape['timestampFormat']
73
+ when 'unixTimestamp' then value.to_i
74
+ when 'rfc822' then value.utc.httpdate
75
+ else
76
+ # ec2 defaults to iso8601
77
+ value.utc.iso8601
78
+ end
73
79
  end
74
80
 
75
81
  end
@@ -1,4 +1,5 @@
1
1
  module Aws
2
+ # @api private
2
3
  module Query
3
4
  class Handler < Seahorse::Client::Handler
4
5
 
@@ -6,16 +7,16 @@ module Aws
6
7
 
7
8
  CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=utf-8'
8
9
 
9
- WRAPPER_STRUCT = Structure.new(:result, :response_metadata)
10
+ WRAPPER_STRUCT = ::Struct.new(:result, :response_metadata)
10
11
 
11
- METADATA_STRUCT = Structure.new(:request_id)
12
+ METADATA_STRUCT = ::Struct.new(:request_id)
12
13
 
13
14
  METADATA_REF = begin
14
15
  request_id = ShapeRef.new(
15
16
  shape: StringShape.new,
16
17
  location_name: 'RequestId')
17
18
  response_metadata = StructureShape.new
18
- response_metadata[:struct_class] = METADATA_STRUCT
19
+ response_metadata.struct_class = METADATA_STRUCT
19
20
  response_metadata.add_member(:request_id, request_id)
20
21
  ShapeRef.new(shape: response_metadata, location_name: 'ResponseMetadata')
21
22
  end
@@ -26,7 +27,12 @@ module Aws
26
27
  build_request(context)
27
28
  @handler.call(context).on_success do |response|
28
29
  response.error = nil
29
- response.data = parse_xml(context)
30
+ parsed = parse_xml(context)
31
+ if parsed.nil? || parsed == EmptyStructure
32
+ response.data = EmptyStructure.new
33
+ else
34
+ response.data = parsed
35
+ end
30
36
  end
31
37
  end
32
38
 
@@ -49,12 +55,8 @@ module Aws
49
55
  end
50
56
 
51
57
  def parse_xml(context)
52
- if context.operation.output
53
- data = Xml::Parser.new(rules(context)).parse(xml(context))
54
- remove_wrapper(data, context)
55
- else
56
- EmptyStructure.new
57
- end
58
+ data = Xml::Parser.new(rules(context)).parse(xml(context))
59
+ remove_wrapper(data, context)
58
60
  end
59
61
 
60
62
  def xml(context)
@@ -63,11 +65,13 @@ module Aws
63
65
 
64
66
  def rules(context)
65
67
  shape = Seahorse::Model::Shapes::StructureShape.new
66
- shape.add_member(:result, ShapeRef.new(
67
- shape: context.operation.output.shape,
68
- location_name: context.operation.name + 'Result'
69
- ))
70
- shape[:struct_class] = WRAPPER_STRUCT
68
+ if context.operation.output
69
+ shape.add_member(:result, ShapeRef.new(
70
+ shape: context.operation.output.shape,
71
+ location_name: context.operation.name + 'Result'
72
+ ))
73
+ end
74
+ shape.struct_class = WRAPPER_STRUCT
71
75
  shape.add_member(:response_metadata, METADATA_REF)
72
76
  ShapeRef.new(shape: shape)
73
77
  end
@@ -77,7 +81,7 @@ module Aws
77
81
  if data.response_metadata
78
82
  context[:request_id] = data.response_metadata.request_id
79
83
  end
80
- data.result || Structure.new(context.operation.output.shape.member_names)
84
+ data.result || Structure.new(*context.operation.output.shape.member_names)
81
85
  else
82
86
  data
83
87
  end
@@ -66,7 +66,7 @@ module Aws
66
66
  when ListShape then list(ref, value, prefix)
67
67
  when MapShape then map(ref, value, prefix)
68
68
  when BlobShape then set(prefix, blob(value))
69
- when TimestampShape then set(prefix, timestamp(value))
69
+ when TimestampShape then set(prefix, timestamp(ref, value))
70
70
  else set(prefix, value.to_s)
71
71
  end
72
72
  end
@@ -80,11 +80,17 @@ module Aws
80
80
  end
81
81
 
82
82
  def flat?(ref)
83
- ref['flattened']
83
+ ref.shape.flattened
84
84
  end
85
85
 
86
- def timestamp(value)
87
- value.utc.iso8601
86
+ def timestamp(ref, value)
87
+ case ref['timestampFormat'] || ref.shape['timestampFormat']
88
+ when 'unixTimestamp' then value.to_i
89
+ when 'rfc822' then value.utc.httpdate
90
+ else
91
+ # query defaults to iso8601
92
+ value.utc.iso8601
93
+ end
88
94
  end
89
95
 
90
96
  def blob(value)
@@ -3,7 +3,7 @@ require 'thread'
3
3
  module Aws
4
4
 
5
5
  # Base class used credential classes that can be refreshed. This
6
- # provides basic refresh logic in a thread-safe manor. Classes mixing in
6
+ # provides basic refresh logic in a thread-safe manner. Classes mixing in
7
7
  # this module are expected to implement a #refresh method that populates
8
8
  # the following instance variables:
9
9
  #
@@ -0,0 +1,121 @@
1
+ module Aws
2
+ module Resources
3
+ class Collection
4
+
5
+ extend Aws::Deprecations
6
+ include Enumerable
7
+
8
+ # @param [Enumerator<Array>] batches
9
+ # @option options [Integer] :limit
10
+ # @option options [Integer] :size
11
+ # @api private
12
+ def initialize(batches, options = {})
13
+ @batches = batches
14
+ @limit = options[:limit]
15
+ @size = options[:size]
16
+ end
17
+
18
+ # @return [Integer,nil]
19
+ # Returns the size of this collection if known, returns `nil` when
20
+ # an API call is necessary to enumerate items in this collection.
21
+ def size
22
+ @size
23
+ end
24
+ alias :length :size
25
+
26
+ # @deprecated
27
+ # @api private
28
+ def batches
29
+ ::Enumerator.new do |y|
30
+ batch_enum.each do |batch|
31
+ y << self.class.new([batch], size: batch.size)
32
+ end
33
+ end
34
+ end
35
+
36
+ # @deprecated
37
+ # @api private
38
+ def [](index)
39
+ if @size
40
+ @batches[0][index]
41
+ else
42
+ raise "unable to index into a lazy loaded collection"
43
+ end
44
+ end
45
+ deprecated :[]
46
+
47
+ # @return [Enumerator<Band>]
48
+ def each(&block)
49
+ enum = ::Enumerator.new do |y|
50
+ batch_enum.each do |batch|
51
+ batch.each do |band|
52
+ y.yield(band)
53
+ end
54
+ end
55
+ end
56
+ enum.each(&block) if block
57
+ enum
58
+ end
59
+
60
+ # @param [Integer] count
61
+ # @return [Resource, Collection]
62
+ def first(count = nil)
63
+ if count
64
+ items = limit(count).to_a
65
+ self.class.new([items], size: items.size)
66
+ else
67
+ begin
68
+ each.next
69
+ rescue StopIteration
70
+ nil
71
+ end
72
+ end
73
+ end
74
+
75
+ # Returns a new collection that will enumerate a limited number of items.
76
+ #
77
+ # collection.limit(10).each do |band|
78
+ # # yields at most 10 times
79
+ # end
80
+ #
81
+ # @return [Collection]
82
+ # @param [Integer] limit
83
+ def limit(limit)
84
+ Collection.new(@batches, limit: limit)
85
+ end
86
+
87
+ private
88
+
89
+ def batch_enum
90
+ case @limit
91
+ when 0 then []
92
+ when nil then non_empty_batches
93
+ else limited_batches
94
+ end
95
+ end
96
+
97
+ def non_empty_batches
98
+ ::Enumerator.new do |y|
99
+ @batches.each do |batch|
100
+ y.yield(batch) if batch.size > 0
101
+ end
102
+ end
103
+ end
104
+
105
+ def limited_batches
106
+ ::Enumerator.new do |y|
107
+ yielded = 0
108
+ @batches.each do |batch|
109
+ batch = batch.take(@limit - yielded)
110
+ if batch.size > 0
111
+ y.yield(batch)
112
+ yielded += batch.size
113
+ end
114
+ break if yielded == @limit
115
+ end
116
+ end
117
+ end
118
+
119
+ end
120
+ end
121
+ end