@aws-sdk/client-batch 3.775.0 → 3.782.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 (36) hide show
  1. package/dist-cjs/index.js +7 -0
  2. package/dist-es/models/models_0.js +5 -0
  3. package/dist-types/commands/CancelJobCommand.d.ts +8 -5
  4. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +44 -45
  5. package/dist-types/commands/CreateConsumableResourceCommand.d.ts +11 -11
  6. package/dist-types/commands/CreateJobQueueCommand.d.ts +22 -23
  7. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +7 -4
  9. package/dist-types/commands/DeleteConsumableResourceCommand.d.ts +7 -4
  10. package/dist-types/commands/DeleteJobQueueCommand.d.ts +7 -4
  11. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +1 -0
  12. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +7 -4
  13. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +26 -26
  14. package/dist-types/commands/DescribeConsumableResourceCommand.d.ts +14 -14
  15. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +40 -24
  16. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +14 -14
  17. package/dist-types/commands/DescribeJobsCommand.d.ts +44 -28
  18. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +1 -0
  19. package/dist-types/commands/GetJobQueueSnapshotCommand.d.ts +1 -0
  20. package/dist-types/commands/ListConsumableResourcesCommand.d.ts +13 -13
  21. package/dist-types/commands/ListJobsByConsumableResourceCommand.d.ts +20 -20
  22. package/dist-types/commands/ListJobsCommand.d.ts +13 -14
  23. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -0
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -8
  25. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +58 -43
  26. package/dist-types/commands/SubmitJobCommand.d.ts +9 -9
  27. package/dist-types/commands/TagResourceCommand.d.ts +9 -6
  28. package/dist-types/commands/TerminateJobCommand.d.ts +8 -5
  29. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  30. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +7 -7
  31. package/dist-types/commands/UpdateConsumableResourceCommand.d.ts +9 -9
  32. package/dist-types/commands/UpdateJobQueueCommand.d.ts +7 -7
  33. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +1 -0
  34. package/dist-types/models/models_0.d.ts +127 -45
  35. package/dist-types/ts3.4/models/models_0.d.ts +17 -0
  36. package/package.json +5 -5
