aws-sdk-core 2.11.398 → 3.72.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1204) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -560
  4. data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +101 -0
  5. data/lib/aws-sdk-core/async_client_stubs.rb +80 -0
  6. data/lib/aws-sdk-core/binary.rb +6 -0
  7. data/lib/aws-sdk-core/binary/decode_handler.rb +56 -0
  8. data/lib/aws-sdk-core/binary/encode_handler.rb +32 -0
  9. data/lib/aws-sdk-core/binary/event_builder.rb +122 -0
  10. data/lib/aws-sdk-core/binary/event_parser.rb +134 -0
  11. data/lib/aws-sdk-core/binary/event_stream_decoder.rb +62 -0
  12. data/lib/aws-sdk-core/binary/event_stream_encoder.rb +53 -0
  13. data/lib/aws-sdk-core/client_side_monitoring/publisher.rb +49 -0
  14. data/lib/aws-sdk-core/client_side_monitoring/request_metrics.rb +197 -0
  15. data/lib/aws-sdk-core/client_stubs.rb +11 -8
  16. data/lib/aws-sdk-core/credential_provider.rb +11 -12
  17. data/lib/aws-sdk-core/credential_provider_chain.rb +41 -14
  18. data/lib/aws-sdk-core/deprecations.rb +16 -10
  19. data/lib/aws-sdk-core/endpoint_cache.rb +14 -11
  20. data/lib/aws-sdk-core/errors.rb +123 -22
  21. data/lib/aws-sdk-core/event_emitter.rb +62 -0
  22. data/lib/aws-sdk-core/ini_parser.rb +1 -0
  23. data/lib/aws-sdk-core/instance_profile_credentials.rb +4 -3
  24. data/lib/aws-sdk-core/json.rb +9 -10
  25. data/lib/aws-sdk-core/json/builder.rb +4 -2
  26. data/lib/aws-sdk-core/json/error_handler.rb +19 -2
  27. data/lib/aws-sdk-core/json/handler.rb +22 -3
  28. data/lib/aws-sdk-core/json/parser.rb +1 -1
  29. data/lib/aws-sdk-core/log/param_filter.rb +4 -3
  30. data/lib/aws-sdk-core/pageable_response.rb +1 -0
  31. data/lib/aws-sdk-core/pager.rb +30 -25
  32. data/lib/aws-sdk-core/param_converter.rb +3 -3
  33. data/lib/aws-sdk-core/param_validator.rb +60 -26
  34. data/lib/aws-sdk-core/plugins/api_key.rb +52 -0
  35. data/lib/aws-sdk-core/plugins/apig_authorizer_token.rb +30 -0
  36. data/lib/aws-sdk-core/plugins/apig_credentials_configuration.rb +34 -0
  37. data/lib/aws-sdk-core/plugins/apig_user_agent.rb +37 -0
  38. data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +280 -0
  39. data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +84 -0
  40. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -0
  41. data/lib/aws-sdk-core/plugins/endpoint_discovery.rb +43 -50
  42. data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +9 -8
  43. data/lib/aws-sdk-core/plugins/event_stream_configuration.rb +30 -0
  44. data/lib/aws-sdk-core/plugins/global_configuration.rb +19 -10
  45. data/lib/aws-sdk-core/plugins/idempotency_token.rb +1 -2
  46. data/lib/aws-sdk-core/plugins/invocation_id.rb +33 -0
  47. data/lib/aws-sdk-core/plugins/logging.rb +18 -18
  48. data/lib/aws-sdk-core/plugins/param_converter.rb +9 -5
  49. data/lib/aws-sdk-core/plugins/param_validator.rb +8 -5
  50. data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +10 -0
  51. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -1
  52. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +13 -12
  53. data/lib/aws-sdk-core/plugins/protocols/query.rb +2 -2
  54. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +24 -16
  55. data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
  56. data/lib/aws-sdk-core/plugins/retry_errors.rb +81 -25
  57. data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
  58. data/lib/aws-sdk-core/plugins/signature_v4.rb +141 -0
  59. data/lib/aws-sdk-core/plugins/stub_responses.rb +35 -18
  60. data/lib/aws-sdk-core/plugins/transfer_encoding.rb +53 -0
  61. data/lib/aws-sdk-core/plugins/user_agent.rb +23 -6
  62. data/lib/aws-sdk-core/process_credentials.rb +80 -0
  63. data/lib/aws-sdk-core/query.rb +5 -0
  64. data/lib/aws-sdk-core/query/ec2_param_builder.rb +9 -3
  65. data/lib/aws-sdk-core/query/handler.rb +20 -16
  66. data/lib/aws-sdk-core/query/param_builder.rb +10 -4
  67. data/lib/aws-sdk-core/refreshing_credentials.rb +1 -1
  68. data/lib/aws-sdk-core/resources/collection.rb +121 -0
  69. data/lib/aws-sdk-core/rest.rb +10 -0
  70. data/lib/aws-sdk-core/rest/handler.rb +1 -0
  71. data/lib/aws-sdk-core/rest/request/builder.rb +2 -1
  72. data/lib/aws-sdk-core/rest/request/endpoint.rb +3 -3
  73. data/lib/aws-sdk-core/rest/request/headers.rb +11 -1
  74. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +13 -0
  75. data/lib/aws-sdk-core/rest/response/body.rb +14 -1
  76. data/lib/aws-sdk-core/rest/response/headers.rb +2 -0
  77. data/lib/aws-sdk-core/rest/response/parser.rb +18 -14
  78. data/lib/aws-sdk-core/shared_config.rb +172 -15
  79. data/lib/aws-sdk-core/shared_credentials.rb +2 -0
  80. data/lib/aws-sdk-core/structure.rb +22 -13
  81. data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
  82. data/lib/aws-sdk-core/stubbing/empty_stub.rb +10 -3
  83. data/lib/aws-sdk-core/stubbing/protocols/api_gateway.rb +8 -0
  84. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
  85. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +92 -0
  86. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +5 -1
  87. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +9 -5
  88. data/lib/aws-sdk-core/stubbing/stub_data.rb +16 -3
  89. data/lib/aws-sdk-core/util.rb +66 -0
  90. data/lib/aws-sdk-core/waiters.rb +3 -0
  91. data/lib/aws-sdk-core/waiters/poller.rb +5 -9
  92. data/lib/aws-sdk-core/waiters/waiter.rb +1 -0
  93. data/lib/aws-sdk-core/xml.rb +9 -0
  94. data/lib/aws-sdk-core/xml/builder.rb +11 -5
  95. data/lib/aws-sdk-core/xml/error_handler.rb +27 -5
  96. data/lib/aws-sdk-core/xml/parser.rb +1 -11
  97. data/lib/aws-sdk-core/xml/parser/frame.rb +6 -6
  98. data/lib/aws-sdk-sts.rb +45 -0
  99. data/lib/aws-sdk-sts/client.rb +1840 -0
  100. data/lib/aws-sdk-sts/client_api.rb +320 -0
  101. data/lib/aws-sdk-sts/customizations.rb +0 -0
  102. data/lib/aws-sdk-sts/errors.rb +142 -0
  103. data/lib/aws-sdk-sts/plugins/sts_regional_endpoints.rb +32 -0
  104. data/lib/aws-sdk-sts/resource.rb +23 -0
  105. data/lib/aws-sdk-sts/types.rb +1312 -0
  106. data/lib/seahorse.rb +60 -60
  107. data/lib/seahorse/client/async_base.rb +50 -0
  108. data/lib/seahorse/client/async_response.rb +62 -0
  109. data/lib/seahorse/client/base.rb +5 -9
  110. data/lib/seahorse/client/configuration.rb +4 -2
  111. data/lib/seahorse/client/h2/connection.rb +244 -0
  112. data/lib/seahorse/client/h2/handler.rb +151 -0
  113. data/lib/seahorse/client/handler_list_entry.rb +2 -2
  114. data/lib/seahorse/client/http/async_response.rb +42 -0
  115. data/lib/seahorse/client/http/response.rb +10 -5
  116. data/lib/seahorse/client/logging/formatter.rb +2 -0
  117. data/lib/seahorse/client/logging/handler.rb +2 -0
  118. data/lib/seahorse/client/net_http/connection_pool.rb +16 -4
  119. data/lib/seahorse/client/net_http/handler.rb +5 -0
  120. data/lib/seahorse/client/net_http/patches.rb +9 -1
  121. data/lib/seahorse/client/networking_error.rb +28 -0
  122. data/lib/seahorse/client/plugin.rb +66 -6
  123. data/lib/seahorse/client/plugins/content_length.rb +7 -2
  124. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  125. data/lib/seahorse/client/plugins/h2.rb +64 -0
  126. data/lib/seahorse/client/plugins/logging.rb +17 -19
  127. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  128. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  129. data/lib/seahorse/client/plugins/response_target.rb +10 -1
  130. data/lib/seahorse/client/request_context.rb +5 -0
  131. data/lib/seahorse/model/api.rb +33 -0
  132. data/lib/seahorse/model/authorizer.rb +21 -0
  133. data/lib/seahorse/model/operation.rb +11 -0
  134. data/lib/seahorse/model/shapes.rb +44 -2
  135. data/lib/seahorse/util.rb +1 -22
  136. metadata +98 -1077
  137. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
  138. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  139. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
  140. data/apis/acm-pca/2017-08-22/api-2.json +0 -1091
  141. data/apis/acm-pca/2017-08-22/examples-1.json +0 -5
  142. data/apis/acm-pca/2017-08-22/paginators-1.json +0 -22
  143. data/apis/acm-pca/2017-08-22/waiters-2.json +0 -61
  144. data/apis/acm/2015-12-08/api-2.json +0 -843
  145. data/apis/acm/2015-12-08/examples-1.json +0 -5
  146. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  147. data/apis/acm/2015-12-08/smoke.json +0 -18
  148. data/apis/acm/2015-12-08/waiters-2.json +0 -35
  149. data/apis/alexaforbusiness/2017-11-09/api-2.json +0 -4003
  150. data/apis/alexaforbusiness/2017-11-09/examples-1.json +0 -5
  151. data/apis/alexaforbusiness/2017-11-09/paginators-1.json +0 -94
  152. data/apis/amplify/2017-07-25/api-2.json +0 -2171
  153. data/apis/amplify/2017-07-25/examples-1.json +0 -5
  154. data/apis/amplify/2017-07-25/paginators-1.json +0 -4
  155. data/apis/apigateway/2015-07-09/api-2.json +0 -5384
  156. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  157. data/apis/apigateway/2015-07-09/paginators-1.json +0 -76
  158. data/apis/apigateway/2015-07-09/smoke.json +0 -20
  159. data/apis/apigatewaymanagementapi/2018-11-29/api-2.json +0 -192
  160. data/apis/apigatewaymanagementapi/2018-11-29/paginators-1.json +0 -3
  161. data/apis/apigatewayv2/2018-11-29/api-2.json +0 -5773
  162. data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
  163. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -779
  164. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -384
  165. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -28
  166. data/apis/application-autoscaling/2016-02-06/smoke.json +0 -13
  167. data/apis/application-insights/2018-11-25/api-2.json +0 -721
  168. data/apis/application-insights/2018-11-25/examples-1.json +0 -5
  169. data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
  170. data/apis/appmesh/2018-10-01/api-2.json +0 -1972
  171. data/apis/appmesh/2018-10-01/examples-1.json +0 -4
  172. data/apis/appmesh/2018-10-01/paginators-1.json +0 -28
  173. data/apis/appmesh/2019-01-25/api-2.json +0 -3424
  174. data/apis/appmesh/2019-01-25/examples-1.json +0 -4
  175. data/apis/appmesh/2019-01-25/paginators-1.json +0 -40
  176. data/apis/appstream/2016-12-01/api-2.json +0 -2356
  177. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  178. data/apis/appstream/2016-12-01/paginators-1.json +0 -14
  179. data/apis/appstream/2016-12-01/smoke.json +0 -11
  180. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  181. data/apis/appsync/2017-07-25/api-2.json +0 -2003
  182. data/apis/appsync/2017-07-25/examples-1.json +0 -5
  183. data/apis/appsync/2017-07-25/paginators-1.json +0 -4
  184. data/apis/athena/2017-05-18/api-2.json +0 -985
  185. data/apis/athena/2017-05-18/examples-1.json +0 -5
  186. data/apis/athena/2017-05-18/paginators-1.json +0 -24
  187. data/apis/athena/2017-05-18/smoke.json +0 -11
  188. data/apis/autoscaling-plans/2018-01-06/api-2.json +0 -659
  189. data/apis/autoscaling-plans/2018-01-06/examples-1.json +0 -5
  190. data/apis/autoscaling-plans/2018-01-06/paginators-1.json +0 -4
  191. data/apis/autoscaling/2011-01-01/api-2.json +0 -2455
  192. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  193. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  194. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  195. data/apis/autoscaling/2011-01-01/smoke.json +0 -20
  196. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  197. data/apis/backup/2018-11-15/api-2.json +0 -2150
  198. data/apis/backup/2018-11-15/examples-1.json +0 -5
  199. data/apis/backup/2018-11-15/paginators-1.json +0 -59
  200. data/apis/batch/2016-08-10/api-2.json +0 -1137
  201. data/apis/batch/2016-08-10/examples-1.json +0 -589
  202. data/apis/batch/2016-08-10/paginators-1.json +0 -28
  203. data/apis/batch/2016-08-10/smoke.json +0 -11
  204. data/apis/budgets/2016-10-20/api-2.json +0 -830
  205. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  206. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  207. data/apis/ce/2017-10-25/api-2.json +0 -1385
  208. data/apis/ce/2017-10-25/examples-1.json +0 -5
  209. data/apis/ce/2017-10-25/paginators-1.json +0 -14
  210. data/apis/chime/2018-05-01/api-2.json +0 -3499
  211. data/apis/chime/2018-05-01/examples-1.json +0 -5
  212. data/apis/chime/2018-05-01/paginators-1.json +0 -39
  213. data/apis/cloud9/2017-09-23/api-2.json +0 -549
  214. data/apis/cloud9/2017-09-23/examples-1.json +0 -315
  215. data/apis/cloud9/2017-09-23/paginators-1.json +0 -14
  216. data/apis/clouddirectory/2016-05-10/api-2.json +0 -4244
  217. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  218. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  219. data/apis/clouddirectory/2017-01-11/api-2.json +0 -4321
  220. data/apis/clouddirectory/2017-01-11/examples-1.json +0 -5
  221. data/apis/clouddirectory/2017-01-11/paginators-1.json +0 -99
  222. data/apis/cloudformation/2010-05-15/api-2.json +0 -2752
  223. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  224. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
  225. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  226. data/apis/cloudformation/2010-05-15/smoke.json +0 -19
  227. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -237
  228. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  229. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  230. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  231. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  232. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  233. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  234. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  235. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  236. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  237. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  238. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  239. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  240. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  241. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  242. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  243. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  244. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  245. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  246. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  247. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  248. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  249. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  250. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  251. data/apis/cloudfront/2017-03-25/api-2.json +0 -2726
  252. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  253. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  254. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  255. data/apis/cloudfront/2017-10-30/api-2.json +0 -3906
  256. data/apis/cloudfront/2017-10-30/examples-1.json +0 -5
  257. data/apis/cloudfront/2017-10-30/paginators-1.json +0 -32
  258. data/apis/cloudfront/2017-10-30/smoke.json +0 -20
  259. data/apis/cloudfront/2017-10-30/waiters-2.json +0 -47
  260. data/apis/cloudfront/2018-06-18/api-2.json +0 -3907
  261. data/apis/cloudfront/2018-06-18/examples-1.json +0 -5
  262. data/apis/cloudfront/2018-06-18/paginators-1.json +0 -32
  263. data/apis/cloudfront/2018-06-18/smoke.json +0 -20
  264. data/apis/cloudfront/2018-06-18/waiters-2.json +0 -47
  265. data/apis/cloudfront/2018-11-05/api-2.json +0 -4004
  266. data/apis/cloudfront/2018-11-05/examples-1.json +0 -5
  267. data/apis/cloudfront/2018-11-05/paginators-1.json +0 -32
  268. data/apis/cloudfront/2018-11-05/smoke.json +0 -20
  269. data/apis/cloudfront/2018-11-05/waiters-2.json +0 -47
  270. data/apis/cloudfront/2019-03-26/api-2.json +0 -4032
  271. data/apis/cloudfront/2019-03-26/examples-1.json +0 -5
  272. data/apis/cloudfront/2019-03-26/paginators-1.json +0 -32
  273. data/apis/cloudfront/2019-03-26/smoke.json +0 -20
  274. data/apis/cloudfront/2019-03-26/waiters-2.json +0 -47
  275. data/apis/cloudhsm/2014-05-30/api-2.json +0 -879
  276. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  277. data/apis/cloudhsm/2014-05-30/paginators-1.json +0 -4
  278. data/apis/cloudhsmv2/2017-04-28/api-2.json +0 -718
  279. data/apis/cloudhsmv2/2017-04-28/examples-1.json +0 -5
  280. data/apis/cloudhsmv2/2017-04-28/paginators-1.json +0 -19
  281. data/apis/cloudhsmv2/2017-04-28/smoke.json +0 -18
  282. data/apis/cloudsearch/2013-01-01/api-2.json +0 -1529
  283. data/apis/cloudsearch/2013-01-01/examples-1.json +0 -5
  284. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -19
  285. data/apis/cloudsearch/2013-01-01/smoke.json +0 -18
  286. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  287. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  288. data/apis/cloudtrail/2013-11-01/api-2.json +0 -1048
  289. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  290. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -28
  291. data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
  292. data/apis/codebuild/2016-10-06/api-2.json +0 -1290
  293. data/apis/codebuild/2016-10-06/examples-1.json +0 -281
  294. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  295. data/apis/codebuild/2016-10-06/smoke.json +0 -11
  296. data/apis/codecommit/2015-04-13/api-2.json +0 -4248
  297. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  298. data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
  299. data/apis/codecommit/2015-04-13/smoke.json +0 -18
  300. data/apis/codedeploy/2014-10-06/api-2.json +0 -3224
  301. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  302. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  303. data/apis/codedeploy/2014-10-06/smoke.json +0 -18
  304. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  305. data/apis/codepipeline/2015-07-09/api-2.json +0 -2441
  306. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  307. data/apis/codepipeline/2015-07-09/paginators-1.json +0 -38
  308. data/apis/codepipeline/2015-07-09/smoke.json +0 -18
  309. data/apis/codestar-notifications/2019-10-15/api-2.json +0 -724
  310. data/apis/codestar-notifications/2019-10-15/examples-1.json +0 -5
  311. data/apis/codestar-notifications/2019-10-15/paginators-1.json +0 -22
  312. data/apis/codestar/2017-04-19/api-2.json +0 -1033
  313. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  314. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  315. data/apis/codestar/2017-04-19/smoke.json +0 -11
  316. data/apis/cognito-identity/2014-06-30/api-2.json +0 -1062
  317. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  318. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  319. data/apis/cognito-idp/2016-04-18/api-2.json +0 -5387
  320. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  321. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -58
  322. data/apis/cognito-idp/2016-04-18/smoke.json +0 -20
  323. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  324. data/apis/comprehend/2017-11-27/api-2.json +0 -2367
  325. data/apis/comprehend/2017-11-27/examples-1.json +0 -5
  326. data/apis/comprehend/2017-11-27/paginators-1.json +0 -44
  327. data/apis/comprehendmedical/2018-10-30/api-2.json +0 -681
  328. data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
  329. data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
  330. data/apis/config/2014-11-12/api-2.json +0 -3496
  331. data/apis/config/2014-11-12/examples-1.json +0 -5
  332. data/apis/config/2014-11-12/paginators-1.json +0 -21
  333. data/apis/config/2014-11-12/smoke.json +0 -19
  334. data/apis/connect/2017-08-08/api-2.json +0 -2048
  335. data/apis/connect/2017-08-08/examples-1.json +0 -5
  336. data/apis/connect/2017-08-08/paginators-1.json +0 -62
  337. data/apis/cur/2017-01-06/api-2.json +0 -277
  338. data/apis/cur/2017-01-06/examples-1.json +0 -102
  339. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  340. data/apis/cur/2017-01-06/smoke.json +0 -11
  341. data/apis/dataexchange/2017-07-25/api-2.json +0 -2263
  342. data/apis/dataexchange/2017-07-25/paginators-1.json +0 -28
  343. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  344. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  345. data/apis/datasync/2018-11-09/api-2.json +0 -1337
  346. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  347. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  348. data/apis/dax/2017-04-19/api-2.json +0 -1140
  349. data/apis/dax/2017-04-19/examples-1.json +0 -5
  350. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  351. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  352. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  353. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  354. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  355. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  356. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  357. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  358. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  359. data/apis/discovery/2015-11-01/api-2.json +0 -1334
  360. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  361. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  362. data/apis/discovery/2015-11-01/smoke.json +0 -11
  363. data/apis/dlm/2018-01-12/api-2.json +0 -609
  364. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  365. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  366. data/apis/dms/2016-01-01/api-2.json +0 -2296
  367. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  368. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  369. data/apis/dms/2016-01-01/smoke.json +0 -18
  370. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  371. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  372. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  373. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  374. data/apis/docdb/2014-10-31/smoke.json +0 -18
  375. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  376. data/apis/ds/2015-04-16/api-2.json +0 -2634
  377. data/apis/ds/2015-04-16/examples-1.json +0 -5
  378. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  379. data/apis/ds/2015-04-16/smoke.json +0 -20
  380. data/apis/dynamodb/2011-12-05/api-2.json +0 -818
  381. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  382. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  383. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  384. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  385. data/apis/dynamodb/2012-08-10/api-2.json +0 -2812
  386. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  387. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  388. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  389. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  390. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  391. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  392. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  393. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  394. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  395. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  396. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  397. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  398. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  399. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  400. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  401. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  402. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  403. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  404. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  405. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  406. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  407. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  408. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  409. data/apis/ec2/2016-11-15/api-2.json +0 -25611
  410. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  411. data/apis/ec2/2016-11-15/paginators-1.json +0 -450
  412. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  413. data/apis/ec2/2016-11-15/smoke.json +0 -20
  414. data/apis/ec2/2016-11-15/waiters-2.json +0 -622
  415. data/apis/ecr/2015-09-21/api-2.json +0 -1615
  416. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  417. data/apis/ecr/2015-09-21/paginators-1.json +0 -48
  418. data/apis/ecr/2015-09-21/smoke.json +0 -18
  419. data/apis/ecs/2014-11-13/api-2.json +0 -2902
  420. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  421. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  422. data/apis/ecs/2014-11-13/smoke.json +0 -18
  423. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  424. data/apis/eks/2017-11-01/api-2.json +0 -750
  425. data/apis/eks/2017-11-01/examples-1.json +0 -114
  426. data/apis/eks/2017-11-01/paginators-1.json +0 -16
  427. data/apis/eks/2017-11-01/waiters-2.json +0 -54
  428. data/apis/elasticache/2015-02-02/api-2.json +0 -3301
  429. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  430. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  431. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  432. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  433. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  434. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  435. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  436. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  437. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -897
  438. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  439. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  440. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  441. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  442. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  443. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  444. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  445. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  446. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2299
  447. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  448. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  449. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  450. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  451. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2187
  452. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  453. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  454. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  455. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  456. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  457. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  458. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  459. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  460. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  461. data/apis/email/2010-12-01/api-2.json +0 -3182
  462. data/apis/email/2010-12-01/examples-1.json +0 -1021
  463. data/apis/email/2010-12-01/paginators-1.json +0 -18
  464. data/apis/email/2010-12-01/smoke.json +0 -18
  465. data/apis/email/2010-12-01/waiters-2.json +0 -18
  466. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  467. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  468. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  469. data/apis/es/2015-01-01/api-2.json +0 -1572
  470. data/apis/es/2015-01-01/examples-1.json +0 -5
  471. data/apis/es/2015-01-01/paginators-1.json +0 -29
  472. data/apis/es/2015-01-01/smoke.json +0 -18
  473. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  474. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  475. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  476. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  477. data/apis/events/2015-10-07/api-2.json +0 -1462
  478. data/apis/events/2015-10-07/examples-1.json +0 -5
  479. data/apis/events/2015-10-07/paginators-1.json +0 -4
  480. data/apis/events/2015-10-07/smoke.json +0 -18
  481. data/apis/firehose/2015-08-04/api-2.json +0 -1383
  482. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  483. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  484. data/apis/firehose/2015-08-04/smoke.json +0 -18
  485. data/apis/fms/2018-01-01/api-2.json +0 -701
  486. data/apis/fms/2018-01-01/examples-1.json +0 -5
  487. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  488. data/apis/forecast/2018-06-26/api-2.json +0 -1373
  489. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  490. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  491. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  492. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  493. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  494. data/apis/fsx/2018-03-01/api-2.json +0 -1050
  495. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  496. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  497. data/apis/gamelift/2015-10-01/api-2.json +0 -3495
  498. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  499. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  500. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  501. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  502. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  503. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  504. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  505. data/apis/glacier/2012-06-01/smoke.json +0 -18
  506. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  507. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  508. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  509. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  510. data/apis/glue/2017-03-31/api-2.json +0 -6297
  511. data/apis/glue/2017-03-31/examples-1.json +0 -5
  512. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  513. data/apis/glue/2017-03-31/smoke.json +0 -11
  514. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  515. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  516. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  517. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  518. data/apis/guardduty/2017-11-28/api-2.json +0 -3206
  519. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  520. data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
  521. data/apis/health/2016-08-04/api-2.json +0 -554
  522. data/apis/health/2016-08-04/examples-1.json +0 -5
  523. data/apis/health/2016-08-04/paginators-1.json +0 -31
  524. data/apis/health/2016-08-04/smoke.json +0 -11
  525. data/apis/iam/2010-05-08/api-2.json +0 -5778
  526. data/apis/iam/2010-05-08/examples-1.json +0 -1572
  527. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  528. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  529. data/apis/iam/2010-05-08/smoke.json +0 -18
  530. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  531. data/apis/importexport/2010-06-01/api-2.json +0 -667
  532. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  533. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  534. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  535. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  536. data/apis/inspector/2016-02-16/smoke.json +0 -18
  537. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  538. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  539. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  540. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  541. data/apis/iot/2015-05-28/api-2.json +0 -9829
  542. data/apis/iot/2015-05-28/examples-1.json +0 -5
  543. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  544. data/apis/iot/2015-05-28/smoke.json +0 -18
  545. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  546. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  547. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  548. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  549. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2223
  550. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  551. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  552. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  553. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  554. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  555. data/apis/iotevents/2018-07-27/api-2.json +0 -1144
  556. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  557. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  558. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  559. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  560. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  561. data/apis/kafka/2018-11-14/api-2.json +0 -1950
  562. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  563. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -418
  564. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  565. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  566. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  567. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  568. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  569. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  570. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  571. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  572. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  573. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  574. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  575. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  576. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  577. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  578. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  579. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  580. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  581. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  582. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  583. data/apis/kms/2014-11-01/api-2.json +0 -1834
  584. data/apis/kms/2014-11-01/examples-1.json +0 -906
  585. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  586. data/apis/kms/2014-11-01/smoke.json +0 -19
  587. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  588. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  589. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  590. data/apis/lambda/2014-11-11/api-2.json +0 -668
  591. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  592. data/apis/lambda/2015-03-31/api-2.json +0 -2353
  593. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  594. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  595. data/apis/lambda/2015-03-31/smoke.json +0 -18
  596. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  597. data/apis/lex-models/2017-04-19/api-2.json +0 -2261
  598. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  599. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  600. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  601. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  602. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  603. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  604. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  605. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  606. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  607. data/apis/logs/2014-03-28/api-2.json +0 -1701
  608. data/apis/logs/2014-03-28/examples-1.json +0 -5
  609. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  610. data/apis/logs/2014-03-28/smoke.json +0 -19
  611. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  612. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  613. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  614. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  615. data/apis/macie/2017-12-19/api-2.json +0 -365
  616. data/apis/macie/2017-12-19/examples-1.json +0 -5
  617. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  618. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  619. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  620. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  621. data/apis/marketplace-catalog/2018-09-17/api-2.json +0 -550
  622. data/apis/marketplace-catalog/2018-09-17/examples-1.json +0 -5
  623. data/apis/marketplace-catalog/2018-09-17/paginators-1.json +0 -14
  624. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -176
  625. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  626. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  627. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  628. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  629. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  630. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8350
  631. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  632. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  633. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  634. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  635. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
  636. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  637. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  638. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  639. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  640. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  641. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  642. data/apis/mediastore/2017-09-01/api-2.json +0 -735
  643. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  644. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  645. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  646. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  647. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -345
  648. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  649. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  650. data/apis/mobile/2017-07-01/api-2.json +0 -551
  651. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  652. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  653. data/apis/monitoring/2010-08-01/api-2.json +0 -1526
  654. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  655. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  656. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  657. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  658. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  659. data/apis/mq/2017-11-27/api-2.json +0 -2538
  660. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  661. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  662. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  663. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  664. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  665. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  666. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  667. data/apis/neptune/2014-10-31/smoke.json +0 -18
  668. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  669. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  670. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  671. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  672. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  673. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  674. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  675. data/apis/opsworkscm/2016-11-01/api-2.json +0 -817
  676. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  677. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  678. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  679. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  680. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  681. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  682. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  683. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  684. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  685. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  686. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  687. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  688. data/apis/personalize/2018-05-22/api-2.json +0 -1863
  689. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  690. data/apis/personalize/2018-05-22/paginators-1.json +0 -64
  691. data/apis/pi/2018-02-27/api-2.json +0 -253
  692. data/apis/pi/2018-02-27/examples-1.json +0 -5
  693. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  694. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  695. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  696. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  697. data/apis/pinpoint/2016-12-01/api-2.json +0 -10826
  698. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  699. data/apis/polly/2016-06-10/api-2.json +0 -832
  700. data/apis/polly/2016-06-10/examples-1.json +0 -171
  701. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  702. data/apis/polly/2016-06-10/smoke.json +0 -11
  703. data/apis/pricing/2017-10-15/api-2.json +0 -227
  704. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  705. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  706. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  707. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  708. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  709. data/apis/qldb/2019-01-02/api-2.json +0 -776
  710. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  711. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  712. data/apis/quicksight/2018-04-01/api-2.json +0 -1223
  713. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  714. data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
  715. data/apis/ram/2018-01-04/api-2.json +0 -1021
  716. data/apis/ram/2018-01-04/examples-1.json +0 -5
  717. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  718. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  719. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  720. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  721. data/apis/rds/2013-01-10/api-2.json +0 -2903
  722. data/apis/rds/2013-01-10/examples-1.json +0 -5
  723. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  724. data/apis/rds/2013-01-10/smoke.json +0 -18
  725. data/apis/rds/2013-02-12/api-2.json +0 -3059
  726. data/apis/rds/2013-02-12/examples-1.json +0 -5
  727. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  728. data/apis/rds/2013-02-12/smoke.json +0 -18
  729. data/apis/rds/2013-09-09/api-2.json +0 -3160
  730. data/apis/rds/2013-09-09/examples-1.json +0 -5
  731. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  732. data/apis/rds/2013-09-09/smoke.json +0 -18
  733. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  734. data/apis/rds/2014-09-01/api-2.json +0 -3273
  735. data/apis/rds/2014-09-01/examples-1.json +0 -5
  736. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  737. data/apis/rds/2014-09-01/smoke.json +0 -18
  738. data/apis/rds/2014-10-31/api-2.json +0 -6880
  739. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  740. data/apis/rds/2014-10-31/paginators-1.json +0 -140
  741. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  742. data/apis/rds/2014-10-31/smoke.json +0 -18
  743. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  744. data/apis/rds/2015-11-12/api-2.json +0 -5509
  745. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  746. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  747. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  748. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  749. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  750. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  751. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  752. data/apis/redshift/2012-12-01/smoke.json +0 -18
  753. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  754. data/apis/rekognition/2016-06-27/api-2.json +0 -2142
  755. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  756. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  757. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  758. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  759. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  760. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  761. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  762. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  763. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  764. data/apis/robomaker/2018-06-29/api-2.json +0 -2160
  765. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  766. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  767. data/apis/route53/2013-04-01/api-2.json +0 -3780
  768. data/apis/route53/2013-04-01/examples-1.json +0 -762
  769. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  770. data/apis/route53/2013-04-01/smoke.json +0 -18
  771. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  772. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  773. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  774. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  775. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  776. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  777. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  778. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  779. data/apis/runtime.lex/2016-11-28/api-2.json +0 -693
  780. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  781. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  782. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -152
  783. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  784. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  785. data/apis/s3/2006-03-01/api-2.json +0 -6587
  786. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  787. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  788. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  789. data/apis/s3/2006-03-01/smoke.json +0 -11
  790. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  791. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  792. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  793. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  794. data/apis/sagemaker/2017-07-24/api-2.json +0 -5281
  795. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  796. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  797. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  798. data/apis/savingsplans/2019-06-28/api-2.json +0 -749
  799. data/apis/savingsplans/2019-06-28/examples-1.json +0 -5
  800. data/apis/savingsplans/2019-06-28/paginators-1.json +0 -4
  801. data/apis/sdb/2009-04-15/api-2.json +0 -955
  802. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  803. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  804. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  805. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  806. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  807. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  808. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  809. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  810. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  811. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  812. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  813. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  814. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  815. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  816. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  817. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  818. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  819. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  820. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  821. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  822. data/apis/sesv2/2019-09-27/api-2.json +0 -2093
  823. data/apis/sesv2/2019-09-27/examples-1.json +0 -5
  824. data/apis/sesv2/2019-09-27/paginators-1.json +0 -34
  825. data/apis/shield/2016-06-02/api-2.json +0 -893
  826. data/apis/shield/2016-06-02/examples-1.json +0 -5
  827. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  828. data/apis/shield/2016-06-02/smoke.json +0 -11
  829. data/apis/signer/2017-08-25/api-2.json +0 -817
  830. data/apis/signer/2017-08-25/examples-1.json +0 -5
  831. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  832. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  833. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  834. data/apis/sms/2016-10-24/api-2.json +0 -1366
  835. data/apis/sms/2016-10-24/examples-1.json +0 -5
  836. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  837. data/apis/sms/2016-10-24/smoke.json +0 -18
  838. data/apis/snowball/2016-06-30/api-2.json +0 -955
  839. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  840. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  841. data/apis/snowball/2016-06-30/smoke.json +0 -11
  842. data/apis/sns/2010-03-31/api-2.json +0 -1468
  843. data/apis/sns/2010-03-31/examples-1.json +0 -5
  844. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  845. data/apis/sns/2010-03-31/resources-1.json +0 -327
  846. data/apis/sns/2010-03-31/smoke.json +0 -19
  847. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  848. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  849. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  850. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  851. data/apis/sqs/2012-11-05/smoke.json +0 -18
  852. data/apis/ssm/2014-11-06/api-2.json +0 -8924
  853. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  854. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  855. data/apis/ssm/2014-11-06/smoke.json +0 -18
  856. data/apis/sso-oidc/2019-06-10/api-2.json +0 -283
  857. data/apis/sso-oidc/2019-06-10/examples-1.json +0 -5
  858. data/apis/sso-oidc/2019-06-10/paginators-1.json +0 -4
  859. data/apis/sso/2019-06-10/api-2.json +0 -281
  860. data/apis/sso/2019-06-10/examples-1.json +0 -5
  861. data/apis/sso/2019-06-10/paginators-1.json +0 -16
  862. data/apis/states/2016-11-23/api-2.json +0 -1409
  863. data/apis/states/2016-11-23/examples-1.json +0 -5
  864. data/apis/states/2016-11-23/paginators-1.json +0 -28
  865. data/apis/states/2016-11-23/smoke.json +0 -11
  866. data/apis/storagegateway/2013-06-30/api-2.json +0 -3166
  867. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  868. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  869. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  870. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  871. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  872. data/apis/sts/2011-06-15/api-2.json +0 -562
  873. data/apis/sts/2011-06-15/examples-1.json +0 -207
  874. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  875. data/apis/sts/2011-06-15/smoke.json +0 -19
  876. data/apis/support/2013-04-15/api-2.json +0 -773
  877. data/apis/support/2013-04-15/examples-1.json +0 -5
  878. data/apis/support/2013-04-15/paginators-1.json +0 -25
  879. data/apis/support/2013-04-15/smoke.json +0 -22
  880. data/apis/swf/2012-01-25/api-2.json +0 -2792
  881. data/apis/swf/2012-01-25/examples-1.json +0 -5
  882. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  883. data/apis/textract/2018-06-27/api-2.json +0 -572
  884. data/apis/textract/2018-06-27/examples-1.json +0 -5
  885. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  886. data/apis/transcribe-streaming/2017-10-26/api-2.json +0 -262
  887. data/apis/transcribe-streaming/2017-10-26/examples-1.json +0 -5
  888. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +0 -4
  889. data/apis/transcribe/2017-10-26/api-2.json +0 -524
  890. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  891. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  892. data/apis/transfer/2018-11-05/api-2.json +0 -940
  893. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  894. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  895. data/apis/translate/2017-07-01/api-2.json +0 -408
  896. data/apis/translate/2017-07-01/examples-1.json +0 -5
  897. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  898. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  899. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  900. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  901. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  902. data/apis/waf/2015-08-24/api-2.json +0 -3857
  903. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  904. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  905. data/apis/waf/2015-08-24/smoke.json +0 -21
  906. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  907. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  908. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  909. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  910. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  911. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  912. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  913. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  914. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  915. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  916. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  917. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  918. data/apis/workspaces/2015-04-08/api-2.json +0 -1764
  919. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  920. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  921. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  922. data/apis/xray/2016-04-12/api-2.json +0 -1352
  923. data/apis/xray/2016-04-12/examples-1.json +0 -5
  924. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  925. data/bin/aws.rb +0 -180
  926. data/endpoints.json +0 -5633
  927. data/lib/aws-sdk-core/acm.rb +0 -7
  928. data/lib/aws-sdk-core/acmpca.rb +0 -7
  929. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  930. data/lib/aws-sdk-core/amplify.rb +0 -6
  931. data/lib/aws-sdk-core/api/builder.rb +0 -129
  932. data/lib/aws-sdk-core/api/customizations.rb +0 -303
  933. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  934. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  935. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  936. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  937. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  938. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  939. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  940. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  941. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  942. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  943. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  944. data/lib/aws-sdk-core/apigateway.rb +0 -6
  945. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  946. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  947. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  948. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  949. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  950. data/lib/aws-sdk-core/appmesh.rb +0 -6
  951. data/lib/aws-sdk-core/appstream.rb +0 -7
  952. data/lib/aws-sdk-core/appsync.rb +0 -6
  953. data/lib/aws-sdk-core/athena.rb +0 -6
  954. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  955. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  956. data/lib/aws-sdk-core/backup.rb +0 -6
  957. data/lib/aws-sdk-core/batch.rb +0 -6
  958. data/lib/aws-sdk-core/budgets.rb +0 -6
  959. data/lib/aws-sdk-core/checksums.rb +0 -51
  960. data/lib/aws-sdk-core/chime.rb +0 -6
  961. data/lib/aws-sdk-core/client.rb +0 -62
  962. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  963. data/lib/aws-sdk-core/cloud9.rb +0 -6
  964. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  965. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  966. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  967. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  968. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  969. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  970. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  971. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  972. data/lib/aws-sdk-core/cloudsearch.rb +0 -6
  973. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  974. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  975. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  976. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  977. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  978. data/lib/aws-sdk-core/codebuild.rb +0 -6
  979. data/lib/aws-sdk-core/codecommit.rb +0 -6
  980. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  981. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  982. data/lib/aws-sdk-core/codestar.rb +0 -6
  983. data/lib/aws-sdk-core/codestarnotifications.rb +0 -6
  984. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  985. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  986. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  987. data/lib/aws-sdk-core/comprehend.rb +0 -6
  988. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  989. data/lib/aws-sdk-core/configservice.rb +0 -6
  990. data/lib/aws-sdk-core/connect.rb +0 -6
  991. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  992. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  993. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  994. data/lib/aws-sdk-core/dataexchange.rb +0 -5
  995. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  996. data/lib/aws-sdk-core/datasync.rb +0 -6
  997. data/lib/aws-sdk-core/dax.rb +0 -6
  998. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  999. data/lib/aws-sdk-core/directconnect.rb +0 -6
  1000. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  1001. data/lib/aws-sdk-core/dlm.rb +0 -6
  1002. data/lib/aws-sdk-core/docdb.rb +0 -7
  1003. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  1004. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  1005. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  1006. data/lib/aws-sdk-core/ec2.rb +0 -8
  1007. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  1008. data/lib/aws-sdk-core/ecr.rb +0 -6
  1009. data/lib/aws-sdk-core/ecs.rb +0 -7
  1010. data/lib/aws-sdk-core/efs.rb +0 -6
  1011. data/lib/aws-sdk-core/eks.rb +0 -7
  1012. data/lib/aws-sdk-core/elasticache.rb +0 -7
  1013. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  1014. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  1015. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  1016. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  1017. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  1018. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  1019. data/lib/aws-sdk-core/emr.rb +0 -7
  1020. data/lib/aws-sdk-core/endpoint_provider.rb +0 -131
  1021. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  1022. data/lib/aws-sdk-core/firehose.rb +0 -6
  1023. data/lib/aws-sdk-core/fms.rb +0 -6
  1024. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  1025. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  1026. data/lib/aws-sdk-core/fsx.rb +0 -6
  1027. data/lib/aws-sdk-core/gamelift.rb +0 -6
  1028. data/lib/aws-sdk-core/glacier.rb +0 -8
  1029. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  1030. data/lib/aws-sdk-core/glue.rb +0 -6
  1031. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1032. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1033. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1034. data/lib/aws-sdk-core/health.rb +0 -6
  1035. data/lib/aws-sdk-core/iam.rb +0 -8
  1036. data/lib/aws-sdk-core/importexport.rb +0 -5
  1037. data/lib/aws-sdk-core/inspector.rb +0 -6
  1038. data/lib/aws-sdk-core/iot.rb +0 -6
  1039. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1040. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1041. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1042. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1043. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1044. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1045. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1046. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1047. data/lib/aws-sdk-core/kafka.rb +0 -5
  1048. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1049. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1050. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1051. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1052. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1053. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1054. data/lib/aws-sdk-core/kms.rb +0 -6
  1055. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1056. data/lib/aws-sdk-core/lambda.rb +0 -7
  1057. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1058. data/lib/aws-sdk-core/lex.rb +0 -6
  1059. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1060. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1061. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1062. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1063. data/lib/aws-sdk-core/macie.rb +0 -6
  1064. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1065. data/lib/aws-sdk-core/marketplacecatalog.rb +0 -6
  1066. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1067. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1068. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1069. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1070. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1071. data/lib/aws-sdk-core/medialive.rb +0 -6
  1072. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1073. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1074. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1075. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1076. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1077. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1078. data/lib/aws-sdk-core/mobile.rb +0 -6
  1079. data/lib/aws-sdk-core/mq.rb +0 -5
  1080. data/lib/aws-sdk-core/mturk.rb +0 -6
  1081. data/lib/aws-sdk-core/neptune.rb +0 -7
  1082. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1083. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1084. data/lib/aws-sdk-core/organizations.rb +0 -6
  1085. data/lib/aws-sdk-core/partitions.rb +0 -174
  1086. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1087. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1088. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1089. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1090. data/lib/aws-sdk-core/personalize.rb +0 -6
  1091. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1092. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1093. data/lib/aws-sdk-core/pi.rb +0 -6
  1094. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1095. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1096. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1097. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1098. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1099. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1100. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1101. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1102. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1103. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1104. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1105. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1106. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1107. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1108. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1109. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1110. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1111. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1112. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1113. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1114. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1115. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1116. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1117. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1118. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1119. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1120. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1121. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1122. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1123. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1124. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1125. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1126. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1127. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1128. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1129. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1130. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1131. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +0 -30
  1132. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1133. data/lib/aws-sdk-core/polly.rb +0 -14
  1134. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1135. data/lib/aws-sdk-core/pricing.rb +0 -6
  1136. data/lib/aws-sdk-core/qldb.rb +0 -6
  1137. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1138. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1139. data/lib/aws-sdk-core/ram.rb +0 -6
  1140. data/lib/aws-sdk-core/rds.rb +0 -16
  1141. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1142. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1143. data/lib/aws-sdk-core/redshift.rb +0 -7
  1144. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1145. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1146. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1147. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1148. data/lib/aws-sdk-core/route53.rb +0 -7
  1149. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1150. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1151. data/lib/aws-sdk-core/s3.rb +0 -26
  1152. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1153. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1154. data/lib/aws-sdk-core/s3control.rb +0 -6
  1155. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1156. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1157. data/lib/aws-sdk-core/savingsplans.rb +0 -6
  1158. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1159. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1160. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1161. data/lib/aws-sdk-core/service.rb +0 -4
  1162. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1163. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1164. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1165. data/lib/aws-sdk-core/ses.rb +0 -7
  1166. data/lib/aws-sdk-core/sesv2.rb +0 -6
  1167. data/lib/aws-sdk-core/shield.rb +0 -6
  1168. data/lib/aws-sdk-core/signer.rb +0 -7
  1169. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1170. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1171. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1172. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1173. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1174. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1175. data/lib/aws-sdk-core/sms.rb +0 -6
  1176. data/lib/aws-sdk-core/snowball.rb +0 -6
  1177. data/lib/aws-sdk-core/sns.rb +0 -7
  1178. data/lib/aws-sdk-core/sqs.rb +0 -7
  1179. data/lib/aws-sdk-core/ssm.rb +0 -6
  1180. data/lib/aws-sdk-core/sso.rb +0 -6
  1181. data/lib/aws-sdk-core/ssooidc.rb +0 -6
  1182. data/lib/aws-sdk-core/states.rb +0 -6
  1183. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1184. data/lib/aws-sdk-core/sts.rb +0 -6
  1185. data/lib/aws-sdk-core/support.rb +0 -6
  1186. data/lib/aws-sdk-core/swf.rb +0 -6
  1187. data/lib/aws-sdk-core/textract.rb +0 -6
  1188. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1189. data/lib/aws-sdk-core/transfer.rb +0 -6
  1190. data/lib/aws-sdk-core/translate.rb +0 -6
  1191. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1192. data/lib/aws-sdk-core/version.rb +0 -3
  1193. data/lib/aws-sdk-core/waf.rb +0 -6
  1194. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1195. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1196. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1197. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1198. data/lib/aws-sdk-core/worklink.rb +0 -6
  1199. data/lib/aws-sdk-core/workmail.rb +0 -6
  1200. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1201. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1202. data/lib/aws-sdk-core/xray.rb +0 -6
  1203. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1204. data/service-models.json +0 -797
