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.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/apis/acm/2015-12-08/api-2.json +34 -3
  3. data/apis/acm/2015-12-08/paginators-1.json +2 -2
  4. data/apis/apigateway/2015-07-09/api-2.json +625 -17
  5. data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
  6. data/apis/appstream/2016-12-01/api-2.json +820 -0
  7. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  8. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  9. data/apis/autoscaling/2011-01-01/api-2.json +1 -0
  10. data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
  11. data/apis/batch/2016-08-10/api-2.json +885 -0
  12. data/apis/batch/2016-08-10/examples-1.json +589 -0
  13. data/apis/budgets/2016-10-20/api-2.json +696 -0
  14. data/apis/budgets/2016-10-20/examples-1.json +5 -0
  15. data/apis/cloudformation/2010-05-15/api-2.json +126 -11
  16. data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
  17. data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
  18. data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
  19. data/apis/cloudfront/2016-01-28/api-2.json +1 -0
  20. data/apis/cloudfront/2016-08-01/api-2.json +1 -0
  21. data/apis/cloudfront/2016-08-20/api-2.json +1 -0
  22. data/apis/cloudfront/2016-09-07/api-2.json +1 -0
  23. data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
  24. data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
  25. data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
  26. data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
  27. data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
  28. data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
  29. data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
  30. data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
  31. data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
  32. data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
  33. data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
  34. data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
  35. data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
  36. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  37. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  38. data/apis/codecommit/2015-04-13/api-2.json +2 -1
  39. data/apis/codedeploy/2014-10-06/api-2.json +35 -6
  40. data/apis/codepipeline/2015-07-09/api-2.json +3 -2
  41. data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
  42. data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
  43. data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
  44. data/apis/config/2014-11-12/api-2.json +40 -9
  45. data/apis/config/2014-11-12/paginators-1.json +2 -2
  46. data/apis/cur/2017-01-06/api-2.json +226 -0
  47. data/apis/cur/2017-01-06/examples-1.json +5 -0
  48. data/apis/cur/2017-01-06/paginators-1.json +9 -0
  49. data/apis/datapipeline/2012-10-29/api-2.json +2 -1
  50. data/apis/devicefarm/2015-06-23/api-2.json +2 -1
  51. data/apis/directconnect/2012-10-25/api-2.json +257 -10
  52. data/apis/discovery/2015-11-01/api-2.json +316 -5
  53. data/apis/dms/2016-01-01/api-2.json +45 -9
  54. data/apis/ds/2015-04-16/api-2.json +144 -1
  55. data/apis/dynamodb/2011-12-05/api-2.json +802 -0
  56. data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
  57. data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
  58. data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
  59. data/apis/dynamodb/2012-08-10/api-2.json +115 -1
  60. data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
  61. data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
  62. data/apis/ec2/2015-10-01/api-2.json +1 -0
  63. data/apis/ec2/2016-04-01/api-2.json +1 -0
  64. data/apis/ec2/2016-09-15/api-2.json +1 -0
  65. data/apis/ec2/2016-11-15/api-2.json +15037 -0
  66. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  67. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  68. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  69. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  70. data/apis/ecr/2015-09-21/api-2.json +17 -3
  71. data/apis/ecr/2015-09-21/paginators-1.json +12 -6
  72. data/apis/ecs/2014-11-13/api-2.json +183 -9
  73. data/apis/elasticache/2015-02-02/api-2.json +5 -2
  74. data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
  75. data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
  76. data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
  77. data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
  78. data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
  79. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
  80. data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
  81. data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
  82. data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
  83. data/apis/email/2010-12-01/api-2.json +425 -4
  84. data/apis/es/2015-01-01/api-2.json +1 -0
  85. data/apis/events/2015-10-07/api-2.json +1 -0
  86. data/apis/firehose/2015-08-04/api-2.json +151 -4
  87. data/apis/firehose/2015-08-04/examples-1.json +5 -0
  88. data/apis/gamelift/2015-10-01/api-2.json +59 -1
  89. data/apis/glacier/2012-06-01/api-2.json +369 -779
  90. data/apis/glacier/2012-06-01/examples-1.json +806 -0
  91. data/apis/glacier/2012-06-01/paginators-1.json +5 -5
  92. data/apis/health/2016-08-04/api-2.json +547 -0
  93. data/apis/health/2016-08-04/examples-1.json +5 -0
  94. data/apis/health/2016-08-04/paginators-1.json +31 -0
  95. data/apis/iam/2010-05-08/api-2.json +209 -0
  96. data/apis/iam/2010-05-08/examples-1.json +1186 -0
  97. data/apis/importexport/2010-06-01/api-2.json +1 -0
  98. data/apis/inspector/2016-02-16/api-2.json +2 -1
  99. data/apis/inspector/2016-02-16/examples-1.json +1135 -0
  100. data/apis/iot-data/2015-05-28/api-2.json +1 -0
  101. data/apis/iot/2015-05-28/api-2.json +16 -0
  102. data/apis/kinesis/2013-12-02/api-2.json +80 -12
  103. data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
  104. data/apis/kms/2014-11-01/api-2.json +2 -1
  105. data/apis/kms/2014-11-01/examples-1.json +810 -0
  106. data/apis/lambda/2014-11-11/api-2.json +1 -0
  107. data/apis/lambda/2015-03-31/api-2.json +162 -9
  108. data/apis/lambda/2015-03-31/examples-1.json +609 -0
  109. data/apis/lightsail/2016-11-28/api-2.json +2137 -0
  110. data/apis/lightsail/2016-11-28/examples-1.json +5 -0
  111. data/apis/logs/2014-03-28/api-2.json +113 -6
  112. data/apis/machinelearning/2014-12-12/api-2.json +1 -0
  113. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
  114. data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
  115. data/apis/monitoring/2010-08-01/api-2.json +27 -6
  116. data/apis/opsworks/2013-02-18/api-2.json +1 -0
  117. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  118. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  119. data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
  120. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  121. data/apis/polly/2016-06-10/api-2.json +504 -0
  122. data/apis/polly/2016-06-10/examples-1.json +171 -0
  123. data/apis/rds/2013-01-10/api-2.json +2902 -0
  124. data/apis/rds/2013-01-10/examples-1.json +5 -0
  125. data/apis/rds/2013-01-10/paginators-1.json +97 -0
  126. data/apis/rds/2013-02-12/api-2.json +3058 -0
  127. data/apis/rds/2013-02-12/examples-1.json +5 -0
  128. data/apis/rds/2013-02-12/paginators-1.json +110 -0
  129. data/apis/rds/2013-09-09/api-2.json +3159 -0
  130. data/apis/rds/2013-09-09/examples-1.json +5 -0
  131. data/apis/rds/2013-09-09/paginators-1.json +110 -0
  132. data/apis/rds/2013-09-09/waiters-2.json +97 -0
  133. data/apis/rds/2014-09-01/api-2.json +3272 -0
  134. data/apis/rds/2014-09-01/examples-1.json +5 -0
  135. data/apis/rds/2014-09-01/paginators-1.json +4 -0
  136. data/apis/rds/2014-10-31/api-2.json +121 -6
  137. data/apis/rds/2014-10-31/examples-1.json +0 -444
  138. data/apis/rds/2014-10-31/paginators-1.json +18 -18
  139. data/apis/rds/2014-10-31/resources-1.json +1 -1
  140. data/apis/redshift/2012-12-01/api-2.json +1 -0
  141. data/apis/rekognition/2016-06-27/api-2.json +836 -0
  142. data/apis/rekognition/2016-06-27/examples-1.json +651 -0
  143. data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
  144. data/apis/route53/2013-04-01/api-2.json +186 -219
  145. data/apis/route53/2013-04-01/paginators-1.json +9 -9
  146. data/apis/route53domains/2014-05-15/api-2.json +1 -0
  147. data/apis/s3/2006-03-01/api-2.json +843 -23
  148. data/apis/sdb/2009-04-15/api-2.json +1 -0
  149. data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
  150. data/apis/shield/2016-06-02/api-2.json +494 -0
  151. data/apis/shield/2016-06-02/examples-1.json +5 -0
  152. data/apis/sms/2016-10-24/api-2.json +612 -0
  153. data/apis/sms/2016-10-24/examples-1.json +5 -0
  154. data/apis/sms/2016-10-24/paginators-1.json +28 -0
  155. data/apis/snowball/2016-06-30/api-2.json +283 -11
  156. data/apis/snowball/2016-06-30/examples-1.json +437 -0
  157. data/apis/sns/2010-03-31/api-2.json +1 -0
  158. data/apis/sqs/2012-11-05/api-2.json +74 -38
  159. data/apis/sqs/2012-11-05/examples-1.json +0 -613
  160. data/apis/sqs/2012-11-05/resources-1.json +232 -0
  161. data/apis/ssm/2014-11-06/api-2.json +4036 -536
  162. data/apis/states/2016-11-23/api-2.json +1021 -0
  163. data/apis/states/2016-11-23/examples-1.json +5 -0
  164. data/apis/states/2016-11-23/paginators-1.json +28 -0
  165. data/apis/storagegateway/2013-06-30/api-2.json +269 -6
  166. data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
  167. data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
  168. data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
  169. data/apis/sts/2011-06-15/api-2.json +1 -0
  170. data/apis/sts/2011-06-15/examples-1.json +201 -0
  171. data/apis/support/2013-04-15/api-2.json +1 -0
  172. data/apis/swf/2012-01-25/api-2.json +1 -0
  173. data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
  174. data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
  175. data/apis/waf/2015-08-24/api-2.json +3 -1
  176. data/apis/waf/2015-08-24/examples-1.json +1012 -0
  177. data/apis/workspaces/2015-04-08/api-2.json +1 -0
  178. data/apis/xray/2016-04-12/api-2.json +491 -0
  179. data/apis/xray/2016-04-12/examples-1.json +5 -0
  180. data/endpoints.json +781 -392
  181. data/lib/aws-sdk-core.rb +20 -0
  182. data/lib/aws-sdk-core/api/customizations.rb +16 -0
  183. data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
  184. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
  185. data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
  186. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
  187. data/lib/aws-sdk-core/appstream.rb +6 -0
  188. data/lib/aws-sdk-core/batch.rb +5 -0
  189. data/lib/aws-sdk-core/budgets.rb +5 -0
  190. data/lib/aws-sdk-core/client.rb +1 -0
  191. data/lib/aws-sdk-core/client_waiters.rb +5 -5
  192. data/lib/aws-sdk-core/cloudfront.rb +5 -5
  193. data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
  194. data/lib/aws-sdk-core/codebuild.rb +5 -0
  195. data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
  196. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
  197. data/lib/aws-sdk-core/cur.rb +6 -0
  198. data/lib/aws-sdk-core/ec2.rb +6 -6
  199. data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
  200. data/lib/aws-sdk-core/firehose.rb +1 -0
  201. data/lib/aws-sdk-core/glacier.rb +1 -0
  202. data/lib/aws-sdk-core/health.rb +6 -0
  203. data/lib/aws-sdk-core/lightsail.rb +5 -0
  204. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  205. data/lib/aws-sdk-core/partitions/region.rb +0 -12
  206. data/lib/aws-sdk-core/partitions/service.rb +1 -11
  207. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  208. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
  209. data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
  210. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
  211. data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
  212. data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
  213. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
  214. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
  215. data/lib/aws-sdk-core/polly.rb +13 -0
  216. data/lib/aws-sdk-core/polly/presigner.rb +70 -0
  217. data/lib/aws-sdk-core/rekognition.rb +6 -0
  218. data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
  219. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
  220. data/lib/aws-sdk-core/shield.rb +5 -0
  221. data/lib/aws-sdk-core/signers/v4.rb +2 -1
  222. data/lib/aws-sdk-core/sms.rb +6 -0
  223. data/lib/aws-sdk-core/sqs.rb +1 -0
  224. data/lib/aws-sdk-core/states.rb +6 -0
  225. data/lib/aws-sdk-core/version.rb +1 -1
  226. data/lib/aws-sdk-core/wafregional.rb +5 -0
  227. data/lib/aws-sdk-core/xray.rb +5 -0
  228. data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
  229. data/lib/seahorse/client/net_http/handler.rb +5 -2
  230. data/lib/seahorse/client/plugin_list.rb +3 -1
  231. data/lib/seahorse/client/response.rb +9 -20
  232. data/service-models.json +66 -2
  233. 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
+ }