aws-sdk-core 2.11.404 → 3.75.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1212) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core.rb +84 -562
  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 +0 -29
  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 +6 -99
  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 -1085
  137. data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -863
  138. data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
  139. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -28
  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 -872
  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 -2374
  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 -2285
  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 -2464
  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 -1387
  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 -4483
  211. data/apis/chime/2018-05-01/examples-1.json +0 -5
  212. data/apis/chime/2018-05-01/paginators-1.json +0 -59
  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 -3389
  223. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  224. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -57
  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 -257
  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 -1168
  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 -1295
  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 -5383
  297. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  298. data/apis/codecommit/2015-04-13/paginators-1.json +0 -64
  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 -5395
  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 -4340
  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 -2139
  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/connectparticipant/2018-09-07/api-2.json +0 -408
  338. data/apis/connectparticipant/2018-09-07/examples-1.json +0 -5
  339. data/apis/connectparticipant/2018-09-07/paginators-1.json +0 -9
  340. data/apis/cur/2017-01-06/api-2.json +0 -277
  341. data/apis/cur/2017-01-06/examples-1.json +0 -102
  342. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  343. data/apis/cur/2017-01-06/smoke.json +0 -11
  344. data/apis/dataexchange/2017-07-25/api-2.json +0 -2263
  345. data/apis/dataexchange/2017-07-25/paginators-1.json +0 -28
  346. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  347. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  348. data/apis/datasync/2018-11-09/api-2.json +0 -1354
  349. data/apis/datasync/2018-11-09/examples-1.json +0 -5
  350. data/apis/datasync/2018-11-09/paginators-1.json +0 -29
  351. data/apis/dax/2017-04-19/api-2.json +0 -1140
  352. data/apis/dax/2017-04-19/examples-1.json +0 -5
  353. data/apis/dax/2017-04-19/paginators-1.json +0 -4
  354. data/apis/devicefarm/2015-06-23/api-2.json +0 -3197
  355. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  356. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  357. data/apis/devicefarm/2015-06-23/smoke.json +0 -18
  358. data/apis/directconnect/2012-10-25/api-2.json +0 -2074
  359. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  360. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  361. data/apis/directconnect/2012-10-25/smoke.json +0 -18
  362. data/apis/discovery/2015-11-01/api-2.json +0 -1369
  363. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  364. data/apis/discovery/2015-11-01/paginators-1.json +0 -14
  365. data/apis/discovery/2015-11-01/smoke.json +0 -11
  366. data/apis/dlm/2018-01-12/api-2.json +0 -633
  367. data/apis/dlm/2018-01-12/examples-1.json +0 -5
  368. data/apis/dlm/2018-01-12/paginators-1.json +0 -4
  369. data/apis/dms/2016-01-01/api-2.json +0 -2296
  370. data/apis/dms/2016-01-01/examples-1.json +0 -1074
  371. data/apis/dms/2016-01-01/paginators-1.json +0 -79
  372. data/apis/dms/2016-01-01/smoke.json +0 -18
  373. data/apis/dms/2016-01-01/waiters-2.json +0 -336
  374. data/apis/docdb/2014-10-31/api-2.json +0 -2534
  375. data/apis/docdb/2014-10-31/examples-1.json +0 -5
  376. data/apis/docdb/2014-10-31/paginators-1.json +0 -43
  377. data/apis/docdb/2014-10-31/smoke.json +0 -18
  378. data/apis/docdb/2014-10-31/waiters-2.json +0 -90
  379. data/apis/ds/2015-04-16/api-2.json +0 -2634
  380. data/apis/ds/2015-04-16/examples-1.json +0 -5
  381. data/apis/ds/2015-04-16/paginators-1.json +0 -9
  382. data/apis/ds/2015-04-16/smoke.json +0 -20
  383. data/apis/dynamodb/2011-12-05/api-2.json +0 -818
  384. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  385. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  386. data/apis/dynamodb/2011-12-05/smoke.json +0 -20
  387. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  388. data/apis/dynamodb/2012-08-10/api-2.json +0 -3024
  389. data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
  390. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  391. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  392. data/apis/dynamodb/2012-08-10/smoke.json +0 -20
  393. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  394. data/apis/ec2-instance-connect/2018-04-02/api-2.json +0 -119
  395. data/apis/ec2-instance-connect/2018-04-02/examples-1.json +0 -34
  396. data/apis/ec2-instance-connect/2018-04-02/paginators-1.json +0 -4
  397. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  398. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  399. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  400. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  401. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  402. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  403. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  404. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  405. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  406. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  407. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  408. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  409. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  410. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  411. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  412. data/apis/ec2/2016-11-15/api-2.json +0 -26786
  413. data/apis/ec2/2016-11-15/examples-1.json +0 -5048
  414. data/apis/ec2/2016-11-15/paginators-1.json +0 -462
  415. data/apis/ec2/2016-11-15/resources-1.json +0 -2688
  416. data/apis/ec2/2016-11-15/smoke.json +0 -20
  417. data/apis/ec2/2016-11-15/waiters-2.json +0 -640
  418. data/apis/ecr/2015-09-21/api-2.json +0 -1615
  419. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  420. data/apis/ecr/2015-09-21/paginators-1.json +0 -48
  421. data/apis/ecr/2015-09-21/smoke.json +0 -18
  422. data/apis/ecs/2014-11-13/api-2.json +0 -2910
  423. data/apis/ecs/2014-11-13/examples-1.json +0 -1137
  424. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  425. data/apis/ecs/2014-11-13/smoke.json +0 -18
  426. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  427. data/apis/eks/2017-11-01/api-2.json +0 -1211
  428. data/apis/eks/2017-11-01/examples-1.json +0 -135
  429. data/apis/eks/2017-11-01/paginators-1.json +0 -22
  430. data/apis/eks/2017-11-01/waiters-2.json +0 -91
  431. data/apis/elasticache/2015-02-02/api-2.json +0 -3301
  432. data/apis/elasticache/2015-02-02/examples-1.json +0 -3149
  433. data/apis/elasticache/2015-02-02/paginators-1.json +0 -88
  434. data/apis/elasticache/2015-02-02/smoke.json +0 -18
  435. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  436. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2492
  437. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  438. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  439. data/apis/elasticbeanstalk/2010-12-01/smoke.json +0 -18
  440. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -897
  441. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -291
  442. data/apis/elasticfilesystem/2015-02-01/paginators-1.json +0 -4
  443. data/apis/elasticfilesystem/2015-02-01/smoke.json +0 -18
  444. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1642
  445. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  446. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  447. data/apis/elasticloadbalancing/2012-06-01/smoke.json +0 -20
  448. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -54
  449. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -2343
  450. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  451. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  452. data/apis/elasticloadbalancingv2/2015-12-01/smoke.json +0 -20
  453. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -100
  454. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2241
  455. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  456. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -42
  457. data/apis/elasticmapreduce/2009-03-31/smoke.json +0 -18
  458. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  459. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1484
  460. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  461. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  462. data/apis/elastictranscoder/2012-09-25/smoke.json +0 -18
  463. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  464. data/apis/email/2010-12-01/api-2.json +0 -3182
  465. data/apis/email/2010-12-01/examples-1.json +0 -1021
  466. data/apis/email/2010-12-01/paginators-1.json +0 -18
  467. data/apis/email/2010-12-01/smoke.json +0 -18
  468. data/apis/email/2010-12-01/waiters-2.json +0 -18
  469. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  470. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  471. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  472. data/apis/es/2015-01-01/api-2.json +0 -1572
  473. data/apis/es/2015-01-01/examples-1.json +0 -5
  474. data/apis/es/2015-01-01/paginators-1.json +0 -29
  475. data/apis/es/2015-01-01/smoke.json +0 -18
  476. data/apis/eventbridge/2015-10-07/api-2.json +0 -1462
  477. data/apis/eventbridge/2015-10-07/examples-1.json +0 -5
  478. data/apis/eventbridge/2015-10-07/paginators-1.json +0 -4
  479. data/apis/eventbridge/2015-10-07/smoke.json +0 -18
  480. data/apis/events/2015-10-07/api-2.json +0 -1462
  481. data/apis/events/2015-10-07/examples-1.json +0 -5
  482. data/apis/events/2015-10-07/paginators-1.json +0 -4
  483. data/apis/events/2015-10-07/smoke.json +0 -18
  484. data/apis/firehose/2015-08-04/api-2.json +0 -1445
  485. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  486. data/apis/firehose/2015-08-04/paginators-1.json +0 -4
  487. data/apis/firehose/2015-08-04/smoke.json +0 -18
  488. data/apis/fms/2018-01-01/api-2.json +0 -701
  489. data/apis/fms/2018-01-01/examples-1.json +0 -5
  490. data/apis/fms/2018-01-01/paginators-1.json +0 -22
  491. data/apis/forecast/2018-06-26/api-2.json +0 -1418
  492. data/apis/forecast/2018-06-26/examples-1.json +0 -5
  493. data/apis/forecast/2018-06-26/paginators-1.json +0 -40
  494. data/apis/forecastquery/2018-06-26/api-2.json +0 -154
  495. data/apis/forecastquery/2018-06-26/examples-1.json +0 -5
  496. data/apis/forecastquery/2018-06-26/paginators-1.json +0 -4
  497. data/apis/fsx/2018-03-01/api-2.json +0 -1063
  498. data/apis/fsx/2018-03-01/examples-1.json +0 -384
  499. data/apis/fsx/2018-03-01/paginators-1.json +0 -14
  500. data/apis/gamelift/2015-10-01/api-2.json +0 -3495
  501. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  502. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  503. data/apis/gamelift/2015-10-01/smoke.json +0 -18
  504. data/apis/glacier/2012-06-01/api-2.json +0 -1906
  505. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  506. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  507. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  508. data/apis/glacier/2012-06-01/smoke.json +0 -18
  509. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  510. data/apis/globalaccelerator/2018-08-08/api-2.json +0 -818
  511. data/apis/globalaccelerator/2018-08-08/examples-1.json +0 -5
  512. data/apis/globalaccelerator/2018-08-08/paginators-1.json +0 -4
  513. data/apis/glue/2017-03-31/api-2.json +0 -6302
  514. data/apis/glue/2017-03-31/examples-1.json +0 -5
  515. data/apis/glue/2017-03-31/paginators-1.json +0 -120
  516. data/apis/glue/2017-03-31/smoke.json +0 -11
  517. data/apis/greengrass/2017-06-07/api-2.json +0 -5106
  518. data/apis/groundstation/2019-05-23/api-2.json +0 -2059
  519. data/apis/groundstation/2019-05-23/examples-1.json +0 -4
  520. data/apis/groundstation/2019-05-23/paginators-1.json +0 -40
  521. data/apis/guardduty/2017-11-28/api-2.json +0 -3508
  522. data/apis/guardduty/2017-11-28/examples-1.json +0 -5
  523. data/apis/guardduty/2017-11-28/paginators-1.json +0 -51
  524. data/apis/health/2016-08-04/api-2.json +0 -554
  525. data/apis/health/2016-08-04/examples-1.json +0 -5
  526. data/apis/health/2016-08-04/paginators-1.json +0 -31
  527. data/apis/health/2016-08-04/smoke.json +0 -11
  528. data/apis/iam/2010-05-08/api-2.json +0 -5787
  529. data/apis/iam/2010-05-08/examples-1.json +0 -1577
  530. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  531. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  532. data/apis/iam/2010-05-08/smoke.json +0 -18
  533. data/apis/iam/2010-05-08/waiters-2.json +0 -73
  534. data/apis/importexport/2010-06-01/api-2.json +0 -667
  535. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  536. data/apis/inspector/2016-02-16/api-2.json +0 -2387
  537. data/apis/inspector/2016-02-16/examples-1.json +0 -1148
  538. data/apis/inspector/2016-02-16/paginators-1.json +0 -54
  539. data/apis/inspector/2016-02-16/smoke.json +0 -18
  540. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  541. data/apis/iot-jobs-data/2017-09-29/api-2.json +0 -348
  542. data/apis/iot-jobs-data/2017-09-29/examples-1.json +0 -5
  543. data/apis/iot-jobs-data/2017-09-29/paginators-1.json +0 -4
  544. data/apis/iot/2015-05-28/api-2.json +0 -10148
  545. data/apis/iot/2015-05-28/examples-1.json +0 -5
  546. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  547. data/apis/iot/2015-05-28/smoke.json +0 -18
  548. data/apis/iot1click-devices/2018-05-14/api-2.json +0 -902
  549. data/apis/iot1click-projects/2018-05-14/api-2.json +0 -883
  550. data/apis/iot1click-projects/2018-05-14/examples-1.json +0 -5
  551. data/apis/iot1click-projects/2018-05-14/paginators-1.json +0 -16
  552. data/apis/iotanalytics/2017-11-27/api-2.json +0 -2223
  553. data/apis/iotanalytics/2017-11-27/examples-1.json +0 -5
  554. data/apis/iotanalytics/2017-11-27/paginators-1.json +0 -29
  555. data/apis/iotevents-data/2018-10-23/api-2.json +0 -454
  556. data/apis/iotevents-data/2018-10-23/examples-1.json +0 -5
  557. data/apis/iotevents-data/2018-10-23/paginators-1.json +0 -4
  558. data/apis/iotevents/2018-07-27/api-2.json +0 -1144
  559. data/apis/iotevents/2018-07-27/examples-1.json +0 -5
  560. data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
  561. data/apis/iotthingsgraph/2018-09-06/api-2.json +0 -1581
  562. data/apis/iotthingsgraph/2018-09-06/examples-1.json +0 -5
  563. data/apis/iotthingsgraph/2018-09-06/paginators-1.json +0 -64
  564. data/apis/kafka/2018-11-14/api-2.json +0 -1950
  565. data/apis/kafka/2018-11-14/paginators-1.json +0 -34
  566. data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -418
  567. data/apis/kinesis-video-archived-media/2017-09-30/examples-1.json +0 -5
  568. data/apis/kinesis-video-archived-media/2017-09-30/paginators-1.json +0 -10
  569. data/apis/kinesis-video-media/2017-09-30/api-2.json +0 -160
  570. data/apis/kinesis-video-media/2017-09-30/examples-1.json +0 -5
  571. data/apis/kinesis-video-media/2017-09-30/paginators-1.json +0 -4
  572. data/apis/kinesis/2013-12-02/api-2.json +0 -1409
  573. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  574. data/apis/kinesis/2013-12-02/paginators-1.json +0 -23
  575. data/apis/kinesis/2013-12-02/smoke.json +0 -18
  576. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  577. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1510
  578. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  579. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  580. data/apis/kinesisanalyticsv2/2018-05-23/api-2.json +0 -2121
  581. data/apis/kinesisanalyticsv2/2018-05-23/examples-1.json +0 -5
  582. data/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +0 -4
  583. data/apis/kinesisvideo/2017-09-30/api-2.json +0 -553
  584. data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
  585. data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
  586. data/apis/kms/2014-11-01/api-2.json +0 -1834
  587. data/apis/kms/2014-11-01/examples-1.json +0 -906
  588. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  589. data/apis/kms/2014-11-01/smoke.json +0 -19
  590. data/apis/lakeformation/2017-03-31/api-2.json +0 -708
  591. data/apis/lakeformation/2017-03-31/examples-1.json +0 -5
  592. data/apis/lakeformation/2017-03-31/paginators-1.json +0 -19
  593. data/apis/lambda/2014-11-11/api-2.json +0 -668
  594. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  595. data/apis/lambda/2015-03-31/api-2.json +0 -2356
  596. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  597. data/apis/lambda/2015-03-31/paginators-1.json +0 -40
  598. data/apis/lambda/2015-03-31/smoke.json +0 -18
  599. data/apis/lambda/2015-03-31/waiters-2.json +0 -22
  600. data/apis/lex-models/2017-04-19/api-2.json +0 -2265
  601. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  602. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  603. data/apis/license-manager/2018-08-01/api-2.json +0 -780
  604. data/apis/license-manager/2018-08-01/examples-1.json +0 -5
  605. data/apis/license-manager/2018-08-01/paginators-1.json +0 -4
  606. data/apis/lightsail/2016-11-28/api-2.json +0 -5015
  607. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  608. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  609. data/apis/lightsail/2016-11-28/smoke.json +0 -11
  610. data/apis/logs/2014-03-28/api-2.json +0 -1701
  611. data/apis/logs/2014-03-28/examples-1.json +0 -5
  612. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  613. data/apis/logs/2014-03-28/smoke.json +0 -19
  614. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  615. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  616. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  617. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  618. data/apis/macie/2017-12-19/api-2.json +0 -365
  619. data/apis/macie/2017-12-19/examples-1.json +0 -5
  620. data/apis/macie/2017-12-19/paginators-1.json +0 -14
  621. data/apis/managedblockchain/2018-09-24/api-2.json +0 -1363
  622. data/apis/managedblockchain/2018-09-24/examples-1.json +0 -5
  623. data/apis/managedblockchain/2018-09-24/paginators-1.json +0 -34
  624. data/apis/marketplace-catalog/2018-09-17/api-2.json +0 -550
  625. data/apis/marketplace-catalog/2018-09-17/examples-1.json +0 -5
  626. data/apis/marketplace-catalog/2018-09-17/paginators-1.json +0 -14
  627. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -176
  628. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  629. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  630. data/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +0 -17
  631. data/apis/mediaconnect/2018-11-14/api-2.json +0 -1901
  632. data/apis/mediaconnect/2018-11-14/paginators-1.json +0 -16
  633. data/apis/mediaconvert/2017-08-29/api-2.json +0 -8559
  634. data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
  635. data/apis/medialive/2017-10-14/api-2.json +0 -9023
  636. data/apis/medialive/2017-10-14/paginators-1.json +0 -40
  637. data/apis/medialive/2017-10-14/waiters-2.json +0 -111
  638. data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1514
  639. data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
  640. data/apis/mediapackage/2017-10-12/api-2.json +0 -2467
  641. data/apis/mediapackage/2017-10-12/paginators-1.json +0 -22
  642. data/apis/mediastore-data/2017-09-01/api-2.json +0 -406
  643. data/apis/mediastore-data/2017-09-01/examples-1.json +0 -5
  644. data/apis/mediastore-data/2017-09-01/paginators-1.json +0 -9
  645. data/apis/mediastore/2017-09-01/api-2.json +0 -737
  646. data/apis/mediastore/2017-09-01/examples-1.json +0 -5
  647. data/apis/mediastore/2017-09-01/paginators-1.json +0 -9
  648. data/apis/mediatailor/2018-04-23/api-2.json +0 -524
  649. data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
  650. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -345
  651. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  652. data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
  653. data/apis/migrationhub-config/2019-06-30/api-2.json +0 -207
  654. data/apis/migrationhub-config/2019-06-30/examples-1.json +0 -5
  655. data/apis/migrationhub-config/2019-06-30/paginators-1.json +0 -9
  656. data/apis/mobile/2017-07-01/api-2.json +0 -551
  657. data/apis/mobile/2017-07-01/examples-1.json +0 -5
  658. data/apis/mobile/2017-07-01/paginators-1.json +0 -14
  659. data/apis/monitoring/2010-08-01/api-2.json +0 -1526
  660. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  661. data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
  662. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  663. data/apis/monitoring/2010-08-01/smoke.json +0 -22
  664. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  665. data/apis/mq/2017-11-27/api-2.json +0 -2538
  666. data/apis/mq/2017-11-27/paginators-1.json +0 -3
  667. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1696
  668. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  669. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  670. data/apis/neptune/2014-10-31/api-2.json +0 -3515
  671. data/apis/neptune/2014-10-31/examples-1.json +0 -5
  672. data/apis/neptune/2014-10-31/paginators-1.json +0 -61
  673. data/apis/neptune/2014-10-31/smoke.json +0 -18
  674. data/apis/neptune/2014-10-31/waiters-2.json +0 -90
  675. data/apis/opsworks/2013-02-18/api-2.json +0 -2885
  676. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  677. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  678. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  679. data/apis/opsworks/2013-02-18/smoke.json +0 -18
  680. data/apis/opsworks/2013-02-18/waiters-2.json +0 -289
  681. data/apis/opsworkscm/2016-11-01/api-2.json +0 -817
  682. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  683. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  684. data/apis/opsworkscm/2016-11-01/waiters-2.json +0 -25
  685. data/apis/organizations/2016-11-28/api-2.json +0 -2317
  686. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  687. data/apis/organizations/2016-11-28/paginators-1.json +0 -74
  688. data/apis/personalize-events/2018-03-22/api-2.json +0 -91
  689. data/apis/personalize-events/2018-03-22/examples-1.json +0 -5
  690. data/apis/personalize-events/2018-03-22/paginators-1.json +0 -4
  691. data/apis/personalize-runtime/2018-05-22/api-2.json +0 -129
  692. data/apis/personalize-runtime/2018-05-22/examples-1.json +0 -5
  693. data/apis/personalize-runtime/2018-05-22/paginators-1.json +0 -4
  694. data/apis/personalize/2018-05-22/api-2.json +0 -1863
  695. data/apis/personalize/2018-05-22/examples-1.json +0 -5
  696. data/apis/personalize/2018-05-22/paginators-1.json +0 -64
  697. data/apis/pi/2018-02-27/api-2.json +0 -253
  698. data/apis/pi/2018-02-27/examples-1.json +0 -5
  699. data/apis/pi/2018-02-27/paginators-1.json +0 -4
  700. data/apis/pinpoint-email/2018-07-26/api-2.json +0 -2093
  701. data/apis/pinpoint-email/2018-07-26/examples-1.json +0 -5
  702. data/apis/pinpoint-email/2018-07-26/paginators-1.json +0 -34
  703. data/apis/pinpoint/2016-12-01/api-2.json +0 -11189
  704. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  705. data/apis/polly/2016-06-10/api-2.json +0 -832
  706. data/apis/polly/2016-06-10/examples-1.json +0 -171
  707. data/apis/polly/2016-06-10/paginators-1.json +0 -9
  708. data/apis/polly/2016-06-10/smoke.json +0 -11
  709. data/apis/pricing/2017-10-15/api-2.json +0 -227
  710. data/apis/pricing/2017-10-15/examples-1.json +0 -103
  711. data/apis/pricing/2017-10-15/paginators-1.json +0 -19
  712. data/apis/qldb-session/2019-07-11/api-2.json +0 -259
  713. data/apis/qldb-session/2019-07-11/examples-1.json +0 -5
  714. data/apis/qldb-session/2019-07-11/paginators-1.json +0 -4
  715. data/apis/qldb/2019-01-02/api-2.json +0 -776
  716. data/apis/qldb/2019-01-02/examples-1.json +0 -5
  717. data/apis/qldb/2019-01-02/paginators-1.json +0 -19
  718. data/apis/quicksight/2018-04-01/api-2.json +0 -5482
  719. data/apis/quicksight/2018-04-01/examples-1.json +0 -5
  720. data/apis/quicksight/2018-04-01/paginators-1.json +0 -44
  721. data/apis/ram/2018-01-04/api-2.json +0 -1021
  722. data/apis/ram/2018-01-04/examples-1.json +0 -5
  723. data/apis/ram/2018-01-04/paginators-1.json +0 -39
  724. data/apis/rds-data/2018-08-01/api-2.json +0 -540
  725. data/apis/rds-data/2018-08-01/examples-1.json +0 -5
  726. data/apis/rds-data/2018-08-01/paginators-1.json +0 -4
  727. data/apis/rds/2013-01-10/api-2.json +0 -2903
  728. data/apis/rds/2013-01-10/examples-1.json +0 -5
  729. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  730. data/apis/rds/2013-01-10/smoke.json +0 -18
  731. data/apis/rds/2013-02-12/api-2.json +0 -3059
  732. data/apis/rds/2013-02-12/examples-1.json +0 -5
  733. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  734. data/apis/rds/2013-02-12/smoke.json +0 -18
  735. data/apis/rds/2013-09-09/api-2.json +0 -3160
  736. data/apis/rds/2013-09-09/examples-1.json +0 -5
  737. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  738. data/apis/rds/2013-09-09/smoke.json +0 -18
  739. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  740. data/apis/rds/2014-09-01/api-2.json +0 -3273
  741. data/apis/rds/2014-09-01/examples-1.json +0 -5
  742. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  743. data/apis/rds/2014-09-01/smoke.json +0 -18
  744. data/apis/rds/2014-10-31/api-2.json +0 -6880
  745. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  746. data/apis/rds/2014-10-31/paginators-1.json +0 -140
  747. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  748. data/apis/rds/2014-10-31/smoke.json +0 -18
  749. data/apis/rds/2014-10-31/waiters-2.json +0 -260
  750. data/apis/rds/2015-11-12/api-2.json +0 -5509
  751. data/apis/rds/2015-11-12/examples-1.json +0 -1951
  752. data/apis/rds/2015-11-12/paginators-1.json +0 -110
  753. data/apis/rds/2015-11-12/resources-1.json +0 -3272
  754. data/apis/rds/2015-11-12/waiters-2.json +0 -175
  755. data/apis/redshift/2012-12-01/api-2.json +0 -4995
  756. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  757. data/apis/redshift/2012-12-01/paginators-1.json +0 -100
  758. data/apis/redshift/2012-12-01/smoke.json +0 -18
  759. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  760. data/apis/rekognition/2016-06-27/api-2.json +0 -2148
  761. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  762. data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
  763. data/apis/rekognition/2016-06-27/smoke.json +0 -11
  764. data/apis/resource-groups/2017-11-27/api-2.json +0 -743
  765. data/apis/resource-groups/2017-11-27/examples-1.json +0 -5
  766. data/apis/resource-groups/2017-11-27/paginators-1.json +0 -19
  767. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -329
  768. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  769. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  770. data/apis/robomaker/2018-06-29/api-2.json +0 -2160
  771. data/apis/robomaker/2018-06-29/examples-1.json +0 -5
  772. data/apis/robomaker/2018-06-29/paginators-1.json +0 -34
  773. data/apis/route53/2013-04-01/api-2.json +0 -3780
  774. data/apis/route53/2013-04-01/examples-1.json +0 -762
  775. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  776. data/apis/route53/2013-04-01/smoke.json +0 -18
  777. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  778. data/apis/route53domains/2014-05-15/api-2.json +0 -1382
  779. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  780. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  781. data/apis/route53resolver/2018-04-01/api-2.json +0 -1199
  782. data/apis/route53resolver/2018-04-01/examples-1.json +0 -5
  783. data/apis/route53resolver/2018-04-01/paginators-1.json +0 -24
  784. data/apis/route53resolver/2018-04-01/smoke.json +0 -18
  785. data/apis/runtime.lex/2016-11-28/api-2.json +0 -708
  786. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  787. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  788. data/apis/runtime.sagemaker/2017-05-13/api-2.json +0 -165
  789. data/apis/runtime.sagemaker/2017-05-13/examples-1.json +0 -5
  790. data/apis/runtime.sagemaker/2017-05-13/paginators-1.json +0 -4
  791. data/apis/s3/2006-03-01/api-2.json +0 -6653
  792. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  793. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  794. data/apis/s3/2006-03-01/resources-1.json +0 -1249
  795. data/apis/s3/2006-03-01/smoke.json +0 -11
  796. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  797. data/apis/s3control/2018-08-20/api-2.json +0 -1044
  798. data/apis/s3control/2018-08-20/examples-1.json +0 -5
  799. data/apis/s3control/2018-08-20/paginators-1.json +0 -9
  800. data/apis/sagemaker/2017-07-24/api-2.json +0 -5289
  801. data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
  802. data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
  803. data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
  804. data/apis/savingsplans/2019-06-28/api-2.json +0 -749
  805. data/apis/savingsplans/2019-06-28/examples-1.json +0 -5
  806. data/apis/savingsplans/2019-06-28/paginators-1.json +0 -4
  807. data/apis/sdb/2009-04-15/api-2.json +0 -955
  808. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  809. data/apis/secretsmanager/2017-10-17/api-2.json +0 -982
  810. data/apis/secretsmanager/2017-10-17/examples-1.json +0 -571
  811. data/apis/secretsmanager/2017-10-17/paginators-1.json +0 -14
  812. data/apis/secretsmanager/2017-10-17/smoke.json +0 -18
  813. data/apis/securityhub/2018-10-26/api-2.json +0 -2105
  814. data/apis/securityhub/2018-10-26/examples-1.json +0 -5
  815. data/apis/securityhub/2018-10-26/paginators-1.json +0 -29
  816. data/apis/serverlessrepo/2017-09-08/api-2.json +0 -1774
  817. data/apis/serverlessrepo/2017-09-08/paginators-1.json +0 -19
  818. data/apis/service-quotas/2019-06-24/api-2.json +0 -867
  819. data/apis/service-quotas/2019-06-24/examples-1.json +0 -5
  820. data/apis/service-quotas/2019-06-24/paginators-1.json +0 -40
  821. data/apis/servicecatalog/2015-12-10/api-2.json +0 -3977
  822. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  823. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -84
  824. data/apis/servicecatalog/2015-12-10/smoke.json +0 -11
  825. data/apis/servicediscovery/2017-03-14/api-2.json +0 -1156
  826. data/apis/servicediscovery/2017-03-14/examples-1.json +0 -5
  827. data/apis/servicediscovery/2017-03-14/paginators-1.json +0 -29
  828. data/apis/sesv2/2019-09-27/api-2.json +0 -2093
  829. data/apis/sesv2/2019-09-27/examples-1.json +0 -5
  830. data/apis/sesv2/2019-09-27/paginators-1.json +0 -34
  831. data/apis/shield/2016-06-02/api-2.json +0 -893
  832. data/apis/shield/2016-06-02/examples-1.json +0 -5
  833. data/apis/shield/2016-06-02/paginators-1.json +0 -4
  834. data/apis/shield/2016-06-02/smoke.json +0 -11
  835. data/apis/signer/2017-08-25/api-2.json +0 -817
  836. data/apis/signer/2017-08-25/examples-1.json +0 -5
  837. data/apis/signer/2017-08-25/paginators-1.json +0 -19
  838. data/apis/signer/2017-08-25/waiters-2.json +0 -29
  839. data/apis/sms-voice/2018-09-05/api-2.json +0 -630
  840. data/apis/sms/2016-10-24/api-2.json +0 -1366
  841. data/apis/sms/2016-10-24/examples-1.json +0 -5
  842. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  843. data/apis/sms/2016-10-24/smoke.json +0 -18
  844. data/apis/snowball/2016-06-30/api-2.json +0 -955
  845. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  846. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  847. data/apis/snowball/2016-06-30/smoke.json +0 -11
  848. data/apis/sns/2010-03-31/api-2.json +0 -1468
  849. data/apis/sns/2010-03-31/examples-1.json +0 -5
  850. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  851. data/apis/sns/2010-03-31/resources-1.json +0 -327
  852. data/apis/sns/2010-03-31/smoke.json +0 -19
  853. data/apis/sqs/2012-11-05/api-2.json +0 -1128
  854. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  855. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  856. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  857. data/apis/sqs/2012-11-05/smoke.json +0 -18
  858. data/apis/ssm/2014-11-06/api-2.json +0 -9111
  859. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  860. data/apis/ssm/2014-11-06/paginators-1.json +0 -55
  861. data/apis/ssm/2014-11-06/smoke.json +0 -18
  862. data/apis/sso-oidc/2019-06-10/api-2.json +0 -283
  863. data/apis/sso-oidc/2019-06-10/examples-1.json +0 -5
  864. data/apis/sso-oidc/2019-06-10/paginators-1.json +0 -4
  865. data/apis/sso/2019-06-10/api-2.json +0 -281
  866. data/apis/sso/2019-06-10/examples-1.json +0 -5
  867. data/apis/sso/2019-06-10/paginators-1.json +0 -16
  868. data/apis/states/2016-11-23/api-2.json +0 -1409
  869. data/apis/states/2016-11-23/examples-1.json +0 -5
  870. data/apis/states/2016-11-23/paginators-1.json +0 -28
  871. data/apis/states/2016-11-23/smoke.json +0 -11
  872. data/apis/storagegateway/2013-06-30/api-2.json +0 -3259
  873. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  874. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -76
  875. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  876. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  877. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  878. data/apis/sts/2011-06-15/api-2.json +0 -598
  879. data/apis/sts/2011-06-15/examples-1.json +0 -234
  880. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  881. data/apis/sts/2011-06-15/smoke.json +0 -19
  882. data/apis/support/2013-04-15/api-2.json +0 -773
  883. data/apis/support/2013-04-15/examples-1.json +0 -5
  884. data/apis/support/2013-04-15/paginators-1.json +0 -25
  885. data/apis/support/2013-04-15/smoke.json +0 -22
  886. data/apis/swf/2012-01-25/api-2.json +0 -2792
  887. data/apis/swf/2012-01-25/examples-1.json +0 -5
  888. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  889. data/apis/textract/2018-06-27/api-2.json +0 -572
  890. data/apis/textract/2018-06-27/examples-1.json +0 -5
  891. data/apis/textract/2018-06-27/paginators-1.json +0 -4
  892. data/apis/transcribe-streaming/2017-10-26/api-2.json +0 -262
  893. data/apis/transcribe-streaming/2017-10-26/examples-1.json +0 -5
  894. data/apis/transcribe-streaming/2017-10-26/paginators-1.json +0 -4
  895. data/apis/transcribe/2017-10-26/api-2.json +0 -538
  896. data/apis/transcribe/2017-10-26/examples-1.json +0 -5
  897. data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
  898. data/apis/transfer/2018-11-05/api-2.json +0 -940
  899. data/apis/transfer/2018-11-05/examples-1.json +0 -5
  900. data/apis/transfer/2018-11-05/paginators-1.json +0 -19
  901. data/apis/translate/2017-07-01/api-2.json +0 -408
  902. data/apis/translate/2017-07-01/examples-1.json +0 -5
  903. data/apis/translate/2017-07-01/paginators-1.json +0 -4
  904. data/apis/waf-regional/2016-11-28/api-2.json +0 -3992
  905. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  906. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  907. data/apis/waf-regional/2016-11-28/smoke.json +0 -21
  908. data/apis/waf/2015-08-24/api-2.json +0 -3857
  909. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  910. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  911. data/apis/waf/2015-08-24/smoke.json +0 -21
  912. data/apis/workdocs/2016-05-01/api-2.json +0 -2899
  913. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  914. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  915. data/apis/worklink/2018-09-25/api-2.json +0 -1266
  916. data/apis/worklink/2018-09-25/examples-1.json +0 -5
  917. data/apis/worklink/2018-09-25/paginators-1.json +0 -29
  918. data/apis/workmail/2017-10-01/api-2.json +0 -1560
  919. data/apis/workmail/2017-10-01/examples-1.json +0 -5
  920. data/apis/workmail/2017-10-01/paginators-1.json +0 -44
  921. data/apis/workmailmessageflow/2019-05-01/api-2.json +0 -67
  922. data/apis/workmailmessageflow/2019-05-01/examples-1.json +0 -5
  923. data/apis/workmailmessageflow/2019-05-01/paginators-1.json +0 -4
  924. data/apis/workspaces/2015-04-08/api-2.json +0 -1992
  925. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  926. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  927. data/apis/workspaces/2015-04-08/smoke.json +0 -18
  928. data/apis/xray/2016-04-12/api-2.json +0 -1352
  929. data/apis/xray/2016-04-12/examples-1.json +0 -5
  930. data/apis/xray/2016-04-12/paginators-1.json +0 -59
  931. data/bin/aws.rb +0 -180
  932. data/endpoints.json +0 -5642
  933. data/lib/aws-sdk-core/acm.rb +0 -7
  934. data/lib/aws-sdk-core/acmpca.rb +0 -7
  935. data/lib/aws-sdk-core/alexaforbusiness.rb +0 -6
  936. data/lib/aws-sdk-core/amplify.rb +0 -6
  937. data/lib/aws-sdk-core/api/builder.rb +0 -129
  938. data/lib/aws-sdk-core/api/customizations.rb +0 -303
  939. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  940. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  941. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  942. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  943. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  944. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  945. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  946. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  947. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  948. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  949. data/lib/aws-sdk-core/api/shape_map.rb +0 -146
  950. data/lib/aws-sdk-core/apigateway.rb +0 -6
  951. data/lib/aws-sdk-core/apigatewaymanagementapi.rb +0 -5
  952. data/lib/aws-sdk-core/apigatewayv2.rb +0 -5
  953. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  954. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  955. data/lib/aws-sdk-core/applicationinsights.rb +0 -6
  956. data/lib/aws-sdk-core/appmesh.rb +0 -6
  957. data/lib/aws-sdk-core/appstream.rb +0 -7
  958. data/lib/aws-sdk-core/appsync.rb +0 -6
  959. data/lib/aws-sdk-core/athena.rb +0 -6
  960. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  961. data/lib/aws-sdk-core/autoscalingplans.rb +0 -6
  962. data/lib/aws-sdk-core/backup.rb +0 -6
  963. data/lib/aws-sdk-core/batch.rb +0 -6
  964. data/lib/aws-sdk-core/budgets.rb +0 -6
  965. data/lib/aws-sdk-core/checksums.rb +0 -51
  966. data/lib/aws-sdk-core/chime.rb +0 -6
  967. data/lib/aws-sdk-core/client.rb +0 -62
  968. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  969. data/lib/aws-sdk-core/cloud9.rb +0 -6
  970. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  971. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  972. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  973. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  974. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  975. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  976. data/lib/aws-sdk-core/cloudhsm.rb +0 -6
  977. data/lib/aws-sdk-core/cloudhsmv2.rb +0 -6
  978. data/lib/aws-sdk-core/cloudsearch.rb +0 -6
  979. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  980. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  981. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  982. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  983. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  984. data/lib/aws-sdk-core/codebuild.rb +0 -6
  985. data/lib/aws-sdk-core/codecommit.rb +0 -6
  986. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  987. data/lib/aws-sdk-core/codepipeline.rb +0 -6
  988. data/lib/aws-sdk-core/codestar.rb +0 -6
  989. data/lib/aws-sdk-core/codestarnotifications.rb +0 -6
  990. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  991. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  992. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  993. data/lib/aws-sdk-core/comprehend.rb +0 -6
  994. data/lib/aws-sdk-core/comprehendmedical.rb +0 -6
  995. data/lib/aws-sdk-core/configservice.rb +0 -6
  996. data/lib/aws-sdk-core/connect.rb +0 -6
  997. data/lib/aws-sdk-core/connectparticipant.rb +0 -6
  998. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  999. data/lib/aws-sdk-core/costexplorer.rb +0 -6
  1000. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -7
  1001. data/lib/aws-sdk-core/dataexchange.rb +0 -5
  1002. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  1003. data/lib/aws-sdk-core/datasync.rb +0 -6
  1004. data/lib/aws-sdk-core/dax.rb +0 -6
  1005. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  1006. data/lib/aws-sdk-core/directconnect.rb +0 -6
  1007. data/lib/aws-sdk-core/directoryservice.rb +0 -6
  1008. data/lib/aws-sdk-core/dlm.rb +0 -6
  1009. data/lib/aws-sdk-core/docdb.rb +0 -7
  1010. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  1011. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  1012. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  1013. data/lib/aws-sdk-core/ec2.rb +0 -8
  1014. data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
  1015. data/lib/aws-sdk-core/ecr.rb +0 -6
  1016. data/lib/aws-sdk-core/ecs.rb +0 -7
  1017. data/lib/aws-sdk-core/efs.rb +0 -6
  1018. data/lib/aws-sdk-core/eks.rb +0 -7
  1019. data/lib/aws-sdk-core/elasticache.rb +0 -7
  1020. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  1021. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  1022. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  1023. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  1024. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  1025. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  1026. data/lib/aws-sdk-core/emr.rb +0 -7
  1027. data/lib/aws-sdk-core/endpoint_provider.rb +0 -131
  1028. data/lib/aws-sdk-core/eventbridge.rb +0 -6
  1029. data/lib/aws-sdk-core/firehose.rb +0 -6
  1030. data/lib/aws-sdk-core/fms.rb +0 -6
  1031. data/lib/aws-sdk-core/forecastqueryservice.rb +0 -6
  1032. data/lib/aws-sdk-core/forecastservice.rb +0 -6
  1033. data/lib/aws-sdk-core/fsx.rb +0 -6
  1034. data/lib/aws-sdk-core/gamelift.rb +0 -6
  1035. data/lib/aws-sdk-core/glacier.rb +0 -8
  1036. data/lib/aws-sdk-core/globalaccelerator.rb +0 -6
  1037. data/lib/aws-sdk-core/glue.rb +0 -6
  1038. data/lib/aws-sdk-core/greengrass.rb +0 -4
  1039. data/lib/aws-sdk-core/groundstation.rb +0 -6
  1040. data/lib/aws-sdk-core/guardduty.rb +0 -6
  1041. data/lib/aws-sdk-core/health.rb +0 -6
  1042. data/lib/aws-sdk-core/iam.rb +0 -8
  1043. data/lib/aws-sdk-core/importexport.rb +0 -5
  1044. data/lib/aws-sdk-core/inspector.rb +0 -6
  1045. data/lib/aws-sdk-core/iot.rb +0 -6
  1046. data/lib/aws-sdk-core/iot1clickdevicesservice.rb +0 -4
  1047. data/lib/aws-sdk-core/iot1clickprojects.rb +0 -6
  1048. data/lib/aws-sdk-core/iotanalytics.rb +0 -6
  1049. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  1050. data/lib/aws-sdk-core/iotevents.rb +0 -6
  1051. data/lib/aws-sdk-core/ioteventsdata.rb +0 -6
  1052. data/lib/aws-sdk-core/iotjobsdataplane.rb +0 -6
  1053. data/lib/aws-sdk-core/iotthingsgraph.rb +0 -6
  1054. data/lib/aws-sdk-core/kafka.rb +0 -5
  1055. data/lib/aws-sdk-core/kinesis.rb +0 -7
  1056. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  1057. data/lib/aws-sdk-core/kinesisanalyticsv2.rb +0 -6
  1058. data/lib/aws-sdk-core/kinesisvideo.rb +0 -6
  1059. data/lib/aws-sdk-core/kinesisvideoarchivedmedia.rb +0 -6
  1060. data/lib/aws-sdk-core/kinesisvideomedia.rb +0 -6
  1061. data/lib/aws-sdk-core/kms.rb +0 -6
  1062. data/lib/aws-sdk-core/lakeformation.rb +0 -6
  1063. data/lib/aws-sdk-core/lambda.rb +0 -7
  1064. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  1065. data/lib/aws-sdk-core/lex.rb +0 -6
  1066. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  1067. data/lib/aws-sdk-core/licensemanager.rb +0 -6
  1068. data/lib/aws-sdk-core/lightsail.rb +0 -6
  1069. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  1070. data/lib/aws-sdk-core/macie.rb +0 -6
  1071. data/lib/aws-sdk-core/managedblockchain.rb +0 -6
  1072. data/lib/aws-sdk-core/marketplacecatalog.rb +0 -6
  1073. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  1074. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  1075. data/lib/aws-sdk-core/marketplacemetering.rb +0 -6
  1076. data/lib/aws-sdk-core/mediaconnect.rb +0 -5
  1077. data/lib/aws-sdk-core/mediaconvert.rb +0 -5
  1078. data/lib/aws-sdk-core/medialive.rb +0 -6
  1079. data/lib/aws-sdk-core/mediapackage.rb +0 -5
  1080. data/lib/aws-sdk-core/mediapackagevod.rb +0 -5
  1081. data/lib/aws-sdk-core/mediastore.rb +0 -6
  1082. data/lib/aws-sdk-core/mediastoredata.rb +0 -6
  1083. data/lib/aws-sdk-core/mediatailor.rb +0 -5
  1084. data/lib/aws-sdk-core/migrationhub.rb +0 -6
  1085. data/lib/aws-sdk-core/migrationhubconfig.rb +0 -6
  1086. data/lib/aws-sdk-core/mobile.rb +0 -6
  1087. data/lib/aws-sdk-core/mq.rb +0 -5
  1088. data/lib/aws-sdk-core/mturk.rb +0 -6
  1089. data/lib/aws-sdk-core/neptune.rb +0 -7
  1090. data/lib/aws-sdk-core/opsworks.rb +0 -8
  1091. data/lib/aws-sdk-core/opsworkscm.rb +0 -7
  1092. data/lib/aws-sdk-core/organizations.rb +0 -6
  1093. data/lib/aws-sdk-core/partitions.rb +0 -174
  1094. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  1095. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  1096. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  1097. data/lib/aws-sdk-core/partitions/service.rb +0 -75
  1098. data/lib/aws-sdk-core/personalize.rb +0 -6
  1099. data/lib/aws-sdk-core/personalizeevents.rb +0 -6
  1100. data/lib/aws-sdk-core/personalizeruntime.rb +0 -6
  1101. data/lib/aws-sdk-core/pi.rb +0 -6
  1102. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  1103. data/lib/aws-sdk-core/pinpointemail.rb +0 -6
  1104. data/lib/aws-sdk-core/pinpointsmsvoice.rb +0 -4
  1105. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  1106. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  1107. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  1108. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  1109. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  1110. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  1111. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  1112. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  1113. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  1114. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  1115. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  1116. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  1117. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  1118. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  1119. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  1120. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  1121. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  1122. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  1123. data/lib/aws-sdk-core/plugins/s3_control_dns.rb +0 -25
  1124. data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +0 -48
  1125. data/lib/aws-sdk-core/plugins/s3_control_signer.rb +0 -53
  1126. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  1127. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  1128. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  1129. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  1130. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  1131. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  1132. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  1133. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  1134. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  1135. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  1136. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  1137. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -164
  1138. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  1139. data/lib/aws-sdk-core/plugins/sts_regional_endpoints.rb +0 -30
  1140. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  1141. data/lib/aws-sdk-core/polly.rb +0 -14
  1142. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  1143. data/lib/aws-sdk-core/pricing.rb +0 -6
  1144. data/lib/aws-sdk-core/qldb.rb +0 -6
  1145. data/lib/aws-sdk-core/qldbsession.rb +0 -6
  1146. data/lib/aws-sdk-core/quicksight.rb +0 -6
  1147. data/lib/aws-sdk-core/ram.rb +0 -6
  1148. data/lib/aws-sdk-core/rds.rb +0 -16
  1149. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  1150. data/lib/aws-sdk-core/rdsdataservice.rb +0 -6
  1151. data/lib/aws-sdk-core/redshift.rb +0 -7
  1152. data/lib/aws-sdk-core/rekognition.rb +0 -6
  1153. data/lib/aws-sdk-core/resourcegroups.rb +0 -6
  1154. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  1155. data/lib/aws-sdk-core/robomaker.rb +0 -6
  1156. data/lib/aws-sdk-core/route53.rb +0 -7
  1157. data/lib/aws-sdk-core/route53domains.rb +0 -6
  1158. data/lib/aws-sdk-core/route53resolver.rb +0 -6
  1159. data/lib/aws-sdk-core/s3.rb +0 -26
  1160. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  1161. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  1162. data/lib/aws-sdk-core/s3control.rb +0 -6
  1163. data/lib/aws-sdk-core/sagemaker.rb +0 -7
  1164. data/lib/aws-sdk-core/sagemakerruntime.rb +0 -6
  1165. data/lib/aws-sdk-core/savingsplans.rb +0 -6
  1166. data/lib/aws-sdk-core/secretsmanager.rb +0 -6
  1167. data/lib/aws-sdk-core/securityhub.rb +0 -6
  1168. data/lib/aws-sdk-core/serverlessapplicationrepository.rb +0 -5
  1169. data/lib/aws-sdk-core/service.rb +0 -4
  1170. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  1171. data/lib/aws-sdk-core/servicediscovery.rb +0 -6
  1172. data/lib/aws-sdk-core/servicequotas.rb +0 -6
  1173. data/lib/aws-sdk-core/ses.rb +0 -7
  1174. data/lib/aws-sdk-core/sesv2.rb +0 -6
  1175. data/lib/aws-sdk-core/shield.rb +0 -6
  1176. data/lib/aws-sdk-core/signer.rb +0 -7
  1177. data/lib/aws-sdk-core/signers/base.rb +0 -31
  1178. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  1179. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  1180. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  1181. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  1182. data/lib/aws-sdk-core/simpledb.rb +0 -5
  1183. data/lib/aws-sdk-core/sms.rb +0 -6
  1184. data/lib/aws-sdk-core/snowball.rb +0 -6
  1185. data/lib/aws-sdk-core/sns.rb +0 -7
  1186. data/lib/aws-sdk-core/sqs.rb +0 -7
  1187. data/lib/aws-sdk-core/ssm.rb +0 -6
  1188. data/lib/aws-sdk-core/sso.rb +0 -6
  1189. data/lib/aws-sdk-core/ssooidc.rb +0 -6
  1190. data/lib/aws-sdk-core/states.rb +0 -6
  1191. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  1192. data/lib/aws-sdk-core/sts.rb +0 -6
  1193. data/lib/aws-sdk-core/support.rb +0 -6
  1194. data/lib/aws-sdk-core/swf.rb +0 -6
  1195. data/lib/aws-sdk-core/textract.rb +0 -6
  1196. data/lib/aws-sdk-core/transcribeservice.rb +0 -6
  1197. data/lib/aws-sdk-core/transfer.rb +0 -6
  1198. data/lib/aws-sdk-core/translate.rb +0 -6
  1199. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  1200. data/lib/aws-sdk-core/version.rb +0 -3
  1201. data/lib/aws-sdk-core/waf.rb +0 -6
  1202. data/lib/aws-sdk-core/wafregional.rb +0 -6
  1203. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  1204. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  1205. data/lib/aws-sdk-core/workdocs.rb +0 -6
  1206. data/lib/aws-sdk-core/worklink.rb +0 -6
  1207. data/lib/aws-sdk-core/workmail.rb +0 -6
  1208. data/lib/aws-sdk-core/workmailmessageflow.rb +0 -6
  1209. data/lib/aws-sdk-core/workspaces.rb +0 -6
  1210. data/lib/aws-sdk-core/xray.rb +0 -6
  1211. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  1212. data/service-models.json +0 -805
