aws-sdk-core 2.11.336 → 3.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1144) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -547
  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 +34 -1
  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 +1 -1
  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 +79 -24
  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 +147 -10
  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/http/async_response.rb +42 -0
  111. data/lib/seahorse/client/http/response.rb +10 -5
  112. data/lib/seahorse/client/logging/formatter.rb +2 -0
  113. data/lib/seahorse/client/logging/handler.rb +2 -0
  114. data/lib/seahorse/client/net_http/connection_pool.rb +16 -4
  115. data/lib/seahorse/client/net_http/handler.rb +5 -0
  116. data/lib/seahorse/client/net_http/patches.rb +9 -1
  117. data/lib/seahorse/client/networking_error.rb +28 -0
  118. data/lib/seahorse/client/plugin.rb +66 -6
  119. data/lib/seahorse/client/plugins/content_length.rb +7 -2
  120. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  121. data/lib/seahorse/client/plugins/h2.rb +64 -0
  122. data/lib/seahorse/client/plugins/logging.rb +17 -19
  123. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  124. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  125. data/lib/seahorse/client/plugins/response_target.rb +10 -1
  126. data/lib/seahorse/client/request_context.rb +5 -0
  127. data/lib/seahorse/model/api.rb +33 -0
  128. data/lib/seahorse/model/authorizer.rb +21 -0
  129. data/lib/seahorse/model/operation.rb +11 -0
  130. data/lib/seahorse/model/shapes.rb +44 -2
  131. data/lib/seahorse/util.rb +1 -22
  132. metadata +91 -1021
  133. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
  134. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  135. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
  136. data/apis/acm-pca/2017-08-22/api-2.json +0 -1091
  137. data/apis/acm-pca/2017-08-22/examples-1.json +0 -5
  138. data/apis/acm-pca/2017-08-22/paginators-1.json +0 -22
  139. data/apis/acm-pca/2017-08-22/waiters-2.json +0 -61
  140. data/apis/acm/2015-12-08/api-2.json +0 -843
  141. data/apis/acm/2015-12-08/examples-1.json +0 -5
  142. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  143. data/apis/acm/2015-12-08/smoke.json +0 -18
  144. data/apis/acm/2015-12-08/waiters-2.json +0 -35
  145. data/apis/alexaforbusiness/2017-11-09/api-2.json +0 -3994
  146. data/apis/alexaforbusiness/2017-11-09/examples-1.json +0 -5
  147. data/apis/alexaforbusiness/2017-11-09/paginators-1.json +0 -94
  148. data/apis/amplify/2017-07-25/api-2.json +0 -1972
  149. data/apis/amplify/2017-07-25/examples-1.json +0 -5
  150. data/apis/amplify/2017-07-25/paginators-1.json +0 -4
  151. data/apis/apigateway/2015-07-09/api-2.json +0 -5382
  152. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  153. data/apis/apigateway/2015-07-09/paginators-1.json +0 -76
  154. data/apis/apigateway/2015-07-09/smoke.json +0 -20
  155. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +0 -96
  156. data/apis/apigatewaymanagementapi/2018-11-29/paginators-1.json +0 -3
  157. data/apis/apigatewayv2/2018-11-29/api-2.json +0 -5773
  158. data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
  159. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -768
  160. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -257
  161. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -22
  162. data/apis/application-autoscaling/2016-02-06/smoke.json +0 -13
  163. data/apis/application-insights/2018-11-25/api-2.json +0 -721
  164. data/apis/application-insights/2018-11-25/examples-1.json +0 -5
  165. data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
  166. data/apis/appmesh/2018-10-01/api-2.json +0 -1972
  167. data/apis/appmesh/2018-10-01/examples-1.json +0 -4
  168. data/apis/appmesh/2018-10-01/paginators-1.json +0 -28
  169. data/apis/appmesh/2019-01-25/api-2.json +0 -3202
  170. data/apis/appmesh/2019-01-25/examples-1.json +0 -4
  171. data/apis/appmesh/2019-01-25/paginators-1.json +0 -40
  172. data/apis/appstream/2016-12-01/api-2.json +0 -2304
  173. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  174. data/apis/appstream/2016-12-01/paginators-1.json +0 -14
  175. data/apis/appstream/2016-12-01/smoke.json +0 -11
  176. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  177. data/apis/appsync/2017-07-25/api-2.json +0 -2003
  178. data/apis/appsync/2017-07-25/examples-1.json +0 -5
  179. data/apis/appsync/2017-07-25/paginators-1.json +0 -4
  180. data/apis/athena/2017-05-18/api-2.json +0 -984
  181. data/apis/athena/2017-05-18/examples-1.json +0 -5
  182. data/apis/athena/2017-05-18/paginators-1.json +0 -24
  183. data/apis/athena/2017-05-18/smoke.json +0 -11
  184. data/apis/autoscaling-plans/2018-01-06/api-2.json +0 -659
  185. data/apis/autoscaling-plans/2018-01-06/examples-1.json +0 -5
  186. data/apis/autoscaling-plans/2018-01-06/paginators-1.json +0 -4
  187. data/apis/autoscaling/2011-01-01/api-2.json +0 -2455
  188. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  189. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  190. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  191. data/apis/autoscaling/2011-01-01/smoke.json +0 -20
  192. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  193. data/apis/backup/2018-11-15/api-2.json +0 -2150
  194. data/apis/backup/2018-11-15/examples-1.json +0 -5
  195. data/apis/backup/2018-11-15/paginators-1.json +0 -59
  196. data/apis/batch/2016-08-10/api-2.json +0 -1128
  197. data/apis/batch/2016-08-10/examples-1.json +0 -589
  198. data/apis/batch/2016-08-10/paginators-1.json +0 -28
  199. data/apis/batch/2016-08-10/smoke.json +0 -11
  200. data/apis/budgets/2016-10-20/api-2.json +0 -807
  201. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  202. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  203. data/apis/ce/2017-10-25/api-2.json +0 -1035
  204. data/apis/ce/2017-10-25/examples-1.json +0 -5
  205. data/apis/ce/2017-10-25/paginators-1.json +0 -4
  206. data/apis/chime/2018-05-01/api-2.json +0 -2902
  207. data/apis/chime/2018-05-01/examples-1.json +0 -5
  208. data/apis/chime/2018-05-01/paginators-1.json +0 -29
  209. data/apis/cloud9/2017-09-23/api-2.json +0 -547
  210. data/apis/cloud9/2017-09-23/examples-1.json +0 -308
  211. data/apis/cloud9/2017-09-23/paginators-1.json +0 -14
  212. data/apis/clouddirectory/2016-05-10/api-2.json +0 -4244
  213. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  214. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  215. data/apis/clouddirectory/2017-01-11/api-2.json +0 -4321
  216. data/apis/clouddirectory/2017-01-11/examples-1.json +0 -5
  217. data/apis/clouddirectory/2017-01-11/paginators-1.json +0 -99
  218. data/apis/cloudformation/2010-05-15/api-2.json +0 -2686
  219. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  220. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
  221. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  222. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  223. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  224. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  225. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  226. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  227. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  228. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  229. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  230. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  231. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  232. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  233. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  234. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  235. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  236. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  237. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  238. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  239. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  240. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  241. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  242. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  243. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  244. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  245. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  246. data/apis/cloudfront/2017-03-25/api-2.json +0 -2726
  247. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  248. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  249. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  250. data/apis/cloudfront/2017-10-30/api-2.json +0 -3906
  251. data/apis/cloudfront/2017-10-30/examples-1.json +0 -5
  252. data/apis/cloudfront/2017-10-30/paginators-1.json +0 -32
  253. data/apis/cloudfront/2017-10-30/smoke.json +0 -20
  254. data/apis/cloudfront/2017-10-30/waiters-2.json +0 -47
  255. data/apis/cloudfront/2018-06-18/api-2.json +0 -3907
  256. data/apis/cloudfront/2018-06-18/examples-1.json +0 -5
  257. data/apis/cloudfront/2018-06-18/paginators-1.json +0 -32
  258. data/apis/cloudfront/2018-06-18/smoke.json +0 -20
  259. data/apis/cloudfront/2018-06-18/waiters-2.json +0 -47
  260. data/apis/cloudfront/2018-11-05/api-2.json +0 -4004
  261. data/apis/cloudfront/2018-11-05/examples-1.json +0 -5
  262. data/apis/cloudfront/2018-11-05/paginators-1.json +0 -32
  263. data/apis/cloudfront/2018-11-05/smoke.json +0 -20
  264. data/apis/cloudfront/2018-11-05/waiters-2.json +0 -47
  265. data/apis/cloudfront/2019-03-26/api-2.json +0 -4032
  266. data/apis/cloudfront/2019-03-26/examples-1.json +0 -5
  267. data/apis/cloudfront/2019-03-26/paginators-1.json +0 -32
  268. data/apis/cloudfront/2019-03-26/smoke.json +0 -20
  269. data/apis/cloudfront/2019-03-26/waiters-2.json +0 -47
  270. data/apis/cloudhsm/2014-05-30/api-2.json +0 -879
  271. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  272. data/apis/cloudhsm/2014-05-30/paginators-1.json +0 -4
  273. data/apis/cloudhsmv2/2017-04-28/api-2.json +0 -718
  274. data/apis/cloudhsmv2/2017-04-28/examples-1.json +0 -5
  275. data/apis/cloudhsmv2/2017-04-28/paginators-1.json +0 -19
  276. data/apis/cloudhsmv2/2017-04-28/smoke.json +0 -18
  277. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  278. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  279. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  280. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  281. data/apis/cloudtrail/2013-11-01/api-2.json +0 -978
  282. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  283. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
  284. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  285. data/apis/codebuild/2016-10-06/api-2.json +0 -1276
  286. data/apis/codebuild/2016-10-06/examples-1.json +0 -281
  287. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  288. data/apis/codebuild/2016-10-06/smoke.json +0 -11
  289. data/apis/codecommit/2015-04-13/api-2.json +0 -4248
  290. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  291. data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
  292. data/apis/codecommit/2015-04-13/smoke.json +0 -18
  293. data/apis/codedeploy/2014-10-06/api-2.json +0 -3224
  294. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  295. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  296. data/apis/codedeploy/2014-10-06/smoke.json +0 -18
  297. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  298. data/apis/codepipeline/2015-07-09/api-2.json +0 -2382
  299. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  300. data/apis/codepipeline/2015-07-09/paginators-1.json +0 -38
  301. data/apis/codepipeline/2015-07-09/smoke.json +0 -18
  302. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  303. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  304. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  305. data/apis/codestar/2017-04-19/smoke.json +0 -11
  306. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1053
  307. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  308. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  309. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5349
  310. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  311. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -52
  312. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  313. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  314. data/apis/comprehend/2017-11-27/api-2.json +0 -2361
  315. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  316. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  317. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -248
  318. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  319. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  320. data/apis/config/2014-11-12/api-2.json +0 -3270
  321. data/apis/config/2014-11-12/examples-1.json +0 -5
  322. data/apis/config/2014-11-12/paginators-1.json +0 -16
  323. data/apis/config/2014-11-12/smoke.json +0 -19
  324. data/apis/connect/2017-08-08/api-2.json +0 -1379
  325. data/apis/connect/2017-08-08/examples-1.json +0 -5
  326. data/apis/connect/2017-08-08/paginators-1.json +0 -14
  327. data/apis/cur/2017-01-06/api-2.json +0 -277
  328. data/apis/cur/2017-01-06/examples-1.json +0 -102
  329. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  330. data/apis/cur/2017-01-06/smoke.json +0 -11
  331. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  332. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  333. data/apis/datasync/2018-11-09/api-2.json +0 -1204
  334. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  335. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  336. data/apis/dax/2017-04-19/api-2.json +0 -1140
  337. data/apis/dax/2017-04-19/examples-1.json +0 -5
  338. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  339. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  340. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  341. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  342. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  343. data/apis/directconnect/2012-10-25/api-2.json +0 -2066
  344. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  345. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  346. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  347. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  348. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  349. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  350. data/apis/discovery/2015-11-01/smoke.json +0 -11
  351. data/apis/dlm/2018-01-12/api-2.json +0 -444
  352. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  353. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  354. data/apis/dms/2016-01-01/api-2.json +0 -2259
  355. data/apis/dms/2016-01-01/examples-1.json +0 -1053
  356. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  357. data/apis/dms/2016-01-01/smoke.json +0 -18
  358. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  359. data/apis/docdb/2014-10-31/api-2.json +0 -2482
  360. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  361. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  362. data/apis/docdb/2014-10-31/smoke.json +0 -18
  363. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  364. data/apis/ds/2015-04-16/api-2.json +0 -2634
  365. data/apis/ds/2015-04-16/examples-1.json +0 -5
  366. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  367. data/apis/ds/2015-04-16/smoke.json +0 -20
  368. data/apis/dynamodb/2011-12-05/api-2.json +0 -803
  369. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  370. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  371. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  372. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  373. data/apis/dynamodb/2012-08-10/api-2.json +0 -2802
  374. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  375. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  376. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  377. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  378. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  379. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  380. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  381. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  382. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  383. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  384. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  385. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  386. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  387. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  388. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  389. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  390. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  391. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  392. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  393. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  394. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  395. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  396. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  397. data/apis/ec2/2016-11-15/api-2.json +0 -24837
  398. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  399. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  400. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  401. data/apis/ec2/2016-11-15/smoke.json +0 -20
  402. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  403. data/apis/ecr/2015-09-21/api-2.json +0 -1383
  404. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  405. data/apis/ecr/2015-09-21/paginators-1.json +0 -22
  406. data/apis/ecr/2015-09-21/smoke.json +0 -18
  407. data/apis/ecs/2014-11-13/api-2.json +0 -2809
  408. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  409. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  410. data/apis/ecs/2014-11-13/smoke.json +0 -18
  411. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  412. data/apis/eks/2017-11-01/api-2.json +0 -597
  413. data/apis/eks/2017-11-01/examples-1.json +0 -114
  414. data/apis/eks/2017-11-01/paginators-1.json +0 -4
  415. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  416. data/apis/elasticache/2015-02-02/api-2.json +0 -3131
  417. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  418. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  419. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  420. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  421. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  422. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  423. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  424. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  425. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -896
  426. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  427. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  428. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  429. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  430. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  431. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  432. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  433. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  434. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  435. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  436. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  437. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  438. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  439. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  440. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  441. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  442. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  443. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  444. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  445. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  446. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  447. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  448. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  449. data/apis/email/2010-12-01/api-2.json +0 -3182
  450. data/apis/email/2010-12-01/examples-1.json +0 -1021
  451. data/apis/email/2010-12-01/paginators-1.json +0 -18
  452. data/apis/email/2010-12-01/smoke.json +0 -18
  453. data/apis/email/2010-12-01/waiters-2.json +0 -18
  454. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  455. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  456. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  457. data/apis/es/2015-01-01/api-2.json +0 -1543
  458. data/apis/es/2015-01-01/examples-1.json +0 -5
  459. data/apis/es/2015-01-01/paginators-1.json +0 -29
  460. data/apis/es/2015-01-01/smoke.json +0 -18
  461. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  462. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  463. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  464. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  465. data/apis/events/2015-10-07/api-2.json +0 -1462
  466. data/apis/events/2015-10-07/examples-1.json +0 -5
  467. data/apis/events/2015-10-07/paginators-1.json +0 -4
  468. data/apis/events/2015-10-07/smoke.json +0 -18
  469. data/apis/firehose/2015-08-04/api-2.json +0 -1376
  470. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  471. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  472. data/apis/firehose/2015-08-04/smoke.json +0 -18
  473. data/apis/fms/2018-01-01/api-2.json +0 -692
  474. data/apis/fms/2018-01-01/examples-1.json +0 -5
  475. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  476. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  477. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  478. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  479. data/apis/gamelift/2015-10-01/api-2.json +0 -3447
  480. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  481. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  482. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  483. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  484. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  485. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  486. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  487. data/apis/glacier/2012-06-01/smoke.json +0 -18
  488. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  489. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -798
  490. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  491. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  492. data/apis/glue/2017-03-31/api-2.json +0 -6291
  493. data/apis/glue/2017-03-31/examples-1.json +0 -5
  494. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  495. data/apis/glue/2017-03-31/smoke.json +0 -11
  496. data/apis/greengrass/2017-06-07/api-2.json +0 -5103
  497. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  498. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  499. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  500. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  501. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  502. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  503. data/apis/health/2016-08-04/api-2.json +0 -554
  504. data/apis/health/2016-08-04/examples-1.json +0 -5
  505. data/apis/health/2016-08-04/paginators-1.json +0 -31
  506. data/apis/health/2016-08-04/smoke.json +0 -11
  507. data/apis/iam/2010-05-08/api-2.json +0 -5778
  508. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  509. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  510. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  511. data/apis/iam/2010-05-08/smoke.json +0 -18
  512. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  513. data/apis/importexport/2010-06-01/api-2.json +0 -667
  514. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  515. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  516. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  517. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  518. data/apis/inspector/2016-02-16/smoke.json +0 -18
  519. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  520. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  521. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  522. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  523. data/apis/iot/2015-05-28/api-2.json +0 -9676
  524. data/apis/iot/2015-05-28/examples-1.json +0 -5
  525. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  526. data/apis/iot/2015-05-28/smoke.json +0 -18
  527. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  528. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  529. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  530. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  531. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2222
  532. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  533. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  534. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  535. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  536. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  537. data/apis/iotevents/2018-07-27/api-2.json +0 -1133
  538. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  539. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  540. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  541. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  542. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  543. data/apis/kafka/2018-11-14/api-2.json +0 -1698
  544. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  545. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -417
  546. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  547. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  548. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  549. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  550. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  551. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  552. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  553. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  554. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  555. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  556. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  557. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  558. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  559. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  560. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  561. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  562. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  563. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  564. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  565. data/apis/kms/2014-11-01/api-2.json +0 -1834
  566. data/apis/kms/2014-11-01/examples-1.json +0 -906
  567. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  568. data/apis/kms/2014-11-01/smoke.json +0 -19
  569. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  570. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  571. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  572. data/apis/lambda/2014-11-11/api-2.json +0 -668
  573. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  574. data/apis/lambda/2015-03-31/api-2.json +0 -2345
  575. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  576. data/apis/lambda/2015-03-31/paginators-1.json +0 -16
  577. data/apis/lambda/2015-03-31/smoke.json +0 -18
  578. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  579. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  580. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  581. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  582. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  583. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  584. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  585. data/apis/lightsail/2016-11-28/api-2.json +0 -4781
  586. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  587. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  588. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  589. data/apis/logs/2014-03-28/api-2.json +0 -1701
  590. data/apis/logs/2014-03-28/examples-1.json +0 -5
  591. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  592. data/apis/logs/2014-03-28/smoke.json +0 -19
  593. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  594. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  595. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  596. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  597. data/apis/macie/2017-12-19/api-2.json +0 -365
  598. data/apis/macie/2017-12-19/examples-1.json +0 -5
  599. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  600. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  601. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  602. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  603. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -171
  604. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  605. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  606. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1880
  607. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  608. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8224
  609. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  610. data/apis/medialive/2017-10-14/api-2.json +0 -8711
  611. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  612. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  613. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1494
  614. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  615. data/apis/mediapackage/2017-10-12/api-2.json +0 -2039
  616. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -16
  617. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  618. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  619. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  620. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  621. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  622. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  623. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  624. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  625. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
  626. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  627. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  628. data/apis/mobile/2017-07-01/api-2.json +0 -551
  629. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  630. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  631. data/apis/monitoring/2010-08-01/api-2.json +0 -1525
  632. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  633. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  634. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  635. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  636. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  637. data/apis/mq/2017-11-27/api-2.json +0 -2490
  638. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  639. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  640. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  641. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  642. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  643. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  644. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  645. data/apis/neptune/2014-10-31/smoke.json +0 -18
  646. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  647. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  648. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  649. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  650. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  651. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  652. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  653. data/apis/opsworkscm/2016-11-01/api-2.json +0 -766
  654. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  655. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  656. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  657. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  658. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  659. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  660. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  661. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  662. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  663. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -132
  664. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  665. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  666. data/apis/personalize/2018-05-22/api-2.json +0 -1695
  667. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  668. data/apis/personalize/2018-05-22/paginators-1.json +0 -58
  669. data/apis/pi/2018-02-27/api-2.json +0 -253
  670. data/apis/pi/2018-02-27/examples-1.json +0 -5
  671. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  672. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2080
  673. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  674. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  675. data/apis/pinpoint/2016-12-01/api-2.json +0 -8526
  676. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  677. data/apis/polly/2016-06-10/api-2.json +0 -830
  678. data/apis/polly/2016-06-10/examples-1.json +0 -171
  679. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  680. data/apis/polly/2016-06-10/smoke.json +0 -11
  681. data/apis/pricing/2017-10-15/api-2.json +0 -227
  682. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  683. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  684. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  685. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  686. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  687. data/apis/ram/2018-01-04/api-2.json +0 -964
  688. data/apis/ram/2018-01-04/examples-1.json +0 -5
  689. data/apis/ram/2018-01-04/paginators-1.json +0 -34
  690. data/apis/rds-data/2018-08-01/api-2.json +0 -787
  691. data/apis/rds-data/2018-08-01/examples-1.json +0 -4
  692. data/apis/rds-data/2018-08-01/paginators-1.json +0 -3
  693. data/apis/rds/2013-01-10/api-2.json +0 -2903
  694. data/apis/rds/2013-01-10/examples-1.json +0 -5
  695. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  696. data/apis/rds/2013-01-10/smoke.json +0 -18
  697. data/apis/rds/2013-02-12/api-2.json +0 -3059
  698. data/apis/rds/2013-02-12/examples-1.json +0 -5
  699. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  700. data/apis/rds/2013-02-12/smoke.json +0 -18
  701. data/apis/rds/2013-09-09/api-2.json +0 -3160
  702. data/apis/rds/2013-09-09/examples-1.json +0 -5
  703. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  704. data/apis/rds/2013-09-09/smoke.json +0 -18
  705. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  706. data/apis/rds/2014-09-01/api-2.json +0 -3273
  707. data/apis/rds/2014-09-01/examples-1.json +0 -5
  708. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  709. data/apis/rds/2014-09-01/smoke.json +0 -18
  710. data/apis/rds/2014-10-31/api-2.json +0 -6575
  711. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  712. data/apis/rds/2014-10-31/paginators-1.json +0 -128
  713. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  714. data/apis/rds/2014-10-31/smoke.json +0 -18
  715. data/apis/rds/2014-10-31/waiters-2.json +0 -175
  716. data/apis/rds/2015-11-12/api-2.json +0 -5509
  717. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  718. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  719. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  720. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  721. data/apis/redshift/2012-12-01/api-2.json +0 -4891
  722. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  723. data/apis/redshift/2012-12-01/paginators-1.json +0 -94
  724. data/apis/redshift/2012-12-01/smoke.json +0 -18
  725. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  726. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  727. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  728. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  729. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  730. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  731. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  732. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  733. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  734. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  735. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  736. data/apis/robomaker/2018-06-29/api-2.json +0 -2093
  737. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  738. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  739. data/apis/route53/2013-04-01/api-2.json +0 -3780
  740. data/apis/route53/2013-04-01/examples-1.json +0 -762
  741. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  742. data/apis/route53/2013-04-01/smoke.json +0 -18
  743. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  744. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  745. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  746. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  747. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  748. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  749. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  750. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  751. data/apis/runtime.lex/2016-11-28/api-2.json +0 -680
  752. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  753. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  754. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  755. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  756. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  757. data/apis/s3/2006-03-01/api-2.json +0 -6576
  758. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  759. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  760. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  761. data/apis/s3/2006-03-01/smoke.json +0 -11
  762. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  763. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  764. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  765. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  766. data/apis/sagemaker/2017-07-24/api-2.json +0 -5169
  767. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  768. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  769. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  770. data/apis/sdb/2009-04-15/api-2.json +0 -955
  771. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  772. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  773. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  774. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  775. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  776. data/apis/securityhub/2018-10-26/api-2.json +0 -2095
  777. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  778. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  779. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  780. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  781. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  782. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  783. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  784. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  785. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  786. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  787. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  788. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  789. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  790. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  791. data/apis/shield/2016-06-02/api-2.json +0 -893
  792. data/apis/shield/2016-06-02/examples-1.json +0 -5
  793. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  794. data/apis/shield/2016-06-02/smoke.json +0 -11
  795. data/apis/signer/2017-08-25/api-2.json +0 -670
  796. data/apis/signer/2017-08-25/examples-1.json +0 -5
  797. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  798. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  799. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  800. data/apis/sms/2016-10-24/api-2.json +0 -1366
  801. data/apis/sms/2016-10-24/examples-1.json +0 -5
  802. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  803. data/apis/sms/2016-10-24/smoke.json +0 -18
  804. data/apis/snowball/2016-06-30/api-2.json +0 -929
  805. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  806. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  807. data/apis/snowball/2016-06-30/smoke.json +0 -11
  808. data/apis/sns/2010-03-31/api-2.json +0 -1468
  809. data/apis/sns/2010-03-31/examples-1.json +0 -5
  810. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  811. data/apis/sns/2010-03-31/resources-1.json +0 -327
  812. data/apis/sns/2010-03-31/smoke.json +0 -19
  813. data/apis/sqs/2012-11-05/api-2.json +0 -1078
  814. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  815. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  816. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  817. data/apis/sqs/2012-11-05/smoke.json +0 -18
  818. data/apis/ssm/2014-11-06/api-2.json +0 -8913
  819. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  820. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  821. data/apis/ssm/2014-11-06/smoke.json +0 -18
  822. data/apis/states/2016-11-23/api-2.json +0 -1372
  823. data/apis/states/2016-11-23/examples-1.json +0 -5
  824. data/apis/states/2016-11-23/paginators-1.json +0 -28
  825. data/apis/states/2016-11-23/smoke.json +0 -11
  826. data/apis/storagegateway/2013-06-30/api-2.json +0 -3160
  827. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  828. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  829. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  830. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  831. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  832. data/apis/sts/2011-06-15/api-2.json +0 -562
  833. data/apis/sts/2011-06-15/examples-1.json +0 -207
  834. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  835. data/apis/sts/2011-06-15/smoke.json +0 -19
  836. data/apis/support/2013-04-15/api-2.json +0 -772
  837. data/apis/support/2013-04-15/examples-1.json +0 -5
  838. data/apis/support/2013-04-15/paginators-1.json +0 -25
  839. data/apis/swf/2012-01-25/api-2.json +0 -2792
  840. data/apis/swf/2012-01-25/examples-1.json +0 -5
  841. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  842. data/apis/textract/2018-06-27/api-2.json +0 -572
  843. data/apis/textract/2018-06-27/examples-1.json +0 -5
  844. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  845. data/apis/transcribe/2017-10-26/api-2.json +0 -504
  846. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  847. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  848. data/apis/transfer/2018-11-05/api-2.json +0 -851
  849. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  850. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  851. data/apis/translate/2017-07-01/api-2.json +0 -408
  852. data/apis/translate/2017-07-01/examples-1.json +0 -5
  853. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  854. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  855. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  856. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  857. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  858. data/apis/waf/2015-08-24/api-2.json +0 -3857
  859. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  860. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  861. data/apis/waf/2015-08-24/smoke.json +0 -21
  862. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  863. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  864. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  865. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  866. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  867. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  868. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  869. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  870. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  871. data/apis/workspaces/2015-04-08/api-2.json +0 -1699
  872. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  873. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  874. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  875. data/apis/xray/2016-04-12/api-2.json +0 -1352
  876. data/apis/xray/2016-04-12/examples-1.json +0 -5
  877. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  878. data/bin/aws.rb +0 -180
  879. data/endpoints.json +0 -4601
  880. data/lib/aws-sdk-core/acm.rb +0 -7
  881. data/lib/aws-sdk-core/acmpca.rb +0 -7
  882. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  883. data/lib/aws-sdk-core/amplify.rb +0 -6
  884. data/lib/aws-sdk-core/api/builder.rb +0 -129
  885. data/lib/aws-sdk-core/api/customizations.rb +0 -299
  886. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  887. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  888. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  889. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  890. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  891. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  892. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  893. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  894. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  895. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  896. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  897. data/lib/aws-sdk-core/apigateway.rb +0 -6
  898. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  899. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  900. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  901. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  902. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  903. data/lib/aws-sdk-core/appmesh.rb +0 -6
  904. data/lib/aws-sdk-core/appstream.rb +0 -7
  905. data/lib/aws-sdk-core/appsync.rb +0 -6
  906. data/lib/aws-sdk-core/athena.rb +0 -6
  907. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  908. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  909. data/lib/aws-sdk-core/backup.rb +0 -6
  910. data/lib/aws-sdk-core/batch.rb +0 -6
  911. data/lib/aws-sdk-core/budgets.rb +0 -6
  912. data/lib/aws-sdk-core/checksums.rb +0 -51
  913. data/lib/aws-sdk-core/chime.rb +0 -6
  914. data/lib/aws-sdk-core/client.rb +0 -62
  915. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  916. data/lib/aws-sdk-core/cloud9.rb +0 -6
  917. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  918. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  919. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  920. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  921. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  922. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  923. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  924. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  925. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  926. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  927. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  928. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  929. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  930. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  931. data/lib/aws-sdk-core/codebuild.rb +0 -6
  932. data/lib/aws-sdk-core/codecommit.rb +0 -6
  933. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  934. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  935. data/lib/aws-sdk-core/codestar.rb +0 -6
  936. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  937. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  938. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  939. data/lib/aws-sdk-core/comprehend.rb +0 -6
  940. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  941. data/lib/aws-sdk-core/configservice.rb +0 -6
  942. data/lib/aws-sdk-core/connect.rb +0 -6
  943. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  944. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  945. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  946. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  947. data/lib/aws-sdk-core/datasync.rb +0 -6
  948. data/lib/aws-sdk-core/dax.rb +0 -6
  949. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  950. data/lib/aws-sdk-core/directconnect.rb +0 -6
  951. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  952. data/lib/aws-sdk-core/dlm.rb +0 -6
  953. data/lib/aws-sdk-core/docdb.rb +0 -7
  954. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  955. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  956. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  957. data/lib/aws-sdk-core/ec2.rb +0 -8
  958. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  959. data/lib/aws-sdk-core/ecr.rb +0 -6
  960. data/lib/aws-sdk-core/ecs.rb +0 -7
  961. data/lib/aws-sdk-core/efs.rb +0 -6
  962. data/lib/aws-sdk-core/eks.rb +0 -7
  963. data/lib/aws-sdk-core/elasticache.rb +0 -7
  964. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  965. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  966. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  967. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  968. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  969. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  970. data/lib/aws-sdk-core/emr.rb +0 -7
  971. data/lib/aws-sdk-core/endpoint_provider.rb +0 -104
  972. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  973. data/lib/aws-sdk-core/firehose.rb +0 -6
  974. data/lib/aws-sdk-core/fms.rb +0 -6
  975. data/lib/aws-sdk-core/fsx.rb +0 -6
  976. data/lib/aws-sdk-core/gamelift.rb +0 -6
  977. data/lib/aws-sdk-core/glacier.rb +0 -8
  978. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  979. data/lib/aws-sdk-core/glue.rb +0 -6
  980. data/lib/aws-sdk-core/greengrass.rb +0 -4
  981. data/lib/aws-sdk-core/groundstation.rb +0 -6
  982. data/lib/aws-sdk-core/guardduty.rb +0 -6
  983. data/lib/aws-sdk-core/health.rb +0 -6
  984. data/lib/aws-sdk-core/iam.rb +0 -8
  985. data/lib/aws-sdk-core/importexport.rb +0 -5
  986. data/lib/aws-sdk-core/inspector.rb +0 -6
  987. data/lib/aws-sdk-core/iot.rb +0 -6
  988. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  989. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  990. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  991. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  992. data/lib/aws-sdk-core/iotevents.rb +0 -6
  993. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  994. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  995. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  996. data/lib/aws-sdk-core/kafka.rb +0 -5
  997. data/lib/aws-sdk-core/kinesis.rb +0 -7
  998. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  999. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1000. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1001. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1002. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1003. data/lib/aws-sdk-core/kms.rb +0 -6
  1004. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1005. data/lib/aws-sdk-core/lambda.rb +0 -7
  1006. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1007. data/lib/aws-sdk-core/lex.rb +0 -6
  1008. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1009. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1010. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1011. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1012. data/lib/aws-sdk-core/macie.rb +0 -6
  1013. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1014. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1015. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1016. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1017. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1018. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1019. data/lib/aws-sdk-core/medialive.rb +0 -6
  1020. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1021. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1022. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1023. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1024. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1025. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1026. data/lib/aws-sdk-core/mobile.rb +0 -6
  1027. data/lib/aws-sdk-core/mq.rb +0 -5
  1028. data/lib/aws-sdk-core/mturk.rb +0 -6
  1029. data/lib/aws-sdk-core/neptune.rb +0 -7
  1030. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1031. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1032. data/lib/aws-sdk-core/organizations.rb +0 -6
  1033. data/lib/aws-sdk-core/partitions.rb +0 -174
  1034. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1035. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1036. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1037. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1038. data/lib/aws-sdk-core/personalize.rb +0 -6
  1039. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1040. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1041. data/lib/aws-sdk-core/pi.rb +0 -6
  1042. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1043. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1044. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1045. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1046. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1047. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1048. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1049. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1050. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1051. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1052. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1053. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1054. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1055. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1056. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1057. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1058. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1059. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1060. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1061. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1062. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1063. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1064. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1065. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1066. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1067. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1068. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1069. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1070. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1071. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1072. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1073. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1074. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1075. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1076. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1077. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1078. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1079. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1080. data/lib/aws-sdk-core/polly.rb +0 -14
  1081. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1082. data/lib/aws-sdk-core/pricing.rb +0 -6
  1083. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1084. data/lib/aws-sdk-core/ram.rb +0 -6
  1085. data/lib/aws-sdk-core/rds.rb +0 -16
  1086. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1087. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1088. data/lib/aws-sdk-core/redshift.rb +0 -7
  1089. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1090. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1091. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1092. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1093. data/lib/aws-sdk-core/route53.rb +0 -7
  1094. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1095. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1096. data/lib/aws-sdk-core/s3.rb +0 -26
  1097. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1098. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1099. data/lib/aws-sdk-core/s3control.rb +0 -6
  1100. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1101. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1102. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1103. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1104. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1105. data/lib/aws-sdk-core/service.rb +0 -4
  1106. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1107. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1108. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1109. data/lib/aws-sdk-core/ses.rb +0 -7
  1110. data/lib/aws-sdk-core/shield.rb +0 -6
  1111. data/lib/aws-sdk-core/signer.rb +0 -7
  1112. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1113. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1114. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1115. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1116. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1117. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1118. data/lib/aws-sdk-core/sms.rb +0 -6
  1119. data/lib/aws-sdk-core/snowball.rb +0 -6
  1120. data/lib/aws-sdk-core/sns.rb +0 -7
  1121. data/lib/aws-sdk-core/sqs.rb +0 -7
  1122. data/lib/aws-sdk-core/ssm.rb +0 -6
  1123. data/lib/aws-sdk-core/states.rb +0 -6
  1124. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1125. data/lib/aws-sdk-core/sts.rb +0 -6
  1126. data/lib/aws-sdk-core/support.rb +0 -6
  1127. data/lib/aws-sdk-core/swf.rb +0 -6
  1128. data/lib/aws-sdk-core/textract.rb +0 -6
  1129. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1130. data/lib/aws-sdk-core/transfer.rb +0 -6
  1131. data/lib/aws-sdk-core/translate.rb +0 -6
  1132. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1133. data/lib/aws-sdk-core/version.rb +0 -3
  1134. data/lib/aws-sdk-core/waf.rb +0 -6
  1135. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1136. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1137. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1138. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1139. data/lib/aws-sdk-core/worklink.rb +0 -6
  1140. data/lib/aws-sdk-core/workmail.rb +0 -6
  1141. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1142. data/lib/aws-sdk-core/xray.rb +0 -6
  1143. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1144. data/service-models.json +0 -749
