aws-sdk-core 2.11.391 → 3.70.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1180) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -555
  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 +5 -9
  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 -1055
  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 -2171
  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 -830
  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 -1348
  206. data/apis/ce/2017-10-25/examples-1.json +0 -5
  207. data/apis/ce/2017-10-25/paginators-1.json +0 -14
  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 -1048
  284. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  285. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -28
  286. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  287. data/apis/codebuild/2016-10-06/api-2.json +0 -1290
  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-notifications/2019-10-15/api-2.json +0 -724
  305. data/apis/codestar-notifications/2019-10-15/examples-1.json +0 -5
  306. data/apis/codestar-notifications/2019-10-15/paginators-1.json +0 -22
  307. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  308. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  309. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  310. data/apis/codestar/2017-04-19/smoke.json +0 -11
  311. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1053
  312. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  313. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  314. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5371
  315. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  316. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -58
  317. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  318. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  319. data/apis/comprehend/2017-11-27/api-2.json +0 -2361
  320. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  321. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  322. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -681
  323. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  324. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  325. data/apis/config/2014-11-12/api-2.json +0 -3496
  326. data/apis/config/2014-11-12/examples-1.json +0 -5
  327. data/apis/config/2014-11-12/paginators-1.json +0 -21
  328. data/apis/config/2014-11-12/smoke.json +0 -19
  329. data/apis/connect/2017-08-08/api-2.json +0 -1926
  330. data/apis/connect/2017-08-08/examples-1.json +0 -5
  331. data/apis/connect/2017-08-08/paginators-1.json +0 -62
  332. data/apis/cur/2017-01-06/api-2.json +0 -277
  333. data/apis/cur/2017-01-06/examples-1.json +0 -102
  334. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  335. data/apis/cur/2017-01-06/smoke.json +0 -11
  336. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  337. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  338. data/apis/datasync/2018-11-09/api-2.json +0 -1337
  339. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  340. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  341. data/apis/dax/2017-04-19/api-2.json +0 -1140
  342. data/apis/dax/2017-04-19/examples-1.json +0 -5
  343. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  344. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  345. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  346. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  347. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  348. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  349. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  350. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  351. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  352. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  353. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  354. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  355. data/apis/discovery/2015-11-01/smoke.json +0 -11
  356. data/apis/dlm/2018-01-12/api-2.json +0 -444
  357. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  358. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  359. data/apis/dms/2016-01-01/api-2.json +0 -2296
  360. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  361. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  362. data/apis/dms/2016-01-01/smoke.json +0 -18
  363. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  364. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  365. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  366. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  367. data/apis/docdb/2014-10-31/smoke.json +0 -18
  368. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  369. data/apis/ds/2015-04-16/api-2.json +0 -2634
  370. data/apis/ds/2015-04-16/examples-1.json +0 -5
  371. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  372. data/apis/ds/2015-04-16/smoke.json +0 -20
  373. data/apis/dynamodb/2011-12-05/api-2.json +0 -803
  374. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  375. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  376. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  377. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  378. data/apis/dynamodb/2012-08-10/api-2.json +0 -2802
  379. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  380. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  381. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  382. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  383. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  384. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  385. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  386. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  387. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  388. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  389. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  390. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  391. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  392. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  393. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  394. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  395. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  396. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  397. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  398. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  399. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  400. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  401. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  402. data/apis/ec2/2016-11-15/api-2.json +0 -25611
  403. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  404. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  405. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  406. data/apis/ec2/2016-11-15/smoke.json +0 -20
  407. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  408. data/apis/ecr/2015-09-21/api-2.json +0 -1615
  409. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  410. data/apis/ecr/2015-09-21/paginators-1.json +0 -48
  411. data/apis/ecr/2015-09-21/smoke.json +0 -18
  412. data/apis/ecs/2014-11-13/api-2.json +0 -2902
  413. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  414. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  415. data/apis/ecs/2014-11-13/smoke.json +0 -18
  416. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  417. data/apis/eks/2017-11-01/api-2.json +0 -750
  418. data/apis/eks/2017-11-01/examples-1.json +0 -114
  419. data/apis/eks/2017-11-01/paginators-1.json +0 -16
  420. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  421. data/apis/elasticache/2015-02-02/api-2.json +0 -3301
  422. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  423. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  424. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  425. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  426. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  427. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  428. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  429. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  430. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -897
  431. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  432. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  433. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  434. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  435. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  436. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  437. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  438. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  439. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  440. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  441. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  442. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  443. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  444. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  445. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  446. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  447. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  448. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  449. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  450. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  451. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  452. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  453. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  454. data/apis/email/2010-12-01/api-2.json +0 -3182
  455. data/apis/email/2010-12-01/examples-1.json +0 -1021
  456. data/apis/email/2010-12-01/paginators-1.json +0 -18
  457. data/apis/email/2010-12-01/smoke.json +0 -18
  458. data/apis/email/2010-12-01/waiters-2.json +0 -18
  459. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  460. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  461. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  462. data/apis/es/2015-01-01/api-2.json +0 -1572
  463. data/apis/es/2015-01-01/examples-1.json +0 -5
  464. data/apis/es/2015-01-01/paginators-1.json +0 -29
  465. data/apis/es/2015-01-01/smoke.json +0 -18
  466. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  467. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  468. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  469. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  470. data/apis/events/2015-10-07/api-2.json +0 -1462
  471. data/apis/events/2015-10-07/examples-1.json +0 -5
  472. data/apis/events/2015-10-07/paginators-1.json +0 -4
  473. data/apis/events/2015-10-07/smoke.json +0 -18
  474. data/apis/firehose/2015-08-04/api-2.json +0 -1383
  475. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  476. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  477. data/apis/firehose/2015-08-04/smoke.json +0 -18
  478. data/apis/fms/2018-01-01/api-2.json +0 -701
  479. data/apis/fms/2018-01-01/examples-1.json +0 -5
  480. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  481. data/apis/forecast/2018-06-26/api-2.json +0 -1373
  482. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  483. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  484. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  485. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  486. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  487. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  488. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  489. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  490. data/apis/gamelift/2015-10-01/api-2.json +0 -3495
  491. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  492. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  493. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  494. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  495. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  496. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  497. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  498. data/apis/glacier/2012-06-01/smoke.json +0 -18
  499. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  500. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  501. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  502. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  503. data/apis/glue/2017-03-31/api-2.json +0 -6297
  504. data/apis/glue/2017-03-31/examples-1.json +0 -5
  505. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  506. data/apis/glue/2017-03-31/smoke.json +0 -11
  507. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  508. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  509. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  510. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  511. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  512. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  513. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  514. data/apis/health/2016-08-04/api-2.json +0 -554
  515. data/apis/health/2016-08-04/examples-1.json +0 -5
  516. data/apis/health/2016-08-04/paginators-1.json +0 -31
  517. data/apis/health/2016-08-04/smoke.json +0 -11
  518. data/apis/iam/2010-05-08/api-2.json +0 -5778
  519. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  520. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  521. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  522. data/apis/iam/2010-05-08/smoke.json +0 -18
  523. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  524. data/apis/importexport/2010-06-01/api-2.json +0 -667
  525. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  526. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  527. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  528. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  529. data/apis/inspector/2016-02-16/smoke.json +0 -18
  530. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  531. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  532. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  533. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  534. data/apis/iot/2015-05-28/api-2.json +0 -9676
  535. data/apis/iot/2015-05-28/examples-1.json +0 -5
  536. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  537. data/apis/iot/2015-05-28/smoke.json +0 -18
  538. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  539. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  540. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  541. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  542. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2223
  543. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  544. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  545. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  546. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  547. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  548. data/apis/iotevents/2018-07-27/api-2.json +0 -1144
  549. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  550. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  551. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  552. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  553. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  554. data/apis/kafka/2018-11-14/api-2.json +0 -1950
  555. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  556. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -418
  557. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  558. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  559. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  560. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  561. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  562. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  563. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  564. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  565. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  566. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  567. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  568. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  569. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  570. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  571. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  572. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  573. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  574. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  575. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  576. data/apis/kms/2014-11-01/api-2.json +0 -1834
  577. data/apis/kms/2014-11-01/examples-1.json +0 -906
  578. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  579. data/apis/kms/2014-11-01/smoke.json +0 -19
  580. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  581. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  582. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  583. data/apis/lambda/2014-11-11/api-2.json +0 -668
  584. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  585. data/apis/lambda/2015-03-31/api-2.json +0 -2353
  586. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  587. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  588. data/apis/lambda/2015-03-31/smoke.json +0 -18
  589. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  590. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  591. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  592. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  593. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  594. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  595. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  596. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  597. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  598. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  599. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  600. data/apis/logs/2014-03-28/api-2.json +0 -1701
  601. data/apis/logs/2014-03-28/examples-1.json +0 -5
  602. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  603. data/apis/logs/2014-03-28/smoke.json +0 -19
  604. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  605. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  606. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  607. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  608. data/apis/macie/2017-12-19/api-2.json +0 -365
  609. data/apis/macie/2017-12-19/examples-1.json +0 -5
  610. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  611. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  612. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  613. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  614. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -176
  615. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  616. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  617. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  618. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  619. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  620. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8350
  621. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  622. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  623. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  624. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  625. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
  626. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  627. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  628. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  629. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  630. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  631. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  632. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  633. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  634. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  635. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  636. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  637. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
  638. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  639. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  640. data/apis/mobile/2017-07-01/api-2.json +0 -551
  641. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  642. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  643. data/apis/monitoring/2010-08-01/api-2.json +0 -1526
  644. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  645. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  646. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  647. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  648. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  649. data/apis/mq/2017-11-27/api-2.json +0 -2538
  650. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  651. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  652. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  653. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  654. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  655. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  656. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  657. data/apis/neptune/2014-10-31/smoke.json +0 -18
  658. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  659. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  660. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  661. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  662. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  663. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  664. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  665. data/apis/opsworkscm/2016-11-01/api-2.json +0 -817
  666. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  667. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  668. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  669. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  670. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  671. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  672. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  673. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  674. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  675. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  676. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  677. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  678. data/apis/personalize/2018-05-22/api-2.json +0 -1712
  679. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  680. data/apis/personalize/2018-05-22/paginators-1.json +0 -58
  681. data/apis/pi/2018-02-27/api-2.json +0 -253
  682. data/apis/pi/2018-02-27/examples-1.json +0 -5
  683. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  684. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  685. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  686. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  687. data/apis/pinpoint/2016-12-01/api-2.json +0 -10826
  688. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  689. data/apis/polly/2016-06-10/api-2.json +0 -832
  690. data/apis/polly/2016-06-10/examples-1.json +0 -171
  691. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  692. data/apis/polly/2016-06-10/smoke.json +0 -11
  693. data/apis/pricing/2017-10-15/api-2.json +0 -227
  694. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  695. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  696. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  697. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  698. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  699. data/apis/qldb/2019-01-02/api-2.json +0 -776
  700. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  701. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  702. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  703. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  704. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  705. data/apis/ram/2018-01-04/api-2.json +0 -1021
  706. data/apis/ram/2018-01-04/examples-1.json +0 -5
  707. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  708. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  709. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  710. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  711. data/apis/rds/2013-01-10/api-2.json +0 -2903
  712. data/apis/rds/2013-01-10/examples-1.json +0 -5
  713. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  714. data/apis/rds/2013-01-10/smoke.json +0 -18
  715. data/apis/rds/2013-02-12/api-2.json +0 -3059
  716. data/apis/rds/2013-02-12/examples-1.json +0 -5
  717. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  718. data/apis/rds/2013-02-12/smoke.json +0 -18
  719. data/apis/rds/2013-09-09/api-2.json +0 -3160
  720. data/apis/rds/2013-09-09/examples-1.json +0 -5
  721. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  722. data/apis/rds/2013-09-09/smoke.json +0 -18
  723. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  724. data/apis/rds/2014-09-01/api-2.json +0 -3273
  725. data/apis/rds/2014-09-01/examples-1.json +0 -5
  726. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  727. data/apis/rds/2014-09-01/smoke.json +0 -18
  728. data/apis/rds/2014-10-31/api-2.json +0 -6880
  729. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  730. data/apis/rds/2014-10-31/paginators-1.json +0 -140
  731. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  732. data/apis/rds/2014-10-31/smoke.json +0 -18
  733. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  734. data/apis/rds/2015-11-12/api-2.json +0 -5509
  735. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  736. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  737. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  738. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  739. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  740. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  741. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  742. data/apis/redshift/2012-12-01/smoke.json +0 -18
  743. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  744. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  745. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  746. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  747. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  748. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  749. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  750. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  751. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  752. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  753. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  754. data/apis/robomaker/2018-06-29/api-2.json +0 -2160
  755. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  756. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  757. data/apis/route53/2013-04-01/api-2.json +0 -3780
  758. data/apis/route53/2013-04-01/examples-1.json +0 -762
  759. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  760. data/apis/route53/2013-04-01/smoke.json +0 -18
  761. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  762. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  763. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  764. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  765. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  766. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  767. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  768. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  769. data/apis/runtime.lex/2016-11-28/api-2.json +0 -693
  770. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  771. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  772. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  773. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  774. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  775. data/apis/s3/2006-03-01/api-2.json +0 -6587
  776. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  777. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  778. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  779. data/apis/s3/2006-03-01/smoke.json +0 -11
  780. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  781. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  782. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  783. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  784. data/apis/sagemaker/2017-07-24/api-2.json +0 -5281
  785. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  786. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  787. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  788. data/apis/savingsplans/2019-06-28/api-2.json +0 -749
  789. data/apis/savingsplans/2019-06-28/examples-1.json +0 -5
  790. data/apis/savingsplans/2019-06-28/paginators-1.json +0 -4
  791. data/apis/sdb/2009-04-15/api-2.json +0 -955
  792. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  793. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  794. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  795. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  796. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  797. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  798. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  799. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  800. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  801. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  802. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  803. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  804. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  805. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  806. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  807. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  808. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  809. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  810. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  811. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  812. data/apis/shield/2016-06-02/api-2.json +0 -893
  813. data/apis/shield/2016-06-02/examples-1.json +0 -5
  814. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  815. data/apis/shield/2016-06-02/smoke.json +0 -11
  816. data/apis/signer/2017-08-25/api-2.json +0 -817
  817. data/apis/signer/2017-08-25/examples-1.json +0 -5
  818. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  819. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  820. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  821. data/apis/sms/2016-10-24/api-2.json +0 -1366
  822. data/apis/sms/2016-10-24/examples-1.json +0 -5
  823. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  824. data/apis/sms/2016-10-24/smoke.json +0 -18
  825. data/apis/snowball/2016-06-30/api-2.json +0 -955
  826. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  827. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  828. data/apis/snowball/2016-06-30/smoke.json +0 -11
  829. data/apis/sns/2010-03-31/api-2.json +0 -1468
  830. data/apis/sns/2010-03-31/examples-1.json +0 -5
  831. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  832. data/apis/sns/2010-03-31/resources-1.json +0 -327
  833. data/apis/sns/2010-03-31/smoke.json +0 -19
  834. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  835. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  836. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  837. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  838. data/apis/sqs/2012-11-05/smoke.json +0 -18
  839. data/apis/ssm/2014-11-06/api-2.json +0 -8916
  840. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  841. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  842. data/apis/ssm/2014-11-06/smoke.json +0 -18
  843. data/apis/states/2016-11-23/api-2.json +0 -1409
  844. data/apis/states/2016-11-23/examples-1.json +0 -5
  845. data/apis/states/2016-11-23/paginators-1.json +0 -28
  846. data/apis/states/2016-11-23/smoke.json +0 -11
  847. data/apis/storagegateway/2013-06-30/api-2.json +0 -3166
  848. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  849. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  850. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  851. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  852. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  853. data/apis/sts/2011-06-15/api-2.json +0 -562
  854. data/apis/sts/2011-06-15/examples-1.json +0 -207
  855. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  856. data/apis/sts/2011-06-15/smoke.json +0 -19
  857. data/apis/support/2013-04-15/api-2.json +0 -773
  858. data/apis/support/2013-04-15/examples-1.json +0 -5
  859. data/apis/support/2013-04-15/paginators-1.json +0 -25
  860. data/apis/support/2013-04-15/smoke.json +0 -22
  861. data/apis/swf/2012-01-25/api-2.json +0 -2792
  862. data/apis/swf/2012-01-25/examples-1.json +0 -5
  863. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  864. data/apis/textract/2018-06-27/api-2.json +0 -572
  865. data/apis/textract/2018-06-27/examples-1.json +0 -5
  866. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  867. data/apis/transcribe-streaming/2017-10-26/api-2.json +0 -262
  868. data/apis/transcribe-streaming/2017-10-26/examples-1.json +0 -5
  869. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +0 -4
  870. data/apis/transcribe/2017-10-26/api-2.json +0 -516
  871. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  872. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  873. data/apis/transfer/2018-11-05/api-2.json +0 -940
  874. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  875. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  876. data/apis/translate/2017-07-01/api-2.json +0 -408
  877. data/apis/translate/2017-07-01/examples-1.json +0 -5
  878. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  879. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  880. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  881. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  882. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  883. data/apis/waf/2015-08-24/api-2.json +0 -3857
  884. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  885. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  886. data/apis/waf/2015-08-24/smoke.json +0 -21
  887. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  888. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  889. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  890. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  891. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  892. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  893. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  894. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  895. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  896. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  897. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  898. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  899. data/apis/workspaces/2015-04-08/api-2.json +0 -1764
  900. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  901. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  902. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  903. data/apis/xray/2016-04-12/api-2.json +0 -1352
  904. data/apis/xray/2016-04-12/examples-1.json +0 -5
  905. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  906. data/bin/aws.rb +0 -180
  907. data/endpoints.json +0 -5463
  908. data/lib/aws-sdk-core/acm.rb +0 -7
  909. data/lib/aws-sdk-core/acmpca.rb +0 -7
  910. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  911. data/lib/aws-sdk-core/amplify.rb +0 -6
  912. data/lib/aws-sdk-core/api/builder.rb +0 -129
  913. data/lib/aws-sdk-core/api/customizations.rb +0 -303
  914. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  915. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  916. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  917. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  918. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  919. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  920. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  921. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  922. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  923. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  924. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  925. data/lib/aws-sdk-core/apigateway.rb +0 -6
  926. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  927. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  928. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  929. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  930. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  931. data/lib/aws-sdk-core/appmesh.rb +0 -6
  932. data/lib/aws-sdk-core/appstream.rb +0 -7
  933. data/lib/aws-sdk-core/appsync.rb +0 -6
  934. data/lib/aws-sdk-core/athena.rb +0 -6
  935. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  936. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  937. data/lib/aws-sdk-core/backup.rb +0 -6
  938. data/lib/aws-sdk-core/batch.rb +0 -6
  939. data/lib/aws-sdk-core/budgets.rb +0 -6
  940. data/lib/aws-sdk-core/checksums.rb +0 -51
  941. data/lib/aws-sdk-core/chime.rb +0 -6
  942. data/lib/aws-sdk-core/client.rb +0 -62
  943. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  944. data/lib/aws-sdk-core/cloud9.rb +0 -6
  945. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  946. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  947. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  948. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  949. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  950. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  951. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  952. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  953. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  954. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  955. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  956. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  957. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  958. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  959. data/lib/aws-sdk-core/codebuild.rb +0 -6
  960. data/lib/aws-sdk-core/codecommit.rb +0 -6
  961. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  962. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  963. data/lib/aws-sdk-core/codestar.rb +0 -6
  964. data/lib/aws-sdk-core/codestarnotifications.rb +0 -6
  965. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  966. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  967. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  968. data/lib/aws-sdk-core/comprehend.rb +0 -6
  969. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  970. data/lib/aws-sdk-core/configservice.rb +0 -6
  971. data/lib/aws-sdk-core/connect.rb +0 -6
  972. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  973. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  974. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  975. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  976. data/lib/aws-sdk-core/datasync.rb +0 -6
  977. data/lib/aws-sdk-core/dax.rb +0 -6
  978. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  979. data/lib/aws-sdk-core/directconnect.rb +0 -6
  980. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  981. data/lib/aws-sdk-core/dlm.rb +0 -6
  982. data/lib/aws-sdk-core/docdb.rb +0 -7
  983. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  984. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  985. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  986. data/lib/aws-sdk-core/ec2.rb +0 -8
  987. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  988. data/lib/aws-sdk-core/ecr.rb +0 -6
  989. data/lib/aws-sdk-core/ecs.rb +0 -7
  990. data/lib/aws-sdk-core/efs.rb +0 -6
  991. data/lib/aws-sdk-core/eks.rb +0 -7
  992. data/lib/aws-sdk-core/elasticache.rb +0 -7
  993. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  994. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  995. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  996. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  997. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  998. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  999. data/lib/aws-sdk-core/emr.rb +0 -7
  1000. data/lib/aws-sdk-core/endpoint_provider.rb +0 -131
  1001. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  1002. data/lib/aws-sdk-core/firehose.rb +0 -6
  1003. data/lib/aws-sdk-core/fms.rb +0 -6
  1004. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  1005. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  1006. data/lib/aws-sdk-core/fsx.rb +0 -6
  1007. data/lib/aws-sdk-core/gamelift.rb +0 -6
  1008. data/lib/aws-sdk-core/glacier.rb +0 -8
  1009. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  1010. data/lib/aws-sdk-core/glue.rb +0 -6
  1011. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1012. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1013. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1014. data/lib/aws-sdk-core/health.rb +0 -6
  1015. data/lib/aws-sdk-core/iam.rb +0 -8
  1016. data/lib/aws-sdk-core/importexport.rb +0 -5
  1017. data/lib/aws-sdk-core/inspector.rb +0 -6
  1018. data/lib/aws-sdk-core/iot.rb +0 -6
  1019. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1020. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1021. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1022. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1023. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1024. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1025. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1026. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1027. data/lib/aws-sdk-core/kafka.rb +0 -5
  1028. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1029. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1030. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1031. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1032. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1033. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1034. data/lib/aws-sdk-core/kms.rb +0 -6
  1035. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1036. data/lib/aws-sdk-core/lambda.rb +0 -7
  1037. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1038. data/lib/aws-sdk-core/lex.rb +0 -6
  1039. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1040. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1041. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1042. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1043. data/lib/aws-sdk-core/macie.rb +0 -6
  1044. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1045. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1046. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1047. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1048. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1049. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1050. data/lib/aws-sdk-core/medialive.rb +0 -6
  1051. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1052. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1053. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1054. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1055. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1056. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1057. data/lib/aws-sdk-core/mobile.rb +0 -6
  1058. data/lib/aws-sdk-core/mq.rb +0 -5
  1059. data/lib/aws-sdk-core/mturk.rb +0 -6
  1060. data/lib/aws-sdk-core/neptune.rb +0 -7
  1061. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1062. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1063. data/lib/aws-sdk-core/organizations.rb +0 -6
  1064. data/lib/aws-sdk-core/partitions.rb +0 -174
  1065. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1066. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1067. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1068. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1069. data/lib/aws-sdk-core/personalize.rb +0 -6
  1070. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1071. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1072. data/lib/aws-sdk-core/pi.rb +0 -6
  1073. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1074. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1075. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1076. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1077. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1078. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1079. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1080. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1081. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1082. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1083. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1084. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1085. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1086. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1087. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1088. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1089. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1090. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1091. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1092. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1093. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1094. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1095. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1096. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1097. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1098. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1099. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1100. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1101. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1102. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1103. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1104. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1105. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1106. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1107. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1108. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1109. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1110. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +0 -30
  1111. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1112. data/lib/aws-sdk-core/polly.rb +0 -14
  1113. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1114. data/lib/aws-sdk-core/pricing.rb +0 -6
  1115. data/lib/aws-sdk-core/qldb.rb +0 -6
  1116. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1117. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1118. data/lib/aws-sdk-core/ram.rb +0 -6
  1119. data/lib/aws-sdk-core/rds.rb +0 -16
  1120. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1121. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1122. data/lib/aws-sdk-core/redshift.rb +0 -7
  1123. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1124. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1125. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1126. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1127. data/lib/aws-sdk-core/route53.rb +0 -7
  1128. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1129. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1130. data/lib/aws-sdk-core/s3.rb +0 -26
  1131. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1132. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1133. data/lib/aws-sdk-core/s3control.rb +0 -6
  1134. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1135. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1136. data/lib/aws-sdk-core/savingsplans.rb +0 -6
  1137. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1138. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1139. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1140. data/lib/aws-sdk-core/service.rb +0 -4
  1141. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1142. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1143. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1144. data/lib/aws-sdk-core/ses.rb +0 -7
  1145. data/lib/aws-sdk-core/shield.rb +0 -6
  1146. data/lib/aws-sdk-core/signer.rb +0 -7
  1147. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1148. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1149. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1150. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1151. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1152. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1153. data/lib/aws-sdk-core/sms.rb +0 -6
  1154. data/lib/aws-sdk-core/snowball.rb +0 -6
  1155. data/lib/aws-sdk-core/sns.rb +0 -7
  1156. data/lib/aws-sdk-core/sqs.rb +0 -7
  1157. data/lib/aws-sdk-core/ssm.rb +0 -6
  1158. data/lib/aws-sdk-core/states.rb +0 -6
  1159. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1160. data/lib/aws-sdk-core/sts.rb +0 -6
  1161. data/lib/aws-sdk-core/support.rb +0 -6
  1162. data/lib/aws-sdk-core/swf.rb +0 -6
  1163. data/lib/aws-sdk-core/textract.rb +0 -6
  1164. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1165. data/lib/aws-sdk-core/transfer.rb +0 -6
  1166. data/lib/aws-sdk-core/translate.rb +0 -6
  1167. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1168. data/lib/aws-sdk-core/version.rb +0 -3
  1169. data/lib/aws-sdk-core/waf.rb +0 -6
  1170. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1171. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1172. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1173. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1174. data/lib/aws-sdk-core/worklink.rb +0 -6
  1175. data/lib/aws-sdk-core/workmail.rb +0 -6
  1176. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1177. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1178. data/lib/aws-sdk-core/xray.rb +0 -6
  1179. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1180. data/service-models.json +0 -777
