aws-sdk-batch 1.62.0 → 1.64.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +301 -83
- data/lib/aws-sdk-batch/client_api.rb +178 -0
- data/lib/aws-sdk-batch/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-batch/endpoint_provider.rb +122 -0
- data/lib/aws-sdk-batch/endpoints.rb +351 -0
- data/lib/aws-sdk-batch/plugins/endpoints.rb +116 -0
- data/lib/aws-sdk-batch/types.rb +2199 -623
- data/lib/aws-sdk-batch.rb +5 -1
- metadata +8 -4
@@ -76,6 +76,36 @@ module Aws::Batch
|
|
76
76
|
EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
|
77
77
|
Ec2Configuration = Shapes::StructureShape.new(name: 'Ec2Configuration')
|
78
78
|
Ec2ConfigurationList = Shapes::ListShape.new(name: 'Ec2ConfigurationList')
|
79
|
+
EksAttemptContainerDetail = Shapes::StructureShape.new(name: 'EksAttemptContainerDetail')
|
80
|
+
EksAttemptContainerDetails = Shapes::ListShape.new(name: 'EksAttemptContainerDetails')
|
81
|
+
EksAttemptDetail = Shapes::StructureShape.new(name: 'EksAttemptDetail')
|
82
|
+
EksAttemptDetails = Shapes::ListShape.new(name: 'EksAttemptDetails')
|
83
|
+
EksConfiguration = Shapes::StructureShape.new(name: 'EksConfiguration')
|
84
|
+
EksContainer = Shapes::StructureShape.new(name: 'EksContainer')
|
85
|
+
EksContainerDetail = Shapes::StructureShape.new(name: 'EksContainerDetail')
|
86
|
+
EksContainerDetails = Shapes::ListShape.new(name: 'EksContainerDetails')
|
87
|
+
EksContainerEnvironmentVariable = Shapes::StructureShape.new(name: 'EksContainerEnvironmentVariable')
|
88
|
+
EksContainerEnvironmentVariables = Shapes::ListShape.new(name: 'EksContainerEnvironmentVariables')
|
89
|
+
EksContainerOverride = Shapes::StructureShape.new(name: 'EksContainerOverride')
|
90
|
+
EksContainerOverrideList = Shapes::ListShape.new(name: 'EksContainerOverrideList')
|
91
|
+
EksContainerResourceRequirements = Shapes::StructureShape.new(name: 'EksContainerResourceRequirements')
|
92
|
+
EksContainerSecurityContext = Shapes::StructureShape.new(name: 'EksContainerSecurityContext')
|
93
|
+
EksContainerVolumeMount = Shapes::StructureShape.new(name: 'EksContainerVolumeMount')
|
94
|
+
EksContainerVolumeMounts = Shapes::ListShape.new(name: 'EksContainerVolumeMounts')
|
95
|
+
EksContainers = Shapes::ListShape.new(name: 'EksContainers')
|
96
|
+
EksEmptyDir = Shapes::StructureShape.new(name: 'EksEmptyDir')
|
97
|
+
EksHostPath = Shapes::StructureShape.new(name: 'EksHostPath')
|
98
|
+
EksLimits = Shapes::MapShape.new(name: 'EksLimits')
|
99
|
+
EksPodProperties = Shapes::StructureShape.new(name: 'EksPodProperties')
|
100
|
+
EksPodPropertiesDetail = Shapes::StructureShape.new(name: 'EksPodPropertiesDetail')
|
101
|
+
EksPodPropertiesOverride = Shapes::StructureShape.new(name: 'EksPodPropertiesOverride')
|
102
|
+
EksProperties = Shapes::StructureShape.new(name: 'EksProperties')
|
103
|
+
EksPropertiesDetail = Shapes::StructureShape.new(name: 'EksPropertiesDetail')
|
104
|
+
EksPropertiesOverride = Shapes::StructureShape.new(name: 'EksPropertiesOverride')
|
105
|
+
EksRequests = Shapes::MapShape.new(name: 'EksRequests')
|
106
|
+
EksSecret = Shapes::StructureShape.new(name: 'EksSecret')
|
107
|
+
EksVolume = Shapes::StructureShape.new(name: 'EksVolume')
|
108
|
+
EksVolumes = Shapes::ListShape.new(name: 'EksVolumes')
|
79
109
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
80
110
|
EvaluateOnExit = Shapes::StructureShape.new(name: 'EvaluateOnExit')
|
81
111
|
EvaluateOnExitList = Shapes::ListShape.new(name: 'EvaluateOnExitList')
|
@@ -104,6 +134,7 @@ module Aws::Batch
|
|
104
134
|
JobTimeout = Shapes::StructureShape.new(name: 'JobTimeout')
|
105
135
|
KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
|
106
136
|
KeyValuesPair = Shapes::StructureShape.new(name: 'KeyValuesPair')
|
137
|
+
KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
|
107
138
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
108
139
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
109
140
|
ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
|
@@ -130,9 +161,11 @@ module Aws::Batch
|
|
130
161
|
NodePropertyOverrides = Shapes::ListShape.new(name: 'NodePropertyOverrides')
|
131
162
|
NodeRangeProperties = Shapes::ListShape.new(name: 'NodeRangeProperties')
|
132
163
|
NodeRangeProperty = Shapes::StructureShape.new(name: 'NodeRangeProperty')
|
164
|
+
OrchestrationType = Shapes::StringShape.new(name: 'OrchestrationType')
|
133
165
|
ParametersMap = Shapes::MapShape.new(name: 'ParametersMap')
|
134
166
|
PlatformCapability = Shapes::StringShape.new(name: 'PlatformCapability')
|
135
167
|
PlatformCapabilityList = Shapes::ListShape.new(name: 'PlatformCapabilityList')
|
168
|
+
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
136
169
|
RegisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterJobDefinitionRequest')
|
137
170
|
RegisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterJobDefinitionResponse')
|
138
171
|
ResourceRequirement = Shapes::StructureShape.new(name: 'ResourceRequirement')
|
@@ -230,6 +263,9 @@ module Aws::Batch
|
|
230
263
|
ComputeEnvironmentDetail.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
231
264
|
ComputeEnvironmentDetail.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
232
265
|
ComputeEnvironmentDetail.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
|
266
|
+
ComputeEnvironmentDetail.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
267
|
+
ComputeEnvironmentDetail.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
268
|
+
ComputeEnvironmentDetail.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "uuid"))
|
233
269
|
ComputeEnvironmentDetail.struct_class = Types::ComputeEnvironmentDetail
|
234
270
|
|
235
271
|
ComputeEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentDetail)
|
@@ -347,6 +383,7 @@ module Aws::Batch
|
|
347
383
|
CreateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
348
384
|
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
349
385
|
CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
386
|
+
CreateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
350
387
|
CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
|
351
388
|
|
352
389
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
@@ -457,10 +494,145 @@ module Aws::Batch
|
|
457
494
|
|
458
495
|
Ec2Configuration.add_member(:image_type, Shapes::ShapeRef.new(shape: ImageType, required: true, location_name: "imageType"))
|
459
496
|
Ec2Configuration.add_member(:image_id_override, Shapes::ShapeRef.new(shape: ImageIdOverride, location_name: "imageIdOverride"))
|
497
|
+
Ec2Configuration.add_member(:image_kubernetes_version, Shapes::ShapeRef.new(shape: KubernetesVersion, location_name: "imageKubernetesVersion"))
|
460
498
|
Ec2Configuration.struct_class = Types::Ec2Configuration
|
461
499
|
|
462
500
|
Ec2ConfigurationList.member = Shapes::ShapeRef.new(shape: Ec2Configuration)
|
463
501
|
|
502
|
+
EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
503
|
+
EksAttemptContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
504
|
+
EksAttemptContainerDetail.struct_class = Types::EksAttemptContainerDetail
|
505
|
+
|
506
|
+
EksAttemptContainerDetails.member = Shapes::ShapeRef.new(shape: EksAttemptContainerDetail)
|
507
|
+
|
508
|
+
EksAttemptDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "containers"))
|
509
|
+
EksAttemptDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
|
510
|
+
EksAttemptDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
|
511
|
+
EksAttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
512
|
+
EksAttemptDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
|
513
|
+
EksAttemptDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
514
|
+
EksAttemptDetail.struct_class = Types::EksAttemptDetail
|
515
|
+
|
516
|
+
EksAttemptDetails.member = Shapes::ShapeRef.new(shape: EksAttemptDetail)
|
517
|
+
|
518
|
+
EksConfiguration.add_member(:eks_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eksClusterArn"))
|
519
|
+
EksConfiguration.add_member(:kubernetes_namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "kubernetesNamespace"))
|
520
|
+
EksConfiguration.struct_class = Types::EksConfiguration
|
521
|
+
|
522
|
+
EksContainer.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
523
|
+
EksContainer.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
|
524
|
+
EksContainer.add_member(:image_pull_policy, Shapes::ShapeRef.new(shape: String, location_name: "imagePullPolicy"))
|
525
|
+
EksContainer.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
526
|
+
EksContainer.add_member(:args, Shapes::ShapeRef.new(shape: StringList, location_name: "args"))
|
527
|
+
EksContainer.add_member(:env, Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariables, location_name: "env"))
|
528
|
+
EksContainer.add_member(:resources, Shapes::ShapeRef.new(shape: EksContainerResourceRequirements, location_name: "resources"))
|
529
|
+
EksContainer.add_member(:volume_mounts, Shapes::ShapeRef.new(shape: EksContainerVolumeMounts, location_name: "volumeMounts"))
|
530
|
+
EksContainer.add_member(:security_context, Shapes::ShapeRef.new(shape: EksContainerSecurityContext, location_name: "securityContext"))
|
531
|
+
EksContainer.struct_class = Types::EksContainer
|
532
|
+
|
533
|
+
EksContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
534
|
+
EksContainerDetail.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
535
|
+
EksContainerDetail.add_member(:image_pull_policy, Shapes::ShapeRef.new(shape: String, location_name: "imagePullPolicy"))
|
536
|
+
EksContainerDetail.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
537
|
+
EksContainerDetail.add_member(:args, Shapes::ShapeRef.new(shape: StringList, location_name: "args"))
|
538
|
+
EksContainerDetail.add_member(:env, Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariables, location_name: "env"))
|
539
|
+
EksContainerDetail.add_member(:resources, Shapes::ShapeRef.new(shape: EksContainerResourceRequirements, location_name: "resources"))
|
540
|
+
EksContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
541
|
+
EksContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
542
|
+
EksContainerDetail.add_member(:volume_mounts, Shapes::ShapeRef.new(shape: EksContainerVolumeMounts, location_name: "volumeMounts"))
|
543
|
+
EksContainerDetail.add_member(:security_context, Shapes::ShapeRef.new(shape: EksContainerSecurityContext, location_name: "securityContext"))
|
544
|
+
EksContainerDetail.struct_class = Types::EksContainerDetail
|
545
|
+
|
546
|
+
EksContainerDetails.member = Shapes::ShapeRef.new(shape: EksContainerDetail)
|
547
|
+
|
548
|
+
EksContainerEnvironmentVariable.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
549
|
+
EksContainerEnvironmentVariable.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
550
|
+
EksContainerEnvironmentVariable.struct_class = Types::EksContainerEnvironmentVariable
|
551
|
+
|
552
|
+
EksContainerEnvironmentVariables.member = Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariable)
|
553
|
+
|
554
|
+
EksContainerOverride.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
555
|
+
EksContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
556
|
+
EksContainerOverride.add_member(:args, Shapes::ShapeRef.new(shape: StringList, location_name: "args"))
|
557
|
+
EksContainerOverride.add_member(:env, Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariables, location_name: "env"))
|
558
|
+
EksContainerOverride.add_member(:resources, Shapes::ShapeRef.new(shape: EksContainerResourceRequirements, location_name: "resources"))
|
559
|
+
EksContainerOverride.struct_class = Types::EksContainerOverride
|
560
|
+
|
561
|
+
EksContainerOverrideList.member = Shapes::ShapeRef.new(shape: EksContainerOverride)
|
562
|
+
|
563
|
+
EksContainerResourceRequirements.add_member(:limits, Shapes::ShapeRef.new(shape: EksLimits, location_name: "limits"))
|
564
|
+
EksContainerResourceRequirements.add_member(:requests, Shapes::ShapeRef.new(shape: EksRequests, location_name: "requests"))
|
565
|
+
EksContainerResourceRequirements.struct_class = Types::EksContainerResourceRequirements
|
566
|
+
|
567
|
+
EksContainerSecurityContext.add_member(:run_as_user, Shapes::ShapeRef.new(shape: Long, location_name: "runAsUser"))
|
568
|
+
EksContainerSecurityContext.add_member(:run_as_group, Shapes::ShapeRef.new(shape: Long, location_name: "runAsGroup"))
|
569
|
+
EksContainerSecurityContext.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
570
|
+
EksContainerSecurityContext.add_member(:read_only_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnlyRootFilesystem"))
|
571
|
+
EksContainerSecurityContext.add_member(:run_as_non_root, Shapes::ShapeRef.new(shape: Boolean, location_name: "runAsNonRoot"))
|
572
|
+
EksContainerSecurityContext.struct_class = Types::EksContainerSecurityContext
|
573
|
+
|
574
|
+
EksContainerVolumeMount.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
575
|
+
EksContainerVolumeMount.add_member(:mount_path, Shapes::ShapeRef.new(shape: String, location_name: "mountPath"))
|
576
|
+
EksContainerVolumeMount.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
|
577
|
+
EksContainerVolumeMount.struct_class = Types::EksContainerVolumeMount
|
578
|
+
|
579
|
+
EksContainerVolumeMounts.member = Shapes::ShapeRef.new(shape: EksContainerVolumeMount)
|
580
|
+
|
581
|
+
EksContainers.member = Shapes::ShapeRef.new(shape: EksContainer)
|
582
|
+
|
583
|
+
EksEmptyDir.add_member(:medium, Shapes::ShapeRef.new(shape: String, location_name: "medium"))
|
584
|
+
EksEmptyDir.add_member(:size_limit, Shapes::ShapeRef.new(shape: Quantity, location_name: "sizeLimit"))
|
585
|
+
EksEmptyDir.struct_class = Types::EksEmptyDir
|
586
|
+
|
587
|
+
EksHostPath.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
|
588
|
+
EksHostPath.struct_class = Types::EksHostPath
|
589
|
+
|
590
|
+
EksLimits.key = Shapes::ShapeRef.new(shape: String)
|
591
|
+
EksLimits.value = Shapes::ShapeRef.new(shape: Quantity)
|
592
|
+
|
593
|
+
EksPodProperties.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
|
594
|
+
EksPodProperties.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
|
595
|
+
EksPodProperties.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
|
596
|
+
EksPodProperties.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainers, location_name: "containers"))
|
597
|
+
EksPodProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
|
598
|
+
EksPodProperties.struct_class = Types::EksPodProperties
|
599
|
+
|
600
|
+
EksPodPropertiesDetail.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
|
601
|
+
EksPodPropertiesDetail.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
|
602
|
+
EksPodPropertiesDetail.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
|
603
|
+
EksPodPropertiesDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerDetails, location_name: "containers"))
|
604
|
+
EksPodPropertiesDetail.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
|
605
|
+
EksPodPropertiesDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
|
606
|
+
EksPodPropertiesDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
|
607
|
+
EksPodPropertiesDetail.struct_class = Types::EksPodPropertiesDetail
|
608
|
+
|
609
|
+
EksPodPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerOverrideList, location_name: "containers"))
|
610
|
+
EksPodPropertiesOverride.struct_class = Types::EksPodPropertiesOverride
|
611
|
+
|
612
|
+
EksProperties.add_member(:pod_properties, Shapes::ShapeRef.new(shape: EksPodProperties, location_name: "podProperties"))
|
613
|
+
EksProperties.struct_class = Types::EksProperties
|
614
|
+
|
615
|
+
EksPropertiesDetail.add_member(:pod_properties, Shapes::ShapeRef.new(shape: EksPodPropertiesDetail, location_name: "podProperties"))
|
616
|
+
EksPropertiesDetail.struct_class = Types::EksPropertiesDetail
|
617
|
+
|
618
|
+
EksPropertiesOverride.add_member(:pod_properties, Shapes::ShapeRef.new(shape: EksPodPropertiesOverride, location_name: "podProperties"))
|
619
|
+
EksPropertiesOverride.struct_class = Types::EksPropertiesOverride
|
620
|
+
|
621
|
+
EksRequests.key = Shapes::ShapeRef.new(shape: String)
|
622
|
+
EksRequests.value = Shapes::ShapeRef.new(shape: Quantity)
|
623
|
+
|
624
|
+
EksSecret.add_member(:secret_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "secretName"))
|
625
|
+
EksSecret.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, location_name: "optional"))
|
626
|
+
EksSecret.struct_class = Types::EksSecret
|
627
|
+
|
628
|
+
EksVolume.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
629
|
+
EksVolume.add_member(:host_path, Shapes::ShapeRef.new(shape: EksHostPath, location_name: "hostPath"))
|
630
|
+
EksVolume.add_member(:empty_dir, Shapes::ShapeRef.new(shape: EksEmptyDir, location_name: "emptyDir"))
|
631
|
+
EksVolume.add_member(:secret, Shapes::ShapeRef.new(shape: EksSecret, location_name: "secret"))
|
632
|
+
EksVolume.struct_class = Types::EksVolume
|
633
|
+
|
634
|
+
EksVolumes.member = Shapes::ShapeRef.new(shape: EksVolume)
|
635
|
+
|
464
636
|
EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
465
637
|
|
466
638
|
EvaluateOnExit.add_member(:on_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "onStatusReason"))
|
@@ -496,6 +668,8 @@ module Aws::Batch
|
|
496
668
|
JobDefinition.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
497
669
|
JobDefinition.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "propagateTags"))
|
498
670
|
JobDefinition.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
671
|
+
JobDefinition.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
672
|
+
JobDefinition.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
499
673
|
JobDefinition.struct_class = Types::JobDefinition
|
500
674
|
|
501
675
|
JobDefinitionList.member = Shapes::ShapeRef.new(shape: JobDefinition)
|
@@ -530,6 +704,8 @@ module Aws::Batch
|
|
530
704
|
JobDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
531
705
|
JobDetail.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "propagateTags"))
|
532
706
|
JobDetail.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
707
|
+
JobDetail.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksPropertiesDetail, location_name: "eksProperties"))
|
708
|
+
JobDetail.add_member(:eks_attempts, Shapes::ShapeRef.new(shape: EksAttemptDetails, location_name: "eksAttempts"))
|
533
709
|
JobDetail.struct_class = Types::JobDetail
|
534
710
|
|
535
711
|
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
@@ -687,6 +863,7 @@ module Aws::Batch
|
|
687
863
|
RegisterJobDefinitionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
688
864
|
RegisterJobDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
689
865
|
RegisterJobDefinitionRequest.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
866
|
+
RegisterJobDefinitionRequest.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
690
867
|
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
691
868
|
|
692
869
|
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
@@ -748,6 +925,7 @@ module Aws::Batch
|
|
748
925
|
SubmitJobRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "propagateTags"))
|
749
926
|
SubmitJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
750
927
|
SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
928
|
+
SubmitJobRequest.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
751
929
|
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
752
930
|
|
753
931
|
SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
@@ -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
|
@@ -0,0 +1,122 @@
|
|
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
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parameters)
|
27
|
+
end
|
28
|
+
|
29
|
+
# @api private
|
30
|
+
RULES = <<-JSON
|
31
|
+
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
+
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
+
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
+
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
+
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
+
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
+
ZW5kcG9pbnQgZG9l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