@@ -0,0 +1,84 @@
1
+ require 'date'
2
+
3
+ module Aws
4
+ module Plugins
5
+ class ClientMetricsSendPlugin < Seahorse::Client::Plugin
6
+
7
+ def add_handlers(handlers, config)
8
+ if config.client_side_monitoring && config.client_side_monitoring_port
9
+ # AttemptHandler comes just before we would retry an error.
10
+ # Or before we would follow redirects.
11
+ handlers.add(AttemptHandler, step: :sign, priority: 39)
12
+ # LatencyHandler is as close to sending as possible.
13
+ handlers.add(LatencyHandler, step: :sign, priority: 0)
14
+ end
15
+ end
16
+
17
+ class LatencyHandler < Seahorse::Client::Handler
18
+ def call(context)
19
+ start_time = Aws::Util.monotonic_milliseconds
20
+ resp = @handler.call(context)
21
+ end_time = Aws::Util.monotonic_milliseconds
22
+ latency = end_time - start_time
23
+ context.metadata[:current_call_attempt].request_latency = latency
24
+ resp
25
+ end
26
+ end
27
+
28
+ class AttemptHandler < Seahorse::Client::Handler
29
+ def call(context)
30
+ request_metrics = context.metadata[:client_metrics]
31
+ attempt_opts = {
32
+ timestamp: DateTime.now.strftime('%Q').to_i,
33
+ fqdn: context.http_request.endpoint.host,
34
+ region: context.config.region,
35
+ user_agent: context.http_request.headers["user-agent"],
36
+ }
37
+ # It will generally cause an error, but it is semantically valid for
38
+ # credentials to not exist.
39
+ if context.config.credentials
40
+ attempt_opts[:access_key] =
41
+ context.config.credentials.credentials.access_key_id
42
+ attempt_opts[:session_token] =
43
+ context.config.credentials.credentials.session_token
44
+ end
45
+ call_attempt = request_metrics.build_call_attempt(attempt_opts)
46
+ context.metadata[:current_call_attempt] = call_attempt
47
+
48
+ resp = @handler.call(context)
49
+ if context.metadata[:redirect_region]
50
+ call_attempt.region = context.metadata[:redirect_region]
51
+ end
52
+ headers = context.http_response.headers
53
+ if headers.include?("x-amz-id-2")
54
+ call_attempt.x_amz_id_2 = headers["x-amz-id-2"]
55
+ end
56
+ if headers.include?("x-amz-request-id")
57
+ call_attempt.x_amz_request_id = headers["x-amz-request-id"]
58
+ end
59
+ if headers.include?("x-amzn-request-id")
60
+ call_attempt.x_amzn_request_id = headers["x-amzn-request-id"]
61
+ end
62
+ call_attempt.http_status_code = context.http_response.status_code
63
+ if e = resp.error
64
+ e_name = _extract_error_name(e)
65
+ e_msg = e.message
66
+ call_attempt.aws_exception = "#{e_name}"
67
+ call_attempt.aws_exception_msg = "#{e_msg}"
68
+ end
69
+ request_metrics.add_call_attempt(call_attempt)
70
+ resp
71
+ end
72
+
73
+ private
74
+ def _extract_error_name(error)
75
+ if error.is_a?(Aws::Errors::ServiceError)
76
+ error.class.code
77
+ else
78
+ error.class.name.to_s
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,62 @@
1
+ module Aws
2
+ # @api private
3
+ module Plugins
4
+ # @api private
5
+ class CredentialsConfiguration < Seahorse::Client::Plugin
6
+
7
+ option(:access_key_id, doc_type: String, docstring: '')
8
+
9
+ option(:secret_access_key, doc_type: String, docstring: '')
10
+
11
+ option(:session_token, doc_type: String, docstring: '')
12
+
13
+ option(:profile,
14
+ doc_default: 'default',
15
+ doc_type: String,
16
+ docstring: <<-DOCS)
17
+ Used when loading credentials from the shared credentials file
18
+ at HOME/.aws/credentials. When not specified, 'default' is used.
19
+ DOCS
20
+
21
+ option(:credentials,
22
+ required: true,
23
+ doc_type: 'Aws::CredentialProvider',
24
+ docstring: <<-DOCS
25
+ Your AWS credentials. This can be an instance of any one of the
26
+ following classes:
27
+
28
+ * `Aws::Credentials` - Used for configuring static, non-refreshing
29
+ credentials.
30
+
31
+ * `Aws::InstanceProfileCredentials` - Used for loading credentials
32
+ from an EC2 IMDS on an EC2 instance.
33
+
34
+ * `Aws::SharedCredentials` - Used for loading credentials from a
35
+ shared file, such as `~/.aws/config`.
36
+
37
+ * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
38
+
39
+ When `:credentials` are not configured directly, the following
40
+ locations will be searched for credentials:
41
+
42
+ * `Aws.config[:credentials]`
43
+ * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
44
+ * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
45
+ * `~/.aws/credentials`
46
+ * `~/.aws/config`
47
+ * EC2 IMDS instance profile - When used by default, the timeouts are
48
+ very aggressive. Construct and pass an instance of
49
+ `Aws::InstanceProfileCredentails` to enable retries and extended
50
+ timeouts.
51
+ DOCS
52
+ ) do |config|
53
+ CredentialProviderChain.new(config).resolve
54
+ end
55
+
56
+ option(:instance_profile_credentials_retries, 0)
57
+
58
+ option(:instance_profile_credentials_timeout, 1)
59
+
60
+ end
61
+ end
62
+ end
@@ -1,39 +1,43 @@
1
1
  module Aws
