aws-sdk-batch 1.63.0 → 1.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +163 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +1398 -93
- data/lib/aws-sdk-batch/client_api.rb +252 -0
- data/lib/aws-sdk-batch/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-batch/endpoint_provider.rb +60 -0
- data/lib/aws-sdk-batch/endpoints.rb +366 -0
- data/lib/aws-sdk-batch/plugins/endpoints.rb +120 -0
- data/lib/aws-sdk-batch/types.rb +2326 -2244
- data/lib/aws-sdk-batch.rb +5 -1
- data/sig/client.rbs +1386 -0
- data/sig/errors.rbs +22 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1171 -0
- data/sig/waiters.rbs +13 -0
- metadata +20 -11
|
@@ -22,6 +22,8 @@ module Aws::Batch
|
|
|
22
22
|
AttemptContainerDetail = Shapes::StructureShape.new(name: 'AttemptContainerDetail')
|
|
23
23
|
AttemptDetail = Shapes::StructureShape.new(name: 'AttemptDetail')
|
|
24
24
|
AttemptDetails = Shapes::ListShape.new(name: 'AttemptDetails')
|
|
25
|
+
AttemptEcsTaskDetails = Shapes::StructureShape.new(name: 'AttemptEcsTaskDetails')
|
|
26
|
+
AttemptTaskContainerDetails = Shapes::StructureShape.new(name: 'AttemptTaskContainerDetails')
|
|
25
27
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
26
28
|
CEState = Shapes::StringShape.new(name: 'CEState')
|
|
27
29
|
CEStatus = Shapes::StringShape.new(name: 'CEStatus')
|
|
@@ -76,6 +78,11 @@ module Aws::Batch
|
|
|
76
78
|
EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
|
|
77
79
|
Ec2Configuration = Shapes::StructureShape.new(name: 'Ec2Configuration')
|
|
78
80
|
Ec2ConfigurationList = Shapes::ListShape.new(name: 'Ec2ConfigurationList')
|
|
81
|
+
EcsProperties = Shapes::StructureShape.new(name: 'EcsProperties')
|
|
82
|
+
EcsPropertiesDetail = Shapes::StructureShape.new(name: 'EcsPropertiesDetail')
|
|
83
|
+
EcsPropertiesOverride = Shapes::StructureShape.new(name: 'EcsPropertiesOverride')
|
|
84
|
+
EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
|
|
85
|
+
EcsTaskProperties = Shapes::StructureShape.new(name: 'EcsTaskProperties')
|
|
79
86
|
EksAttemptContainerDetail = Shapes::StructureShape.new(name: 'EksAttemptContainerDetail')
|
|
80
87
|
EksAttemptContainerDetails = Shapes::ListShape.new(name: 'EksAttemptContainerDetails')
|
|
81
88
|
EksAttemptDetail = Shapes::StructureShape.new(name: 'EksAttemptDetail')
|
|
@@ -95,7 +102,9 @@ module Aws::Batch
|
|
|
95
102
|
EksContainers = Shapes::ListShape.new(name: 'EksContainers')
|
|
96
103
|
EksEmptyDir = Shapes::StructureShape.new(name: 'EksEmptyDir')
|
|
97
104
|
EksHostPath = Shapes::StructureShape.new(name: 'EksHostPath')
|
|
105
|
+
EksLabelsMap = Shapes::MapShape.new(name: 'EksLabelsMap')
|
|
98
106
|
EksLimits = Shapes::MapShape.new(name: 'EksLimits')
|
|
107
|
+
EksMetadata = Shapes::StructureShape.new(name: 'EksMetadata')
|
|
99
108
|
EksPodProperties = Shapes::StructureShape.new(name: 'EksPodProperties')
|
|
100
109
|
EksPodPropertiesDetail = Shapes::StructureShape.new(name: 'EksPodPropertiesDetail')
|
|
101
110
|
EksPodPropertiesOverride = Shapes::StructureShape.new(name: 'EksPodPropertiesOverride')
|
|
@@ -107,13 +116,21 @@ module Aws::Batch
|
|
|
107
116
|
EksVolume = Shapes::StructureShape.new(name: 'EksVolume')
|
|
108
117
|
EksVolumes = Shapes::ListShape.new(name: 'EksVolumes')
|
|
109
118
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
|
119
|
+
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
|
|
110
120
|
EvaluateOnExit = Shapes::StructureShape.new(name: 'EvaluateOnExit')
|
|
111
121
|
EvaluateOnExitList = Shapes::ListShape.new(name: 'EvaluateOnExitList')
|
|
112
122
|
FairsharePolicy = Shapes::StructureShape.new(name: 'FairsharePolicy')
|
|
113
123
|
FargatePlatformConfiguration = Shapes::StructureShape.new(name: 'FargatePlatformConfiguration')
|
|
114
124
|
Float = Shapes::FloatShape.new(name: 'Float')
|
|
125
|
+
FrontOfQueueDetail = Shapes::StructureShape.new(name: 'FrontOfQueueDetail')
|
|
126
|
+
FrontOfQueueJobSummary = Shapes::StructureShape.new(name: 'FrontOfQueueJobSummary')
|
|
127
|
+
FrontOfQueueJobSummaryList = Shapes::ListShape.new(name: 'FrontOfQueueJobSummaryList')
|
|
128
|
+
GetJobQueueSnapshotRequest = Shapes::StructureShape.new(name: 'GetJobQueueSnapshotRequest')
|
|
129
|
+
GetJobQueueSnapshotResponse = Shapes::StructureShape.new(name: 'GetJobQueueSnapshotResponse')
|
|
115
130
|
Host = Shapes::StructureShape.new(name: 'Host')
|
|
116
131
|
ImageIdOverride = Shapes::StringShape.new(name: 'ImageIdOverride')
|
|
132
|
+
ImagePullSecret = Shapes::StructureShape.new(name: 'ImagePullSecret')
|
|
133
|
+
ImagePullSecrets = Shapes::ListShape.new(name: 'ImagePullSecrets')
|
|
117
134
|
ImageType = Shapes::StringShape.new(name: 'ImageType')
|
|
118
135
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
119
136
|
JQState = Shapes::StringShape.new(name: 'JQState')
|
|
@@ -128,6 +145,10 @@ module Aws::Batch
|
|
|
128
145
|
JobExecutionTimeoutMinutes = Shapes::IntegerShape.new(name: 'JobExecutionTimeoutMinutes')
|
|
129
146
|
JobQueueDetail = Shapes::StructureShape.new(name: 'JobQueueDetail')
|
|
130
147
|
JobQueueDetailList = Shapes::ListShape.new(name: 'JobQueueDetailList')
|
|
148
|
+
JobStateTimeLimitAction = Shapes::StructureShape.new(name: 'JobStateTimeLimitAction')
|
|
149
|
+
JobStateTimeLimitActions = Shapes::ListShape.new(name: 'JobStateTimeLimitActions')
|
|
150
|
+
JobStateTimeLimitActionsAction = Shapes::StringShape.new(name: 'JobStateTimeLimitActionsAction')
|
|
151
|
+
JobStateTimeLimitActionsState = Shapes::StringShape.new(name: 'JobStateTimeLimitActionsState')
|
|
131
152
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
|
132
153
|
JobSummary = Shapes::StructureShape.new(name: 'JobSummary')
|
|
133
154
|
JobSummaryList = Shapes::ListShape.new(name: 'JobSummaryList')
|
|
@@ -137,6 +158,10 @@ module Aws::Batch
|
|
|
137
158
|
KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
|
|
138
159
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
|
139
160
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
|
161
|
+
ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
|
|
162
|
+
ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
|
|
163
|
+
ListEcsTaskDetails = Shapes::ListShape.new(name: 'ListEcsTaskDetails')
|
|
164
|
+
ListEcsTaskProperties = Shapes::ListShape.new(name: 'ListEcsTaskProperties')
|
|
140
165
|
ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
|
|
141
166
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
|
142
167
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
|
@@ -144,6 +169,10 @@ module Aws::Batch
|
|
|
144
169
|
ListSchedulingPoliciesResponse = Shapes::StructureShape.new(name: 'ListSchedulingPoliciesResponse')
|
|
145
170
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
146
171
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
172
|
+
ListTaskContainerDetails = Shapes::ListShape.new(name: 'ListTaskContainerDetails')
|
|
173
|
+
ListTaskContainerOverrides = Shapes::ListShape.new(name: 'ListTaskContainerOverrides')
|
|
174
|
+
ListTaskContainerProperties = Shapes::ListShape.new(name: 'ListTaskContainerProperties')
|
|
175
|
+
ListTaskPropertiesOverride = Shapes::ListShape.new(name: 'ListTaskPropertiesOverride')
|
|
147
176
|
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
|
148
177
|
LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
|
|
149
178
|
LogDriver = Shapes::StringShape.new(name: 'LogDriver')
|
|
@@ -168,11 +197,13 @@ module Aws::Batch
|
|
|
168
197
|
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
|
169
198
|
RegisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterJobDefinitionRequest')
|
|
170
199
|
RegisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterJobDefinitionResponse')
|
|
200
|
+
RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
|
|
171
201
|
ResourceRequirement = Shapes::StructureShape.new(name: 'ResourceRequirement')
|
|
172
202
|
ResourceRequirements = Shapes::ListShape.new(name: 'ResourceRequirements')
|
|
173
203
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
174
204
|
RetryAction = Shapes::StringShape.new(name: 'RetryAction')
|
|
175
205
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
|
206
|
+
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
|
176
207
|
SchedulingPolicyDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyDetail')
|
|
177
208
|
SchedulingPolicyDetailList = Shapes::ListShape.new(name: 'SchedulingPolicyDetailList')
|
|
178
209
|
SchedulingPolicyListingDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyListingDetail')
|
|
@@ -193,6 +224,12 @@ module Aws::Batch
|
|
|
193
224
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
194
225
|
TagrisTagsMap = Shapes::MapShape.new(name: 'TagrisTagsMap')
|
|
195
226
|
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
|
227
|
+
TaskContainerDependency = Shapes::StructureShape.new(name: 'TaskContainerDependency')
|
|
228
|
+
TaskContainerDependencyList = Shapes::ListShape.new(name: 'TaskContainerDependencyList')
|
|
229
|
+
TaskContainerDetails = Shapes::StructureShape.new(name: 'TaskContainerDetails')
|
|
230
|
+
TaskContainerOverrides = Shapes::StructureShape.new(name: 'TaskContainerOverrides')
|
|
231
|
+
TaskContainerProperties = Shapes::StructureShape.new(name: 'TaskContainerProperties')
|
|
232
|
+
TaskPropertiesOverride = Shapes::StructureShape.new(name: 'TaskPropertiesOverride')
|
|
196
233
|
TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
|
|
197
234
|
TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
|
|
198
235
|
Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
|
|
@@ -238,10 +275,23 @@ module Aws::Batch
|
|
|
238
275
|
AttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
|
239
276
|
AttemptDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
|
|
240
277
|
AttemptDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
|
278
|
+
AttemptDetail.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListAttemptEcsTaskDetails, location_name: "taskProperties"))
|
|
241
279
|
AttemptDetail.struct_class = Types::AttemptDetail
|
|
242
280
|
|
|
243
281
|
AttemptDetails.member = Shapes::ShapeRef.new(shape: AttemptDetail)
|
|
244
282
|
|
|
283
|
+
AttemptEcsTaskDetails.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
|
284
|
+
AttemptEcsTaskDetails.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
|
285
|
+
AttemptEcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: ListAttemptTaskContainerDetails, location_name: "containers"))
|
|
286
|
+
AttemptEcsTaskDetails.struct_class = Types::AttemptEcsTaskDetails
|
|
287
|
+
|
|
288
|
+
AttemptTaskContainerDetails.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
|
289
|
+
AttemptTaskContainerDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
290
|
+
AttemptTaskContainerDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
|
291
|
+
AttemptTaskContainerDetails.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "logStreamName"))
|
|
292
|
+
AttemptTaskContainerDetails.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
|
|
293
|
+
AttemptTaskContainerDetails.struct_class = Types::AttemptTaskContainerDetails
|
|
294
|
+
|
|
245
295
|
CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
246
296
|
CancelJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
|
247
297
|
CancelJobRequest.struct_class = Types::CancelJobRequest
|
|
@@ -266,6 +316,7 @@ module Aws::Batch
|
|
|
266
316
|
ComputeEnvironmentDetail.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
|
267
317
|
ComputeEnvironmentDetail.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
|
268
318
|
ComputeEnvironmentDetail.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "uuid"))
|
|
319
|
+
ComputeEnvironmentDetail.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
|
269
320
|
ComputeEnvironmentDetail.struct_class = Types::ComputeEnvironmentDetail
|
|
270
321
|
|
|
271
322
|
ComputeEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentDetail)
|
|
@@ -340,6 +391,9 @@ module Aws::Batch
|
|
|
340
391
|
ContainerDetail.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
|
341
392
|
ContainerDetail.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
|
342
393
|
ContainerDetail.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
|
394
|
+
ContainerDetail.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
|
395
|
+
ContainerDetail.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
|
396
|
+
ContainerDetail.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
|
343
397
|
ContainerDetail.struct_class = Types::ContainerDetail
|
|
344
398
|
|
|
345
399
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "vcpus", metadata: {"deprecatedMessage"=>"This field is deprecated, use resourceRequirements instead."}))
|
|
@@ -370,6 +424,9 @@ module Aws::Batch
|
|
|
370
424
|
ContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
|
371
425
|
ContainerProperties.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
|
372
426
|
ContainerProperties.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
|
427
|
+
ContainerProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
|
428
|
+
ContainerProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
|
429
|
+
ContainerProperties.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
|
373
430
|
ContainerProperties.struct_class = Types::ContainerProperties
|
|
374
431
|
|
|
375
432
|
ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
|
@@ -384,6 +441,7 @@ module Aws::Batch
|
|
|
384
441
|
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
|
385
442
|
CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
386
443
|
CreateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
|
444
|
+
CreateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
|
387
445
|
CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
|
|
388
446
|
|
|
389
447
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
|
@@ -396,6 +454,7 @@ module Aws::Batch
|
|
|
396
454
|
CreateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
|
397
455
|
CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
|
398
456
|
CreateJobQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
457
|
+
CreateJobQueueRequest.add_member(:job_state_time_limit_actions, Shapes::ShapeRef.new(shape: JobStateTimeLimitActions, location_name: "jobStateTimeLimitActions"))
|
|
399
458
|
CreateJobQueueRequest.struct_class = Types::CreateJobQueueRequest
|
|
400
459
|
|
|
401
460
|
CreateJobQueueResponse.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
|
@@ -499,6 +558,42 @@ module Aws::Batch
|
|
|
499
558
|
|
|
500
559
|
Ec2ConfigurationList.member = Shapes::ShapeRef.new(shape: Ec2Configuration)
|
|
501
560
|
|
|
561
|
+
EcsProperties.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListEcsTaskProperties, required: true, location_name: "taskProperties"))
|
|
562
|
+
EcsProperties.struct_class = Types::EcsProperties
|
|
563
|
+
|
|
564
|
+
EcsPropertiesDetail.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListEcsTaskDetails, location_name: "taskProperties"))
|
|
565
|
+
EcsPropertiesDetail.struct_class = Types::EcsPropertiesDetail
|
|
566
|
+
|
|
567
|
+
EcsPropertiesOverride.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListTaskPropertiesOverride, location_name: "taskProperties"))
|
|
568
|
+
EcsPropertiesOverride.struct_class = Types::EcsPropertiesOverride
|
|
569
|
+
|
|
570
|
+
EcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerDetails, location_name: "containers"))
|
|
571
|
+
EcsTaskDetails.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
|
572
|
+
EcsTaskDetails.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
|
573
|
+
EcsTaskDetails.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
|
574
|
+
EcsTaskDetails.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
|
575
|
+
EcsTaskDetails.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
|
576
|
+
EcsTaskDetails.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: String, location_name: "ipcMode"))
|
|
577
|
+
EcsTaskDetails.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
|
578
|
+
EcsTaskDetails.add_member(:pid_mode, Shapes::ShapeRef.new(shape: String, location_name: "pidMode"))
|
|
579
|
+
EcsTaskDetails.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
|
580
|
+
EcsTaskDetails.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
|
581
|
+
EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
|
582
|
+
EcsTaskDetails.struct_class = Types::EcsTaskDetails
|
|
583
|
+
|
|
584
|
+
EcsTaskProperties.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerProperties, required: true, location_name: "containers"))
|
|
585
|
+
EcsTaskProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
|
586
|
+
EcsTaskProperties.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
|
587
|
+
EcsTaskProperties.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
|
588
|
+
EcsTaskProperties.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: String, location_name: "ipcMode"))
|
|
589
|
+
EcsTaskProperties.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
|
590
|
+
EcsTaskProperties.add_member(:pid_mode, Shapes::ShapeRef.new(shape: String, location_name: "pidMode"))
|
|
591
|
+
EcsTaskProperties.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
|
592
|
+
EcsTaskProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
|
593
|
+
EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
|
594
|
+
EcsTaskProperties.struct_class = Types::EcsTaskProperties
|
|
595
|
+
|
|
596
|
+
EksAttemptContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
502
597
|
EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
|
503
598
|
EksAttemptContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
|
504
599
|
EksAttemptContainerDetail.struct_class = Types::EksAttemptContainerDetail
|
|
@@ -506,6 +601,8 @@ module Aws::Batch
|
|
|
506
601
|
EksAttemptContainerDetails.member = Shapes::ShapeRef.new(shape: EksAttemptContainerDetail)
|
|
507
602
|
|
|
508
603
|
EksAttemptDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "containers"))
|
|
604
|
+
EksAttemptDetail.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "initContainers"))
|
|
605
|
+
EksAttemptDetail.add_member(:eks_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "eksClusterArn"))
|
|
509
606
|
EksAttemptDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
|
|
510
607
|
EksAttemptDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
|
|
511
608
|
EksAttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
|
@@ -551,6 +648,7 @@ module Aws::Batch
|
|
|
551
648
|
|
|
552
649
|
EksContainerEnvironmentVariables.member = Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariable)
|
|
553
650
|
|
|
651
|
+
EksContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
554
652
|
EksContainerOverride.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
|
555
653
|
EksContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
|
556
654
|
EksContainerOverride.add_member(:args, Shapes::ShapeRef.new(shape: StringList, location_name: "args"))
|
|
@@ -567,6 +665,7 @@ module Aws::Batch
|
|
|
567
665
|
EksContainerSecurityContext.add_member(:run_as_user, Shapes::ShapeRef.new(shape: Long, location_name: "runAsUser"))
|
|
568
666
|
EksContainerSecurityContext.add_member(:run_as_group, Shapes::ShapeRef.new(shape: Long, location_name: "runAsGroup"))
|
|
569
667
|
EksContainerSecurityContext.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
|
668
|
+
EksContainerSecurityContext.add_member(:allow_privilege_escalation, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowPrivilegeEscalation"))
|
|
570
669
|
EksContainerSecurityContext.add_member(:read_only_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnlyRootFilesystem"))
|
|
571
670
|
EksContainerSecurityContext.add_member(:run_as_non_root, Shapes::ShapeRef.new(shape: Boolean, location_name: "runAsNonRoot"))
|
|
572
671
|
EksContainerSecurityContext.struct_class = Types::EksContainerSecurityContext
|
|
@@ -587,26 +686,42 @@ module Aws::Batch
|
|
|
587
686
|
EksHostPath.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
|
|
588
687
|
EksHostPath.struct_class = Types::EksHostPath
|
|
589
688
|
|
|
689
|
+
EksLabelsMap.key = Shapes::ShapeRef.new(shape: String)
|
|
690
|
+
EksLabelsMap.value = Shapes::ShapeRef.new(shape: String)
|
|
691
|
+
|
|
590
692
|
EksLimits.key = Shapes::ShapeRef.new(shape: String)
|
|
591
693
|
EksLimits.value = Shapes::ShapeRef.new(shape: Quantity)
|
|
592
694
|
|
|
695
|
+
EksMetadata.add_member(:labels, Shapes::ShapeRef.new(shape: EksLabelsMap, location_name: "labels"))
|
|
696
|
+
EksMetadata.struct_class = Types::EksMetadata
|
|
697
|
+
|
|
593
698
|
EksPodProperties.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
|
|
594
699
|
EksPodProperties.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
|
|
595
700
|
EksPodProperties.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
|
|
701
|
+
EksPodProperties.add_member(:image_pull_secrets, Shapes::ShapeRef.new(shape: ImagePullSecrets, location_name: "imagePullSecrets"))
|
|
596
702
|
EksPodProperties.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainers, location_name: "containers"))
|
|
703
|
+
EksPodProperties.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksContainers, location_name: "initContainers"))
|
|
597
704
|
EksPodProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
|
|
705
|
+
EksPodProperties.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
|
|
706
|
+
EksPodProperties.add_member(:share_process_namespace, Shapes::ShapeRef.new(shape: Boolean, location_name: "shareProcessNamespace"))
|
|
598
707
|
EksPodProperties.struct_class = Types::EksPodProperties
|
|
599
708
|
|
|
600
709
|
EksPodPropertiesDetail.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
|
|
601
710
|
EksPodPropertiesDetail.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
|
|
602
711
|
EksPodPropertiesDetail.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
|
|
712
|
+
EksPodPropertiesDetail.add_member(:image_pull_secrets, Shapes::ShapeRef.new(shape: ImagePullSecrets, location_name: "imagePullSecrets"))
|
|
603
713
|
EksPodPropertiesDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerDetails, location_name: "containers"))
|
|
714
|
+
EksPodPropertiesDetail.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksContainerDetails, location_name: "initContainers"))
|
|
604
715
|
EksPodPropertiesDetail.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
|
|
605
716
|
EksPodPropertiesDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
|
|
606
717
|
EksPodPropertiesDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
|
|
718
|
+
EksPodPropertiesDetail.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
|
|
719
|
+
EksPodPropertiesDetail.add_member(:share_process_namespace, Shapes::ShapeRef.new(shape: Boolean, location_name: "shareProcessNamespace"))
|
|
607
720
|
EksPodPropertiesDetail.struct_class = Types::EksPodPropertiesDetail
|
|
608
721
|
|
|
609
722
|
EksPodPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerOverrideList, location_name: "containers"))
|
|
723
|
+
EksPodPropertiesOverride.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksContainerOverrideList, location_name: "initContainers"))
|
|
724
|
+
EksPodPropertiesOverride.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
|
|
610
725
|
EksPodPropertiesOverride.struct_class = Types::EksPodPropertiesOverride
|
|
611
726
|
|
|
612
727
|
EksProperties.add_member(:pod_properties, Shapes::ShapeRef.new(shape: EksPodProperties, location_name: "podProperties"))
|
|
@@ -635,6 +750,9 @@ module Aws::Batch
|
|
|
635
750
|
|
|
636
751
|
EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
|
637
752
|
|
|
753
|
+
EphemeralStorage.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "sizeInGiB"))
|
|
754
|
+
EphemeralStorage.struct_class = Types::EphemeralStorage
|
|
755
|
+
|
|
638
756
|
EvaluateOnExit.add_member(:on_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "onStatusReason"))
|
|
639
757
|
EvaluateOnExit.add_member(:on_reason, Shapes::ShapeRef.new(shape: String, location_name: "onReason"))
|
|
640
758
|
EvaluateOnExit.add_member(:on_exit_code, Shapes::ShapeRef.new(shape: String, location_name: "onExitCode"))
|
|
@@ -651,9 +769,30 @@ module Aws::Batch
|
|
|
651
769
|
FargatePlatformConfiguration.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
|
652
770
|
FargatePlatformConfiguration.struct_class = Types::FargatePlatformConfiguration
|
|
653
771
|
|
|
772
|
+
FrontOfQueueDetail.add_member(:jobs, Shapes::ShapeRef.new(shape: FrontOfQueueJobSummaryList, location_name: "jobs"))
|
|
773
|
+
FrontOfQueueDetail.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Long, location_name: "lastUpdatedAt"))
|
|
774
|
+
FrontOfQueueDetail.struct_class = Types::FrontOfQueueDetail
|
|
775
|
+
|
|
776
|
+
FrontOfQueueJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
|
777
|
+
FrontOfQueueJobSummary.add_member(:earliest_time_at_position, Shapes::ShapeRef.new(shape: Long, location_name: "earliestTimeAtPosition"))
|
|
778
|
+
FrontOfQueueJobSummary.struct_class = Types::FrontOfQueueJobSummary
|
|
779
|
+
|
|
780
|
+
FrontOfQueueJobSummaryList.member = Shapes::ShapeRef.new(shape: FrontOfQueueJobSummary)
|
|
781
|
+
|
|
782
|
+
GetJobQueueSnapshotRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
|
783
|
+
GetJobQueueSnapshotRequest.struct_class = Types::GetJobQueueSnapshotRequest
|
|
784
|
+
|
|
785
|
+
GetJobQueueSnapshotResponse.add_member(:front_of_queue, Shapes::ShapeRef.new(shape: FrontOfQueueDetail, location_name: "frontOfQueue"))
|
|
786
|
+
GetJobQueueSnapshotResponse.struct_class = Types::GetJobQueueSnapshotResponse
|
|
787
|
+
|
|
654
788
|
Host.add_member(:source_path, Shapes::ShapeRef.new(shape: String, location_name: "sourcePath"))
|
|
655
789
|
Host.struct_class = Types::Host
|
|
656
790
|
|
|
791
|
+
ImagePullSecret.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
792
|
+
ImagePullSecret.struct_class = Types::ImagePullSecret
|
|
793
|
+
|
|
794
|
+
ImagePullSecrets.member = Shapes::ShapeRef.new(shape: ImagePullSecret)
|
|
795
|
+
|
|
657
796
|
JobDefinition.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
|
658
797
|
JobDefinition.add_member(:job_definition_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionArn"))
|
|
659
798
|
JobDefinition.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
|
|
@@ -668,6 +807,7 @@ module Aws::Batch
|
|
|
668
807
|
JobDefinition.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
669
808
|
JobDefinition.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "propagateTags"))
|
|
670
809
|
JobDefinition.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
|
810
|
+
JobDefinition.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
|
671
811
|
JobDefinition.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
|
672
812
|
JobDefinition.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
|
673
813
|
JobDefinition.struct_class = Types::JobDefinition
|
|
@@ -706,6 +846,9 @@ module Aws::Batch
|
|
|
706
846
|
JobDetail.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
|
707
847
|
JobDetail.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksPropertiesDetail, location_name: "eksProperties"))
|
|
708
848
|
JobDetail.add_member(:eks_attempts, Shapes::ShapeRef.new(shape: EksAttemptDetails, location_name: "eksAttempts"))
|
|
849
|
+
JobDetail.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsPropertiesDetail, location_name: "ecsProperties"))
|
|
850
|
+
JobDetail.add_member(:is_cancelled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCancelled"))
|
|
851
|
+
JobDetail.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
|
|
709
852
|
JobDetail.struct_class = Types::JobDetail
|
|
710
853
|
|
|
711
854
|
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
|
@@ -719,10 +862,19 @@ module Aws::Batch
|
|
|
719
862
|
JobQueueDetail.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
|
720
863
|
JobQueueDetail.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
|
721
864
|
JobQueueDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
865
|
+
JobQueueDetail.add_member(:job_state_time_limit_actions, Shapes::ShapeRef.new(shape: JobStateTimeLimitActions, location_name: "jobStateTimeLimitActions"))
|
|
722
866
|
JobQueueDetail.struct_class = Types::JobQueueDetail
|
|
723
867
|
|
|
724
868
|
JobQueueDetailList.member = Shapes::ShapeRef.new(shape: JobQueueDetail)
|
|
725
869
|
|
|
870
|
+
JobStateTimeLimitAction.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
|
871
|
+
JobStateTimeLimitAction.add_member(:state, Shapes::ShapeRef.new(shape: JobStateTimeLimitActionsState, required: true, location_name: "state"))
|
|
872
|
+
JobStateTimeLimitAction.add_member(:max_time_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "maxTimeSeconds"))
|
|
873
|
+
JobStateTimeLimitAction.add_member(:action, Shapes::ShapeRef.new(shape: JobStateTimeLimitActionsAction, required: true, location_name: "action"))
|
|
874
|
+
JobStateTimeLimitAction.struct_class = Types::JobStateTimeLimitAction
|
|
875
|
+
|
|
876
|
+
JobStateTimeLimitActions.member = Shapes::ShapeRef.new(shape: JobStateTimeLimitAction)
|
|
877
|
+
|
|
726
878
|
JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
|
727
879
|
JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
728
880
|
JobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
|
@@ -763,6 +915,14 @@ module Aws::Batch
|
|
|
763
915
|
LinuxParameters.add_member(:swappiness, Shapes::ShapeRef.new(shape: Integer, location_name: "swappiness"))
|
|
764
916
|
LinuxParameters.struct_class = Types::LinuxParameters
|
|
765
917
|
|
|
918
|
+
ListAttemptEcsTaskDetails.member = Shapes::ShapeRef.new(shape: AttemptEcsTaskDetails)
|
|
919
|
+
|
|
920
|
+
ListAttemptTaskContainerDetails.member = Shapes::ShapeRef.new(shape: AttemptTaskContainerDetails)
|
|
921
|
+
|
|
922
|
+
ListEcsTaskDetails.member = Shapes::ShapeRef.new(shape: EcsTaskDetails)
|
|
923
|
+
|
|
924
|
+
ListEcsTaskProperties.member = Shapes::ShapeRef.new(shape: EcsTaskProperties)
|
|
925
|
+
|
|
766
926
|
ListJobsFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
|
767
927
|
|
|
768
928
|
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
|
|
@@ -792,6 +952,14 @@ module Aws::Batch
|
|
|
792
952
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
793
953
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
794
954
|
|
|
955
|
+
ListTaskContainerDetails.member = Shapes::ShapeRef.new(shape: TaskContainerDetails)
|
|
956
|
+
|
|
957
|
+
ListTaskContainerOverrides.member = Shapes::ShapeRef.new(shape: TaskContainerOverrides)
|
|
958
|
+
|
|
959
|
+
ListTaskContainerProperties.member = Shapes::ShapeRef.new(shape: TaskContainerProperties)
|
|
960
|
+
|
|
961
|
+
ListTaskPropertiesOverride.member = Shapes::ShapeRef.new(shape: TaskPropertiesOverride)
|
|
962
|
+
|
|
795
963
|
LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
|
|
796
964
|
LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
|
|
797
965
|
LogConfiguration.add_member(:secret_options, Shapes::ShapeRef.new(shape: SecretList, location_name: "secretOptions"))
|
|
@@ -837,6 +1005,9 @@ module Aws::Batch
|
|
|
837
1005
|
|
|
838
1006
|
NodePropertyOverride.add_member(:target_nodes, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetNodes"))
|
|
839
1007
|
NodePropertyOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
|
|
1008
|
+
NodePropertyOverride.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
|
1009
|
+
NodePropertyOverride.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
|
1010
|
+
NodePropertyOverride.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
|
840
1011
|
NodePropertyOverride.struct_class = Types::NodePropertyOverride
|
|
841
1012
|
|
|
842
1013
|
NodePropertyOverrides.member = Shapes::ShapeRef.new(shape: NodePropertyOverride)
|
|
@@ -845,6 +1016,9 @@ module Aws::Batch
|
|
|
845
1016
|
|
|
846
1017
|
NodeRangeProperty.add_member(:target_nodes, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetNodes"))
|
|
847
1018
|
NodeRangeProperty.add_member(:container, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "container"))
|
|
1019
|
+
NodeRangeProperty.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
|
1020
|
+
NodeRangeProperty.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
|
1021
|
+
NodeRangeProperty.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
|
848
1022
|
NodeRangeProperty.struct_class = Types::NodeRangeProperty
|
|
849
1023
|
|
|
850
1024
|
ParametersMap.key = Shapes::ShapeRef.new(shape: String)
|
|
@@ -864,6 +1038,7 @@ module Aws::Batch
|
|
|
864
1038
|
RegisterJobDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
865
1039
|
RegisterJobDefinitionRequest.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
|
866
1040
|
RegisterJobDefinitionRequest.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
|
1041
|
+
RegisterJobDefinitionRequest.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
|
867
1042
|
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
|
868
1043
|
|
|
869
1044
|
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
|
@@ -871,6 +1046,9 @@ module Aws::Batch
|
|
|
871
1046
|
RegisterJobDefinitionResponse.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
|
|
872
1047
|
RegisterJobDefinitionResponse.struct_class = Types::RegisterJobDefinitionResponse
|
|
873
1048
|
|
|
1049
|
+
RepositoryCredentials.add_member(:credentials_parameter, Shapes::ShapeRef.new(shape: String, required: true, location_name: "credentialsParameter"))
|
|
1050
|
+
RepositoryCredentials.struct_class = Types::RepositoryCredentials
|
|
1051
|
+
|
|
874
1052
|
ResourceRequirement.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
|
|
875
1053
|
ResourceRequirement.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "type"))
|
|
876
1054
|
ResourceRequirement.struct_class = Types::ResourceRequirement
|
|
@@ -881,6 +1059,10 @@ module Aws::Batch
|
|
|
881
1059
|
RetryStrategy.add_member(:evaluate_on_exit, Shapes::ShapeRef.new(shape: EvaluateOnExitList, location_name: "evaluateOnExit"))
|
|
882
1060
|
RetryStrategy.struct_class = Types::RetryStrategy
|
|
883
1061
|
|
|
1062
|
+
RuntimePlatform.add_member(:operating_system_family, Shapes::ShapeRef.new(shape: String, location_name: "operatingSystemFamily"))
|
|
1063
|
+
RuntimePlatform.add_member(:cpu_architecture, Shapes::ShapeRef.new(shape: String, location_name: "cpuArchitecture"))
|
|
1064
|
+
RuntimePlatform.struct_class = Types::RuntimePlatform
|
|
1065
|
+
|
|
884
1066
|
SchedulingPolicyDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
885
1067
|
SchedulingPolicyDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
|
886
1068
|
SchedulingPolicyDetail.add_member(:fairshare_policy, Shapes::ShapeRef.new(shape: FairsharePolicy, location_name: "fairsharePolicy"))
|
|
@@ -926,6 +1108,7 @@ module Aws::Batch
|
|
|
926
1108
|
SubmitJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
|
927
1109
|
SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
|
928
1110
|
SubmitJobRequest.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
|
1111
|
+
SubmitJobRequest.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
|
929
1112
|
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
|
930
1113
|
|
|
931
1114
|
SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
|
@@ -947,6 +1130,61 @@ module Aws::Batch
|
|
|
947
1130
|
TagsMap.key = Shapes::ShapeRef.new(shape: String)
|
|
948
1131
|
TagsMap.value = Shapes::ShapeRef.new(shape: String)
|
|
949
1132
|
|
|
1133
|
+
TaskContainerDependency.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
|
1134
|
+
TaskContainerDependency.add_member(:condition, Shapes::ShapeRef.new(shape: String, location_name: "condition"))
|
|
1135
|
+
TaskContainerDependency.struct_class = Types::TaskContainerDependency
|
|
1136
|
+
|
|
1137
|
+
TaskContainerDependencyList.member = Shapes::ShapeRef.new(shape: TaskContainerDependency)
|
|
1138
|
+
|
|
1139
|
+
TaskContainerDetails.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
|
1140
|
+
TaskContainerDetails.add_member(:depends_on, Shapes::ShapeRef.new(shape: TaskContainerDependencyList, location_name: "dependsOn"))
|
|
1141
|
+
TaskContainerDetails.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
|
1142
|
+
TaskContainerDetails.add_member(:essential, Shapes::ShapeRef.new(shape: Boolean, location_name: "essential"))
|
|
1143
|
+
TaskContainerDetails.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
|
1144
|
+
TaskContainerDetails.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
|
1145
|
+
TaskContainerDetails.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
|
1146
|
+
TaskContainerDetails.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
|
1147
|
+
TaskContainerDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1148
|
+
TaskContainerDetails.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
|
1149
|
+
TaskContainerDetails.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readonlyRootFilesystem"))
|
|
1150
|
+
TaskContainerDetails.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
|
1151
|
+
TaskContainerDetails.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
|
1152
|
+
TaskContainerDetails.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
|
1153
|
+
TaskContainerDetails.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
|
|
1154
|
+
TaskContainerDetails.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
|
1155
|
+
TaskContainerDetails.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
|
1156
|
+
TaskContainerDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
|
1157
|
+
TaskContainerDetails.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "logStreamName"))
|
|
1158
|
+
TaskContainerDetails.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
|
|
1159
|
+
TaskContainerDetails.struct_class = Types::TaskContainerDetails
|
|
1160
|
+
|
|
1161
|
+
TaskContainerOverrides.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
|
1162
|
+
TaskContainerOverrides.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
|
1163
|
+
TaskContainerOverrides.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1164
|
+
TaskContainerOverrides.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
|
1165
|
+
TaskContainerOverrides.struct_class = Types::TaskContainerOverrides
|
|
1166
|
+
|
|
1167
|
+
TaskContainerProperties.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
|
1168
|
+
TaskContainerProperties.add_member(:depends_on, Shapes::ShapeRef.new(shape: TaskContainerDependencyList, location_name: "dependsOn"))
|
|
1169
|
+
TaskContainerProperties.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
|
1170
|
+
TaskContainerProperties.add_member(:essential, Shapes::ShapeRef.new(shape: Boolean, location_name: "essential"))
|
|
1171
|
+
TaskContainerProperties.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
|
|
1172
|
+
TaskContainerProperties.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
|
1173
|
+
TaskContainerProperties.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
|
1174
|
+
TaskContainerProperties.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
|
1175
|
+
TaskContainerProperties.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1176
|
+
TaskContainerProperties.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
|
1177
|
+
TaskContainerProperties.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readonlyRootFilesystem"))
|
|
1178
|
+
TaskContainerProperties.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
|
1179
|
+
TaskContainerProperties.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
|
1180
|
+
TaskContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
|
1181
|
+
TaskContainerProperties.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
|
|
1182
|
+
TaskContainerProperties.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
|
1183
|
+
TaskContainerProperties.struct_class = Types::TaskContainerProperties
|
|
1184
|
+
|
|
1185
|
+
TaskPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerOverrides, location_name: "containers"))
|
|
1186
|
+
TaskPropertiesOverride.struct_class = Types::TaskPropertiesOverride
|
|
1187
|
+
|
|
950
1188
|
TerminateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
951
1189
|
TerminateJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
|
952
1190
|
TerminateJobRequest.struct_class = Types::TerminateJobRequest
|
|
@@ -979,6 +1217,7 @@ module Aws::Batch
|
|
|
979
1217
|
UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
|
|
980
1218
|
UpdateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
|
981
1219
|
UpdateComputeEnvironmentRequest.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
|
|
1220
|
+
UpdateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
|
|
982
1221
|
UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
|
|
983
1222
|
|
|
984
1223
|
UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
|
@@ -990,6 +1229,7 @@ module Aws::Batch
|
|
|
990
1229
|
UpdateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
|
991
1230
|
UpdateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, location_name: "priority"))
|
|
992
1231
|
UpdateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, location_name: "computeEnvironmentOrder"))
|
|
1232
|
+
UpdateJobQueueRequest.add_member(:job_state_time_limit_actions, Shapes::ShapeRef.new(shape: JobStateTimeLimitActions, location_name: "jobStateTimeLimitActions"))
|
|
993
1233
|
UpdateJobQueueRequest.struct_class = Types::UpdateJobQueueRequest
|
|
994
1234
|
|
|
995
1235
|
UpdateJobQueueResponse.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, location_name: "jobQueueName"))
|
|
@@ -1021,9 +1261,11 @@ module Aws::Batch
|
|
|
1021
1261
|
|
|
1022
1262
|
api.metadata = {
|
|
1023
1263
|
"apiVersion" => "2016-08-10",
|
|
1264
|
+
"auth" => ["aws.auth#sigv4"],
|
|
1024
1265
|
"endpointPrefix" => "batch",
|
|
1025
1266
|
"jsonVersion" => "1.1",
|
|
1026
1267
|
"protocol" => "rest-json",
|
|
1268
|
+
"protocols" => ["rest-json"],
|
|
1027
1269
|
"serviceAbbreviation" => "AWS Batch",
|
|
1028
1270
|
"serviceFullName" => "AWS Batch",
|
|
1029
1271
|
"serviceId" => "Batch",
|
|
@@ -1179,6 +1421,16 @@ module Aws::Batch
|
|
|
1179
1421
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
1180
1422
|
end)
|
|
1181
1423
|
|
|
1424
|
+
api.add_operation(:get_job_queue_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
|
1425
|
+
o.name = "GetJobQueueSnapshot"
|
|
1426
|
+
o.http_method = "POST"
|
|
1427
|
+
o.http_request_uri = "/v1/getjobqueuesnapshot"
|
|
1428
|
+
o.input = Shapes::ShapeRef.new(shape: GetJobQueueSnapshotRequest)
|
|
1429
|
+
o.output = Shapes::ShapeRef.new(shape: GetJobQueueSnapshotResponse)
|
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
|
1432
|
+
end)
|
|
1433
|
+
|
|
1182
1434
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
|
1183
1435
|
o.name = "ListJobs"
|
|
1184
1436
|
o.http_method = "POST"
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
module Aws::Batch
|
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
|
12
|
+
#
|
|
13
|
+
# @!attribute region
|
|
14
|
+
# The AWS region used to dispatch the request.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
#
|
|
18
|
+
# @!attribute use_dual_stack
|
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
|
+
#
|
|
21
|
+
# @return [Boolean]
|
|
22
|
+
#
|
|
23
|
+
# @!attribute use_fips
|
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
|
+
#
|
|
26
|
+
# @return [Boolean]
|
|
27
|
+
#
|
|
28
|
+
# @!attribute endpoint
|
|
29
|
+
# Override the endpoint used to send this request
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
#
|
|
33
|
+
EndpointParameters = Struct.new(
|
|
34
|
+
:region,
|
|
35
|
+
:use_dual_stack,
|
|
36
|
+
:use_fips,
|
|
37
|
+
:endpoint,
|
|
38
|
+
) do
|
|
39
|
+
include Aws::Structure
|
|
40
|
+
|
|
41
|
+
# @api private
|
|
42
|
+
class << self
|
|
43
|
+
PARAM_MAP = {
|
|
44
|
+
'Region' => :region,
|
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
|
46
|
+
'UseFIPS' => :use_fips,
|
|
47
|
+
'Endpoint' => :endpoint,
|
|
48
|
+
}.freeze
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def initialize(options = {})
|
|
52
|
+
self[:region] = options[:region]
|
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
55
|
+
if self[:use_dual_stack].nil?
|
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
|
57
|
+
end
|
|
58
|
+
self[:use_fips] = options[:use_fips]
|
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
|
60
|
+
if self[:use_fips].nil?
|
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
|
62
|
+
end
|
|
63
|
+
self[:endpoint] = options[:endpoint]
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|