Skip to content

Commit 6612b22

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 0616805 commit 6612b22

File tree

13 files changed

+415
-142
lines changed

13 files changed

+415
-142
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::Batch - Updated the documentation for AWS Batch.
5+
6+
* Feature - Aws::CloudHSMV2 - Updated the API, and documentation for AWS CloudHSM V2.
7+
8+
* Feature - Aws::ECS - Updated the API, and documentation for Amazon EC2 Container Service.
9+
10+
* Feature - Aws::MediaConvert - Updated the API, and documentation for AWS Elemental MediaConvert.
11+
12+
* Feature - Aws::Neptune - Updated the API, and documentation for Amazon Neptune.
13+
14+
* Feature - Aws::Redshift - Updated the documentation for Amazon Redshift.
15+
416
2.11.431 (2020-01-16)
517
------------------
618

aws-sdk-core/apis/batch/2016-08-10/docs-2.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"CreateJobQueue": "<p>Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to the queue and assign an order of preference for the compute environments.</p> <p>You also set a priority to the job queue that determines the order in which the AWS Batch scheduler places jobs onto its associated compute environments. For example, if a compute environment is associated with more than one job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute environment.</p>",
88
"DeleteComputeEnvironment": "<p>Deletes an AWS Batch compute environment.</p> <p>Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the <a>UpdateJobQueue</a> API operation.</p>",
99
"DeleteJobQueue": "<p>Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are terminated when you delete a job queue.</p> <p>It is not necessary to disassociate compute environments from a queue before submitting a <code>DeleteJobQueue</code> request.</p>",
10-
"DeregisterJobDefinition": "<p>Deregisters an AWS Batch job definition.</p>",
10+
"DeregisterJobDefinition": "<p>Deregisters an AWS Batch job definition. Job definitions will be permanently deleted after 180 days.</p>",
1111
"DescribeComputeEnvironments": "<p>Describes one or more of your compute environments.</p> <p>If you are using an unmanaged compute environment, you can use the <code>DescribeComputeEnvironment</code> operation to determine the <code>ecsClusterArn</code> that you should launch your Amazon ECS container instances into.</p>",
1212
"DescribeJobDefinitions": "<p>Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only return job definitions that match that status.</p>",
1313
"DescribeJobQueues": "<p>Describes one or more of your job queues.</p>",
@@ -104,7 +104,7 @@
104104
"CRAllocationStrategy": {
105105
"base": null,
106106
"refs": {
107-
"ComputeResource$allocationStrategy": "<p>The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. This could be due to availability of the instance type in the region or <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html\">Amazon EC2 service limits</a>. If this is not specified, the default is <code>BEST_FIT</code>, which will use only the best fitting instance type, waiting for additional capacity if it's not available. This allocation strategy keeps costs lower but can limit scaling. <code>BEST_FIT_PROGRESSIVE</code> will select an additional instance type that is large enough to meet the requirements of the jobs in the queue, with a preference for an instance type with a lower cost. <code>SPOT_CAPACITY_OPTIMIZED</code> is only available for Spot Instance compute resources and will select an additional instance type that is large enough to meet the requirements of the jobs in the queue, with a preference for an instance type that is less likely to be interrupted.</p>"
107+
"ComputeResource$allocationStrategy": "<p>The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. This could be due to availability of the instance type in the region or <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html\">Amazon EC2 service limits</a>. If this is not specified, the default is <code>BEST_FIT</code>, which will use only the best fitting instance type, waiting for additional capacity if it's not available. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with <code>BEST_FIT</code> then the Spot Fleet IAM Role must be specified. <code>BEST_FIT_PROGRESSIVE</code> will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per vCPU. <code>SPOT_CAPACITY_OPTIMIZED</code> is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html \">Allocation Strategies</a> in the <i>AWS Batch User Guide</i>.</p>"
108108
}
109109
},
110110
"CRType": {
@@ -410,7 +410,7 @@
410410
"JobDependencyList": {
411411
"base": null,
412412
"refs": {
413-
"JobDetail$dependsOn": "<p>A list of job names or IDs on which this job depends.</p>",
413+
"JobDetail$dependsOn": "<p>A list of job IDs on which this job depends.</p>",
414414
"SubmitJobRequest$dependsOn": "<p>A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a <code>SEQUENTIAL</code> type dependency without specifying a job ID for array jobs so that each child array job completes sequentially, starting at index 0. You can also specify an <code>N_TO_N</code> type dependency with a job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin.</p>"
415415
}
416416
},
@@ -660,7 +660,7 @@
660660
"ComputeResource$ec2KeyPair": "<p>The Amazon EC2 key pair that is used for instances launched in the compute environment.</p>",
661661
"ComputeResource$instanceRole": "<p>The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, <code> <i>ecsInstanceRole</i> </code> or <code>arn:aws:iam::<i>&lt;aws_account_id&gt;</i>:instance-profile/<i>ecsInstanceRole</i> </code>. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html\">Amazon ECS Instance Role</a> in the <i>AWS Batch User Guide</i>.</p>",
662662
"ComputeResource$placementGroup": "<p>The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">Placement Groups</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>",
663-
"ComputeResource$spotIamFleetRole": "<p>The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a <code>SPOT</code> compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html\">Amazon EC2 Spot Fleet Role</a> in the <i>AWS Batch User Guide</i>.</p>",
663+
"ComputeResource$spotIamFleetRole": "<p>The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a <code>SPOT</code> compute environment. This role is required if the allocation strategy set to <code>BEST_FIT</code> or if the allocation strategy is not specified. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html\">Amazon EC2 Spot Fleet Role</a> in the <i>AWS Batch User Guide</i>.</p>",
664664
"ContainerDetail$image": "<p>The image used to start the container.</p>",
665665
"ContainerDetail$jobRoleArn": "<p>The Amazon Resource Name (ARN) associated with the job upon execution.</p>",
666666
"ContainerDetail$user": "<p>The user name to use inside the container.</p>",
@@ -739,7 +739,7 @@
739739
"StringList$member": null,
740740
"SubmitJobRequest$jobName": "<p>The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.</p>",
741741
"SubmitJobRequest$jobQueue": "<p>The job queue into which the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.</p>",
742-
"SubmitJobRequest$jobDefinition": "<p>The job definition used by this job. This value can be either a <code>name:revision</code> or the Amazon Resource Name (ARN) for the job definition.</p>",
742+
"SubmitJobRequest$jobDefinition": "<p>The job definition used by this job. This value can be one of <code>name</code>, <code>name:revision</code>, or the Amazon Resource Name (ARN) for the job definition. If <code>name</code> is specified without a revision then the latest active revision is used.</p>",
743743
"SubmitJobResponse$jobName": "<p>The name of the job.</p>",
744744
"SubmitJobResponse$jobId": "<p>The unique identifier for the job.</p>",
745745
"TagsMap$key": null,

aws-sdk-core/apis/cloudhsmv2/2017-04-28/api-2.json

Lines changed: 63 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@
2323
"input":{"shape":"CopyBackupToRegionRequest"},
2424
"output":{"shape":"CopyBackupToRegionResponse"},
2525
"errors":[
26+
{"shape":"CloudHsmAccessDeniedException"},
2627
{"shape":"CloudHsmInternalFailureException"},
27-
{"shape":"CloudHsmServiceException"},
28-
{"shape":"CloudHsmResourceNotFoundException"},
2928
{"shape":"CloudHsmInvalidRequestException"},
30-
{"shape":"CloudHsmAccessDeniedException"}
29+
{"shape":"CloudHsmResourceNotFoundException"},
30+
{"shape":"CloudHsmServiceException"},
31+
{"shape":"CloudHsmTagException"}
3132
]
3233
},
3334
"CreateCluster":{
@@ -39,11 +40,12 @@
3940
"input":{"shape":"CreateClusterRequest"},
4041
"output":{"shape":"CreateClusterResponse"},
4142
"errors":[
43+
{"shape":"CloudHsmAccessDeniedException"},
4244
{"shape":"CloudHsmInternalFailureException"},
43-
{"shape":"CloudHsmServiceException"},
44-
{"shape":"CloudHsmResourceNotFoundException"},
4545
{"shape":"CloudHsmInvalidRequestException"},
46-
{"shape":"CloudHsmAccessDeniedException"}
46+
{"shape":"CloudHsmResourceNotFoundException"},
47+
{"shape":"CloudHsmServiceException"},
48+
{"shape":"CloudHsmTagException"}
4749
]
4850
},
4951
"CreateHsm":{
@@ -71,11 +73,11 @@
7173
"input":{"shape":"DeleteBackupRequest"},
7274
"output":{"shape":"DeleteBackupResponse"},
7375
"errors":[
76+
{"shape":"CloudHsmAccessDeniedException"},
7477
{"shape":"CloudHsmInternalFailureException"},
75-
{"shape":"CloudHsmServiceException"},
76-
{"shape":"CloudHsmResourceNotFoundException"},
7778
{"shape":"CloudHsmInvalidRequestException"},
78-
{"shape":"CloudHsmAccessDeniedException"}
79+
{"shape":"CloudHsmResourceNotFoundException"},
80+
{"shape":"CloudHsmServiceException"}
7981
]
8082
},
8183
"DeleteCluster":{
@@ -87,11 +89,12 @@
8789
"input":{"shape":"DeleteClusterRequest"},
8890
"output":{"shape":"DeleteClusterResponse"},
8991
"errors":[
92+
{"shape":"CloudHsmAccessDeniedException"},
9093
{"shape":"CloudHsmInternalFailureException"},
91-
{"shape":"CloudHsmServiceException"},
92-
{"shape":"CloudHsmResourceNotFoundException"},
9394
{"shape":"CloudHsmInvalidRequestException"},
94-
{"shape":"CloudHsmAccessDeniedException"}
95+
{"shape":"CloudHsmResourceNotFoundException"},
96+
{"shape":"CloudHsmServiceException"},
97+
{"shape":"CloudHsmTagException"}
9598
]
9699
},
97100
"DeleteHsm":{
@@ -119,11 +122,12 @@
119122
"input":{"shape":"DescribeBackupsRequest"},
120123
"output":{"shape":"DescribeBackupsResponse"},
121124
"errors":[
125+
{"shape":"CloudHsmAccessDeniedException"},
122126
{"shape":"CloudHsmInternalFailureException"},
123-
{"shape":"CloudHsmServiceException"},
124-
{"shape":"CloudHsmResourceNotFoundException"},
125127
{"shape":"CloudHsmInvalidRequestException"},
126-
{"shape":"CloudHsmAccessDeniedException"}
128+
{"shape":"CloudHsmResourceNotFoundException"},
129+
{"shape":"CloudHsmServiceException"},
130+
{"shape":"CloudHsmTagException"}
127131
]
128132
},
129133
"DescribeClusters":{
@@ -135,10 +139,11 @@
135139
"input":{"shape":"DescribeClustersRequest"},
136140
"output":{"shape":"DescribeClustersResponse"},
137141
"errors":[
142+
{"shape":"CloudHsmAccessDeniedException"},
138143
{"shape":"CloudHsmInternalFailureException"},
139-
{"shape":"CloudHsmServiceException"},
140144
{"shape":"CloudHsmInvalidRequestException"},
141-
{"shape":"CloudHsmAccessDeniedException"}
145+
{"shape":"CloudHsmServiceException"},
146+
{"shape":"CloudHsmTagException"}
142147
]
143148
},
144149
"InitializeCluster":{
@@ -150,11 +155,11 @@
150155
"input":{"shape":"InitializeClusterRequest"},
151156
"output":{"shape":"InitializeClusterResponse"},
152157
"errors":[
158+
{"shape":"CloudHsmAccessDeniedException"},
153159
{"shape":"CloudHsmInternalFailureException"},
154-
{"shape":"CloudHsmServiceException"},
155-
{"shape":"CloudHsmResourceNotFoundException"},
156160
{"shape":"CloudHsmInvalidRequestException"},
157-
{"shape":"CloudHsmAccessDeniedException"}
161+
{"shape":"CloudHsmResourceNotFoundException"},
162+
{"shape":"CloudHsmServiceException"}
158163
]
159164
},
160165
"ListTags":{
@@ -166,11 +171,12 @@
166171
"input":{"shape":"ListTagsRequest"},
167172
"output":{"shape":"ListTagsResponse"},
168173
"errors":[
174+
{"shape":"CloudHsmAccessDeniedException"},
169175
{"shape":"CloudHsmInternalFailureException"},
170-
{"shape":"CloudHsmServiceException"},
171-
{"shape":"CloudHsmResourceNotFoundException"},
172176
{"shape":"CloudHsmInvalidRequestException"},
173-
{"shape":"CloudHsmAccessDeniedException"}
177+
{"shape":"CloudHsmResourceNotFoundException"},
178+
{"shape":"CloudHsmServiceException"},
179+
{"shape":"CloudHsmTagException"}
174180
]
175181
},
176182
"RestoreBackup":{
@@ -182,11 +188,11 @@
182188
"input":{"shape":"RestoreBackupRequest"},
183189
"output":{"shape":"RestoreBackupResponse"},
184190
"errors":[
191+
{"shape":"CloudHsmAccessDeniedException"},
185192
{"shape":"CloudHsmInternalFailureException"},
186-
{"shape":"CloudHsmServiceException"},
187-
{"shape":"CloudHsmResourceNotFoundException"},
188193
{"shape":"CloudHsmInvalidRequestException"},
189-
{"shape":"CloudHsmAccessDeniedException"}
194+
{"shape":"CloudHsmResourceNotFoundException"},
195+
{"shape":"CloudHsmServiceException"}
190196
]
191197
},
192198
"TagResource":{
@@ -198,11 +204,12 @@
198204
"input":{"shape":"TagResourceRequest"},
199205
"output":{"shape":"TagResourceResponse"},
200206
"errors":[
207+
{"shape":"CloudHsmAccessDeniedException"},
201208
{"shape":"CloudHsmInternalFailureException"},
202-
{"shape":"CloudHsmServiceException"},
203-
{"shape":"CloudHsmResourceNotFoundException"},
204209
{"shape":"CloudHsmInvalidRequestException"},
205-
{"shape":"CloudHsmAccessDeniedException"}
210+
{"shape":"CloudHsmResourceNotFoundException"},
211+
{"shape":"CloudHsmServiceException"},
212+
{"shape":"CloudHsmTagException"}
206213
]
207214
},
208215
"UntagResource":{
@@ -214,11 +221,12 @@
214221
"input":{"shape":"UntagResourceRequest"},
215222
"output":{"shape":"UntagResourceResponse"},
216223
"errors":[
224+
{"shape":"CloudHsmAccessDeniedException"},
217225
{"shape":"CloudHsmInternalFailureException"},
218-
{"shape":"CloudHsmServiceException"},
219-
{"shape":"CloudHsmResourceNotFoundException"},
220226
{"shape":"CloudHsmInvalidRequestException"},
221-
{"shape":"CloudHsmAccessDeniedException"}
227+
{"shape":"CloudHsmResourceNotFoundException"},
228+
{"shape":"CloudHsmServiceException"},
229+
{"shape":"CloudHsmTagException"}
222230
]
223231
}
224232
},
@@ -235,7 +243,8 @@
235243
"SourceRegion":{"shape":"Region"},
236244
"SourceBackup":{"shape":"BackupId"},
237245
"SourceCluster":{"shape":"ClusterId"},
238-
"DeleteTimestamp":{"shape":"Timestamp"}
246+
"DeleteTimestamp":{"shape":"Timestamp"},
247+
"TagList":{"shape":"TagList"}
239248
}
240249
},
241250
"BackupId":{
@@ -311,6 +320,13 @@
311320
},
312321
"exception":true
313322
},
323+
"CloudHsmTagException":{
324+
"type":"structure",
325+
"members":{
326+
"Message":{"shape":"errorMessage"}
327+
},
328+
"exception":true
329+
},
314330
"Cluster":{
315331
"type":"structure",
316332
"members":{
@@ -326,7 +342,8 @@
326342
"StateMessage":{"shape":"StateMessage"},
327343
"SubnetMapping":{"shape":"ExternalSubnetMapping"},
328344
"VpcId":{"shape":"VpcId"},
329-
"Certificates":{"shape":"Certificates"}
345+
"Certificates":{"shape":"Certificates"},
346+
"TagList":{"shape":"TagList"}
330347
}
331348
},
332349
"ClusterId":{
@@ -359,7 +376,8 @@
359376
],
360377
"members":{
361378
"DestinationRegion":{"shape":"Region"},
362-
"BackupId":{"shape":"BackupId"}
379+
"BackupId":{"shape":"BackupId"},
380+
"TagList":{"shape":"TagList"}
363381
}
364382
},
365383
"CopyBackupToRegionResponse":{
@@ -377,7 +395,8 @@
377395
"members":{
378396
"SubnetIds":{"shape":"SubnetIds"},
379397
"HsmType":{"shape":"HsmType"},
380-
"SourceBackupId":{"shape":"BackupId"}
398+
"SourceBackupId":{"shape":"BackupId"},
399+
"TagList":{"shape":"TagList"}
381400
}
382401
},
383402
"CreateClusterResponse":{
@@ -572,7 +591,7 @@
572591
"type":"structure",
573592
"required":["ResourceId"],
574593
"members":{
575-
"ResourceId":{"shape":"ClusterId"},
594+
"ResourceId":{"shape":"ResourceId"},
576595
"NextToken":{"shape":"NextToken"},
577596
"MaxResults":{"shape":"MaxSize"}
578597
}
@@ -604,6 +623,10 @@
604623
"type":"string",
605624
"pattern":"[a-z]{2}(-(gov))?-(east|west|north|south|central){1,2}-\\d"
606625
},
626+
"ResourceId":{
627+
"type":"string",
628+
"pattern":"(?:cluster|backup)-[2-7a-zA-Z]{11,16}"
629+
},
607630
"RestoreBackupRequest":{
608631
"type":"structure",
609632
"required":["BackupId"],
@@ -619,7 +642,7 @@
619642
},
620643
"SecurityGroup":{
621644
"type":"string",
622-
"pattern":"sg-[0-9a-fA-F]"
645+
"pattern":"sg-[0-9a-fA-F]{8,17}"
623646
},
624647
"StateMessage":{
625648
"type":"string",
@@ -677,7 +700,7 @@
677700
"TagList"
678701
],
679702
"members":{
680-
"ResourceId":{"shape":"ClusterId"},
703+
"ResourceId":{"shape":"ResourceId"},
681704
"TagList":{"shape":"TagList"}
682705
}
683706
},
@@ -700,7 +723,7 @@
700723
"TagKeyList"
701724
],
702725
"members":{
703-
"ResourceId":{"shape":"ClusterId"},
726+
"ResourceId":{"shape":"ResourceId"},
704727
"TagKeyList":{"shape":"TagKeyList"}
705728
}
706729
},

0 commit comments

Comments
 (0)