2
2
  module Plugins
3
-
4
- # Enables Endpoint Discovery per service when supported
5
- #
6
- # @seahorse.client.option [Boolean] :endpoint_discovery When
7
- # set to `true`, endpoint discovery will be enabled for
8
- # operations when available. Defaults to `false`.
9
- #
10
- # @seahorse.client.option [Integer] :endpoint_cache_max_entries
11
- # Used for the maximum size limit of the LRU cache storing endpoints data
12
- # for endpoint discovery enabled operations. Defaults to 1000.
13
- #
14
- # @seahorse.client.option [Integer] :endpoint_cache_max_threads
15
- # Used for the maximum threads in use for polling endpoints to be cached,
16
- # defaults to 10.
17
- #
18
- # @seahorse.client.option [Integer] :endpoint_cache_poll_interval
19
- # When :endpoint_discovery and :active_endpoint_cache is enabled,
20
- # Use this option to config the time interval in seconds for making
21
- # requests fetching endpoints information. Defaults to 60 sec.
22
- #
23
- # @seahorse.client.option [Boolean] :active_endpoint_cache
24
- # When set to `true`, a thread polling for endpoints will be running in
25
- # the background every 60 secs (default). Defaults to `false`.
3
+ # @api private
26
4
  class EndpointDiscovery < Seahorse::Client::Plugin
