aws-sdk-core 2.11.370 → 3.68.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1166) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -552
  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 +2 -0
  17. data/lib/aws-sdk-core/credential_provider_chain.rb +41 -14
  18. data/lib/aws-sdk-core/errors.rb +123 -22
  19. data/lib/aws-sdk-core/event_emitter.rb +62 -0
  20. data/lib/aws-sdk-core/ini_parser.rb +1 -0
  21. data/lib/aws-sdk-core/instance_profile_credentials.rb +4 -3
  22. data/lib/aws-sdk-core/json.rb +9 -10
  23. data/lib/aws-sdk-core/json/builder.rb +4 -2
  24. data/lib/aws-sdk-core/json/error_handler.rb +19 -2
  25. data/lib/aws-sdk-core/json/handler.rb +22 -3
  26. data/lib/aws-sdk-core/json/parser.rb +1 -1
  27. data/lib/aws-sdk-core/log/param_filter.rb +4 -3
  28. data/lib/aws-sdk-core/pageable_response.rb +1 -0
  29. data/lib/aws-sdk-core/pager.rb +30 -25
  30. data/lib/aws-sdk-core/param_converter.rb +3 -3
  31. data/lib/aws-sdk-core/param_validator.rb +56 -21
  32. data/lib/aws-sdk-core/plugins/api_key.rb +52 -0
  33. data/lib/aws-sdk-core/plugins/apig_authorizer_token.rb +30 -0
  34. data/lib/aws-sdk-core/plugins/apig_credentials_configuration.rb +34 -0
  35. data/lib/aws-sdk-core/plugins/apig_user_agent.rb +37 -0
  36. data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +280 -0
  37. data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +84 -0
  38. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -0
  39. data/lib/aws-sdk-core/plugins/endpoint_discovery.rb +43 -50
  40. data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +9 -8
  41. data/lib/aws-sdk-core/plugins/event_stream_configuration.rb +30 -0
  42. data/lib/aws-sdk-core/plugins/global_configuration.rb +19 -10
  43. data/lib/aws-sdk-core/plugins/idempotency_token.rb +1 -2
  44. data/lib/aws-sdk-core/plugins/invocation_id.rb +33 -0
  45. data/lib/aws-sdk-core/plugins/logging.rb +18 -18
  46. data/lib/aws-sdk-core/plugins/param_converter.rb +9 -5
  47. data/lib/aws-sdk-core/plugins/param_validator.rb +8 -5
  48. data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +10 -0
  49. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -1
  50. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +13 -12
  51. data/lib/aws-sdk-core/plugins/protocols/query.rb +2 -2
  52. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +23 -15
  53. data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
  54. data/lib/aws-sdk-core/plugins/retry_errors.rb +81 -25
  55. data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
  56. data/lib/aws-sdk-core/plugins/signature_v4.rb +141 -0
  57. data/lib/aws-sdk-core/plugins/stub_responses.rb +35 -18
  58. data/lib/aws-sdk-core/plugins/transfer_encoding.rb +53 -0
  59. data/lib/aws-sdk-core/plugins/user_agent.rb +23 -6
  60. data/lib/aws-sdk-core/process_credentials.rb +80 -0
  61. data/lib/aws-sdk-core/query.rb +5 -0
  62. data/lib/aws-sdk-core/query/ec2_param_builder.rb +9 -3
  63. data/lib/aws-sdk-core/query/handler.rb +20 -16
  64. data/lib/aws-sdk-core/query/param_builder.rb +10 -4
  65. data/lib/aws-sdk-core/refreshing_credentials.rb +1 -1
  66. data/lib/aws-sdk-core/resources/collection.rb +121 -0
  67. data/lib/aws-sdk-core/rest.rb +10 -0
  68. data/lib/aws-sdk-core/rest/handler.rb +1 -0
  69. data/lib/aws-sdk-core/rest/request/builder.rb +2 -1
  70. data/lib/aws-sdk-core/rest/request/endpoint.rb +3 -3
  71. data/lib/aws-sdk-core/rest/request/headers.rb +11 -1
  72. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +13 -0
  73. data/lib/aws-sdk-core/rest/response/body.rb +14 -1
  74. data/lib/aws-sdk-core/rest/response/headers.rb +2 -0
  75. data/lib/aws-sdk-core/rest/response/parser.rb +18 -14
  76. data/lib/aws-sdk-core/shared_config.rb +172 -15
  77. data/lib/aws-sdk-core/shared_credentials.rb +2 -0
  78. data/lib/aws-sdk-core/structure.rb +22 -13
  79. data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
  80. data/lib/aws-sdk-core/stubbing/empty_stub.rb +10 -3
  81. data/lib/aws-sdk-core/stubbing/protocols/api_gateway.rb +8 -0
  82. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
  83. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +92 -0
  84. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +5 -1
  85. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +9 -5
  86. data/lib/aws-sdk-core/stubbing/stub_data.rb +16 -3
  87. data/lib/aws-sdk-core/util.rb +66 -0
  88. data/lib/aws-sdk-core/waiters.rb +3 -0
  89. data/lib/aws-sdk-core/waiters/poller.rb +5 -9
  90. data/lib/aws-sdk-core/waiters/waiter.rb +1 -0
  91. data/lib/aws-sdk-core/xml.rb +9 -0
  92. data/lib/aws-sdk-core/xml/builder.rb +11 -5
  93. data/lib/aws-sdk-core/xml/error_handler.rb +27 -5
  94. data/lib/aws-sdk-core/xml/parser.rb +1 -11
  95. data/lib/aws-sdk-core/xml/parser/frame.rb +6 -6
  96. data/lib/aws-sdk-sts.rb +45 -0
  97. data/lib/aws-sdk-sts/client.rb +1833 -0
  98. data/lib/aws-sdk-sts/client_api.rb +320 -0
  99. data/lib/aws-sdk-sts/customizations.rb +0 -0
  100. data/lib/aws-sdk-sts/errors.rb +142 -0
  101. data/lib/aws-sdk-sts/resource.rb +23 -0
  102. data/lib/aws-sdk-sts/types.rb +1312 -0
  103. data/lib/seahorse.rb +60 -60
  104. data/lib/seahorse/client/async_base.rb +50 -0
  105. data/lib/seahorse/client/async_response.rb +62 -0
  106. data/lib/seahorse/client/base.rb +2 -8
  107. data/lib/seahorse/client/configuration.rb +4 -2
  108. data/lib/seahorse/client/h2/connection.rb +244 -0
  109. data/lib/seahorse/client/h2/handler.rb +151 -0
  110. data/lib/seahorse/client/handler_list_entry.rb +2 -2
  111. data/lib/seahorse/client/http/async_response.rb +42 -0
  112. data/lib/seahorse/client/http/response.rb +10 -5
  113. data/lib/seahorse/client/logging/formatter.rb +2 -0
  114. data/lib/seahorse/client/logging/handler.rb +2 -0
  115. data/lib/seahorse/client/net_http/connection_pool.rb +16 -4
  116. data/lib/seahorse/client/net_http/handler.rb +5 -0
  117. data/lib/seahorse/client/net_http/patches.rb +9 -1
  118. data/lib/seahorse/client/networking_error.rb +28 -0
  119. data/lib/seahorse/client/plugin.rb +66 -6
  120. data/lib/seahorse/client/plugins/content_length.rb +7 -2
  121. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  122. data/lib/seahorse/client/plugins/h2.rb +64 -0
  123. data/lib/seahorse/client/plugins/logging.rb +17 -19
  124. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  125. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  126. data/lib/seahorse/client/plugins/response_target.rb +10 -1
  127. data/lib/seahorse/client/request_context.rb +5 -0
  128. data/lib/seahorse/model/api.rb +33 -0
  129. data/lib/seahorse/model/authorizer.rb +21 -0
  130. data/lib/seahorse/model/operation.rb +11 -0
  131. data/lib/seahorse/model/shapes.rb +44 -2
  132. data/lib/seahorse/util.rb +1 -22
  133. metadata +91 -1042
  134. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
  135. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  136. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
  137. data/apis/acm-pca/2017-08-22/api-2.json +0 -1091
  138. data/apis/acm-pca/2017-08-22/examples-1.json +0 -5
  139. data/apis/acm-pca/2017-08-22/paginators-1.json +0 -22
  140. data/apis/acm-pca/2017-08-22/waiters-2.json +0 -61
  141. data/apis/acm/2015-12-08/api-2.json +0 -843
  142. data/apis/acm/2015-12-08/examples-1.json +0 -5
  143. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  144. data/apis/acm/2015-12-08/smoke.json +0 -18
  145. data/apis/acm/2015-12-08/waiters-2.json +0 -35
  146. data/apis/alexaforbusiness/2017-11-09/api-2.json +0 -4003
  147. data/apis/alexaforbusiness/2017-11-09/examples-1.json +0 -5
  148. data/apis/alexaforbusiness/2017-11-09/paginators-1.json +0 -94
  149. data/apis/amplify/2017-07-25/api-2.json +0 -2160
  150. data/apis/amplify/2017-07-25/examples-1.json +0 -5
  151. data/apis/amplify/2017-07-25/paginators-1.json +0 -4
  152. data/apis/apigateway/2015-07-09/api-2.json +0 -5384
  153. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  154. data/apis/apigateway/2015-07-09/paginators-1.json +0 -76
  155. data/apis/apigateway/2015-07-09/smoke.json +0 -20
  156. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +0 -192
  157. data/apis/apigatewaymanagementapi/2018-11-29/paginators-1.json +0 -3
  158. data/apis/apigatewayv2/2018-11-29/api-2.json +0 -5773
  159. data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
  160. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -779
  161. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -384
  162. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -28
  163. data/apis/application-autoscaling/2016-02-06/smoke.json +0 -13
  164. data/apis/application-insights/2018-11-25/api-2.json +0 -721
  165. data/apis/application-insights/2018-11-25/examples-1.json +0 -5
  166. data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
  167. data/apis/appmesh/2018-10-01/api-2.json +0 -1972
  168. data/apis/appmesh/2018-10-01/examples-1.json +0 -4
  169. data/apis/appmesh/2018-10-01/paginators-1.json +0 -28
  170. data/apis/appmesh/2019-01-25/api-2.json +0 -3281
  171. data/apis/appmesh/2019-01-25/examples-1.json +0 -4
  172. data/apis/appmesh/2019-01-25/paginators-1.json +0 -40
  173. data/apis/appstream/2016-12-01/api-2.json +0 -2340
  174. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  175. data/apis/appstream/2016-12-01/paginators-1.json +0 -14
  176. data/apis/appstream/2016-12-01/smoke.json +0 -11
  177. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  178. data/apis/appsync/2017-07-25/api-2.json +0 -2003
  179. data/apis/appsync/2017-07-25/examples-1.json +0 -5
  180. data/apis/appsync/2017-07-25/paginators-1.json +0 -4
  181. data/apis/athena/2017-05-18/api-2.json +0 -985
  182. data/apis/athena/2017-05-18/examples-1.json +0 -5
  183. data/apis/athena/2017-05-18/paginators-1.json +0 -24
  184. data/apis/athena/2017-05-18/smoke.json +0 -11
  185. data/apis/autoscaling-plans/2018-01-06/api-2.json +0 -659
  186. data/apis/autoscaling-plans/2018-01-06/examples-1.json +0 -5
  187. data/apis/autoscaling-plans/2018-01-06/paginators-1.json +0 -4
  188. data/apis/autoscaling/2011-01-01/api-2.json +0 -2455
  189. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  190. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  191. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  192. data/apis/autoscaling/2011-01-01/smoke.json +0 -20
  193. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  194. data/apis/backup/2018-11-15/api-2.json +0 -2150
  195. data/apis/backup/2018-11-15/examples-1.json +0 -5
  196. data/apis/backup/2018-11-15/paginators-1.json +0 -59
  197. data/apis/batch/2016-08-10/api-2.json +0 -1128
  198. data/apis/batch/2016-08-10/examples-1.json +0 -589
  199. data/apis/batch/2016-08-10/paginators-1.json +0 -28
  200. data/apis/batch/2016-08-10/smoke.json +0 -11
  201. data/apis/budgets/2016-10-20/api-2.json +0 -807
  202. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  203. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  204. data/apis/ce/2017-10-25/api-2.json +0 -1035
  205. data/apis/ce/2017-10-25/examples-1.json +0 -5
  206. data/apis/ce/2017-10-25/paginators-1.json +0 -4
  207. data/apis/chime/2018-05-01/api-2.json +0 -2902
  208. data/apis/chime/2018-05-01/examples-1.json +0 -5
  209. data/apis/chime/2018-05-01/paginators-1.json +0 -29
  210. data/apis/cloud9/2017-09-23/api-2.json +0 -547
  211. data/apis/cloud9/2017-09-23/examples-1.json +0 -308
  212. data/apis/cloud9/2017-09-23/paginators-1.json +0 -14
  213. data/apis/clouddirectory/2016-05-10/api-2.json +0 -4244
  214. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  215. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  216. data/apis/clouddirectory/2017-01-11/api-2.json +0 -4321
  217. data/apis/clouddirectory/2017-01-11/examples-1.json +0 -5
  218. data/apis/clouddirectory/2017-01-11/paginators-1.json +0 -99
  219. data/apis/cloudformation/2010-05-15/api-2.json +0 -2686
  220. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  221. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
  222. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  223. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  224. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  225. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  226. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  227. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  228. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  229. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  230. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  231. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  232. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  233. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  234. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  235. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  236. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  237. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  238. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  239. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  240. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  241. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  242. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  243. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  244. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  245. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  246. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  247. data/apis/cloudfront/2017-03-25/api-2.json +0 -2726
  248. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  249. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  250. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  251. data/apis/cloudfront/2017-10-30/api-2.json +0 -3906
  252. data/apis/cloudfront/2017-10-30/examples-1.json +0 -5
  253. data/apis/cloudfront/2017-10-30/paginators-1.json +0 -32
  254. data/apis/cloudfront/2017-10-30/smoke.json +0 -20
  255. data/apis/cloudfront/2017-10-30/waiters-2.json +0 -47
  256. data/apis/cloudfront/2018-06-18/api-2.json +0 -3907
  257. data/apis/cloudfront/2018-06-18/examples-1.json +0 -5
  258. data/apis/cloudfront/2018-06-18/paginators-1.json +0 -32
  259. data/apis/cloudfront/2018-06-18/smoke.json +0 -20
  260. data/apis/cloudfront/2018-06-18/waiters-2.json +0 -47
  261. data/apis/cloudfront/2018-11-05/api-2.json +0 -4004
  262. data/apis/cloudfront/2018-11-05/examples-1.json +0 -5
  263. data/apis/cloudfront/2018-11-05/paginators-1.json +0 -32
  264. data/apis/cloudfront/2018-11-05/smoke.json +0 -20
  265. data/apis/cloudfront/2018-11-05/waiters-2.json +0 -47
  266. data/apis/cloudfront/2019-03-26/api-2.json +0 -4032
  267. data/apis/cloudfront/2019-03-26/examples-1.json +0 -5
  268. data/apis/cloudfront/2019-03-26/paginators-1.json +0 -32
  269. data/apis/cloudfront/2019-03-26/smoke.json +0 -20
  270. data/apis/cloudfront/2019-03-26/waiters-2.json +0 -47
  271. data/apis/cloudhsm/2014-05-30/api-2.json +0 -879
  272. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  273. data/apis/cloudhsm/2014-05-30/paginators-1.json +0 -4
  274. data/apis/cloudhsmv2/2017-04-28/api-2.json +0 -718
  275. data/apis/cloudhsmv2/2017-04-28/examples-1.json +0 -5
  276. data/apis/cloudhsmv2/2017-04-28/paginators-1.json +0 -19
  277. data/apis/cloudhsmv2/2017-04-28/smoke.json +0 -18
  278. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  279. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  280. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  281. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  282. data/apis/cloudtrail/2013-11-01/api-2.json +0 -978
  283. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  284. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
  285. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  286. data/apis/codebuild/2016-10-06/api-2.json +0 -1276
  287. data/apis/codebuild/2016-10-06/examples-1.json +0 -281
  288. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  289. data/apis/codebuild/2016-10-06/smoke.json +0 -11
  290. data/apis/codecommit/2015-04-13/api-2.json +0 -4248
  291. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  292. data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
  293. data/apis/codecommit/2015-04-13/smoke.json +0 -18
  294. data/apis/codedeploy/2014-10-06/api-2.json +0 -3224
  295. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  296. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  297. data/apis/codedeploy/2014-10-06/smoke.json +0 -18
  298. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  299. data/apis/codepipeline/2015-07-09/api-2.json +0 -2406
  300. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  301. data/apis/codepipeline/2015-07-09/paginators-1.json +0 -38
  302. data/apis/codepipeline/2015-07-09/smoke.json +0 -18
  303. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  304. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  305. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  306. data/apis/codestar/2017-04-19/smoke.json +0 -11
  307. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1053
  308. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  309. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  310. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5371
  311. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  312. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -58
  313. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  314. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  315. data/apis/comprehend/2017-11-27/api-2.json +0 -2361
  316. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  317. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  318. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -681
  319. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  320. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  321. data/apis/config/2014-11-12/api-2.json +0 -3496
  322. data/apis/config/2014-11-12/examples-1.json +0 -5
  323. data/apis/config/2014-11-12/paginators-1.json +0 -21
  324. data/apis/config/2014-11-12/smoke.json +0 -19
  325. data/apis/connect/2017-08-08/api-2.json +0 -1379
  326. data/apis/connect/2017-08-08/examples-1.json +0 -5
  327. data/apis/connect/2017-08-08/paginators-1.json +0 -14
  328. data/apis/cur/2017-01-06/api-2.json +0 -277
  329. data/apis/cur/2017-01-06/examples-1.json +0 -102
  330. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  331. data/apis/cur/2017-01-06/smoke.json +0 -11
  332. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  333. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  334. data/apis/datasync/2018-11-09/api-2.json +0 -1337
  335. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  336. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  337. data/apis/dax/2017-04-19/api-2.json +0 -1140
  338. data/apis/dax/2017-04-19/examples-1.json +0 -5
  339. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  340. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  341. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  342. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  343. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  344. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  345. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  346. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  347. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  348. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  349. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  350. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  351. data/apis/discovery/2015-11-01/smoke.json +0 -11
  352. data/apis/dlm/2018-01-12/api-2.json +0 -444
  353. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  354. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  355. data/apis/dms/2016-01-01/api-2.json +0 -2291
  356. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  357. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  358. data/apis/dms/2016-01-01/smoke.json +0 -18
  359. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  360. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  361. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  362. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  363. data/apis/docdb/2014-10-31/smoke.json +0 -18
  364. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  365. data/apis/ds/2015-04-16/api-2.json +0 -2634
  366. data/apis/ds/2015-04-16/examples-1.json +0 -5
  367. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  368. data/apis/ds/2015-04-16/smoke.json +0 -20
  369. data/apis/dynamodb/2011-12-05/api-2.json +0 -803
  370. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  371. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  372. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  373. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  374. data/apis/dynamodb/2012-08-10/api-2.json +0 -2802
  375. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  376. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  377. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  378. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  379. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  380. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  381. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  382. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  383. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  384. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  385. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  386. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  387. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  388. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  389. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  390. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  391. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  392. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  393. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  394. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  395. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  396. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  397. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  398. data/apis/ec2/2016-11-15/api-2.json +0 -25518
  399. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  400. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  401. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  402. data/apis/ec2/2016-11-15/smoke.json +0 -20
  403. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  404. data/apis/ecr/2015-09-21/api-2.json +0 -1383
  405. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  406. data/apis/ecr/2015-09-21/paginators-1.json +0 -22
  407. data/apis/ecr/2015-09-21/smoke.json +0 -18
  408. data/apis/ecs/2014-11-13/api-2.json +0 -2902
  409. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  410. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  411. data/apis/ecs/2014-11-13/smoke.json +0 -18
  412. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  413. data/apis/eks/2017-11-01/api-2.json +0 -750
  414. data/apis/eks/2017-11-01/examples-1.json +0 -114
  415. data/apis/eks/2017-11-01/paginators-1.json +0 -16
  416. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  417. data/apis/elasticache/2015-02-02/api-2.json +0 -3152
  418. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  419. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  420. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  421. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  422. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  423. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  424. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  425. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  426. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -896
  427. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  428. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  429. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  430. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  431. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  432. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  433. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  434. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  435. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  436. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  437. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  438. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  439. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  440. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  441. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  442. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  443. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  444. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  445. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  446. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  447. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  448. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  449. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  450. data/apis/email/2010-12-01/api-2.json +0 -3182
  451. data/apis/email/2010-12-01/examples-1.json +0 -1021
  452. data/apis/email/2010-12-01/paginators-1.json +0 -18
  453. data/apis/email/2010-12-01/smoke.json +0 -18
  454. data/apis/email/2010-12-01/waiters-2.json +0 -18
  455. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  456. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  457. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  458. data/apis/es/2015-01-01/api-2.json +0 -1572
  459. data/apis/es/2015-01-01/examples-1.json +0 -5
  460. data/apis/es/2015-01-01/paginators-1.json +0 -29
  461. data/apis/es/2015-01-01/smoke.json +0 -18
  462. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  463. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  464. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  465. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  466. data/apis/events/2015-10-07/api-2.json +0 -1462
  467. data/apis/events/2015-10-07/examples-1.json +0 -5
  468. data/apis/events/2015-10-07/paginators-1.json +0 -4
  469. data/apis/events/2015-10-07/smoke.json +0 -18
  470. data/apis/firehose/2015-08-04/api-2.json +0 -1383
  471. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  472. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  473. data/apis/firehose/2015-08-04/smoke.json +0 -18
  474. data/apis/fms/2018-01-01/api-2.json +0 -692
  475. data/apis/fms/2018-01-01/examples-1.json +0 -5
  476. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  477. data/apis/forecast/2018-06-26/api-2.json +0 -1373
  478. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  479. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  480. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  481. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  482. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  483. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  484. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  485. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  486. data/apis/gamelift/2015-10-01/api-2.json +0 -3470
  487. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  488. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  489. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  490. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  491. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  492. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  493. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  494. data/apis/glacier/2012-06-01/smoke.json +0 -18
  495. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  496. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  497. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  498. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  499. data/apis/glue/2017-03-31/api-2.json +0 -6297
  500. data/apis/glue/2017-03-31/examples-1.json +0 -5
  501. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  502. data/apis/glue/2017-03-31/smoke.json +0 -11
  503. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  504. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  505. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  506. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  507. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  508. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  509. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  510. data/apis/health/2016-08-04/api-2.json +0 -554
  511. data/apis/health/2016-08-04/examples-1.json +0 -5
  512. data/apis/health/2016-08-04/paginators-1.json +0 -31
  513. data/apis/health/2016-08-04/smoke.json +0 -11
  514. data/apis/iam/2010-05-08/api-2.json +0 -5778
  515. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  516. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  517. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  518. data/apis/iam/2010-05-08/smoke.json +0 -18
  519. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  520. data/apis/importexport/2010-06-01/api-2.json +0 -667
  521. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  522. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  523. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  524. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  525. data/apis/inspector/2016-02-16/smoke.json +0 -18
  526. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  527. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  528. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  529. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  530. data/apis/iot/2015-05-28/api-2.json +0 -9676
  531. data/apis/iot/2015-05-28/examples-1.json +0 -5
  532. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  533. data/apis/iot/2015-05-28/smoke.json +0 -18
  534. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  535. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  536. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  537. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  538. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2222
  539. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  540. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  541. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  542. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  543. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  544. data/apis/iotevents/2018-07-27/api-2.json +0 -1133
  545. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  546. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  547. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  548. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  549. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  550. data/apis/kafka/2018-11-14/api-2.json +0 -1698
  551. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  552. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -417
  553. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  554. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  555. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  556. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  557. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  558. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  559. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  560. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  561. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  562. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  563. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  564. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  565. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  566. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  567. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  568. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  569. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  570. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  571. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  572. data/apis/kms/2014-11-01/api-2.json +0 -1834
  573. data/apis/kms/2014-11-01/examples-1.json +0 -906
  574. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  575. data/apis/kms/2014-11-01/smoke.json +0 -19
  576. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  577. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  578. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  579. data/apis/lambda/2014-11-11/api-2.json +0 -668
  580. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  581. data/apis/lambda/2015-03-31/api-2.json +0 -2353
  582. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  583. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  584. data/apis/lambda/2015-03-31/smoke.json +0 -18
  585. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  586. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  587. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  588. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  589. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  590. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  591. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  592. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  593. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  594. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  595. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  596. data/apis/logs/2014-03-28/api-2.json +0 -1701
  597. data/apis/logs/2014-03-28/examples-1.json +0 -5
  598. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  599. data/apis/logs/2014-03-28/smoke.json +0 -19
  600. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  601. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  602. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  603. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  604. data/apis/macie/2017-12-19/api-2.json +0 -365
  605. data/apis/macie/2017-12-19/examples-1.json +0 -5
  606. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  607. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  608. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  609. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  610. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -174
  611. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  612. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  613. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  614. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  615. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  616. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8292
  617. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  618. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  619. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  620. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  621. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
  622. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  623. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  624. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  625. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  626. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  627. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  628. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  629. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  630. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  631. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  632. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  633. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
  634. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  635. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  636. data/apis/mobile/2017-07-01/api-2.json +0 -551
  637. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  638. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  639. data/apis/monitoring/2010-08-01/api-2.json +0 -1525
  640. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  641. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  642. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  643. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  644. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  645. data/apis/mq/2017-11-27/api-2.json +0 -2538
  646. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  647. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  648. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  649. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  650. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  651. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  652. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  653. data/apis/neptune/2014-10-31/smoke.json +0 -18
  654. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  655. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  656. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  657. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  658. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  659. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  660. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  661. data/apis/opsworkscm/2016-11-01/api-2.json +0 -766
  662. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  663. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  664. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  665. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  666. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  667. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  668. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  669. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  670. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  671. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  672. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  673. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  674. data/apis/personalize/2018-05-22/api-2.json +0 -1703
  675. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  676. data/apis/personalize/2018-05-22/paginators-1.json +0 -58
  677. data/apis/pi/2018-02-27/api-2.json +0 -253
  678. data/apis/pi/2018-02-27/examples-1.json +0 -5
  679. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  680. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  681. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  682. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  683. data/apis/pinpoint/2016-12-01/api-2.json +0 -9678
  684. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  685. data/apis/polly/2016-06-10/api-2.json +0 -830
  686. data/apis/polly/2016-06-10/examples-1.json +0 -171
  687. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  688. data/apis/polly/2016-06-10/smoke.json +0 -11
  689. data/apis/pricing/2017-10-15/api-2.json +0 -227
  690. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  691. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  692. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  693. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  694. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  695. data/apis/qldb/2019-01-02/api-2.json +0 -776
  696. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  697. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  698. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  699. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  700. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  701. data/apis/ram/2018-01-04/api-2.json +0 -1021
  702. data/apis/ram/2018-01-04/examples-1.json +0 -5
  703. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  704. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  705. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  706. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  707. data/apis/rds/2013-01-10/api-2.json +0 -2903
  708. data/apis/rds/2013-01-10/examples-1.json +0 -5
  709. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  710. data/apis/rds/2013-01-10/smoke.json +0 -18
  711. data/apis/rds/2013-02-12/api-2.json +0 -3059
  712. data/apis/rds/2013-02-12/examples-1.json +0 -5
  713. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  714. data/apis/rds/2013-02-12/smoke.json +0 -18
  715. data/apis/rds/2013-09-09/api-2.json +0 -3160
  716. data/apis/rds/2013-09-09/examples-1.json +0 -5
  717. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  718. data/apis/rds/2013-09-09/smoke.json +0 -18
  719. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  720. data/apis/rds/2014-09-01/api-2.json +0 -3273
  721. data/apis/rds/2014-09-01/examples-1.json +0 -5
  722. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  723. data/apis/rds/2014-09-01/smoke.json +0 -18
  724. data/apis/rds/2014-10-31/api-2.json +0 -6588
  725. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  726. data/apis/rds/2014-10-31/paginators-1.json +0 -128
  727. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  728. data/apis/rds/2014-10-31/smoke.json +0 -18
  729. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  730. data/apis/rds/2015-11-12/api-2.json +0 -5509
  731. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  732. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  733. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  734. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  735. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  736. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  737. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  738. data/apis/redshift/2012-12-01/smoke.json +0 -18
  739. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  740. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  741. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  742. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  743. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  744. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  745. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  746. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  747. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  748. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  749. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  750. data/apis/robomaker/2018-06-29/api-2.json +0 -2138
  751. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  752. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  753. data/apis/route53/2013-04-01/api-2.json +0 -3780
  754. data/apis/route53/2013-04-01/examples-1.json +0 -762
  755. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  756. data/apis/route53/2013-04-01/smoke.json +0 -18
  757. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  758. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  759. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  760. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  761. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  762. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  763. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  764. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  765. data/apis/runtime.lex/2016-11-28/api-2.json +0 -680
  766. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  767. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  768. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  769. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  770. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  771. data/apis/s3/2006-03-01/api-2.json +0 -6576
  772. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  773. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  774. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  775. data/apis/s3/2006-03-01/smoke.json +0 -11
  776. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  777. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  778. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  779. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  780. data/apis/sagemaker/2017-07-24/api-2.json +0 -5257
  781. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  782. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  783. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  784. data/apis/sdb/2009-04-15/api-2.json +0 -955
  785. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  786. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  787. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  788. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  789. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  790. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  791. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  792. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  793. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  794. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  795. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  796. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  797. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  798. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  799. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  800. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  801. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  802. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  803. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  804. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  805. data/apis/shield/2016-06-02/api-2.json +0 -893
  806. data/apis/shield/2016-06-02/examples-1.json +0 -5
  807. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  808. data/apis/shield/2016-06-02/smoke.json +0 -11
  809. data/apis/signer/2017-08-25/api-2.json +0 -670
  810. data/apis/signer/2017-08-25/examples-1.json +0 -5
  811. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  812. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  813. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  814. data/apis/sms/2016-10-24/api-2.json +0 -1366
  815. data/apis/sms/2016-10-24/examples-1.json +0 -5
  816. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  817. data/apis/sms/2016-10-24/smoke.json +0 -18
  818. data/apis/snowball/2016-06-30/api-2.json +0 -955
  819. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  820. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  821. data/apis/snowball/2016-06-30/smoke.json +0 -11
  822. data/apis/sns/2010-03-31/api-2.json +0 -1468
  823. data/apis/sns/2010-03-31/examples-1.json +0 -5
  824. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  825. data/apis/sns/2010-03-31/resources-1.json +0 -327
  826. data/apis/sns/2010-03-31/smoke.json +0 -19
  827. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  828. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  829. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  830. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  831. data/apis/sqs/2012-11-05/smoke.json +0 -18
  832. data/apis/ssm/2014-11-06/api-2.json +0 -8916
  833. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  834. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  835. data/apis/ssm/2014-11-06/smoke.json +0 -18
  836. data/apis/states/2016-11-23/api-2.json +0 -1409
  837. data/apis/states/2016-11-23/examples-1.json +0 -5
  838. data/apis/states/2016-11-23/paginators-1.json +0 -28
  839. data/apis/states/2016-11-23/smoke.json +0 -11
  840. data/apis/storagegateway/2013-06-30/api-2.json +0 -3166
  841. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  842. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  843. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  844. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  845. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  846. data/apis/sts/2011-06-15/api-2.json +0 -562
  847. data/apis/sts/2011-06-15/examples-1.json +0 -207
  848. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  849. data/apis/sts/2011-06-15/smoke.json +0 -19
  850. data/apis/support/2013-04-15/api-2.json +0 -772
  851. data/apis/support/2013-04-15/examples-1.json +0 -5
  852. data/apis/support/2013-04-15/paginators-1.json +0 -25
  853. data/apis/swf/2012-01-25/api-2.json +0 -2792
  854. data/apis/swf/2012-01-25/examples-1.json +0 -5
  855. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  856. data/apis/textract/2018-06-27/api-2.json +0 -572
  857. data/apis/textract/2018-06-27/examples-1.json +0 -5
  858. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  859. data/apis/transcribe/2017-10-26/api-2.json +0 -516
  860. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  861. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  862. data/apis/transfer/2018-11-05/api-2.json +0 -857
  863. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  864. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  865. data/apis/translate/2017-07-01/api-2.json +0 -408
  866. data/apis/translate/2017-07-01/examples-1.json +0 -5
  867. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  868. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  869. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  870. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  871. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  872. data/apis/waf/2015-08-24/api-2.json +0 -3857
  873. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  874. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  875. data/apis/waf/2015-08-24/smoke.json +0 -21
  876. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  877. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  878. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  879. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  880. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  881. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  882. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  883. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  884. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  885. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  886. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  887. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  888. data/apis/workspaces/2015-04-08/api-2.json +0 -1764
  889. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  890. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  891. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  892. data/apis/xray/2016-04-12/api-2.json +0 -1352
  893. data/apis/xray/2016-04-12/examples-1.json +0 -5
  894. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  895. data/bin/aws.rb +0 -180
  896. data/endpoints.json +0 -5242
  897. data/lib/aws-sdk-core/acm.rb +0 -7
  898. data/lib/aws-sdk-core/acmpca.rb +0 -7
  899. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  900. data/lib/aws-sdk-core/amplify.rb +0 -6
  901. data/lib/aws-sdk-core/api/builder.rb +0 -129
  902. data/lib/aws-sdk-core/api/customizations.rb +0 -299
  903. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  904. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  905. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  906. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  907. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  908. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  909. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  910. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  911. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  912. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  913. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  914. data/lib/aws-sdk-core/apigateway.rb +0 -6
  915. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  916. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  917. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  918. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  919. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  920. data/lib/aws-sdk-core/appmesh.rb +0 -6
  921. data/lib/aws-sdk-core/appstream.rb +0 -7
  922. data/lib/aws-sdk-core/appsync.rb +0 -6
  923. data/lib/aws-sdk-core/athena.rb +0 -6
  924. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  925. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  926. data/lib/aws-sdk-core/backup.rb +0 -6
  927. data/lib/aws-sdk-core/batch.rb +0 -6
  928. data/lib/aws-sdk-core/budgets.rb +0 -6
  929. data/lib/aws-sdk-core/checksums.rb +0 -51
  930. data/lib/aws-sdk-core/chime.rb +0 -6
  931. data/lib/aws-sdk-core/client.rb +0 -62
  932. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  933. data/lib/aws-sdk-core/cloud9.rb +0 -6
  934. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  935. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  936. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  937. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  938. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  939. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  940. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  941. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  942. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  943. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  944. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  945. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  946. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  947. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  948. data/lib/aws-sdk-core/codebuild.rb +0 -6
  949. data/lib/aws-sdk-core/codecommit.rb +0 -6
  950. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  951. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  952. data/lib/aws-sdk-core/codestar.rb +0 -6
  953. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  954. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  955. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  956. data/lib/aws-sdk-core/comprehend.rb +0 -6
  957. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  958. data/lib/aws-sdk-core/configservice.rb +0 -6
  959. data/lib/aws-sdk-core/connect.rb +0 -6
  960. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  961. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  962. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  963. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  964. data/lib/aws-sdk-core/datasync.rb +0 -6
  965. data/lib/aws-sdk-core/dax.rb +0 -6
  966. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  967. data/lib/aws-sdk-core/directconnect.rb +0 -6
  968. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  969. data/lib/aws-sdk-core/dlm.rb +0 -6
  970. data/lib/aws-sdk-core/docdb.rb +0 -7
  971. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  972. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  973. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  974. data/lib/aws-sdk-core/ec2.rb +0 -8
  975. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  976. data/lib/aws-sdk-core/ecr.rb +0 -6
  977. data/lib/aws-sdk-core/ecs.rb +0 -7
  978. data/lib/aws-sdk-core/efs.rb +0 -6
  979. data/lib/aws-sdk-core/eks.rb +0 -7
  980. data/lib/aws-sdk-core/elasticache.rb +0 -7
  981. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  982. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  983. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  984. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  985. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  986. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  987. data/lib/aws-sdk-core/emr.rb +0 -7
  988. data/lib/aws-sdk-core/endpoint_provider.rb +0 -104
  989. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  990. data/lib/aws-sdk-core/firehose.rb +0 -6
  991. data/lib/aws-sdk-core/fms.rb +0 -6
  992. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  993. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  994. data/lib/aws-sdk-core/fsx.rb +0 -6
  995. data/lib/aws-sdk-core/gamelift.rb +0 -6
  996. data/lib/aws-sdk-core/glacier.rb +0 -8
  997. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  998. data/lib/aws-sdk-core/glue.rb +0 -6
  999. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1000. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1001. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1002. data/lib/aws-sdk-core/health.rb +0 -6
  1003. data/lib/aws-sdk-core/iam.rb +0 -8
  1004. data/lib/aws-sdk-core/importexport.rb +0 -5
  1005. data/lib/aws-sdk-core/inspector.rb +0 -6
  1006. data/lib/aws-sdk-core/iot.rb +0 -6
  1007. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1008. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1009. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1010. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1011. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1012. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1013. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1014. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1015. data/lib/aws-sdk-core/kafka.rb +0 -5
  1016. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1017. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1018. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1019. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1020. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1021. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1022. data/lib/aws-sdk-core/kms.rb +0 -6
  1023. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1024. data/lib/aws-sdk-core/lambda.rb +0 -7
  1025. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1026. data/lib/aws-sdk-core/lex.rb +0 -6
  1027. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1028. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1029. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1030. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1031. data/lib/aws-sdk-core/macie.rb +0 -6
  1032. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1033. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1034. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1035. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1036. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1037. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1038. data/lib/aws-sdk-core/medialive.rb +0 -6
  1039. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1040. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1041. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1042. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1043. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1044. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1045. data/lib/aws-sdk-core/mobile.rb +0 -6
  1046. data/lib/aws-sdk-core/mq.rb +0 -5
  1047. data/lib/aws-sdk-core/mturk.rb +0 -6
  1048. data/lib/aws-sdk-core/neptune.rb +0 -7
  1049. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1050. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1051. data/lib/aws-sdk-core/organizations.rb +0 -6
  1052. data/lib/aws-sdk-core/partitions.rb +0 -174
  1053. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1054. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1055. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1056. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1057. data/lib/aws-sdk-core/personalize.rb +0 -6
  1058. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1059. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1060. data/lib/aws-sdk-core/pi.rb +0 -6
  1061. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1062. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1063. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1064. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1065. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1066. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1067. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1068. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1069. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1070. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1071. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1072. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1073. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1074. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1075. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1076. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1077. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1078. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1079. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1080. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1081. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1082. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1083. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1084. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1085. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1086. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1087. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1088. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1089. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1090. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1091. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1092. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1093. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1094. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1095. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1096. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1097. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1098. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1099. data/lib/aws-sdk-core/polly.rb +0 -14
  1100. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1101. data/lib/aws-sdk-core/pricing.rb +0 -6
  1102. data/lib/aws-sdk-core/qldb.rb +0 -6
  1103. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1104. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1105. data/lib/aws-sdk-core/ram.rb +0 -6
  1106. data/lib/aws-sdk-core/rds.rb +0 -16
  1107. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1108. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1109. data/lib/aws-sdk-core/redshift.rb +0 -7
  1110. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1111. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1112. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1113. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1114. data/lib/aws-sdk-core/route53.rb +0 -7
  1115. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1116. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1117. data/lib/aws-sdk-core/s3.rb +0 -26
  1118. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1119. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1120. data/lib/aws-sdk-core/s3control.rb +0 -6
  1121. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1122. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1123. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1124. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1125. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1126. data/lib/aws-sdk-core/service.rb +0 -4
  1127. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1128. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1129. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1130. data/lib/aws-sdk-core/ses.rb +0 -7
  1131. data/lib/aws-sdk-core/shield.rb +0 -6
  1132. data/lib/aws-sdk-core/signer.rb +0 -7
  1133. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1134. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1135. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1136. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1137. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1138. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1139. data/lib/aws-sdk-core/sms.rb +0 -6
  1140. data/lib/aws-sdk-core/snowball.rb +0 -6
  1141. data/lib/aws-sdk-core/sns.rb +0 -7
  1142. data/lib/aws-sdk-core/sqs.rb +0 -7
  1143. data/lib/aws-sdk-core/ssm.rb +0 -6
  1144. data/lib/aws-sdk-core/states.rb +0 -6
  1145. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1146. data/lib/aws-sdk-core/sts.rb +0 -6
  1147. data/lib/aws-sdk-core/support.rb +0 -6
  1148. data/lib/aws-sdk-core/swf.rb +0 -6
  1149. data/lib/aws-sdk-core/textract.rb +0 -6
  1150. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1151. data/lib/aws-sdk-core/transfer.rb +0 -6
  1152. data/lib/aws-sdk-core/translate.rb +0 -6
  1153. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1154. data/lib/aws-sdk-core/version.rb +0 -3
  1155. data/lib/aws-sdk-core/waf.rb +0 -6
  1156. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1157. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1158. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1159. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1160. data/lib/aws-sdk-core/worklink.rb +0 -6
  1161. data/lib/aws-sdk-core/workmail.rb +0 -6
  1162. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1163. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1164. data/lib/aws-sdk-core/xray.rb +0 -6
  1165. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1166. data/service-models.json +0 -769