@@ -0,0 +1,10 @@
1
+ require_relative 'rest/handler'
2
+ require_relative 'rest/request/body'
3
+ require_relative 'rest/request/builder'
4
+ require_relative 'rest/request/endpoint'
5
+ require_relative 'rest/request/headers'
6
+ require_relative 'rest/request/querystring_builder'
7
+ require_relative 'rest/response/body'
8
+ require_relative 'rest/response/headers'
9
+ require_relative 'rest/response/parser'
10
+ require_relative 'rest/response/status_code'
@@ -1,4 +1,5 @@
1
1
  module Aws
2
+ # @api private
2
3
  module Rest
3
4
  class Handler < Seahorse::Client::Handler
4
5
 
@@ -31,7 +31,7 @@ module Aws
31
31
  def populate_body(context)
32
32
  Body.new(
33
33
  serializer_class(context),
34
- context.operation.input,
34
+ context.operation.input
35
35
  ).apply(context.http_request, context.params)
36
36
  end
37
37
 
@@ -40,6 +40,7 @@ module Aws
40
40
  case protocol
41
41
  when 'rest-xml' then Xml::Builder
42
42
  when 'rest-json' then Json::Builder
43
+ when 'api-gateway' then Json::Builder
43
44
  else raise "unsupported protocol #{protocol}"
