aws-sdk-core 2.11.394 → 3.72.0

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