@@ -0,0 +1,32 @@
1
+ module Aws
2
+ module STS
3
+ module Plugins
4
+
5
+ class STSRegionalEndpoints < Seahorse::Client::Plugin
6
+
7
+ option(:sts_regional_endpoints,
8
+ default: 'legacy',
9
+ doc_type: String,
10
+ docstring: <<-DOCS) do |cfg|
11
+ Passing in 'regional' to enable regional endpoint for STS for all supported
12
+ regions (except 'aws-global'), defaults to 'legacy' mode, using global endpoint
13
+ for legacy regions.
14
+ DOCS
15
+ resolve_sts_regional_endpoints(cfg)
16
+ end
17
+
18
+ private
19
+
20
+ def self.resolve_sts_regional_endpoints(cfg)
21
+ env_mode = ENV['AWS_STS_REGIONAL_ENDPOINTS']
22
+ env_mode = nil if env_mode == ''
23
+ cfg_mode = Aws.shared_config.sts_regional_endpoints(
24
+ profile: cfg.profile)
25
+ env_mode || cfg_mode || 'legacy'
26
+ end
27
+
28
+ end
29
+
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::STS
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,1312 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::STS
9
+ module Types
10
+
11
+ # @note When making an API call, you may pass AssumeRoleRequest
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # role_arn: "arnType", # required
16
+ # role_session_name: "roleSessionNameType", # required
17
+ # policy_arns: [
18
+ # {
19
+ # arn: "arnType",
20
+ # },
21
+ # ],
22
+ # policy: "sessionPolicyDocumentType",
23
+ # duration_seconds: 1,
24
+ # external_id: "externalIdType",
25
+ # serial_number: "serialNumberType",
26
+ # token_code: "tokenCodeType",
27
+ # }
28
+ #
29
+ # @!attribute [rw] role_arn
30
+ # The Amazon Resource Name (ARN) of the role to assume.
31
+ # @return [String]
32
+ #
33
+ # @!attribute [rw] role_session_name
34
+ # An identifier for the assumed role session.
35
+ #
36
+ # Use the role session name to uniquely identify a session when the
37
+ # same role is assumed by different principals or for different
38
+ # reasons. In cross-account scenarios, the role session name is
39
+ # visible to, and can be logged by the account that owns the role. The
40
+ # role session name is also used in the ARN of the assumed role
41
+ # principal. This means that subsequent cross-account API requests
42
+ # that use the temporary security credentials will expose the role
43
+ # session name to the external account in their AWS CloudTrail logs.
44
+ #
45
+ # The regex used to validate this parameter is a string of characters
46
+ # consisting of upper- and lower-case alphanumeric characters with no
47
+ # spaces. You can also include underscores or any of the following
48
+ # characters: =,.@-
49
+ # @return [String]
50
+ #
51
+ # @!attribute [rw] policy_arns
52
+ # The Amazon Resource Names (ARNs) of the IAM managed policies that
53
+ # you want to use as managed session policies. The policies must exist
54
+ # in the same account as the role.
55
+ #
56
+ # This parameter is optional. You can provide up to 10 managed policy
57
+ # ARNs. However, the plain text that you use for both inline and
58
+ # managed session policies shouldn't exceed 2048 characters. For more
59
+ # information about ARNs, see [Amazon Resource Names (ARNs) and AWS
60
+ # Service Namespaces][1] in the AWS General Reference.
61
+ #
62
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
63
+ # session policy guideline. However, an AWS conversion compresses the
64
+ # session policies into a packed binary format that has a separate
65
+ # limit. This is the enforced limit. The `PackedPolicySize` response
66
+ # element indicates by percentage how close the policy is to the upper
67
+ # size limit.
68
+ #
69
+ # </note>
70
+ #
71
+ # Passing policies to this operation returns new temporary
72
+ # credentials. The resulting session's permissions are the
73
+ # intersection of the role's identity-based policy and the session
74
+ # policies. You can use the role's temporary credentials in
75
+ # subsequent AWS API calls to access resources in the account that
76
+ # owns the role. You cannot use session policies to grant more
77
+ # permissions than those allowed by the identity-based policy of the
78
+ # role that is being assumed. For more information, see [Session
79
+ # Policies][2] in the *IAM User Guide*.
80
+ #
81
+ #
82
+ #
83
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
84
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
85
+ # @return [Array<Types::PolicyDescriptorType>]
86
+ #
87
+ # @!attribute [rw] policy
88
+ # An IAM policy in JSON format that you want to use as an inline
89
+ # session policy.
90
+ #
91
+ # This parameter is optional. Passing policies to this operation
92
+ # returns new temporary credentials. The resulting session's
93
+ # permissions are the intersection of the role's identity-based
94
+ # policy and the session policies. You can use the role's temporary
95
+ # credentials in subsequent AWS API calls to access resources in the
96
+ # account that owns the role. You cannot use session policies to grant
97
+ # more permissions than those allowed by the identity-based policy of
98
+ # the role that is being assumed. For more information, see [Session
99
+ # Policies][1] in the *IAM User Guide*.
100
+ #
101
+ # The plain text that you use for both inline and managed session
102
+ # policies shouldn't exceed 2048 characters. The JSON policy
103
+ # characters can be any ASCII character from the space character to
104
+ # the end of the valid character list (\\u0020 through \\u00FF). It
105
+ # can also include the tab (\\u0009), linefeed (\\u000A), and carriage
106
+ # return (\\u000D) characters.
107
+ #
108
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
109
+ # session policy guideline. However, an AWS conversion compresses the
110
+ # session policies into a packed binary format that has a separate
111
+ # limit. This is the enforced limit. The `PackedPolicySize` response
112
+ # element indicates by percentage how close the policy is to the upper
113
+ # size limit.
114
+ #
115
+ # </note>
116
+ #
117
+ #
118
+ #
119
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
120
+ # @return [String]
121
+ #
122
+ # @!attribute [rw] duration_seconds
123
+ # The duration, in seconds, of the role session. The value can range
124
+ # from 900 seconds (15 minutes) up to the maximum session duration
125
+ # setting for the role. This setting can have a value from 1 hour to
126
+ # 12 hours. If you specify a value higher than this setting, the
127
+ # operation fails. For example, if you specify a session duration of
128
+ # 12 hours, but your administrator set the maximum session duration to
129
+ # 6 hours, your operation fails. To learn how to view the maximum
130
+ # value for your role, see [View the Maximum Session Duration Setting
131
+ # for a Role][1] in the *IAM User Guide*.
132
+ #
133
+ # By default, the value is set to `3600` seconds.
134
+ #
135
+ # <note markdown="1"> The `DurationSeconds` parameter is separate from the duration of a
136
+ # console session that you might request using the returned
137
+ # credentials. The request to the federation endpoint for a console
138
+ # sign-in token takes a `SessionDuration` parameter that specifies the
139
+ # maximum length of the console session. For more information, see
140
+ # [Creating a URL that Enables Federated Users to Access the AWS
141
+ # Management Console][2] in the *IAM User Guide*.
142
+ #
143
+ # </note>
144
+ #
145
+ #
146
+ #
147
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session
148
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
149
+ # @return [Integer]
150
+ #
151
+ # @!attribute [rw] external_id
152
+ # A unique identifier that might be required when you assume a role in
153
+ # another account. If the administrator of the account to which the
154
+ # role belongs provided you with an external ID, then provide that
155
+ # value in the `ExternalId` parameter. This value can be any string,
156
+ # such as a passphrase or account number. A cross-account role is
157
+ # usually set up to trust everyone in an account. Therefore, the
158
+ # administrator of the trusting account might send an external ID to
159
+ # the administrator of the trusted account. That way, only someone
160
+ # with the ID can assume the role, rather than everyone in the
161
+ # account. For more information about the external ID, see [How to Use
162
+ # an External ID When Granting Access to Your AWS Resources to a Third
163
+ # Party][1] in the *IAM User Guide*.
164
+ #
165
+ # The regex used to validate this parameter is a string of characters
166
+ # consisting of upper- and lower-case alphanumeric characters with no
167
+ # spaces. You can also include underscores or any of the following
168
+ # characters: =,.@:/-
169
+ #
170
+ #
171
+ #
172
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html
173
+ # @return [String]
174
+ #
175
+ # @!attribute [rw] serial_number
176
+ # The identification number of the MFA device that is associated with
177
+ # the user who is making the `AssumeRole` call. Specify this value if
178
+ # the trust policy of the role being assumed includes a condition that
179
+ # requires MFA authentication. The value is either the serial number
180
+ # for a hardware device (such as `GAHT12345678`) or an Amazon Resource
181
+ # Name (ARN) for a virtual device (such as
182
+ # `arn:aws:iam::123456789012:mfa/user`).
183
+ #
184
+ # The regex used to validate this parameter is a string of characters
185
+ # consisting of upper- and lower-case alphanumeric characters with no
186
+ # spaces. You can also include underscores or any of the following
187
+ # characters: =,.@-
188
+ # @return [String]
189
+ #
190
+ # @!attribute [rw] token_code
191
+ # The value provided by the MFA device, if the trust policy of the
192
+ # role being assumed requires MFA (that is, if the policy includes a
193
+ # condition that tests for MFA). If the role being assumed requires
194
+ # MFA and if the `TokenCode` value is missing or expired, the
195
+ # `AssumeRole` call returns an "access denied" error.
196
+ #
197
+ # The format for this parameter, as described by its regex pattern, is
198
+ # a sequence of six numeric digits.
199
+ # @return [String]
200
+ #
201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest AWS API Documentation
202
+ #
203
+ class AssumeRoleRequest < Struct.new(
204
+ :role_arn,
205
+ :role_session_name,
206
+ :policy_arns,
207
+ :policy,
208
+ :duration_seconds,
209
+ :external_id,
210
+ :serial_number,
211
+ :token_code)
212
+ include Aws::Structure
213
+ end
214
+
215
+ # Contains the response to a successful AssumeRole request, including
216
+ # temporary AWS credentials that can be used to make AWS requests.
217
+ #
218
+ # @!attribute [rw] credentials
219
+ # The temporary security credentials, which include an access key ID,
220
+ # a secret access key, and a security (or session) token.
221
+ #
222
+ # <note markdown="1"> The size of the security token that STS API operations return is not
223
+ # fixed. We strongly recommend that you make no assumptions about the
224
+ # maximum size.
225
+ #
226
+ # </note>
227
+ # @return [Types::Credentials]
228
+ #
229
+ # @!attribute [rw] assumed_role_user
230
+ # The Amazon Resource Name (ARN) and the assumed role ID, which are
231
+ # identifiers that you can use to refer to the resulting temporary
232
+ # security credentials. For example, you can reference these
233
+ # credentials as a principal in a resource-based policy by using the
234
+ # ARN or assumed role ID. The ARN and ID include the `RoleSessionName`
235
+ # that you specified when you called `AssumeRole`.
236
+ # @return [Types::AssumedRoleUser]
237
+ #
238
+ # @!attribute [rw] packed_policy_size
239
+ # A percentage value that indicates the size of the policy in packed
240
+ # form. The service rejects any policy with a packed size greater than
241
+ # 100 percent, which means the policy exceeded the allowed space.
242
+ # @return [Integer]
243
+ #
244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse AWS API Documentation
245
+ #
246
+ class AssumeRoleResponse < Struct.new(
247
+ :credentials,
248
+ :assumed_role_user,
249
+ :packed_policy_size)
250
+ include Aws::Structure
251
+ end
252
+
253
+ # @note When making an API call, you may pass AssumeRoleWithSAMLRequest
254
+ # data as a hash:
255
+ #
256
+ # {
257
+ # role_arn: "arnType", # required
258
+ # principal_arn: "arnType", # required
259
+ # saml_assertion: "SAMLAssertionType", # required
260
+ # policy_arns: [
261
+ # {
262
+ # arn: "arnType",
263
+ # },
264
+ # ],
265
+ # policy: "sessionPolicyDocumentType",
266
+ # duration_seconds: 1,
267
+ # }
268
+ #
269
+ # @!attribute [rw] role_arn
270
+ # The Amazon Resource Name (ARN) of the role that the caller is
271
+ # assuming.
272
+ # @return [String]
273
+ #
274
+ # @!attribute [rw] principal_arn
275
+ # The Amazon Resource Name (ARN) of the SAML provider in IAM that
276
+ # describes the IdP.
277
+ # @return [String]
278
+ #
279
+ # @!attribute [rw] saml_assertion
280
+ # The base-64 encoded SAML authentication response provided by the
281
+ # IdP.
282
+ #
283
+ # For more information, see [Configuring a Relying Party and Adding
284
+ # Claims][1] in the *IAM User Guide*.
285
+ #
286
+ #
287
+ #
288
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/create-role-saml-IdP-tasks.html
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] policy_arns
292
+ # The Amazon Resource Names (ARNs) of the IAM managed policies that
293
+ # you want to use as managed session policies. The policies must exist
294
+ # in the same account as the role.
295
+ #
296
+ # This parameter is optional. You can provide up to 10 managed policy
297
+ # ARNs. However, the plain text that you use for both inline and
298
+ # managed session policies shouldn't exceed 2048 characters. For more
299
+ # information about ARNs, see [Amazon Resource Names (ARNs) and AWS
300
+ # Service Namespaces][1] in the AWS General Reference.
301
+ #
302
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
303
+ # session policy guideline. However, an AWS conversion compresses the
304
+ # session policies into a packed binary format that has a separate
305
+ # limit. This is the enforced limit. The `PackedPolicySize` response
306
+ # element indicates by percentage how close the policy is to the upper
307
+ # size limit.
308
+ #
309
+ # </note>
310
+ #
311
+ # Passing policies to this operation returns new temporary
312
+ # credentials. The resulting session's permissions are the
313
+ # intersection of the role's identity-based policy and the session
314
+ # policies. You can use the role's temporary credentials in
315
+ # subsequent AWS API calls to access resources in the account that
316
+ # owns the role. You cannot use session policies to grant more
317
+ # permissions than those allowed by the identity-based policy of the
318
+ # role that is being assumed. For more information, see [Session
319
+ # Policies][2] in the *IAM User Guide*.
320
+ #
321
+ #
322
+ #
323
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
324
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
325
+ # @return [Array<Types::PolicyDescriptorType>]
326
+ #
327
+ # @!attribute [rw] policy
328
+ # An IAM policy in JSON format that you want to use as an inline
329
+ # session policy.
330
+ #
331
+ # This parameter is optional. Passing policies to this operation
332
+ # returns new temporary credentials. The resulting session's
333
+ # permissions are the intersection of the role's identity-based
334
+ # policy and the session policies. You can use the role's temporary
335
+ # credentials in subsequent AWS API calls to access resources in the
336
+ # account that owns the role. You cannot use session policies to grant
337
+ # more permissions than those allowed by the identity-based policy of
338
+ # the role that is being assumed. For more information, see [Session
339
+ # Policies][1] in the *IAM User Guide*.
340
+ #
341
+ # The plain text that you use for both inline and managed session
342
+ # policies shouldn't exceed 2048 characters. The JSON policy
343
+ # characters can be any ASCII character from the space character to
344
+ # the end of the valid character list (\\u0020 through \\u00FF). It
345
+ # can also include the tab (\\u0009), linefeed (\\u000A), and carriage
346
+ # return (\\u000D) characters.
347
+ #
348
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
349
+ # session policy guideline. However, an AWS conversion compresses the
350
+ # session policies into a packed binary format that has a separate
351
+ # limit. This is the enforced limit. The `PackedPolicySize` response
352
+ # element indicates by percentage how close the policy is to the upper
353
+ # size limit.
354
+ #
355
+ # </note>
356
+ #
357
+ #
358
+ #
359
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
360
+ # @return [String]
361
+ #
362
+ # @!attribute [rw] duration_seconds
363
+ # The duration, in seconds, of the role session. Your role session
364
+ # lasts for the duration that you specify for the `DurationSeconds`
365
+ # parameter, or until the time specified in the SAML authentication
366
+ # response's `SessionNotOnOrAfter` value, whichever is shorter. You
367
+ # can provide a `DurationSeconds` value from 900 seconds (15 minutes)
368
+ # up to the maximum session duration setting for the role. This
369
+ # setting can have a value from 1 hour to 12 hours. If you specify a
370
+ # value higher than this setting, the operation fails. For example, if
371
+ # you specify a session duration of 12 hours, but your administrator
372
+ # set the maximum session duration to 6 hours, your operation fails.
373
+ # To learn how to view the maximum value for your role, see [View the
374
+ # Maximum Session Duration Setting for a Role][1] in the *IAM User
375
+ # Guide*.
376
+ #
377
+ # By default, the value is set to `3600` seconds.
378
+ #
379
+ # <note markdown="1"> The `DurationSeconds` parameter is separate from the duration of a
380
+ # console session that you might request using the returned
381
+ # credentials. The request to the federation endpoint for a console
382
+ # sign-in token takes a `SessionDuration` parameter that specifies the
383
+ # maximum length of the console session. For more information, see
384
+ # [Creating a URL that Enables Federated Users to Access the AWS
385
+ # Management Console][2] in the *IAM User Guide*.
386
+ #
387
+ # </note>
388
+ #
389
+ #
390
+ #
391
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session
392
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
393
+ # @return [Integer]
394
+ #
395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest AWS API Documentation
396
+ #
397
+ class AssumeRoleWithSAMLRequest < Struct.new(
398
+ :role_arn,
399
+ :principal_arn,
400
+ :saml_assertion,
401
+ :policy_arns,
402
+ :policy,
403
+ :duration_seconds)
404
+ include Aws::Structure
405
+ end
406
+
407
+ # Contains the response to a successful AssumeRoleWithSAML request,
408
+ # including temporary AWS credentials that can be used to make AWS
409
+ # requests.
410
+ #
411
+ # @!attribute [rw] credentials
412
+ # The temporary security credentials, which include an access key ID,
413
+ # a secret access key, and a security (or session) token.
414
+ #
415
+ # <note markdown="1"> The size of the security token that STS API operations return is not
416
+ # fixed. We strongly recommend that you make no assumptions about the
417
+ # maximum size.
418
+ #
419
+ # </note>
420
+ # @return [Types::Credentials]
421
+ #
422
+ # @!attribute [rw] assumed_role_user
423
+ # The identifiers for the temporary security credentials that the
424
+ # operation returns.
425
+ # @return [Types::AssumedRoleUser]
426
+ #
427
+ # @!attribute [rw] packed_policy_size
428
+ # A percentage value that indicates the size of the policy in packed
429
+ # form. The service rejects any policy with a packed size greater than
430
+ # 100 percent, which means the policy exceeded the allowed space.
431
+ # @return [Integer]
432
+ #
433
+ # @!attribute [rw] subject
434
+ # The value of the `NameID` element in the `Subject` element of the
435
+ # SAML assertion.
436
+ # @return [String]
437
+ #
438
+ # @!attribute [rw] subject_type
439
+ # The format of the name ID, as defined by the `Format` attribute in
440
+ # the `NameID` element of the SAML assertion. Typical examples of the
441
+ # format are `transient` or `persistent`.
442
+ #
443
+ # If the format includes the prefix
444
+ # `urn:oasis:names:tc:SAML:2.0:nameid-format`, that prefix is removed.
445
+ # For example, `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`
446
+ # is returned as `transient`. If the format includes any other prefix,
447
+ # the format is returned with no modifications.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] issuer
451
+ # The value of the `Issuer` element of the SAML assertion.
452
+ # @return [String]
453
+ #
454
+ # @!attribute [rw] audience
455
+ # The value of the `Recipient` attribute of the
456
+ # `SubjectConfirmationData` element of the SAML assertion.
457
+ # @return [String]
458
+ #
459
+ # @!attribute [rw] name_qualifier
460
+ # A hash value based on the concatenation of the `Issuer` response
461
+ # value, the AWS account ID, and the friendly name (the last part of
462
+ # the ARN) of the SAML provider in IAM. The combination of
463
+ # `NameQualifier` and `Subject` can be used to uniquely identify a
464
+ # federated user.
465
+ #
466
+ # The following pseudocode shows how the hash value is calculated:
467
+ #
468
+ # `BASE64 ( SHA1 ( "https://example.com/saml" + "123456789012" +
469
+ # "/MySAMLIdP" ) )`
470
+ # @return [String]
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse AWS API Documentation
473
+ #
474
+ class AssumeRoleWithSAMLResponse < Struct.new(
475
+ :credentials,
476
+ :assumed_role_user,
477
+ :packed_policy_size,
478
+ :subject,
479
+ :subject_type,
480
+ :issuer,
481
+ :audience,
482
+ :name_qualifier)
483
+ include Aws::Structure
484
+ end
485
+
486
+ # @note When making an API call, you may pass AssumeRoleWithWebIdentityRequest
487
+ # data as a hash:
488
+ #
489
+ # {
490
+ # role_arn: "arnType", # required
491
+ # role_session_name: "roleSessionNameType", # required
492
+ # web_identity_token: "clientTokenType", # required
493
+ # provider_id: "urlType",
494
+ # policy_arns: [
495
+ # {
496
+ # arn: "arnType",
497
+ # },
498
+ # ],
499
+ # policy: "sessionPolicyDocumentType",
500
+ # duration_seconds: 1,
501
+ # }
502
+ #
503
+ # @!attribute [rw] role_arn
504
+ # The Amazon Resource Name (ARN) of the role that the caller is
505
+ # assuming.
506
+ # @return [String]
507
+ #
508
+ # @!attribute [rw] role_session_name
509
+ # An identifier for the assumed role session. Typically, you pass the
510
+ # name or identifier that is associated with the user who is using
511
+ # your application. That way, the temporary security credentials that
512
+ # your application will use are associated with that user. This
513
+ # session name is included as part of the ARN and assumed role ID in
514
+ # the `AssumedRoleUser` response element.
515
+ #
516
+ # The regex used to validate this parameter is a string of characters
517
+ # consisting of upper- and lower-case alphanumeric characters with no
518
+ # spaces. You can also include underscores or any of the following
519
+ # characters: =,.@-
520
+ # @return [String]
521
+ #
522
+ # @!attribute [rw] web_identity_token
523
+ # The OAuth 2.0 access token or OpenID Connect ID token that is
524
+ # provided by the identity provider. Your application must get this
525
+ # token by authenticating the user who is using your application with
526
+ # a web identity provider before the application makes an
527
+ # `AssumeRoleWithWebIdentity` call.
528
+ # @return [String]
529
+ #
530
+ # @!attribute [rw] provider_id
531
+ # The fully qualified host component of the domain name of the
532
+ # identity provider.
533
+ #
534
+ # Specify this value only for OAuth 2.0 access tokens. Currently
535
+ # `www.amazon.com` and `graph.facebook.com` are the only supported
536
+ # identity providers for OAuth 2.0 access tokens. Do not include URL
537
+ # schemes and port numbers.
538
+ #
539
+ # Do not specify this value for OpenID Connect ID tokens.
540
+ # @return [String]
541
+ #
542
+ # @!attribute [rw] policy_arns
543
+ # The Amazon Resource Names (ARNs) of the IAM managed policies that
544
+ # you want to use as managed session policies. The policies must exist
545
+ # in the same account as the role.
546
+ #
547
+ # This parameter is optional. You can provide up to 10 managed policy
548
+ # ARNs. However, the plain text that you use for both inline and
549
+ # managed session policies shouldn't exceed 2048 characters. For more
550
+ # information about ARNs, see [Amazon Resource Names (ARNs) and AWS
551
+ # Service Namespaces][1] in the AWS General Reference.
552
+ #
553
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
554
+ # session policy guideline. However, an AWS conversion compresses the
555
+ # session policies into a packed binary format that has a separate
556
+ # limit. This is the enforced limit. The `PackedPolicySize` response
557
+ # element indicates by percentage how close the policy is to the upper
558
+ # size limit.
559
+ #
560
+ # </note>
561
+ #
562
+ # Passing policies to this operation returns new temporary
563
+ # credentials. The resulting session's permissions are the
564
+ # intersection of the role's identity-based policy and the session
565
+ # policies. You can use the role's temporary credentials in
566
+ # subsequent AWS API calls to access resources in the account that
567
+ # owns the role. You cannot use session policies to grant more
568
+ # permissions than those allowed by the identity-based policy of the
569
+ # role that is being assumed. For more information, see [Session
570
+ # Policies][2] in the *IAM User Guide*.
571
+ #
572
+ #
573
+ #
574
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
575
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
576
+ # @return [Array<Types::PolicyDescriptorType>]
577
+ #
578
+ # @!attribute [rw] policy
579
+ # An IAM policy in JSON format that you want to use as an inline
580
+ # session policy.
581
+ #
582
+ # This parameter is optional. Passing policies to this operation
583
+ # returns new temporary credentials. The resulting session's
584
+ # permissions are the intersection of the role's identity-based
585
+ # policy and the session policies. You can use the role's temporary
586
+ # credentials in subsequent AWS API calls to access resources in the
587
+ # account that owns the role. You cannot use session policies to grant
588
+ # more permissions than those allowed by the identity-based policy of
589
+ # the role that is being assumed. For more information, see [Session
590
+ # Policies][1] in the *IAM User Guide*.
591
+ #
592
+ # The plain text that you use for both inline and managed session
593
+ # policies shouldn't exceed 2048 characters. The JSON policy
594
+ # characters can be any ASCII character from the space character to
595
+ # the end of the valid character list (\\u0020 through \\u00FF). It
596
+ # can also include the tab (\\u0009), linefeed (\\u000A), and carriage
597
+ # return (\\u000D) characters.
598
+ #
599
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
600
+ # session policy guideline. However, an AWS conversion compresses the
601
+ # session policies into a packed binary format that has a separate
602
+ # limit. This is the enforced limit. The `PackedPolicySize` response
603
+ # element indicates by percentage how close the policy is to the upper
604
+ # size limit.
605
+ #
606
+ # </note>
607
+ #
608
+ #
609
+ #
610
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
611
+ # @return [String]
612
+ #
613
+ # @!attribute [rw] duration_seconds
614
+ # The duration, in seconds, of the role session. The value can range
615
+ # from 900 seconds (15 minutes) up to the maximum session duration
616
+ # setting for the role. This setting can have a value from 1 hour to
617
+ # 12 hours. If you specify a value higher than this setting, the
618
+ # operation fails. For example, if you specify a session duration of
619
+ # 12 hours, but your administrator set the maximum session duration to
620
+ # 6 hours, your operation fails. To learn how to view the maximum
621
+ # value for your role, see [View the Maximum Session Duration Setting
622
+ # for a Role][1] in the *IAM User Guide*.
623
+ #
624
+ # By default, the value is set to `3600` seconds.
625
+ #
626
+ # <note markdown="1"> The `DurationSeconds` parameter is separate from the duration of a
627
+ # console session that you might request using the returned
628
+ # credentials. The request to the federation endpoint for a console
629
+ # sign-in token takes a `SessionDuration` parameter that specifies the
630
+ # maximum length of the console session. For more information, see
631
+ # [Creating a URL that Enables Federated Users to Access the AWS
632
+ # Management Console][2] in the *IAM User Guide*.
633
+ #
634
+ # </note>
635
+ #
636
+ #
637
+ #
638
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session
639
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
640
+ # @return [Integer]
641
+ #
642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest AWS API Documentation
643
+ #
644
+ class AssumeRoleWithWebIdentityRequest < Struct.new(
645
+ :role_arn,
646
+ :role_session_name,
647
+ :web_identity_token,
648
+ :provider_id,
649
+ :policy_arns,
650
+ :policy,
651
+ :duration_seconds)
652
+ include Aws::Structure
653
+ end
654
+
655
+ # Contains the response to a successful AssumeRoleWithWebIdentity
656
+ # request, including temporary AWS credentials that can be used to make
657
+ # AWS requests.
658
+ #
659
+ # @!attribute [rw] credentials
660
+ # The temporary security credentials, which include an access key ID,
661
+ # a secret access key, and a security token.
662
+ #
663
+ # <note markdown="1"> The size of the security token that STS API operations return is not
664
+ # fixed. We strongly recommend that you make no assumptions about the
665
+ # maximum size.
666
+ #
667
+ # </note>
668
+ # @return [Types::Credentials]
669
+ #
670
+ # @!attribute [rw] subject_from_web_identity_token
671
+ # The unique user identifier that is returned by the identity
672
+ # provider. This identifier is associated with the `WebIdentityToken`
673
+ # that was submitted with the `AssumeRoleWithWebIdentity` call. The
674
+ # identifier is typically unique to the user and the application that
675
+ # acquired the `WebIdentityToken` (pairwise identifier). For OpenID
676
+ # Connect ID tokens, this field contains the value returned by the
677
+ # identity provider as the token's `sub` (Subject) claim.
678
+ # @return [String]
679
+ #
680
+ # @!attribute [rw] assumed_role_user
681
+ # The Amazon Resource Name (ARN) and the assumed role ID, which are
682
+ # identifiers that you can use to refer to the resulting temporary
683
+ # security credentials. For example, you can reference these
684
+ # credentials as a principal in a resource-based policy by using the
685
+ # ARN or assumed role ID. The ARN and ID include the `RoleSessionName`
686
+ # that you specified when you called `AssumeRole`.
687
+ # @return [Types::AssumedRoleUser]
688
+ #
689
+ # @!attribute [rw] packed_policy_size
690
+ # A percentage value that indicates the size of the policy in packed
691
+ # form. The service rejects any policy with a packed size greater than
692
+ # 100 percent, which means the policy exceeded the allowed space.
693
+ # @return [Integer]
694
+ #
695
+ # @!attribute [rw] provider
696
+ # The issuing authority of the web identity token presented. For
697
+ # OpenID Connect ID tokens, this contains the value of the `iss`
698
+ # field. For OAuth 2.0 access tokens, this contains the value of the
699
+ # `ProviderId` parameter that was passed in the
700
+ # `AssumeRoleWithWebIdentity` request.
701
+ # @return [String]
702
+ #
703
+ # @!attribute [rw] audience
704
+ # The intended audience (also known as client ID) of the web identity
705
+ # token. This is traditionally the client identifier issued to the
706
+ # application that requested the web identity token.
707
+ # @return [String]
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse AWS API Documentation
710
+ #
711
+ class AssumeRoleWithWebIdentityResponse < Struct.new(
712
+ :credentials,
713
+ :subject_from_web_identity_token,
714
+ :assumed_role_user,
715
+ :packed_policy_size,
716
+ :provider,
717
+ :audience)
718
+ include Aws::Structure
719
+ end
720
+
721
+ # The identifiers for the temporary security credentials that the
722
+ # operation returns.
723
+ #
724
+ # @!attribute [rw] assumed_role_id
725
+ # A unique identifier that contains the role ID and the role session
726
+ # name of the role that is being assumed. The role ID is generated by
727
+ # AWS when the role is created.
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] arn
731
+ # The ARN of the temporary security credentials that are returned from
732
+ # the AssumeRole action. For more information about ARNs and how to
733
+ # use them in policies, see [IAM Identifiers][1] in *Using IAM*.
734
+ #
735
+ #
736
+ #
737
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
738
+ # @return [String]
739
+ #
740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser AWS API Documentation
741
+ #
742
+ class AssumedRoleUser < Struct.new(
743
+ :assumed_role_id,
744
+ :arn)
745
+ include Aws::Structure
746
+ end
747
+
748
+ # AWS credentials for API authentication.
749
+ #
750
+ # @!attribute [rw] access_key_id
751
+ # The access key ID that identifies the temporary security
752
+ # credentials.
753
+ # @return [String]
754
+ #
755
+ # @!attribute [rw] secret_access_key
756
+ # The secret access key that can be used to sign requests.
757
+ # @return [String]
758
+ #
759
+ # @!attribute [rw] session_token
760
+ # The token that users must pass to the service API to use the
761
+ # temporary credentials.
762
+ # @return [String]
763
+ #
764
+ # @!attribute [rw] expiration
765
+ # The date on which the current credentials expire.
766
+ # @return [Time]
767
+ #
768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials AWS API Documentation
769
+ #
770
+ class Credentials < Struct.new(
771
+ :access_key_id,
772
+ :secret_access_key,
773
+ :session_token,
774
+ :expiration)
775
+ include Aws::Structure
776
+ end
777
+
778
+ # @note When making an API call, you may pass DecodeAuthorizationMessageRequest
779
+ # data as a hash:
780
+ #
781
+ # {
782
+ # encoded_message: "encodedMessageType", # required
783
+ # }
784
+ #
785
+ # @!attribute [rw] encoded_message
786
+ # The encoded message that was returned with the response.
787
+ # @return [String]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest AWS API Documentation
790
+ #
791
+ class DecodeAuthorizationMessageRequest < Struct.new(
792
+ :encoded_message)
793
+ include Aws::Structure
794
+ end
795
+
796
+ # A document that contains additional information about the
797
+ # authorization status of a request from an encoded message that is
798
+ # returned in response to an AWS request.
799
+ #
800
+ # @!attribute [rw] decoded_message
801
+ # An XML document that contains the decoded message.
802
+ # @return [String]
803
+ #
804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageResponse AWS API Documentation
805
+ #
806
+ class DecodeAuthorizationMessageResponse < Struct.new(
807
+ :decoded_message)
808
+ include Aws::Structure
809
+ end
810
+
811
+ # The web identity token that was passed is expired or is not valid. Get
812
+ # a new identity token from the identity provider and then retry the
813
+ # request.
814
+ #
815
+ # @!attribute [rw] message
816
+ # @return [String]
817
+ #
818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/ExpiredTokenException AWS API Documentation
819
+ #
820
+ class ExpiredTokenException < Struct.new(
821
+ :message)
822
+ include Aws::Structure
823
+ end
824
+
825
+ # Identifiers for the federated user that is associated with the
826
+ # credentials.
827
+ #
828
+ # @!attribute [rw] federated_user_id
829
+ # The string that identifies the federated user associated with the
830
+ # credentials, similar to the unique ID of an IAM user.
831
+ # @return [String]
832
+ #
833
+ # @!attribute [rw] arn
834
+ # The ARN that specifies the federated user that is associated with
835
+ # the credentials. For more information about ARNs and how to use them
836
+ # in policies, see [IAM Identifiers][1] in *Using IAM*.
837
+ #
838
+ #
839
+ #
840
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
841
+ # @return [String]
842
+ #
843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser AWS API Documentation
844
+ #
845
+ class FederatedUser < Struct.new(
846
+ :federated_user_id,
847
+ :arn)
848
+ include Aws::Structure
849
+ end
850
+
851
+ # @note When making an API call, you may pass GetAccessKeyInfoRequest
852
+ # data as a hash:
853
+ #
854
+ # {
855
+ # access_key_id: "accessKeyIdType", # required
856
+ # }
857
+ #
858
+ # @!attribute [rw] access_key_id
859
+ # The identifier of an access key.
860
+ #
861
+ # This parameter allows (through its regex pattern) a string of
862
+ # characters that can consist of any upper- or lowercased letter or
863
+ # digit.
864
+ # @return [String]
865
+ #
866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetAccessKeyInfoRequest AWS API Documentation
867
+ #
868
+ class GetAccessKeyInfoRequest < Struct.new(
869
+ :access_key_id)
870
+ include Aws::Structure
871
+ end
872
+
873
+ # @!attribute [rw] account
874
+ # The number used to identify the AWS account.
875
+ # @return [String]
876
+ #
877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetAccessKeyInfoResponse AWS API Documentation
878
+ #
879
+ class GetAccessKeyInfoResponse < Struct.new(
880
+ :account)
881
+ include Aws::Structure
882
+ end
883
+
884
+ # @api private
885
+ #
886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest AWS API Documentation
887
+ #
888
+ class GetCallerIdentityRequest < Aws::EmptyStructure; end
889
+
890
+ # Contains the response to a successful GetCallerIdentity request,
891
+ # including information about the entity making the request.
892
+ #
893
+ # @!attribute [rw] user_id
894
+ # The unique identifier of the calling entity. The exact value depends
895
+ # on the type of entity that is making the call. The values returned
896
+ # are those listed in the **aws:userid** column in the [Principal
897
+ # table][1] found on the **Policy Variables** reference page in the
898
+ # *IAM User Guide*.
899
+ #
900
+ #
901
+ #
902
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_variables.html#principaltable
903
+ # @return [String]
904
+ #
905
+ # @!attribute [rw] account
906
+ # The AWS account ID number of the account that owns or contains the
907
+ # calling entity.
908
+ # @return [String]
909
+ #
910
+ # @!attribute [rw] arn
911
+ # The AWS ARN associated with the calling entity.
912
+ # @return [String]
913
+ #
914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityResponse AWS API Documentation
915
+ #
916
+ class GetCallerIdentityResponse < Struct.new(
917
+ :user_id,
918
+ :account,
919
+ :arn)
920
+ include Aws::Structure
921
+ end
922
+
923
+ # @note When making an API call, you may pass GetFederationTokenRequest
924
+ # data as a hash:
925
+ #
926
+ # {
927
+ # name: "userNameType", # required
928
+ # policy: "sessionPolicyDocumentType",
929
+ # policy_arns: [
930
+ # {
931
+ # arn: "arnType",
932
+ # },
933
+ # ],
934
+ # duration_seconds: 1,
935
+ # }
936
+ #
937
+ # @!attribute [rw] name
938
+ # The name of the federated user. The name is used as an identifier
939
+ # for the temporary security credentials (such as `Bob`). For example,
940
+ # you can reference the federated user name in a resource-based
941
+ # policy, such as in an Amazon S3 bucket policy.
942
+ #
943
+ # The regex used to validate this parameter is a string of characters
944
+ # consisting of upper- and lower-case alphanumeric characters with no
945
+ # spaces. You can also include underscores or any of the following
946
+ # characters: =,.@-
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] policy
950
+ # An IAM policy in JSON format that you want to use as an inline
951
+ # session policy.
952
+ #
953
+ # You must pass an inline or managed [session policy][1] to this
954
+ # operation. You can pass a single JSON policy document to use as an
955
+ # inline session policy. You can also specify up to 10 managed
956
+ # policies to use as managed session policies.
957
+ #
958
+ # This parameter is optional. However, if you do not pass any session
959
+ # policies, then the resulting federated user session has no
960
+ # permissions. The only exception is when the credentials are used to
961
+ # access a resource that has a resource-based policy that specifically
962
+ # references the federated user session in the `Principal` element of
963
+ # the policy.
964
+ #
965
+ # When you pass session policies, the session permissions are the
966
+ # intersection of the IAM user policies and the session policies that
967
+ # you pass. This gives you a way to further restrict the permissions
968
+ # for a federated user. You cannot use session policies to grant more
969
+ # permissions than those that are defined in the permissions policy of
970
+ # the IAM user. For more information, see [Session Policies][1] in the
971
+ # *IAM User Guide*.
972
+ #
973
+ # The plain text that you use for both inline and managed session
974
+ # policies shouldn't exceed 2048 characters. The JSON policy
975
+ # characters can be any ASCII character from the space character to
976
+ # the end of the valid character list (\\u0020 through \\u00FF). It
977
+ # can also include the tab (\\u0009), linefeed (\\u000A), and carriage
978
+ # return (\\u000D) characters.
979
+ #
980
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
981
+ # session policy guideline. However, an AWS conversion compresses the
982
+ # session policies into a packed binary format that has a separate
983
+ # limit. This is the enforced limit. The `PackedPolicySize` response
984
+ # element indicates by percentage how close the policy is to the upper
985
+ # size limit.
986
+ #
987
+ # </note>
988
+ #
989
+ #
990
+ #
991
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
992
+ # @return [String]
993
+ #
994
+ # @!attribute [rw] policy_arns
995
+ # The Amazon Resource Names (ARNs) of the IAM managed policies that
996
+ # you want to use as a managed session policy. The policies must exist
997
+ # in the same account as the IAM user that is requesting federated
998
+ # access.
999
+ #
1000
+ # You must pass an inline or managed [session policy][1] to this
1001
+ # operation. You can pass a single JSON policy document to use as an
1002
+ # inline session policy. You can also specify up to 10 managed
1003
+ # policies to use as managed session policies. The plain text that you
1004
+ # use for both inline and managed session policies shouldn't exceed
1005
+ # 2048 characters. You can provide up to 10 managed policy ARNs. For
1006
+ # more information about ARNs, see [Amazon Resource Names (ARNs) and
1007
+ # AWS Service Namespaces][2] in the AWS General Reference.
1008
+ #
1009
+ # This parameter is optional. However, if you do not pass any session
1010
+ # policies, then the resulting federated user session has no
1011
+ # permissions. The only exception is when the credentials are used to
1012
+ # access a resource that has a resource-based policy that specifically
1013
+ # references the federated user session in the `Principal` element of
1014
+ # the policy.
1015
+ #
1016
+ # When you pass session policies, the session permissions are the
1017
+ # intersection of the IAM user policies and the session policies that
1018
+ # you pass. This gives you a way to further restrict the permissions
1019
+ # for a federated user. You cannot use session policies to grant more
1020
+ # permissions than those that are defined in the permissions policy of
1021
+ # the IAM user. For more information, see [Session Policies][1] in the
1022
+ # *IAM User Guide*.
1023
+ #
1024
+ # <note markdown="1"> The characters in this parameter count towards the 2048 character
1025
+ # session policy guideline. However, an AWS conversion compresses the
1026
+ # session policies into a packed binary format that has a separate
1027
+ # limit. This is the enforced limit. The `PackedPolicySize` response
1028
+ # element indicates by percentage how close the policy is to the upper
1029
+ # size limit.
1030
+ #
1031
+ # </note>
1032
+ #
1033
+ #
1034
+ #
1035
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session
1036
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1037
+ # @return [Array<Types::PolicyDescriptorType>]
1038
+ #
1039
+ # @!attribute [rw] duration_seconds
1040
+ # The duration, in seconds, that the session should last. Acceptable
1041
+ # durations for federation sessions range from 900 seconds (15
1042
+ # minutes) to 129,600 seconds (36 hours), with 43,200 seconds (12
1043
+ # hours) as the default. Sessions obtained using AWS account root user
1044
+ # credentials are restricted to a maximum of 3,600 seconds (one hour).
1045
+ # If the specified duration is longer than one hour, the session
1046
+ # obtained by using root user credentials defaults to one hour.
1047
+ # @return [Integer]
1048
+ #
1049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest AWS API Documentation
1050
+ #
1051
+ class GetFederationTokenRequest < Struct.new(
1052
+ :name,
1053
+ :policy,
1054
+ :policy_arns,
1055
+ :duration_seconds)
1056
+ include Aws::Structure
1057
+ end
1058
+
1059
+ # Contains the response to a successful GetFederationToken request,
1060
+ # including temporary AWS credentials that can be used to make AWS
1061
+ # requests.
1062
+ #
1063
+ # @!attribute [rw] credentials
1064
+ # The temporary security credentials, which include an access key ID,
1065
+ # a secret access key, and a security (or session) token.
1066
+ #
1067
+ # <note markdown="1"> The size of the security token that STS API operations return is not
1068
+ # fixed. We strongly recommend that you make no assumptions about the
1069
+ # maximum size.
1070
+ #
1071
+ # </note>
1072
+ # @return [Types::Credentials]
1073
+ #
1074
+ # @!attribute [rw] federated_user
1075
+ # Identifiers for the federated user associated with the credentials
1076
+ # (such as `arn:aws:sts::123456789012:federated-user/Bob` or
1077
+ # `123456789012:Bob`). You can use the federated user's ARN in your
1078
+ # resource-based policies, such as an Amazon S3 bucket policy.
1079
+ # @return [Types::FederatedUser]
1080
+ #
1081
+ # @!attribute [rw] packed_policy_size
1082
+ # A percentage value indicating the size of the policy in packed form.
1083
+ # The service rejects policies for which the packed size is greater
1084
+ # than 100 percent of the allowed value.
1085
+ # @return [Integer]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse AWS API Documentation
1088
+ #
1089
+ class GetFederationTokenResponse < Struct.new(
1090
+ :credentials,
1091
+ :federated_user,
1092
+ :packed_policy_size)
1093
+ include Aws::Structure
1094
+ end
1095
+
1096
+ # @note When making an API call, you may pass GetSessionTokenRequest
1097
+ # data as a hash:
1098
+ #
1099
+ # {
1100
+ # duration_seconds: 1,
1101
+ # serial_number: "serialNumberType",
1102
+ # token_code: "tokenCodeType",
1103
+ # }
1104
+ #
1105
+ # @!attribute [rw] duration_seconds
1106
+ # The duration, in seconds, that the credentials should remain valid.
1107
+ # Acceptable durations for IAM user sessions range from 900 seconds
1108
+ # (15 minutes) to 129,600 seconds (36 hours), with 43,200 seconds (12
1109
+ # hours) as the default. Sessions for AWS account owners are
1110
+ # restricted to a maximum of 3,600 seconds (one hour). If the duration
1111
+ # is longer than one hour, the session for AWS account owners defaults
1112
+ # to one hour.
1113
+ # @return [Integer]
1114
+ #
1115
+ # @!attribute [rw] serial_number
1116
+ # The identification number of the MFA device that is associated with
1117
+ # the IAM user who is making the `GetSessionToken` call. Specify this
1118
+ # value if the IAM user has a policy that requires MFA authentication.
1119
+ # The value is either the serial number for a hardware device (such as
1120
+ # `GAHT12345678`) or an Amazon Resource Name (ARN) for a virtual
1121
+ # device (such as `arn:aws:iam::123456789012:mfa/user`). You can find
1122
+ # the device for an IAM user by going to the AWS Management Console
1123
+ # and viewing the user's security credentials.
1124
+ #
1125
+ # The regex used to validate this parameter is a string of characters
1126
+ # consisting of upper- and lower-case alphanumeric characters with no
1127
+ # spaces. You can also include underscores or any of the following
1128
+ # characters: =,.@:/-
1129
+ # @return [String]
1130
+ #
1131
+ # @!attribute [rw] token_code
1132
+ # The value provided by the MFA device, if MFA is required. If any
1133
+ # policy requires the IAM user to submit an MFA code, specify this
1134
+ # value. If MFA authentication is required, the user must provide a
1135
+ # code when requesting a set of temporary security credentials. A user
1136
+ # who fails to provide the code receives an "access denied" response
1137
+ # when requesting resources that require MFA authentication.
1138
+ #
1139
+ # The format for this parameter, as described by its regex pattern, is
1140
+ # a sequence of six numeric digits.
1141
+ # @return [String]
1142
+ #
1143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest AWS API Documentation
1144
+ #
1145
+ class GetSessionTokenRequest < Struct.new(
1146
+ :duration_seconds,
1147
+ :serial_number,
1148
+ :token_code)
1149
+ include Aws::Structure
1150
+ end
1151
+
1152
+ # Contains the response to a successful GetSessionToken request,
1153
+ # including temporary AWS credentials that can be used to make AWS
1154
+ # requests.
1155
+ #
1156
+ # @!attribute [rw] credentials
1157
+ # The temporary security credentials, which include an access key ID,
1158
+ # a secret access key, and a security (or session) token.
1159
+ #
1160
+ # <note markdown="1"> The size of the security token that STS API operations return is not
1161
+ # fixed. We strongly recommend that you make no assumptions about the
1162
+ # maximum size.
1163
+ #
1164
+ # </note>
1165
+ # @return [Types::Credentials]
1166
+ #
1167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse AWS API Documentation
1168
+ #
1169
+ class GetSessionTokenResponse < Struct.new(
1170
+ :credentials)
1171
+ include Aws::Structure
1172
+ end
1173
+
1174
+ # The request could not be fulfilled because the non-AWS identity
1175
+ # provider (IDP) that was asked to verify the incoming identity token
1176
+ # could not be reached. This is often a transient error caused by
1177
+ # network conditions. Retry the request a limited number of times so
1178
+ # that you don't exceed the request rate. If the error persists, the
1179
+ # non-AWS identity provider might be down or not responding.
1180
+ #
1181
+ # @!attribute [rw] message
1182
+ # @return [String]
1183
+ #
1184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/IDPCommunicationErrorException AWS API Documentation
1185
+ #
1186
+ class IDPCommunicationErrorException < Struct.new(
1187
+ :message)
1188
+ include Aws::Structure
1189
+ end
1190
+
1191
+ # The identity provider (IdP) reported that authentication failed. This
1192
+ # might be because the claim is invalid.
1193
+ #
1194
+ # If this error is returned for the `AssumeRoleWithWebIdentity`
1195
+ # operation, it can also mean that the claim has expired or has been
1196
+ # explicitly revoked.
1197
+ #
1198
+ # @!attribute [rw] message
1199
+ # @return [String]
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/IDPRejectedClaimException AWS API Documentation
1202
+ #
1203
+ class IDPRejectedClaimException < Struct.new(
1204
+ :message)
1205
+ include Aws::Structure
1206
+ end
1207
+
1208
+ # This error is returned if the message passed to
1209
+ # `DecodeAuthorizationMessage` was invalid. This can happen if the token
1210
+ # contains invalid characters, such as linebreaks.
1211
+ #
1212
+ # @!attribute [rw] message
1213
+ # @return [String]
1214
+ #
1215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/InvalidAuthorizationMessageException AWS API Documentation
1216
+ #
1217
+ class InvalidAuthorizationMessageException < Struct.new(
1218
+ :message)
1219
+ include Aws::Structure
1220
+ end
1221
+
1222
+ # The web identity token that was passed could not be validated by AWS.
1223
+ # Get a new identity token from the identity provider and then retry the
1224
+ # request.
1225
+ #
1226
+ # @!attribute [rw] message
1227
+ # @return [String]
1228
+ #
1229
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/InvalidIdentityTokenException AWS API Documentation
1230
+ #
1231
+ class InvalidIdentityTokenException < Struct.new(
1232
+ :message)
1233
+ include Aws::Structure
1234
+ end
1235
+
1236
+ # The request was rejected because the policy document was malformed.
1237
+ # The error message describes the specific error.
1238
+ #
1239
+ # @!attribute [rw] message
1240
+ # @return [String]
1241
+ #
1242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/MalformedPolicyDocumentException AWS API Documentation
1243
+ #
1244
+ class MalformedPolicyDocumentException < Struct.new(
1245
+ :message)
1246
+ include Aws::Structure
1247
+ end
1248
+
1249
+ # The request was rejected because the policy document was too large.
1250
+ # The error message describes how big the policy document is, in packed
1251
+ # form, as a percentage of what the API allows.
1252
+ #
1253
+ # @!attribute [rw] message
1254
+ # @return [String]
1255
+ #
1256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/PackedPolicyTooLargeException AWS API Documentation
1257
+ #
1258
+ class PackedPolicyTooLargeException < Struct.new(
1259
+ :message)
1260
+ include Aws::Structure
1261
+ end
1262
+
1263
+ # A reference to the IAM managed policy that is passed as a session
1264
+ # policy for a role session or a federated user session.
1265
+ #
1266
+ # @note When making an API call, you may pass PolicyDescriptorType
1267
+ # data as a hash:
1268
+ #
1269
+ # {
1270
+ # arn: "arnType",
1271
+ # }
1272
+ #
1273
+ # @!attribute [rw] arn
1274
+ # The Amazon Resource Name (ARN) of the IAM managed policy to use as a
1275
+ # session policy for the role. For more information about ARNs, see
1276
+ # [Amazon Resource Names (ARNs) and AWS Service Namespaces][1] in the
1277
+ # *AWS General Reference*.
1278
+ #
1279
+ #
1280
+ #
1281
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1282
+ # @return [String]
1283
+ #
1284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/PolicyDescriptorType AWS API Documentation
1285
+ #
1286
+ class PolicyDescriptorType < Struct.new(
1287
+ :arn)
1288
+ include Aws::Structure
1289
+ end
1290
+
1291
+ # STS is not activated in the requested region for the account that is
1292
+ # being asked to generate credentials. The account administrator must
1293
+ # use the IAM console to activate STS in that region. For more
1294
+ # information, see [Activating and Deactivating AWS STS in an AWS
1295
+ # Region][1] in the *IAM User Guide*.
1296
+ #
1297
+ #
1298
+ #
1299
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
1300
+ #
1301
+ # @!attribute [rw] message
1302
+ # @return [String]
1303
+ #
1304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/RegionDisabledException AWS API Documentation
1305
+ #
1306
+ class RegionDisabledException < Struct.new(
1307
+ :message)
1308
+ include Aws::Structure
1309
+ end
1310
+
1311
+ end
1312
+ end