44
45
  end
45
46
  end
@@ -49,11 +49,11 @@ module Aws
49
49
 
50
50
  def apply_querystring_params(uri, params)
51
51
  # collect params that are supposed to be part of the query string
52
- parts = @rules.shape.members.inject([]) do |parts, (member_name, member_ref)|
52
+ parts = @rules.shape.members.inject([]) do |prts, (member_name, member_ref)|
53
53
  if member_ref.location == 'querystring' && !params[member_name].nil?
54
- parts << [member_ref, params[member_name]]
54
+ prts << [member_ref, params[member_name]]
55
55
  end
56
- parts
56
+ prts
57
57
  end
58
58
  querystring = QuerystringBuilder.new.build(parts)
59
59
  querystring = [@query_prefix, querystring == '' ? nil : querystring].compact.join('&')
@@ -32,11 +32,21 @@ module Aws
32
32
  value = apply_json_trait(value) if ref['jsonvalue']
33
33
  headers[ref.location_name] =
34
34
  case ref.shape
35
- when TimestampShape then value.utc.httpdate
35
+ when TimestampShape then timestamp(ref, value)
36
36
  else value.to_s
37
37
  end
38
38
  end
39
39
 
40
+ def timestamp(ref, value)
41
+ case ref['timestampFormat'] || ref.shape['timestampFormat']
42
+ when 'unixTimestamp' then value.to_i
43
+ when 'iso8601' then value.utc.iso8601
44
+ else
45
+ # header default to rfc822
46
+ value.utc.httpdate
47
+ end
48
+ end
49
+
40
50
  def apply_header_map(headers, ref, values)