27
5
 
28
- option(:endpoint_discovery, false) do |cfg|
6
+ option(:endpoint_discovery,
7
+ default: false,
8
+ doc_type: 'Boolean',
9
+ docstring: <<-DOCS) do |cfg|
10
+ When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
11
+ DOCS
29
12
  resolve_endpoint_discovery(cfg)
30
13
  end
31
14
 
32
- option(:endpoint_cache_max_entries, 1000)
33
-
34
- option(:endpoint_cache_max_threads, 10)
35
-
36
- option(:endpoint_cache_poll_interval, 60)
15
+ option(:endpoint_cache_max_entries,
16
+ default: 1000,
17
+ doc_type: Integer,
18
+ docstring: <<-DOCS
19
+ Used for the maximum size limit of the LRU cache storing endpoints data
20
+ for endpoint discovery enabled operations. Defaults to 1000.
21
+ DOCS
22
+ )
23
+
24
+ option(:endpoint_cache_max_threads,
25
+ default: 10,
26
+ doc_type: Integer,
27
+ docstring: <<-DOCS
28
+ Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
29
+ DOCS
30
+ )
31
+
32
+ option(:endpoint_cache_poll_interval,
33
+ default: 60,
34
+ doc_type: Integer,
35
+ docstring: <<-DOCS
36
+ When :endpoint_discovery and :active_endpoint_cache is enabled,
37
+ Use this option to config the time interval in seconds for making
38
+ requests fetching endpoints information. Defaults to 60 sec.
39
+ DOCS
40
+ )
37
41
 
