@aws-sdk/client-batch 3.300.0 → 3.303.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 (31) hide show
  1. package/dist-cjs/models/models_0.js +103 -123
  2. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  3. package/dist-es/models/models_0.js +103 -123
  4. package/dist-es/protocols/Aws_restJson1.js +1 -0
  5. package/dist-types/commands/CancelJobCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +9 -9
  7. package/dist-types/commands/CreateJobQueueCommand.d.ts +4 -4
  8. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +5 -5
  9. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +1 -1
  12. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -2
  14. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +2 -2
  15. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +2 -2
  16. package/dist-types/commands/DescribeJobsCommand.d.ts +2 -2
  17. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -2
  18. package/dist-types/commands/ListJobsCommand.d.ts +4 -4
  19. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -1
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  21. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +65 -75
  22. package/dist-types/commands/SubmitJobCommand.d.ts +30 -30
  23. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  24. package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
  25. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +8 -8
  27. package/dist-types/commands/UpdateJobQueueCommand.d.ts +3 -3
  28. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +4 -4
  29. package/dist-types/models/models_0.d.ts +233 -105
  30. package/dist-types/ts3.4/models/models_0.d.ts +134 -103
  31. package/package.json +34 -34
@@ -2,16 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CRUpdateAllocationStrategy = exports.JobDefinitionType = exports.JobStatus = exports.JQStatus = exports.RetryAction = exports.PlatformCapability = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.ResourceType = exports.LogDriver = exports.DeviceCgroupPermission = exports.CEStatus = exports.OrchestrationType = exports.JQState = exports.CEType = exports.CEState = exports.CRType = exports.CRAllocationStrategy = exports.ServerException = exports.ClientException = exports.AssignPublicIp = exports.ArrayJobDependency = void 0;
4
4
  const BatchServiceException_1 = require("./BatchServiceException");
