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