@@ -1,14 +1,16 @@
1
+ require 'jmespath'
2
+
1
3
  module Aws
2
4
  # @api private
3
5
  class Pager
4
6
 
5
- def initialize(rules)
6
- @more_results = rules['more_results']
7
- @more_results = underscore(@more_results) if @more_results
8
- if rules['limit_key']
9
- @limit_key = underscore(rules['limit_key']).to_sym
10
- end
11
- map_tokens(rules)
7
+ # @option options [required, Hash<JMESPath,JMESPath>] :tokens
8
+ # @option options [String<JMESPath>] :limit_key
9
+ # @option options [String<JMESPath>] :more_results
10
+ def initialize(options)
11
+ @tokens = options.fetch(:tokens)
12
+ @limit_key = options.fetch(:limit_key, nil)
13
+ @more_results = options.fetch(:more_results, nil)
12
14
  end
13
15
 
14
16
  # @return [Symbol, nil]
@@ -37,32 +39,35 @@ module Aws
37
39
  if @more_results
38
40
  JMESPath.search(@more_results, response.data)
39
41
  else
40
- next_tokens = self.next_tokens(response)
41
- prev_tokens = self.prev_tokens(response)
42
- !(next_tokens.empty? || next_tokens == prev_tokens)
42
+ next_t = next_tokens(response)
43
+ prev_t = prev_tokens(response)
44
+ !(next_t.empty? || next_t == prev_t)
43
45
  end