5
- var ArrayJobDependency;
6
- (function (ArrayJobDependency) {
7
- ArrayJobDependency["N_TO_N"] = "N_TO_N";
8
- ArrayJobDependency["SEQUENTIAL"] = "SEQUENTIAL";
9
- })(ArrayJobDependency = exports.ArrayJobDependency || (exports.ArrayJobDependency = {}));
10
- var AssignPublicIp;
11
- (function (AssignPublicIp) {
12
- AssignPublicIp["DISABLED"] = "DISABLED";
13
- AssignPublicIp["ENABLED"] = "ENABLED";
14
- })(AssignPublicIp = exports.AssignPublicIp || (exports.AssignPublicIp = {}));
5
+ exports.ArrayJobDependency = {
6
+ N_TO_N: "N_TO_N",
7
+ SEQUENTIAL: "SEQUENTIAL",
8
+ };
9
+ exports.AssignPublicIp = {
10
+ DISABLED: "DISABLED",
11
+ ENABLED: "ENABLED",
12
+ };
15
13
  class ClientException extends BatchServiceException_1.BatchServiceException {
16
14
  constructor(opts) {
17
15
  super({
@@ -38,116 +36,98 @@ class ServerException extends BatchServiceException_1.BatchServiceException {
38
36
  }
39
37
  }
40
38
  exports.ServerException = ServerException;
41
- var CRAllocationStrategy;
42
- (function (CRAllocationStrategy) {
43
- CRAllocationStrategy["BEST_FIT"] = "BEST_FIT";
44
- CRAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
45
- CRAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
46
- })(CRAllocationStrategy = exports.CRAllocationStrategy || (exports.CRAllocationStrategy = {}));
47
- var CRType;
48
- (function (CRType) {
49
- CRType["EC2"] = "EC2";
50
- CRType["FARGATE"] = "FARGATE";
51
- CRType["FARGATE_SPOT"] = "FARGATE_SPOT";
52
- CRType["SPOT"] = "SPOT";
53
- })(CRType = exports.CRType || (exports.CRType = {}));
54
- var CEState;
55
- (function (CEState) {
56
- CEState["DISABLED"] = "DISABLED";
57
- CEState["ENABLED"] = "ENABLED";
58
- })(CEState = exports.CEState || (exports.CEState = {}));
59
- var CEType;
60
- (function (CEType) {
61
- CEType["MANAGED"] = "MANAGED";
62
- CEType["UNMANAGED"] = "UNMANAGED";
63
- })(CEType = exports.CEType || (exports.CEType = {}));
64
- var JQState;
65
- (function (JQState) {
66
- JQState["DISABLED"] = "DISABLED";
67
- JQState["ENABLED"] = "ENABLED";
68
- })(JQState = exports.JQState || (exports.JQState = {}));
69
- var OrchestrationType;
70
- (function (OrchestrationType) {
71
- OrchestrationType["ECS"] = "ECS";
72
- OrchestrationType["EKS"] = "EKS";
73
- })(OrchestrationType = exports.OrchestrationType || (exports.OrchestrationType = {}));
74
- var CEStatus;
75
- (function (CEStatus) {
76
- CEStatus["CREATING"] = "CREATING";
77
- CEStatus["DELETED"] = "DELETED";
78
- CEStatus["DELETING"] = "DELETING";
79
- CEStatus["INVALID"] = "INVALID";
80
- CEStatus["UPDATING"] = "UPDATING";
81
- CEStatus["VALID"] = "VALID";
82
- })(CEStatus = exports.CEStatus || (exports.CEStatus = {}));
83
- var DeviceCgroupPermission;
84
- (function (DeviceCgroupPermission) {
85
- DeviceCgroupPermission["MKNOD"] = "MKNOD";
86
- DeviceCgroupPermission["READ"] = "READ";
87
- DeviceCgroupPermission["WRITE"] = "WRITE";
88
- })(DeviceCgroupPermission = exports.DeviceCgroupPermission || (exports.DeviceCgroupPermission = {}));
89
- var LogDriver;
90
- (function (LogDriver) {
91
- LogDriver["AWSLOGS"] = "awslogs";
92
- LogDriver["FLUENTD"] = "fluentd";
93
- LogDriver["GELF"] = "gelf";
94
- LogDriver["JOURNALD"] = "journald";
95
- LogDriver["JSON_FILE"] = "json-file";
96
- LogDriver["SPLUNK"] = "splunk";
97
- LogDriver["SYSLOG"] = "syslog";
98
- })(LogDriver = exports.LogDriver || (exports.LogDriver = {}));
99
- var ResourceType;
100
- (function (ResourceType) {
101
- ResourceType["GPU"] = "GPU";
102
- ResourceType["MEMORY"] = "MEMORY";
103
- ResourceType["VCPU"] = "VCPU";
104
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
105
- var EFSAuthorizationConfigIAM;
106
- (function (EFSAuthorizationConfigIAM) {
107
- EFSAuthorizationConfigIAM["DISABLED"] = "DISABLED";
108
- EFSAuthorizationConfigIAM["ENABLED"] = "ENABLED";
109
- })(EFSAuthorizationConfigIAM = exports.EFSAuthorizationConfigIAM || (exports.EFSAuthorizationConfigIAM = {}));
110
- var EFSTransitEncryption;
111
- (function (EFSTransitEncryption) {
112
- EFSTransitEncryption["DISABLED"] = "DISABLED";
113
- EFSTransitEncryption["ENABLED"] = "ENABLED";
114
- })(EFSTransitEncryption = exports.EFSTransitEncryption || (exports.EFSTransitEncryption = {}));
115
- var PlatformCapability;
116
- (function (PlatformCapability) {
117
- PlatformCapability["EC2"] = "EC2";
118
- PlatformCapability["FARGATE"] = "FARGATE";
119
- })(PlatformCapability = exports.PlatformCapability || (exports.PlatformCapability = {}));
120
- var RetryAction;
121
- (function (RetryAction) {
122
- RetryAction["EXIT"] = "EXIT";
123
- RetryAction["RETRY"] = "RETRY";
124
- })(RetryAction = exports.RetryAction || (exports.RetryAction = {}));
125
- var JQStatus;
126
- (function (JQStatus) {
127
- JQStatus["CREATING"] = "CREATING";
128
- JQStatus["DELETED"] = "DELETED";
129
- JQStatus["DELETING"] = "DELETING";
130
- JQStatus["INVALID"] = "INVALID";
131
- JQStatus["UPDATING"] = "UPDATING";
132
- JQStatus["VALID"] = "VALID";
133
- })(JQStatus = exports.JQStatus || (exports.JQStatus = {}));
134
- var JobStatus;
135
- (function (JobStatus) {
136
- JobStatus["FAILED"] = "FAILED";
137
- JobStatus["PENDING"] = "PENDING";
138
- JobStatus["RUNNABLE"] = "RUNNABLE";
139
- JobStatus["RUNNING"] = "RUNNING";
140
- JobStatus["STARTING"] = "STARTING";
141
- JobStatus["SUBMITTED"] = "SUBMITTED";
142
- JobStatus["SUCCEEDED"] = "SUCCEEDED";
143
- })(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
144
- var JobDefinitionType;
145
- (function (JobDefinitionType) {
146
- JobDefinitionType["Container"] = "container";
147
- JobDefinitionType["Multinode"] = "multinode";
148
- })(JobDefinitionType = exports.JobDefinitionType || (exports.JobDefinitionType = {}));
149
- var CRUpdateAllocationStrategy;
150
- (function (CRUpdateAllocationStrategy) {
151
- CRUpdateAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
152
- CRUpdateAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
153
- })(CRUpdateAllocationStrategy = exports.CRUpdateAllocationStrategy || (exports.CRUpdateAllocationStrategy = {}));
39
+ exports.CRAllocationStrategy = {
40
+ BEST_FIT: "BEST_FIT",
41
+ BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
42
+ SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
43
+ };
44
+ exports.CRType = {
45
+ EC2: "EC2",
46
+ FARGATE: "FARGATE",
47
+ FARGATE_SPOT: "FARGATE_SPOT",
48
+ SPOT: "SPOT",
49
+ };
50
+ exports.CEState = {
51
+ DISABLED: "DISABLED",
52
+ ENABLED: "ENABLED",
53
+ };
54
+ exports.CEType = {
55
+ MANAGED: "MANAGED",
56
+ UNMANAGED: "UNMANAGED",
57
+ };
58
+ exports.JQState = {
59
+ DISABLED: "DISABLED",
60
+ ENABLED: "ENABLED",
61
+ };
62
+ exports.OrchestrationType = {
63
+ ECS: "ECS",
64
+ EKS: "EKS",
65
+ };
66
+ exports.CEStatus = {
67
+ CREATING: "CREATING",
68
+ DELETED: "DELETED",
69
+ DELETING: "DELETING",
70
+ INVALID: "INVALID",
71
+ UPDATING: "UPDATING",
72
+ VALID: "VALID",
73
+ };
74
+ exports.DeviceCgroupPermission = {
75
+ MKNOD: "MKNOD",
76
+ READ: "READ",
77
+ WRITE: "WRITE",
78
+ };
79
+ exports.LogDriver = {
80
+ AWSLOGS: "awslogs",
81
+ FLUENTD: "fluentd",
82
+ GELF: "gelf",
83
+ JOURNALD: "journald",
84
+ JSON_FILE: "json-file",
85
+ SPLUNK: "splunk",
86
+ SYSLOG: "syslog",
87
+ };
88
+ exports.ResourceType = {
89
+ GPU: "GPU",
90
+ MEMORY: "MEMORY",
91
+ VCPU: "VCPU",
92
+ };
93
+ exports.EFSAuthorizationConfigIAM = {
94
+ DISABLED: "DISABLED",
95
+ ENABLED: "ENABLED",
96
+ };
97
+ exports.EFSTransitEncryption = {
98
+ DISABLED: "DISABLED",
99
+ ENABLED: "ENABLED",
100
+ };
101
+ exports.PlatformCapability = {
102
+ EC2: "EC2",
103
+ FARGATE: "FARGATE",
104
+ };
105
+ exports.RetryAction = {
106
+ EXIT: "EXIT",
107
+ RETRY: "RETRY",
108
+ };
109
+ exports.JQStatus = {
110
+ CREATING: "CREATING",
111
+ DELETED: "DELETED",
112
+ DELETING: "DELETING",
113
+ INVALID: "INVALID",
114
+ UPDATING: "UPDATING",
115
+ VALID: "VALID",
116
+ };
117
+ exports.JobStatus = {
118
+ FAILED: "FAILED",
119
+ PENDING: "PENDING",
120
+ RUNNABLE: "RUNNABLE",
121
+ RUNNING: "RUNNING",
122
+ STARTING: "STARTING",
123
+ SUBMITTED: "SUBMITTED",
124
+ SUCCEEDED: "SUCCEEDED",
125
+ };
126
+ exports.JobDefinitionType = {
127
+ Container: "container",
128
+ Multinode: "multinode",
129
+ };
130
+ exports.CRUpdateAllocationStrategy = {
131
+ BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
132
+ SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
133
+ };
@@ -2732,6 +2732,7 @@ const deserializeAws_restJson1EksPodPropertiesDetail = (output, context) => {
2732
2732
  containers: output.containers != null ? deserializeAws_restJson1EksContainerDetails(output.containers, context) : undefined,
2733
2733
  dnsPolicy: (0, smithy_client_1.expectString)(output.dnsPolicy),
2734
2734
  hostNetwork: (0, smithy_client_1.expectBoolean)(output.hostNetwork),
2735
+ metadata: output.metadata != null ? deserializeAws_restJson1EksMetadata(output.metadata, context) : undefined,
2735
2736
  nodeName: (0, smithy_client_1.expectString)(output.nodeName),
2736
2737
  podName: (0, smithy_client_1.expectString)(output.podName),
2737
2738
  serviceAccountName: (0, smithy_client_1.expectString)(output.serviceAccountName),
@@ -1,14 +1,12 @@
1
1
  import { BatchServiceException as __BaseException } from "./BatchServiceException";
2
- export var ArrayJobDependency;
3
- (function (ArrayJobDependency) {
4
- ArrayJobDependency["N_TO_N"] = "N_TO_N";
5
- ArrayJobDependency["SEQUENTIAL"] = "SEQUENTIAL";
6
- })(ArrayJobDependency || (ArrayJobDependency = {}));
7
- export var AssignPublicIp;
8
- (function (AssignPublicIp) {
9
- AssignPublicIp["DISABLED"] = "DISABLED";
10
- AssignPublicIp["ENABLED"] = "ENABLED";
11
- })(AssignPublicIp || (AssignPublicIp = {}));
2
+ export const ArrayJobDependency = {
3
+ N_TO_N: "N_TO_N",
4
+ SEQUENTIAL: "SEQUENTIAL",
5
+ };
6
+ export const AssignPublicIp = {
7
+ DISABLED: "DISABLED",
8
+ ENABLED: "ENABLED",
9
+ };
12
10
  export class ClientException extends __BaseException {
13
11
  constructor(opts) {
14
12
  super({
@@ -33,116 +31,98 @@ export class ServerException extends __BaseException {
33
31
  Object.setPrototypeOf(this, ServerException.prototype);
34
32
  }
35
33
  }
36
- export var CRAllocationStrategy;
37
- (function (CRAllocationStrategy) {
38
- CRAllocationStrategy["BEST_FIT"] = "BEST_FIT";
39
- CRAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
40
- CRAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
41
- })(CRAllocationStrategy || (CRAllocationStrategy = {}));
42
- export var CRType;
43
- (function (CRType) {
44
- CRType["EC2"] = "EC2";
45
- CRType["FARGATE"] = "FARGATE";
46
- CRType["FARGATE_SPOT"] = "FARGATE_SPOT";
47
- CRType["SPOT"] = "SPOT";
48
- })(CRType || (CRType = {}));
49
- export var CEState;
50
- (function (CEState) {
51
- CEState["DISABLED"] = "DISABLED";
52
- CEState["ENABLED"] = "ENABLED";
53
- })(CEState || (CEState = {}));
54
- export var CEType;
55
- (function (CEType) {
56
- CEType["MANAGED"] = "MANAGED";
57
- CEType["UNMANAGED"] = "UNMANAGED";
58
- })(CEType || (CEType = {}));
59
- export var JQState;
60
- (function (JQState) {
61
- JQState["DISABLED"] = "DISABLED";
62
- JQState["ENABLED"] = "ENABLED";
63
- })(JQState || (JQState = {}));
64
- export var OrchestrationType;
65
- (function (OrchestrationType) {
66
- OrchestrationType["ECS"] = "ECS";
67
- OrchestrationType["EKS"] = "EKS";
68
- })(OrchestrationType || (OrchestrationType = {}));
69
- export var CEStatus;
70
- (function (CEStatus) {
71
- CEStatus["CREATING"] = "CREATING";
72
- CEStatus["DELETED"] = "DELETED";
73
- CEStatus["DELETING"] = "DELETING";
74
- CEStatus["INVALID"] = "INVALID";
75
- CEStatus["UPDATING"] = "UPDATING";
76
- CEStatus["VALID"] = "VALID";
77
- })(CEStatus || (CEStatus = {}));
78
- export var DeviceCgroupPermission;
79
- (function (DeviceCgroupPermission) {
80
- DeviceCgroupPermission["MKNOD"] = "MKNOD";
81
- DeviceCgroupPermission["READ"] = "READ";
82
- DeviceCgroupPermission["WRITE"] = "WRITE";
83
- })(DeviceCgroupPermission || (DeviceCgroupPermission = {}));
84
- export var LogDriver;
85
- (function (LogDriver) {
86
- LogDriver["AWSLOGS"] = "awslogs";
87
- LogDriver["FLUENTD"] = "fluentd";
88
- LogDriver["GELF"] = "gelf";
89
- LogDriver["JOURNALD"] = "journald";
90
- LogDriver["JSON_FILE"] = "json-file";
91
- LogDriver["SPLUNK"] = "splunk";
92
- LogDriver["SYSLOG"] = "syslog";
93
- })(LogDriver || (LogDriver = {}));
94
- export var ResourceType;
95
- (function (ResourceType) {
96
- ResourceType["GPU"] = "GPU";
97
- ResourceType["MEMORY"] = "MEMORY";
98
- ResourceType["VCPU"] = "VCPU";
99
- })(ResourceType || (ResourceType = {}));
100
- export var EFSAuthorizationConfigIAM;
101
- (function (EFSAuthorizationConfigIAM) {
102
- EFSAuthorizationConfigIAM["DISABLED"] = "DISABLED";
103
- EFSAuthorizationConfigIAM["ENABLED"] = "ENABLED";
104
- })(EFSAuthorizationConfigIAM || (EFSAuthorizationConfigIAM = {}));
105
- export var EFSTransitEncryption;
106
- (function (EFSTransitEncryption) {
107
- EFSTransitEncryption["DISABLED"] = "DISABLED";
108
- EFSTransitEncryption["ENABLED"] = "ENABLED";
109
- })(EFSTransitEncryption || (EFSTransitEncryption = {}));
110
- export var PlatformCapability;
111
- (function (PlatformCapability) {
112
- PlatformCapability["EC2"] = "EC2";
113
- PlatformCapability["FARGATE"] = "FARGATE";
114
- })(PlatformCapability || (PlatformCapability = {}));
115
- export var RetryAction;
116
- (function (RetryAction) {
117
- RetryAction["EXIT"] = "EXIT";
118
- RetryAction["RETRY"] = "RETRY";
119
- })(RetryAction || (RetryAction = {}));
120
- export var JQStatus;
121
- (function (JQStatus) {
122
- JQStatus["CREATING"] = "CREATING";
123
- JQStatus["DELETED"] = "DELETED";
124
- JQStatus["DELETING"] = "DELETING";
125
- JQStatus["INVALID"] = "INVALID";
126
- JQStatus["UPDATING"] = "UPDATING";
127
- JQStatus["VALID"] = "VALID";
128
- })(JQStatus || (JQStatus = {}));
129
- export var JobStatus;
130
- (function (JobStatus) {
131
- JobStatus["FAILED"] = "FAILED";
132
- JobStatus["PENDING"] = "PENDING";
133
- JobStatus["RUNNABLE"] = "RUNNABLE";
134
- JobStatus["RUNNING"] = "RUNNING";
135
- JobStatus["STARTING"] = "STARTING";
136
- JobStatus["SUBMITTED"] = "SUBMITTED";
137
- JobStatus["SUCCEEDED"] = "SUCCEEDED";
138
- })(JobStatus || (JobStatus = {}));
139
- export var JobDefinitionType;
140
- (function (JobDefinitionType) {
141
- JobDefinitionType["Container"] = "container";
142
- JobDefinitionType["Multinode"] = "multinode";
143
- })(JobDefinitionType || (JobDefinitionType = {}));
144
- export var CRUpdateAllocationStrategy;
145
- (function (CRUpdateAllocationStrategy) {
146
- CRUpdateAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
147
- CRUpdateAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
148
- })(CRUpdateAllocationStrategy || (CRUpdateAllocationStrategy = {}));
34
+ export const CRAllocationStrategy = {
35
+ BEST_FIT: "BEST_FIT",
36
+ BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
37
+ SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
38
+ };
39
+ export const CRType = {
40
+ EC2: "EC2",
41
+ FARGATE: "FARGATE",
42
+ FARGATE_SPOT: "FARGATE_SPOT",
43
+ SPOT: "SPOT",
44
+ };
45
+ export const CEState = {
46
+ DISABLED: "DISABLED",
47
+ ENABLED: "ENABLED",
48
+ };
49
+ export const CEType = {
50
+ MANAGED: "MANAGED",
51
+ UNMANAGED: "UNMANAGED",
52
+ };
53
+ export const JQState = {
54
+ DISABLED: "DISABLED",
55
+ ENABLED: "ENABLED",
56
+ };
57
+ export const OrchestrationType = {
58
+ ECS: "ECS",
59
+ EKS: "EKS",
60
+ };
61
+ export const CEStatus = {
62
+ CREATING: "CREATING",
63
+ DELETED: "DELETED",
64
+ DELETING: "DELETING",
65
+ INVALID: "INVALID",
66
+ UPDATING: "UPDATING",
67
+ VALID: "VALID",
68
+ };
69
+ export const DeviceCgroupPermission = {
70
+ MKNOD: "MKNOD",
71
+ READ: "READ",
72
+ WRITE: "WRITE",
73
+ };
74
+ export const LogDriver = {
75
+ AWSLOGS: "awslogs",
76
+ FLUENTD: "fluentd",
77
+ GELF: "gelf",
78
+ JOURNALD: "journald",
79
+ JSON_FILE: "json-file",
80
+ SPLUNK: "splunk",
81
+ SYSLOG: "syslog",
82
+ };
83
+ export const ResourceType = {
84
+ GPU: "GPU",
85
+ MEMORY: "MEMORY",
86
+ VCPU: "VCPU",
87
+ };
88
+ export const EFSAuthorizationConfigIAM = {
89
+ DISABLED: "DISABLED",
90
+ ENABLED: "ENABLED",
91
+ };
92
+ export const EFSTransitEncryption = {
93
+ DISABLED: "DISABLED",
94
+ ENABLED: "ENABLED",
95
+ };
96
+ export const PlatformCapability = {
97
+ EC2: "EC2",
98
+ FARGATE: "FARGATE",
99
+ };
100
+ export const RetryAction = {
101
+ EXIT: "EXIT",
102
+ RETRY: "RETRY",
103
+ };
104
+ export const JQStatus = {
105
+ CREATING: "CREATING",
106
+ DELETED: "DELETED",
107
+ DELETING: "DELETING",
108
+ INVALID: "INVALID",
109
+ UPDATING: "UPDATING",
110
+ VALID: "VALID",
111
+ };
112
+ export const JobStatus = {
113
+ FAILED: "FAILED",
114
+ PENDING: "PENDING",
115
+ RUNNABLE: "RUNNABLE",
116
+ RUNNING: "RUNNING",
117
+ STARTING: "STARTING",
118
+ SUBMITTED: "SUBMITTED",
119
+ SUCCEEDED: "SUCCEEDED",
120
+ };
121
+ export const JobDefinitionType = {
122
+ Container: "container",
123
+ Multinode: "multinode",
124
+ };
125
+ export const CRUpdateAllocationStrategy = {
126
+ BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
127
+ SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
128
+ };
@@ -2681,6 +2681,7 @@ const deserializeAws_restJson1EksPodPropertiesDetail = (output, context) => {
2681
2681
  containers: output.containers != null ? deserializeAws_restJson1EksContainerDetails(output.containers, context) : undefined,
2682
2682
  dnsPolicy: __expectString(output.dnsPolicy),
2683
2683
  hostNetwork: __expectBoolean(output.hostNetwork),
2684
+ metadata: output.metadata != null ? deserializeAws_restJson1EksMetadata(output.metadata, context) : undefined,
2684
2685
  nodeName: __expectString(output.nodeName),
2685
2686
  podName: __expectString(output.podName),
2686
2687
  serviceAccountName: __expectString(output.serviceAccountName),
@@ -38,7 +38,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
38
38
  * import { BatchClient, CancelJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
39
39
  * // const { BatchClient, CancelJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
40
40
  * const client = new BatchClient(config);
41
- * const input = {
41
+ * const input = { // CancelJobRequest
42
42
  * jobId: "STRING_VALUE", // required
43
43
  * reason: "STRING_VALUE", // required
44
44
  * };
@@ -104,18 +104,18 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
104
104
  * import { BatchClient, CreateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
105
105
  * // const { BatchClient, CreateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
106
106
  * const client = new BatchClient(config);
107
- * const input = {
107
+ * const input = { // CreateComputeEnvironmentRequest
108
108
  * computeEnvironmentName: "STRING_VALUE", // required
109
109
  * type: "MANAGED" || "UNMANAGED", // required
110
110
  * state: "ENABLED" || "DISABLED",
111
111
  * unmanagedvCpus: Number("int"),
112
- * computeResources: {
112
+ * computeResources: { // ComputeResource
113
113
  * type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT", // required
114
114
  * allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
115
115
  * minvCpus: Number("int"),
116
116
  * maxvCpus: Number("int"), // required
117
117
  * desiredvCpus: Number("int"),
118
- * instanceTypes: [
118
+ * instanceTypes: [ // StringList
119
119
  * "STRING_VALUE",
120
120
  * ],
121
121
  * imageId: "STRING_VALUE",
@@ -127,19 +127,19 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
127
127
  * ],
128
128
  * ec2KeyPair: "STRING_VALUE",
129
129
  * instanceRole: "STRING_VALUE",
130
- * tags: {
130
+ * tags: { // TagsMap
131
131
  * "<keys>": "STRING_VALUE",
132
132
  * },
133
133
  * placementGroup: "STRING_VALUE",
134
134
  * bidPercentage: Number("int"),
135
135
  * spotIamFleetRole: "STRING_VALUE",
136
- * launchTemplate: {
136
+ * launchTemplate: { // LaunchTemplateSpecification
137
137
  * launchTemplateId: "STRING_VALUE",
138
138
  * launchTemplateName: "STRING_VALUE",
139
139
  * version: "STRING_VALUE",
140
140
  * },
141
- * ec2Configuration: [
142
- * {
141
+ * ec2Configuration: [ // Ec2ConfigurationList
142
+ * { // Ec2Configuration
143
143
  * imageType: "STRING_VALUE", // required
144
144
  * imageIdOverride: "STRING_VALUE",
145
145
  * imageKubernetesVersion: "STRING_VALUE",
@@ -147,10 +147,10 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
147
147
  * ],
148
148
  * },
149
149
  * serviceRole: "STRING_VALUE",
150
- * tags: {
150
+ * tags: { // TagrisTagsMap
151
151
  * "<keys>": "STRING_VALUE",
152
152
  * },
153
- * eksConfiguration: {
153
+ * eksConfiguration: { // EksConfiguration
154
154
  * eksClusterArn: "STRING_VALUE", // required
155
155
  * kubernetesNamespace: "STRING_VALUE", // required
156
156
  * },
@@ -31,18 +31,18 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
31
31
  * import { BatchClient, CreateJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
32
32
  * // const { BatchClient, CreateJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
33
33
  * const client = new BatchClient(config);
34
- * const input = {
34
+ * const input = { // CreateJobQueueRequest
35
35
  * jobQueueName: "STRING_VALUE", // required
36
36
  * state: "ENABLED" || "DISABLED",
37
37
  * schedulingPolicyArn: "STRING_VALUE",
38
38
  * priority: Number("int"), // required
39
- * computeEnvironmentOrder: [ // required
40
- * {
39
+ * computeEnvironmentOrder: [ // ComputeEnvironmentOrders // required
40
+ * { // ComputeEnvironmentOrder
41
41
  * order: Number("int"), // required
42
42
  * computeEnvironment: "STRING_VALUE", // required
43
43
  * },
44
44
  * ],
45
- * tags: {
45
+ * tags: { // TagrisTagsMap
46
46
  * "<keys>": "STRING_VALUE",
47
47
  * },
48
48
  * };
@@ -26,19 +26,19 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
26
26
  * import { BatchClient, CreateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, CreateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
- * const input = {
29
+ * const input = { // CreateSchedulingPolicyRequest
30
30
  * name: "STRING_VALUE", // required
31
- * fairsharePolicy: {
31
+ * fairsharePolicy: { // FairsharePolicy
32
32
  * shareDecaySeconds: Number("int"),
33
33
  * computeReservation: Number("int"),
34
- * shareDistribution: [
35
- * {
34
+ * shareDistribution: [ // ShareAttributesList
35
+ * { // ShareAttributes
36
36
  * shareIdentifier: "STRING_VALUE", // required
37
37
  * weightFactor: Number("float"),
38
38
  * },
39
39
  * ],
40
40
  * },
41
- * tags: {
41
+ * tags: { // TagrisTagsMap
42
42
  * "<keys>": "STRING_VALUE",
43
43
  * },
44
44
  * };
@@ -29,7 +29,7 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
29
29
  * import { BatchClient, DeleteComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
30
30
  * // const { BatchClient, DeleteComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
31
31
  * const client = new BatchClient(config);
32
- * const input = {
32
+ * const input = { // DeleteComputeEnvironmentRequest
33
33
  * computeEnvironment: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeleteComputeEnvironmentCommand(input);
@@ -29,7 +29,7 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
29
29
  * import { BatchClient, DeleteJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
30
30
  * // const { BatchClient, DeleteJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
31
31
  * const client = new BatchClient(config);
32
- * const input = {
32
+ * const input = { // DeleteJobQueueRequest
33
33
  * jobQueue: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeleteJobQueueCommand(input);