@@ -1,3 +1,5 @@
1
+ require_relative 'ini_parser'
2
+
1
3
  module Aws
2
4
  class SharedCredentials
3
5
 
@@ -1,10 +1,6 @@
1
1
  module Aws
2
2
  # @api private
3
- class Structure < Struct
4
-
5
- if Struct.instance_methods.include?(:to_h)
6
- alias orig_to_h to_h
7
- end
3
+ module Structure
8
4
 
9
5
  def initialize(values = {})
10
6
  values.each do |k, v|
@@ -33,8 +29,7 @@ module Aws
33
29
  def to_h(obj = self)
34
30
  case obj
35
31
  when Struct
36
- obj.members.each.with_object({}) do |member, hash|
37
- value = obj[member]
32
+ obj.each_pair.with_object({}) do |(member, value), hash|
38
33
  hash[member] = to_hash(value) unless value.nil?
39
34
  end
40
35
  when Hash
@@ -49,21 +44,35 @@ module Aws
49
44
  end
50
45
  alias to_hash to_h
51
46
 
52
- undef_method :each
47
+ # Wraps the default #to_s logic with filtering of sensitive parameters.
48
+ def to_s(obj = self)
49
+ Aws::Log::ParamFilter.new.filter(obj).to_s
50
+ end
53
51
 
