aws-sdk-batch 1.51.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +363 -34
- data/lib/aws-sdk-batch/client_api.rb +144 -0
- data/lib/aws-sdk-batch/types.rb +628 -143
- data/lib/aws-sdk-batch.rb +1 -1
- metadata +4 -4
@@ -45,10 +45,14 @@ module Aws::Batch
|
|
45
45
|
CreateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'CreateComputeEnvironmentResponse')
|
46
46
|
CreateJobQueueRequest = Shapes::StructureShape.new(name: 'CreateJobQueueRequest')
|
47
47
|
CreateJobQueueResponse = Shapes::StructureShape.new(name: 'CreateJobQueueResponse')
|
48
|
+
CreateSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'CreateSchedulingPolicyRequest')
|
49
|
+
CreateSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'CreateSchedulingPolicyResponse')
|
48
50
|
DeleteComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentRequest')
|
49
51
|
DeleteComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentResponse')
|
50
52
|
DeleteJobQueueRequest = Shapes::StructureShape.new(name: 'DeleteJobQueueRequest')
|
51
53
|
DeleteJobQueueResponse = Shapes::StructureShape.new(name: 'DeleteJobQueueResponse')
|
54
|
+
DeleteSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'DeleteSchedulingPolicyRequest')
|
55
|
+
DeleteSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'DeleteSchedulingPolicyResponse')
|
52
56
|
DeregisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionRequest')
|
53
57
|
DeregisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionResponse')
|
54
58
|
DescribeComputeEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeComputeEnvironmentsRequest')
|
@@ -59,6 +63,8 @@ module Aws::Batch
|
|
59
63
|
DescribeJobQueuesResponse = Shapes::StructureShape.new(name: 'DescribeJobQueuesResponse')
|
60
64
|
DescribeJobsRequest = Shapes::StructureShape.new(name: 'DescribeJobsRequest')
|
61
65
|
DescribeJobsResponse = Shapes::StructureShape.new(name: 'DescribeJobsResponse')
|
66
|
+
DescribeSchedulingPoliciesRequest = Shapes::StructureShape.new(name: 'DescribeSchedulingPoliciesRequest')
|
67
|
+
DescribeSchedulingPoliciesResponse = Shapes::StructureShape.new(name: 'DescribeSchedulingPoliciesResponse')
|
62
68
|
Device = Shapes::StructureShape.new(name: 'Device')
|
63
69
|
DeviceCgroupPermission = Shapes::StringShape.new(name: 'DeviceCgroupPermission')
|
64
70
|
DeviceCgroupPermissions = Shapes::ListShape.new(name: 'DeviceCgroupPermissions')
|
@@ -72,7 +78,9 @@ module Aws::Batch
|
|
72
78
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
73
79
|
EvaluateOnExit = Shapes::StructureShape.new(name: 'EvaluateOnExit')
|
74
80
|
EvaluateOnExitList = Shapes::ListShape.new(name: 'EvaluateOnExitList')
|
81
|
+
FairsharePolicy = Shapes::StructureShape.new(name: 'FairsharePolicy')
|
75
82
|
FargatePlatformConfiguration = Shapes::StructureShape.new(name: 'FargatePlatformConfiguration')
|
83
|
+
Float = Shapes::FloatShape.new(name: 'Float')
|
76
84
|
Host = Shapes::StructureShape.new(name: 'Host')
|
77
85
|
ImageIdOverride = Shapes::StringShape.new(name: 'ImageIdOverride')
|
78
86
|
ImageType = Shapes::StringShape.new(name: 'ImageType')
|
@@ -99,6 +107,8 @@ module Aws::Batch
|
|
99
107
|
ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
|
100
108
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
101
109
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
110
|
+
ListSchedulingPoliciesRequest = Shapes::StructureShape.new(name: 'ListSchedulingPoliciesRequest')
|
111
|
+
ListSchedulingPoliciesResponse = Shapes::StructureShape.new(name: 'ListSchedulingPoliciesResponse')
|
102
112
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
103
113
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
104
114
|
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
@@ -128,9 +138,15 @@ module Aws::Batch
|
|
128
138
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
129
139
|
RetryAction = Shapes::StringShape.new(name: 'RetryAction')
|
130
140
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
141
|
+
SchedulingPolicyDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyDetail')
|
142
|
+
SchedulingPolicyDetailList = Shapes::ListShape.new(name: 'SchedulingPolicyDetailList')
|
143
|
+
SchedulingPolicyListingDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyListingDetail')
|
144
|
+
SchedulingPolicyListingDetailList = Shapes::ListShape.new(name: 'SchedulingPolicyListingDetailList')
|
131
145
|
Secret = Shapes::StructureShape.new(name: 'Secret')
|
132
146
|
SecretList = Shapes::ListShape.new(name: 'SecretList')
|
133
147
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
148
|
+
ShareAttributes = Shapes::StructureShape.new(name: 'ShareAttributes')
|
149
|
+
ShareAttributesList = Shapes::ListShape.new(name: 'ShareAttributesList')
|
134
150
|
String = Shapes::StringShape.new(name: 'String')
|
135
151
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
136
152
|
SubmitJobRequest = Shapes::StructureShape.new(name: 'SubmitJobRequest')
|
@@ -154,6 +170,8 @@ module Aws::Batch
|
|
154
170
|
UpdateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentResponse')
|
155
171
|
UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
|
156
172
|
UpdateJobQueueResponse = Shapes::StructureShape.new(name: 'UpdateJobQueueResponse')
|
173
|
+
UpdateSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'UpdateSchedulingPolicyRequest')
|
174
|
+
UpdateSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'UpdateSchedulingPolicyResponse')
|
157
175
|
Volume = Shapes::StructureShape.new(name: 'Volume')
|
158
176
|
Volumes = Shapes::ListShape.new(name: 'Volumes')
|
159
177
|
|
@@ -199,6 +217,7 @@ module Aws::Batch
|
|
199
217
|
|
200
218
|
ComputeEnvironmentDetail.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
201
219
|
ComputeEnvironmentDetail.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentArn"))
|
220
|
+
ComputeEnvironmentDetail.add_member(:unmanagedv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "unmanagedvCpus"))
|
202
221
|
ComputeEnvironmentDetail.add_member(:ecs_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ecsClusterArn"))
|
203
222
|
ComputeEnvironmentDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
204
223
|
ComputeEnvironmentDetail.add_member(:type, Shapes::ShapeRef.new(shape: CEType, location_name: "type"))
|
@@ -308,6 +327,7 @@ module Aws::Batch
|
|
308
327
|
CreateComputeEnvironmentRequest.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
309
328
|
CreateComputeEnvironmentRequest.add_member(:type, Shapes::ShapeRef.new(shape: CEType, required: true, location_name: "type"))
|
310
329
|
CreateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
330
|
+
CreateComputeEnvironmentRequest.add_member(:unmanagedv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "unmanagedvCpus"))
|
311
331
|
CreateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
312
332
|
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
313
333
|
CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
@@ -319,6 +339,7 @@ module Aws::Batch
|
|
319
339
|
|
320
340
|
CreateJobQueueRequest.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
321
341
|
CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
342
|
+
CreateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
322
343
|
CreateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
323
344
|
CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
324
345
|
CreateJobQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
@@ -328,6 +349,15 @@ module Aws::Batch
|
|
328
349
|
CreateJobQueueResponse.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueArn"))
|
329
350
|
CreateJobQueueResponse.struct_class = Types::CreateJobQueueResponse
|
330
351
|
|
352
|
+
CreateSchedulingPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
353
|
+
CreateSchedulingPolicyRequest.add_member(:fairshare_policy, Shapes::ShapeRef.new(shape: FairsharePolicy, location_name: "fairsharePolicy"))
|
354
|
+
CreateSchedulingPolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
355
|
+
CreateSchedulingPolicyRequest.struct_class = Types::CreateSchedulingPolicyRequest
|
356
|
+
|
357
|
+
CreateSchedulingPolicyResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
358
|
+
CreateSchedulingPolicyResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
359
|
+
CreateSchedulingPolicyResponse.struct_class = Types::CreateSchedulingPolicyResponse
|
360
|
+
|
331
361
|
DeleteComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
332
362
|
DeleteComputeEnvironmentRequest.struct_class = Types::DeleteComputeEnvironmentRequest
|
333
363
|
|
@@ -338,6 +368,11 @@ module Aws::Batch
|
|
338
368
|
|
339
369
|
DeleteJobQueueResponse.struct_class = Types::DeleteJobQueueResponse
|
340
370
|
|
371
|
+
DeleteSchedulingPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
372
|
+
DeleteSchedulingPolicyRequest.struct_class = Types::DeleteSchedulingPolicyRequest
|
373
|
+
|
374
|
+
DeleteSchedulingPolicyResponse.struct_class = Types::DeleteSchedulingPolicyResponse
|
375
|
+
|
341
376
|
DeregisterJobDefinitionRequest.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinition"))
|
342
377
|
DeregisterJobDefinitionRequest.struct_class = Types::DeregisterJobDefinitionRequest
|
343
378
|
|
@@ -378,6 +413,12 @@ module Aws::Batch
|
|
378
413
|
DescribeJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobDetailList, location_name: "jobs"))
|
379
414
|
DescribeJobsResponse.struct_class = Types::DescribeJobsResponse
|
380
415
|
|
416
|
+
DescribeSchedulingPoliciesRequest.add_member(:arns, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "arns"))
|
417
|
+
DescribeSchedulingPoliciesRequest.struct_class = Types::DescribeSchedulingPoliciesRequest
|
418
|
+
|
419
|
+
DescribeSchedulingPoliciesResponse.add_member(:scheduling_policies, Shapes::ShapeRef.new(shape: SchedulingPolicyDetailList, location_name: "schedulingPolicies"))
|
420
|
+
DescribeSchedulingPoliciesResponse.struct_class = Types::DescribeSchedulingPoliciesResponse
|
421
|
+
|
381
422
|
Device.add_member(:host_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "hostPath"))
|
382
423
|
Device.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
|
383
424
|
Device.add_member(:permissions, Shapes::ShapeRef.new(shape: DeviceCgroupPermissions, location_name: "permissions"))
|
@@ -414,6 +455,11 @@ module Aws::Batch
|
|
414
455
|
|
415
456
|
EvaluateOnExitList.member = Shapes::ShapeRef.new(shape: EvaluateOnExit)
|
416
457
|
|
458
|
+
FairsharePolicy.add_member(:share_decay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "shareDecaySeconds"))
|
459
|
+
FairsharePolicy.add_member(:compute_reservation, Shapes::ShapeRef.new(shape: Integer, location_name: "computeReservation"))
|
460
|
+
FairsharePolicy.add_member(:share_distribution, Shapes::ShapeRef.new(shape: ShareAttributesList, location_name: "shareDistribution"))
|
461
|
+
FairsharePolicy.struct_class = Types::FairsharePolicy
|
462
|
+
|
417
463
|
FargatePlatformConfiguration.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
418
464
|
FargatePlatformConfiguration.struct_class = Types::FargatePlatformConfiguration
|
419
465
|
|
@@ -425,6 +471,7 @@ module Aws::Batch
|
|
425
471
|
JobDefinition.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
|
426
472
|
JobDefinition.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
427
473
|
JobDefinition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
|
474
|
+
JobDefinition.add_member(:scheduling_priority, Shapes::ShapeRef.new(shape: Integer, location_name: "schedulingPriority"))
|
428
475
|
JobDefinition.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "parameters"))
|
429
476
|
JobDefinition.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "retryStrategy"))
|
430
477
|
JobDefinition.add_member(:container_properties, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "containerProperties"))
|
@@ -448,6 +495,8 @@ module Aws::Batch
|
|
448
495
|
JobDetail.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
449
496
|
JobDetail.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
450
497
|
JobDetail.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
|
498
|
+
JobDetail.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
|
499
|
+
JobDetail.add_member(:scheduling_priority, Shapes::ShapeRef.new(shape: Integer, location_name: "schedulingPriority"))
|
451
500
|
JobDetail.add_member(:attempts, Shapes::ShapeRef.new(shape: AttemptDetails, location_name: "attempts"))
|
452
501
|
JobDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
453
502
|
JobDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
|
@@ -472,6 +521,7 @@ module Aws::Batch
|
|
472
521
|
JobQueueDetail.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
473
522
|
JobQueueDetail.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueArn"))
|
474
523
|
JobQueueDetail.add_member(:state, Shapes::ShapeRef.new(shape: JQState, required: true, location_name: "state"))
|
524
|
+
JobQueueDetail.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
475
525
|
JobQueueDetail.add_member(:status, Shapes::ShapeRef.new(shape: JQStatus, location_name: "status"))
|
476
526
|
JobQueueDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
477
527
|
JobQueueDetail.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
@@ -536,6 +586,14 @@ module Aws::Batch
|
|
536
586
|
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
537
587
|
ListJobsResponse.struct_class = Types::ListJobsResponse
|
538
588
|
|
589
|
+
ListSchedulingPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
590
|
+
ListSchedulingPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
591
|
+
ListSchedulingPoliciesRequest.struct_class = Types::ListSchedulingPoliciesRequest
|
592
|
+
|
593
|
+
ListSchedulingPoliciesResponse.add_member(:scheduling_policies, Shapes::ShapeRef.new(shape: SchedulingPolicyListingDetailList, location_name: "schedulingPolicies"))
|
594
|
+
ListSchedulingPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
595
|
+
ListSchedulingPoliciesResponse.struct_class = Types::ListSchedulingPoliciesResponse
|
596
|
+
|
539
597
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
540
598
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
541
599
|
|
@@ -605,6 +663,7 @@ module Aws::Batch
|
|
605
663
|
RegisterJobDefinitionRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
606
664
|
RegisterJobDefinitionRequest.add_member(:type, Shapes::ShapeRef.new(shape: JobDefinitionType, required: true, location_name: "type"))
|
607
665
|
RegisterJobDefinitionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "parameters"))
|
666
|
+
RegisterJobDefinitionRequest.add_member(:scheduling_priority, Shapes::ShapeRef.new(shape: Integer, location_name: "schedulingPriority"))
|
608
667
|
RegisterJobDefinitionRequest.add_member(:container_properties, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "containerProperties"))
|
609
668
|
RegisterJobDefinitionRequest.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
610
669
|
RegisterJobDefinitionRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "retryStrategy"))
|
@@ -629,6 +688,19 @@ module Aws::Batch
|
|
629
688
|
RetryStrategy.add_member(:evaluate_on_exit, Shapes::ShapeRef.new(shape: EvaluateOnExitList, location_name: "evaluateOnExit"))
|
630
689
|
RetryStrategy.struct_class = Types::RetryStrategy
|
631
690
|
|
691
|
+
SchedulingPolicyDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
692
|
+
SchedulingPolicyDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
693
|
+
SchedulingPolicyDetail.add_member(:fairshare_policy, Shapes::ShapeRef.new(shape: FairsharePolicy, location_name: "fairsharePolicy"))
|
694
|
+
SchedulingPolicyDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
695
|
+
SchedulingPolicyDetail.struct_class = Types::SchedulingPolicyDetail
|
696
|
+
|
697
|
+
SchedulingPolicyDetailList.member = Shapes::ShapeRef.new(shape: SchedulingPolicyDetail)
|
698
|
+
|
699
|
+
SchedulingPolicyListingDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
700
|
+
SchedulingPolicyListingDetail.struct_class = Types::SchedulingPolicyListingDetail
|
701
|
+
|
702
|
+
SchedulingPolicyListingDetailList.member = Shapes::ShapeRef.new(shape: SchedulingPolicyListingDetail)
|
703
|
+
|
632
704
|
Secret.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
633
705
|
Secret.add_member(:value_from, Shapes::ShapeRef.new(shape: String, required: true, location_name: "valueFrom"))
|
634
706
|
Secret.struct_class = Types::Secret
|
@@ -638,10 +710,18 @@ module Aws::Batch
|
|
638
710
|
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
639
711
|
ServerException.struct_class = Types::ServerException
|
640
712
|
|
713
|
+
ShareAttributes.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "shareIdentifier"))
|
714
|
+
ShareAttributes.add_member(:weight_factor, Shapes::ShapeRef.new(shape: Float, location_name: "weightFactor"))
|
715
|
+
ShareAttributes.struct_class = Types::ShareAttributes
|
716
|
+
|
717
|
+
ShareAttributesList.member = Shapes::ShapeRef.new(shape: ShareAttributes)
|
718
|
+
|
641
719
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
642
720
|
|
643
721
|
SubmitJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
644
722
|
SubmitJobRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
723
|
+
SubmitJobRequest.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
|
724
|
+
SubmitJobRequest.add_member(:scheduling_priority_override, Shapes::ShapeRef.new(shape: Integer, location_name: "schedulingPriorityOverride"))
|
645
725
|
SubmitJobRequest.add_member(:array_properties, Shapes::ShapeRef.new(shape: ArrayProperties, location_name: "arrayProperties"))
|
646
726
|
SubmitJobRequest.add_member(:depends_on, Shapes::ShapeRef.new(shape: JobDependencyList, location_name: "dependsOn"))
|
647
727
|
SubmitJobRequest.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinition"))
|
@@ -701,6 +781,7 @@ module Aws::Batch
|
|
701
781
|
|
702
782
|
UpdateComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
703
783
|
UpdateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
784
|
+
UpdateComputeEnvironmentRequest.add_member(:unmanagedv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "unmanagedvCpus"))
|
704
785
|
UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
|
705
786
|
UpdateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
706
787
|
UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
|
@@ -711,6 +792,7 @@ module Aws::Batch
|
|
711
792
|
|
712
793
|
UpdateJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
713
794
|
UpdateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
795
|
+
UpdateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
714
796
|
UpdateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, location_name: "priority"))
|
715
797
|
UpdateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, location_name: "computeEnvironmentOrder"))
|
716
798
|
UpdateJobQueueRequest.struct_class = Types::UpdateJobQueueRequest
|
@@ -719,6 +801,12 @@ module Aws::Batch
|
|
719
801
|
UpdateJobQueueResponse.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobQueueArn"))
|
720
802
|
UpdateJobQueueResponse.struct_class = Types::UpdateJobQueueResponse
|
721
803
|
|
804
|
+
UpdateSchedulingPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
805
|
+
UpdateSchedulingPolicyRequest.add_member(:fairshare_policy, Shapes::ShapeRef.new(shape: FairsharePolicy, location_name: "fairsharePolicy"))
|
806
|
+
UpdateSchedulingPolicyRequest.struct_class = Types::UpdateSchedulingPolicyRequest
|
807
|
+
|
808
|
+
UpdateSchedulingPolicyResponse.struct_class = Types::UpdateSchedulingPolicyResponse
|
809
|
+
|
722
810
|
Volume.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "host"))
|
723
811
|
Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
724
812
|
Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
|
@@ -774,6 +862,16 @@ module Aws::Batch
|
|
774
862
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
775
863
|
end)
|
776
864
|
|
865
|
+
api.add_operation(:create_scheduling_policy, Seahorse::Model::Operation.new.tap do |o|
|
866
|
+
o.name = "CreateSchedulingPolicy"
|
867
|
+
o.http_method = "POST"
|
868
|
+
o.http_request_uri = "/v1/createschedulingpolicy"
|
869
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSchedulingPolicyRequest)
|
870
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSchedulingPolicyResponse)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
873
|
+
end)
|
874
|
+
|
777
875
|
api.add_operation(:delete_compute_environment, Seahorse::Model::Operation.new.tap do |o|
|
778
876
|
o.name = "DeleteComputeEnvironment"
|
779
877
|
o.http_method = "POST"
|
@@ -794,6 +892,16 @@ module Aws::Batch
|
|
794
892
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
795
893
|
end)
|
796
894
|
|
895
|
+
api.add_operation(:delete_scheduling_policy, Seahorse::Model::Operation.new.tap do |o|
|
896
|
+
o.name = "DeleteSchedulingPolicy"
|
897
|
+
o.http_method = "POST"
|
898
|
+
o.http_request_uri = "/v1/deleteschedulingpolicy"
|
899
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSchedulingPolicyRequest)
|
900
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSchedulingPolicyResponse)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
902
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
903
|
+
end)
|
904
|
+
|
797
905
|
api.add_operation(:deregister_job_definition, Seahorse::Model::Operation.new.tap do |o|
|
798
906
|
o.name = "DeregisterJobDefinition"
|
799
907
|
o.http_method = "POST"
|
@@ -862,6 +970,16 @@ module Aws::Batch
|
|
862
970
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
863
971
|
end)
|
864
972
|
|
973
|
+
api.add_operation(:describe_scheduling_policies, Seahorse::Model::Operation.new.tap do |o|
|
974
|
+
o.name = "DescribeSchedulingPolicies"
|
975
|
+
o.http_method = "POST"
|
976
|
+
o.http_request_uri = "/v1/describeschedulingpolicies"
|
977
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeSchedulingPoliciesRequest)
|
978
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeSchedulingPoliciesResponse)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
981
|
+
end)
|
982
|
+
|
865
983
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
866
984
|
o.name = "ListJobs"
|
867
985
|
o.http_method = "POST"
|
@@ -878,6 +996,22 @@ module Aws::Batch
|
|
878
996
|
)
|
879
997
|
end)
|
880
998
|
|
999
|
+
api.add_operation(:list_scheduling_policies, Seahorse::Model::Operation.new.tap do |o|
|
1000
|
+
o.name = "ListSchedulingPolicies"
|
1001
|
+
o.http_method = "POST"
|
1002
|
+
o.http_request_uri = "/v1/listschedulingpolicies"
|
1003
|
+
o.input = Shapes::ShapeRef.new(shape: ListSchedulingPoliciesRequest)
|
1004
|
+
o.output = Shapes::ShapeRef.new(shape: ListSchedulingPoliciesResponse)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1007
|
+
o[:pager] = Aws::Pager.new(
|
1008
|
+
limit_key: "max_results",
|
1009
|
+
tokens: {
|
1010
|
+
"next_token" => "next_token"
|
1011
|
+
}
|
1012
|
+
)
|
1013
|
+
end)
|
1014
|
+
|
881
1015
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
882
1016
|
o.name = "ListTagsForResource"
|
883
1017
|
o.http_method = "GET"
|
@@ -957,6 +1091,16 @@ module Aws::Batch
|
|
957
1091
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
958
1092
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
959
1093
|
end)
|
1094
|
+
|
1095
|
+
api.add_operation(:update_scheduling_policy, Seahorse::Model::Operation.new.tap do |o|
|
1096
|
+
o.name = "UpdateSchedulingPolicy"
|
1097
|
+
o.http_method = "POST"
|
1098
|
+
o.http_request_uri = "/v1/updateschedulingpolicy"
|
1099
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSchedulingPolicyRequest)
|
1100
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSchedulingPolicyResponse)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1102
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1103
|
+
end)
|
960
1104
|
end
|
961
1105
|
|
962
1106
|
end
|