aws-sdk-core 2.6.9 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/acm/2015-12-08/api-2.json +34 -3
- data/apis/acm/2015-12-08/paginators-1.json +2 -2
- data/apis/apigateway/2015-07-09/api-2.json +625 -17
- data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
- data/apis/appstream/2016-12-01/api-2.json +820 -0
- data/apis/appstream/2016-12-01/examples-1.json +5 -0
- data/apis/appstream/2016-12-01/waiters-2.json +55 -0
- data/apis/autoscaling/2011-01-01/api-2.json +1 -0
- data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
- data/apis/batch/2016-08-10/api-2.json +885 -0
- data/apis/batch/2016-08-10/examples-1.json +589 -0
- data/apis/budgets/2016-10-20/api-2.json +696 -0
- data/apis/budgets/2016-10-20/examples-1.json +5 -0
- data/apis/cloudformation/2010-05-15/api-2.json +126 -11
- data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
- data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
- data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
- data/apis/cloudfront/2016-01-28/api-2.json +1 -0
- data/apis/cloudfront/2016-08-01/api-2.json +1 -0
- data/apis/cloudfront/2016-08-20/api-2.json +1 -0
- data/apis/cloudfront/2016-09-07/api-2.json +1 -0
- data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
- data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
- data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
- data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
- data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
- data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
- data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
- data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
- data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
- data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
- data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
- data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
- data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
- data/apis/codebuild/2016-10-06/api-2.json +702 -0
- data/apis/codebuild/2016-10-06/examples-1.json +5 -0
- data/apis/codecommit/2015-04-13/api-2.json +2 -1
- data/apis/codedeploy/2014-10-06/api-2.json +35 -6
- data/apis/codepipeline/2015-07-09/api-2.json +3 -2
- data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
- data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
- data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
- data/apis/config/2014-11-12/api-2.json +40 -9
- data/apis/config/2014-11-12/paginators-1.json +2 -2
- data/apis/cur/2017-01-06/api-2.json +226 -0
- data/apis/cur/2017-01-06/examples-1.json +5 -0
- data/apis/cur/2017-01-06/paginators-1.json +9 -0
- data/apis/datapipeline/2012-10-29/api-2.json +2 -1
- data/apis/devicefarm/2015-06-23/api-2.json +2 -1
- data/apis/directconnect/2012-10-25/api-2.json +257 -10
- data/apis/discovery/2015-11-01/api-2.json +316 -5
- data/apis/dms/2016-01-01/api-2.json +45 -9
- data/apis/ds/2015-04-16/api-2.json +144 -1
- data/apis/dynamodb/2011-12-05/api-2.json +802 -0
- data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
- data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
- data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
- data/apis/dynamodb/2012-08-10/api-2.json +115 -1
- data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
- data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
- data/apis/ec2/2015-10-01/api-2.json +1 -0
- data/apis/ec2/2016-04-01/api-2.json +1 -0
- data/apis/ec2/2016-09-15/api-2.json +1 -0
- data/apis/ec2/2016-11-15/api-2.json +15037 -0
- data/apis/ec2/2016-11-15/examples-1.json +3740 -0
- data/apis/ec2/2016-11-15/paginators-1.json +138 -0
- data/apis/ec2/2016-11-15/resources-1.json +2582 -0
- data/apis/ec2/2016-11-15/waiters-2.json +593 -0
- data/apis/ecr/2015-09-21/api-2.json +17 -3
- data/apis/ecr/2015-09-21/paginators-1.json +12 -6
- data/apis/ecs/2014-11-13/api-2.json +183 -9
- data/apis/elasticache/2015-02-02/api-2.json +5 -2
- data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
- data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
- data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
- data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
- data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
- data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
- data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
- data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
- data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
- data/apis/email/2010-12-01/api-2.json +425 -4
- data/apis/es/2015-01-01/api-2.json +1 -0
- data/apis/events/2015-10-07/api-2.json +1 -0
- data/apis/firehose/2015-08-04/api-2.json +151 -4
- data/apis/firehose/2015-08-04/examples-1.json +5 -0
- data/apis/gamelift/2015-10-01/api-2.json +59 -1
- data/apis/glacier/2012-06-01/api-2.json +369 -779
- data/apis/glacier/2012-06-01/examples-1.json +806 -0
- data/apis/glacier/2012-06-01/paginators-1.json +5 -5
- data/apis/health/2016-08-04/api-2.json +547 -0
- data/apis/health/2016-08-04/examples-1.json +5 -0
- data/apis/health/2016-08-04/paginators-1.json +31 -0
- data/apis/iam/2010-05-08/api-2.json +209 -0
- data/apis/iam/2010-05-08/examples-1.json +1186 -0
- data/apis/importexport/2010-06-01/api-2.json +1 -0
- data/apis/inspector/2016-02-16/api-2.json +2 -1
- data/apis/inspector/2016-02-16/examples-1.json +1135 -0
- data/apis/iot-data/2015-05-28/api-2.json +1 -0
- data/apis/iot/2015-05-28/api-2.json +16 -0
- data/apis/kinesis/2013-12-02/api-2.json +80 -12
- data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
- data/apis/kms/2014-11-01/api-2.json +2 -1
- data/apis/kms/2014-11-01/examples-1.json +810 -0
- data/apis/lambda/2014-11-11/api-2.json +1 -0
- data/apis/lambda/2015-03-31/api-2.json +162 -9
- data/apis/lambda/2015-03-31/examples-1.json +609 -0
- data/apis/lightsail/2016-11-28/api-2.json +2137 -0
- data/apis/lightsail/2016-11-28/examples-1.json +5 -0
- data/apis/logs/2014-03-28/api-2.json +113 -6
- data/apis/machinelearning/2014-12-12/api-2.json +1 -0
- data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
- data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
- data/apis/monitoring/2010-08-01/api-2.json +27 -6
- data/apis/opsworks/2013-02-18/api-2.json +1 -0
- data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
- data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
- data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
- data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
- data/apis/polly/2016-06-10/api-2.json +504 -0
- data/apis/polly/2016-06-10/examples-1.json +171 -0
- data/apis/rds/2013-01-10/api-2.json +2902 -0
- data/apis/rds/2013-01-10/examples-1.json +5 -0
- data/apis/rds/2013-01-10/paginators-1.json +97 -0
- data/apis/rds/2013-02-12/api-2.json +3058 -0
- data/apis/rds/2013-02-12/examples-1.json +5 -0
- data/apis/rds/2013-02-12/paginators-1.json +110 -0
- data/apis/rds/2013-09-09/api-2.json +3159 -0
- data/apis/rds/2013-09-09/examples-1.json +5 -0
- data/apis/rds/2013-09-09/paginators-1.json +110 -0
- data/apis/rds/2013-09-09/waiters-2.json +97 -0
- data/apis/rds/2014-09-01/api-2.json +3272 -0
- data/apis/rds/2014-09-01/examples-1.json +5 -0
- data/apis/rds/2014-09-01/paginators-1.json +4 -0
- data/apis/rds/2014-10-31/api-2.json +121 -6
- data/apis/rds/2014-10-31/examples-1.json +0 -444
- data/apis/rds/2014-10-31/paginators-1.json +18 -18
- data/apis/rds/2014-10-31/resources-1.json +1 -1
- data/apis/redshift/2012-12-01/api-2.json +1 -0
- data/apis/rekognition/2016-06-27/api-2.json +836 -0
- data/apis/rekognition/2016-06-27/examples-1.json +651 -0
- data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
- data/apis/route53/2013-04-01/api-2.json +186 -219
- data/apis/route53/2013-04-01/paginators-1.json +9 -9
- data/apis/route53domains/2014-05-15/api-2.json +1 -0
- data/apis/s3/2006-03-01/api-2.json +843 -23
- data/apis/sdb/2009-04-15/api-2.json +1 -0
- data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
- data/apis/shield/2016-06-02/api-2.json +494 -0
- data/apis/shield/2016-06-02/examples-1.json +5 -0
- data/apis/sms/2016-10-24/api-2.json +612 -0
- data/apis/sms/2016-10-24/examples-1.json +5 -0
- data/apis/sms/2016-10-24/paginators-1.json +28 -0
- data/apis/snowball/2016-06-30/api-2.json +283 -11
- data/apis/snowball/2016-06-30/examples-1.json +437 -0
- data/apis/sns/2010-03-31/api-2.json +1 -0
- data/apis/sqs/2012-11-05/api-2.json +74 -38
- data/apis/sqs/2012-11-05/examples-1.json +0 -613
- data/apis/sqs/2012-11-05/resources-1.json +232 -0
- data/apis/ssm/2014-11-06/api-2.json +4036 -536
- data/apis/states/2016-11-23/api-2.json +1021 -0
- data/apis/states/2016-11-23/examples-1.json +5 -0
- data/apis/states/2016-11-23/paginators-1.json +28 -0
- data/apis/storagegateway/2013-06-30/api-2.json +269 -6
- data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
- data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
- data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
- data/apis/sts/2011-06-15/api-2.json +1 -0
- data/apis/sts/2011-06-15/examples-1.json +201 -0
- data/apis/support/2013-04-15/api-2.json +1 -0
- data/apis/swf/2012-01-25/api-2.json +1 -0
- data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
- data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
- data/apis/waf/2015-08-24/api-2.json +3 -1
- data/apis/waf/2015-08-24/examples-1.json +1012 -0
- data/apis/workspaces/2015-04-08/api-2.json +1 -0
- data/apis/xray/2016-04-12/api-2.json +491 -0
- data/apis/xray/2016-04-12/examples-1.json +5 -0
- data/endpoints.json +781 -392
- data/lib/aws-sdk-core.rb +20 -0
- data/lib/aws-sdk-core/api/customizations.rb +16 -0
- data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
- data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
- data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
- data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
- data/lib/aws-sdk-core/appstream.rb +6 -0
- data/lib/aws-sdk-core/batch.rb +5 -0
- data/lib/aws-sdk-core/budgets.rb +5 -0
- data/lib/aws-sdk-core/client.rb +1 -0
- data/lib/aws-sdk-core/client_waiters.rb +5 -5
- data/lib/aws-sdk-core/cloudfront.rb +5 -5
- data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
- data/lib/aws-sdk-core/codebuild.rb +5 -0
- data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
- data/lib/aws-sdk-core/cur.rb +6 -0
- data/lib/aws-sdk-core/ec2.rb +6 -6
- data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
- data/lib/aws-sdk-core/firehose.rb +1 -0
- data/lib/aws-sdk-core/glacier.rb +1 -0
- data/lib/aws-sdk-core/health.rb +6 -0
- data/lib/aws-sdk-core/lightsail.rb +5 -0
- data/lib/aws-sdk-core/opsworkscm.rb +5 -0
- data/lib/aws-sdk-core/partitions/region.rb +0 -12
- data/lib/aws-sdk-core/partitions/service.rb +1 -11
- data/lib/aws-sdk-core/pinpoint.rb +5 -0
- data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
- data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
- data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
- data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
- data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
- data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
- data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
- data/lib/aws-sdk-core/polly.rb +13 -0
- data/lib/aws-sdk-core/polly/presigner.rb +70 -0
- data/lib/aws-sdk-core/rekognition.rb +6 -0
- data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
- data/lib/aws-sdk-core/shield.rb +5 -0
- data/lib/aws-sdk-core/signers/v4.rb +2 -1
- data/lib/aws-sdk-core/sms.rb +6 -0
- data/lib/aws-sdk-core/sqs.rb +1 -0
- data/lib/aws-sdk-core/states.rb +6 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/wafregional.rb +5 -0
- data/lib/aws-sdk-core/xray.rb +5 -0
- data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
- data/lib/seahorse/client/net_http/handler.rb +5 -2
- data/lib/seahorse/client/plugin_list.rb +3 -1
- data/lib/seahorse/client/response.rb +9 -20
- data/service-models.json +66 -2
- metadata +110 -2
@@ -0,0 +1,589 @@
|
|
1
|
+
{
|
2
|
+
"version": "1.0",
|
3
|
+
"examples": {
|
4
|
+
"CancelJob": [
|
5
|
+
{
|
6
|
+
"input": {
|
7
|
+
"jobId": "1d828f65-7a4d-42e8-996d-3b900ed59dc4",
|
8
|
+
"reason": "Cancelling job."
|
9
|
+
},
|
10
|
+
"output": {
|
11
|
+
},
|
12
|
+
"comments": {
|
13
|
+
"input": {
|
14
|
+
},
|
15
|
+
"output": {
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"description": "This example cancels a job with the specified job ID.",
|
19
|
+
"id": "to-cancel-a-job-1481152314733",
|
20
|
+
"title": "To cancel a job"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"CreateComputeEnvironment": [
|
24
|
+
{
|
25
|
+
"input": {
|
26
|
+
"type": "MANAGED",
|
27
|
+
"computeEnvironmentName": "C4OnDemand",
|
28
|
+
"computeResources": {
|
29
|
+
"type": "EC2",
|
30
|
+
"desiredvCpus": 48,
|
31
|
+
"ec2KeyPair": "id_rsa",
|
32
|
+
"instanceRole": "ecsInstanceRole",
|
33
|
+
"instanceTypes": [
|
34
|
+
"c4.large",
|
35
|
+
"c4.xlarge",
|
36
|
+
"c4.2xlarge",
|
37
|
+
"c4.4xlarge",
|
38
|
+
"c4.8xlarge"
|
39
|
+
],
|
40
|
+
"maxvCpus": 128,
|
41
|
+
"minvCpus": 0,
|
42
|
+
"securityGroupIds": [
|
43
|
+
"sg-cf5093b2"
|
44
|
+
],
|
45
|
+
"subnets": [
|
46
|
+
"subnet-220c0e0a",
|
47
|
+
"subnet-1a95556d",
|
48
|
+
"subnet-978f6dce"
|
49
|
+
],
|
50
|
+
"tags": {
|
51
|
+
"Name": "Batch Instance - C4OnDemand"
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole",
|
55
|
+
"state": "ENABLED"
|
56
|
+
},
|
57
|
+
"output": {
|
58
|
+
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand",
|
59
|
+
"computeEnvironmentName": "C4OnDemand"
|
60
|
+
},
|
61
|
+
"comments": {
|
62
|
+
"input": {
|
63
|
+
},
|
64
|
+
"output": {
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"description": "This example creates a managed compute environment with specific C4 instance types that are launched on demand. The compute environment is called C4OnDemand.",
|
68
|
+
"id": "to-create-a-managed-ec2-compute-environment-1481152600017",
|
69
|
+
"title": "To create a managed EC2 compute environment"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"input": {
|
73
|
+
"type": "MANAGED",
|
74
|
+
"computeEnvironmentName": "M4Spot",
|
75
|
+
"computeResources": {
|
76
|
+
"type": "SPOT",
|
77
|
+
"bidPercentage": 20,
|
78
|
+
"desiredvCpus": 4,
|
79
|
+
"ec2KeyPair": "id_rsa",
|
80
|
+
"instanceRole": "ecsInstanceRole",
|
81
|
+
"instanceTypes": [
|
82
|
+
"m4"
|
83
|
+
],
|
84
|
+
"maxvCpus": 128,
|
85
|
+
"minvCpus": 0,
|
86
|
+
"securityGroupIds": [
|
87
|
+
"sg-cf5093b2"
|
88
|
+
],
|
89
|
+
"spotIamFleetRole": "arn:aws:iam::012345678910:role/aws-ec2-spot-fleet-role",
|
90
|
+
"subnets": [
|
91
|
+
"subnet-220c0e0a",
|
92
|
+
"subnet-1a95556d",
|
93
|
+
"subnet-978f6dce"
|
94
|
+
],
|
95
|
+
"tags": {
|
96
|
+
"Name": "Batch Instance - M4Spot"
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole",
|
100
|
+
"state": "ENABLED"
|
101
|
+
},
|
102
|
+
"output": {
|
103
|
+
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/M4Spot",
|
104
|
+
"computeEnvironmentName": "M4Spot"
|
105
|
+
},
|
106
|
+
"comments": {
|
107
|
+
"input": {
|
108
|
+
},
|
109
|
+
"output": {
|
110
|
+
}
|
111
|
+
},
|
112
|
+
"description": "This example creates a managed compute environment with the M4 instance type that is launched when the Spot bid price is at or below 20% of the On-Demand price for the instance type. The compute environment is called M4Spot.",
|
113
|
+
"id": "to-create-a-managed-ec2-spot-compute-environment-1481152844190",
|
114
|
+
"title": "To create a managed EC2 Spot compute environment"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"CreateJobQueue": [
|
118
|
+
{
|
119
|
+
"input": {
|
120
|
+
"computeEnvironmentOrder": [
|
121
|
+
{
|
122
|
+
"computeEnvironment": "M4Spot",
|
123
|
+
"order": 1
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"jobQueueName": "LowPriority",
|
127
|
+
"priority": 10,
|
128
|
+
"state": "ENABLED"
|
129
|
+
},
|
130
|
+
"output": {
|
131
|
+
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/LowPriority",
|
132
|
+
"jobQueueName": "LowPriority"
|
133
|
+
},
|
134
|
+
"comments": {
|
135
|
+
"input": {
|
136
|
+
},
|
137
|
+
"output": {
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"description": "This example creates a job queue called LowPriority that uses the M4Spot compute environment.",
|
141
|
+
"id": "to-create-a-job-queue-with-a-single-compute-environment-1481152967946",
|
142
|
+
"title": "To create a job queue with a single compute environment"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"input": {
|
146
|
+
"computeEnvironmentOrder": [
|
147
|
+
{
|
148
|
+
"computeEnvironment": "C4OnDemand",
|
149
|
+
"order": 1
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"computeEnvironment": "M4Spot",
|
153
|
+
"order": 2
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"jobQueueName": "HighPriority",
|
157
|
+
"priority": 1,
|
158
|
+
"state": "ENABLED"
|
159
|
+
},
|
160
|
+
"output": {
|
161
|
+
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
|
162
|
+
"jobQueueName": "HighPriority"
|
163
|
+
},
|
164
|
+
"comments": {
|
165
|
+
"input": {
|
166
|
+
},
|
167
|
+
"output": {
|
168
|
+
}
|
169
|
+
},
|
170
|
+
"description": "This example creates a job queue called HighPriority that uses the C4OnDemand compute environment with an order of 1 and the M4Spot compute environment with an order of 2.",
|
171
|
+
"id": "to-create-a-job-queue-with-multiple-compute-environments-1481153027051",
|
172
|
+
"title": "To create a job queue with multiple compute environments"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"DeleteComputeEnvironment": [
|
176
|
+
{
|
177
|
+
"input": {
|
178
|
+
"computeEnvironment": "P2OnDemand"
|
179
|
+
},
|
180
|
+
"output": {
|
181
|
+
},
|
182
|
+
"comments": {
|
183
|
+
"input": {
|
184
|
+
},
|
185
|
+
"output": {
|
186
|
+
}
|
187
|
+
},
|
188
|
+
"description": "This example deletes the P2OnDemand compute environment.",
|
189
|
+
"id": "to-delete-a-compute-environment-1481153105644",
|
190
|
+
"title": "To delete a compute environment"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"DeleteJobQueue": [
|
194
|
+
{
|
195
|
+
"input": {
|
196
|
+
"jobQueue": "GPGPU"
|
197
|
+
},
|
198
|
+
"output": {
|
199
|
+
},
|
200
|
+
"comments": {
|
201
|
+
"input": {
|
202
|
+
},
|
203
|
+
"output": {
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"description": "This example deletes the GPGPU job queue.",
|
207
|
+
"id": "to-delete-a-job-queue-1481153508134",
|
208
|
+
"title": "To delete a job queue"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"DeregisterJobDefinition": [
|
212
|
+
{
|
213
|
+
"input": {
|
214
|
+
"jobDefinition": "sleep10"
|
215
|
+
},
|
216
|
+
"output": {
|
217
|
+
},
|
218
|
+
"comments": {
|
219
|
+
"input": {
|
220
|
+
},
|
221
|
+
"output": {
|
222
|
+
}
|
223
|
+
},
|
224
|
+
"description": "This example deregisters a job definition called sleep10.",
|
225
|
+
"id": "to-deregister-a-job-definition-1481153579565",
|
226
|
+
"title": "To deregister a job definition"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"DescribeComputeEnvironments": [
|
230
|
+
{
|
231
|
+
"input": {
|
232
|
+
"computeEnvironments": [
|
233
|
+
"P2OnDemand"
|
234
|
+
]
|
235
|
+
},
|
236
|
+
"output": {
|
237
|
+
"computeEnvironments": [
|
238
|
+
{
|
239
|
+
"type": "MANAGED",
|
240
|
+
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand",
|
241
|
+
"computeEnvironmentName": "P2OnDemand",
|
242
|
+
"computeResources": {
|
243
|
+
"type": "EC2",
|
244
|
+
"desiredvCpus": 48,
|
245
|
+
"ec2KeyPair": "id_rsa",
|
246
|
+
"instanceRole": "ecsInstanceRole",
|
247
|
+
"instanceTypes": [
|
248
|
+
"p2"
|
249
|
+
],
|
250
|
+
"maxvCpus": 128,
|
251
|
+
"minvCpus": 0,
|
252
|
+
"securityGroupIds": [
|
253
|
+
"sg-cf5093b2"
|
254
|
+
],
|
255
|
+
"subnets": [
|
256
|
+
"subnet-220c0e0a",
|
257
|
+
"subnet-1a95556d",
|
258
|
+
"subnet-978f6dce"
|
259
|
+
],
|
260
|
+
"tags": {
|
261
|
+
"Name": "Batch Instance - P2OnDemand"
|
262
|
+
}
|
263
|
+
},
|
264
|
+
"ecsClusterArn": "arn:aws:ecs:us-east-1:012345678910:cluster/P2OnDemand_Batch_2c06f29d-d1fe-3a49-879d-42394c86effc",
|
265
|
+
"serviceRole": "arn:aws:iam::012345678910:role/AWSBatchServiceRole",
|
266
|
+
"state": "ENABLED",
|
267
|
+
"status": "VALID",
|
268
|
+
"statusReason": "ComputeEnvironment Healthy"
|
269
|
+
}
|
270
|
+
]
|
271
|
+
},
|
272
|
+
"comments": {
|
273
|
+
"input": {
|
274
|
+
},
|
275
|
+
"output": {
|
276
|
+
}
|
277
|
+
},
|
278
|
+
"description": "This example describes the P2OnDemand compute environment.",
|
279
|
+
"id": "to-describe-a-compute-environment-1481153713334",
|
280
|
+
"title": "To describe a compute environment"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"DescribeJobDefinitions": [
|
284
|
+
{
|
285
|
+
"input": {
|
286
|
+
"status": "ACTIVE"
|
287
|
+
},
|
288
|
+
"output": {
|
289
|
+
"jobDefinitions": [
|
290
|
+
{
|
291
|
+
"type": "container",
|
292
|
+
"containerProperties": {
|
293
|
+
"command": [
|
294
|
+
"sleep",
|
295
|
+
"60"
|
296
|
+
],
|
297
|
+
"environment": [
|
298
|
+
|
299
|
+
],
|
300
|
+
"image": "busybox",
|
301
|
+
"memory": 128,
|
302
|
+
"mountPoints": [
|
303
|
+
|
304
|
+
],
|
305
|
+
"ulimits": [
|
306
|
+
|
307
|
+
],
|
308
|
+
"vcpus": 1,
|
309
|
+
"volumes": [
|
310
|
+
|
311
|
+
]
|
312
|
+
},
|
313
|
+
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1",
|
314
|
+
"jobDefinitionName": "sleep60",
|
315
|
+
"revision": 1,
|
316
|
+
"status": "ACTIVE"
|
317
|
+
}
|
318
|
+
]
|
319
|
+
},
|
320
|
+
"comments": {
|
321
|
+
"input": {
|
322
|
+
},
|
323
|
+
"output": {
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"description": "This example describes all of your active job definitions.",
|
327
|
+
"id": "to-describe-active-job-definitions-1481153895831",
|
328
|
+
"title": "To describe active job definitions"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"DescribeJobQueues": [
|
332
|
+
{
|
333
|
+
"input": {
|
334
|
+
"jobQueues": [
|
335
|
+
"HighPriority"
|
336
|
+
]
|
337
|
+
},
|
338
|
+
"output": {
|
339
|
+
"jobQueues": [
|
340
|
+
{
|
341
|
+
"computeEnvironmentOrder": [
|
342
|
+
{
|
343
|
+
"computeEnvironment": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand",
|
344
|
+
"order": 1
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
|
348
|
+
"jobQueueName": "HighPriority",
|
349
|
+
"priority": 1,
|
350
|
+
"state": "ENABLED",
|
351
|
+
"status": "VALID",
|
352
|
+
"statusReason": "JobQueue Healthy"
|
353
|
+
}
|
354
|
+
]
|
355
|
+
},
|
356
|
+
"comments": {
|
357
|
+
"input": {
|
358
|
+
},
|
359
|
+
"output": {
|
360
|
+
}
|
361
|
+
},
|
362
|
+
"description": "This example describes the HighPriority job queue.",
|
363
|
+
"id": "to-describe-a-job-queue-1481153995804",
|
364
|
+
"title": "To describe a job queue"
|
365
|
+
}
|
366
|
+
],
|
367
|
+
"DescribeJobs": [
|
368
|
+
{
|
369
|
+
"input": {
|
370
|
+
"jobs": [
|
371
|
+
"24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9"
|
372
|
+
]
|
373
|
+
},
|
374
|
+
"output": {
|
375
|
+
"jobs": [
|
376
|
+
{
|
377
|
+
"container": {
|
378
|
+
"command": [
|
379
|
+
"sleep",
|
380
|
+
"60"
|
381
|
+
],
|
382
|
+
"containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c",
|
383
|
+
"environment": [
|
384
|
+
|
385
|
+
],
|
386
|
+
"exitCode": 0,
|
387
|
+
"image": "busybox",
|
388
|
+
"memory": 128,
|
389
|
+
"mountPoints": [
|
390
|
+
|
391
|
+
],
|
392
|
+
"ulimits": [
|
393
|
+
|
394
|
+
],
|
395
|
+
"vcpus": 1,
|
396
|
+
"volumes": [
|
397
|
+
|
398
|
+
]
|
399
|
+
},
|
400
|
+
"createdAt": 1480460782010,
|
401
|
+
"dependsOn": [
|
402
|
+
|
403
|
+
],
|
404
|
+
"jobDefinition": "sleep60",
|
405
|
+
"jobId": "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9",
|
406
|
+
"jobName": "example",
|
407
|
+
"jobQueue": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
|
408
|
+
"parameters": {
|
409
|
+
},
|
410
|
+
"startedAt": 1480460816500,
|
411
|
+
"status": "SUCCEEDED",
|
412
|
+
"stoppedAt": 1480460880699
|
413
|
+
}
|
414
|
+
]
|
415
|
+
},
|
416
|
+
"comments": {
|
417
|
+
"input": {
|
418
|
+
},
|
419
|
+
"output": {
|
420
|
+
}
|
421
|
+
},
|
422
|
+
"description": "This example describes a job with the specified job ID.",
|
423
|
+
"id": "to-describe-a-specific-job-1481154090490",
|
424
|
+
"title": "To describe a specific job"
|
425
|
+
}
|
426
|
+
],
|
427
|
+
"ListJobs": [
|
428
|
+
{
|
429
|
+
"input": {
|
430
|
+
"jobQueue": "HighPriority"
|
431
|
+
},
|
432
|
+
"output": {
|
433
|
+
"jobSummaryList": [
|
434
|
+
{
|
435
|
+
"jobId": "e66ff5fd-a1ff-4640-b1a2-0b0a142f49bb",
|
436
|
+
"jobName": "example"
|
437
|
+
}
|
438
|
+
]
|
439
|
+
},
|
440
|
+
"comments": {
|
441
|
+
"input": {
|
442
|
+
},
|
443
|
+
"output": {
|
444
|
+
}
|
445
|
+
},
|
446
|
+
"description": "This example lists the running jobs in the HighPriority job queue.",
|
447
|
+
"id": "to-list-running-jobs-1481154202164",
|
448
|
+
"title": "To list running jobs"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"input": {
|
452
|
+
"jobQueue": "HighPriority",
|
453
|
+
"jobStatus": "SUBMITTED"
|
454
|
+
},
|
455
|
+
"output": {
|
456
|
+
"jobSummaryList": [
|
457
|
+
{
|
458
|
+
"jobId": "68f0c163-fbd4-44e6-9fd1-25b14a434786",
|
459
|
+
"jobName": "example"
|
460
|
+
}
|
461
|
+
]
|
462
|
+
},
|
463
|
+
"comments": {
|
464
|
+
"input": {
|
465
|
+
},
|
466
|
+
"output": {
|
467
|
+
}
|
468
|
+
},
|
469
|
+
"description": "This example lists jobs in the HighPriority job queue that are in the SUBMITTED job status.",
|
470
|
+
"id": "to-list-submitted-jobs-1481154251623",
|
471
|
+
"title": "To list submitted jobs"
|
472
|
+
}
|
473
|
+
],
|
474
|
+
"RegisterJobDefinition": [
|
475
|
+
{
|
476
|
+
"input": {
|
477
|
+
"type": "container",
|
478
|
+
"containerProperties": {
|
479
|
+
"command": [
|
480
|
+
"sleep",
|
481
|
+
"10"
|
482
|
+
],
|
483
|
+
"image": "busybox",
|
484
|
+
"memory": 128,
|
485
|
+
"vcpus": 1
|
486
|
+
},
|
487
|
+
"jobDefinitionName": "sleep10"
|
488
|
+
},
|
489
|
+
"output": {
|
490
|
+
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1",
|
491
|
+
"jobDefinitionName": "sleep10",
|
492
|
+
"revision": 1
|
493
|
+
},
|
494
|
+
"comments": {
|
495
|
+
"input": {
|
496
|
+
},
|
497
|
+
"output": {
|
498
|
+
}
|
499
|
+
},
|
500
|
+
"description": "This example registers a job definition for a simple container job.",
|
501
|
+
"id": "to-register-a-job-definition-1481154325325",
|
502
|
+
"title": "To register a job definition"
|
503
|
+
}
|
504
|
+
],
|
505
|
+
"SubmitJob": [
|
506
|
+
{
|
507
|
+
"input": {
|
508
|
+
"jobDefinition": "sleep60",
|
509
|
+
"jobName": "example",
|
510
|
+
"jobQueue": "HighPriority"
|
511
|
+
},
|
512
|
+
"output": {
|
513
|
+
"jobId": "876da822-4198-45f2-a252-6cea32512ea8",
|
514
|
+
"jobName": "example"
|
515
|
+
},
|
516
|
+
"comments": {
|
517
|
+
"input": {
|
518
|
+
},
|
519
|
+
"output": {
|
520
|
+
}
|
521
|
+
},
|
522
|
+
"description": "This example submits a simple container job called example to the HighPriority job queue.",
|
523
|
+
"id": "to-submit-a-job-to-a-queue-1481154481673",
|
524
|
+
"title": "To submit a job to a queue"
|
525
|
+
}
|
526
|
+
],
|
527
|
+
"TerminateJob": [
|
528
|
+
{
|
529
|
+
"input": {
|
530
|
+
"jobId": "61e743ed-35e4-48da-b2de-5c8333821c84",
|
531
|
+
"reason": "Terminating job."
|
532
|
+
},
|
533
|
+
"output": {
|
534
|
+
},
|
535
|
+
"comments": {
|
536
|
+
"input": {
|
537
|
+
},
|
538
|
+
"output": {
|
539
|
+
}
|
540
|
+
},
|
541
|
+
"description": "This example terminates a job with the specified job ID.",
|
542
|
+
"id": "to-terminate-a-job-1481154558276",
|
543
|
+
"title": "To terminate a job"
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"UpdateComputeEnvironment": [
|
547
|
+
{
|
548
|
+
"input": {
|
549
|
+
"computeEnvironment": "P2OnDemand",
|
550
|
+
"state": "DISABLED"
|
551
|
+
},
|
552
|
+
"output": {
|
553
|
+
"computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand",
|
554
|
+
"computeEnvironmentName": "P2OnDemand"
|
555
|
+
},
|
556
|
+
"comments": {
|
557
|
+
"input": {
|
558
|
+
},
|
559
|
+
"output": {
|
560
|
+
}
|
561
|
+
},
|
562
|
+
"description": "This example disables the P2OnDemand compute environment so it can be deleted.",
|
563
|
+
"id": "to-update-a-compute-environment-1481154702731",
|
564
|
+
"title": "To update a compute environment"
|
565
|
+
}
|
566
|
+
],
|
567
|
+
"UpdateJobQueue": [
|
568
|
+
{
|
569
|
+
"input": {
|
570
|
+
"jobQueue": "GPGPU",
|
571
|
+
"state": "DISABLED"
|
572
|
+
},
|
573
|
+
"output": {
|
574
|
+
"jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/GPGPU",
|
575
|
+
"jobQueueName": "GPGPU"
|
576
|
+
},
|
577
|
+
"comments": {
|
578
|
+
"input": {
|
579
|
+
},
|
580
|
+
"output": {
|
581
|
+
}
|
582
|
+
},
|
583
|
+
"description": "This example disables a job queue so that it can be deleted.",
|
584
|
+
"id": "to-update-a-job-queue-1481154806981",
|
585
|
+
"title": "To update a job queue"
|
586
|
+
}
|
587
|
+
]
|
588
|
+
}
|
589
|
+
}
|