@aws-sdk/client-route-53-domains 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.
@@ -1964,9 +1964,7 @@ const serializeAws_json1_1ListOperationsRequest = (input, context) => {
1964
1964
  ...(input.SortBy != null && { SortBy: input.SortBy }),
1965
1965
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
1966
1966
  ...(input.Status != null && { Status: serializeAws_json1_1OperationStatusList(input.Status, context) }),
1967
- ...(input.SubmittedSince != null && {
1968
- SubmittedSince: Math.round(input.SubmittedSince.getTime() / 1000).toString(),
1969
- }),
1967
+ ...(input.SubmittedSince != null && { SubmittedSince: Math.round(input.SubmittedSince.getTime() / 1000) }),
1970
1968
  ...(input.Type != null && { Type: serializeAws_json1_1OperationTypeList(input.Type, context) }),
1971
1969
  };
1972
1970
  };
@@ -2153,10 +2151,10 @@ const serializeAws_json1_1Values = (input, context) => {
2153
2151
  };
2154
2152
  const serializeAws_json1_1ViewBillingRequest = (input, context) => {
2155
2153
  return {
2156
- ...(input.End != null && { End: Math.round(input.End.getTime() / 1000).toString() }),
2154
+ ...(input.End != null && { End: Math.round(input.End.getTime() / 1000) }),
2157
2155
  ...(input.Marker != null && { Marker: input.Marker }),
2158
2156
  ...(input.MaxItems != null && { MaxItems: input.MaxItems }),
2159
- ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000).toString() }),
2157
+ ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000) }),
2160
2158
  };
2161
2159
  };
2162
2160
  const deserializeAws_json1_1AcceptDomainTransferFromAnotherAwsAccountResponse = (output, context) => {
@@ -1892,9 +1892,7 @@ const serializeAws_json1_1ListOperationsRequest = (input, context) => {
1892
1892
  ...(input.SortBy != null && { SortBy: input.SortBy }),
1893
1893
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
1894
1894
  ...(input.Status != null && { Status: serializeAws_json1_1OperationStatusList(input.Status, context) }),
1895
- ...(input.SubmittedSince != null && {
1896
- SubmittedSince: Math.round(input.SubmittedSince.getTime() / 1000).toString(),
1897
- }),
1895
+ ...(input.SubmittedSince != null && { SubmittedSince: Math.round(input.SubmittedSince.getTime() / 1000) }),
1898
1896
  ...(input.Type != null && { Type: serializeAws_json1_1OperationTypeList(input.Type, context) }),
1899
1897
  };
1900
1898
  };
@@ -2081,10 +2079,10 @@ const serializeAws_json1_1Values = (input, context) => {
2081
2079
  };
2082
2080
  const serializeAws_json1_1ViewBillingRequest = (input, context) => {
2083
2081
  return {
2084
- ...(input.End != null && { End: Math.round(input.End.getTime() / 1000).toString() }),
2082
+ ...(input.End != null && { End: Math.round(input.End.getTime() / 1000) }),
2085
2083
  ...(input.Marker != null && { Marker: input.Marker }),
2086
2084
  ...(input.MaxItems != null && { MaxItems: input.MaxItems }),
2087
- ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000).toString() }),
2085
+ ...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000) }),
2088
2086
  };
2089
2087
  };
2090
2088
  const deserializeAws_json1_1AcceptDomainTransferFromAnotherAwsAccountResponse = (output, 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 { AcceptDomainTransferFromAnotherAwsAccountCommandInput, AcceptDomainTransferFromAnotherAwsAccountCommandOutput } from "./commands/AcceptDomainTransferFromAnotherAwsAccountCommand";
11
11
  import { AssociateDelegationSignerToDomainCommandInput, AssociateDelegationSignerToDomainCommandOutput } from "./commands/AssociateDelegationSignerToDomainCommand";
12
12
  import { CancelDomainTransferToAnotherAwsAccountCommandInput, CancelDomainTransferToAnotherAwsAccountCommandOutput } from "./commands/CancelDomainTransferToAnotherAwsAccountCommand";
@@ -50,11 +50,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
50
50
  */
51
51
  requestHandler?: __HttpHandler;
52
52
  /**
53
- * A constructor for a class implementing the {@link __Hash} interface
53
+ * A constructor for a class implementing the {@link __Checksum} interface
54
54
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
55
55
  * @internal
56
56
  */
57
- sha256?: __HashConstructor;
57
+ sha256?: __ChecksumConstructor | __HashConstructor;
58
58
  /**
59
59
  * The function that will be used to convert strings into HTTP endpoints.
60
60
  * @internal
@@ -140,9 +140,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
140
140
  */
141
141
  defaultUserAgentProvider?: Provider<__UserAgent>;
142
142
  /**
143
- * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
143
+ * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
144
144
  */
145
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
145
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
146
146
  }
147
147
  declare type Route53DomainsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
148
148
  /**
@@ -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,
@@ -257,7 +258,7 @@ export declare type ServiceOutputTypes =
257
258
  export interface ClientDefaults
258
259
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
259
260
  requestHandler?: __HttpHandler;
260
- sha256?: __HashConstructor;
261
+ sha256?: __ChecksumConstructor | __HashConstructor;
261
262
  urlParser?: __UrlParser;
262
263
  bodyLengthChecker?: __BodyLengthCalculator;
263
264
  streamCollector?: __StreamCollector;
@@ -276,7 +277,7 @@ export interface ClientDefaults
276
277
  region?: string | __Provider<string>;
277
278
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
278
279
  defaultUserAgentProvider?: Provider<__UserAgent>;
279
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
280
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
280
281
  }
281
282
  declare type Route53DomainsClientConfigType = Partial<
282
283
  __SmithyConfiguration<__HttpHandlerOptions>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53-domains",
3
3
  "description": "AWS SDK for JavaScript Route 53 Domains 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,39 +18,39 @@
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
56
  "tslib": "^2.3.1"