@aws-sdk/client-emr 3.252.0 → 3.256.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.
@@ -2596,8 +2596,8 @@ const serializeAws_json1_1DescribeClusterInput = (input, context) => {
2596
2596
  };
2597
2597
  const serializeAws_json1_1DescribeJobFlowsInput = (input, context) => {
2598
2598
  return {
2599
- ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000).toString() }),
2600
- ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000).toString() }),
2599
+ ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
2600
+ ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
2601
2601
  ...(input.JobFlowIds != null && { JobFlowIds: serializeAws_json1_1XmlStringList(input.JobFlowIds, context) }),
2602
2602
  ...(input.JobFlowStates != null && {
2603
2603
  JobFlowStates: serializeAws_json1_1JobFlowExecutionStateList(input.JobFlowStates, context),
@@ -2927,8 +2927,8 @@ const serializeAws_json1_1ListClustersInput = (input, context) => {
2927
2927
  ...(input.ClusterStates != null && {
2928
2928
  ClusterStates: serializeAws_json1_1ClusterStateList(input.ClusterStates, context),
2929
2929
  }),
2930
- ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000).toString() }),
2931
- ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000).toString() }),
2930
+ ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
2931
+ ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
2932
2932
  ...(input.Marker != null && { Marker: input.Marker }),
2933
2933
  };
2934
2934
  };
@@ -2962,10 +2962,10 @@ const serializeAws_json1_1ListInstancesInput = (input, context) => {
2962
2962
  const serializeAws_json1_1ListNotebookExecutionsInput = (input, context) => {
2963
2963
  return {
2964
2964
  ...(input.EditorId != null && { EditorId: input.EditorId }),
2965
- ...(input.From != null && { From: Math.round(input.From.getTime() / 1000).toString() }),
2965
+ ...(input.From != null && { From: Math.round(input.From.getTime() / 1000) }),
2966
2966
  ...(input.Marker != null && { Marker: input.Marker }),
2967
2967
  ...(input.Status != null && { Status: input.Status }),
2968
- ...(input.To != null && { To: Math.round(input.To.getTime() / 1000).toString() }),
2968
+ ...(input.To != null && { To: Math.round(input.To.getTime() / 1000) }),
2969
2969
  };
2970
2970
  };
2971
2971
  const serializeAws_json1_1ListReleaseLabelsInput = (input, context) => {
@@ -2485,8 +2485,8 @@ const serializeAws_json1_1DescribeClusterInput = (input, context) => {
2485
2485
  };
2486
2486
  const serializeAws_json1_1DescribeJobFlowsInput = (input, context) => {
2487
2487
  return {
2488
- ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000).toString() }),
2489
- ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000).toString() }),
2488
+ ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
2489
+ ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
2490
2490
  ...(input.JobFlowIds != null && { JobFlowIds: serializeAws_json1_1XmlStringList(input.JobFlowIds, context) }),
2491
2491
  ...(input.JobFlowStates != null && {
2492
2492
  JobFlowStates: serializeAws_json1_1JobFlowExecutionStateList(input.JobFlowStates, context),
@@ -2816,8 +2816,8 @@ const serializeAws_json1_1ListClustersInput = (input, context) => {
2816
2816
  ...(input.ClusterStates != null && {
2817
2817
  ClusterStates: serializeAws_json1_1ClusterStateList(input.ClusterStates, context),
2818
2818
  }),
2819
- ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000).toString() }),
2820
- ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000).toString() }),
2819
+ ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
2820
+ ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
2821
2821
  ...(input.Marker != null && { Marker: input.Marker }),
2822
2822
  };
2823
2823
  };
@@ -2851,10 +2851,10 @@ const serializeAws_json1_1ListInstancesInput = (input, context) => {
2851
2851
  const serializeAws_json1_1ListNotebookExecutionsInput = (input, context) => {
2852
2852
  return {
2853
2853
  ...(input.EditorId != null && { EditorId: input.EditorId }),
2854
- ...(input.From != null && { From: Math.round(input.From.getTime() / 1000).toString() }),
2854
+ ...(input.From != null && { From: Math.round(input.From.getTime() / 1000) }),
2855
2855
  ...(input.Marker != null && { Marker: input.Marker }),
2856
2856
  ...(input.Status != null && { Status: input.Status }),
2857
- ...(input.To != null && { To: Math.round(input.To.getTime() / 1000).toString() }),
2857
+ ...(input.To != null && { To: Math.round(input.To.getTime() / 1000) }),
2858
2858
  };
2859
2859
  };
2860
2860
  const serializeAws_json1_1ListReleaseLabelsInput = (input, context) => {
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { AddInstanceFleetCommandInput, AddInstanceFleetCommandOutput } from "./commands/AddInstanceFleetCommand";
11
11
  import { AddInstanceGroupsCommandInput, AddInstanceGroupsCommandOutput } from "./commands/AddInstanceGroupsCommand";
12
12
  import { AddJobFlowStepsCommandInput, AddJobFlowStepsCommandOutput } from "./commands/AddJobFlowStepsCommand";
@@ -69,11 +69,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
69
69
  */
70
70
  requestHandler?: __HttpHandler;
71
71
  /**
72
- * A constructor for a class implementing the {@link __Hash} interface
72
+ * A constructor for a class implementing the {@link __Checksum} interface
73
73
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
74
74
  * @internal
75
75
  */
76
- sha256?: __HashConstructor;
76
+ sha256?: __ChecksumConstructor | __HashConstructor;
77
77
  /**
78
78
  * The function that will be used to convert strings into HTTP endpoints.
79
79
  * @internal
@@ -159,9 +159,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
159
159
  */
160
160
  defaultUserAgentProvider?: Provider<__UserAgent>;
161
161
  /**
162
- * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
162
+ * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
163
163
  */
164
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
164
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
165
165
  }
166
166
  declare type EMRClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
167
167
  /**
@@ -25,12 +25,13 @@ import {
25
25
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
26
  import {
27
27
  Client as __Client,
28
- DefaultsMode,
28
+ DefaultsMode as __DefaultsMode,
29
29
  SmithyConfiguration as __SmithyConfiguration,
30
30
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -371,7 +372,7 @@ export declare type ServiceOutputTypes =
371
372
  export interface ClientDefaults
372
373
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
373
374
  requestHandler?: __HttpHandler;
374
- sha256?: __HashConstructor;
375
+ sha256?: __ChecksumConstructor | __HashConstructor;
375
376
  urlParser?: __UrlParser;
376
377
  bodyLengthChecker?: __BodyLengthCalculator;
377
378
  streamCollector?: __StreamCollector;
@@ -390,7 +391,7 @@ export interface ClientDefaults
390
391
  region?: string | __Provider<string>;
391
392
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
392
393
  defaultUserAgentProvider?: Provider<__UserAgent>;
393
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
394
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
394
395
  }
395
396
  declare type EMRClientConfigType = Partial<
396
397
  __SmithyConfiguration<__HttpHandlerOptions>
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.252.0",
4
+ "version": "3.256.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,42 +18,42 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.256.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.256.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
- "@aws-sdk/util-waiter": "3.226.0",
56
+ "@aws-sdk/util-waiter": "3.254.0",
57
57
  "tslib": "^2.3.1"
58
58
  },
59
59
  "devDependencies": {