aws-sdk-core 2.11.390 → 3.72.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1178) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -554
  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/endpoint_cache.rb +14 -11
  20. data/lib/aws-sdk-core/errors.rb +123 -22
  21. data/lib/aws-sdk-core/event_emitter.rb +62 -0
  22. data/lib/aws-sdk-core/ini_parser.rb +1 -0
  23. data/lib/aws-sdk-core/instance_profile_credentials.rb +4 -3
  24. data/lib/aws-sdk-core/json.rb +9 -10
  25. data/lib/aws-sdk-core/json/builder.rb +4 -2
  26. data/lib/aws-sdk-core/json/error_handler.rb +19 -2
  27. data/lib/aws-sdk-core/json/handler.rb +22 -3
  28. data/lib/aws-sdk-core/json/parser.rb +1 -1
  29. data/lib/aws-sdk-core/log/param_filter.rb +4 -3
  30. data/lib/aws-sdk-core/pageable_response.rb +1 -0
  31. data/lib/aws-sdk-core/pager.rb +30 -25
  32. data/lib/aws-sdk-core/param_converter.rb +3 -3
  33. data/lib/aws-sdk-core/param_validator.rb +60 -26
  34. data/lib/aws-sdk-core/plugins/api_key.rb +52 -0
  35. data/lib/aws-sdk-core/plugins/apig_authorizer_token.rb +30 -0
  36. data/lib/aws-sdk-core/plugins/apig_credentials_configuration.rb +34 -0
  37. data/lib/aws-sdk-core/plugins/apig_user_agent.rb +37 -0
  38. data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +280 -0
  39. data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +84 -0
  40. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -0
  41. data/lib/aws-sdk-core/plugins/endpoint_discovery.rb +43 -50
  42. data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +9 -8
  43. data/lib/aws-sdk-core/plugins/event_stream_configuration.rb +30 -0
  44. data/lib/aws-sdk-core/plugins/global_configuration.rb +19 -10
  45. data/lib/aws-sdk-core/plugins/idempotency_token.rb +1 -2
  46. data/lib/aws-sdk-core/plugins/invocation_id.rb +33 -0
  47. data/lib/aws-sdk-core/plugins/logging.rb +18 -18
  48. data/lib/aws-sdk-core/plugins/param_converter.rb +9 -5
  49. data/lib/aws-sdk-core/plugins/param_validator.rb +8 -5
  50. data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +10 -0
  51. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -1
  52. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +13 -12
  53. data/lib/aws-sdk-core/plugins/protocols/query.rb +2 -2
  54. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +24 -16
  55. data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
  56. data/lib/aws-sdk-core/plugins/retry_errors.rb +81 -25
  57. data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
  58. data/lib/aws-sdk-core/plugins/signature_v4.rb +141 -0
  59. data/lib/aws-sdk-core/plugins/stub_responses.rb +35 -18
  60. data/lib/aws-sdk-core/plugins/transfer_encoding.rb +53 -0
  61. data/lib/aws-sdk-core/plugins/user_agent.rb +23 -6
  62. data/lib/aws-sdk-core/process_credentials.rb +80 -0
  63. data/lib/aws-sdk-core/query.rb +5 -0
  64. data/lib/aws-sdk-core/query/ec2_param_builder.rb +9 -3
  65. data/lib/aws-sdk-core/query/handler.rb +20 -16
  66. data/lib/aws-sdk-core/query/param_builder.rb +10 -4
  67. data/lib/aws-sdk-core/refreshing_credentials.rb +1 -1
  68. data/lib/aws-sdk-core/resources/collection.rb +121 -0
  69. data/lib/aws-sdk-core/rest.rb +10 -0
  70. data/lib/aws-sdk-core/rest/handler.rb +1 -0
  71. data/lib/aws-sdk-core/rest/request/builder.rb +2 -1
  72. data/lib/aws-sdk-core/rest/request/endpoint.rb +3 -3
  73. data/lib/aws-sdk-core/rest/request/headers.rb +11 -1
  74. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +13 -0
  75. data/lib/aws-sdk-core/rest/response/body.rb +14 -1
  76. data/lib/aws-sdk-core/rest/response/headers.rb +2 -0
  77. data/lib/aws-sdk-core/rest/response/parser.rb +18 -14
  78. data/lib/aws-sdk-core/shared_config.rb +172 -15
  79. data/lib/aws-sdk-core/shared_credentials.rb +2 -0
  80. data/lib/aws-sdk-core/structure.rb +22 -13
  81. data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
  82. data/lib/aws-sdk-core/stubbing/empty_stub.rb +10 -3
  83. data/lib/aws-sdk-core/stubbing/protocols/api_gateway.rb +8 -0
  84. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
  85. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +92 -0
  86. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +5 -1
  87. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +9 -5
  88. data/lib/aws-sdk-core/stubbing/stub_data.rb +16 -3
  89. data/lib/aws-sdk-core/util.rb +66 -0
  90. data/lib/aws-sdk-core/waiters.rb +3 -0
  91. data/lib/aws-sdk-core/waiters/poller.rb +5 -9
  92. data/lib/aws-sdk-core/waiters/waiter.rb +1 -0
  93. data/lib/aws-sdk-core/xml.rb +9 -0
  94. data/lib/aws-sdk-core/xml/builder.rb +11 -5
  95. data/lib/aws-sdk-core/xml/error_handler.rb +27 -5
  96. data/lib/aws-sdk-core/xml/parser.rb +1 -11
  97. data/lib/aws-sdk-core/xml/parser/frame.rb +6 -6
  98. data/lib/aws-sdk-sts.rb +45 -0
  99. data/lib/aws-sdk-sts/client.rb +1840 -0
  100. data/lib/aws-sdk-sts/client_api.rb +320 -0
  101. data/lib/aws-sdk-sts/customizations.rb +0 -0
  102. data/lib/aws-sdk-sts/errors.rb +142 -0
  103. data/lib/aws-sdk-sts/plugins/sts_regional_endpoints.rb +32 -0
  104. data/lib/aws-sdk-sts/resource.rb +23 -0
  105. data/lib/aws-sdk-sts/types.rb +1312 -0
  106. data/lib/seahorse.rb +60 -60
  107. data/lib/seahorse/client/async_base.rb +50 -0
  108. data/lib/seahorse/client/async_response.rb +62 -0
  109. data/lib/seahorse/client/base.rb +5 -9
  110. data/lib/seahorse/client/configuration.rb +4 -2
  111. data/lib/seahorse/client/h2/connection.rb +244 -0
  112. data/lib/seahorse/client/h2/handler.rb +151 -0
  113. data/lib/seahorse/client/handler_list_entry.rb +2 -2
  114. data/lib/seahorse/client/http/async_response.rb +42 -0
  115. data/lib/seahorse/client/http/response.rb +10 -5
  116. data/lib/seahorse/client/logging/formatter.rb +2 -0
  117. data/lib/seahorse/client/logging/handler.rb +2 -0
  118. data/lib/seahorse/client/net_http/connection_pool.rb +16 -4
  119. data/lib/seahorse/client/net_http/handler.rb +5 -0
  120. data/lib/seahorse/client/net_http/patches.rb +9 -1
  121. data/lib/seahorse/client/networking_error.rb +28 -0
  122. data/lib/seahorse/client/plugin.rb +66 -6
  123. data/lib/seahorse/client/plugins/content_length.rb +7 -2
  124. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  125. data/lib/seahorse/client/plugins/h2.rb +64 -0
  126. data/lib/seahorse/client/plugins/logging.rb +17 -19
  127. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  128. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  129. data/lib/seahorse/client/plugins/response_target.rb +10 -1
  130. data/lib/seahorse/client/request_context.rb +5 -0
  131. data/lib/seahorse/model/api.rb +33 -0
  132. data/lib/seahorse/model/authorizer.rb +21 -0
  133. data/lib/seahorse/model/operation.rb +11 -0
  134. data/lib/seahorse/model/shapes.rb +44 -2
  135. data/lib/seahorse/util.rb +1 -22
  136. metadata +98 -1051
  137. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
  138. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  139. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
  140. data/apis/acm-pca/2017-08-22/api-2.json +0 -1091
  141. data/apis/acm-pca/2017-08-22/examples-1.json +0 -5
  142. data/apis/acm-pca/2017-08-22/paginators-1.json +0 -22
  143. data/apis/acm-pca/2017-08-22/waiters-2.json +0 -61
  144. data/apis/acm/2015-12-08/api-2.json +0 -843
  145. data/apis/acm/2015-12-08/examples-1.json +0 -5
  146. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  147. data/apis/acm/2015-12-08/smoke.json +0 -18
  148. data/apis/acm/2015-12-08/waiters-2.json +0 -35
  149. data/apis/alexaforbusiness/2017-11-09/api-2.json +0 -4003
  150. data/apis/alexaforbusiness/2017-11-09/examples-1.json +0 -5
  151. data/apis/alexaforbusiness/2017-11-09/paginators-1.json +0 -94
  152. data/apis/amplify/2017-07-25/api-2.json +0 -2171
  153. data/apis/amplify/2017-07-25/examples-1.json +0 -5
  154. data/apis/amplify/2017-07-25/paginators-1.json +0 -4
  155. data/apis/apigateway/2015-07-09/api-2.json +0 -5384
  156. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  157. data/apis/apigateway/2015-07-09/paginators-1.json +0 -76
  158. data/apis/apigateway/2015-07-09/smoke.json +0 -20
  159. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +0 -192
  160. data/apis/apigatewaymanagementapi/2018-11-29/paginators-1.json +0 -3
  161. data/apis/apigatewayv2/2018-11-29/api-2.json +0 -5773
  162. data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
  163. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -779
  164. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -384
  165. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -28
  166. data/apis/application-autoscaling/2016-02-06/smoke.json +0 -13
  167. data/apis/application-insights/2018-11-25/api-2.json +0 -721
  168. data/apis/application-insights/2018-11-25/examples-1.json +0 -5
  169. data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
  170. data/apis/appmesh/2018-10-01/api-2.json +0 -1972
  171. data/apis/appmesh/2018-10-01/examples-1.json +0 -4
  172. data/apis/appmesh/2018-10-01/paginators-1.json +0 -28
  173. data/apis/appmesh/2019-01-25/api-2.json +0 -3424
  174. data/apis/appmesh/2019-01-25/examples-1.json +0 -4
  175. data/apis/appmesh/2019-01-25/paginators-1.json +0 -40
  176. data/apis/appstream/2016-12-01/api-2.json +0 -2356
  177. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  178. data/apis/appstream/2016-12-01/paginators-1.json +0 -14
  179. data/apis/appstream/2016-12-01/smoke.json +0 -11
  180. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  181. data/apis/appsync/2017-07-25/api-2.json +0 -2003
  182. data/apis/appsync/2017-07-25/examples-1.json +0 -5
  183. data/apis/appsync/2017-07-25/paginators-1.json +0 -4
  184. data/apis/athena/2017-05-18/api-2.json +0 -985
  185. data/apis/athena/2017-05-18/examples-1.json +0 -5
  186. data/apis/athena/2017-05-18/paginators-1.json +0 -24
  187. data/apis/athena/2017-05-18/smoke.json +0 -11
  188. data/apis/autoscaling-plans/2018-01-06/api-2.json +0 -659
  189. data/apis/autoscaling-plans/2018-01-06/examples-1.json +0 -5
  190. data/apis/autoscaling-plans/2018-01-06/paginators-1.json +0 -4
  191. data/apis/autoscaling/2011-01-01/api-2.json +0 -2455
  192. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  193. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  194. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  195. data/apis/autoscaling/2011-01-01/smoke.json +0 -20
  196. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  197. data/apis/backup/2018-11-15/api-2.json +0 -2150
  198. data/apis/backup/2018-11-15/examples-1.json +0 -5
  199. data/apis/backup/2018-11-15/paginators-1.json +0 -59
  200. data/apis/batch/2016-08-10/api-2.json +0 -1137
  201. data/apis/batch/2016-08-10/examples-1.json +0 -589
  202. data/apis/batch/2016-08-10/paginators-1.json +0 -28
  203. data/apis/batch/2016-08-10/smoke.json +0 -11
  204. data/apis/budgets/2016-10-20/api-2.json +0 -807
  205. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  206. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  207. data/apis/ce/2017-10-25/api-2.json +0 -1035
  208. data/apis/ce/2017-10-25/examples-1.json +0 -5
  209. data/apis/ce/2017-10-25/paginators-1.json +0 -4
  210. data/apis/chime/2018-05-01/api-2.json +0 -3499
  211. data/apis/chime/2018-05-01/examples-1.json +0 -5
  212. data/apis/chime/2018-05-01/paginators-1.json +0 -39
  213. data/apis/cloud9/2017-09-23/api-2.json +0 -549
  214. data/apis/cloud9/2017-09-23/examples-1.json +0 -315
  215. data/apis/cloud9/2017-09-23/paginators-1.json +0 -14
  216. data/apis/clouddirectory/2016-05-10/api-2.json +0 -4244
  217. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  218. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  219. data/apis/clouddirectory/2017-01-11/api-2.json +0 -4321
  220. data/apis/clouddirectory/2017-01-11/examples-1.json +0 -5
  221. data/apis/clouddirectory/2017-01-11/paginators-1.json +0 -99
  222. data/apis/cloudformation/2010-05-15/api-2.json +0 -2686
  223. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  224. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
  225. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  226. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  227. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  228. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  229. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  230. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  231. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  232. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  233. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  234. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  235. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  236. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  237. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  238. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  239. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  240. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  241. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  242. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  243. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  244. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  245. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  246. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  247. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  248. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  249. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  250. data/apis/cloudfront/2017-03-25/api-2.json +0 -2726
  251. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  252. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  253. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  254. data/apis/cloudfront/2017-10-30/api-2.json +0 -3906
  255. data/apis/cloudfront/2017-10-30/examples-1.json +0 -5
  256. data/apis/cloudfront/2017-10-30/paginators-1.json +0 -32
  257. data/apis/cloudfront/2017-10-30/smoke.json +0 -20
  258. data/apis/cloudfront/2017-10-30/waiters-2.json +0 -47
  259. data/apis/cloudfront/2018-06-18/api-2.json +0 -3907
  260. data/apis/cloudfront/2018-06-18/examples-1.json +0 -5
  261. data/apis/cloudfront/2018-06-18/paginators-1.json +0 -32
  262. data/apis/cloudfront/2018-06-18/smoke.json +0 -20
  263. data/apis/cloudfront/2018-06-18/waiters-2.json +0 -47
  264. data/apis/cloudfront/2018-11-05/api-2.json +0 -4004
  265. data/apis/cloudfront/2018-11-05/examples-1.json +0 -5
  266. data/apis/cloudfront/2018-11-05/paginators-1.json +0 -32
  267. data/apis/cloudfront/2018-11-05/smoke.json +0 -20
  268. data/apis/cloudfront/2018-11-05/waiters-2.json +0 -47
  269. data/apis/cloudfront/2019-03-26/api-2.json +0 -4032
  270. data/apis/cloudfront/2019-03-26/examples-1.json +0 -5
  271. data/apis/cloudfront/2019-03-26/paginators-1.json +0 -32
  272. data/apis/cloudfront/2019-03-26/smoke.json +0 -20
  273. data/apis/cloudfront/2019-03-26/waiters-2.json +0 -47
  274. data/apis/cloudhsm/2014-05-30/api-2.json +0 -879
  275. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  276. data/apis/cloudhsm/2014-05-30/paginators-1.json +0 -4
  277. data/apis/cloudhsmv2/2017-04-28/api-2.json +0 -718
  278. data/apis/cloudhsmv2/2017-04-28/examples-1.json +0 -5
  279. data/apis/cloudhsmv2/2017-04-28/paginators-1.json +0 -19
  280. data/apis/cloudhsmv2/2017-04-28/smoke.json +0 -18
  281. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  282. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  283. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  284. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  285. data/apis/cloudtrail/2013-11-01/api-2.json +0 -1048
  286. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  287. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -28
  288. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  289. data/apis/codebuild/2016-10-06/api-2.json +0 -1276
  290. data/apis/codebuild/2016-10-06/examples-1.json +0 -281
  291. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  292. data/apis/codebuild/2016-10-06/smoke.json +0 -11
  293. data/apis/codecommit/2015-04-13/api-2.json +0 -4248
  294. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  295. data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
  296. data/apis/codecommit/2015-04-13/smoke.json +0 -18
  297. data/apis/codedeploy/2014-10-06/api-2.json +0 -3224
  298. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  299. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  300. data/apis/codedeploy/2014-10-06/smoke.json +0 -18
  301. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  302. data/apis/codepipeline/2015-07-09/api-2.json +0 -2406
  303. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  304. data/apis/codepipeline/2015-07-09/paginators-1.json +0 -38
  305. data/apis/codepipeline/2015-07-09/smoke.json +0 -18
  306. data/apis/codestar-notifications/2019-10-15/api-2.json +0 -724
  307. data/apis/codestar-notifications/2019-10-15/examples-1.json +0 -5
  308. data/apis/codestar-notifications/2019-10-15/paginators-1.json +0 -22
  309. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  310. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  311. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  312. data/apis/codestar/2017-04-19/smoke.json +0 -11
  313. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1053
  314. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  315. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  316. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5371
  317. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  318. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -58
  319. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  320. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  321. data/apis/comprehend/2017-11-27/api-2.json +0 -2361
  322. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  323. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  324. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -681
  325. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  326. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  327. data/apis/config/2014-11-12/api-2.json +0 -3496
  328. data/apis/config/2014-11-12/examples-1.json +0 -5
  329. data/apis/config/2014-11-12/paginators-1.json +0 -21
  330. data/apis/config/2014-11-12/smoke.json +0 -19
  331. data/apis/connect/2017-08-08/api-2.json +0 -1926
  332. data/apis/connect/2017-08-08/examples-1.json +0 -5
  333. data/apis/connect/2017-08-08/paginators-1.json +0 -62
  334. data/apis/cur/2017-01-06/api-2.json +0 -277
  335. data/apis/cur/2017-01-06/examples-1.json +0 -102
  336. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  337. data/apis/cur/2017-01-06/smoke.json +0 -11
  338. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  339. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  340. data/apis/datasync/2018-11-09/api-2.json +0 -1337
  341. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  342. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  343. data/apis/dax/2017-04-19/api-2.json +0 -1140
  344. data/apis/dax/2017-04-19/examples-1.json +0 -5
  345. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  346. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  347. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  348. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  349. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  350. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  351. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  352. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  353. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  354. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  355. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  356. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  357. data/apis/discovery/2015-11-01/smoke.json +0 -11
  358. data/apis/dlm/2018-01-12/api-2.json +0 -444
  359. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  360. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  361. data/apis/dms/2016-01-01/api-2.json +0 -2296
  362. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  363. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  364. data/apis/dms/2016-01-01/smoke.json +0 -18
  365. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  366. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  367. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  368. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  369. data/apis/docdb/2014-10-31/smoke.json +0 -18
  370. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  371. data/apis/ds/2015-04-16/api-2.json +0 -2634
  372. data/apis/ds/2015-04-16/examples-1.json +0 -5
  373. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  374. data/apis/ds/2015-04-16/smoke.json +0 -20
  375. data/apis/dynamodb/2011-12-05/api-2.json +0 -803
  376. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  377. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  378. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  379. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  380. data/apis/dynamodb/2012-08-10/api-2.json +0 -2802
  381. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  382. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  383. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  384. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  385. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  386. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  387. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  388. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  389. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  390. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  391. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  392. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  393. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  394. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  395. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  396. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  397. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  398. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  399. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  400. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  401. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  402. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  403. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  404. data/apis/ec2/2016-11-15/api-2.json +0 -25611
  405. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  406. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  407. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  408. data/apis/ec2/2016-11-15/smoke.json +0 -20
  409. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  410. data/apis/ecr/2015-09-21/api-2.json +0 -1615
  411. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  412. data/apis/ecr/2015-09-21/paginators-1.json +0 -48
  413. data/apis/ecr/2015-09-21/smoke.json +0 -18
  414. data/apis/ecs/2014-11-13/api-2.json +0 -2902
  415. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  416. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  417. data/apis/ecs/2014-11-13/smoke.json +0 -18
  418. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  419. data/apis/eks/2017-11-01/api-2.json +0 -750
  420. data/apis/eks/2017-11-01/examples-1.json +0 -114
  421. data/apis/eks/2017-11-01/paginators-1.json +0 -16
  422. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  423. data/apis/elasticache/2015-02-02/api-2.json +0 -3301
  424. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  425. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  426. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  427. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  428. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  429. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  430. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  431. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  432. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -896
  433. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  434. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  435. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  436. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  437. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  438. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  439. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  440. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  441. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  442. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  443. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  444. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  445. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  446. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  447. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  448. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  449. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  450. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  451. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  452. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  453. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  454. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  455. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  456. data/apis/email/2010-12-01/api-2.json +0 -3182
  457. data/apis/email/2010-12-01/examples-1.json +0 -1021
  458. data/apis/email/2010-12-01/paginators-1.json +0 -18
  459. data/apis/email/2010-12-01/smoke.json +0 -18
  460. data/apis/email/2010-12-01/waiters-2.json +0 -18
  461. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  462. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  463. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  464. data/apis/es/2015-01-01/api-2.json +0 -1572
  465. data/apis/es/2015-01-01/examples-1.json +0 -5
  466. data/apis/es/2015-01-01/paginators-1.json +0 -29
  467. data/apis/es/2015-01-01/smoke.json +0 -18
  468. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  469. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  470. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  471. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  472. data/apis/events/2015-10-07/api-2.json +0 -1462
  473. data/apis/events/2015-10-07/examples-1.json +0 -5
  474. data/apis/events/2015-10-07/paginators-1.json +0 -4
  475. data/apis/events/2015-10-07/smoke.json +0 -18
  476. data/apis/firehose/2015-08-04/api-2.json +0 -1383
  477. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  478. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  479. data/apis/firehose/2015-08-04/smoke.json +0 -18
  480. data/apis/fms/2018-01-01/api-2.json +0 -701
  481. data/apis/fms/2018-01-01/examples-1.json +0 -5
  482. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  483. data/apis/forecast/2018-06-26/api-2.json +0 -1373
  484. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  485. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  486. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  487. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  488. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  489. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  490. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  491. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  492. data/apis/gamelift/2015-10-01/api-2.json +0 -3495
  493. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  494. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  495. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  496. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  497. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  498. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  499. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  500. data/apis/glacier/2012-06-01/smoke.json +0 -18
  501. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  502. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  503. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  504. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  505. data/apis/glue/2017-03-31/api-2.json +0 -6297
  506. data/apis/glue/2017-03-31/examples-1.json +0 -5
  507. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  508. data/apis/glue/2017-03-31/smoke.json +0 -11
  509. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  510. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  511. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  512. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  513. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  514. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  515. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  516. data/apis/health/2016-08-04/api-2.json +0 -554
  517. data/apis/health/2016-08-04/examples-1.json +0 -5
  518. data/apis/health/2016-08-04/paginators-1.json +0 -31
  519. data/apis/health/2016-08-04/smoke.json +0 -11
  520. data/apis/iam/2010-05-08/api-2.json +0 -5778
  521. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  522. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  523. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  524. data/apis/iam/2010-05-08/smoke.json +0 -18
  525. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  526. data/apis/importexport/2010-06-01/api-2.json +0 -667
  527. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  528. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  529. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  530. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  531. data/apis/inspector/2016-02-16/smoke.json +0 -18
  532. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  533. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  534. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  535. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  536. data/apis/iot/2015-05-28/api-2.json +0 -9676
  537. data/apis/iot/2015-05-28/examples-1.json +0 -5
  538. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  539. data/apis/iot/2015-05-28/smoke.json +0 -18
  540. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  541. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  542. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  543. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  544. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2223
  545. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  546. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  547. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  548. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  549. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  550. data/apis/iotevents/2018-07-27/api-2.json +0 -1144
  551. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  552. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  553. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  554. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  555. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  556. data/apis/kafka/2018-11-14/api-2.json +0 -1950
  557. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  558. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -418
  559. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  560. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  561. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  562. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  563. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  564. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  565. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  566. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  567. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  568. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  569. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  570. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  571. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  572. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  573. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  574. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  575. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  576. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  577. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  578. data/apis/kms/2014-11-01/api-2.json +0 -1834
  579. data/apis/kms/2014-11-01/examples-1.json +0 -906
  580. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  581. data/apis/kms/2014-11-01/smoke.json +0 -19
  582. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  583. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  584. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  585. data/apis/lambda/2014-11-11/api-2.json +0 -668
  586. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  587. data/apis/lambda/2015-03-31/api-2.json +0 -2353
  588. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  589. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  590. data/apis/lambda/2015-03-31/smoke.json +0 -18
  591. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  592. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  593. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  594. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  595. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  596. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  597. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  598. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  599. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  600. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  601. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  602. data/apis/logs/2014-03-28/api-2.json +0 -1701
  603. data/apis/logs/2014-03-28/examples-1.json +0 -5
  604. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  605. data/apis/logs/2014-03-28/smoke.json +0 -19
  606. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  607. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  608. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  609. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  610. data/apis/macie/2017-12-19/api-2.json +0 -365
  611. data/apis/macie/2017-12-19/examples-1.json +0 -5
  612. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  613. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  614. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  615. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  616. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -176
  617. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  618. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  619. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  620. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  621. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  622. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8350
  623. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  624. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  625. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  626. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  627. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
  628. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  629. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  630. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  631. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  632. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  633. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  634. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  635. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  636. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  637. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  638. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  639. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
  640. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  641. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  642. data/apis/mobile/2017-07-01/api-2.json +0 -551
  643. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  644. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  645. data/apis/monitoring/2010-08-01/api-2.json +0 -1526
  646. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  647. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  648. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  649. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  650. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  651. data/apis/mq/2017-11-27/api-2.json +0 -2538
  652. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  653. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  654. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  655. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  656. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  657. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  658. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  659. data/apis/neptune/2014-10-31/smoke.json +0 -18
  660. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  661. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  662. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  663. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  664. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  665. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  666. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  667. data/apis/opsworkscm/2016-11-01/api-2.json +0 -817
  668. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  669. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  670. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  671. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  672. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  673. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  674. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  675. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  676. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  677. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  678. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  679. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  680. data/apis/personalize/2018-05-22/api-2.json +0 -1712
  681. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  682. data/apis/personalize/2018-05-22/paginators-1.json +0 -58
  683. data/apis/pi/2018-02-27/api-2.json +0 -253
  684. data/apis/pi/2018-02-27/examples-1.json +0 -5
  685. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  686. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  687. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  688. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  689. data/apis/pinpoint/2016-12-01/api-2.json +0 -10826
  690. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  691. data/apis/polly/2016-06-10/api-2.json +0 -832
  692. data/apis/polly/2016-06-10/examples-1.json +0 -171
  693. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  694. data/apis/polly/2016-06-10/smoke.json +0 -11
  695. data/apis/pricing/2017-10-15/api-2.json +0 -227
  696. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  697. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  698. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  699. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  700. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  701. data/apis/qldb/2019-01-02/api-2.json +0 -776
  702. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  703. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  704. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  705. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  706. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  707. data/apis/ram/2018-01-04/api-2.json +0 -1021
  708. data/apis/ram/2018-01-04/examples-1.json +0 -5
  709. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  710. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  711. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  712. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  713. data/apis/rds/2013-01-10/api-2.json +0 -2903
  714. data/apis/rds/2013-01-10/examples-1.json +0 -5
  715. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  716. data/apis/rds/2013-01-10/smoke.json +0 -18
  717. data/apis/rds/2013-02-12/api-2.json +0 -3059
  718. data/apis/rds/2013-02-12/examples-1.json +0 -5
  719. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  720. data/apis/rds/2013-02-12/smoke.json +0 -18
  721. data/apis/rds/2013-09-09/api-2.json +0 -3160
  722. data/apis/rds/2013-09-09/examples-1.json +0 -5
  723. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  724. data/apis/rds/2013-09-09/smoke.json +0 -18
  725. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  726. data/apis/rds/2014-09-01/api-2.json +0 -3273
  727. data/apis/rds/2014-09-01/examples-1.json +0 -5
  728. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  729. data/apis/rds/2014-09-01/smoke.json +0 -18
  730. data/apis/rds/2014-10-31/api-2.json +0 -6880
  731. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  732. data/apis/rds/2014-10-31/paginators-1.json +0 -140
  733. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  734. data/apis/rds/2014-10-31/smoke.json +0 -18
  735. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  736. data/apis/rds/2015-11-12/api-2.json +0 -5509
  737. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  738. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  739. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  740. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  741. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  742. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  743. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  744. data/apis/redshift/2012-12-01/smoke.json +0 -18
  745. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  746. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  747. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  748. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  749. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  750. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  751. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  752. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  753. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  754. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  755. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  756. data/apis/robomaker/2018-06-29/api-2.json +0 -2160
  757. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  758. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  759. data/apis/route53/2013-04-01/api-2.json +0 -3780
  760. data/apis/route53/2013-04-01/examples-1.json +0 -762
  761. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  762. data/apis/route53/2013-04-01/smoke.json +0 -18
  763. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  764. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  765. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  766. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  767. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  768. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  769. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  770. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  771. data/apis/runtime.lex/2016-11-28/api-2.json +0 -693
  772. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  773. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  774. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  775. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  776. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  777. data/apis/s3/2006-03-01/api-2.json +0 -6587
  778. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  779. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  780. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  781. data/apis/s3/2006-03-01/smoke.json +0 -11
  782. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  783. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  784. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  785. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  786. data/apis/sagemaker/2017-07-24/api-2.json +0 -5281
  787. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  788. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  789. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  790. data/apis/sdb/2009-04-15/api-2.json +0 -955
  791. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  792. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  793. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  794. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  795. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  796. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  797. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  798. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  799. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  800. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  801. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  802. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  803. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  804. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  805. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  806. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  807. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  808. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  809. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  810. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  811. data/apis/shield/2016-06-02/api-2.json +0 -893
  812. data/apis/shield/2016-06-02/examples-1.json +0 -5
  813. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  814. data/apis/shield/2016-06-02/smoke.json +0 -11
  815. data/apis/signer/2017-08-25/api-2.json +0 -670
  816. data/apis/signer/2017-08-25/examples-1.json +0 -5
  817. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  818. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  819. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  820. data/apis/sms/2016-10-24/api-2.json +0 -1366
  821. data/apis/sms/2016-10-24/examples-1.json +0 -5
  822. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  823. data/apis/sms/2016-10-24/smoke.json +0 -18
  824. data/apis/snowball/2016-06-30/api-2.json +0 -955
  825. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  826. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  827. data/apis/snowball/2016-06-30/smoke.json +0 -11
  828. data/apis/sns/2010-03-31/api-2.json +0 -1468
  829. data/apis/sns/2010-03-31/examples-1.json +0 -5
  830. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  831. data/apis/sns/2010-03-31/resources-1.json +0 -327
  832. data/apis/sns/2010-03-31/smoke.json +0 -19
  833. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  834. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  835. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  836. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  837. data/apis/sqs/2012-11-05/smoke.json +0 -18
  838. data/apis/ssm/2014-11-06/api-2.json +0 -8916
  839. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  840. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  841. data/apis/ssm/2014-11-06/smoke.json +0 -18
  842. data/apis/states/2016-11-23/api-2.json +0 -1409
  843. data/apis/states/2016-11-23/examples-1.json +0 -5
  844. data/apis/states/2016-11-23/paginators-1.json +0 -28
  845. data/apis/states/2016-11-23/smoke.json +0 -11
  846. data/apis/storagegateway/2013-06-30/api-2.json +0 -3166
  847. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  848. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  849. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  850. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  851. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  852. data/apis/sts/2011-06-15/api-2.json +0 -562
  853. data/apis/sts/2011-06-15/examples-1.json +0 -207
  854. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  855. data/apis/sts/2011-06-15/smoke.json +0 -19
  856. data/apis/support/2013-04-15/api-2.json +0 -773
  857. data/apis/support/2013-04-15/examples-1.json +0 -5
  858. data/apis/support/2013-04-15/paginators-1.json +0 -25
  859. data/apis/support/2013-04-15/smoke.json +0 -22
  860. data/apis/swf/2012-01-25/api-2.json +0 -2792
  861. data/apis/swf/2012-01-25/examples-1.json +0 -5
  862. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  863. data/apis/textract/2018-06-27/api-2.json +0 -572
  864. data/apis/textract/2018-06-27/examples-1.json +0 -5
  865. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  866. data/apis/transcribe-streaming/2017-10-26/api-2.json +0 -262
  867. data/apis/transcribe-streaming/2017-10-26/examples-1.json +0 -5
  868. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +0 -4
  869. data/apis/transcribe/2017-10-26/api-2.json +0 -516
  870. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  871. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  872. data/apis/transfer/2018-11-05/api-2.json +0 -940
  873. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  874. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  875. data/apis/translate/2017-07-01/api-2.json +0 -408
  876. data/apis/translate/2017-07-01/examples-1.json +0 -5
  877. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  878. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  879. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  880. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  881. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  882. data/apis/waf/2015-08-24/api-2.json +0 -3857
  883. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  884. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  885. data/apis/waf/2015-08-24/smoke.json +0 -21
  886. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  887. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  888. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  889. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  890. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  891. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  892. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  893. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  894. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  895. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  896. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  897. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  898. data/apis/workspaces/2015-04-08/api-2.json +0 -1764
  899. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  900. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  901. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  902. data/apis/xray/2016-04-12/api-2.json +0 -1352
  903. data/apis/xray/2016-04-12/examples-1.json +0 -5
  904. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  905. data/bin/aws.rb +0 -180
  906. data/endpoints.json +0 -5463
  907. data/lib/aws-sdk-core/acm.rb +0 -7
  908. data/lib/aws-sdk-core/acmpca.rb +0 -7
  909. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  910. data/lib/aws-sdk-core/amplify.rb +0 -6
  911. data/lib/aws-sdk-core/api/builder.rb +0 -129
  912. data/lib/aws-sdk-core/api/customizations.rb +0 -303
  913. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  914. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  915. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  916. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  917. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  918. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  919. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  920. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  921. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  922. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  923. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  924. data/lib/aws-sdk-core/apigateway.rb +0 -6
  925. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  926. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  927. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  928. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  929. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  930. data/lib/aws-sdk-core/appmesh.rb +0 -6
  931. data/lib/aws-sdk-core/appstream.rb +0 -7
  932. data/lib/aws-sdk-core/appsync.rb +0 -6
  933. data/lib/aws-sdk-core/athena.rb +0 -6
  934. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  935. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  936. data/lib/aws-sdk-core/backup.rb +0 -6
  937. data/lib/aws-sdk-core/batch.rb +0 -6
  938. data/lib/aws-sdk-core/budgets.rb +0 -6
  939. data/lib/aws-sdk-core/checksums.rb +0 -51
  940. data/lib/aws-sdk-core/chime.rb +0 -6
  941. data/lib/aws-sdk-core/client.rb +0 -62
  942. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  943. data/lib/aws-sdk-core/cloud9.rb +0 -6
  944. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  945. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  946. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  947. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  948. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  949. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  950. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  951. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  952. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  953. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  954. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  955. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  956. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  957. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  958. data/lib/aws-sdk-core/codebuild.rb +0 -6
  959. data/lib/aws-sdk-core/codecommit.rb +0 -6
  960. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  961. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  962. data/lib/aws-sdk-core/codestar.rb +0 -6
  963. data/lib/aws-sdk-core/codestarnotifications.rb +0 -6
  964. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  965. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  966. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  967. data/lib/aws-sdk-core/comprehend.rb +0 -6
  968. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  969. data/lib/aws-sdk-core/configservice.rb +0 -6
  970. data/lib/aws-sdk-core/connect.rb +0 -6
  971. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  972. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  973. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  974. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  975. data/lib/aws-sdk-core/datasync.rb +0 -6
  976. data/lib/aws-sdk-core/dax.rb +0 -6
  977. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  978. data/lib/aws-sdk-core/directconnect.rb +0 -6
  979. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  980. data/lib/aws-sdk-core/dlm.rb +0 -6
  981. data/lib/aws-sdk-core/docdb.rb +0 -7
  982. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  983. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  984. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  985. data/lib/aws-sdk-core/ec2.rb +0 -8
  986. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  987. data/lib/aws-sdk-core/ecr.rb +0 -6
  988. data/lib/aws-sdk-core/ecs.rb +0 -7
  989. data/lib/aws-sdk-core/efs.rb +0 -6
  990. data/lib/aws-sdk-core/eks.rb +0 -7
  991. data/lib/aws-sdk-core/elasticache.rb +0 -7
  992. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  993. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  994. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  995. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  996. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  997. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  998. data/lib/aws-sdk-core/emr.rb +0 -7
  999. data/lib/aws-sdk-core/endpoint_provider.rb +0 -131
  1000. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  1001. data/lib/aws-sdk-core/firehose.rb +0 -6
  1002. data/lib/aws-sdk-core/fms.rb +0 -6
  1003. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  1004. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  1005. data/lib/aws-sdk-core/fsx.rb +0 -6
  1006. data/lib/aws-sdk-core/gamelift.rb +0 -6
  1007. data/lib/aws-sdk-core/glacier.rb +0 -8
  1008. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  1009. data/lib/aws-sdk-core/glue.rb +0 -6
  1010. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1011. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1012. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1013. data/lib/aws-sdk-core/health.rb +0 -6
  1014. data/lib/aws-sdk-core/iam.rb +0 -8
  1015. data/lib/aws-sdk-core/importexport.rb +0 -5
  1016. data/lib/aws-sdk-core/inspector.rb +0 -6
  1017. data/lib/aws-sdk-core/iot.rb +0 -6
  1018. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1019. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1020. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1021. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1022. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1023. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1024. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1025. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1026. data/lib/aws-sdk-core/kafka.rb +0 -5
  1027. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1028. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1029. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1030. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1031. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1032. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1033. data/lib/aws-sdk-core/kms.rb +0 -6
  1034. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1035. data/lib/aws-sdk-core/lambda.rb +0 -7
  1036. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1037. data/lib/aws-sdk-core/lex.rb +0 -6
  1038. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1039. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1040. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1041. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1042. data/lib/aws-sdk-core/macie.rb +0 -6
  1043. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1044. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1045. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1046. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1047. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1048. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1049. data/lib/aws-sdk-core/medialive.rb +0 -6
  1050. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1051. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1052. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1053. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1054. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1055. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1056. data/lib/aws-sdk-core/mobile.rb +0 -6
  1057. data/lib/aws-sdk-core/mq.rb +0 -5
  1058. data/lib/aws-sdk-core/mturk.rb +0 -6
  1059. data/lib/aws-sdk-core/neptune.rb +0 -7
  1060. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1061. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1062. data/lib/aws-sdk-core/organizations.rb +0 -6
  1063. data/lib/aws-sdk-core/partitions.rb +0 -174
  1064. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1065. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1066. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1067. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1068. data/lib/aws-sdk-core/personalize.rb +0 -6
  1069. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1070. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1071. data/lib/aws-sdk-core/pi.rb +0 -6
  1072. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1073. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1074. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1075. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1076. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1077. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1078. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1079. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1080. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1081. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1082. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1083. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1084. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1085. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1086. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1087. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1088. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1089. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1090. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1091. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1092. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1093. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1094. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1095. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1096. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1097. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1098. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1099. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1100. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1101. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1102. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1103. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1104. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1105. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1106. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1107. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1108. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1109. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +0 -30
  1110. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1111. data/lib/aws-sdk-core/polly.rb +0 -14
  1112. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1113. data/lib/aws-sdk-core/pricing.rb +0 -6
  1114. data/lib/aws-sdk-core/qldb.rb +0 -6
  1115. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1116. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1117. data/lib/aws-sdk-core/ram.rb +0 -6
  1118. data/lib/aws-sdk-core/rds.rb +0 -16
  1119. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1120. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1121. data/lib/aws-sdk-core/redshift.rb +0 -7
  1122. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1123. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1124. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1125. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1126. data/lib/aws-sdk-core/route53.rb +0 -7
  1127. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1128. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1129. data/lib/aws-sdk-core/s3.rb +0 -26
  1130. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1131. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1132. data/lib/aws-sdk-core/s3control.rb +0 -6
  1133. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1134. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1135. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1136. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1137. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1138. data/lib/aws-sdk-core/service.rb +0 -4
  1139. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1140. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1141. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1142. data/lib/aws-sdk-core/ses.rb +0 -7
  1143. data/lib/aws-sdk-core/shield.rb +0 -6
  1144. data/lib/aws-sdk-core/signer.rb +0 -7
  1145. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1146. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1147. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1148. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1149. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1150. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1151. data/lib/aws-sdk-core/sms.rb +0 -6
  1152. data/lib/aws-sdk-core/snowball.rb +0 -6
  1153. data/lib/aws-sdk-core/sns.rb +0 -7
  1154. data/lib/aws-sdk-core/sqs.rb +0 -7
  1155. data/lib/aws-sdk-core/ssm.rb +0 -6
  1156. data/lib/aws-sdk-core/states.rb +0 -6
  1157. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1158. data/lib/aws-sdk-core/sts.rb +0 -6
  1159. data/lib/aws-sdk-core/support.rb +0 -6
  1160. data/lib/aws-sdk-core/swf.rb +0 -6
  1161. data/lib/aws-sdk-core/textract.rb +0 -6
  1162. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1163. data/lib/aws-sdk-core/transfer.rb +0 -6
  1164. data/lib/aws-sdk-core/translate.rb +0 -6
  1165. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1166. data/lib/aws-sdk-core/version.rb +0 -3
  1167. data/lib/aws-sdk-core/waf.rb +0 -6
  1168. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1169. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1170. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1171. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1172. data/lib/aws-sdk-core/worklink.rb +0 -6
  1173. data/lib/aws-sdk-core/workmail.rb +0 -6
  1174. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1175. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1176. data/lib/aws-sdk-core/xray.rb +0 -6
  1177. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1178. data/service-models.json +0 -773
