@aws-sdk/client-emr 3.669.0 → 3.670.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.
package/dist-cjs/index.js CHANGED
@@ -1803,6 +1803,7 @@ var se_DescribeJobFlowsInput = /* @__PURE__ */ __name((input, context) => {
1803
1803
  }, "se_DescribeJobFlowsInput");
1804
1804
  var se_InstanceFleetConfig = /* @__PURE__ */ __name((input, context) => {
1805
1805
  return (0, import_smithy_client.take)(input, {
1806
+ Context: [],
1806
1807
  InstanceFleetType: [],
1807
1808
  InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
1808
1809
  LaunchSpecifications: import_smithy_client._json,
@@ -1819,6 +1820,7 @@ var se_InstanceFleetConfigList = /* @__PURE__ */ __name((input, context) => {
1819
1820
  }, "se_InstanceFleetConfigList");
1820
1821
  var se_InstanceFleetModifyConfig = /* @__PURE__ */ __name((input, context) => {
1821
1822
  return (0, import_smithy_client.take)(input, {
1823
+ Context: [],
1822
1824
  InstanceFleetId: [],
1823
1825
  InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
1824
1826
  ResizeSpecifications: import_smithy_client._json,
@@ -2184,6 +2186,7 @@ var de_Instance = /* @__PURE__ */ __name((output, context) => {
2184
2186
  }, "de_Instance");
2185
2187
  var de_InstanceFleet = /* @__PURE__ */ __name((output, context) => {
2186
2188
  return (0, import_smithy_client.take)(output, {
2189
+ Context: import_smithy_client.expectString,
2187
2190
  Id: import_smithy_client.expectString,
2188
2191
  InstanceFleetType: import_smithy_client.expectString,
2189
2192
  InstanceTypeSpecifications: (_) => de_InstanceTypeSpecificationList(_, context),
@@ -25,7 +25,7 @@ const getRuntimeConfig = (config) => {
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
27
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
+ (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
29
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
30
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
31
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -31,7 +31,7 @@ const getRuntimeConfig = (config) => {
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
33
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
35
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
36
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1144,6 +1144,7 @@ const se_DescribeJobFlowsInput = (input, context) => {
1144
1144
  };
1145
1145
  const se_InstanceFleetConfig = (input, context) => {
1146
1146
  return take(input, {
1147
+ Context: [],
1147
1148
  InstanceFleetType: [],
1148
1149
  InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
1149
1150
  LaunchSpecifications: _json,
@@ -1162,6 +1163,7 @@ const se_InstanceFleetConfigList = (input, context) => {
1162
1163
  };
1163
1164
  const se_InstanceFleetModifyConfig = (input, context) => {
1164
1165
  return take(input, {
1166
+ Context: [],
1165
1167
  InstanceFleetId: [],
1166
1168
  InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context),
1167
1169
  ResizeSpecifications: _json,
@@ -1539,6 +1541,7 @@ const de_Instance = (output, context) => {
1539
1541
  };
1540
1542
  const de_InstanceFleet = (output, context) => {
1541
1543
  return take(output, {
1544
+ Context: __expectString,
1542
1545
  Id: __expectString,
1543
1546
  InstanceFleetType: __expectString,
1544
1547
  InstanceTypeSpecifications: (_) => de_InstanceTypeSpecificationList(_, context),
@@ -1,6 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
@@ -21,7 +21,7 @@ export const getRuntimeConfig = (config) => {
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
23
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
24
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
25
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
26
  region: config?.region ?? invalidProvider("Region is missing"),
27
27
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
4
+ import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -27,7 +27,7 @@ export const getRuntimeConfig = (config) => {
27
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
28
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
29
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
- defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
33
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -117,6 +117,7 @@ declare const AddInstanceFleetCommand_base: {
117
117
  * },
118
118
  * },
119
119
  * },
120
+ * Context: "STRING_VALUE",
120
121
  * },
121
122
  * };
122
123
  * const command = new AddInstanceFleetCommand(input);
@@ -136,6 +136,7 @@ declare const ListInstanceFleetsCommand_base: {
136
136
  * // },
137
137
  * // },
138
138
  * // },
139
+ * // Context: "STRING_VALUE",
139
140
  * // },
140
141
  * // ],
141
142
  * // Marker: "STRING_VALUE",
@@ -102,6 +102,7 @@ declare const ModifyInstanceFleetCommand_base: {
102
102
  * Priority: Number("double"),
103
103
  * },
104
104
  * ],
105
+ * Context: "STRING_VALUE",
105
106
  * },
106
107
  * };
107
108
  * const command = new ModifyInstanceFleetCommand(input);
@@ -208,6 +208,7 @@ declare const RunJobFlowCommand_base: {
208
208
  * },
209
209
  * },
210
210
  * },
211
+ * Context: "STRING_VALUE",
211
212
  * },
212
213
  * ],
213
214
  * Ec2KeyName: "STRING_VALUE",
@@ -6074,6 +6074,11 @@ export interface InstanceFleet {
6074
6074
  * @public
6075
6075
  */
6076
6076
  ResizeSpecifications?: InstanceFleetResizingSpecifications;
6077
+ /**
6078
+ * <p>Reserved.</p>
6079
+ * @public
6080
+ */
6081
+ Context?: string;
6077
6082
  }
6078
6083
  /**
6079
6084
  * <p>The configuration that defines an instance fleet.</p>
@@ -6153,6 +6158,11 @@ export interface InstanceFleetConfig {
6153
6158
  * @public
6154
6159
  */
6155
6160
  ResizeSpecifications?: InstanceFleetResizingSpecifications;
6161
+ /**
6162
+ * <p>Reserved.</p>
6163
+ * @public
6164
+ */
6165
+ Context?: string;
6156
6166
  }
6157
6167
  /**
6158
6168
  * <p>Configuration parameters for an instance fleet modification request.</p>
@@ -6191,6 +6201,11 @@ export interface InstanceFleetModifyConfig {
6191
6201
  * @public
6192
6202
  */
6193
6203
  InstanceTypeConfigs?: InstanceTypeConfig[];
6204
+ /**
6205
+ * <p>Reserved.</p>
6206
+ * @public
6207
+ */
6208
+ Context?: string;
6194
6209
  }
6195
6210
  /**
6196
6211
  * <p>Change the size of some instance groups.</p>
@@ -1417,6 +1417,7 @@ export interface InstanceFleet {
1417
1417
  InstanceTypeSpecifications?: InstanceTypeSpecification[];
1418
1418
  LaunchSpecifications?: InstanceFleetProvisioningSpecifications;
1419
1419
  ResizeSpecifications?: InstanceFleetResizingSpecifications;
1420
+ Context?: string;
1420
1421
  }
1421
1422
  export interface InstanceFleetConfig {
1422
1423
  Name?: string;
@@ -1426,6 +1427,7 @@ export interface InstanceFleetConfig {
1426
1427
  InstanceTypeConfigs?: InstanceTypeConfig[];
1427
1428
  LaunchSpecifications?: InstanceFleetProvisioningSpecifications;
1428
1429
  ResizeSpecifications?: InstanceFleetResizingSpecifications;
1430
+ Context?: string;
1429
1431
  }
1430
1432
  export interface InstanceFleetModifyConfig {
1431
1433
  InstanceFleetId: string | undefined;
@@ -1433,6 +1435,7 @@ export interface InstanceFleetModifyConfig {
1433
1435
  TargetSpotCapacity?: number;
1434
1436
  ResizeSpecifications?: InstanceFleetResizingSpecifications;
1435
1437
  InstanceTypeConfigs?: InstanceTypeConfig[];
1438
+ Context?: string;
1436
1439
  }
1437
1440
  export interface ModifyInstanceGroupsInput {
1438
1441
  ClusterId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr",
3
3
  "description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
4
- "version": "3.669.0",
4
+ "version": "3.670.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.669.0",
24
- "@aws-sdk/client-sts": "3.669.0",
23
+ "@aws-sdk/client-sso-oidc": "3.670.0",
24
+ "@aws-sdk/client-sts": "3.670.0",
25
25
  "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.669.0",
26
+ "@aws-sdk/credential-provider-node": "3.670.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/region-config-resolver": "3.667.0",
32
32
  "@aws-sdk/types": "3.667.0",
33
33
  "@aws-sdk/util-endpoints": "3.667.0",
34
- "@aws-sdk/util-user-agent-browser": "3.667.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.670.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.669.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",