44
46
  end
45
47
 
46
48
  private
47
49
 
48
- def map_tokens(rules)
49
- input = Array(rules['input_token'])
50
- output = Array(rules['output_token'])
51
- @tokens = {}
52
- input.each.with_index do |key, n|
53
- @tokens[underscore(output[n])] = underscore(key)
54
- end
55
- end
56
-
57
- def underscore(str)
58
- str.
59
- gsub(' or ', '||').
60
- gsub(/\w+/) { |part| Seahorse::Util.underscore(part) }
61
- end
62
-
63
50
  def empty_value?(value)
64
51
  value.nil? || value == '' || value == [] || value == {}
65
52
  end
66
53
 
54
+ class NullPager
55
+
56
+ # @return [nil]
57
+ attr_reader :limit_key
58
+
59
+ def next_tokens
60
+ {}
61
+ end
62
+
63
+ def prev_tokens
64
+ {}
65
+ end
66
+
67
+ def truncated?(response)
68
+ false
69
+ end
70
+
71
+ end
67
72
  end
68
73
  end
@@ -40,7 +40,7 @@ module Aws
40
40
 
41
41
  def structure(ref, values)
42
42
  values = c(ref, values)
43
- if Struct === values || Hash === values
43
+ if ::Struct === values || Hash === values
44
44
  values.each_pair do |k, v|