54
52
  class << self
55
53
 
56
54
  # @api private
57
55
  def new(*args)
58
- if args == ['AwsEmptyStructure']
59
- super
60
- elsif args.empty? || args.first == []
61
- EmptyStructure
56
+ if args.empty?
57
+ Aws::EmptyStructure
62
58
  else
63
- super(*args)
59
+ struct = Struct.new(*args)
60
+ struct.send(:include, Aws::Structure)
61
+ struct
64
62
  end
65
63
  end
66
64
 
65
+ # @api private
66
+ def self.included(base_class)
67
+ base_class.send(:undef_method, :each)
68
+ end
69
+
67
70
  end
68
71
  end
72
+
73
+ # @api private
74
+ class EmptyStructure < Struct.new('AwsEmptyStructure')
75
+ include(Aws::Structure)
76
+ end
77
+
69
78
  end
@@ -27,7 +27,7 @@ module Aws
27
27
  def member_value(ref, value)
28
28
  case ref.shape
29
29
  when StructureShape
30
- apply_data_to_struct(ref, value, ref[:struct_class].new)
30
+ apply_data_to_struct(ref, value, ref.shape.struct_class.new)
31
31
  when ListShape
32
32
  value.inject([]) do |list, v|
33
33
  list << member_value(ref.shape.member, v)