38
42
  option(:endpoint_cache) do |cfg|
39
43
  Aws::EndpointCache.new(
@@ -42,7 +46,14 @@ module Aws
42
46
  )
43
47
  end
44
48
 
45
- option(:active_endpoint_cache, false)
49
+ option(:active_endpoint_cache,
50
+ default: false,
51
+ doc_type: 'Boolean',
52
+ docstring: <<-DOCS
53
+ When set to `true`, a thread polling for endpoints will be running in
54
+ the background every 60 secs (default). Defaults to `false`.
55
+ DOCS
56
+ )
46
57
 
47
58
  def add_handlers(handlers, config)
48
59
  handlers.add(Handler, priority: 90) if config.regional_endpoint
@@ -57,7 +68,7 @@ module Aws
57
68
  elsif discovery_cfg = context.operation.endpoint_discovery
58
69
  endpoint = _discover_endpoint(
59
70
  context,
60
- str_2_bool(discovery_cfg["required"])
71
+ Aws::Util.str_2_bool(discovery_cfg["required"])
61
72
  )
62
73
  context.http_request.endpoint = _valid_uri(endpoint.address) if endpoint
63
74
  if endpoint || context.config.endpoint_discovery
@@ -134,15 +145,6 @@ module Aws
134
145
  end
135
146
  end