45
45
  unless v.nil?
46
46
  if ref.shape.member?(k)
@@ -165,10 +165,10 @@ module Aws
165
165
  end
166
166
 
167
167
  add(StructureShape, Hash) { |h| h.dup }
168
- add(StructureShape, Struct)
168
+ add(StructureShape, ::Struct)
169
169
 
170
170
  add(MapShape, Hash) { |h| h.dup }
171
- add(MapShape, Struct) do |s|
171
+ add(MapShape, ::Struct) do |s|
172
172
  s.members.each.with_object({}) {|k,h| h[k] = s[k] }
173
173
  end
174
174
 
@@ -16,8 +16,13 @@ module Aws
16
16
  # @param [Seahorse::Model::Shapes::ShapeRef] rules
17
17
  # @option options [Boolean] :validate_required (true)
18
18
  def initialize(rules, options = {})
19
- @rules = rules
19
+ @rules = rules || begin
20
+ shape = StructureShape.new
21
+ shape.struct_class = EmptyStructure
22
+ ShapeRef.new(shape: shape)
23
+ end
20
24
  @validate_required = options[:validate_required] != false
25
+ @input = options[:input].nil? ? true : !!options[:input]
21
26
  end
22
27
 
23
28
  # @param [Hash] params
@@ -34,28 +39,50 @@ module Aws
34
39
  # ensure the value is hash like