41
51
  prefix = ref.location_name || ''
42
52
  values.each_pair do |name, value|
@@ -34,6 +34,9 @@ module Aws
34
34
  when StringShape, BooleanShape, FloatShape, IntegerShape, StringShape
35
35
  param_name = shape_ref.location_name
36
36
  "#{param_name}=#{escape(param_value.to_s)}"
37
+ when TimestampShape
38
+ param_name = shape_ref.location_name
39
+ "#{param_name}=#{escape(timestamp(shape_ref, param_value))}"
37
40
  when MapShape
38
41
  if StringShape === shape_ref.shape.value.shape
39
42
  query_map_of_string(param_value)
@@ -56,6 +59,16 @@ module Aws
56
59
  end
57
60
  end
58
61
 
62
+ def timestamp(ref, value)
63
+ case ref['timestampFormat'] || ref.shape['timestampFormat']
64
+ when 'unixTimestamp' then value.to_i
65
+ when 'rfc822' then value.utc.httpdate
66
+ else
67
+ # querystring defaults to iso8601
68
+ value.utc.iso8601
69
+ end
70
+ end
71
+
59
72
  def query_map_of_string(hash)
60
73
  list = []
61
74
  hash.each_pair do |key, value|
@@ -15,7 +15,9 @@ module Aws
15
15
  # @param [IO] body