@@ -11,7 +11,11 @@ module Aws
11
11
 
12
12
  # @return [Structure]
13
13
  def stub
14
- stub_ref(@rules)
14
+ if @rules
15
+ stub_ref(@rules)
16
+ else
17
+ EmptyStructure.new
18
+ end
15
19
  end
16
20
 
17
21
  private
@@ -31,8 +35,11 @@ module Aws
31
35
  end
32
36
 
33
37
  def stub_structure(ref, visited)
34
- ref.shape.members.inject(ref[:struct_class].new) do |struct, (mname, mref)|
35
- struct[mname] = stub_ref(mref, visited)
38
+ ref.shape.members.inject(ref.shape.struct_class.new) do |struct, (mname, mref)|
39
+ # For eventstream shape, it returns an Enumerator
40
+ unless mref.eventstream
41
+ struct[mname] = stub_ref(mref, visited)
42
+ end
36
43
  struct
37
44
  end
38
45
  end
@@ -0,0 +1,8 @@
1
+ module Aws
2
+ module Stubbing
3
+ module Protocols
4
+ class ApiGateway < RestJson
5
+ end
6
+ end
7
+ end
8
+ end
@@ -6,7 +6,7 @@ module Aws
6
6
  def stub_data(api, operation, data)
7
7
  resp = Seahorse::Client::Http::Response.new