35
40
  return unless correct_type?(ref, values, errors, context)
36
41
 
37
- shape = ref.shape
38
-
39
- # ensure required members are present
40
- if @validate_required
41
- shape.required.each do |member_name|
42
- if values[member_name].nil?
43
- param = "#{context}[#{member_name.inspect}]"
44
- errors << "missing required parameter #{param}"
42
+ if ref.eventstream
43
+ # input eventstream is provided from event signals
44
+ values.each do |value|
45
+ # each event is structure type
46
+ case value[:message_type]
47
+ when 'event'
48
+ val = value.dup
49
+ val.delete(:message_type)
50
+ structure(ref.shape.member(val[:event_type]), val, errors, context)
51
+ when 'error' # Error is unmodeled
52
+ when 'exception' # Pending
53
+ raise Aws::Errors::EventStreamParserError.new(
54
+ ':exception event validation is not supported')
55
+ end
56
+ end
57
+ else
58
+ shape = ref.shape
59
+
60
+ # ensure required members are present
61
+ if @validate_required
62
+ shape.required.each do |member_name|
63
+ input_eventstream = ref.shape.member(member_name).eventstream && @input
64
+ if values[member_name].nil? && !input_eventstream
65
+ param = "#{context}[#{member_name.inspect}]"
66
+ errors << "missing required parameter #{param}"
67
+ end
45
68
  end