136
147
 
137
- def str_2_bool(str)
138
- case str.to_s
139
- when "true" then true
140
- when "false" then false
141
- else
142
- nil
143
- end
144
- end
145
-
146
148
  end
147
149
 
148
150
  private
@@ -150,16 +152,7 @@ module Aws
150
152
  def self.resolve_endpoint_discovery(cfg)
151
153
  env = ENV['AWS_ENABLE_ENDPOINT_DISCOVERY']
152
154
  shared_cfg = Aws.shared_config.endpoint_discovery(profile: cfg.profile)
153
- self.str_2_bool(env) || self.str_2_bool(shared_cfg)
154
- end
155
-
156
- def self.str_2_bool(str)
157
- case str.to_s
158
- when "true" then true
159
- when "false" then false
160
- else
161
- nil
162
- end
155
+ Aws::Util.str_2_bool(env) || Aws::Util.str_2_bool(shared_cfg)
163
156
  end
164
157
 
165
158
  end
@@ -1,15 +1,16 @@
1
1
  module Aws
2
2
  module Plugins
3
-
4
- # Disable host prefix per operation when available
5
- #
6
- # @seahorse.client.option [Boolean] :disable_host_prefix_injection
7
- # Set to true to disable SDK automatically adding host prefix
8
- # to default service endpoint when available.
9
- #
3
+ # @api private
10
4
  class EndpointPattern < Seahorse::Client::Plugin