8
8
  resp.status_code = 200
9
- resp.body = build_body(api, operation, data)
9
+ resp.body = build_body(api, operation, data) if operation.output
10
10
  resp.headers['Content-Length'] = resp.body.size
11
11
  resp.headers['Content-Type'] = 'text/xml;charset=UTF-8'
12
12
  resp.headers['Server'] = 'AmazonEC2'
@@ -1,3 +1,5 @@
1
+ require 'aws-eventstream'
2
+
1
3
  module Aws
2
4
  module Stubbing
3
5
  module Protocols
@@ -74,6 +76,96 @@ module Aws
74
76
  operation.http_method == "HEAD"
75
77
  end
76
78
 
79
+ def eventstream?(rules)
80
+ rules.eventstream
81
+ end
82
+
83
+ def encode_eventstream_response(rules, data, builder)
84
+ data.inject('') do |stream, event_data|
85
+ # construct message headers and payload
86
+ opts = {headers: {}}
87
+ case event_data.delete(:message_type)
88
+ when 'event'
89
+ encode_event(opts, rules, event_data, builder)
90
+ when 'error'
91
+ # errors are unmodeled
92
+ encode_error(opts, event_data)
93
+ when 'exception'
94
+ # Pending
95
+ raise 'Stubbing :exception event is not supported'
96
+ end
97
+ stream << Aws::EventStream::Encoder.new.encode(
98
+ Aws::EventStream::Message.new(opts))
99
+ stream
100
+ end
101
+ end
102
+
103
+ def encode_error(opts, event_data)
104
+ opts[:headers][':error-message'] = Aws::EventStream::HeaderValue.new(
105
+ value: event_data[:error_message],
106
+ type: 'string'
107
+ )
108
+ opts[:headers][':error-code'] = Aws::EventStream::HeaderValue.new(
109
+ value: event_data[:error_code],
110
+ type: 'string'
111
+ )
112
+ opts[:headers][':message-type'] = Aws::EventStream::HeaderValue.new(
113
+ value: 'error',
114
+ type: 'string'
115
+ )
116
+ opts
117
+ end
118
+
119
+ def encode_event(opts, rules, event_data, builder)
120
+ event_ref = rules.shape.member(event_data.delete(:event_type))
121
+ explicit_payload = false
122
+ implicit_payload_members = {}
123
+ event_ref.shape.members.each do |name, ref|
124
+ if ref.eventpayload
125
+ explicit_payload = true
126
+ else
127
+ implicit_payload_members[name] = ref
128
+ end
129
+ end
130
+
131
+ if !explicit_payload && !implicit_payload_members.empty?
132
+ unless implicit_payload_members.size > 1
133
+ m_name, _ = implicit_payload_members.first
134
+ value = {}
135
+ value[m_name] = event_data[m_name]
136
+ opts[:payload] = StringIO.new(builder.new(event_ref).serialize(value))
137
+ end
138
+ end
139
+
140
+ event_data.each do |k, v|
141
+ member_ref = event_ref.shape.member(k)
142
+ if member_ref.eventheader
143
+ opts[:headers][member_ref.location_name] = Aws::EventStream::HeaderValue.new(
144
+ value: v,
145
+ type: member_ref.eventheader_type
146
+ )
147
+ elsif member_ref.eventpayload
148
+ case member_ref.eventpayload_type
149
+ when 'string'
150
+ opts[:payload] = StringIO.new(v)
151
+ when 'blob'
152
+ opts[:payload] = v
153
+ when 'structure'
154
+ opts[:payload] = StringIO.new(builder.new(member_ref).serialize(v))
155
+ end
156
+ end
157
+ end
158
+ opts[:headers][':event-type'] = Aws::EventStream::HeaderValue.new(
159
+ value: event_ref.location_name,
160
+ type: 'string'
161
+ )
162
+ opts[:headers][':message-type'] = Aws::EventStream::HeaderValue.new(
163
+ value: 'event',
164
+ type: 'string'
165
+ )
166
+ opts
167
+ end
168
+
77
169
  end