46
69
  end
47
- end
48
70
 
49
- # validate non-nil members
50
- values.each_pair do |name, value|
51
- unless value.nil?
52
- if shape.member?(name)
53
- member_ref = shape.member(name)
54
- shape(member_ref, value, errors, context + "[#{name.inspect}]")
55
- else
56
- errors << "unexpected value at #{context}[#{name.inspect}]"
71
+ # validate non-nil members
72
+ values.each_pair do |name, value|
73
+ unless value.nil?
74
+ # :event_type is not modeled
75
+ # and also needed when construct body
76
+ next if name == :event_type
77
+ if shape.member?(name)
78
+ member_ref = shape.member(name)
79
+ shape(member_ref, value, errors, context + "[#{name.inspect}]")
80
+ else
81
+ errors << "unexpected value at #{context}[#{name.inspect}]"
82
+ end
57
83
  end
58
84
  end
85
+
59
86
  end
60
87
  end
61
88
 
@@ -74,8 +101,10 @@ module Aws
74
101
  end
75
102
 
76
103
  def map(ref, values, errors, context)
77
-
78
- return unless correct_type?(ref, values, errors, context)
104
+ unless Hash === values
105
+ errors << expected_got(context, "a hash", values)
106
+ return
107
+ end
79
108
 
80
109
  key_ref = ref.shape.key
81
110
  value_ref = ref.shape.value
@@ -121,9 +150,15 @@ module Aws
121
150
  end
122
151
 
123
152
  def correct_type?(ref, value, errors, context)
153
+ if ref.eventstream && @input
154
+ errors << "instead of providing value directly for eventstreams at input,"\
155
+ " expected to use #signal events per stream"
156
+ return false
157
+ end
124
158
  case value
125
159
  when Hash then true
126
- when ref[:struct_class] then true
160
+ when ref.shape.struct_class then true
161
+ when Enumerator then ref.eventstream && value.respond_to?(:event_types)
127
162
  else
128
163
  errors << expected_got(context, "a hash", value)
129
164
  false
