aws-sdk-core 2.11.366 → 3.64.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 +84 -552
- 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 +2 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +34 -1
- data/lib/aws-sdk-core/errors.rb +123 -22
- 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 +1 -1
- 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/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 +56 -21
- 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 +23 -15
- data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
- data/lib/aws-sdk-core/plugins/retry_errors.rb +79 -24
- 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 +149 -10
- 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 +1833 -0
- data/lib/aws-sdk-sts/client_api.rb +320 -0
- data/lib/aws-sdk-sts/customizations.rb +0 -0
- data/lib/aws-sdk-sts/errors.rb +142 -0
- data/lib/aws-sdk-sts/resource.rb +23 -0
- data/lib/aws-sdk-sts/types.rb +1312 -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 +2 -8
- data/lib/seahorse/client/configuration.rb +4 -2
- data/lib/seahorse/client/h2/connection.rb +244 -0
- data/lib/seahorse/client/h2/handler.rb +151 -0
- 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 +2 -0
- 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 +66 -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 +91 -1042
- data/apis/AWSMigrationHub/2017-05-31/api-2.json +0 -838
- data/apis/AWSMigrationHub/2017-05-31/examples-1.json +0 -5
- data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +0 -4
- 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 -843
- 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 -4003
- 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 -2160
- 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 -5773
- data/apis/apigatewayv2/2018-11-29/paginators-1.json +0 -3
- data/apis/application-autoscaling/2016-02-06/api-2.json +0 -779
- data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -257
- 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 -721
- data/apis/application-insights/2018-11-25/examples-1.json +0 -5
- data/apis/application-insights/2018-11-25/paginators-1.json +0 -19
- 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 -3281
- 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 -2340
- 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 -2003
- 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 -985
- 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 -2455
- 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 -1128
- 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 -807
- 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 -1035
- data/apis/ce/2017-10-25/examples-1.json +0 -5
- data/apis/ce/2017-10-25/paginators-1.json +0 -4
- data/apis/chime/2018-05-01/api-2.json +0 -2902
- data/apis/chime/2018-05-01/examples-1.json +0 -5
- data/apis/chime/2018-05-01/paginators-1.json +0 -29
- data/apis/cloud9/2017-09-23/api-2.json +0 -547
- data/apis/cloud9/2017-09-23/examples-1.json +0 -308
- 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 -2686
- data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
- data/apis/cloudformation/2010-05-15/paginators-1.json +0 -42
- data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
- data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
- 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 -2002
- data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
- 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 -978
- data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
- data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
- data/apis/cloudtrail/2013-11-01/smoke.json +0 -18
- data/apis/codebuild/2016-10-06/api-2.json +0 -1276
- 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 -4248
- data/apis/codecommit/2015-04-13/examples-1.json +0 -5
- data/apis/codecommit/2015-04-13/paginators-1.json +0 -49
- 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/codepipeline/2015-07-09/api-2.json +0 -2406
- 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/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 -1053
- 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 -5349
- data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
- data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -52
- 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 -2361
- 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 -681
- data/apis/comprehendmedical/2018-10-30/examples-1.json +0 -5
- data/apis/comprehendmedical/2018-10-30/paginators-1.json +0 -4
- data/apis/config/2014-11-12/api-2.json +0 -3496
- 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 -1379
- data/apis/connect/2017-08-08/examples-1.json +0 -5
- data/apis/connect/2017-08-08/paginators-1.json +0 -14
- 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/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 -1327
- 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/devicefarm/2015-06-23/api-2.json +0 -3197
- data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
- data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
- data/apis/devicefarm/2015-06-23/smoke.json +0 -18
- data/apis/directconnect/2012-10-25/api-2.json +0 -2066
- 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 -1334
- 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 -444
- 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 -2291
- 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 -2634
- 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 -803
- 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 -2802
- data/apis/dynamodb/2012-08-10/examples-1.json +0 -631
- data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
- 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/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 -25416
- data/apis/ec2/2016-11-15/examples-1.json +0 -5048
- data/apis/ec2/2016-11-15/paginators-1.json +0 -450
- data/apis/ec2/2016-11-15/resources-1.json +0 -2582
- data/apis/ec2/2016-11-15/smoke.json +0 -20
- data/apis/ec2/2016-11-15/waiters-2.json +0 -622
- data/apis/ecr/2015-09-21/api-2.json +0 -1383
- data/apis/ecr/2015-09-21/examples-1.json +0 -215
- data/apis/ecr/2015-09-21/paginators-1.json +0 -22
- data/apis/ecr/2015-09-21/smoke.json +0 -18
- data/apis/ecs/2014-11-13/api-2.json +0 -2902
- data/apis/ecs/2014-11-13/examples-1.json +0 -1137
- data/apis/ecs/2014-11-13/paginators-1.json +0 -40
- 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 -750
- data/apis/eks/2017-11-01/examples-1.json +0 -114
- data/apis/eks/2017-11-01/paginators-1.json +0 -16
- data/apis/eks/2017-11-01/waiters-2.json +0 -54
- data/apis/elasticache/2015-02-02/api-2.json +0 -3152
- 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 -896
- 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 -2299
- 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 -2187
- 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 -1543
- 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 -1376
- 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 -692
- 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 -1373
- 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/fsx/2018-03-01/api-2.json +0 -1050
- data/apis/fsx/2018-03-01/examples-1.json +0 -384
- data/apis/fsx/2018-03-01/paginators-1.json +0 -14
- data/apis/gamelift/2015-10-01/api-2.json +0 -3470
- 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 -6294
- 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 -5106
- 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 -3206
- data/apis/guardduty/2017-11-28/examples-1.json +0 -5
- data/apis/guardduty/2017-11-28/paginators-1.json +0 -46
- data/apis/health/2016-08-04/api-2.json +0 -554
- data/apis/health/2016-08-04/examples-1.json +0 -5
- data/apis/health/2016-08-04/paginators-1.json +0 -31
- data/apis/health/2016-08-04/smoke.json +0 -11
- data/apis/iam/2010-05-08/api-2.json +0 -5778
- data/apis/iam/2010-05-08/examples-1.json +0 -1572
- 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/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 -9676
- 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 -2222
- 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 -1133
- data/apis/iotevents/2018-07-27/examples-1.json +0 -5
- data/apis/iotevents/2018-07-27/paginators-1.json +0 -4
- 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 -1698
- data/apis/kafka/2018-11-14/paginators-1.json +0 -34
- data/apis/kinesis-video-archived-media/2017-09-30/api-2.json +0 -417
- 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/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 -2121
- 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 -553
- data/apis/kinesisvideo/2017-09-30/examples-1.json +0 -5
- data/apis/kinesisvideo/2017-09-30/paginators-1.json +0 -10
- data/apis/kms/2014-11-01/api-2.json +0 -1834
- 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 -2353
- data/apis/lambda/2015-03-31/examples-1.json +0 -614
- data/apis/lambda/2015-03-31/paginators-1.json +0 -40
- data/apis/lambda/2015-03-31/smoke.json +0 -18
- data/apis/lambda/2015-03-31/waiters-2.json +0 -22
- data/apis/lex-models/2017-04-19/api-2.json +0 -2261
- 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 -780
- 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 -5015
- 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/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -174
- 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 -8292
- data/apis/mediaconvert/2017-08-29/paginators-1.json +0 -34
- data/apis/medialive/2017-10-14/api-2.json +0 -9023
- data/apis/medialive/2017-10-14/paginators-1.json +0 -40
- data/apis/medialive/2017-10-14/waiters-2.json +0 -111
- data/apis/mediapackage-vod/2018-11-07/api-2.json +0 -1498
- data/apis/mediapackage-vod/2018-11-07/paginators-1.json +0 -22
- data/apis/mediapackage/2017-10-12/api-2.json +0 -2039
- data/apis/mediapackage/2017-10-12/paginators-1.json +0 -16
- 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 -735
- 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 -524
- data/apis/mediatailor/2018-04-23/paginators-1.json +0 -3
- data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -344
- data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
- data/apis/meteringmarketplace/2016-01-14/paginators-1.json +0 -4
- 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 -1525
- data/apis/monitoring/2010-08-01/examples-1.json +0 -5
- data/apis/monitoring/2010-08-01/paginators-1.json +0 -38
- 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 -2538
- 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/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 -766
- 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 -2317
- data/apis/organizations/2016-11-28/examples-1.json +0 -1409
- data/apis/organizations/2016-11-28/paginators-1.json +0 -74
- 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 -129
- 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 -1703
- data/apis/personalize/2018-05-22/examples-1.json +0 -5
- data/apis/personalize/2018-05-22/paginators-1.json +0 -58
- 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 -2080
- 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 -8526
- data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
- data/apis/polly/2016-06-10/api-2.json +0 -830
- 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 -1223
- data/apis/quicksight/2018-04-01/examples-1.json +0 -5
- data/apis/quicksight/2018-04-01/paginators-1.json +0 -4
- data/apis/ram/2018-01-04/api-2.json +0 -1021
- 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 -540
- 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 -6588
- data/apis/rds/2014-10-31/examples-1.json +0 -1951
- data/apis/rds/2014-10-31/paginators-1.json +0 -128
- 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 -4995
- data/apis/redshift/2012-12-01/examples-1.json +0 -5
- data/apis/redshift/2012-12-01/paginators-1.json +0 -100
- 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 -2142
- data/apis/rekognition/2016-06-27/examples-1.json +0 -651
- data/apis/rekognition/2016-06-27/paginators-1.json +0 -51
- data/apis/rekognition/2016-06-27/smoke.json +0 -11
- 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 -329
- data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
- data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
- data/apis/robomaker/2018-06-29/api-2.json +0 -2138
- 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 -680
- 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 -152
- 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 -6576
- 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 -1044
- data/apis/s3control/2018-08-20/examples-1.json +0 -5
- data/apis/s3control/2018-08-20/paginators-1.json +0 -9
- data/apis/sagemaker/2017-07-24/api-2.json +0 -5257
- data/apis/sagemaker/2017-07-24/examples-1.json +0 -5
- data/apis/sagemaker/2017-07-24/paginators-1.json +0 -84
- data/apis/sagemaker/2017-07-24/waiters-2.json +0 -163
- 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 -2105
- 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 -1774
- 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/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 -670
- 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 -929
- 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 -8916
- 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/states/2016-11-23/api-2.json +0 -1409
- 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 -3166
- 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 -562
- data/apis/sts/2011-06-15/examples-1.json +0 -207
- 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 -772
- data/apis/support/2013-04-15/examples-1.json +0 -5
- data/apis/support/2013-04-15/paginators-1.json +0 -25
- 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 -572
- 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/2017-10-26/api-2.json +0 -516
- data/apis/transcribe/2017-10-26/examples-1.json +0 -5
- data/apis/transcribe/2017-10-26/paginators-1.json +0 -14
- data/apis/transfer/2018-11-05/api-2.json +0 -857
- 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 -408
- data/apis/translate/2017-07-01/examples-1.json +0 -5
- data/apis/translate/2017-07-01/paginators-1.json +0 -4
- 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/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 -1764
- 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 -5213
- 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 -299
- 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/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/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 -5
- 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/codepipeline.rb +0 -6
- data/lib/aws-sdk-core/codestar.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/configservice.rb +0 -6
- data/lib/aws-sdk-core/connect.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/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/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/ec2.rb +0 -8
- data/lib/aws-sdk-core/ec2instanceconnect.rb +0 -6
- data/lib/aws-sdk-core/ecr.rb +0 -6
- 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/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 -104
- 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/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/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/iotthingsgraph.rb +0 -6
- data/lib/aws-sdk-core/kafka.rb +0 -5
- 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/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/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/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/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/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_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/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 -6
- 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/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/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/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/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 -769
@@ -0,0 +1,151 @@
|
|
1
|
+
if RUBY_VERSION >= '2.1'
|
2
|
+
begin
|
3
|
+
require 'http/2'
|
4
|
+
rescue LoadError; end
|
5
|
+
end
|
6
|
+
require 'securerandom'
|
7
|
+
|
8
|
+
module Seahorse
|
9
|
+
module Client
|
10
|
+
# @api private
|
11
|
+
module H2
|
12
|
+
|
13
|
+
NETWORK_ERRORS = [
|
14
|
+
SocketError, EOFError, IOError, Timeout::Error,
|
15
|
+
Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE,
|
16
|
+
Errno::EINVAL, Errno::ETIMEDOUT, OpenSSL::SSL::SSLError,
|
17
|
+
Errno::EHOSTUNREACH, Errno::ECONNREFUSED,# OpenSSL::SSL::SSLErrorWaitReadable
|
18
|
+
]
|
19
|
+
|
20
|
+
# @api private
|
21
|
+
DNS_ERROR_MESSAGES = [
|
22
|
+
'getaddrinfo: nodename nor servname provided, or not known', # MacOS
|
23
|
+
'getaddrinfo: Name or service not known' # GNU
|
24
|
+
]
|
25
|
+
|
26
|
+
class Handler < Client::Handler
|
27
|
+
|
28
|
+
def call(context)
|
29
|
+
stream = nil
|
30
|
+
begin
|
31
|
+
conn = context.client.connection
|
32
|
+
stream = conn.new_stream
|
33
|
+
|
34
|
+
stream_mutex = Mutex.new
|
35
|
+
close_condition = ConditionVariable.new
|
36
|
+
sync_queue = Queue.new
|
37
|
+
|
38
|
+
conn.connect(context.http_request.endpoint)
|
39
|
+
_register_callbacks(
|
40
|
+
context.http_response,
|
41
|
+
stream,
|
42
|
+
stream_mutex,
|
43
|
+
close_condition,
|
44
|
+
sync_queue
|
45
|
+
)
|
46
|
+
|
47
|
+
conn.debug_output("sending initial request ...")
|
48
|
+
if input_emitter = context[:input_event_emitter]
|
49
|
+
_send_initial_headers(context.http_request, stream)
|
50
|
+
|
51
|
+
# prepare for sending events later
|
52
|
+
input_emitter.stream = stream
|
53
|
+
# request sigv4 serves as the initial #prior_signature
|
54
|
+
input_emitter.encoder.prior_signature =
|
55
|
+
context.http_request.headers['authorization'].split('Signature=').last
|
56
|
+
input_emitter.validate_event = context.config.validate_params
|
57
|
+
else
|
58
|
+
_send_initial_headers(context.http_request, stream)
|
59
|
+
_send_initial_data(context.http_request, stream)
|
60
|
+
end
|
61
|
+
|
62
|
+
conn.start(stream)
|
63
|
+
rescue *NETWORK_ERRORS => error
|
64
|
+
error = NetworkingError.new(
|
65
|
+
error, error_message(context.http_request, error))
|
66
|
+
context.http_response.signal_error(error)
|
67
|
+
rescue => error
|
68
|
+
conn.debug_output(error.inspect)
|
69
|
+
# not retryable
|
70
|
+
context.http_response.signal_error(error)
|
71
|
+
end
|
72
|
+
|
73
|
+
AsyncResponse.new(
|
74
|
+
context: context,
|
75
|
+
stream: stream,
|
76
|
+
stream_mutex: stream_mutex,
|
77
|
+
close_condition: close_condition,
|
78
|
+
sync_queue: sync_queue
|
79
|
+
)
|
80
|
+
end
|
81
|
+
|
82
|
+
private
|
83
|
+
|
84
|
+
def _register_callbacks(resp, stream, stream_mutex, close_condition, sync_queue)
|
85
|
+
stream.on(:headers) do |headers|
|
86
|
+
resp.signal_headers(headers)
|
87
|
+
end
|
88
|
+
|
89
|
+
stream.on(:data) do |data|
|
90
|
+
resp.signal_data(data)
|
91
|
+
end
|
92
|
+
|
93
|
+
stream.on(:close) do
|
94
|
+
resp.signal_done
|
95
|
+
# block until #wait is ready for signal
|
96
|
+
# else deadlock may happen because #signal happened
|
97
|
+
# eariler than #wait (see AsyncResponse#wait)
|
98
|
+
sync_queue.pop
|
99
|
+
stream_mutex.synchronize {
|
100
|
+
close_condition.signal
|
101
|
+
}
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
def _send_initial_headers(req, stream)
|
106
|
+
begin
|
107
|
+
headers = _h2_headers(req)
|
108
|
+
stream.headers(headers, end_stream: false)
|
109
|
+
rescue => e
|
110
|
+
raise Http2InitialRequestError.new(e)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
def _send_initial_data(req, stream)
|
115
|
+
begin
|
116
|
+
data = req.body.read
|
117
|
+
stream.data(data, end_stream: true)
|
118
|
+
rescue => e
|
119
|
+
raise Http2InitialRequestError.new(e)
|
120
|
+
end
|
121
|
+
data
|
122
|
+
end
|
123
|
+
|
124
|
+
# H2 pseudo headers
|
125
|
+
# https://http2.github.io/http2-spec/#rfc.section.8.1.2.3
|
126
|
+
def _h2_headers(req)
|
127
|
+
headers = {}
|
128
|
+
headers[':method'] = req.http_method.upcase
|
129
|
+
headers[':scheme'] = req.endpoint.scheme
|
130
|
+
headers[':path'] = req.endpoint.path.empty? ? '/' : req.endpoint.path
|
131
|
+
if req.endpoint.query && !req.endpoint.query.empty?
|
132
|
+
headers[':path'] += "?#{req.endpoint.query}"
|
133
|
+
end
|
134
|
+
req.headers.each {|k, v| headers[k.downcase] = v }
|
135
|
+
headers
|
136
|
+
end
|
137
|
+
|
138
|
+
def error_message(req, error)
|
139
|
+
if error.is_a?(SocketError) && DNS_ERROR_MESSAGES.include?(error.message)
|
140
|
+
host = req.endpoint.host
|
141
|
+
"unable to connect to `#{host}`; SocketError: #{error.message}"
|
142
|
+
else
|
143
|
+
error.message
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module Seahorse
|
2
|
+
module Client
|
3
|
+
module Http
|
4
|
+
class AsyncResponse < Seahorse::Client::Http::Response
|
5
|
+
|
6
|
+
def initialize(options = {})
|
7
|
+
super
|
8
|
+
end
|
9
|
+
|
10
|
+
def signal_headers(headers)
|
11
|
+
# H2 headers arrive as array of pair
|
12
|
+
hash = headers.inject({}) do |h, pair|
|
13
|
+
key, value = pair
|
14
|
+
h[key] = value
|
15
|
+
h
|
16
|
+
end
|
17
|
+
@status_code = hash[":status"].to_i
|
18
|
+
@headers = Headers.new(hash)
|
19
|
+
emit(:headers, @status_code, @headers)
|
20
|
+
end
|
21
|
+
|
22
|
+
def signal_done(options = {})
|
23
|
+
# H2 only has header and body
|
24
|
+
# ':status' header will be sent back
|
25
|
+
if options.keys.sort == [:body, :headers]
|
26
|
+
signal_headers(options[:headers])
|
27
|
+
signal_data(options[:body])
|
28
|
+
signal_done
|
29
|
+
elsif options.empty?
|
30
|
+
@body.rewind if @body.respond_to?(:rewind)
|
31
|
+
@done = true
|
32
|
+
emit(:done)
|
33
|
+
else
|
34
|
+
msg = "options must be empty or must contain :headers and :body"
|
35
|
+
raise ArgumentError, msg
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -40,12 +40,17 @@ module Seahorse
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
# @return [String]
|
43
|
+
# @return [String|Array]
|
44
44
|
def body_contents
|
45
|
-
body.
|
46
|
-
|
47
|
-
|
48
|
-
|
45
|
+
if body.is_a?(Array)
|
46
|
+
# an array of parsed events
|
47
|
+
body
|
48
|
+
else
|
49
|
+
body.rewind
|
50
|
+
contents = body.read
|
51
|
+
body.rewind
|
52
|
+
contents
|
53
|
+
end
|
49
54
|
end
|
50
55
|
|
51
56
|
# @param [Integer] status_code
|
@@ -1,13 +1,17 @@
|
|
1
|
+
require 'cgi'
|
1
2
|
require 'net/http'
|
2
3
|
require 'net/https'
|
3
4
|
require 'delegate'
|
4
5
|
require 'thread'
|
5
6
|
require 'logger'
|
6
7
|
|
8
|
+
require_relative 'patches'
|
9
|
+
|
7
10
|
Seahorse::Client::NetHttp::Patches.apply!
|
8
11
|
|
9
12
|
module Seahorse
|
10
13
|
module Client
|
14
|
+
# @api private
|
11
15
|
module NetHttp
|
12
16
|
|
13
17
|
class ConnectionPool
|
@@ -249,6 +253,17 @@ module Seahorse
|
|
249
253
|
|
250
254
|
private
|
251
255
|
|
256
|
+
# Extract the parts of the http_proxy URI
|
257
|
+
# @return [Array(String)]
|
258
|
+
def http_proxy_parts
|
259
|
+
return [
|
260
|
+
http_proxy.host,
|
261
|
+
http_proxy.port,
|
262
|
+
(http_proxy.user && CGI::unescape(http_proxy.user)),
|
263
|
+
(http_proxy.password && CGI::unescape(http_proxy.password))
|
264
|
+
]
|
265
|
+
end
|
266
|
+
|
252
267
|
# Starts and returns a new HTTP(S) session.
|
253
268
|
# @param [String] endpoint
|
254
269
|
# @return [Net::HTTPSession]
|
@@ -259,10 +274,7 @@ module Seahorse
|
|
259
274
|
args = []
|
260
275
|
args << endpoint.host
|
261
276
|
args << endpoint.port
|
262
|
-
args
|
263
|
-
args << http_proxy.port
|
264
|
-
args << http_proxy.user
|
265
|
-
args << http_proxy.password
|
277
|
+
args += http_proxy_parts
|
266
278
|
|
267
279
|
http = ExtendedSession.new(Net::HTTP.new(*args.compact))
|
268
280
|
http.set_debug_output(logger) if http_wire_trace?
|
@@ -1,7 +1,9 @@
|
|
1
|
+
require 'net/https'
|
1
2
|
require 'openssl'
|
2
3
|
|
3
4
|
module Seahorse
|
4
5
|
module Client
|
6
|
+
# @api private
|
5
7
|
module NetHttp
|
6
8
|
|
7
9
|
# The default HTTP handler for Seahorse::Client. This is based on
|
@@ -117,6 +119,9 @@ module Seahorse
|
|
117
119
|
|
118
120
|
def session(config, req, &block)
|
119
121
|
pool_for(config).session_for(req.endpoint) do |http|
|
122
|
+
# Ruby 2.5, can disable retries for idempotent operations
|
123
|
+
# avoid patching for Ruby 2.5 for disable retry
|
124
|
+
http.max_retries = 0 if http.respond_to?(:max_retries)
|
120
125
|
http.read_timeout = config.http_read_timeout
|
121
126
|
yield(http)
|
122
127
|
end
|
@@ -2,12 +2,20 @@ require 'net/http'
|
|
2
2
|
|
3
3
|
module Seahorse
|
4
4
|
module Client
|
5
|
+
# @api private
|
5
6
|
module NetHttp
|
6
7
|
|
7
8
|
# @api private
|
8
9
|
module Patches
|
9
10
|
|
10
11
|
def self.apply!
|
12
|
+
return unless RUBY_VERSION < '2.5'
|
13
|
+
if RUBY_VERSION >= '2.3'
|
14
|
+
Net::HTTP::IDEMPOTENT_METHODS_.clear
|
15
|
+
return
|
16
|
+
end
|
17
|
+
# no further patches needed for above versions
|
18
|
+
|
11
19
|
if RUBY_VERSION >= '2.0'
|
12
20
|
Net::HTTP.send(:include, Ruby_2)
|
13
21
|
Net::HTTP::IDEMPOTENT_METHODS_.clear
|
@@ -28,7 +36,7 @@ module Seahorse
|
|
28
36
|
begin
|
29
37
|
res = Net::HTTPResponse.read_new(@socket)
|
30
38
|
res.decode_content = req.decode_content
|
31
|
-
end while res.kind_of?(Net::
|
39
|
+
end while res.kind_of?(Net::HTTPInformation)
|
32
40
|
|
33
41
|
res.uri = req.uri
|
34
42
|
|
@@ -11,5 +11,33 @@ module Seahorse
|
|
11
11
|
attr_reader :original_error
|
12
12
|
|
13
13
|
end
|
14
|
+
|
15
|
+
# Raised when sending initial headers and data failed
|
16
|
+
# for event stream requests over Http2
|
17
|
+
class Http2InitialRequestError < StandardError
|
18
|
+
|
19
|
+
def initialize(error)
|
20
|
+
@original_error = error
|
21
|
+
end
|
22
|
+
|
23
|
+
# @return [HTTP2::Error]
|
24
|
+
attr_reader :original_error
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
# Raised when connection failed to initialize a new stream
|
29
|
+
class Http2StreamInitializeError < StandardError
|
30
|
+
|
31
|
+
def initialize(error)
|
32
|
+
@original_error = error
|
33
|
+
end
|
34
|
+
|
35
|
+
# @return [HTTP2::Error]
|
36
|
+
attr_reader :original_error
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
# Rasied when trying to use an closed connection
|
41
|
+
class Http2ConnectionClosedError < StandardError; end
|
14
42
|
end
|
15
43
|
end
|
@@ -7,8 +7,12 @@ module Seahorse
|
|
7
7
|
# @param [Configuration] config
|
8
8
|
# @return [void]
|
9
9
|
def add_options(config)
|
10
|
-
self.class.options.each do |
|
11
|
-
|
10
|
+
self.class.options.each do |option|
|
11
|
+
if option.default_block
|
12
|
+
config.add_option(option.name, &option.default_block)
|
13
|
+
else
|
14
|
+
config.add_option(option.name, option.default)
|
15
|
+
end
|
12
16
|
end
|
13
17
|
end
|
14
18
|
|
@@ -38,12 +42,24 @@ module Seahorse
|
|
38
42
|
|
39
43
|
class << self
|
40
44
|
|
41
|
-
|
42
|
-
|
43
|
-
|
45
|
+
# @overload option(name, options = {}, &block)
|
46
|
+
# @option options [Object] :default Can also be set by passing a block.
|
47
|
+
# @option options [String] :doc_default
|
48
|
+
# @option options [Boolean] :required
|
49
|
+
# @option options [String] :doc_type
|
50
|
+
# @option options [String] :docs
|
51
|
+
# @return [void]
|
52
|
+
def option(name, default = nil, options = {}, &block)
|
53
|
+
# For backwards-compat reasons, the default value can be passed as 2nd
|
54
|
+
# positional argument (before the options hash) or as the `:default` option
|
55
|
+
# in the options hash.
|
56
|
+
if Hash === default
|
57
|
+
options = default
|
44
58
|
else
|
45
|
-
options
|
59
|
+
options[:default] = default
|
46
60
|
end
|
61
|
+
options[:default_block] = block if block_given?
|
62
|
+
self.options << PluginOption.new(name, options)
|
47
63
|
end
|
48
64
|
|
49
65
|
def before_initialize(&block)
|
@@ -74,6 +90,50 @@ module Seahorse
|
|
74
90
|
@after_initialize_hooks ||= []
|
75
91
|
end
|
76
92
|
|
93
|
+
# @api private
|
94
|
+
def literal(string)
|
95
|
+
CodeLiteral.new(string)
|
96
|
+
end
|
97
|
+
|
98
|
+
# @api private
|
99
|
+
class CodeLiteral < String
|
100
|
+
def inspect
|
101
|
+
to_s
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
# @api private
|
108
|
+
class PluginOption
|
109
|
+
|
110
|
+
def initialize(name, options = {})
|
111
|
+
@name = name
|
112
|
+
options.each_pair do |opt_name, opt_value|
|
113
|
+
self.send("#{opt_name}=", opt_value)
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
attr_reader :name
|
118
|
+
attr_accessor :default
|
119
|
+
attr_accessor :default_block
|
120
|
+
attr_accessor :required
|
121
|
+
attr_accessor :doc_type
|
122
|
+
attr_accessor :doc_default
|
123
|
+
attr_accessor :docstring
|
124
|
+
|
125
|
+
def doc_default
|
126
|
+
if @doc_default.nil?
|
127
|
+
Proc === default ? nil : default
|
128
|
+
else
|
129
|
+
@doc_default
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
def documented?
|
134
|
+
!!docstring
|
135
|
+
end
|
136
|
+
|
77
137
|
end
|
78
138
|
end
|
79
139
|
end
|