@@ -151,7 +151,7 @@ declare const DescribeJobDefinitionsCommand_base: {
151
151
  * // swappiness: Number("int"),
152
152
  * // },
153
153
  * // logConfiguration: { // LogConfiguration
154
- * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
154
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
155
155
  * // options: { // LogConfigurationOptionsMap
156
156
  * // "<keys>": "STRING_VALUE",
157
157
  * // },
@@ -174,6 +174,7 @@ declare const DescribeJobDefinitionsCommand_base: {
174
174
  * // fargatePlatformConfiguration: { // FargatePlatformConfiguration
175
175
  * // platformVersion: "STRING_VALUE",
176
176
  * // },
177
+ * // enableExecuteCommand: true || false,
177
178
  * // ephemeralStorage: { // EphemeralStorage
178
179
  * // sizeInGiB: Number("int"), // required
179
180
  * // },
@@ -274,7 +275,7 @@ declare const DescribeJobDefinitionsCommand_base: {
274
275
  * // swappiness: Number("int"),
275
276
  * // },
276
277
  * // logConfiguration: {
277
- * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
278
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
278
279
  * // options: {
279
280
  * // "<keys>": "STRING_VALUE",
280
281
  * // },
@@ -287,6 +288,7 @@ declare const DescribeJobDefinitionsCommand_base: {
287
288
  * // fargatePlatformConfiguration: {
288
289
  * // platformVersion: "STRING_VALUE",
289
290
  * // },
291
+ * // enableExecuteCommand: true || false,
290
292
  * // ephemeralStorage: {
291
293
  * // sizeInGiB: Number("int"), // required
292
294
  * // },
@@ -313,6 +315,12 @@ declare const DescribeJobDefinitionsCommand_base: {
313
315
  * // ],
314
316
  * // environment: "<EnvironmentVariables>",
315
317
  * // essential: true || false,
318
+ * // firelensConfiguration: { // FirelensConfiguration
319
+ * // type: "fluentd" || "fluentbit", // required
320
+ * // options: { // FirelensConfigurationOptionsMap
321
+ * // "<keys>": "STRING_VALUE",
322
+ * // },
323
+ * // },
316
324
  * // image: "STRING_VALUE", // required
317
325
  * // linuxParameters: "<LinuxParameters>",
318
326
  * // logConfiguration: "<LogConfiguration>",
@@ -336,6 +344,7 @@ declare const DescribeJobDefinitionsCommand_base: {
336
344
  * // networkConfiguration: "<NetworkConfiguration>",
337
345
  * // runtimePlatform: "<RuntimePlatform>",
338
346
  * // volumes: "<Volumes>",
347
+ * // enableExecuteCommand: true || false,
339
348
  * // },
340
349
  * // ],
341
350
  * // },
@@ -491,6 +500,12 @@ declare const DescribeJobDefinitionsCommand_base: {
491
500
  * // ],
492
501
  * // environment: "<EnvironmentVariables>",
493
502
  * // essential: true || false,
503
+ * // firelensConfiguration: {
504
+ * // type: "fluentd" || "fluentbit", // required
505
+ * // options: {
506
+ * // "<keys>": "STRING_VALUE",
507
+ * // },
508
+ * // },
494
509
  * // image: "STRING_VALUE", // required
495
510
  * // linuxParameters: "<LinuxParameters>",
496
511
  * // logConfiguration: "<LogConfiguration>",
@@ -514,6 +529,7 @@ declare const DescribeJobDefinitionsCommand_base: {
514
529
  * // networkConfiguration: "<NetworkConfiguration>",
515
530
  * // runtimePlatform: "<RuntimePlatform>",
516
531
  * // volumes: "<Volumes>",
532
+ * // enableExecuteCommand: true || false,
517
533
  * // },
518
534
  * // ],
519
535
  * // },
@@ -670,52 +686,52 @@ declare const DescribeJobDefinitionsCommand_base: {
670
686
  * @throws {@link BatchServiceException}
671
687
  * <p>Base exception class for all service exceptions from Batch service.</p>
672
688
  *
673
- * @public
689
+ *
674
690
  * @example To describe active job definitions
675
691
  * ```javascript
676
692
  * // This example describes all of your active job definitions.
677
693
  * const input = {
678
- * "status": "ACTIVE"
694
+ * status: "ACTIVE"
679
695
  * };
680
696
  * const command = new DescribeJobDefinitionsCommand(input);
681
697
  * const response = await client.send(command);
682
- * /* response ==
698
+ * /* response is
683
699
  * {
684
- * "jobDefinitions": [
700
+ * jobDefinitions: [
685
701
  * {
686
- * "type": "container",
687
- * "containerProperties": {
688
- * "command": [
702
+ * containerProperties: {
703
+ * command: [
689
704
  * "sleep",
690
705
  * "60"
691
706
  * ],
692
- * "environment": [],
693
- * "image": "busybox",
694
- * "mountPoints": [],
695
- * "resourceRequirements": [
707
+ * environment: [],
708
+ * image: "busybox",
709
+ * mountPoints: [],
710
+ * resourceRequirements: [
696
711
  * {
697
- * "type": "MEMORY",
698
- * "value": "128"
712
+ * type: "MEMORY",
713
+ * value: "128"
699
714
  * },
700
715
  * {
701
- * "type": "VCPU",
702
- * "value": "1"
716
+ * type: "VCPU",
717
+ * value: "1"
703
718
  * }
704
719
  * ],
705
- * "ulimits": [],
706
- * "volumes": []
720
+ * ulimits: [],
721
+ * volumes: []
707
722
  * },
708
- * "jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1",
709
- * "jobDefinitionName": "sleep60",
710
- * "revision": 1,
711
- * "status": "ACTIVE"
723
+ * jobDefinitionArn: "arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1",
724
+ * jobDefinitionName: "sleep60",
725
+ * revision: 1,
726
+ * status: "ACTIVE",
727
+ * type: "container"
712
728
  * }
713
729
  * ]
714
730
  * }
715
731
  * *\/
716
- * // example id: to-describe-active-job-definitions-1481153895831
717
732
  * ```
718
733
  *
734
+ * @public
719
735
  */
720
736
  export declare class DescribeJobDefinitionsCommand extends DescribeJobDefinitionsCommand_base {
721
737
  /** @internal type navigation helper, not in runtime. */
@@ -94,40 +94,40 @@ declare const DescribeJobQueuesCommand_base: {
94
94
  * @throws {@link BatchServiceException}
95
95
  * <p>Base exception class for all service exceptions from Batch service.</p>
96
96
  *
97
- * @public
97
+ *
98
98
  * @example To describe a job queue
99
99
  * ```javascript
100
100
  * // This example describes the HighPriority job queue.
101
101
  * const input = {
102
- * "jobQueues": [
102
+ * jobQueues: [
103
103
  * "HighPriority"
104
104
  * ]
105
105
  * };
106
106
  * const command = new DescribeJobQueuesCommand(input);
107
107
  * const response = await client.send(command);
108
- * /* response ==
108
+ * /* response is
109
109
  * {
110
- * "jobQueues": [
110
+ * jobQueues: [
111
111
  * {
112
- * "computeEnvironmentOrder": [
112
+ * computeEnvironmentOrder: [
113
113
  * {
114
- * "computeEnvironment": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand",
115
- * "order": 1
114
+ * computeEnvironment: "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand",
115
+ * order: 1
116
116
  * }
117
117
  * ],
118
- * "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
119
- * "jobQueueName": "HighPriority",
120
- * "priority": 1,
121
- * "state": "ENABLED",
122
- * "status": "VALID",
123
- * "statusReason": "JobQueue Healthy"
118
+ * jobQueueArn: "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
119
+ * jobQueueName: "HighPriority",
120
+ * priority: 1,
121
+ * state: "ENABLED",
122
+ * status: "VALID",
123
+ * statusReason: "JobQueue Healthy"
124
124
  * }
125
125
  * ]
126
126
  * }
127
127
  * *\/
128
- * // example id: to-describe-a-job-queue-1481153995804
129
128
  * ```
130
129
  *
130
+ * @public
131
131
  */
132
132
  export declare class DescribeJobQueuesCommand extends DescribeJobQueuesCommand_base {
133
133
  /** @internal type navigation helper, not in runtime. */
@@ -206,7 +206,7 @@ declare const DescribeJobsCommand_base: {
206
206
  * // swappiness: Number("int"),
207
207
  * // },
208
208
  * // logConfiguration: { // LogConfiguration
209
- * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
209
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
210
210
  * // options: { // LogConfigurationOptionsMap
211
211
  * // "<keys>": "STRING_VALUE",
212
212
  * // },
@@ -239,6 +239,7 @@ declare const DescribeJobsCommand_base: {
239
239
  * // repositoryCredentials: { // RepositoryCredentials
240
240
  * // credentialsParameter: "STRING_VALUE", // required
241
241
  * // },
242
+ * // enableExecuteCommand: true || false,
242
243
  * // },
243
244
  * // nodeDetails: { // NodeDetails
244
245
  * // nodeIndex: Number("int"),
@@ -330,7 +331,7 @@ declare const DescribeJobsCommand_base: {
330
331
  * // swappiness: Number("int"),
331
332
  * // },
332
333
  * // logConfiguration: {
333
- * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
334
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
334
335
  * // options: {
335
336
  * // "<keys>": "STRING_VALUE",
336
337
  * // },
@@ -343,6 +344,7 @@ declare const DescribeJobsCommand_base: {
343
344
  * // fargatePlatformConfiguration: {
344
345
  * // platformVersion: "STRING_VALUE",
345
346
  * // },
347
+ * // enableExecuteCommand: true || false,
346
348
  * // ephemeralStorage: {
347
349
  * // sizeInGiB: Number("int"), // required
348
350
  * // },
@@ -369,6 +371,12 @@ declare const DescribeJobsCommand_base: {
369
371
  * // ],
370
372
  * // environment: "<EnvironmentVariables>",
371
373
  * // essential: true || false,
374
+ * // firelensConfiguration: { // FirelensConfiguration
375
+ * // type: "fluentd" || "fluentbit", // required
376
+ * // options: { // FirelensConfigurationOptionsMap
377
+ * // "<keys>": "STRING_VALUE",
378
+ * // },
379
+ * // },
372
380
  * // image: "STRING_VALUE", // required
373
381
  * // linuxParameters: "<LinuxParameters>",
374
382
  * // logConfiguration: "<LogConfiguration>",
@@ -392,6 +400,7 @@ declare const DescribeJobsCommand_base: {
392
400
  * // networkConfiguration: "<NetworkConfiguration>",
393
401
  * // runtimePlatform: "<RuntimePlatform>",
394
402
  * // volumes: "<Volumes>",
403
+ * // enableExecuteCommand: true || false,
395
404
  * // },
396
405
  * // ],
397
406
  * // },
@@ -710,6 +719,12 @@ declare const DescribeJobsCommand_base: {
710
719
  * // ],
711
720
  * // environment: "<EnvironmentVariables>",
712
721
  * // essential: true || false,
722
+ * // firelensConfiguration: {
723
+ * // type: "fluentd" || "fluentbit", // required
724
+ * // options: {
725
+ * // "<keys>": "STRING_VALUE",
726
+ * // },
727
+ * // },
713
728
  * // image: "STRING_VALUE",
714
729
  * // linuxParameters: "<LinuxParameters>",
715
730
  * // logConfiguration: "<LogConfiguration>",
@@ -739,6 +754,7 @@ declare const DescribeJobsCommand_base: {
739
754
  * // networkConfiguration: "<NetworkConfiguration>",
740
755
  * // runtimePlatform: "<RuntimePlatform>",
741
756
  * // volumes: "<Volumes>",
757
+ * // enableExecuteCommand: true || false,
742
758
  * // },
743
759
  * // ],
744
760
  * // },
@@ -775,53 +791,53 @@ declare const DescribeJobsCommand_base: {
775
791
  * @throws {@link BatchServiceException}
776
792
  * <p>Base exception class for all service exceptions from Batch service.</p>
777
793
  *
778
- * @public
794
+ *
779
795
  * @example To describe a specific job
780
796
  * ```javascript
781
797
  * // This example describes a job with the specified job ID.
782
798
  * const input = {
783
- * "jobs": [
799
+ * jobs: [
784
800
  * "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9"
785
801
  * ]
786
802
  * };
787
803
  * const command = new DescribeJobsCommand(input);
788
804
  * const response = await client.send(command);
789
- * /* response ==
805
+ * /* response is
790
806
  * {
791
- * "jobs": [
807
+ * jobs: [
792
808
  * {
793
- * "container": {
794
- * "command": [
809
+ * container: {
810
+ * command: [
795
811
  * "sleep",
796
812
  * "60"
797
813
  * ],
798
- * "containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c",
799
- * "environment": [],
800
- * "exitCode": 0,
801
- * "image": "busybox",
802
- * "memory": 128,
803
- * "mountPoints": [],
804
- * "ulimits": [],
805
- * "vcpus": 1,
806
- * "volumes": []
814
+ * containerInstanceArn: "arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c",
815
+ * environment: [],
816
+ * exitCode: 0,
817
+ * image: "busybox",
818
+ * memory: 128,
819
+ * mountPoints: [],
820
+ * ulimits: [],
821
+ * vcpus: 1,
822
+ * volumes: []
807
823
  * },
808
- * "createdAt": 1480460782010,
809
- * "dependsOn": [],
810
- * "jobDefinition": "sleep60",
811
- * "jobId": "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9",
812
- * "jobName": "example",
813
- * "jobQueue": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
814
- * "parameters": {},
815
- * "startedAt": 1480460816500,
816
- * "status": "SUCCEEDED",
817
- * "stoppedAt": 1480460880699
824
+ * createdAt: 1480460782010,
825
+ * dependsOn: [],
826
+ * jobDefinition: "sleep60",
827
+ * jobId: "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9",
828
+ * jobName: "example",
829
+ * jobQueue: "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority",
830
+ * parameters: { /* empty *\/ },
831
+ * startedAt: 1480460816500,
832
+ * status: "SUCCEEDED",
833
+ * stoppedAt: 1480460880699
818
834
  * }
819
835
  * ]
820
836
  * }
821
837
  * *\/
822
- * // example id: to-describe-a-specific-job-1481154090490
823
838
  * ```
824
839
  *
840
+ * @public
825
841
  */
826
842
  export declare class DescribeJobsCommand extends DescribeJobsCommand_base {
827
843
  /** @internal type navigation helper, not in runtime. */
@@ -82,6 +82,7 @@ declare const DescribeSchedulingPoliciesCommand_base: {
82
82
  * @throws {@link BatchServiceException}
83
83
  * <p>Base exception class for all service exceptions from Batch service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class DescribeSchedulingPoliciesCommand extends DescribeSchedulingPoliciesCommand_base {
@@ -70,6 +70,7 @@ declare const GetJobQueueSnapshotCommand_base: {
70
70
  * @throws {@link BatchServiceException}
71
71
  * <p>Base exception class for all service exceptions from Batch service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class GetJobQueueSnapshotCommand extends GetJobQueueSnapshotCommand_base {
@@ -80,39 +80,39 @@ declare const ListConsumableResourcesCommand_base: {
80
80
  * @throws {@link BatchServiceException}
81
81
  * <p>Base exception class for all service exceptions from Batch service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example To get a list of a consumable resources
85
85
  * ```javascript
86
86
  * // Returns a list of the consumable resources for your account.
87
87
  * const input = {
88
- * "filters": [
88
+ * filters: [
89
89
  * {
90
- * "name": "CONSUMABLE_RESOURCE_NAME",
91
- * "values": [
90
+ * name: "CONSUMABLE_RESOURCE_NAME",
91
+ * values: [
92
92
  * "my*"
93
93
  * ]
94
94
  * }
95
95
  * ],
96
- * "maxResults": 123
96
+ * maxResults: 123
97
97
  * };
98
98
  * const command = new ListConsumableResourcesCommand(input);
99
99
  * const response = await client.send(command);
100
- * /* response ==
100
+ * /* response is
101
101
  * {
102
- * "consumableResources": [
102
+ * consumableResources: [
103
103
  * {
104
- * "consumableResourceArn": "arn:aws:batch:us-east-1:012345678910:consumable-resource/myConsumableResource",
105
- * "consumableResourceName": "myConsumableResource",
106
- * "inUseQuantity": 12,
107
- * "resourceType": "REPLENISHABLE",
108
- * "totalQuantity": 123
104
+ * consumableResourceArn: "arn:aws:batch:us-east-1:012345678910:consumable-resource/myConsumableResource",
105
+ * consumableResourceName: "myConsumableResource",
106
+ * inUseQuantity: 12,
107
+ * resourceType: "REPLENISHABLE",
108
+ * totalQuantity: 123
109
109
  * }
110
110
  * ]
111
111
  * }
112
112
  * *\/
113
- * // example id: to-get-a-list-of-a-consumable-resources-1739496071960
114
113
  * ```
115
114
  *
115
+ * @public
116
116
  */
117
117
  export declare class ListConsumableResourcesCommand extends ListConsumableResourcesCommand_base {
118
118
  /** @internal type navigation helper, not in runtime. */
@@ -94,50 +94,50 @@ declare const ListJobsByConsumableResourceCommand_base: {
94
94
  * @throws {@link BatchServiceException}
95
95
  * <p>Base exception class for all service exceptions from Batch service.</p>
96
96
  *
97
- * @public
97
+ *
98
98
  * @example To get a list of Batch jobs by consumable resource
99
99
  * ```javascript
100
100
  * // Returns a list of Batch jobs that require a specific consumable resource.
101
101
  * const input = {
102
- * "consumableResource": "myConsumableResource",
103
- * "filters": [
102
+ * consumableResource: "myConsumableResource",
103
+ * filters: [
104
104
  * {
105
- * "name": "CONSUMABLE_RESOURCE_NAME",
106
- * "values": [
105
+ * name: "CONSUMABLE_RESOURCE_NAME",
106
+ * values: [
107
107
  * "my*"
108
108
  * ]
109
109
  * }
110
110
  * ],
111
- * "maxResults": 123
111
+ * maxResults: 123
112
112
  * };
113
113
  * const command = new ListJobsByConsumableResourceCommand(input);
114
114
  * const response = await client.send(command);
115
- * /* response ==
115
+ * /* response is
116
116
  * {
117
- * "jobs": [
117
+ * jobs: [
118
118
  * {
119
- * "consumableResourceProperties": {
120
- * "consumableResourceList": [
119
+ * consumableResourceProperties: {
120
+ * consumableResourceList: [
121
121
  * {
122
- * "consumableResource": "myConsumableResource",
123
- * "quantity": 123
122
+ * consumableResource: "myConsumableResource",
123
+ * quantity: 123
124
124
  * }
125
125
  * ]
126
126
  * },
127
- * "createdAt": 1480460782010,
128
- * "jobArn": "arn:aws:batch:us-east-1:012345678910:job/myJob",
129
- * "jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/myJobDef",
130
- * "jobName": "myJob",
131
- * "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/myJobQueue",
132
- * "jobStatus": "PENDING",
133
- * "quantity": 123
127
+ * createdAt: 1480460782010,
128
+ * jobArn: "arn:aws:batch:us-east-1:012345678910:job/myJob",
129
+ * jobDefinitionArn: "arn:aws:batch:us-east-1:012345678910:job-definition/myJobDef",
130
+ * jobName: "myJob",
131
+ * jobQueueArn: "arn:aws:batch:us-east-1:012345678910:job-queue/myJobQueue",
132
+ * jobStatus: "PENDING",
133
+ * quantity: 123
134
134
  * }
135
135
  * ]
136
136
  * }
137
137
  * *\/
138
- * // example id: to-get-a-list-of-batch-jobs-by-consumable-resource-1739496640347
139
138
  * ```
140
139
  *
140
+ * @public
141
141
  */
142
142
  export declare class ListJobsByConsumableResourceCommand extends ListJobsByConsumableResourceCommand_base {
143
143
  /** @internal type navigation helper, not in runtime. */
@@ -115,50 +115,49 @@ declare const ListJobsCommand_base: {
115
115
  * @throws {@link BatchServiceException}
116
116
  * <p>Base exception class for all service exceptions from Batch service.</p>
117
117
  *
118
- * @public
118
+ *
119
119
  * @example To list running jobs
120
120
  * ```javascript
121
121
  * // This example lists the running jobs in the HighPriority job queue.
122
122
  * const input = {
123
- * "jobQueue": "HighPriority"
123
+ * jobQueue: "HighPriority"
124
124
  * };
125
125
  * const command = new ListJobsCommand(input);
126
126
  * const response = await client.send(command);
127
- * /* response ==
127
+ * /* response is
128
128
  * {
129
- * "jobSummaryList": [
129
+ * jobSummaryList: [
130
130
  * {
131
- * "jobId": "e66ff5fd-a1ff-4640-b1a2-0b0a142f49bb",
132
- * "jobName": "example"
131
+ * jobId: "e66ff5fd-a1ff-4640-b1a2-0b0a142f49bb",
132
+ * jobName: "example"
133
133
  * }
134
134
  * ]
135
135
  * }
136
136
  * *\/
137
- * // example id: to-list-running-jobs-1481154202164
138
137
  * ```
139
138
  *
140
139
  * @example To list submitted jobs
141
140
  * ```javascript
142
141
  * // This example lists jobs in the HighPriority job queue that are in the SUBMITTED job status.
143
142
  * const input = {
144
- * "jobQueue": "HighPriority",
145
- * "jobStatus": "SUBMITTED"
143
+ * jobQueue: "HighPriority",
144
+ * jobStatus: "SUBMITTED"
146
145
  * };
147
146
  * const command = new ListJobsCommand(input);
148
147
  * const response = await client.send(command);
149
- * /* response ==
148
+ * /* response is
150
149
  * {
151
- * "jobSummaryList": [
150
+ * jobSummaryList: [
152
151
  * {
153
- * "jobId": "68f0c163-fbd4-44e6-9fd1-25b14a434786",
154
- * "jobName": "example"
152
+ * jobId: "68f0c163-fbd4-44e6-9fd1-25b14a434786",
153
+ * jobName: "example"
155
154
  * }
156
155
  * ]
157
156
  * }
158
157
  * *\/
159
- * // example id: to-list-submitted-jobs-1481154251623
160
158
  * ```
161
159
  *
160
+ * @public
162
161
  */
163
162
  export declare class ListJobsCommand extends ListJobsCommand_base {
164
163
  /** @internal type navigation helper, not in runtime. */
@@ -68,6 +68,7 @@ declare const ListSchedulingPoliciesCommand_base: {
68
68
  * @throws {@link BatchServiceException}
69
69
  * <p>Base exception class for all service exceptions from Batch service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class ListSchedulingPoliciesCommand extends ListSchedulingPoliciesCommand_base {
@@ -65,27 +65,27 @@ declare const ListTagsForResourceCommand_base: {
65
65
  * @throws {@link BatchServiceException}
66
66
  * <p>Base exception class for all service exceptions from Batch service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example ListTagsForResource Example
70
70
  * ```javascript
71
71
  * // This demonstrates calling the ListTagsForResource action.
72
72
  * const input = {
73
- * "resourceArn": "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1"
73
+ * resourceArn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1"
74
74
  * };
75
75
  * const command = new ListTagsForResourceCommand(input);
76
76
  * const response = await client.send(command);
77
- * /* response ==
77
+ * /* response is
78
78
  * {
79
- * "tags": {
80
- * "Department": "Engineering",
81
- * "Stage": "Alpha",
82
- * "User": "JaneDoe"
79
+ * tags: {
80
+ * Department: "Engineering",
81
+ * Stage: "Alpha",
82
+ * User: "JaneDoe"
83
83
  * }
84
84
  * }
85
85
  * *\/
86
- * // example id: listtagsforresource-example-1591293003710
87
86
  * ```
88
87
  *
88
+ * @public
89
89
  */
90
90
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
91
91
  /** @internal type navigation helper, not in runtime. */