16
16
  # @param [Hash, Struct] data
17
17
  def apply(body, data)
18
- if streaming?
18
+ if event_stream?
19
+ data[@rules[:payload]] = parse_eventstream(body)
20
+ elsif streaming?
19
21
  data[@rules[:payload]] = body
20
22
  elsif @rules[:payload]
21
23
  data[@rules[:payload]] = parse(body.read, @rules[:payload_member])
@@ -26,6 +28,10 @@ module Aws
26
28
 
27
29
  private
28
30
 
31
+ def event_stream?
32
+ @rules[:payload] && @rules[:payload_member].eventstream
33
+ end
34
+
29
35
  def streaming?
30
36
  @rules[:payload] && (
31
37
  BlobShape === @rules[:payload_member].shape ||
@@ -37,6 +43,13 @@ module Aws
37
43
  @parser_class.new(rules).parse(body, target) if body.size > 0
38
44
  end
39
45
 
46
+ def parse_eventstream(body)
47
+ # body contains an array of parsed event when they arrive
48
+ @rules[:payload_member].shape.struct_class.new do |payload|
49
+ body.each { |event| payload << event }
50
+ end
51
+ end
52
+
40
53
  end
41
54
  end
42
55
  end
@@ -42,6 +42,8 @@ module Aws
42
42
  when TimestampShape
43
43
  if value =~ /\d+(\.\d*)/
44
44
  Time.at(value.to_f)
45
+ elsif value =~ /^\d+$/
46
+ Time.at(value.to_i)
45
47
  else
46
48
  begin
47
49
  Time.parse(value)
@@ -5,31 +5,34 @@ module Aws
5
5
 
6
6
  def apply(response)
7
7
  # TODO : remove this unless check once response stubbing is fixed
8
- unless response.data
9
- response.data = response.context.operation.output[:struct_class].new
8
+ if rules = response.context.operation.output
9
+ response.data = rules.shape.struct_class.new
10
+ extract_status_code(rules, response)
11
+ extract_headers(rules, response)
12
+ extract_body(rules, response)
13
+ else
14
+ response.data = EmptyStructure.new
10
15
  end
11
- extract_status_code(response)
12
- extract_headers(response)
13
- extract_body(response)
14
16
  end
15
17
 
16
18
  private
17
19
 
18
- def extract_status_code(response)
19
- status_code = StatusCode.new(response.context.operation.output)
20
+ def extract_status_code(rules, response)
21
+ status_code = StatusCode.new(rules)
20
22
  status_code.apply(response.context.http_response, response.data)
21
23
  end
22
24
 
23
- def extract_headers(response)
24
- headers = Headers.new(response.context.operation.output)
25
+ def extract_headers(rules, response)
26
+ headers = Headers.new(rules)
25
27
  headers.apply(response.context.http_response, response.data)
26
28
  end
27
29
 
28
- def extract_body(response)
29
- Body.new(
30
- parser_class(response),
31
- response.context.operation.output,
32
- ).apply(response.context.http_response.body, response.data)
30
+ def extract_body(rules, response)
31
+ Body.new(parser_class(response), rules).
32
+ apply(
33
+ response.context.http_response.body,
34
+ response.data
35
+ )
33
36
  end
34
37
 
35
38
  def parser_class(response)
@@ -37,6 +40,7 @@ module Aws
37
40
  case protocol
38
41
  when 'rest-xml' then Xml::Parser
39
42
  when 'rest-json' then Json::Parser
43
+ when 'api-gateway' then Json::Parser
40
44
  else raise "unsupported protocol #{protocol}"
41
45
  end
42
46
  end
@@ -20,7 +20,11 @@ module Aws
20
20
  # `~/.aws/credentials`) and the shared config file (the default path for
21
21
  # which is `~/.aws/config`) are loaded. However, if you set the
22
22
  # `ENV['AWS_SDK_CONFIG_OPT_OUT']` environment variable, only the shared
23
- # credential file will be loaded.
23
+ # credential file will be loaded. You can specify the shared credential
24
+ # file path with the `ENV['AWS_SHARED_CREDENTIALS_FILE']` environment
25
+ # variable or with the `:credentials_path` option. Similarly, you can
26
+ # specify the shared config file path with the `ENV['AWS_CONFIG_FILE']`
27
+ # environment variable or with the `:config_path` option.
24
28
  #
25
29
  # The default profile name is 'default'. You can specify the profile name
26
30
  # with the `ENV['AWS_PROFILE']` environment variable or with the
@@ -28,9 +32,11 @@ module Aws
28
32
  #
29
33
  # @param [Hash] options
30
34
  # @option options [String] :credentials_path Path to the shared credentials
31
- # file. Defaults to "#{Dir.home}/.aws/credentials".
35
+ # file. If not specified, will check `ENV['AWS_SHARED_CREDENTIALS_FILE']`
36
+ # before using the default value of "#{Dir.home}/.aws/credentials".
32
37
  # @option options [String] :config_path Path to the shared config file.
33
- # Defaults to "#{Dir.home}/.aws/config".
38
+ # If not specified, will check `ENV['AWS_CONFIG_FILE']` before using the
39
+ # default value of "#{Dir.home}/.aws/config".
34
40
  # @option options [String] :profile_name The credential/config profile name
35
41
  # to use. If not specified, will check `ENV['AWS_PROFILE']` before using
36
42
  # the fixed default value of 'default'.
@@ -38,6 +44,7 @@ module Aws
38
44
  # file and enables new config values outside of the old shared credential
39
45
  # spec.
40
46
  def initialize(options = {})
47
+ @parsed_config = nil
41
48
  @profile_name = determine_profile(options)
42
49
  @config_enabled = options[:config_enabled]
43
50
  @credentials_path = options[:credentials_path] ||
@@ -84,7 +91,7 @@ module Aws
84
91
 
85
92
  # Sources static credentials from shared credential/config files.
86
93
  #
87
- # @param [Hash] options
94
+ # @param [Hash] opts
88
95
  # @option options [String] :profile the name of the configuration file from
89
96
  # which credentials are being sourced.
90
97
  # @return [Aws::Credentials] credentials sourced from configuration values,
@@ -92,12 +99,10 @@ module Aws
92
99
  def credentials(opts = {})
93
100
  p = opts[:profile] || @profile_name
94
101
  validate_profile_exists(p) if credentials_present?
95
- if credentials = credentials_from_shared(p, opts)
102
+ if (credentials = credentials_from_shared(p, opts))
96
103
  credentials
97
- elsif credentials = credentials_from_config(p, opts)
104
+ elsif (credentials = credentials_from_config(p, opts))
98
105
  credentials
99
- else
100
- nil
101
106
  end
102
107
  end
103
108
 
@@ -106,13 +111,33 @@ module Aws
106
111
  # file, if present.
107
112
  def assume_role_credentials_from_config(opts = {})
108
113
  p = opts.delete(:profile) || @profile_name
109
- credentials = assume_role_from_profile(@parsed_credentials, p, opts)
114
+ chain_config = opts.delete(:chain_config)
115
+ credentials = assume_role_from_profile(@parsed_credentials, p, opts, chain_config)
110
116
  if @parsed_config
111
- credentials ||= assume_role_from_profile(@parsed_config, p, opts)
117
+ credentials ||= assume_role_from_profile(@parsed_config, p, opts, chain_config)
112
118
  end
113
119
  credentials
114
120
  end
115
121
 
122
+ def assume_role_web_identity_credentials_from_config(profile)
123
+ p = profile || @profile_name
124
+ if @config_enabled && @parsed_config
125
+ entry = @parsed_config.fetch(p, {})
126
+ if entry['web_identity_token_file'] &&
127
+ entry['role_arn']
128
+ AssumeRoleWebIdentityCredentials.new(
129
+ role_arn: entry['role_arn'],
130
+ web_identity_token_file: entry['web_identity_token_file'],
131
+ role_session_name: entry['role_session_name']
132
+ )
133
+ else
134
+ nil
135
+ end
136
+ else
137
+ nil
138
+ end
139
+ end
140
+
116
141
  def region(opts = {})
117
142
  p = opts[:profile] || @profile_name
118
143
  if @config_enabled
@@ -128,42 +153,103 @@ module Aws
128
153
  end
129
154
  end
130
155
 
131
- def sts_regional_endpoints(opts = {})
156
+ def endpoint_discovery(opts = {})
157
+ p = opts[:profile] || @profile_name
158
+ if @config_enabled && @parsed_config
159
+ @parsed_config.fetch(p, {})["endpoint_discovery_enabled"]
160
+ end
161
+ end
162
+
163
+ def credentials_process(profile)
164
+ validate_profile_exists(profile)
165
+ @parsed_config[profile]['credential_process']
166
+ end
167
+
168
+ def csm_enabled(opts = {})
169
+ p = opts[:profile] || @profile_name
170
+ if @config_enabled
171
+ if @parsed_credentials
172
+ value = @parsed_credentials.fetch(p, {})["csm_enabled"]
173
+ end
174
+ if @parsed_config
175
+ value ||= @parsed_config.fetch(p, {})["csm_enabled"]
176
+ end
177
+ value
178
+ else
179
+ nil
180
+ end
181
+ end
182
+
183
+ def csm_client_id(opts = {})
132
184
  p = opts[:profile] || @profile_name
133
185
  if @config_enabled
134
186
  if @parsed_credentials
135
- mode = @parsed_credentials.fetch(p, {})["sts_regional_endpoints"]
187
+ value = @parsed_credentials.fetch(p, {})["csm_client_id"]
136
188
  end
137
189
  if @parsed_config
138
- mode ||= @parsed_config.fetch(p, {})["sts_regional_endpoints"]
190
+ value ||= @parsed_config.fetch(p, {})["csm_client_id"]
139
191
  end
140
- mode
192
+ value
141
193
  else
142
194
  nil
143
195
  end
144
196
  end
145
197
 
146
- def endpoint_discovery(opts = {})
198
+ def csm_port(opts = {})
147
199
  p = opts[:profile] || @profile_name
148
- if @config_enabled && @parsed_config
149
- @parsed_config.fetch(p, {})["endpoint_discovery_enabled"]
200
+ if @config_enabled
201
+ if @parsed_credentials
202
+ value = @parsed_credentials.fetch(p, {})["csm_port"]
203
+ end
204
+ if @parsed_config
205
+ value ||= @parsed_config.fetch(p, {})["csm_port"]
206
+ end
207
+ value
208
+ else
209
+ nil
210
+ end
211
+ end
212
+
213
+ def csm_host(opts = {})
214
+ p = opts[:profile] || @profile_name
215
+ if @config_enabled
216
+ if @parsed_credentials
217
+ value = @parsed_credentials.fetch(p, {})["csm_host"]
218
+ end
219
+ if @parsed_config
220
+ value ||= @parsed_config.fetch(p, {})["csm_host"]
221
+ end
222
+ value
223
+ else
224
+ nil
150
225
  end
151
226
  end
152
227
 
153
228
  private
229
+
154
230
  def credentials_present?
155
231
  (@parsed_credentials && !@parsed_credentials.empty?) ||
156
232
  (@parsed_config && !@parsed_config.empty?)
157
233
  end
158
- def assume_role_from_profile(cfg, profile, opts)
234
+
235
+ def assume_role_from_profile(cfg, profile, opts, chain_config)
159
236
  if cfg && prof_cfg = cfg[profile]
160
237
  opts[:source_profile] ||= prof_cfg["source_profile"]
161
- if opts[:source_profile]
162
- opts[:credentials] = credentials(profile: opts[:source_profile])
238
+ credential_source = opts.delete(:credential_source)
239
+ credential_source ||= prof_cfg["credential_source"]
240
+ if opts[:source_profile] && credential_source
241
+ raise Errors::CredentialSourceConflictError.new(
242
+ "Profile #{profile} has a source_profile, and "\
243
+ "a credential_source. For assume role credentials, must "\
244
+ "provide only source_profile or credential_source, not both."
245
+ )
246
+ elsif opts[:source_profile]
247
+ opts[:credentials] = resolve_source_profile(opts[:source_profile])
163
248
  if opts[:credentials]
164
249
  opts[:role_session_name] ||= prof_cfg["role_session_name"]
165
250
  opts[:role_session_name] ||= "default_session"
166
251
  opts[:role_arn] ||= prof_cfg["role_arn"]
252
+ opts[:duration_seconds] ||= prof_cfg["duration_seconds"]
167
253
  opts[:external_id] ||= prof_cfg["external_id"]
168
254
  opts[:serial_number] ||= prof_cfg["mfa_serial"]
169
255
  opts[:profile] = opts.delete(:source_profile)
@@ -174,6 +260,26 @@ module Aws
174
260
  " source_profile does not have credentials."
175
261
  )