78
170
  end
79
171
  end
@@ -4,7 +4,11 @@ module Aws
4
4
  class RestJson < Rest
5
5
 
6
6
  def body_for(_, _, rules, data)
7
- Aws::Json::Builder.new(rules).serialize(data)
7
+ if eventstream?(rules)
8
+ encode_eventstream_response(rules, data, Aws::Json::Builder)
9
+ else
10
+ Aws::Json::Builder.new(rules).serialize(data)
11
+ end
8
12
  end
9
13
 
10
14
  def stub_error(error_code)
@@ -6,11 +6,15 @@ module Aws
6
6
  include Seahorse::Model::Shapes
7
7
 
8
8
  def body_for(api, operation, rules, data)
9
- xml = []
10
- rules.location_name = operation.name + 'Result'
11
- rules['xmlNamespace'] = { 'uri' => api.metadata['xmlNamespace'] }
12
- Xml::Builder.new(rules, target:xml).to_xml(data)
13
- xml.join
9
+ if eventstream?(rules)
10
+ encode_eventstream_response(rules, data, Xml::Builder)
11
+ else
12
+ xml = []
13
+ rules.location_name = operation.name + 'Result'
14
+ rules['xmlNamespace'] = { 'uri' => api.metadata['xmlNamespace'] }
15
+ Xml::Builder.new(rules, target:xml).to_xml(data)
16
+ xml.join
17
+ end
14
18
  end