@@ -0,0 +1,52 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ # Provide support for `api_key` parameter for `api-gateway` protocol
5
+ # specific `api-gateway` protocol gems' user-agent
6
+ class ApiKey < Seahorse::Client::Plugin
7
+
8
+ option(:api_key,
9
+ default: nil,
10
+ doc_type: 'String',
11
+ docstring: <<-DOCS)
12
+ When provided, `x-api-key` header will be injected with the value provided.
13
+ DOCS
14
+
15
+ def add_handlers(handlers, config)
16
+ handlers.add(OptionHandler, step: :initialize)
17
+ handlers.add(ApiKeyHandler, step: :build, priority: 0)
18
+ end
19
+
20
+ # @api private
21
+ class OptionHandler < Seahorse::Client::Handler
22
+ def call(context)
23
+ if context.operation.require_apikey
24
+ api_key = context.params.delete(:api_key)
25
+ api_key = context.config.api_key if api_key.nil?
26
+ context[:api_key] = api_key
27
+ end
28
+
29
+ @handler.call(context)
30
+ end
31
+
32
+ end
33
+
34
+ # @api private
35
+ class ApiKeyHandler < Seahorse::Client::Handler
36
+
37
+ def call(context)
38
+ if context[:api_key]
39
+ apply_api_key(context)
40
+ end
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_api_key(context)
47
+ context.http_request.headers['x-api-key'] = context[:api_key]
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,30 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ # apply APIG custom authorizer token to
5
+ # operations with 'authtype' of 'custom' only
6
+ class APIGAuthorizerToken < Seahorse::Client::Plugin
7
+
8
+ option(:authorizer_token, default: nil)
9
+
10
+ def add_handlers(handlers, config)
11
+ handlers.add(AuthTokenHandler, step: :sign)
12
+ end
13
+
14
+ # @api private
15
+ class AuthTokenHandler < Seahorse::Client::Handler
16
+
17
+ def call(context)
18
+ if context.operation['authtype'] == 'custom' &&
19
+ context.config.authorizer_token &&
20
+ context.authorizer.placement[:location] == 'header'
21
+
22
+ header = context.authorizer.placement[:name]
23
+ context.http_request.headers[header] = context.config.authorizer_token
24
+ end
25
+ @handler.call(context)
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,34 @@
1
+ module Aws
2
+ # @api private
3
+ module Plugins
4
+ # @api private
5
+ # Used for APIGateway generated SDKs credentials config
6
+ class APIGCredentialsConfiguration < Seahorse::Client::Plugin
7
+
8
+ option(:access_key_id, doc_type: String, docstring: '')
9
+
10
+ option(:secret_access_key, doc_type: String, docstring: '')
11
+
12
+ option(:session_token, doc_type: String, docstring: '')
13
+
14
+ option(:profile, doc_type: String, docstring: '')
15
+
16
+ option(:credentials,
17
+ required: false,
18
+ doc_type: 'Aws::CredentialProvider',
19
+ docstring: <<-DOCS
20
+ AWS Credentials options is only required when your API uses
21
+ [AWS Signature Version 4](http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html),
22
+ more AWS Credentials Configuration Options are available [here](https://github.com/aws/aws-sdk-ruby#configuration).
23
+ DOCS
24
+ ) do |config|
25
+ CredentialProviderChain.new(config).resolve
26
+ end
27
+
28
+ option(:instance_profile_credentials_retries, 0)
29
+
30
+ option(:instance_profile_credentials_timeout, 1)
31
+
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,37 @@
1
+ module Aws
2
+ module Plugins
3
+ # @api private
4
+ class APIGUserAgent < Seahorse::Client::Plugin
5
+
6
+ option(:user_agent_suffix)
7
+
8
+ # @api private
9
+ class Handler < Seahorse::Client::Handler
10
+
11
+ def call(context)
12
+ set_user_agent(context)
13
+ @handler.call(context)
14
+ end
15
+
16
+ def set_user_agent(context)
17
+ ua = "aws-apig-ruby/#{CORE_GEM_VERSION}"
18
+
19
+ begin
20
+ ua += " #{RUBY_ENGINE}/#{RUBY_VERSION}"
21
+ rescue
22
+ ua += " RUBY_ENGINE_NA/#{RUBY_VERSION}"
23
+ end
24
+
25
+ ua += " #{RUBY_PLATFORM}"
26
+ ua += " #{context.config.user_agent_suffix}" if context.config.user_agent_suffix
27
+
28
+ context.http_request.headers['User-Agent'] = ua.strip
29
+ end
30
+
31
+ end
32
+
33
+ handler(Handler)
34
+
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,280 @@
1
+ require 'date'
2
+
3
+ module Aws
4
+ module Plugins
5
+ class ClientMetricsPlugin < Seahorse::Client::Plugin
6
+
7
+ option(:client_side_monitoring,
8
+ default: false,
9
+ doc_type: 'Boolean',
10
+ docstring: <<-DOCS) do |cfg|
11
+ When `true`, client-side metrics will be collected for all API requests from
12
+ this client.
13
+ DOCS
14
+ resolve_client_side_monitoring(cfg)
15
+ end
16
+
17
+ option(:client_side_monitoring_port,
18
+ default: 31000,
19
+ doc_type: Integer,
20
+ docstring: <<-DOCS) do |cfg|
21
+ Required for publishing client metrics. The port that the client side monitoring
22
+ agent is running on, where client metrics will be published via UDP.
23
+ DOCS
24
+ resolve_client_side_monitoring_port(cfg)
25
+ end
26
+
27
+ option(:client_side_monitoring_host,
28
+ default: "127.0.0.1",
29
+ doc_type: String,
30
+ docstring: <<-DOCS) do |cfg|
31
+ Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
32
+ side monitoring agent is running on, where client metrics will be published via UDP.
33
+ DOCS
34
+ resolve_client_side_monitoring_host(cfg)
35
+ end
36
+
37
+ option(:client_side_monitoring_publisher,
38
+ default: ClientSideMonitoring::Publisher,
39
+ doc_type: Aws::ClientSideMonitoring::Publisher,
40
+ docstring: <<-DOCS) do |cfg|
41
+ Allows you to provide a custom client-side monitoring publisher class. By default,
42
+ will use the Client Side Monitoring Agent Publisher.
43
+ DOCS
44
+ resolve_publisher(cfg)
45
+ end
46
+
47
+ option(:client_side_monitoring_client_id,
48
+ default: "",
49
+ doc_type: String,
50
+ docstring: <<-DOCS) do |cfg|
51
+ Allows you to provide an identifier for this client which will be attached to
52
+ all generated client side metrics. Defaults to an empty string.
53
+ DOCS
54
+ resolve_client_id(cfg)
55
+ end
56
+
57
+ def add_handlers(handlers, config)
58
+ if config.client_side_monitoring && config.client_side_monitoring_port
59
+ handlers.add(Handler, step: :initialize)
60
+ publisher = config.client_side_monitoring_publisher
61
+ publisher.agent_port = config.client_side_monitoring_port
62
+ publisher.agent_host = config.client_side_monitoring_host
63
+ end
64
+ end
65
+
66
+ private
67
+ def self.resolve_publisher(cfg)
68
+ ClientSideMonitoring::Publisher.new
69
+ end
70
+
71
+ def self.resolve_client_side_monitoring_port(cfg)
72
+ env_source = ENV["AWS_CSM_PORT"]
73
+ env_source = nil if env_source == ""
74
+ cfg_source = Aws.shared_config.csm_port(profile: cfg.profile)
75
+ if env_source
76
+ env_source.to_i
77
+ elsif cfg_source
78
+ cfg_source.to_i
79
+ else
80
+ 31000
81
+ end
82
+ end
83
+
84
+ def self.resolve_client_side_monitoring_host(cfg)
85
+ env_source = ENV["AWS_CSM_HOST"]
86
+ env_source = nil if env_source == ""
87
+ cfg_source = Aws.shared_config.csm_host(profile: cfg.profile)
88
+ if env_source
89
+ env_source
90
+ elsif cfg_source
91
+ cfg_source
92
+ else
93
+ "127.0.0.1"
94
+ end
95
+ end
96
+
97
+ def self.resolve_client_side_monitoring(cfg)
98
+ env_source = ENV["AWS_CSM_ENABLED"]
99
+ env_source = nil if env_source == ""
100
+ if env_source.is_a?(String) && (env_source.downcase == "false" || env_source.downcase == "f")
101
+ env_source = false
102
+ end
103
+ cfg_source = Aws.shared_config.csm_enabled(profile: cfg.profile)
104
+ if env_source || cfg_source
105
+ true
106
+ else
107
+ false
108
+ end
109
+ end
110
+
111
+ def self.resolve_client_id(cfg)
112
+ default = ""
113
+ env_source = ENV["AWS_CSM_CLIENT_ID"]
114
+ env_source = nil if env_source == ""
115
+ cfg_source = Aws.shared_config.csm_client_id(profile: cfg.profile)
116
+ env_source || cfg_source || default
117
+ end
118
+
119
+ class Handler < Seahorse::Client::Handler
120
+ def call(context)
121
+ publisher = context.config.client_side_monitoring_publisher
122
+ service_id = context.config.api.metadata["serviceId"]
123
+ # serviceId not present in all versions, need a fallback
124
+ service_id ||= _calculate_service_id(context)
125
+
126
+ request_metrics = ClientSideMonitoring::RequestMetrics.new(
127
+ service: service_id,
128
+ operation: context.operation.name,
129
+ client_id: context.config.client_side_monitoring_client_id,
130
+ region: context.config.region,
131
+ timestamp: DateTime.now.strftime('%Q').to_i,
132
+ )
133
+ context.metadata[:client_metrics] = request_metrics
134
+ start_time = Aws::Util.monotonic_milliseconds
135
+ final_error_retryable = false
136
+ final_aws_exception = nil
137
+ final_aws_exception_message = nil
138
+ final_sdk_exception = nil
139
+ final_sdk_exception_message = nil
140
+ begin
141
+ @handler.call(context)
142
+ rescue StandardError => e
143
+ # Handle SDK Exceptions
144
+ inspector = Aws::Plugins::RetryErrors::ErrorInspector.new(
145
+ e,
146
+ context.http_response.status_code
147
+ )
148
+ if inspector.retryable?(context)
149
+ final_error_retryable = true
150
+ end
151
+ if request_metrics.api_call_attempts.empty?
152
+ attempt = request_metrics.build_call_attempt
153
+ attempt.sdk_exception = e.class.to_s
154
+ attempt.sdk_exception_msg = e.message
155
+ request_metrics.add_call_attempt(attempt)
156
+ elsif request_metrics.api_call_attempts.last.aws_exception.nil?
157
+ # Handle exceptions during response handlers
158
+ attempt = request_metrics.api_call_attempts.last
159
+ attempt.sdk_exception = e.class.to_s
160
+ attempt.sdk_exception_msg = e.message
161
+ elsif !e.class.to_s.match(request_metrics.api_call_attempts.last.aws_exception)
162
+ # Handle response handling exceptions that happened in addition to
163
+ # an AWS exception
164
+ attempt = request_metrics.api_call_attempts.last
165
+ attempt.sdk_exception = e.class.to_s
166
+ attempt.sdk_exception_msg = e.message
167
+ end # Else we don't have an SDK exception and are done.
168
+ final_attempt = request_metrics.api_call_attempts.last
169
+ final_aws_exception = final_attempt.aws_exception
170
+ final_aws_exception_message = final_attempt.aws_exception_msg
171
+ final_sdk_exception = final_attempt.sdk_exception
172
+ final_sdk_exception_message = final_attempt.sdk_exception_msg
173
+ raise e
174
+ ensure
175
+ end_time = Aws::Util.monotonic_milliseconds
176
+ complete_opts = {
177
+ latency: end_time - start_time,
178
+ attempt_count: context.retries + 1,
179
+ user_agent: context.http_request.headers["user-agent"],
180
+ final_error_retryable: final_error_retryable,
181
+ final_http_status_code: context.http_response.status_code,
182
+ final_aws_exception: final_aws_exception,
183
+ final_aws_exception_message: final_aws_exception_message,
184
+ final_sdk_exception: final_sdk_exception,
185
+ final_sdk_exception_message: final_sdk_exception_message
186
+ }
187
+ if context.metadata[:redirect_region]
188
+ complete_opts[:region] = context.metadata[:redirect_region]
189
+ end
190
+ request_metrics.api_call.complete(complete_opts)
191
+ # Report the metrics by passing the complete RequestMetrics object
192
+ if publisher
193
+ publisher.publish(request_metrics)
194
+ end # Else we drop all this on the floor.
195
+ end
196
+ end
197
+
198
+ private
199
+ def _calculate_service_id(context)
200
+ class_name = context.client.class.to_s.match(/(.+)::Client/)[1]
201
+ class_name.sub!(/^Aws::/, '')
202
+ _fallback_service_id(class_name)
203
+ end
204
+
205
+ def _fallback_service_id(id)
206
+ # Need hard-coded exceptions since information needed to
207
+ # reverse-engineer serviceId is not present in older versions.
208
+ # This list should not need to grow.
209
+ exceptions = {
210
+ "ACMPCA" => "ACM PCA",
211
+ "APIGateway" => "API Gateway",
212
+ "AlexaForBusiness" => "Alexa For Business",
213
+ "ApplicationAutoScaling" => "Application Auto Scaling",
214
+ "ApplicationDiscoveryService" => "Application Discovery Service",
215
+ "AutoScaling" => "Auto Scaling",
216
+ "AutoScalingPlans" => "Auto Scaling Plans",
217
+ "CloudHSMV2" => "CloudHSM V2",
218
+ "CloudSearchDomain" => "CloudSearch Domain",
219
+ "CloudWatchEvents" => "CloudWatch Events",
220
+ "CloudWatchLogs" => "CloudWatch Logs",
221
+ "CognitoIdentity" => "Cognito Identity",
222
+ "CognitoIdentityProvider" => "Cognito Identity Provider",
223
+ "CognitoSync" => "Cognito Sync",
224
+ "ConfigService" => "Config Service",
225
+ "CostExplorer" => "Cost Explorer",
226
+ "CostandUsageReportService" => "Cost and Usage Report Service",
227
+ "DataPipeline" => "Data Pipeline",
228
+ "DatabaseMigrationService" => "Database Migration Service",
229
+ "DeviceFarm" => "Device Farm",
230
+ "DirectConnect" => "Direct Connect",
231
+ "DirectoryService" => "Directory Service",
232
+ "DynamoDBStreams" => "DynamoDB Streams",
233
+ "ElasticBeanstalk" => "Elastic Beanstalk",
234
+ "ElasticLoadBalancing" => "Elastic Load Balancing",
235
+ "ElasticLoadBalancingV2" => "Elastic Load Balancing v2",
236
+ "ElasticTranscoder" => "Elastic Transcoder",
237
+ "ElasticsearchService" => "Elasticsearch Service",
238
+ "IoTDataPlane" => "IoT Data Plane",
239
+ "IoTJobsDataPlane" => "IoT Jobs Data Plane",
240
+ "IoT1ClickDevicesService" => "IoT 1Click Devices Service",
241
+ "IoT1ClickProjects" => "IoT 1Click Projects",
242
+ "KinesisAnalytics" => "Kinesis Analytics",
243
+ "KinesisVideo" => "Kinesis Video",
244
+ "KinesisVideoArchivedMedia" => "Kinesis Video Archived Media",
245
+ "KinesisVideoMedia" => "Kinesis Video Media",
246
+ "LambdaPreview" => "Lambda",
247
+ "Lex" => "Lex Runtime Service",
248
+ "LexModelBuildingService" => "Lex Model Building Service",
249
+ "Lightsail" => "Lightsail",
250
+ "MQ" => "mq",
251
+ "MachineLearning" => "Machine Learning",
252
+ "MarketplaceCommerceAnalytics" => "Marketplace Commerce Analytics",
253
+ "MarketplaceEntitlementService" => "Marketplace Entitlement Service",
254
+ "MarketplaceMetering" => "Marketplace Metering",
255
+ "MediaStoreData" => "MediaStore Data",
256
+ "MigrationHub" => "Migration Hub",
257
+ "ResourceGroups" => "Resource Groups",
258
+ "ResourceGroupsTaggingAPI" => "Resource Groups Tagging API",
259
+ "Route53" => "Route 53",
260
+ "Route53Domains" => "Route 53 Domains",
261
+ "SecretsManager" => "Secrets Manager",
262
+ "SageMakerRuntime" => "SageMaker Runtime",
263
+ "ServiceCatalog" => "Service Catalog",
264
+ "ServiceDiscovery" => "ServiceDiscovery",
265
+ "Signer" => "signer",
266
+ "States" => "SFN",
267
+ "StorageGateway" => "Storage Gateway",
268
+ "TranscribeService" => "Transcribe Service",
269
+ "WAFRegional" => "WAF Regional",
270
+ }
271
+ if exceptions[id]
272
+ exceptions[id]
273
+ else
274
+ id
275
+ end
276
+ end
277
+ end
278
+ end
279
+ end
280
+ end