176
262
  end
263
+ elsif credential_source
264
+ opts[:credentials] = credentials_from_source(
265
+ credential_source,
266
+ chain_config
267
+ )
268
+ if opts[:credentials]
269
+ opts[:role_session_name] ||= prof_cfg["role_session_name"]
270
+ opts[:role_session_name] ||= "default_session"
271
+ opts[:role_arn] ||= prof_cfg["role_arn"]
272
+ opts[:duration_seconds] ||= prof_cfg["duration_seconds"]
273
+ opts[:external_id] ||= prof_cfg["external_id"]
274
+ opts[:serial_number] ||= prof_cfg["mfa_serial"]
275
+ opts.delete(:source_profile) # Cleanup
276
+ AssumeRoleCredentials.new(opts)
277
+ else
278
+ raise Errors::NoSourceCredentials.new(
279
+ "Profile #{profile} could not get source credentials from"\
280
+ " provider #{credential_source}"
281
+ )
282
+ end
177
283
  elsif prof_cfg["role_arn"]
178
284
  raise Errors::NoSourceProfileError.new(
179
285
  "Profile #{profile} has a role_arn, but no source_profile."
@@ -186,6 +292,42 @@ module Aws
186
292
  end
187
293
  end
188
294
 
295
+ def resolve_source_profile(profile)
296
+ if (creds = credentials(profile: profile))
297
+ creds # static credentials
298
+ elsif (provider = assume_role_web_identity_credentials_from_config(profile))
299
+ if provider.credentials.set?
300
+ provider.credentials
301
+ end
302
+ elsif (provider = assume_role_process_credentials_from_config(profile))
303
+ if provider.credentials.set?
304
+ provider.credentials
305
+ end
306
+ end
307
+ end
308
+
309
+ def credentials_from_source(credential_source, config)
310
+ case credential_source
311
+ when "Ec2InstanceMetadata"
312
+ InstanceProfileCredentials.new(
313
+ retries: config ? config.instance_profile_credentials_retries : 0,
314
+ http_open_timeout: config ? config.instance_profile_credentials_timeout : 1,
315
+ http_read_timeout: config ? config.instance_profile_credentials_timeout : 1
316
+ )
317
+ when "EcsContainer"
318
+ ECSCredentials.new
319
+ else
320
+ raise Errors::InvalidCredentialSourceError.new(
321
+ "Unsupported credential_source: #{credential_source}"
322
+ )
323
+ end
324
+ end
325
+
326
+ def assume_role_process_credentials_from_config(profile)
327
+ credential_process = credentials_process(profile)
328
+ ProcessCredentials.new(credential_process) if credential_process
329
+ end
330
+
189
331
  def credentials_from_shared(profile, opts)
190
332
  if @parsed_credentials && prof_config = @parsed_credentials[profile]
191
333
  credentials_from_profile(prof_config)
@@ -230,11 +372,11 @@ module Aws
230
372
  end
231
373
 
232
374
  def determine_credentials_path
233
- default = default_shared_config_path('credentials')
375
+ ENV['AWS_SHARED_CREDENTIALS_FILE'] || default_shared_config_path('credentials')
234
376
  end
235
377
 
236
378
  def determine_config_path
237
- default = default_shared_config_path('config')
379
+ ENV['AWS_CONFIG_FILE'] || default_shared_config_path('config')
238
380
  end
239
381
 
240
382
  def default_shared_config_path(file)