15
19
 
16
20
  def stub_error(error_code)
@@ -1,4 +1,5 @@
1
1
  module Aws
2
+ # @api private
2
3
  module Stubbing
3
4
  class StubData
4
5
 
@@ -19,14 +20,26 @@ module Aws
19
20
  def remove_paging_tokens(stub)
20
21
  if @pager
21
22
  @pager.instance_variable_get("@tokens").keys.each do |path|
22
- key = path.split(/\b/)[0]
23
- stub[key] = nil
23
+ if divide = (path[' || '] || path[' or '])
24
+ path = path.split(divide)[0]
25
+ end
26
+ parts = path.split(/\b/)
27
+ # if nested struct/expression, EmptyStub auto-pop "string"
28
+ # currently not support remove "string" for nested/expression
29
+ # as it requires reverse JMESPATH search
30
+ stub[parts[0]] = nil if parts.size == 1
31
+ end
32
+ if more_results = @pager.instance_variable_get('@more_results')
33
+ parts = more_results.split(/\b/)
34
+ # if nested struct/expression, EmptyStub auto-pop false value
35
+ # no further work needed
36
+ stub[parts[0]] = false if parts.size == 1
24
37
  end
25
38
  end
26
39
  end
27
40
 
28
41
  def apply_data(data, stub)
