@aws-sdk/client-emr-serverless 3.1061.0 → 3.1063.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.
@@ -134,6 +134,7 @@ const _a = "arn";
134
134
  const _aC = "applicationConfiguration";
135
135
  const _aCA = "attemptCreatedAt";
136
136
  const _aI = "applicationId";
137
+ const _aLDR = "applicationLevelDigestResolution";
137
138
  const _aSC = "autoStartConfiguration";
138
139
  const _aSCu = "autoStopConfiguration";
139
140
  const _aSPL = "accessSystemProfileLogs";
@@ -455,13 +456,13 @@ exports.IdentityCenterConfigurationInput$ = [3, n0, _ICCI,
455
456
  ];
456
457
  exports.ImageConfiguration$ = [3, n0, _IC,
457
458
  0,
458
- [_iU, _rID],
459
- [0, 0], 1
459
+ [_iU, _rID, _aLDR],
460
+ [0, 0, 2], 1
460
461
  ];
461
462
  exports.ImageConfigurationInput$ = [3, n0, _ICI,
462
463
  0,
463
- [_iU],
464
- [0]
464
+ [_iU, _aLDR],
465
+ [0, 2]
465
466
  ];
466
467
  exports.InitialCapacityConfig$ = [3, n0, _ICCn,
467
468
  0,
@@ -480,8 +481,8 @@ exports.JobLevelCostAllocationConfiguration$ = [3, n0, _JLCAC,
480
481
  ];
481
482
  exports.JobRun$ = [3, n0, _JR,
482
483
  0,
483
- [_aI, _jRI, _a, _cB, _cA, _uA, _eR, _st, _sD, _rL, _jD, _n, _eIP, _cO, _ta, _tRU, _nC, _tEDS, _eTM, _bRU, _mo, _rP, _at, _aCA, _aUA, _sA, _eA, _qDM],
484
- [0, 0, 0, 0, 4, 4, 0, 0, 0, 0, [() => exports.JobDriver$, 0], 0, () => exports.JobRunExecutionIamPolicy$, [() => exports.ConfigurationOverrides$, 0], 128 | 0, () => exports.TotalResourceUtilization$, () => exports.NetworkConfiguration$, 1, 1, () => exports.ResourceUtilization$, 0, () => exports.RetryPolicy$, 1, 4, 4, 4, 4, 1], 11
484
+ [_aI, _jRI, _a, _cB, _cA, _uA, _eR, _st, _sD, _rL, _jD, _n, _eIP, _cO, _ta, _tRU, _nC, _tEDS, _eTM, _bRU, _mo, _rP, _at, _aCA, _aUA, _sA, _eA, _qDM, _iCm, _wTS],
485
+ [0, 0, 0, 0, 4, 4, 0, 0, 0, 0, [() => exports.JobDriver$, 0], 0, () => exports.JobRunExecutionIamPolicy$, [() => exports.ConfigurationOverrides$, 0], 128 | 0, () => exports.TotalResourceUtilization$, () => exports.NetworkConfiguration$, 1, 1, () => exports.ResourceUtilization$, 0, () => exports.RetryPolicy$, 1, 4, 4, 4, 4, 1, () => exports.ImageConfiguration$, () => WorkerTypeSpecificationMap], 11
485
486
  ];
486
487
  exports.JobRunAttemptSummary$ = [3, n0, _JRAS,
487
488
  0,
@@ -129,6 +129,7 @@ const _a = "arn";
129
129
  const _aC = "applicationConfiguration";
130
130
  const _aCA = "attemptCreatedAt";
131
131
  const _aI = "applicationId";
132
+ const _aLDR = "applicationLevelDigestResolution";
132
133
  const _aSC = "autoStartConfiguration";
133
134
  const _aSCu = "autoStopConfiguration";
134
135
  const _aSPL = "accessSystemProfileLogs";
@@ -450,13 +451,13 @@ export var IdentityCenterConfigurationInput$ = [3, n0, _ICCI,
450
451
  ];
451
452
  export var ImageConfiguration$ = [3, n0, _IC,
452
453
  0,
453
- [_iU, _rID],
454
- [0, 0], 1
454
+ [_iU, _rID, _aLDR],
455
+ [0, 0, 2], 1
455
456
  ];
456
457
  export var ImageConfigurationInput$ = [3, n0, _ICI,
457
458
  0,
458
- [_iU],
459
- [0]
459
+ [_iU, _aLDR],
460
+ [0, 2]
460
461
  ];
461
462
  export var InitialCapacityConfig$ = [3, n0, _ICCn,
462
463
  0,
@@ -475,8 +476,8 @@ export var JobLevelCostAllocationConfiguration$ = [3, n0, _JLCAC,
475
476
  ];
476
477
  export var JobRun$ = [3, n0, _JR,
477
478
  0,
478
- [_aI, _jRI, _a, _cB, _cA, _uA, _eR, _st, _sD, _rL, _jD, _n, _eIP, _cO, _ta, _tRU, _nC, _tEDS, _eTM, _bRU, _mo, _rP, _at, _aCA, _aUA, _sA, _eA, _qDM],
479
- [0, 0, 0, 0, 4, 4, 0, 0, 0, 0, [() => JobDriver$, 0], 0, () => JobRunExecutionIamPolicy$, [() => ConfigurationOverrides$, 0], 128 | 0, () => TotalResourceUtilization$, () => NetworkConfiguration$, 1, 1, () => ResourceUtilization$, 0, () => RetryPolicy$, 1, 4, 4, 4, 4, 1], 11
479
+ [_aI, _jRI, _a, _cB, _cA, _uA, _eR, _st, _sD, _rL, _jD, _n, _eIP, _cO, _ta, _tRU, _nC, _tEDS, _eTM, _bRU, _mo, _rP, _at, _aCA, _aUA, _sA, _eA, _qDM, _iCm, _wTS],
480
+ [0, 0, 0, 0, 4, 4, 0, 0, 0, 0, [() => JobDriver$, 0], 0, () => JobRunExecutionIamPolicy$, [() => ConfigurationOverrides$, 0], 128 | 0, () => TotalResourceUtilization$, () => NetworkConfiguration$, 1, 1, () => ResourceUtilization$, 0, () => RetryPolicy$, 1, 4, 4, 4, 4, 1, () => ImageConfiguration$, () => WorkerTypeSpecificationMap], 11
480
481
  ];
481
482
  export var JobRunAttemptSummary$ = [3, n0, _JRAS,
482
483
  0,
@@ -80,11 +80,13 @@ declare const CreateApplicationCommand_base: {
80
80
  * architecture: "STRING_VALUE",
81
81
  * imageConfiguration: { // ImageConfigurationInput
82
82
  * imageUri: "STRING_VALUE",
83
+ * applicationLevelDigestResolution: true || false,
83
84
  * },
84
85
  * workerTypeSpecifications: { // WorkerTypeSpecificationInputMap
85
86
  * "<keys>": { // WorkerTypeSpecificationInput
86
87
  * imageConfiguration: {
87
88
  * imageUri: "STRING_VALUE",
89
+ * applicationLevelDigestResolution: true || false,
88
90
  * },
89
91
  * },
90
92
  * },
@@ -92,12 +92,14 @@ declare const GetApplicationCommand_base: {
92
92
  * // imageConfiguration: { // ImageConfiguration
93
93
  * // imageUri: "STRING_VALUE", // required
94
94
  * // resolvedImageDigest: "STRING_VALUE",
95
+ * // applicationLevelDigestResolution: true || false,
95
96
  * // },
96
97
  * // workerTypeSpecifications: { // WorkerTypeSpecificationMap
97
98
  * // "<keys>": { // WorkerTypeSpecification
98
99
  * // imageConfiguration: {
99
100
  * // imageUri: "STRING_VALUE", // required
100
101
  * // resolvedImageDigest: "STRING_VALUE",
102
+ * // applicationLevelDigestResolution: true || false,
101
103
  * // },
102
104
  * // },
103
105
  * // },
@@ -161,6 +161,20 @@ declare const GetJobRunCommand_base: {
161
161
  * // startedAt: new Date("TIMESTAMP"),
162
162
  * // endedAt: new Date("TIMESTAMP"),
163
163
  * // queuedDurationMilliseconds: Number("long"),
164
+ * // imageConfiguration: { // ImageConfiguration
165
+ * // imageUri: "STRING_VALUE", // required
166
+ * // resolvedImageDigest: "STRING_VALUE",
167
+ * // applicationLevelDigestResolution: true || false,
168
+ * // },
169
+ * // workerTypeSpecifications: { // WorkerTypeSpecificationMap
170
+ * // "<keys>": { // WorkerTypeSpecification
171
+ * // imageConfiguration: {
172
+ * // imageUri: "STRING_VALUE", // required
173
+ * // resolvedImageDigest: "STRING_VALUE",
174
+ * // applicationLevelDigestResolution: true || false,
175
+ * // },
176
+ * // },
177
+ * // },
164
178
  * // },
165
179
  * // };
166
180
  *
@@ -75,11 +75,13 @@ declare const UpdateApplicationCommand_base: {
75
75
  * architecture: "STRING_VALUE",
76
76
  * imageConfiguration: { // ImageConfigurationInput
77
77
  * imageUri: "STRING_VALUE",
78
+ * applicationLevelDigestResolution: true || false,
78
79
  * },
79
80
  * workerTypeSpecifications: { // WorkerTypeSpecificationInputMap
80
81
  * "<keys>": { // WorkerTypeSpecificationInput
81
82
  * imageConfiguration: {
82
83
  * imageUri: "STRING_VALUE",
84
+ * applicationLevelDigestResolution: true || false,
83
85
  * },
84
86
  * },
85
87
  * },
@@ -199,12 +201,14 @@ declare const UpdateApplicationCommand_base: {
199
201
  * // imageConfiguration: { // ImageConfiguration
200
202
  * // imageUri: "STRING_VALUE", // required
201
203
  * // resolvedImageDigest: "STRING_VALUE",
204
+ * // applicationLevelDigestResolution: true || false,
202
205
  * // },
203
206
  * // workerTypeSpecifications: { // WorkerTypeSpecificationMap
204
207
  * // "<keys>": { // WorkerTypeSpecification
205
208
  * // imageConfiguration: {
206
209
  * // imageUri: "STRING_VALUE", // required
207
210
  * // resolvedImageDigest: "STRING_VALUE",
211
+ * // applicationLevelDigestResolution: true || false,
208
212
  * // },
209
213
  * // },
210
214
  * // },
@@ -78,6 +78,11 @@ export interface ImageConfiguration {
78
78
  * @public
79
79
  */
80
80
  resolvedImageDigest?: string | undefined;
81
+ /**
82
+ * <p>Boolean value indicating if the digest resolution is application level or workload level. If true, a custom image URI is resolved at application start time and all workloads submitted will use that image digest. If false, the custom image URI is resolved at the workload submission time.</p>
83
+ * @public
84
+ */
85
+ applicationLevelDigestResolution?: boolean | undefined;
81
86
  }
82
87
  /**
83
88
  * <p>The cumulative configuration requirements for every worker instance of the worker type.</p>
@@ -399,6 +404,11 @@ export interface ImageConfigurationInput {
399
404
  * @public
400
405
  */
401
406
  imageUri?: string | undefined;
407
+ /**
408
+ * <p>Boolean value indicating if the digest resolution is application level or workload level. If true, a custom image URI is resolved at application start time and all workloads submitted will use that image digest. If false, the custom image URI is resolved at the workload submission time.</p>
409
+ * @public
410
+ */
411
+ applicationLevelDigestResolution?: boolean | undefined;
402
412
  }
403
413
  /**
404
414
  * <p>The specifications for a worker type.</p>
@@ -1149,17 +1159,17 @@ export interface GetSessionEndpointResponse {
1149
1159
  */
1150
1160
  sessionId: string | undefined;
1151
1161
  /**
1152
- * The endpoint URL for connecting to the session.
1162
+ * <p>The endpoint URL for connecting to the session.</p>
1153
1163
  * @public
1154
1164
  */
1155
1165
  endpoint: string | undefined;
1156
1166
  /**
1157
- * Authentication token for accessing the session endpoint.
1167
+ * <p>The authentication token for connecting to the session endpoint. Call <code>GetSessionEndpoint</code> again to obtain a new token before it expires.</p>
1158
1168
  * @public
1159
1169
  */
1160
1170
  authToken: string | undefined;
1161
1171
  /**
1162
- * The expiration time of the authentication token.
1172
+ * <p>The expiration time of the authentication token.</p>
1163
1173
  * @public
1164
1174
  */
1165
1175
  authTokenExpiresAt: Date | undefined;
@@ -1904,6 +1914,16 @@ export interface JobRun {
1904
1914
  * @public
1905
1915
  */
1906
1916
  queuedDurationMilliseconds?: number | undefined;
1917
+ /**
1918
+ * <p>The applied image configuration.</p>
1919
+ * @public
1920
+ */
1921
+ imageConfiguration?: ImageConfiguration | undefined;
1922
+ /**
1923
+ * <p>The specification applied to each worker type. Includes the JobRun-level ImageConfiguration when the applicationLevelDigestResolution is false for the application.</p>
1924
+ * @public
1925
+ */
1926
+ workerTypeSpecifications?: Record<string, WorkerTypeSpecification> | undefined;
1907
1927
  }
1908
1928
  /**
1909
1929
  * <p>Information about a session, including the session state, configuration, and timestamps.</p>
@@ -25,6 +25,7 @@ export interface IdentityCenterConfiguration {
25
25
  export interface ImageConfiguration {
26
26
  imageUri: string | undefined;
27
27
  resolvedImageDigest?: string | undefined;
28
+ applicationLevelDigestResolution?: boolean | undefined;
28
29
  }
29
30
  export interface WorkerResourceConfig {
30
31
  cpu: string | undefined;
@@ -106,6 +107,7 @@ export interface IdentityCenterConfigurationInput {
106
107
  }
107
108
  export interface ImageConfigurationInput {
108
109
  imageUri?: string | undefined;
110
+ applicationLevelDigestResolution?: boolean | undefined;
109
111
  }
110
112
  export interface WorkerTypeSpecificationInput {
111
113
  imageConfiguration?: ImageConfigurationInput | undefined;
@@ -482,6 +484,10 @@ export interface JobRun {
482
484
  startedAt?: Date | undefined;
483
485
  endedAt?: Date | undefined;
484
486
  queuedDurationMilliseconds?: number | undefined;
487
+ imageConfiguration?: ImageConfiguration | undefined;
488
+ workerTypeSpecifications?:
489
+ | Record<string, WorkerTypeSpecification>
490
+ | undefined;
485
491
  }
486
492
  export interface Session {
487
493
  applicationId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
3
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.1061.0",
4
+ "version": "3.1063.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr-serverless",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.17",
25
- "@aws-sdk/credential-provider-node": "^3.972.50",
26
- "@aws-sdk/types": "^3.973.10",
24
+ "@aws-sdk/core": "^3.974.18",
25
+ "@aws-sdk/credential-provider-node": "^3.972.52",
26
+ "@aws-sdk/types": "^3.973.11",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",
29
29
  "@smithy/node-http-handler": "^4.7.6",
@@ -53,7 +53,7 @@
53
53
  ],
54
54
  "author": {
55
55
  "name": "AWS SDK for JavaScript Team",
56
- "url": "https://aws.amazon.com/javascript/"
56
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
57
57
  },
58
58
  "license": "Apache-2.0",
59
59
  "browser": {