11
5
 
12
- option(:disable_host_prefix_injection, false)
6
+ option(:disable_host_prefix_injection,
7
+ default: false,
8
+ doc_type: 'Boolean',
9
+ docstring: <<-DOCS
10
+ Set to true to disable SDK automatically adding host prefix
11
+ to default service endpoint when available.
12
+ DOCS
13
+ )
13
14
 
14
15
  def add_handlers(handlers, config)
15
16
  if config.regional_endpoint && !config.disable_host_prefix_injection
@@ -0,0 +1,30 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ class EventStreamConfiguration < Seahorse::Client::Plugin
5
+
6
+ option(:event_stream_handler,
7
+ default: nil,
8
+ doc_type: 'Proc',
9
+ docstring: <<-DOCS)
10
+ When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
11
+ DOCS
12
+
13
+ option(:input_event_stream_handler,
14
+ default: nil,
15
+ doc_type: 'Proc',
16
+ docstring: <<-DOCS)
17
+ When an EventStream or Proc object is provided, it can be used for sending events for the event stream.
18
+ DOCS
19
+
20
+ option(:output_event_stream_handler,
21
+ default: nil,
22
+ doc_type: 'Proc',
23
+ docstring: <<-DOCS)
24
+ When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
25
+ DOCS
26
+
27
+ end
28
+
29
+ end
30
+ end
@@ -31,17 +31,17 @@ module Aws
31
31
  # Aws::EC2.new
