@aws-sdk/client-savingsplans 3.1045.0 → 3.1046.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 (65) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +36 -37
  5. package/dist-cjs/models/SavingsplansServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Savingsplans.js +1 -1
  10. package/dist-es/SavingsplansClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CreateSavingsPlanCommand.js +2 -2
  13. package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +2 -2
  14. package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +2 -2
  15. package/dist-es/commands/DescribeSavingsPlansCommand.js +2 -2
  16. package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +2 -2
  17. package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +2 -2
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  19. package/dist-es/commands/ReturnSavingsPlanCommand.js +2 -2
  20. package/dist-es/commands/TagResourceCommand.js +2 -2
  21. package/dist-es/commands/UntagResourceCommand.js +2 -2
  22. package/dist-es/endpoint/bdd.js +1 -1
  23. package/dist-es/endpoint/endpointResolver.js +1 -1
  24. package/dist-es/models/SavingsplansServiceException.js +1 -1
  25. package/dist-es/runtimeConfig.browser.js +4 -6
  26. package/dist-es/runtimeConfig.js +4 -8
  27. package/dist-es/runtimeConfig.shared.js +3 -4
  28. package/dist-es/runtimeExtensions.js +2 -2
  29. package/dist-types/SavingsplansClient.d.ts +5 -5
  30. package/dist-types/commands/CreateSavingsPlanCommand.d.ts +6 -4
  31. package/dist-types/commands/DeleteQueuedSavingsPlanCommand.d.ts +6 -4
  32. package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +6 -4
  33. package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +6 -4
  34. package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +6 -4
  35. package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +6 -4
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  37. package/dist-types/commands/ReturnSavingsPlanCommand.d.ts +6 -4
  38. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  39. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  40. package/dist-types/endpoint/bdd.d.ts +1 -1
  41. package/dist-types/extensionConfiguration.d.ts +1 -1
  42. package/dist-types/models/SavingsplansServiceException.d.ts +1 -1
  43. package/dist-types/models/errors.d.ts +1 -1
  44. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  45. package/dist-types/runtimeConfig.d.ts +2 -2
  46. package/dist-types/runtimeConfig.native.d.ts +2 -2
  47. package/dist-types/ts3.4/SavingsplansClient.d.ts +8 -14
  48. package/dist-types/ts3.4/commands/CreateSavingsPlanCommand.d.ts +6 -4
  49. package/dist-types/ts3.4/commands/DeleteQueuedSavingsPlanCommand.d.ts +6 -4
  50. package/dist-types/ts3.4/commands/DescribeSavingsPlanRatesCommand.d.ts +6 -4
  51. package/dist-types/ts3.4/commands/DescribeSavingsPlansCommand.d.ts +6 -4
  52. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +6 -4
  53. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingsCommand.d.ts +6 -4
  54. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  55. package/dist-types/ts3.4/commands/ReturnSavingsPlanCommand.d.ts +6 -4
  56. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  57. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  58. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  59. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  60. package/dist-types/ts3.4/models/SavingsplansServiceException.d.ts +1 -1
  61. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  65. package/package.json +13 -34
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  DescribeSavingsPlansOfferingsRequest,
@@ -19,7 +19,7 @@ export interface DescribeSavingsPlansOfferingsCommandOutput
19
19
  declare const DescribeSavingsPlansOfferingsCommand_base: {
20
20
  new (
21
21
  input: DescribeSavingsPlansOfferingsCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  DescribeSavingsPlansOfferingsCommandInput,
24
24
  DescribeSavingsPlansOfferingsCommandOutput,
25
25
  SavingsplansClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
28
28
  >;
29
29
  new (
30
30
  ...[input]: [] | [DescribeSavingsPlansOfferingsCommandInput]
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  DescribeSavingsPlansOfferingsCommandInput,
33
33
  DescribeSavingsPlansOfferingsCommandOutput,
34
34
  SavingsplansClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class DescribeSavingsPlansOfferingsCommand extends DescribeSavingsPlansOfferingsCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListTagsForResourceRequest,
@@ -19,7 +19,7 @@ export interface ListTagsForResourceCommandOutput
19
19
  declare const ListTagsForResourceCommand_base: {
20
20
  new (
21
21
  input: ListTagsForResourceCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ListTagsForResourceCommandInput,
24
24
  ListTagsForResourceCommandOutput,
25
25
  SavingsplansClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ListTagsForResourceCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: ListTagsForResourceCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
34
34
  SavingsplansClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ReturnSavingsPlanRequest,
@@ -19,7 +19,7 @@ export interface ReturnSavingsPlanCommandOutput
19
19
  declare const ReturnSavingsPlanCommand_base: {
20
20
  new (
21
21
  input: ReturnSavingsPlanCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ReturnSavingsPlanCommandInput,
24
24
  ReturnSavingsPlanCommandOutput,
25
25
  SavingsplansClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ReturnSavingsPlanCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: ReturnSavingsPlanCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ReturnSavingsPlanCommandInput,
33
33
  ReturnSavingsPlanCommandOutput,
34
34
  SavingsplansClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class ReturnSavingsPlanCommand extends ReturnSavingsPlanCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
4
  import {
@@ -15,7 +15,7 @@ export interface TagResourceCommandOutput
15
15
  declare const TagResourceCommand_base: {
16
16
  new (
17
17
  input: TagResourceCommandInput
18
- ): import("@smithy/smithy-client").CommandImpl<
18
+ ): import("@smithy/core/client").CommandImpl<
19
19
  TagResourceCommandInput,
20
20
  TagResourceCommandOutput,
21
21
  SavingsplansClientResolvedConfig,
@@ -24,14 +24,16 @@ declare const TagResourceCommand_base: {
24
24
  >;
25
25
  new (
26
26
  input: TagResourceCommandInput
27
- ): import("@smithy/smithy-client").CommandImpl<
27
+ ): import("@smithy/core/client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
30
30
  SavingsplansClientResolvedConfig,
31
31
  ServiceInputTypes,
32
32
  ServiceOutputTypes
33
33
  >;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
35
37
  };
36
38
  export declare class TagResourceCommand extends TagResourceCommand_base {
37
39
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  UntagResourceRequest,
@@ -18,7 +18,7 @@ export interface UntagResourceCommandOutput
18
18
  declare const UntagResourceCommand_base: {
19
19
  new (
20
20
  input: UntagResourceCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  UntagResourceCommandInput,
23
23
  UntagResourceCommandOutput,
24
24
  SavingsplansClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const UntagResourceCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: UntagResourceCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
33
33
  SavingsplansClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
40
42
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface SavingsplansExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class SavingsplansServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
3
3
  export declare class InternalServerException extends __BaseException {
4
4
  readonly name: "InternalServerException";
@@ -3,7 +3,7 @@ import { SavingsplansClientConfig } from "./SavingsplansClient";
3
3
  export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
19
19
  requestHandler:
20
- | import("@smithy/protocol-http").HttpHandler<any>
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { SavingsplansClientConfig } from "./SavingsplansClient";
3
3
  export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
19
19
  region: string | import("@smithy/types").Provider<string>;
20
20
  requestHandler:
21
21
  | RequestHandler
22
- | import("@smithy/protocol-http").HttpHandler<any>;
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
6
6
  | import("@smithy/types").NodeHttpHandlerOptions
7
7
  | import("@smithy/types").FetchHttpHandlerOptions
8
8
  | Record<string, unknown>
9
- | import("@smithy/protocol-http").HttpHandler<any>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean;
12
12
  protocol:
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
46
46
  logger: import("@smithy/types").Logger;
47
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
48
48
  defaultsMode:
49
- | import("@smithy/smithy-client").DefaultsMode
49
+ | import("@smithy/core/client").DefaultsMode
50
50
  | import("@smithy/types").Provider<
51
- import("@smithy/smithy-client").DefaultsMode
51
+ import("@smithy/core/client").DefaultsMode
52
52
  >;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
54
  userAgentAppId?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-savingsplans",
3
3
  "description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
4
- "version": "3.1045.0",
4
+ "version": "3.1046.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-savingsplans",
@@ -21,42 +21,21 @@
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.8",
25
- "@aws-sdk/credential-provider-node": "^3.972.39",
26
- "@aws-sdk/middleware-host-header": "^3.972.10",
24
+ "@aws-sdk/core": "^3.974.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.40",
26
+ "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.38",
30
- "@aws-sdk/region-config-resolver": "^3.972.13",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
30
+ "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.8",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.24",
35
- "@smithy/config-resolver": "^4.4.17",
36
- "@smithy/core": "^3.23.17",
37
- "@smithy/fetch-http-handler": "^5.3.17",
38
- "@smithy/hash-node": "^4.2.14",
39
- "@smithy/invalid-dependency": "^4.2.14",
40
- "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.7",
43
- "@smithy/middleware-serde": "^4.2.20",
44
- "@smithy/middleware-stack": "^4.2.14",
45
- "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.6.1",
47
- "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.13",
32
+ "@aws-sdk/util-endpoints": "^3.996.9",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.25",
35
+ "@smithy/core": "^3.24.1",
36
+ "@smithy/fetch-http-handler": "^5.4.1",
37
+ "@smithy/node-http-handler": "^4.7.1",
49
38
  "@smithy/types": "^4.14.1",
50
- "@smithy/url-parser": "^4.2.14",
51
- "@smithy/util-base64": "^4.3.2",
52
- "@smithy/util-body-length-browser": "^4.2.2",
53
- "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.49",
55
- "@smithy/util-defaults-mode-node": "^4.2.54",
56
- "@smithy/util-endpoints": "^3.4.2",
57
- "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.6",
59
- "@smithy/util-utf8": "^4.2.2",
60
39
  "tslib": "^2.6.2"
61
40
  },
62
41
  "devDependencies": {