aws-sdk-core 2.9.44 → 3.1.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/client_stubs.rb +1 -2
- data/lib/aws-sdk-core/credential_provider.rb +2 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +2 -1
- data/lib/aws-sdk-core/errors.rb +19 -8
- data/lib/aws-sdk-core/ini_parser.rb +1 -0
- data/lib/aws-sdk-core/json/handler.rb +3 -2
- data/lib/aws-sdk-core/json/parser.rb +1 -1
- data/lib/aws-sdk-core/json.rb +4 -5
- 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 +10 -4
- data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -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/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/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 +11 -8
- data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
- data/lib/aws-sdk-core/plugins/signature_v4.rb +139 -0
- data/lib/aws-sdk-core/plugins/stub_responses.rb +13 -11
- data/lib/aws-sdk-core/plugins/user_agent.rb +17 -6
- data/lib/aws-sdk-core/query/handler.rb +15 -16
- data/lib/aws-sdk-core/query/param_builder.rb +1 -1
- data/lib/aws-sdk-core/query.rb +5 -0
- data/lib/aws-sdk-core/resources/collection.rb +121 -0
- data/lib/aws-sdk-core/rest/handler.rb +1 -0
- data/lib/aws-sdk-core/rest/response/parser.rb +14 -14
- data/lib/aws-sdk-core/rest.rb +10 -0
- data/lib/aws-sdk-core/shared_config.rb +1 -1
- data/lib/aws-sdk-core/shared_credentials.rb +2 -0
- data/lib/aws-sdk-core/structure.rb +17 -12
- data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
- data/lib/aws-sdk-core/stubbing/empty_stub.rb +6 -2
- data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
- data/lib/aws-sdk-core/stubbing/stub_data.rb +4 -0
- data/lib/aws-sdk-core/util.rb +39 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- 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/waiters.rb +3 -0
- data/lib/aws-sdk-core/xml/builder.rb +2 -2
- data/lib/aws-sdk-core/xml/error_handler.rb +1 -2
- data/lib/aws-sdk-core/xml/parser/frame.rb +4 -4
- data/lib/aws-sdk-core/xml/parser.rb +1 -11
- data/lib/aws-sdk-core/xml.rb +9 -0
- data/lib/aws-sdk-core.rb +66 -454
- data/lib/aws-sdk-sts/client.rb +1439 -0
- data/lib/aws-sdk-sts/client_api.rb +264 -0
- data/lib/aws-sdk-sts/customizations.rb +0 -0
- data/lib/aws-sdk-sts/errors.rb +14 -0
- data/lib/aws-sdk-sts/resource.rb +23 -0
- data/lib/aws-sdk-sts/types.rb +919 -0
- data/lib/aws-sdk-sts.rb +45 -0
- data/lib/seahorse/client/base.rb +1 -7
- 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 +3 -0
- data/lib/seahorse/client/net_http/handler.rb +2 -0
- data/lib/seahorse/client/net_http/patches.rb +1 -0
- data/lib/seahorse/client/plugin.rb +66 -6
- data/lib/seahorse/client/plugins/endpoint.rb +14 -10
- 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 +2 -0
- data/lib/seahorse/model/api.rb +4 -0
- data/lib/seahorse/model/shapes.rb +18 -2
- data/lib/seahorse/util.rb +0 -20
- data/lib/seahorse.rb +50 -60
- metadata +36 -557
- data/apis/acm/2015-12-08/api-2.json +0 -595
- data/apis/acm/2015-12-08/examples-1.json +0 -5
- data/apis/acm/2015-12-08/paginators-1.json +0 -10
- data/apis/apigateway/2015-07-09/api-2.json +0 -4733
- data/apis/apigateway/2015-07-09/examples-1.json +0 -5
- data/apis/apigateway/2015-07-09/paginators-1.json +0 -70
- data/apis/application-autoscaling/2016-02-06/api-2.json +0 -601
- data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -257
- data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -22
- data/apis/appstream/2016-12-01/api-2.json +0 -944
- data/apis/appstream/2016-12-01/examples-1.json +0 -5
- data/apis/appstream/2016-12-01/paginators-1.json +0 -4
- data/apis/appstream/2016-12-01/waiters-2.json +0 -55
- data/apis/athena/2017-05-18/api-2.json +0 -615
- data/apis/athena/2017-05-18/examples-1.json +0 -5
- data/apis/athena/2017-05-18/paginators-1.json +0 -19
- data/apis/autoscaling/2011-01-01/api-2.json +0 -2172
- 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/waiters-2.json +0 -62
- data/apis/batch/2016-08-10/api-2.json +0 -920
- data/apis/batch/2016-08-10/examples-1.json +0 -589
- data/apis/batch/2016-08-10/paginators-1.json +0 -4
- data/apis/budgets/2016-10-20/api-2.json +0 -697
- data/apis/budgets/2016-10-20/examples-1.json +0 -5
- data/apis/budgets/2016-10-20/paginators-1.json +0 -4
- data/apis/clouddirectory/2016-05-10/api-2.json +0 -3595
- data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
- data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
- data/apis/cloudformation/2010-05-15/api-2.json +0 -1464
- data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
- data/apis/cloudformation/2010-05-15/paginators-1.json +0 -37
- 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 -2689
- 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/cloudhsm/2014-05-30/api-2.json +0 -878
- data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
- 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 -912
- data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
- data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
- data/apis/codebuild/2016-10-06/api-2.json +0 -704
- data/apis/codebuild/2016-10-06/examples-1.json +0 -5
- data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
- data/apis/codecommit/2015-04-13/api-2.json +0 -1112
- data/apis/codecommit/2015-04-13/examples-1.json +0 -5
- data/apis/codecommit/2015-04-13/paginators-1.json +0 -19
- data/apis/codedeploy/2014-10-06/api-2.json +0 -2380
- 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/waiters-2.json +0 -30
- data/apis/codepipeline/2015-07-09/api-2.json +0 -1714
- data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
- data/apis/codestar/2017-04-19/api-2.json +0 -755
- data/apis/codestar/2017-04-19/examples-1.json +0 -5
- data/apis/codestar/2017-04-19/paginators-1.json +0 -4
- data/apis/cognito-identity/2014-06-30/api-2.json +0 -943
- 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 -3847
- data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
- data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -4
- data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
- data/apis/config/2014-11-12/api-2.json +0 -1418
- data/apis/config/2014-11-12/examples-1.json +0 -5
- data/apis/config/2014-11-12/paginators-1.json +0 -10
- data/apis/cur/2017-01-06/api-2.json +0 -226
- data/apis/cur/2017-01-06/examples-1.json +0 -5
- data/apis/cur/2017-01-06/paginators-1.json +0 -9
- data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
- data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
- data/apis/devicefarm/2015-06-23/api-2.json +0 -2312
- data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
- data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
- data/apis/directconnect/2012-10-25/api-2.json +0 -1351
- data/apis/directconnect/2012-10-25/examples-1.json +0 -5
- data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
- data/apis/discovery/2015-11-01/api-2.json +0 -938
- data/apis/discovery/2015-11-01/examples-1.json +0 -5
- data/apis/discovery/2015-11-01/paginators-1.json +0 -4
- data/apis/dms/2016-01-01/api-2.json +0 -1881
- data/apis/dms/2016-01-01/examples-1.json +0 -1053
- data/apis/dms/2016-01-01/paginators-1.json +0 -64
- data/apis/ds/2015-04-16/api-2.json +0 -1972
- data/apis/ds/2015-04-16/examples-1.json +0 -5
- data/apis/dynamodb/2011-12-05/api-2.json +0 -802
- 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/waiters-2.json +0 -35
- data/apis/dynamodb/2012-08-10/api-2.json +0 -1405
- data/apis/dynamodb/2012-08-10/examples-1.json +0 -628
- 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/waiters-2.json +0 -35
- 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 -15590
- data/apis/ec2/2016-11-15/examples-1.json +0 -3740
- data/apis/ec2/2016-11-15/paginators-1.json +0 -144
- data/apis/ec2/2016-11-15/resources-1.json +0 -2582
- data/apis/ec2/2016-11-15/waiters-2.json +0 -611
- data/apis/ecr/2015-09-21/api-2.json +0 -947
- data/apis/ecr/2015-09-21/examples-1.json +0 -215
- data/apis/ecr/2015-09-21/paginators-1.json +0 -22
- data/apis/ecs/2014-11-13/api-2.json +0 -1629
- data/apis/ecs/2014-11-13/examples-1.json +0 -883
- data/apis/ecs/2014-11-13/paginators-1.json +0 -40
- data/apis/ecs/2014-11-13/waiters-2.json +0 -93
- data/apis/elasticache/2015-02-02/api-2.json +0 -2550
- data/apis/elasticache/2015-02-02/examples-1.json +0 -3145
- data/apis/elasticache/2015-02-02/paginators-1.json +0 -76
- data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
- data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2332
- data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
- data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
- data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -714
- data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -222
- data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1629
- 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/waiters-2.json +0 -49
- data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -1867
- 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/waiters-2.json +0 -64
- data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2056
- data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
- data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -37
- data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
- data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1483
- 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/waiters-2.json +0 -30
- data/apis/email/2010-12-01/api-2.json +0 -2212
- data/apis/email/2010-12-01/examples-1.json +0 -953
- data/apis/email/2010-12-01/paginators-1.json +0 -13
- 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 -862
- data/apis/es/2015-01-01/examples-1.json +0 -5
- data/apis/es/2015-01-01/paginators-1.json +0 -14
- data/apis/events/2015-10-07/api-2.json +0 -649
- data/apis/events/2015-10-07/examples-1.json +0 -5
- data/apis/events/2015-10-07/paginators-1.json +0 -4
- data/apis/firehose/2015-08-04/api-2.json +0 -866
- data/apis/firehose/2015-08-04/examples-1.json +0 -5
- data/apis/gamelift/2015-10-01/api-2.json +0 -2316
- data/apis/gamelift/2015-10-01/examples-1.json +0 -5
- data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
- data/apis/glacier/2012-06-01/api-2.json +0 -1734
- 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/waiters-2.json +0 -39
- data/apis/greengrass/2017-06-07/api-2.json +0 -3451
- data/apis/health/2016-08-04/api-2.json +0 -547
- data/apis/health/2016-08-04/examples-1.json +0 -5
- data/apis/health/2016-08-04/paginators-1.json +0 -31
- data/apis/iam/2010-05-08/api-2.json +0 -4832
- data/apis/iam/2010-05-08/examples-1.json +0 -1191
- 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/waiters-2.json +0 -39
- 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 -2051
- data/apis/inspector/2016-02-16/examples-1.json +0 -1147
- data/apis/inspector/2016-02-16/paginators-1.json +0 -4
- data/apis/iot/2015-05-28/api-2.json +0 -2928
- 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-data/2015-05-28/api-2.json +0 -264
- data/apis/kinesis/2013-12-02/api-2.json +0 -890
- data/apis/kinesis/2013-12-02/examples-1.json +0 -5
- data/apis/kinesis/2013-12-02/paginators-1.json +0 -18
- data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
- data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1175
- data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
- data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
- data/apis/kms/2014-11-01/api-2.json +0 -1492
- data/apis/kms/2014-11-01/examples-1.json +0 -904
- data/apis/kms/2014-11-01/paginators-1.json +0 -32
- 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 -1647
- data/apis/lambda/2015-03-31/examples-1.json +0 -614
- data/apis/lambda/2015-03-31/paginators-1.json +0 -16
- data/apis/lex-models/2017-04-19/api-2.json +0 -2033
- 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/lightsail/2016-11-28/api-2.json +0 -2187
- data/apis/lightsail/2016-11-28/examples-1.json +0 -5
- data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
- data/apis/logs/2014-03-28/api-2.json +0 -1246
- data/apis/logs/2014-03-28/examples-1.json +0 -5
- data/apis/logs/2014-03-28/paginators-1.json +0 -49
- 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/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -171
- data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
- data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
- data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -263
- data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
- data/apis/monitoring/2010-08-01/api-2.json +0 -827
- data/apis/monitoring/2010-08-01/examples-1.json +0 -5
- data/apis/monitoring/2010-08-01/paginators-1.json +0 -24
- data/apis/monitoring/2010-08-01/resources-1.json +0 -346
- data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
- data/apis/mturk-requester/2017-01-17/api-2.json +0 -1665
- 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/opsworks/2013-02-18/api-2.json +0 -2839
- 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/waiters-2.json +0 -295
- data/apis/opsworkscm/2016-11-01/api-2.json +0 -730
- data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
- data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
- data/apis/organizations/2016-11-28/api-2.json +0 -2006
- data/apis/organizations/2016-11-28/examples-1.json +0 -1409
- data/apis/organizations/2016-11-28/paginators-1.json +0 -64
- data/apis/pinpoint/2016-12-01/api-2.json +0 -3949
- data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
- data/apis/polly/2016-06-10/api-2.json +0 -539
- data/apis/polly/2016-06-10/examples-1.json +0 -171
- data/apis/polly/2016-06-10/paginators-1.json +0 -4
- data/apis/rds/2013-01-10/api-2.json +0 -2902
- 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-02-12/api-2.json +0 -3058
- 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-09-09/api-2.json +0 -3159
- 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/waiters-2.json +0 -97
- data/apis/rds/2014-09-01/api-2.json +0 -3272
- 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-10-31/api-2.json +0 -5187
- data/apis/rds/2014-10-31/examples-1.json +0 -1951
- data/apis/rds/2014-10-31/paginators-1.json +0 -110
- data/apis/rds/2014-10-31/resources-1.json +0 -3272
- data/apis/rds/2014-10-31/waiters-2.json +0 -90
- data/apis/redshift/2012-12-01/api-2.json +0 -3840
- data/apis/redshift/2012-12-01/examples-1.json +0 -5
- data/apis/redshift/2012-12-01/paginators-1.json +0 -94
- data/apis/redshift/2012-12-01/waiters-2.json +0 -97
- data/apis/rekognition/2016-06-27/api-2.json +0 -992
- data/apis/rekognition/2016-06-27/examples-1.json +0 -651
- data/apis/rekognition/2016-06-27/paginators-1.json +0 -16
- data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -328
- data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
- data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
- data/apis/route53/2013-04-01/api-2.json +0 -3312
- 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/waiters-2.json +0 -18
- data/apis/route53domains/2014-05-15/api-2.json +0 -1323
- data/apis/route53domains/2014-05-15/examples-1.json +0 -5
- data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
- data/apis/runtime.lex/2016-11-28/api-2.json +0 -390
- 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/s3/2006-03-01/api-2.json +0 -5368
- 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 -1176
- data/apis/s3/2006-03-01/waiters-2.json +0 -73
- data/apis/sdb/2009-04-15/api-2.json +0 -955
- data/apis/sdb/2009-04-15/paginators-1.json +0 -15
- data/apis/servicecatalog/2015-12-10/api-2.json +0 -2022
- data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
- data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -4
- data/apis/shield/2016-06-02/api-2.json +0 -494
- data/apis/shield/2016-06-02/examples-1.json +0 -5
- data/apis/sms/2016-10-24/api-2.json +0 -612
- data/apis/sms/2016-10-24/examples-1.json +0 -5
- data/apis/sms/2016-10-24/paginators-1.json +0 -28
- data/apis/snowball/2016-06-30/api-2.json +0 -855
- data/apis/snowball/2016-06-30/examples-1.json +0 -442
- data/apis/snowball/2016-06-30/paginators-1.json +0 -16
- data/apis/sns/2010-03-31/api-2.json +0 -1145
- 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/sqs/2012-11-05/api-2.json +0 -988
- 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/ssm/2014-11-06/api-2.json +0 -5317
- data/apis/ssm/2014-11-06/examples-1.json +0 -5
- data/apis/ssm/2014-11-06/paginators-1.json +0 -40
- data/apis/states/2016-11-23/api-2.json +0 -1021
- data/apis/states/2016-11-23/examples-1.json +0 -5
- data/apis/states/2016-11-23/paginators-1.json +0 -28
- data/apis/storagegateway/2013-06-30/api-2.json +0 -2591
- data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
- data/apis/storagegateway/2013-06-30/paginators-1.json +0 -52
- 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 -522
- data/apis/sts/2011-06-15/examples-1.json +0 -206
- data/apis/sts/2011-06-15/paginators-1.json +0 -4
- 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 -2839
- data/apis/swf/2012-01-25/paginators-1.json +0 -46
- data/apis/waf/2015-08-24/api-2.json +0 -1959
- 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-regional/2016-11-28/api-2.json +0 -2090
- 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/workdocs/2016-05-01/api-2.json +0 -2684
- data/apis/workdocs/2016-05-01/examples-1.json +0 -5
- data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
- data/apis/workspaces/2015-04-08/api-2.json +0 -840
- data/apis/workspaces/2015-04-08/examples-1.json +0 -5
- data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
- data/apis/xray/2016-04-12/api-2.json +0 -492
- data/apis/xray/2016-04-12/examples-1.json +0 -5
- data/apis/xray/2016-04-12/paginators-1.json +0 -4
- data/bin/aws.rb +0 -180
- data/endpoints.json +0 -1935
- data/lib/aws-sdk-core/acm.rb +0 -6
- data/lib/aws-sdk-core/api/builder.rb +0 -106
- data/lib/aws-sdk-core/api/customizations.rb +0 -262
- 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 -142
- data/lib/aws-sdk-core/apigateway.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/appstream.rb +0 -7
- data/lib/aws-sdk-core/athena.rb +0 -6
- data/lib/aws-sdk-core/autoscaling.rb +0 -8
- 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/client.rb +0 -60
- data/lib/aws-sdk-core/client_waiters.rb +0 -120
- data/lib/aws-sdk-core/clouddirectory.rb +0 -6
- data/lib/aws-sdk-core/cloudformation.rb +0 -8
- 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/cloudfront.rb +0 -17
- data/lib/aws-sdk-core/cloudhsm.rb +0 -5
- 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 -5
- 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/configservice.rb +0 -6
- data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
- data/lib/aws-sdk-core/databasemigrationservice.rb +0 -6
- data/lib/aws-sdk-core/datapipeline.rb +0 -5
- 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 -5
- data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
- data/lib/aws-sdk-core/dynamodb.rb +0 -40
- data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
- data/lib/aws-sdk-core/ec2.rb +0 -8
- 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 -5
- 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/firehose.rb +0 -5
- data/lib/aws-sdk-core/gamelift.rb +0 -6
- data/lib/aws-sdk-core/glacier.rb +0 -8
- data/lib/aws-sdk-core/greengrass.rb +0 -4
- 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/iotdataplane.rb +0 -4
- data/lib/aws-sdk-core/kinesis.rb +0 -7
- data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
- data/lib/aws-sdk-core/kms.rb +0 -6
- data/lib/aws-sdk-core/lambda.rb +0 -6
- 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/lightsail.rb +0 -6
- data/lib/aws-sdk-core/machinelearning.rb +0 -7
- 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 -5
- data/lib/aws-sdk-core/mturk.rb +0 -6
- data/lib/aws-sdk-core/opsworks.rb +0 -8
- data/lib/aws-sdk-core/opsworkscm.rb +0 -6
- data/lib/aws-sdk-core/organizations.rb +0 -6
- 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 -74
- data/lib/aws-sdk-core/partitions.rb +0 -174
- data/lib/aws-sdk-core/pinpoint.rb +0 -5
- 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_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 -162
- 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/presigner.rb +0 -70
- data/lib/aws-sdk-core/polly.rb +0 -14
- data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
- data/lib/aws-sdk-core/rds.rb +0 -16
- data/lib/aws-sdk-core/redshift.rb +0 -7
- data/lib/aws-sdk-core/rekognition.rb +0 -6
- data/lib/aws-sdk-core/resourcegroupstaggingapi.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/s3/bucket_region_cache.rb +0 -75
- data/lib/aws-sdk-core/s3/presigner.rb +0 -116
- data/lib/aws-sdk-core/s3.rb +0 -26
- data/lib/aws-sdk-core/service.rb +0 -4
- data/lib/aws-sdk-core/servicecatalog.rb +0 -6
- data/lib/aws-sdk-core/ses.rb +0 -7
- data/lib/aws-sdk-core/shield.rb +0 -5
- 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 -5
- data/lib/aws-sdk-core/tree_hash.rb +0 -69
- 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/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 -405
@@ -1,883 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": "1.0",
|
3
|
-
"examples": {
|
4
|
-
"CreateCluster": [
|
5
|
-
{
|
6
|
-
"input": {
|
7
|
-
"clusterName": "my_cluster"
|
8
|
-
},
|
9
|
-
"output": {
|
10
|
-
"cluster": {
|
11
|
-
"activeServicesCount": 0,
|
12
|
-
"clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
|
13
|
-
"clusterName": "my_cluster",
|
14
|
-
"pendingTasksCount": 0,
|
15
|
-
"registeredContainerInstancesCount": 0,
|
16
|
-
"runningTasksCount": 0,
|
17
|
-
"status": "ACTIVE"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"comments": {
|
21
|
-
"input": {
|
22
|
-
},
|
23
|
-
"output": {
|
24
|
-
}
|
25
|
-
},
|
26
|
-
"description": "This example creates a cluster in your default region.",
|
27
|
-
"id": "to-create-a-new-cluster-1472514079365",
|
28
|
-
"title": "To create a new cluster"
|
29
|
-
}
|
30
|
-
],
|
31
|
-
"CreateService": [
|
32
|
-
{
|
33
|
-
"input": {
|
34
|
-
"desiredCount": 10,
|
35
|
-
"serviceName": "ecs-simple-service",
|
36
|
-
"taskDefinition": "hello_world"
|
37
|
-
},
|
38
|
-
"output": {
|
39
|
-
"service": {
|
40
|
-
"clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default",
|
41
|
-
"createdAt": "2016-08-29T16:13:47.298Z",
|
42
|
-
"deploymentConfiguration": {
|
43
|
-
"maximumPercent": 200,
|
44
|
-
"minimumHealthyPercent": 100
|
45
|
-
},
|
46
|
-
"deployments": [
|
47
|
-
{
|
48
|
-
"createdAt": "2016-08-29T16:13:47.298Z",
|
49
|
-
"desiredCount": 10,
|
50
|
-
"id": "ecs-svc/9223370564342348388",
|
51
|
-
"pendingCount": 0,
|
52
|
-
"runningCount": 0,
|
53
|
-
"status": "PRIMARY",
|
54
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
|
55
|
-
"updatedAt": "2016-08-29T16:13:47.298Z"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"createdAt": "2016-08-29T15:52:44.481Z",
|
59
|
-
"desiredCount": 0,
|
60
|
-
"id": "ecs-svc/9223370564343611322",
|
61
|
-
"pendingCount": 0,
|
62
|
-
"runningCount": 0,
|
63
|
-
"status": "ACTIVE",
|
64
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
|
65
|
-
"updatedAt": "2016-08-29T16:11:38.941Z"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"desiredCount": 10,
|
69
|
-
"events": [
|
70
|
-
|
71
|
-
],
|
72
|
-
"loadBalancers": [
|
73
|
-
|
74
|
-
],
|
75
|
-
"pendingCount": 0,
|
76
|
-
"runningCount": 0,
|
77
|
-
"serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
|
78
|
-
"serviceName": "ecs-simple-service",
|
79
|
-
"status": "ACTIVE",
|
80
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6"
|
81
|
-
}
|
82
|
-
},
|
83
|
-
"comments": {
|
84
|
-
"input": {
|
85
|
-
},
|
86
|
-
"output": {
|
87
|
-
}
|
88
|
-
},
|
89
|
-
"description": "This example creates a service in your default region called ``ecs-simple-service``. The service uses the ``hello_world`` task definition and it maintains 10 copies of that task.",
|
90
|
-
"id": "to-create-a-new-service-1472512584282",
|
91
|
-
"title": "To create a new service"
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"input": {
|
95
|
-
"desiredCount": 10,
|
96
|
-
"loadBalancers": [
|
97
|
-
{
|
98
|
-
"containerName": "simple-app",
|
99
|
-
"containerPort": 80,
|
100
|
-
"loadBalancerName": "EC2Contai-EcsElast-15DCDAURT3ZO2"
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"role": "ecsServiceRole",
|
104
|
-
"serviceName": "ecs-simple-service-elb",
|
105
|
-
"taskDefinition": "console-sample-app-static"
|
106
|
-
},
|
107
|
-
"output": {
|
108
|
-
"service": {
|
109
|
-
"clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default",
|
110
|
-
"createdAt": "2016-08-29T16:02:54.884Z",
|
111
|
-
"deploymentConfiguration": {
|
112
|
-
"maximumPercent": 200,
|
113
|
-
"minimumHealthyPercent": 100
|
114
|
-
},
|
115
|
-
"deployments": [
|
116
|
-
{
|
117
|
-
"createdAt": "2016-08-29T16:02:54.884Z",
|
118
|
-
"desiredCount": 10,
|
119
|
-
"id": "ecs-svc/9223370564343000923",
|
120
|
-
"pendingCount": 0,
|
121
|
-
"runningCount": 0,
|
122
|
-
"status": "PRIMARY",
|
123
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6",
|
124
|
-
"updatedAt": "2016-08-29T16:02:54.884Z"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"desiredCount": 10,
|
128
|
-
"events": [
|
129
|
-
|
130
|
-
],
|
131
|
-
"loadBalancers": [
|
132
|
-
{
|
133
|
-
"containerName": "simple-app",
|
134
|
-
"containerPort": 80,
|
135
|
-
"loadBalancerName": "EC2Contai-EcsElast-15DCDAURT3ZO2"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
"pendingCount": 0,
|
139
|
-
"roleArn": "arn:aws:iam::012345678910:role/ecsServiceRole",
|
140
|
-
"runningCount": 0,
|
141
|
-
"serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service-elb",
|
142
|
-
"serviceName": "ecs-simple-service-elb",
|
143
|
-
"status": "ACTIVE",
|
144
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6"
|
145
|
-
}
|
146
|
-
},
|
147
|
-
"comments": {
|
148
|
-
"input": {
|
149
|
-
},
|
150
|
-
"output": {
|
151
|
-
}
|
152
|
-
},
|
153
|
-
"description": "This example creates a service in your default region called ``ecs-simple-service-elb``. The service uses the ``ecs-demo`` task definition and it maintains 10 copies of that task. You must reference an existing load balancer in the same region by its name.",
|
154
|
-
"id": "to-create-a-new-service-behind-a-load-balancer-1472512484823",
|
155
|
-
"title": "To create a new service behind a load balancer"
|
156
|
-
}
|
157
|
-
],
|
158
|
-
"DeleteCluster": [
|
159
|
-
{
|
160
|
-
"input": {
|
161
|
-
"cluster": "my_cluster"
|
162
|
-
},
|
163
|
-
"output": {
|
164
|
-
"cluster": {
|
165
|
-
"activeServicesCount": 0,
|
166
|
-
"clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/my_cluster",
|
167
|
-
"clusterName": "my_cluster",
|
168
|
-
"pendingTasksCount": 0,
|
169
|
-
"registeredContainerInstancesCount": 0,
|
170
|
-
"runningTasksCount": 0,
|
171
|
-
"status": "INACTIVE"
|
172
|
-
}
|
173
|
-
},
|
174
|
-
"comments": {
|
175
|
-
"input": {
|
176
|
-
},
|
177
|
-
"output": {
|
178
|
-
}
|
179
|
-
},
|
180
|
-
"description": "This example deletes an empty cluster in your default region.",
|
181
|
-
"id": "to-delete-an-empty-cluster-1472512705352",
|
182
|
-
"title": "To delete an empty cluster"
|
183
|
-
}
|
184
|
-
],
|
185
|
-
"DeleteService": [
|
186
|
-
{
|
187
|
-
"input": {
|
188
|
-
"service": "my-http-service"
|
189
|
-
},
|
190
|
-
"output": {
|
191
|
-
},
|
192
|
-
"comments": {
|
193
|
-
"input": {
|
194
|
-
},
|
195
|
-
"output": {
|
196
|
-
}
|
197
|
-
},
|
198
|
-
"description": "This example deletes the my-http-service service. The service must have a desired count and running count of 0 before you can delete it.",
|
199
|
-
"id": "e8183e38-f86e-4390-b811-f74f30a6007d",
|
200
|
-
"title": "To delete a service"
|
201
|
-
}
|
202
|
-
],
|
203
|
-
"DeregisterContainerInstance": [
|
204
|
-
{
|
205
|
-
"input": {
|
206
|
-
"cluster": "default",
|
207
|
-
"containerInstance": "container_instance_UUID",
|
208
|
-
"force": true
|
209
|
-
},
|
210
|
-
"output": {
|
211
|
-
},
|
212
|
-
"comments": {
|
213
|
-
"input": {
|
214
|
-
},
|
215
|
-
"output": {
|
216
|
-
}
|
217
|
-
},
|
218
|
-
"description": "This example deregisters a container instance from the specified cluster in your default region. If there are still tasks running on the container instance, you must either stop those tasks before deregistering, or use the force option.",
|
219
|
-
"id": "bf624927-cf64-4f4b-8b7e-c024a4e682f6",
|
220
|
-
"title": "To deregister a container instance from a cluster"
|
221
|
-
}
|
222
|
-
],
|
223
|
-
"DescribeClusters": [
|
224
|
-
{
|
225
|
-
"input": {
|
226
|
-
"clusters": [
|
227
|
-
"default"
|
228
|
-
]
|
229
|
-
},
|
230
|
-
"output": {
|
231
|
-
"clusters": [
|
232
|
-
{
|
233
|
-
"clusterArn": "arn:aws:ecs:us-east-1:aws_account_id:cluster/default",
|
234
|
-
"clusterName": "default",
|
235
|
-
"status": "ACTIVE"
|
236
|
-
}
|
237
|
-
],
|
238
|
-
"failures": [
|
239
|
-
|
240
|
-
]
|
241
|
-
},
|
242
|
-
"comments": {
|
243
|
-
"input": {
|
244
|
-
},
|
245
|
-
"output": {
|
246
|
-
}
|
247
|
-
},
|
248
|
-
"description": "This example provides a description of the specified cluster in your default region.",
|
249
|
-
"id": "ba88d100-9672-4231-80da-a4bd210bf728",
|
250
|
-
"title": "To describe a cluster"
|
251
|
-
}
|
252
|
-
],
|
253
|
-
"DescribeContainerInstances": [
|
254
|
-
{
|
255
|
-
"input": {
|
256
|
-
"cluster": "default",
|
257
|
-
"containerInstances": [
|
258
|
-
"f2756532-8f13-4d53-87c9-aed50dc94cd7"
|
259
|
-
]
|
260
|
-
},
|
261
|
-
"output": {
|
262
|
-
"containerInstances": [
|
263
|
-
{
|
264
|
-
"agentConnected": true,
|
265
|
-
"containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/f2756532-8f13-4d53-87c9-aed50dc94cd7",
|
266
|
-
"ec2InstanceId": "i-807f3249",
|
267
|
-
"pendingTasksCount": 0,
|
268
|
-
"registeredResources": [
|
269
|
-
{
|
270
|
-
"name": "CPU",
|
271
|
-
"type": "INTEGER",
|
272
|
-
"doubleValue": 0.0,
|
273
|
-
"integerValue": 2048,
|
274
|
-
"longValue": 0
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"name": "MEMORY",
|
278
|
-
"type": "INTEGER",
|
279
|
-
"doubleValue": 0.0,
|
280
|
-
"integerValue": 3768,
|
281
|
-
"longValue": 0
|
282
|
-
},
|
283
|
-
{
|
284
|
-
"name": "PORTS",
|
285
|
-
"type": "STRINGSET",
|
286
|
-
"doubleValue": 0.0,
|
287
|
-
"integerValue": 0,
|
288
|
-
"longValue": 0,
|
289
|
-
"stringSetValue": [
|
290
|
-
"2376",
|
291
|
-
"22",
|
292
|
-
"51678",
|
293
|
-
"2375"
|
294
|
-
]
|
295
|
-
}
|
296
|
-
],
|
297
|
-
"remainingResources": [
|
298
|
-
{
|
299
|
-
"name": "CPU",
|
300
|
-
"type": "INTEGER",
|
301
|
-
"doubleValue": 0.0,
|
302
|
-
"integerValue": 1948,
|
303
|
-
"longValue": 0
|
304
|
-
},
|
305
|
-
{
|
306
|
-
"name": "MEMORY",
|
307
|
-
"type": "INTEGER",
|
308
|
-
"doubleValue": 0.0,
|
309
|
-
"integerValue": 3668,
|
310
|
-
"longValue": 0
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"name": "PORTS",
|
314
|
-
"type": "STRINGSET",
|
315
|
-
"doubleValue": 0.0,
|
316
|
-
"integerValue": 0,
|
317
|
-
"longValue": 0,
|
318
|
-
"stringSetValue": [
|
319
|
-
"2376",
|
320
|
-
"22",
|
321
|
-
"80",
|
322
|
-
"51678",
|
323
|
-
"2375"
|
324
|
-
]
|
325
|
-
}
|
326
|
-
],
|
327
|
-
"runningTasksCount": 1,
|
328
|
-
"status": "ACTIVE"
|
329
|
-
}
|
330
|
-
],
|
331
|
-
"failures": [
|
332
|
-
|
333
|
-
]
|
334
|
-
},
|
335
|
-
"comments": {
|
336
|
-
"input": {
|
337
|
-
},
|
338
|
-
"output": {
|
339
|
-
}
|
340
|
-
},
|
341
|
-
"description": "This example provides a description of the specified container instance in your default region, using the container instance UUID as an identifier.",
|
342
|
-
"id": "c8f439de-eb27-4269-8ca7-2c0a7ba75ab0",
|
343
|
-
"title": "To describe container instance"
|
344
|
-
}
|
345
|
-
],
|
346
|
-
"DescribeServices": [
|
347
|
-
{
|
348
|
-
"input": {
|
349
|
-
"services": [
|
350
|
-
"ecs-simple-service"
|
351
|
-
]
|
352
|
-
},
|
353
|
-
"output": {
|
354
|
-
"failures": [
|
355
|
-
|
356
|
-
],
|
357
|
-
"services": [
|
358
|
-
{
|
359
|
-
"clusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/default",
|
360
|
-
"createdAt": "2016-08-29T16:25:52.130Z",
|
361
|
-
"deploymentConfiguration": {
|
362
|
-
"maximumPercent": 200,
|
363
|
-
"minimumHealthyPercent": 100
|
364
|
-
},
|
365
|
-
"deployments": [
|
366
|
-
{
|
367
|
-
"createdAt": "2016-08-29T16:25:52.130Z",
|
368
|
-
"desiredCount": 1,
|
369
|
-
"id": "ecs-svc/9223370564341623665",
|
370
|
-
"pendingCount": 0,
|
371
|
-
"runningCount": 0,
|
372
|
-
"status": "PRIMARY",
|
373
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
|
374
|
-
"updatedAt": "2016-08-29T16:25:52.130Z"
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"desiredCount": 1,
|
378
|
-
"events": [
|
379
|
-
{
|
380
|
-
"createdAt": "2016-08-29T16:25:58.520Z",
|
381
|
-
"id": "38c285e5-d335-4b68-8b15-e46dedc8e88d",
|
382
|
-
"message": "(service ecs-simple-service) was unable to place a task because no container instance met all of its requirements. The closest matching (container-instance 3f4de1c5-ffdd-4954-af7e-75b4be0c8841) is already using a port required by your task. For more information, see the Troubleshooting section of the Amazon ECS Developer Guide."
|
383
|
-
}
|
384
|
-
],
|
385
|
-
"loadBalancers": [
|
386
|
-
|
387
|
-
],
|
388
|
-
"pendingCount": 0,
|
389
|
-
"runningCount": 0,
|
390
|
-
"serviceArn": "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
|
391
|
-
"serviceName": "ecs-simple-service",
|
392
|
-
"status": "ACTIVE",
|
393
|
-
"taskDefinition": "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6"
|
394
|
-
}
|
395
|
-
]
|
396
|
-
},
|
397
|
-
"comments": {
|
398
|
-
"input": {
|
399
|
-
},
|
400
|
-
"output": {
|
401
|
-
"services[0].events[0].message": "In this example, there is a service event that shows unavailable cluster resources."
|
402
|
-
}
|
403
|
-
},
|
404
|
-
"description": "This example provides descriptive information about the service named ``ecs-simple-service``.",
|
405
|
-
"id": "to-describe-a-service-1472513256350",
|
406
|
-
"title": "To describe a service"
|
407
|
-
}
|
408
|
-
],
|
409
|
-
"DescribeTaskDefinition": [
|
410
|
-
{
|
411
|
-
"input": {
|
412
|
-
"taskDefinition": "hello_world:8"
|
413
|
-
},
|
414
|
-
"output": {
|
415
|
-
"taskDefinition": {
|
416
|
-
"containerDefinitions": [
|
417
|
-
{
|
418
|
-
"name": "wordpress",
|
419
|
-
"cpu": 10,
|
420
|
-
"environment": [
|
421
|
-
|
422
|
-
],
|
423
|
-
"essential": true,
|
424
|
-
"image": "wordpress",
|
425
|
-
"links": [
|
426
|
-
"mysql"
|
427
|
-
],
|
428
|
-
"memory": 500,
|
429
|
-
"mountPoints": [
|
430
|
-
|
431
|
-
],
|
432
|
-
"portMappings": [
|
433
|
-
{
|
434
|
-
"containerPort": 80,
|
435
|
-
"hostPort": 80
|
436
|
-
}
|
437
|
-
],
|
438
|
-
"volumesFrom": [
|
439
|
-
|
440
|
-
]
|
441
|
-
},
|
442
|
-
{
|
443
|
-
"name": "mysql",
|
444
|
-
"cpu": 10,
|
445
|
-
"environment": [
|
446
|
-
{
|
447
|
-
"name": "MYSQL_ROOT_PASSWORD",
|
448
|
-
"value": "password"
|
449
|
-
}
|
450
|
-
],
|
451
|
-
"essential": true,
|
452
|
-
"image": "mysql",
|
453
|
-
"memory": 500,
|
454
|
-
"mountPoints": [
|
455
|
-
|
456
|
-
],
|
457
|
-
"portMappings": [
|
458
|
-
|
459
|
-
],
|
460
|
-
"volumesFrom": [
|
461
|
-
|
462
|
-
]
|
463
|
-
}
|
464
|
-
],
|
465
|
-
"family": "hello_world",
|
466
|
-
"revision": 8,
|
467
|
-
"taskDefinitionArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/hello_world:8",
|
468
|
-
"volumes": [
|
469
|
-
|
470
|
-
]
|
471
|
-
}
|
472
|
-
},
|
473
|
-
"comments": {
|
474
|
-
"input": {
|
475
|
-
},
|
476
|
-
"output": {
|
477
|
-
}
|
478
|
-
},
|
479
|
-
"description": "This example provides a description of the specified task definition.",
|
480
|
-
"id": "4c21eeb1-f1da-4a08-8c44-297fc8d0ea88",
|
481
|
-
"title": "To describe a task definition"
|
482
|
-
}
|
483
|
-
],
|
484
|
-
"DescribeTasks": [
|
485
|
-
{
|
486
|
-
"input": {
|
487
|
-
"tasks": [
|
488
|
-
"c5cba4eb-5dad-405e-96db-71ef8eefe6a8"
|
489
|
-
]
|
490
|
-
},
|
491
|
-
"output": {
|
492
|
-
"failures": [
|
493
|
-
|
494
|
-
],
|
495
|
-
"tasks": [
|
496
|
-
{
|
497
|
-
"clusterArn": "arn:aws:ecs:<region>:<aws_account_id>:cluster/default",
|
498
|
-
"containerInstanceArn": "arn:aws:ecs:<region>:<aws_account_id>:container-instance/18f9eda5-27d7-4c19-b133-45adc516e8fb",
|
499
|
-
"containers": [
|
500
|
-
{
|
501
|
-
"name": "ecs-demo",
|
502
|
-
"containerArn": "arn:aws:ecs:<region>:<aws_account_id>:container/7c01765b-c588-45b3-8290-4ba38bd6c5a6",
|
503
|
-
"lastStatus": "RUNNING",
|
504
|
-
"networkBindings": [
|
505
|
-
{
|
506
|
-
"bindIP": "0.0.0.0",
|
507
|
-
"containerPort": 80,
|
508
|
-
"hostPort": 80
|
509
|
-
}
|
510
|
-
],
|
511
|
-
"taskArn": "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8"
|
512
|
-
}
|
513
|
-
],
|
514
|
-
"desiredStatus": "RUNNING",
|
515
|
-
"lastStatus": "RUNNING",
|
516
|
-
"overrides": {
|
517
|
-
"containerOverrides": [
|
518
|
-
{
|
519
|
-
"name": "ecs-demo"
|
520
|
-
}
|
521
|
-
]
|
522
|
-
},
|
523
|
-
"startedBy": "ecs-svc/9223370608528463088",
|
524
|
-
"taskArn": "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
|
525
|
-
"taskDefinitionArn": "arn:aws:ecs:<region>:<aws_account_id>:task-definition/amazon-ecs-sample:1"
|
526
|
-
}
|
527
|
-
]
|
528
|
-
},
|
529
|
-
"comments": {
|
530
|
-
"input": {
|
531
|
-
},
|
532
|
-
"output": {
|
533
|
-
}
|
534
|
-
},
|
535
|
-
"description": "This example provides a description of the specified task, using the task UUID as an identifier.",
|
536
|
-
"id": "a90b0cde-f965-4946-b55e-cfd8cc54e827",
|
537
|
-
"title": "To describe a task"
|
538
|
-
}
|
539
|
-
],
|
540
|
-
"ListClusters": [
|
541
|
-
{
|
542
|
-
"input": {
|
543
|
-
},
|
544
|
-
"output": {
|
545
|
-
"clusterArns": [
|
546
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:cluster/test",
|
547
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:cluster/default"
|
548
|
-
]
|
549
|
-
},
|
550
|
-
"comments": {
|
551
|
-
"input": {
|
552
|
-
},
|
553
|
-
"output": {
|
554
|
-
}
|
555
|
-
},
|
556
|
-
"description": "This example lists all of your available clusters in your default region.",
|
557
|
-
"id": "e337d059-134f-4125-ba8e-4f499139facf",
|
558
|
-
"title": "To list your available clusters"
|
559
|
-
}
|
560
|
-
],
|
561
|
-
"ListContainerInstances": [
|
562
|
-
{
|
563
|
-
"input": {
|
564
|
-
"cluster": "default"
|
565
|
-
},
|
566
|
-
"output": {
|
567
|
-
"containerInstanceArns": [
|
568
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/f6bbb147-5370-4ace-8c73-c7181ded911f",
|
569
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb"
|
570
|
-
]
|
571
|
-
},
|
572
|
-
"comments": {
|
573
|
-
"input": {
|
574
|
-
},
|
575
|
-
"output": {
|
576
|
-
}
|
577
|
-
},
|
578
|
-
"description": "This example lists all of your available container instances in the specified cluster in your default region.",
|
579
|
-
"id": "62a82a94-713c-4e18-8420-1d2b2ba9d484",
|
580
|
-
"title": "To list your available container instances in a cluster"
|
581
|
-
}
|
582
|
-
],
|
583
|
-
"ListServices": [
|
584
|
-
{
|
585
|
-
"input": {
|
586
|
-
},
|
587
|
-
"output": {
|
588
|
-
"serviceArns": [
|
589
|
-
"arn:aws:ecs:us-east-1:012345678910:service/my-http-service"
|
590
|
-
]
|
591
|
-
},
|
592
|
-
"comments": {
|
593
|
-
"input": {
|
594
|
-
},
|
595
|
-
"output": {
|
596
|
-
}
|
597
|
-
},
|
598
|
-
"description": "This example lists the services running in the default cluster for an account.",
|
599
|
-
"id": "1d9a8037-4e0e-4234-a528-609656809a3a",
|
600
|
-
"title": "To list the services in a cluster"
|
601
|
-
}
|
602
|
-
],
|
603
|
-
"ListTaskDefinitionFamilies": [
|
604
|
-
{
|
605
|
-
"input": {
|
606
|
-
},
|
607
|
-
"output": {
|
608
|
-
"families": [
|
609
|
-
"node-js-app",
|
610
|
-
"web-timer",
|
611
|
-
"hpcc",
|
612
|
-
"hpcc-c4-8xlarge"
|
613
|
-
]
|
614
|
-
},
|
615
|
-
"comments": {
|
616
|
-
"input": {
|
617
|
-
},
|
618
|
-
"output": {
|
619
|
-
}
|
620
|
-
},
|
621
|
-
"description": "This example lists all of your registered task definition families.",
|
622
|
-
"id": "b5c89769-1d94-4ca2-a79e-8069103c7f75",
|
623
|
-
"title": "To list your registered task definition families"
|
624
|
-
},
|
625
|
-
{
|
626
|
-
"input": {
|
627
|
-
"familyPrefix": "hpcc"
|
628
|
-
},
|
629
|
-
"output": {
|
630
|
-
"families": [
|
631
|
-
"hpcc",
|
632
|
-
"hpcc-c4-8xlarge"
|
633
|
-
]
|
634
|
-
},
|
635
|
-
"comments": {
|
636
|
-
"input": {
|
637
|
-
},
|
638
|
-
"output": {
|
639
|
-
}
|
640
|
-
},
|
641
|
-
"description": "This example lists the task definition revisions that start with \"hpcc\".",
|
642
|
-
"id": "8a4cf9a6-42c1-4fe3-852d-99ac8968e11b",
|
643
|
-
"title": "To filter your registered task definition families"
|
644
|
-
}
|
645
|
-
],
|
646
|
-
"ListTaskDefinitions": [
|
647
|
-
{
|
648
|
-
"input": {
|
649
|
-
},
|
650
|
-
"output": {
|
651
|
-
"taskDefinitionArns": [
|
652
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep300:2",
|
653
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1",
|
654
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:3",
|
655
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:4",
|
656
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:5",
|
657
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:6"
|
658
|
-
]
|
659
|
-
},
|
660
|
-
"comments": {
|
661
|
-
"input": {
|
662
|
-
},
|
663
|
-
"output": {
|
664
|
-
}
|
665
|
-
},
|
666
|
-
"description": "This example lists all of your registered task definitions.",
|
667
|
-
"id": "b381ebaf-7eba-4d60-b99b-7f6ae49d3d60",
|
668
|
-
"title": "To list your registered task definitions"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"input": {
|
672
|
-
"familyPrefix": "wordpress"
|
673
|
-
},
|
674
|
-
"output": {
|
675
|
-
"taskDefinitionArns": [
|
676
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:3",
|
677
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:4",
|
678
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:5",
|
679
|
-
"arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/wordpress:6"
|
680
|
-
]
|
681
|
-
},
|
682
|
-
"comments": {
|
683
|
-
"input": {
|
684
|
-
},
|
685
|
-
"output": {
|
686
|
-
}
|
687
|
-
},
|
688
|
-
"description": "This example lists the task definition revisions of a specified family.",
|
689
|
-
"id": "734e7afd-753a-4bc2-85d0-badddce10910",
|
690
|
-
"title": "To list the registered task definitions in a family"
|
691
|
-
}
|
692
|
-
],
|
693
|
-
"ListTasks": [
|
694
|
-
{
|
695
|
-
"input": {
|
696
|
-
"cluster": "default"
|
697
|
-
},
|
698
|
-
"output": {
|
699
|
-
"taskArns": [
|
700
|
-
"arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
|
701
|
-
"arn:aws:ecs:us-east-1:012345678910:task/6b809ef6-c67e-4467-921f-ee261c15a0a1"
|
702
|
-
]
|
703
|
-
},
|
704
|
-
"comments": {
|
705
|
-
"input": {
|
706
|
-
},
|
707
|
-
"output": {
|
708
|
-
}
|
709
|
-
},
|
710
|
-
"description": "This example lists all of the tasks in a cluster.",
|
711
|
-
"id": "9a6ec707-1a77-45d0-b2eb-516b5dd9e924",
|
712
|
-
"title": "To list the tasks in a cluster"
|
713
|
-
},
|
714
|
-
{
|
715
|
-
"input": {
|
716
|
-
"cluster": "default",
|
717
|
-
"containerInstance": "f6bbb147-5370-4ace-8c73-c7181ded911f"
|
718
|
-
},
|
719
|
-
"output": {
|
720
|
-
"taskArns": [
|
721
|
-
"arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84"
|
722
|
-
]
|
723
|
-
},
|
724
|
-
"comments": {
|
725
|
-
"input": {
|
726
|
-
},
|
727
|
-
"output": {
|
728
|
-
}
|
729
|
-
},
|
730
|
-
"description": "This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` value limits the results to tasks that belong to that container instance.",
|
731
|
-
"id": "024bf3b7-9cbb-44e3-848f-9d074e1fecce",
|
732
|
-
"title": "To list the tasks on a particular container instance"
|
733
|
-
}
|
734
|
-
],
|
735
|
-
"RegisterTaskDefinition": [
|
736
|
-
{
|
737
|
-
"input": {
|
738
|
-
"containerDefinitions": [
|
739
|
-
{
|
740
|
-
"name": "sleep",
|
741
|
-
"command": [
|
742
|
-
"sleep",
|
743
|
-
"360"
|
744
|
-
],
|
745
|
-
"cpu": 10,
|
746
|
-
"essential": true,
|
747
|
-
"image": "busybox",
|
748
|
-
"memory": 10
|
749
|
-
}
|
750
|
-
],
|
751
|
-
"family": "sleep360",
|
752
|
-
"taskRoleArn": "",
|
753
|
-
"volumes": [
|
754
|
-
|
755
|
-
]
|
756
|
-
},
|
757
|
-
"output": {
|
758
|
-
"taskDefinition": {
|
759
|
-
"containerDefinitions": [
|
760
|
-
{
|
761
|
-
"name": "sleep",
|
762
|
-
"command": [
|
763
|
-
"sleep",
|
764
|
-
"360"
|
765
|
-
],
|
766
|
-
"cpu": 10,
|
767
|
-
"environment": [
|
768
|
-
|
769
|
-
],
|
770
|
-
"essential": true,
|
771
|
-
"image": "busybox",
|
772
|
-
"memory": 10,
|
773
|
-
"mountPoints": [
|
774
|
-
|
775
|
-
],
|
776
|
-
"portMappings": [
|
777
|
-
|
778
|
-
],
|
779
|
-
"volumesFrom": [
|
780
|
-
|
781
|
-
]
|
782
|
-
}
|
783
|
-
],
|
784
|
-
"family": "sleep360",
|
785
|
-
"revision": 1,
|
786
|
-
"taskDefinitionArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:19",
|
787
|
-
"volumes": [
|
788
|
-
|
789
|
-
]
|
790
|
-
}
|
791
|
-
},
|
792
|
-
"comments": {
|
793
|
-
"input": {
|
794
|
-
},
|
795
|
-
"output": {
|
796
|
-
}
|
797
|
-
},
|
798
|
-
"description": "This example registers a task definition to the specified family.",
|
799
|
-
"id": "to-register-a-task-definition-1470764550877",
|
800
|
-
"title": "To register a task definition"
|
801
|
-
}
|
802
|
-
],
|
803
|
-
"RunTask": [
|
804
|
-
{
|
805
|
-
"input": {
|
806
|
-
"cluster": "default",
|
807
|
-
"taskDefinition": "sleep360:1"
|
808
|
-
},
|
809
|
-
"output": {
|
810
|
-
"tasks": [
|
811
|
-
{
|
812
|
-
"containerInstanceArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
|
813
|
-
"containers": [
|
814
|
-
{
|
815
|
-
"name": "sleep",
|
816
|
-
"containerArn": "arn:aws:ecs:us-east-1:<aws_account_id>:container/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
|
817
|
-
"lastStatus": "PENDING",
|
818
|
-
"taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0"
|
819
|
-
}
|
820
|
-
],
|
821
|
-
"desiredStatus": "RUNNING",
|
822
|
-
"lastStatus": "PENDING",
|
823
|
-
"overrides": {
|
824
|
-
"containerOverrides": [
|
825
|
-
{
|
826
|
-
"name": "sleep"
|
827
|
-
}
|
828
|
-
]
|
829
|
-
},
|
830
|
-
"taskArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
|
831
|
-
"taskDefinitionArn": "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1"
|
832
|
-
}
|
833
|
-
]
|
834
|
-
},
|
835
|
-
"comments": {
|
836
|
-
"input": {
|
837
|
-
},
|
838
|
-
"output": {
|
839
|
-
}
|
840
|
-
},
|
841
|
-
"description": "This example runs the specified task definition on your default cluster.",
|
842
|
-
"id": "6f238c83-a133-42cd-ab3d-abeca0560445",
|
843
|
-
"title": "To run a task on your default cluster"
|
844
|
-
}
|
845
|
-
],
|
846
|
-
"UpdateService": [
|
847
|
-
{
|
848
|
-
"input": {
|
849
|
-
"service": "my-http-service",
|
850
|
-
"taskDefinition": "amazon-ecs-sample"
|
851
|
-
},
|
852
|
-
"output": {
|
853
|
-
},
|
854
|
-
"comments": {
|
855
|
-
"input": {
|
856
|
-
},
|
857
|
-
"output": {
|
858
|
-
}
|
859
|
-
},
|
860
|
-
"description": "This example updates the my-http-service service to use the amazon-ecs-sample task definition.",
|
861
|
-
"id": "cc9e8900-0cc2-44d2-8491-64d1d3d37887",
|
862
|
-
"title": "To change the task definition used in a service"
|
863
|
-
},
|
864
|
-
{
|
865
|
-
"input": {
|
866
|
-
"desiredCount": 10,
|
867
|
-
"service": "my-http-service"
|
868
|
-
},
|
869
|
-
"output": {
|
870
|
-
},
|
871
|
-
"comments": {
|
872
|
-
"input": {
|
873
|
-
},
|
874
|
-
"output": {
|
875
|
-
}
|
876
|
-
},
|
877
|
-
"description": "This example updates the desired count of the my-http-service service to 10.",
|
878
|
-
"id": "9581d6c5-02e3-4140-8cc1-5a4301586633",
|
879
|
-
"title": "To change the number of tasks in a service"
|
880
|
-
}
|
881
|
-
]
|
882
|
-
}
|
883
|
-
}
|