@aws-sdk/client-batch 3.194.0 → 3.196.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.
Files changed (136) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +5 -5
  3. package/dist-cjs/BatchClient.js +11 -8
  4. package/dist-cjs/commands/CancelJobCommand.js +10 -0
  5. package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +10 -0
  6. package/dist-cjs/commands/CreateJobQueueCommand.js +10 -0
  7. package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteJobQueueCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +10 -0
  11. package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeJobQueuesCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeJobsCommand.js +10 -0
  16. package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +10 -0
  17. package/dist-cjs/commands/ListJobsCommand.js +10 -0
  18. package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +10 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  20. package/dist-cjs/commands/RegisterJobDefinitionCommand.js +10 -0
  21. package/dist-cjs/commands/SubmitJobCommand.js +10 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  23. package/dist-cjs/commands/TerminateJobCommand.js +10 -0
  24. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateJobQueueCommand.js +10 -0
  27. package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +10 -0
  28. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  30. package/dist-cjs/endpoint/ruleset.js +368 -0
  31. package/dist-cjs/models/models_0.js +88 -3
  32. package/dist-cjs/protocols/Aws_restJson1.js +448 -0
  33. package/dist-cjs/runtimeConfig.shared.js +3 -3
  34. package/dist-es/BatchClient.js +12 -9
  35. package/dist-es/commands/CancelJobCommand.js +10 -0
  36. package/dist-es/commands/CreateComputeEnvironmentCommand.js +10 -0
  37. package/dist-es/commands/CreateJobQueueCommand.js +10 -0
  38. package/dist-es/commands/CreateSchedulingPolicyCommand.js +10 -0
  39. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +10 -0
  40. package/dist-es/commands/DeleteJobQueueCommand.js +10 -0
  41. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +10 -0
  42. package/dist-es/commands/DeregisterJobDefinitionCommand.js +10 -0
  43. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +10 -0
  44. package/dist-es/commands/DescribeJobDefinitionsCommand.js +10 -0
  45. package/dist-es/commands/DescribeJobQueuesCommand.js +10 -0
  46. package/dist-es/commands/DescribeJobsCommand.js +10 -0
  47. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +10 -0
  48. package/dist-es/commands/ListJobsCommand.js +10 -0
  49. package/dist-es/commands/ListSchedulingPoliciesCommand.js +10 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  51. package/dist-es/commands/RegisterJobDefinitionCommand.js +10 -0
  52. package/dist-es/commands/SubmitJobCommand.js +10 -0
  53. package/dist-es/commands/TagResourceCommand.js +10 -0
  54. package/dist-es/commands/TerminateJobCommand.js +10 -0
  55. package/dist-es/commands/UntagResourceCommand.js +10 -0
  56. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +10 -0
  57. package/dist-es/commands/UpdateJobQueueCommand.js +10 -0
  58. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +10 -0
  59. package/dist-es/endpoint/EndpointParameters.js +8 -0
  60. package/dist-es/endpoint/endpointResolver.js +8 -0
  61. package/dist-es/endpoint/ruleset.js +365 -0
  62. package/dist-es/models/models_0.js +65 -0
  63. package/dist-es/protocols/Aws_restJson1.js +448 -0
  64. package/dist-es/runtimeConfig.shared.js +2 -2
  65. package/dist-types/Batch.d.ts +30 -30
  66. package/dist-types/BatchClient.d.ts +11 -14
  67. package/dist-types/commands/CancelJobCommand.d.ts +5 -3
  68. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +22 -20
  69. package/dist-types/commands/CreateJobQueueCommand.d.ts +2 -0
  70. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +2 -0
  71. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +2 -0
  72. package/dist-types/commands/DeleteJobQueueCommand.d.ts +2 -0
  73. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +2 -0
  74. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +2 -0
  75. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -0
  76. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +2 -0
  77. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +2 -0
  78. package/dist-types/commands/DescribeJobsCommand.d.ts +2 -0
  79. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -0
  80. package/dist-types/commands/ListJobsCommand.d.ts +2 -0
  81. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +2 -0
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -1
  83. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +2 -0
  84. package/dist-types/commands/SubmitJobCommand.d.ts +2 -0
  85. package/dist-types/commands/TagResourceCommand.d.ts +3 -1
  86. package/dist-types/commands/TerminateJobCommand.d.ts +2 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  88. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +2 -0
  89. package/dist-types/commands/UpdateJobQueueCommand.d.ts +2 -0
  90. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +2 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/models/models_0.d.ts +1322 -552
  95. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  96. package/dist-types/runtimeConfig.d.ts +4 -2
  97. package/dist-types/runtimeConfig.native.d.ts +4 -2
  98. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  99. package/dist-types/ts3.4/BatchClient.d.ts +15 -8
  100. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/CreateComputeEnvironmentCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/CreateJobQueueCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/DeleteComputeEnvironmentCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/DeleteJobQueueCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/DeregisterJobDefinitionCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/DescribeJobDefinitionsCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/DescribeJobQueuesCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/RegisterJobDefinitionCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/SubmitJobCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/TerminateJobCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/UpdateComputeEnvironmentCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/UpdateJobQueueCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  125. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  126. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +177 -0
  128. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  129. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  131. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  132. package/package.json +5 -3
  133. package/dist-cjs/endpoints.js +0 -185
  134. package/dist-es/endpoints.js +0 -181
  135. package/dist-types/endpoints.d.ts +0 -2
  136. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -35,6 +35,9 @@ export const serializeAws_restJson1CreateComputeEnvironmentCommand = async (inpu
35
35
  ...(input.computeResources != null && {
36
36
  computeResources: serializeAws_restJson1ComputeResource(input.computeResources, context),
37
37
  }),
38
+ ...(input.eksConfiguration != null && {
39
+ eksConfiguration: serializeAws_restJson1EksConfiguration(input.eksConfiguration, context),
40
+ }),
38
41
  ...(input.serviceRole != null && { serviceRole: input.serviceRole }),
39
42
  ...(input.state != null && { state: input.state }),
40
43
  ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
@@ -368,6 +371,9 @@ export const serializeAws_restJson1RegisterJobDefinitionCommand = async (input,
368
371
  ...(input.containerProperties != null && {
369
372
  containerProperties: serializeAws_restJson1ContainerProperties(input.containerProperties, context),
370
373
  }),
374
+ ...(input.eksProperties != null && {
375
+ eksProperties: serializeAws_restJson1EksProperties(input.eksProperties, context),
376
+ }),
371
377
  ...(input.jobDefinitionName != null && { jobDefinitionName: input.jobDefinitionName }),
372
378
  ...(input.nodeProperties != null && {
373
379
  nodeProperties: serializeAws_restJson1NodeProperties(input.nodeProperties, context),
@@ -410,6 +416,9 @@ export const serializeAws_restJson1SubmitJobCommand = async (input, context) =>
410
416
  containerOverrides: serializeAws_restJson1ContainerOverrides(input.containerOverrides, context),
411
417
  }),
412
418
  ...(input.dependsOn != null && { dependsOn: serializeAws_restJson1JobDependencyList(input.dependsOn, context) }),
419
+ ...(input.eksPropertiesOverride != null && {
420
+ eksPropertiesOverride: serializeAws_restJson1EksPropertiesOverride(input.eksPropertiesOverride, context),
421
+ }),
413
422
  ...(input.jobDefinition != null && { jobDefinition: input.jobDefinition }),
414
423
  ...(input.jobName != null && { jobName: input.jobName }),
415
424
  ...(input.jobQueue != null && { jobQueue: input.jobQueue }),
@@ -1632,6 +1641,7 @@ const serializeAws_restJson1DevicesList = (input, context) => {
1632
1641
  const serializeAws_restJson1Ec2Configuration = (input, context) => {
1633
1642
  return {
1634
1643
  ...(input.imageIdOverride != null && { imageIdOverride: input.imageIdOverride }),
1644
+ ...(input.imageKubernetesVersion != null && { imageKubernetesVersion: input.imageKubernetesVersion }),
1635
1645
  ...(input.imageType != null && { imageType: input.imageType }),
1636
1646
  };
1637
1647
  };
@@ -1659,6 +1669,182 @@ const serializeAws_restJson1EFSVolumeConfiguration = (input, context) => {
1659
1669
  ...(input.transitEncryptionPort != null && { transitEncryptionPort: input.transitEncryptionPort }),
1660
1670
  };
1661
1671
  };
1672
+ const serializeAws_restJson1EksConfiguration = (input, context) => {
1673
+ return {
1674
+ ...(input.eksClusterArn != null && { eksClusterArn: input.eksClusterArn }),
1675
+ ...(input.kubernetesNamespace != null && { kubernetesNamespace: input.kubernetesNamespace }),
1676
+ };
1677
+ };
1678
+ const serializeAws_restJson1EksContainer = (input, context) => {
1679
+ return {
1680
+ ...(input.args != null && { args: serializeAws_restJson1StringList(input.args, context) }),
1681
+ ...(input.command != null && { command: serializeAws_restJson1StringList(input.command, context) }),
1682
+ ...(input.env != null && { env: serializeAws_restJson1EksContainerEnvironmentVariables(input.env, context) }),
1683
+ ...(input.image != null && { image: input.image }),
1684
+ ...(input.imagePullPolicy != null && { imagePullPolicy: input.imagePullPolicy }),
1685
+ ...(input.name != null && { name: input.name }),
1686
+ ...(input.resources != null && {
1687
+ resources: serializeAws_restJson1EksContainerResourceRequirements(input.resources, context),
1688
+ }),
1689
+ ...(input.securityContext != null && {
1690
+ securityContext: serializeAws_restJson1EksContainerSecurityContext(input.securityContext, context),
1691
+ }),
1692
+ ...(input.volumeMounts != null && {
1693
+ volumeMounts: serializeAws_restJson1EksContainerVolumeMounts(input.volumeMounts, context),
1694
+ }),
1695
+ };
1696
+ };
1697
+ const serializeAws_restJson1EksContainerEnvironmentVariable = (input, context) => {
1698
+ return {
1699
+ ...(input.name != null && { name: input.name }),
1700
+ ...(input.value != null && { value: input.value }),
1701
+ };
1702
+ };
1703
+ const serializeAws_restJson1EksContainerEnvironmentVariables = (input, context) => {
1704
+ return input
1705
+ .filter((e) => e != null)
1706
+ .map((entry) => {
1707
+ return serializeAws_restJson1EksContainerEnvironmentVariable(entry, context);
1708
+ });
1709
+ };
1710
+ const serializeAws_restJson1EksContainerOverride = (input, context) => {
1711
+ return {
1712
+ ...(input.args != null && { args: serializeAws_restJson1StringList(input.args, context) }),
1713
+ ...(input.command != null && { command: serializeAws_restJson1StringList(input.command, context) }),
1714
+ ...(input.env != null && { env: serializeAws_restJson1EksContainerEnvironmentVariables(input.env, context) }),
1715
+ ...(input.image != null && { image: input.image }),
1716
+ ...(input.resources != null && {
1717
+ resources: serializeAws_restJson1EksContainerResourceRequirements(input.resources, context),
1718
+ }),
1719
+ };
1720
+ };
1721
+ const serializeAws_restJson1EksContainerOverrideList = (input, context) => {
1722
+ return input
1723
+ .filter((e) => e != null)
1724
+ .map((entry) => {
1725
+ return serializeAws_restJson1EksContainerOverride(entry, context);
1726
+ });
1727
+ };
1728
+ const serializeAws_restJson1EksContainerResourceRequirements = (input, context) => {
1729
+ return {
1730
+ ...(input.limits != null && { limits: serializeAws_restJson1EksLimits(input.limits, context) }),
1731
+ ...(input.requests != null && { requests: serializeAws_restJson1EksRequests(input.requests, context) }),
1732
+ };
1733
+ };
1734
+ const serializeAws_restJson1EksContainers = (input, context) => {
1735
+ return input
1736
+ .filter((e) => e != null)
1737
+ .map((entry) => {
1738
+ return serializeAws_restJson1EksContainer(entry, context);
1739
+ });
1740
+ };
1741
+ const serializeAws_restJson1EksContainerSecurityContext = (input, context) => {
1742
+ return {
1743
+ ...(input.privileged != null && { privileged: input.privileged }),
1744
+ ...(input.readOnlyRootFilesystem != null && { readOnlyRootFilesystem: input.readOnlyRootFilesystem }),
1745
+ ...(input.runAsGroup != null && { runAsGroup: input.runAsGroup }),
1746
+ ...(input.runAsNonRoot != null && { runAsNonRoot: input.runAsNonRoot }),
1747
+ ...(input.runAsUser != null && { runAsUser: input.runAsUser }),
1748
+ };
1749
+ };
1750
+ const serializeAws_restJson1EksContainerVolumeMount = (input, context) => {
1751
+ return {
1752
+ ...(input.mountPath != null && { mountPath: input.mountPath }),
1753
+ ...(input.name != null && { name: input.name }),
1754
+ ...(input.readOnly != null && { readOnly: input.readOnly }),
1755
+ };
1756
+ };
1757
+ const serializeAws_restJson1EksContainerVolumeMounts = (input, context) => {
1758
+ return input
1759
+ .filter((e) => e != null)
1760
+ .map((entry) => {
1761
+ return serializeAws_restJson1EksContainerVolumeMount(entry, context);
1762
+ });
1763
+ };
1764
+ const serializeAws_restJson1EksEmptyDir = (input, context) => {
1765
+ return {
1766
+ ...(input.medium != null && { medium: input.medium }),
1767
+ ...(input.sizeLimit != null && { sizeLimit: input.sizeLimit }),
1768
+ };
1769
+ };
1770
+ const serializeAws_restJson1EksHostPath = (input, context) => {
1771
+ return {
1772
+ ...(input.path != null && { path: input.path }),
1773
+ };
1774
+ };
1775
+ const serializeAws_restJson1EksLimits = (input, context) => {
1776
+ return Object.entries(input).reduce((acc, [key, value]) => {
1777
+ if (value === null) {
1778
+ return acc;
1779
+ }
1780
+ return {
1781
+ ...acc,
1782
+ [key]: value,
1783
+ };
1784
+ }, {});
1785
+ };
1786
+ const serializeAws_restJson1EksPodProperties = (input, context) => {
1787
+ return {
1788
+ ...(input.containers != null && { containers: serializeAws_restJson1EksContainers(input.containers, context) }),
1789
+ ...(input.dnsPolicy != null && { dnsPolicy: input.dnsPolicy }),
1790
+ ...(input.hostNetwork != null && { hostNetwork: input.hostNetwork }),
1791
+ ...(input.serviceAccountName != null && { serviceAccountName: input.serviceAccountName }),
1792
+ ...(input.volumes != null && { volumes: serializeAws_restJson1EksVolumes(input.volumes, context) }),
1793
+ };
1794
+ };
1795
+ const serializeAws_restJson1EksPodPropertiesOverride = (input, context) => {
1796
+ return {
1797
+ ...(input.containers != null && {
1798
+ containers: serializeAws_restJson1EksContainerOverrideList(input.containers, context),
1799
+ }),
1800
+ };
1801
+ };
1802
+ const serializeAws_restJson1EksProperties = (input, context) => {
1803
+ return {
1804
+ ...(input.podProperties != null && {
1805
+ podProperties: serializeAws_restJson1EksPodProperties(input.podProperties, context),
1806
+ }),
1807
+ };
1808
+ };
1809
+ const serializeAws_restJson1EksPropertiesOverride = (input, context) => {
1810
+ return {
1811
+ ...(input.podProperties != null && {
1812
+ podProperties: serializeAws_restJson1EksPodPropertiesOverride(input.podProperties, context),
1813
+ }),
1814
+ };
1815
+ };
1816
+ const serializeAws_restJson1EksRequests = (input, context) => {
1817
+ return Object.entries(input).reduce((acc, [key, value]) => {
1818
+ if (value === null) {
1819
+ return acc;
1820
+ }
1821
+ return {
1822
+ ...acc,
1823
+ [key]: value,
1824
+ };
1825
+ }, {});
1826
+ };
1827
+ const serializeAws_restJson1EksSecret = (input, context) => {
1828
+ return {
1829
+ ...(input.optional != null && { optional: input.optional }),
1830
+ ...(input.secretName != null && { secretName: input.secretName }),
1831
+ };
1832
+ };
1833
+ const serializeAws_restJson1EksVolume = (input, context) => {
1834
+ return {
1835
+ ...(input.emptyDir != null && { emptyDir: serializeAws_restJson1EksEmptyDir(input.emptyDir, context) }),
1836
+ ...(input.hostPath != null && { hostPath: serializeAws_restJson1EksHostPath(input.hostPath, context) }),
1837
+ ...(input.name != null && { name: input.name }),
1838
+ ...(input.secret != null && { secret: serializeAws_restJson1EksSecret(input.secret, context) }),
1839
+ };
1840
+ };
1841
+ const serializeAws_restJson1EksVolumes = (input, context) => {
1842
+ return input
1843
+ .filter((e) => e != null)
1844
+ .map((entry) => {
1845
+ return serializeAws_restJson1EksVolume(entry, context);
1846
+ });
1847
+ };
1662
1848
  const serializeAws_restJson1EnvironmentVariables = (input, context) => {
1663
1849
  return input
1664
1850
  .filter((e) => e != null)
@@ -2046,7 +2232,11 @@ const deserializeAws_restJson1ComputeEnvironmentDetail = (output, context) => {
2046
2232
  computeResources: output.computeResources != null
2047
2233
  ? deserializeAws_restJson1ComputeResource(output.computeResources, context)
2048
2234
  : undefined,
2235
+ containerOrchestrationType: __expectString(output.containerOrchestrationType),
2049
2236
  ecsClusterArn: __expectString(output.ecsClusterArn),
2237
+ eksConfiguration: output.eksConfiguration != null
2238
+ ? deserializeAws_restJson1EksConfiguration(output.eksConfiguration, context)
2239
+ : undefined,
2050
2240
  serviceRole: __expectString(output.serviceRole),
2051
2241
  state: __expectString(output.state),
2052
2242
  status: __expectString(output.status),
@@ -2055,6 +2245,7 @@ const deserializeAws_restJson1ComputeEnvironmentDetail = (output, context) => {
2055
2245
  type: __expectString(output.type),
2056
2246
  unmanagedvCpus: __expectInt32(output.unmanagedvCpus),
2057
2247
  updatePolicy: output.updatePolicy != null ? deserializeAws_restJson1UpdatePolicy(output.updatePolicy, context) : undefined,
2248
+ uuid: __expectString(output.uuid),
2058
2249
  };
2059
2250
  };
2060
2251
  const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) => {
@@ -2232,6 +2423,7 @@ const deserializeAws_restJson1DevicesList = (output, context) => {
2232
2423
  const deserializeAws_restJson1Ec2Configuration = (output, context) => {
2233
2424
  return {
2234
2425
  imageIdOverride: __expectString(output.imageIdOverride),
2426
+ imageKubernetesVersion: __expectString(output.imageKubernetesVersion),
2235
2427
  imageType: __expectString(output.imageType),
2236
2428
  };
2237
2429
  };
@@ -2263,6 +2455,256 @@ const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
2263
2455
  transitEncryptionPort: __expectInt32(output.transitEncryptionPort),
2264
2456
  };
2265
2457
  };
2458
+ const deserializeAws_restJson1EksAttemptContainerDetail = (output, context) => {
2459
+ return {
2460
+ exitCode: __expectInt32(output.exitCode),
2461
+ reason: __expectString(output.reason),
2462
+ };
2463
+ };
2464
+ const deserializeAws_restJson1EksAttemptContainerDetails = (output, context) => {
2465
+ const retVal = (output || [])
2466
+ .filter((e) => e != null)
2467
+ .map((entry) => {
2468
+ if (entry === null) {
2469
+ return null;
2470
+ }
2471
+ return deserializeAws_restJson1EksAttemptContainerDetail(entry, context);
2472
+ });
2473
+ return retVal;
2474
+ };
2475
+ const deserializeAws_restJson1EksAttemptDetail = (output, context) => {
2476
+ return {
2477
+ containers: output.containers != null
2478
+ ? deserializeAws_restJson1EksAttemptContainerDetails(output.containers, context)
2479
+ : undefined,
2480
+ nodeName: __expectString(output.nodeName),
2481
+ podName: __expectString(output.podName),
2482
+ startedAt: __expectLong(output.startedAt),
2483
+ statusReason: __expectString(output.statusReason),
2484
+ stoppedAt: __expectLong(output.stoppedAt),
2485
+ };
2486
+ };
2487
+ const deserializeAws_restJson1EksAttemptDetails = (output, context) => {
2488
+ const retVal = (output || [])
2489
+ .filter((e) => e != null)
2490
+ .map((entry) => {
2491
+ if (entry === null) {
2492
+ return null;
2493
+ }
2494
+ return deserializeAws_restJson1EksAttemptDetail(entry, context);
2495
+ });
2496
+ return retVal;
2497
+ };
2498
+ const deserializeAws_restJson1EksConfiguration = (output, context) => {
2499
+ return {
2500
+ eksClusterArn: __expectString(output.eksClusterArn),
2501
+ kubernetesNamespace: __expectString(output.kubernetesNamespace),
2502
+ };
2503
+ };
2504
+ const deserializeAws_restJson1EksContainer = (output, context) => {
2505
+ return {
2506
+ args: output.args != null ? deserializeAws_restJson1StringList(output.args, context) : undefined,
2507
+ command: output.command != null ? deserializeAws_restJson1StringList(output.command, context) : undefined,
2508
+ env: output.env != null ? deserializeAws_restJson1EksContainerEnvironmentVariables(output.env, context) : undefined,
2509
+ image: __expectString(output.image),
2510
+ imagePullPolicy: __expectString(output.imagePullPolicy),
2511
+ name: __expectString(output.name),
2512
+ resources: output.resources != null
2513
+ ? deserializeAws_restJson1EksContainerResourceRequirements(output.resources, context)
2514
+ : undefined,
2515
+ securityContext: output.securityContext != null
2516
+ ? deserializeAws_restJson1EksContainerSecurityContext(output.securityContext, context)
2517
+ : undefined,
2518
+ volumeMounts: output.volumeMounts != null
2519
+ ? deserializeAws_restJson1EksContainerVolumeMounts(output.volumeMounts, context)
2520
+ : undefined,
2521
+ };
2522
+ };
2523
+ const deserializeAws_restJson1EksContainerDetail = (output, context) => {
2524
+ return {
2525
+ args: output.args != null ? deserializeAws_restJson1StringList(output.args, context) : undefined,
2526
+ command: output.command != null ? deserializeAws_restJson1StringList(output.command, context) : undefined,
2527
+ env: output.env != null ? deserializeAws_restJson1EksContainerEnvironmentVariables(output.env, context) : undefined,
2528
+ exitCode: __expectInt32(output.exitCode),
2529
+ image: __expectString(output.image),
2530
+ imagePullPolicy: __expectString(output.imagePullPolicy),
2531
+ name: __expectString(output.name),
2532
+ reason: __expectString(output.reason),
2533
+ resources: output.resources != null
2534
+ ? deserializeAws_restJson1EksContainerResourceRequirements(output.resources, context)
2535
+ : undefined,
2536
+ securityContext: output.securityContext != null
2537
+ ? deserializeAws_restJson1EksContainerSecurityContext(output.securityContext, context)
2538
+ : undefined,
2539
+ volumeMounts: output.volumeMounts != null
2540
+ ? deserializeAws_restJson1EksContainerVolumeMounts(output.volumeMounts, context)
2541
+ : undefined,
2542
+ };
2543
+ };
2544
+ const deserializeAws_restJson1EksContainerDetails = (output, context) => {
2545
+ const retVal = (output || [])
2546
+ .filter((e) => e != null)
2547
+ .map((entry) => {
2548
+ if (entry === null) {
2549
+ return null;
2550
+ }
2551
+ return deserializeAws_restJson1EksContainerDetail(entry, context);
2552
+ });
2553
+ return retVal;
2554
+ };
2555
+ const deserializeAws_restJson1EksContainerEnvironmentVariable = (output, context) => {
2556
+ return {
2557
+ name: __expectString(output.name),
2558
+ value: __expectString(output.value),
2559
+ };
2560
+ };
2561
+ const deserializeAws_restJson1EksContainerEnvironmentVariables = (output, context) => {
2562
+ const retVal = (output || [])
2563
+ .filter((e) => e != null)
2564
+ .map((entry) => {
2565
+ if (entry === null) {
2566
+ return null;
2567
+ }
2568
+ return deserializeAws_restJson1EksContainerEnvironmentVariable(entry, context);
2569
+ });
2570
+ return retVal;
2571
+ };
2572
+ const deserializeAws_restJson1EksContainerResourceRequirements = (output, context) => {
2573
+ return {
2574
+ limits: output.limits != null ? deserializeAws_restJson1EksLimits(output.limits, context) : undefined,
2575
+ requests: output.requests != null ? deserializeAws_restJson1EksRequests(output.requests, context) : undefined,
2576
+ };
2577
+ };
2578
+ const deserializeAws_restJson1EksContainers = (output, context) => {
2579
+ const retVal = (output || [])
2580
+ .filter((e) => e != null)
2581
+ .map((entry) => {
2582
+ if (entry === null) {
2583
+ return null;
2584
+ }
2585
+ return deserializeAws_restJson1EksContainer(entry, context);
2586
+ });
2587
+ return retVal;
2588
+ };
2589
+ const deserializeAws_restJson1EksContainerSecurityContext = (output, context) => {
2590
+ return {
2591
+ privileged: __expectBoolean(output.privileged),
2592
+ readOnlyRootFilesystem: __expectBoolean(output.readOnlyRootFilesystem),
2593
+ runAsGroup: __expectLong(output.runAsGroup),
2594
+ runAsNonRoot: __expectBoolean(output.runAsNonRoot),
2595
+ runAsUser: __expectLong(output.runAsUser),
2596
+ };
2597
+ };
2598
+ const deserializeAws_restJson1EksContainerVolumeMount = (output, context) => {
2599
+ return {
2600
+ mountPath: __expectString(output.mountPath),
2601
+ name: __expectString(output.name),
2602
+ readOnly: __expectBoolean(output.readOnly),
2603
+ };
2604
+ };
2605
+ const deserializeAws_restJson1EksContainerVolumeMounts = (output, context) => {
2606
+ const retVal = (output || [])
2607
+ .filter((e) => e != null)
2608
+ .map((entry) => {
2609
+ if (entry === null) {
2610
+ return null;
2611
+ }
2612
+ return deserializeAws_restJson1EksContainerVolumeMount(entry, context);
2613
+ });
2614
+ return retVal;
2615
+ };
2616
+ const deserializeAws_restJson1EksEmptyDir = (output, context) => {
2617
+ return {
2618
+ medium: __expectString(output.medium),
2619
+ sizeLimit: __expectString(output.sizeLimit),
2620
+ };
2621
+ };
2622
+ const deserializeAws_restJson1EksHostPath = (output, context) => {
2623
+ return {
2624
+ path: __expectString(output.path),
2625
+ };
2626
+ };
2627
+ const deserializeAws_restJson1EksLimits = (output, context) => {
2628
+ return Object.entries(output).reduce((acc, [key, value]) => {
2629
+ if (value === null) {
2630
+ return acc;
2631
+ }
2632
+ return {
2633
+ ...acc,
2634
+ [key]: __expectString(value),
2635
+ };
2636
+ }, {});
2637
+ };
2638
+ const deserializeAws_restJson1EksPodProperties = (output, context) => {
2639
+ return {
2640
+ containers: output.containers != null ? deserializeAws_restJson1EksContainers(output.containers, context) : undefined,
2641
+ dnsPolicy: __expectString(output.dnsPolicy),
2642
+ hostNetwork: __expectBoolean(output.hostNetwork),
2643
+ serviceAccountName: __expectString(output.serviceAccountName),
2644
+ volumes: output.volumes != null ? deserializeAws_restJson1EksVolumes(output.volumes, context) : undefined,
2645
+ };
2646
+ };
2647
+ const deserializeAws_restJson1EksPodPropertiesDetail = (output, context) => {
2648
+ return {
2649
+ containers: output.containers != null ? deserializeAws_restJson1EksContainerDetails(output.containers, context) : undefined,
2650
+ dnsPolicy: __expectString(output.dnsPolicy),
2651
+ hostNetwork: __expectBoolean(output.hostNetwork),
2652
+ nodeName: __expectString(output.nodeName),
2653
+ podName: __expectString(output.podName),
2654
+ serviceAccountName: __expectString(output.serviceAccountName),
2655
+ volumes: output.volumes != null ? deserializeAws_restJson1EksVolumes(output.volumes, context) : undefined,
2656
+ };
2657
+ };
2658
+ const deserializeAws_restJson1EksProperties = (output, context) => {
2659
+ return {
2660
+ podProperties: output.podProperties != null
2661
+ ? deserializeAws_restJson1EksPodProperties(output.podProperties, context)
2662
+ : undefined,
2663
+ };
2664
+ };
2665
+ const deserializeAws_restJson1EksPropertiesDetail = (output, context) => {
2666
+ return {
2667
+ podProperties: output.podProperties != null
2668
+ ? deserializeAws_restJson1EksPodPropertiesDetail(output.podProperties, context)
2669
+ : undefined,
2670
+ };
2671
+ };
2672
+ const deserializeAws_restJson1EksRequests = (output, context) => {
2673
+ return Object.entries(output).reduce((acc, [key, value]) => {
2674
+ if (value === null) {
2675
+ return acc;
2676
+ }
2677
+ return {
2678
+ ...acc,
2679
+ [key]: __expectString(value),
2680
+ };
2681
+ }, {});
2682
+ };
2683
+ const deserializeAws_restJson1EksSecret = (output, context) => {
2684
+ return {
2685
+ optional: __expectBoolean(output.optional),
2686
+ secretName: __expectString(output.secretName),
2687
+ };
2688
+ };
2689
+ const deserializeAws_restJson1EksVolume = (output, context) => {
2690
+ return {
2691
+ emptyDir: output.emptyDir != null ? deserializeAws_restJson1EksEmptyDir(output.emptyDir, context) : undefined,
2692
+ hostPath: output.hostPath != null ? deserializeAws_restJson1EksHostPath(output.hostPath, context) : undefined,
2693
+ name: __expectString(output.name),
2694
+ secret: output.secret != null ? deserializeAws_restJson1EksSecret(output.secret, context) : undefined,
2695
+ };
2696
+ };
2697
+ const deserializeAws_restJson1EksVolumes = (output, context) => {
2698
+ const retVal = (output || [])
2699
+ .filter((e) => e != null)
2700
+ .map((entry) => {
2701
+ if (entry === null) {
2702
+ return null;
2703
+ }
2704
+ return deserializeAws_restJson1EksVolume(entry, context);
2705
+ });
2706
+ return retVal;
2707
+ };
2266
2708
  const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
2267
2709
  const retVal = (output || [])
2268
2710
  .filter((e) => e != null)
@@ -2314,9 +2756,11 @@ const deserializeAws_restJson1Host = (output, context) => {
2314
2756
  };
2315
2757
  const deserializeAws_restJson1JobDefinition = (output, context) => {
2316
2758
  return {
2759
+ containerOrchestrationType: __expectString(output.containerOrchestrationType),
2317
2760
  containerProperties: output.containerProperties != null
2318
2761
  ? deserializeAws_restJson1ContainerProperties(output.containerProperties, context)
2319
2762
  : undefined,
2763
+ eksProperties: output.eksProperties != null ? deserializeAws_restJson1EksProperties(output.eksProperties, context) : undefined,
2320
2764
  jobDefinitionArn: __expectString(output.jobDefinitionArn),
2321
2765
  jobDefinitionName: __expectString(output.jobDefinitionName),
2322
2766
  nodeProperties: output.nodeProperties != null
@@ -2373,6 +2817,10 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
2373
2817
  container: output.container != null ? deserializeAws_restJson1ContainerDetail(output.container, context) : undefined,
2374
2818
  createdAt: __expectLong(output.createdAt),
2375
2819
  dependsOn: output.dependsOn != null ? deserializeAws_restJson1JobDependencyList(output.dependsOn, context) : undefined,
2820
+ eksAttempts: output.eksAttempts != null ? deserializeAws_restJson1EksAttemptDetails(output.eksAttempts, context) : undefined,
2821
+ eksProperties: output.eksProperties != null
2822
+ ? deserializeAws_restJson1EksPropertiesDetail(output.eksProperties, context)
2823
+ : undefined,
2376
2824
  jobArn: __expectString(output.jobArn),
2377
2825
  jobDefinition: __expectString(output.jobDefinition),
2378
2826
  jobId: __expectString(output.jobId),
@@ -1,10 +1,10 @@
1
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
- import { defaultRegionInfoProvider } from "./endpoints";
2
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
3
3
  export const getRuntimeConfig = (config) => ({
4
4
  apiVersion: "2016-08-10",
5
5
  disableHostPrefix: config?.disableHostPrefix ?? false,
6
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
6
7
  logger: config?.logger ?? {},
7
- regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
8
8
  serviceId: config?.serviceId ?? "Batch",
9
9
  urlParser: config?.urlParser ?? parseUrl,
10
10
  });
@@ -28,21 +28,21 @@ import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput
28
28
  * <fullname>Batch</fullname>
29
29
  * <p>Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for
30
30
  * developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
31
- * this computing workload to remove the undifferentiated heavy lifting of configuring and managing required
32
- * infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these
33
- * advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively
34
- * helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.</p>
31
+ * the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.
32
+ * At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently
33
+ * provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and
34
+ * delivering results more quickly.</p>
35
35
  * <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
36
36
  * provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
37
37
  * workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus
38
- * your time and energy on analyzing results and solving your specific problems.</p>
38
+ * on analyzing results and solving your specific problems instead.</p>
39
39
  */
40
40
  export declare class Batch extends BatchClient {
41
41
  /**
42
42
  * <p>Cancels a job in an Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or
43
- * <code>RUNNABLE</code> state are canceled. Jobs that have progressed to <code>STARTING</code> or <code>RUNNING</code>
44
- * aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with
45
- * the <a>TerminateJob</a> operation.</p>
43
+ * <code>RUNNABLE</code> state are canceled. Jobs that progressed to the <code>STARTING</code> or <code>RUNNING</code>
44
+ * state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be
45
+ * terminated with the <a>TerminateJob</a> operation.</p>
46
46
  */
47
47
  cancelJob(args: CancelJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobCommandOutput>;
48
48
  cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
@@ -60,12 +60,12 @@ export declare class Batch extends BatchClient {
60
60
  * <note>
61
61
  * <p>Multi-node parallel jobs aren't supported on Spot Instances.</p>
62
62
  * </note>
63
- * <p>In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility
64
- * with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that
65
- * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance AMIs</a> in the
66
- * <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with it. Then, launch
63
+ * <p>In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how
64
+ * you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of
65
+ * your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance AMIs</a> in the
66
+ * <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with it. Then, launch
67
67
  * your container instances into that Amazon ECS cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an Amazon ECS container instance</a> in the
68
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
68
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
69
69
  * <note>
70
70
  * <p>Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it
71
71
  * also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is
@@ -93,7 +93,7 @@ export declare class Batch extends BatchClient {
93
93
  * rules:</p>
94
94
  * <ul>
95
95
  * <li>
96
- * <p>Either do not set the service role (<code>serviceRole</code>) parameter or set it to the <b>AWSBatchServiceRole</b> service-linked role.</p>
96
+ * <p>Either don't set the service role (<code>serviceRole</code>) parameter or set it to the <b>AWSBatchServiceRole</b> service-linked role.</p>
97
97
  * </li>
98
98
  * <li>
99
99
  * <p>Set the allocation strategy (<code>allocationStrategy</code>) parameter to <code>BEST_FIT_PROGRESSIVE</code>
@@ -104,24 +104,24 @@ export declare class Batch extends BatchClient {
104
104
  * <code>true</code>.</p>
105
105
  * </li>
106
106
  * <li>
107
- * <p>Do not specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html">
107
+ * <p>Don't specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html">
108
108
  * <code>ec2Configuration</code>
109
- * </a>), or in the launch template (<code>launchTemplate</code>). In that case
110
- * Batch will select the latest Amazon ECS optimized AMI supported by Batch at the time the infrastructure update is
111
- * initiated. Alternatively you can specify the AMI ID in the <code>imageId</code> or <code>imageIdOverride</code>
112
- * parameters, or the launch template identified by the <code>LaunchTemplate</code> properties. Changing any of these
113
- * properties will trigger an infrastructure update. If the AMI ID is specified in the launch template, it can not be
114
- * replaced by specifying an AMI ID in either the <code>imageId</code> or <code>imageIdOverride</code> parameters. It
115
- * can only be replaced by specifying a different launch template, or if the launch template version is set to
116
- * <code>$Default</code> or <code>$Latest</code>, by setting either a new default version for the launch template
117
- * (if <code>$Default</code>)or by adding a new version to the launch template (if <code>$Latest</code>).</p>
109
+ * </a>), or in the launch
110
+ * template (<code>launchTemplate</code>). In that case, Batch selects the latest Amazon ECS optimized AMI that's
111
+ * supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID
112
+ * in the <code>imageId</code> or <code>imageIdOverride</code> parameters, or the launch template identified by the
113
+ * <code>LaunchTemplate</code> properties. Changing any of these properties starts an infrastructure update. If the
114
+ * AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the
115
+ * <code>imageId</code> or <code>imageIdOverride</code> parameters. It can only be replaced by specifying a different
116
+ * launch template, or if the launch template version is set to <code>$Default</code> or <code>$Latest</code>, by
117
+ * setting either a new default version for the launch template (if <code>$Default</code>) or by adding a new version
118
+ * to the launch template (if <code>$Latest</code>).</p>
118
119
  * </li>
119
120
  * </ul>
120
- * <p>If these rules are followed, any update that triggers an infrastructure update will cause the AMI ID to be
121
+ * <p>If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be
121
122
  * re-selected. If the <code>version</code> setting in the launch template (<code>launchTemplate</code>) is set to
122
- * <code>$Latest</code> or <code>$Default</code>, the latest or default version of the launch template will be
123
- * evaluated up at the time of the infrastructure update, even if the <code>launchTemplate</code> was not
124
- * updated.</p>
123
+ * <code>$Latest</code> or <code>$Default</code>, the latest or default version of the launch template is evaluated up
124
+ * at the time of the infrastructure update, even if the <code>launchTemplate</code> wasn't updated.</p>
125
125
  * </note>
126
126
  */
127
127
  createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateComputeEnvironmentCommandOutput>;
@@ -237,7 +237,7 @@ export declare class Batch extends BatchClient {
237
237
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
238
238
  /**
239
239
  * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
240
- * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
240
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
241
241
  */
242
242
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
243
243
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
@@ -270,7 +270,7 @@ export declare class Batch extends BatchClient {
270
270
  * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
271
271
  * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
272
272
  * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
273
- * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
273
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
274
274
  */
275
275
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
276
276
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;