32
32
  # #=> raises ArgumentError: invalid configuration option `:force_path_style'
33
33
  #
34
- # To avoid this issue, you can nest service specific options
34
+ # To avoid this issue, you can nest service specific options
35
35
  #
36
36
  # Aws.config[:s3] = { force_path_style: true }
37
37
  #
38
38
  # Aws::EC2.new # no error this time
39
39
  # Aws::S3.new.config.force_path_style #=> true
40
40
  #
41
+ # @api private
41
42
  class GlobalConfiguration < Seahorse::Client::Plugin
42
43
 
43
- # @api private
44
- IDENTIFIERS = Set.new(SERVICE_MODULE_NAMES.map(&:downcase).map(&:to_sym))
44
+ @identifiers = Set.new()
45
45
 
46
46
  # @api private
47
47
  def before_initialize(client_class, options)
@@ -62,18 +62,27 @@ module Aws
62
62
 
63
63
  def apply_aws_defaults(client_class, options)
64
64
  Aws.config.each do |option_name, default|
65
- next if IDENTIFIERS.include?(option_name)
65
+ next if self.class.identifiers.include?(option_name)
66
66
  next if options.key?(option_name)
67
67
  options[option_name] = default
68
68
  end
69
69
  end
70
70
 
71
- end
72
- end
71
+ class << self
73
72
 
74
- service_added do |name, _, _|
75
- Plugins::GlobalConfiguration::IDENTIFIERS << name.downcase.to_sym
76
- end
73
+ # Registers an additional service identifier.
74
+ # @api private
75
+ def add_identifier(identifier)
76
+ @identifiers << identifier
77
+ end
77
78
 
78
- end
79
+ # @return [Set<String>]
80
+ # @api private
81
+ def identifiers
82
+ @identifiers
83
+ end
79
84
 
85
+ end
86
+ end
87
+ end
88
+ end
@@ -6,13 +6,12 @@ module Aws
6
6
  # Provides support for auto filling operation parameters
7
7
  # that enabled with `idempotencyToken` trait with random UUID v4
8
8
  # when no value is provided
9
+ # @api private
9
10
  class IdempotencyToken < Seahorse::Client::Plugin
10
11
 
11
12
  # @api private
12
13
  class Handler < Seahorse::Client::Handler
13
14
 
14
- # @param [RequestContext] context
15
- # @param [Response]
16
15
  def call(context)
17
16
  auto_fill(context.params, context.operation.input)
18
17
  @handler.call(context)
@@ -0,0 +1,33 @@
1
+ require 'securerandom'
2
+
3
+ module Aws
4
+ module Plugins
5
+
6
+ # @api private
7
+ class InvocationId < Seahorse::Client::Plugin
8
+
9
+ # @api private
10
+ class Handler < Seahorse::Client::Handler
11
+
12
+ def call(context)
13
+ apply_invocation_id(context)
14
+ @handler.call(context)
15
+ end
16
+
17
+ private
18
+
19
+ def apply_invocation_id(context)
20
+ context.http_request.headers['amz-sdk-invocation-id'] = SecureRandom.uuid
21
+ if context[:input_event_emitter]
22
+ # only used for eventstreaming at input
23
+ context.http_request.headers['x-amz-content-sha256'] = 'STREAMING-AWS4-HMAC-SHA256-EVENTS'
24
+ end
25
+ end
26
+
27
+ end
28
+
29
+ handler(Handler, step: :initialize)
30
+
31
+ end
32
+ end
33
+ end
@@ -1,28 +1,28 @@
1
1
  module Aws
2
2
  module Plugins
3
-
4
- # Enables logging for all requests. This plugin allows you to configure
5
- # your logging device, the log format and the level to log messages at.
6
- #
7
3
  # @see Log::Formatter
8
- #
9
- # @seahorse.client.option [Logger] :logger (nil) The Logger instance
10
- # to send log messages to. If this option is not set, logging
11
- # will be disabled.
12
- #
13
- # @seahorse.client.option [Symbol] :log_level (:info) The log level
14
- # to send messages to the logger at.
15
- #
16
- # @seahorse.client.option [Logging::LogFormatter] :log_formatter The log
17
- # formatter. Defaults to {Seahorse::Client::Logging::Formatter.default}.
18
- #
4
+ # @api private
19
5
  class Logging < Seahorse::Client::Plugin
20
6
 
21
- option(:logger)
7
+ option(:logger,
8
+ doc_type: 'Logger',
9
+ docstring: <<-DOCS
10
+ The Logger instance to send log messages to. If this option
11
+ is not set, logging will be disabled.
12
+ DOCS
13
+ )
22
14
 
23
- option(:log_level, :info)
15
+ option(:log_level,
16
+ default: :info,
17
+ doc_type: Symbol,
18
+ docstring: 'The log level to send messages to the `:logger` at.'
19
+ )
24
20
 
25
- option(:log_formatter) do |config|
21
+ option(:log_formatter,
22
+ doc_type: 'Aws::Log::Formatter',
23
+ doc_default: literal('Aws::Log::Formatter.default'),
24
+ docstring: 'The log formatter.'
25
+ ) do |config|
26
26
  Log::Formatter.default if config.logger
27
27
  end
28
28