@@ -0,0 +1,101 @@
1
+ require 'set'
2
+ require 'securerandom'
3
+ require 'base64'
4
+
5
+ module Aws
6
+
7
+ # An auto-refreshing credential provider that works by assuming
8
+ # a role via {Aws::STS::Client#assume_role_with_web_identity}.
9
+ #
10
+ # role_credentials = Aws::AssumeRoleWebIdentityCredentials.new(
11
+ # client: Aws::STS::Client.new(...),
12
+ # role_arn: "linked::account::arn",
13
+ # web_identity_token_file: "/path/to/token/file",
14
+ # role_session_name: "session-name"
15
+ # ...
16
+ # )
17
+ # For full list of parameters accepted
18
+ # @see Aws::STS::Client#assume_role_with_web_identity
19
+ #
20
+ #
21
+ # If you omit `:client` option, a new {STS::Client} object will be
22
+ # constructed.
23
+ class AssumeRoleWebIdentityCredentials
24
+
25
+ include CredentialProvider
26
+ include RefreshingCredentials
27
+
28
+ # @option options [required, String] :role_arn the IAM role
29
+ # to be assumed
30
+ #
31
+ # @option options [required, String] :web_identity_token_file
32
+ # absolute path to the file on disk containing OIDC token
33
+ #
34
+ # @option options [String] :role_session_name the IAM session
35
+ # name used to distinguish session, when not provided, base64
36
+ # encoded UUID is generated as the session name
37
+ #
38
+ # @option options [STS::Client] :client
39
+ def initialize(options = {})
40
+ client_opts = {}
41
+ @assume_role_web_identity_params = {}
42
+ @token_file = options.delete(:web_identity_token_file)
43
+ options.each_pair do |key, value|
44
+ if self.class.assume_role_web_identity_options.include?(key)
45
+ @assume_role_web_identity_params[key] = value
46
+ else
47
+ client_opts[key] = value
48
+ end
49
+ end
50
+
51
+ unless @assume_role_web_identity_params[:role_session_name]
52
+ # not provided, generate encoded UUID as session name
53
+ @assume_role_web_identity_params[:role_session_name] = _session_name
54
+ end
55
+ @client = client_opts[:client] || STS::Client.new(client_opts.merge(credentials: false))
56
+ super
57
+ end
58
+
59
+ # @return [STS::Client]
60
+ attr_reader :client
61
+
62
+ private
63
+
64
+ def refresh
65
+ # read from token file everytime it refreshes
66
+ @assume_role_web_identity_params[:web_identity_token] = _token_from_file(@token_file)
67
+
68
+ c = @client.assume_role_with_web_identity(
69
+ @assume_role_web_identity_params).credentials
70
+ @credentials = Credentials.new(
71
+ c.access_key_id,
72
+ c.secret_access_key,
73
+ c.session_token
74
+ )
75
+ @expiration = c.expiration
76
+ end
77
+
78
+ def _token_from_file(path)
79
+ unless path && File.exist?(path)
80
+ raise Aws::Errors::MissingWebIdentityTokenFile.new
81
+ end
82
+ File.read(path)
83
+ end
84
+
85
+ def _session_name
86
+ Base64.strict_encode64(SecureRandom.uuid)
87
+ end
88
+
89
+ class << self
90
+
91
+ # @api private
92
+ def assume_role_web_identity_options
93
+ @arwio ||= begin
94
+ input = STS::Client.api.operation(:assume_role_with_web_identity).input
95
+ Set.new(input.shape.member_names)
96
+ end
97
+ end
98
+
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,80 @@
1
+ module Aws
2
+ module AsyncClientStubs
3
+
4
+ include Aws::ClientStubs
5
+
6
+ # @api private
7
+ def setup_stubbing
8
+ @stubs = {}
9
+ @stub_mutex = Mutex.new
10
+ if Hash === @config.stub_responses
11
+ @config.stub_responses.each do |operation_name, stubs|
12
+ apply_stubs(operation_name, Array === stubs ? stubs : [stubs])
13
+ end
14
+ end
15
+
16
+ # When a client is stubbed allow the user to access the requests made
17
+ @api_requests = []
18
+
19
+ # allow to access signaled events when client is stubbed
20
+ @send_events = []
21
+
22
+ requests = @api_requests
23
+ send_events = @send_events
24
+
25
+ self.handle do |context|
26
+ if input_stream = context[:input_event_stream_handler]
27
+ stub_stream = StubStream.new
28
+ stub_stream.send_events = send_events
29
+ input_stream.event_emitter.stream = stub_stream
30
+ input_stream.event_emitter.validate_event = context.config.validate_params
31
+ end
32
+ requests << {
33
+ operation_name: context.operation_name,
34
+ params: context.params,
35
+ context: context
36
+ }
37
+ @handler.call(context)
38
+ end
39
+ end
40
+
41
+ def send_events
42
+ if config.stub_responses
43
+ @send_events
44
+ else
45
+ msg = 'This method is only implemented for stubbed clients, and is '
46
+ msg << 'available when you enable stubbing in the constructor with `stub_responses: true`'
47
+ raise NotImplementedError.new(msg)
48
+ end
49
+ end
50
+
51
+ class StubStream
52
+
53
+ def initialize
54
+ @state = :open
55
+ end
56
+
57
+ attr_accessor :send_events
58
+
59
+ attr_reader :state
60
+
61
+ def data(bytes, options = {})
62
+ if options[:end_stream]
63
+ @state = :closed
64
+ else
65
+ decoder = Aws::EventStream::Decoder.new
66
+ event = decoder.decode_chunk(bytes).first
67
+ @send_events << decoder.decode_chunk(event.payload.read).first
68
+ end
69
+ end
70
+
71
+ def closed?
72
+ @state == :closed
73
+ end
74
+
75
+ def close
76
+ @state = :closed
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,6 @@
1
+ require_relative 'binary/decode_handler'
2
+ require_relative 'binary/encode_handler'
3
+ require_relative 'binary/event_stream_decoder'
4
+ require_relative 'binary/event_stream_encoder'
5
+ require_relative 'binary/event_builder'
6
+ require_relative 'binary/event_parser'
@@ -0,0 +1,56 @@
1
+ module Aws
2
+ module Binary
3
+
4
+ # @api private
5
+ class DecodeHandler < Seahorse::Client::Handler
6
+
7
+ def call(context)
8
+ if eventstream_member = eventstream?(context)
9
+ attach_eventstream_listeners(context, eventstream_member)
10
+ end
11
+ @handler.call(context)
12
+ end
13
+
14
+ private
15
+
16
+ def eventstream?(ctx)
17
+ ctx.operation.output.shape.members.each do |_, ref|
18
+ return ref if ref.eventstream
19
+ end
20
+ end
21
+
22
+ def attach_eventstream_listeners(context, rules)
23
+
24
+ context.http_response.on_headers(200) do
25
+ protocol = context.config.api.metadata['protocol']
26
+ output_handler = context[:output_event_stream_handler] || context[:event_stream_handler]
27
+ context.http_response.body = EventStreamDecoder.new(
28
+ protocol,
29
+ rules,
30
+ context.operation.output,
31
+ context.operation.errors,
32
+ context.http_response.body,
33
+ output_handler)
34
+ if input_emitter = context[:input_event_emitter]
35
+ # #emit will be blocked until 200 success
36
+ # see Aws::EventEmitter#emit
37
+ input_emitter.signal_queue << "ready"
38
+ end
39
+ end
40
+
41
+ context.http_response.on_success(200) do
42
+ context.http_response.body = context.http_response.body.events
43
+ end
44
+
45
+ context.http_response.on_error do
46
+ # Potential enhancement to made
47
+ # since we don't want to track raw bytes in memory
48
+ context.http_response.body = StringIO.new
49
+ end
50
+
51
+ end
52
+
53
+ end
54
+
55
+ end
56
+ end
@@ -0,0 +1,32 @@
1
+ module Aws
2
+ module Binary
3
+
4
+ # @api private
5
+ class EncodeHandler < Seahorse::Client::Handler
6
+
7
+ def call(context)
8
+ if eventstream_member = eventstream_input?(context)
9
+ input_es_handler = context[:input_event_stream_handler]
10
+ input_es_handler.event_emitter.encoder = EventStreamEncoder.new(
11
+ context.config.api.metadata['protocol'],
12
+ eventstream_member,
13
+ context.operation.input,
14
+ context.config.sigv4_signer
15
+ )
16
+ context[:input_event_emitter] = input_es_handler.event_emitter
17
+ end
18
+ @handler.call(context)
19
+ end
20
+
21
+ private
22
+
23
+ def eventstream_input?(ctx)
24
+ ctx.operation.input.shape.members.each do |_, ref|
25
+ return ref if ref.eventstream
26
+ end
27
+ end
28
+
29
+ end
30
+
31
+ end
32
+ end
@@ -0,0 +1,122 @@
1
+ module Aws
2
+ module Binary
3
+ # @api private
4
+ class EventBuilder
5
+
6
+ include Seahorse::Model::Shapes
7
+
8
+ # @param [Class] parser_class
9
+ # @param [Seahorse::Model::ShapeRef] rules (of eventstream member)
10
+ def initialize(serializer_class, rules)
11
+ @serializer_class = serializer_class
12
+ @rules = rules
13
+ end
14
+
15
+ def apply(event_type, params)
16
+ event_ref = @rules.shape.member(event_type)
17
+ _event_stream_message(event_ref, params)
18
+ end
19
+
20
+ private
21
+
22
+ def _event_stream_message(event_ref, params)
23
+ es_headers = {}
24
+ payload = ""
25
+
26
+ es_headers[":message-type"] = Aws::EventStream::HeaderValue.new(
27
+ type: "string", value: "event")
28
+ es_headers[":event-type"] = Aws::EventStream::HeaderValue.new(
29
+ type: "string", value: event_ref.location_name)
30
+
31
+ explicit_payload = false
32
+ implicit_payload_members = {}
33
+ event_ref.shape.members.each do |member_name, member_ref|
34
+ unless member_ref.eventheader
35
+ if member_ref.eventpayload
36
+ explicit_payload = true
37
+ else
38
+ implicit_payload_members[member_name] = member_ref
39
+ end
40
+ end
41
+ end
42
+
43
+ # implict payload
44
+ if !explicit_payload && !implicit_payload_members.empty?
45
+ if implicit_payload_members.size > 1
46
+ payload_shape = Shapes::StructureShape.new
47
+ implicit_payload_members.each do |m_name, m_ref|
48
+ payload_shape.add_member(m_name, m_ref)
49
+ end
50
+ payload_ref = Shapes::ShapeRef.new(shape: payload_shape)
51
+
52
+ payload = build_payload_members(payload_ref, params)
53
+ else
54
+ m_name, m_ref = implicit_payload_members.first
55
+ streaming, content_type = _content_type(m_ref.shape)
56
+
57
+ es_headers[":content-type"] = Aws::EventStream::HeaderValue.new(
58
+ type: "string", value: content_type)
59
+ payload = _build_payload(streaming, m_ref, params[m_name])
60
+ end
61
+ end
62
+
63
+
64
+ event_ref.shape.members.each do |member_name, member_ref|
65
+ if member_ref.eventheader && params[member_name]
66
+ header_value = params[member_name]
67
+ es_headers[member_ref.shape.name] = Aws::EventStream::HeaderValue.new(
68
+ type: _header_value_type(member_ref.shape, header_value),
69
+ value: header_value
70
+ )
71
+ elsif member_ref.eventpayload && params[member_name]
72
+ # explicit payload
73
+ streaming, content_type = _content_type(member_ref.shape)
74
+
75
+ es_headers[":content-type"] = Aws::EventStream::HeaderValue.new(
76
+ type: "string", value: content_type)
77
+ payload = _build_payload(streaming, member_ref, params[member_name])
78
+ end
79
+ end
80
+
81
+ Aws::EventStream::Message.new(
82
+ headers: es_headers,
83
+ payload: StringIO.new(payload)
84
+ )
85
+ end
86
+
87
+ def _content_type(shape)
88
+ case shape
89
+ when BlobShape then [true, "application/octet-stream"]
90
+ when StringShape then [true, "text/plain"]
91
+ when StructureShape then
92
+ if @serializer_class.name.include?('Xml')
93
+ [false, "text/xml"]
94
+ elsif @serializer_class.name.include?('Json')
95
+ [false, "application/json"]
96
+ end
97
+ else
98
+ raise Aws::Errors::EventStreamBuilderError.new(
99
+ "Unsupport eventpayload shape: #{shape.name}")
100
+ end
101
+ end
102
+
103
+ def _header_value_type(shape, value)
104
+ case shape
105
+ when StringShape then "string"
106
+ when IntegerShape then "integer"
107
+ when TimestampShape then "timestamp"
108
+ when BlobShape then "bytes"
109
+ when BooleanShape then !!value ? "bool_true" : "bool_false"
110
+ else
111
+ raise Aws::Errors::EventStreamBuilderError.new(
112
+ "Unsupported eventheader shape: #{shape.name}")
113
+ end
114
+ end
115
+
116
+ def _build_payload(streaming, ref, value)
117
+ streaming ? value : @serializer_class.new(ref).serialize(value)
118
+ end
119
+
120
+ end
121
+ end
122
+ end
@@ -0,0 +1,134 @@
1
+ module Aws
2
+ module Binary
3
+ # @api private
4
+ class EventParser
5
+
6
+ include Seahorse::Model::Shapes
7
+
8
+ # @param [Class] parser_class
9
+ # @param [Seahorse::Model::ShapeRef] rules (of eventstream member)
10
+ # @param [Array] error_refs array of errors ShapeRef
11
+ # @param [Seahorse::Model::ShapeRef] output_ref
12
+ def initialize(parser_class, rules, error_refs, output_ref)
13
+ @parser_class = parser_class
14
+ @rules = rules
15
+ @error_refs = error_refs
16
+ @output_ref = output_ref
17
+ end
18
+
19
+ # Parse raw event message into event struct
20
+ # based on its ShapeRef
21
+ #
22
+ # @return [Struct] Event Struct
23
+ def apply(raw_event)
24
+ parse(raw_event)
25
+ end
26
+
27
+ private
28
+
29
+ def parse(raw_event)
30
+ message_type = raw_event.headers.delete(":message-type")
31
+ if message_type
32
+ case message_type.value
33
+ when 'error'
34
+ parse_error_event(raw_event)
35
+ when 'event'
36
+ parse_event(raw_event)
37
+ when 'exception'
38
+ parse_exception(raw_event)
39
+ else
40
+ raise Aws::Errors::EventStreamParserError.new(
41
+ 'Unrecognized :message-type value for the event')
42
+ end
43
+ else
44
+ # no :message-type header, regular event by default
45
+ parse_event(raw_event)
46
+ end
47
+ end
48
+
49
+ def parse_exception(raw_event)
50
+ exception_type = raw_event.headers.delete(":exception-type").value
51
+ name, ref = @rules.shape.member_by_location_name(exception_type)
52
+ # exception lives in payload implictly
53
+ exception = parse_payload(raw_event.payload.read, ref)
54
+ exception.event_type = name
55
+ exception
56
+ end
57
+
58
+ def parse_error_event(raw_event)
59
+ error_code = raw_event.headers.delete(":error-code")
60
+ error_message = raw_event.headers.delete(":error-message")
61
+ Aws::Errors::EventError.new(
62
+ :error,
63
+ error_code ? error_code.value : error_code,
64
+ error_message ? error_message.value : error_message
65
+ )
66
+ end
67
+
68
+ def parse_event(raw_event)
69
+ event_type = raw_event.headers.delete(":event-type").value
70
+ # content_type = raw_event.headers.delete(":content-type").value
71
+
72
+ if event_type == 'initial-response'
73
+ event = Struct.new(:event_type, :response).new
74
+ event.event_type = :initial_response
75
+ event.response = parse_payload(raw_event.payload.read, @output_ref)
76
+ return event
77
+ end
78
+
79
+ # locate event from eventstream
80
+ name, ref = @rules.shape.member_by_location_name(event_type)
81
+ unless ref.event
82
+ raise Aws::Errors::EventStreamParserError.new(
83
+ "Failed to locate event shape for the event")
84
+ end
85
+
86
+ event = ref.shape.struct_class.new
87
+
88
+ explicit_payload = false
89
+ implicit_payload_members = {}
90
+ ref.shape.members.each do |member_name, member_ref|
91
+ unless member_ref.eventheader
92
+ if member_ref.eventpayload
93
+ explicit_payload = true
94
+ else
95
+ implicit_payload_members[member_name] = member_ref
96
+ end
97
+ end
98
+ end
99
+
100
+ # implicit payload
101
+ if !explicit_payload && !implicit_payload_members.empty?
102
+ event = parse_payload(raw_event.payload.read, ref)
103
+ end
104
+ event.event_type = name
105
+
106
+ # locate payload and headers in the event
107
+ ref.shape.members.each do |member_name, member_ref|
108
+ if member_ref.eventheader
109
+ # allow incomplete event members in response
110
+ if raw_event.headers.key?(member_ref.location_name)
111
+ event.send("#{member_name}=", raw_event.headers[member_ref.location_name].value)
112
+ end
113
+ elsif member_ref.eventpayload
114
+ # explicit payload
115
+ eventpayload_streaming?(member_ref) ?
116
+ event.send("#{member_name}=", raw_event.payload) :
117
+ event.send("#{member_name}=", parse_payload(raw_event.payload.read, member_ref))
118
+ end
119
+ end
120
+ event
121
+ end
122
+
123
+ def eventpayload_streaming?(ref)
124
+ BlobShape === ref.shape || StringShape === ref.shape
125
+ end
126
+
127
+ def parse_payload(body, rules)
128
+ @parser_class.new(rules).parse(body) if body.size > 0
129
+ end
130
+
131
+ end
132
+
133
+ end
134
+ end