29
- ParamValidator.new(@rules, validate_required:false).validate!(data)
42
+ ParamValidator.new(@rules, validate_required: false, input: false).validate!(data)
30
43
  DataApplicator.new(@rules).apply_data(data, stub)
31
44
  end
32
45
  end
@@ -0,0 +1,66 @@
1
+ require 'cgi'
2
+
3
+ module Aws
4
+ # @api private
5
+ module Util
6
+ class << self
7
+
8
+ def deep_merge(left, right)
9
+ case left
10
+ when Hash then left.merge(right) { |key, v1, v2| deep_merge(v1, v2) }
11
+ when Array then right + left
12
+ else right
13
+ end
14
+ end
15
+
16
+ def copy_hash(hash)
17
+ if Hash === hash
18
+ deep_copy(hash)
19
+ else
20
+ raise ArgumentError, "expected hash, got `#{hash.class}`"
21
+ end
22
+ end
23
+
24
+ def deep_copy(obj)
25
+ case obj
26
+ when nil then nil
27
+ when true then true
28
+ when false then false
29
+ when Hash
30
+ obj.inject({}) do |h, (k,v)|
31
+ h[k] = deep_copy(v)
32
+ h
33
+ end
34
+ when Array
35
+ obj.map { |v| deep_copy(v) }
36
+ else
37
+ if obj.respond_to?(:dup)
38
+ obj.dup
39
+ elsif obj.respond_to?(:clone)
40
+ obj.clone
41
+ else
42
+ obj
43
+ end
44
+ end
45
+ end
46
+
47
+ def monotonic_milliseconds
48
+ if defined?(Process::CLOCK_MONOTONIC)
49
+ Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond)
50
+ else
51
+ DateTime.now.strftime('%Q').to_i
52
+ end
53
+ end
54
+
55
+ def str_2_bool(str)
56
+ case str.to_s
57
+ when "true" then true
58
+ when "false" then false
59
+ else
60
+ nil
61
+ end
62
+ end
63
+
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,3 @@
1
+ require_relative 'waiters/errors'
2
+ require_relative 'waiters/poller'
3
+ require_relative 'waiters/waiter'
@@ -9,10 +9,12 @@ module Aws
9
9
  # @api private
10
10
  RAISE_HANDLER = Seahorse::Client::Plugins::RaiseResponseErrors::Handler
11
11
 
12
+ # @option options [required, String] :operation_name
13
+ # @option options [required, Array<Hash>] :acceptors
12
14
  # @api private
13
15
  def initialize(options = {})
14
- @operation_name = underscore(options['operation']).to_sym
15
- @acceptors = options['acceptors'] || []
16
+ @operation_name = options.fetch(:operation_name)
17
+ @acceptors = options.fetch(:acceptors)
16
18
  end
17
19
 
18
20
  # @return [Symbol]
@@ -95,9 +97,7 @@ module Aws
95
97
  end
96
98
 
97
99
  def path(acceptor)
98
- acceptor['argument'].gsub(/(?<![`'])\b\w+\b(?![`'])/) do |str|
99
- Seahorse::Util.underscore(str)
100
- end
100
+ acceptor['argument']
101
101
  end
102
102
 
103
103
  def non_empty_array(acceptor, response, &block)
@@ -109,10 +109,6 @@ module Aws
109
109
  end
110
110
  end
111
111
 
112
- def underscore(str)
113
- Seahorse::Util.underscore(str)
114
- end
115
-
116
112
  end
117
113
  end
118
114
  end
@@ -1,5 +1,6 @@
1
1
  module Aws
2
2
  module Waiters
3
+ # @api private
3
4
  class Waiter
4
5
 
5
6
  # @api private
@@ -0,0 +1,9 @@
1
+ require_relative 'xml/builder'
2
+ require_relative 'xml/default_list'
3
+ require_relative 'xml/default_map'
4
+ require_relative 'xml/doc_builder'
5
+ require_relative 'xml/error_handler'
6
+ require_relative 'xml/parser'
7
+ require_relative 'xml/parser/stack'
8
+ require_relative 'xml/parser/frame'
9
+ require_relative 'xml/parser/parsing_error'
@@ -46,7 +46,7 @@ module Aws
46
46
  end
47
47
 
48
48
  def list(name, ref, values)
49
- if ref['flattened']
49
+ if ref.shape.flattened
50
50
  values.each do |value|
51
51
  member(ref.shape.member.location_name || name, ref.shape.member, value)
52
52
  end
@@ -63,7 +63,7 @@ module Aws
63
63
  def map(name, ref, hash)
64
64
  key_ref = ref.shape.key
65
65
  value_ref = ref.shape.value
66
- if ref['flattened']
66
+ if ref.shape.flattened
67
67
  hash.each do |key, value|
68
68
  node(name, ref) do
69
69
  member(key_ref.location_name || 'key', key_ref, key)
@@ -87,7 +87,7 @@ module Aws
87
87
  when StructureShape then structure(name, ref, value)
88
88
  when ListShape then list(name, ref, value)
89
89
  when MapShape then map(name, ref, value)
90
- when TimestampShape then node(name, ref, timestamp(value))
90
+ when TimestampShape then node(name, ref, timestamp(ref, value))
91
91
  when BlobShape then node(name, ref, blob(value))
92
92
  else
93
93
  node(name, ref, value.to_s)
@@ -99,8 +99,14 @@ module Aws
99
99
  Base64.strict_encode64(value)
100
100
  end
101
101
 
102
- def timestamp(value)
103
- value.utc.iso8601
102
+ def timestamp(ref, value)
103
+ case ref['timestampFormat'] || ref.shape['timestampFormat']
104
+ when 'unixTimestamp' then value.to_i
105
+ when 'rfc822' then value.utc.httpdate
106
+ else
107
+ # xml defaults to iso8601
108
+ value.utc.iso8601
109
+ end
104
110
  end
105
111
 
106
112
  # The `args` list may contain: