@aws-sdk/client-billing 3.1076.0 → 3.1078.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 (56) hide show
  1. package/dist-cjs/index.js +23 -125
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateSourceViewsCommand.js +2 -14
  4. package/dist-es/commands/CreateBillingViewCommand.js +2 -14
  5. package/dist-es/commands/DeleteBillingViewCommand.js +2 -14
  6. package/dist-es/commands/DisassociateSourceViewsCommand.js +2 -14
  7. package/dist-es/commands/GetBillingViewCommand.js +2 -14
  8. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  9. package/dist-es/commands/ListBillingViewsCommand.js +2 -14
  10. package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +2 -14
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  12. package/dist-es/commands/TagResourceCommand.js +2 -14
  13. package/dist-es/commands/UntagResourceCommand.js +2 -14
  14. package/dist-es/commands/UpdateBillingViewCommand.js +2 -14
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/runtimeConfig.browser.js +0 -2
  17. package/dist-es/runtimeConfig.js +1 -2
  18. package/dist-es/runtimeConfig.native.js +0 -2
  19. package/dist-es/runtimeConfig.shared.js +2 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/AssociateSourceViewsCommand.d.ts +3 -8
  22. package/dist-types/commands/CreateBillingViewCommand.d.ts +3 -8
  23. package/dist-types/commands/DeleteBillingViewCommand.d.ts +3 -8
  24. package/dist-types/commands/DisassociateSourceViewsCommand.d.ts +3 -8
  25. package/dist-types/commands/GetBillingViewCommand.d.ts +3 -8
  26. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  27. package/dist-types/commands/ListBillingViewsCommand.d.ts +3 -8
  28. package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +3 -8
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  30. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  31. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  32. package/dist-types/commands/UpdateBillingViewCommand.d.ts +3 -8
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/AssociateSourceViewsCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DisassociateSourceViewsCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/index.d.ts +1 -0
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  56. package/package.json +8 -10
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import {
9
3
  GetResourcePolicyRequest,
10
4
  GetResourcePolicyResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetResourcePolicyCommandInput
15
8
  extends GetResourcePolicyRequest {}
16
9
  export interface GetResourcePolicyCommandOutput
@@ -22,22 +15,20 @@ declare const GetResourcePolicyCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetResourcePolicyCommandInput,
24
17
  GetResourcePolicyCommandOutput,
25
- BillingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").BillingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetResourcePolicyCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetResourcePolicyCommandInput,
33
26
  GetResourcePolicyCommandOutput,
34
- BillingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").BillingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import {
9
3
  ListBillingViewsRequest,
10
4
  ListBillingViewsResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListBillingViewsCommandInput extends ListBillingViewsRequest {}
15
8
  export interface ListBillingViewsCommandOutput
16
9
  extends ListBillingViewsResponse,
@@ -21,22 +14,20 @@ declare const ListBillingViewsCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  ListBillingViewsCommandInput,
23
16
  ListBillingViewsCommandOutput,
24
- BillingClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").BillingClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  ...[input]: [] | [ListBillingViewsCommandInput]
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  ListBillingViewsCommandInput,
32
25
  ListBillingViewsCommandOutput,
33
- BillingClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").BillingClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class ListBillingViewsCommand extends ListBillingViewsCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import {
9
3
  ListSourceViewsForBillingViewRequest,
10
4
  ListSourceViewsForBillingViewResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListSourceViewsForBillingViewCommandInput
15
8
  extends ListSourceViewsForBillingViewRequest {}
16
9
  export interface ListSourceViewsForBillingViewCommandOutput
@@ -22,22 +15,20 @@ declare const ListSourceViewsForBillingViewCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListSourceViewsForBillingViewCommandInput,
24
17
  ListSourceViewsForBillingViewCommandOutput,
25
- BillingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").BillingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ListSourceViewsForBillingViewCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListSourceViewsForBillingViewCommandInput,
33
26
  ListSourceViewsForBillingViewCommandOutput,
34
- BillingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").BillingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class ListSourceViewsForBillingViewCommand extends ListSourceViewsForBillingViewCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import {
9
3
  ListTagsForResourceRequest,
10
4
  ListTagsForResourceResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListTagsForResourceCommandInput
15
8
  extends ListTagsForResourceRequest {}
16
9
  export interface ListTagsForResourceCommandOutput
@@ -22,22 +15,20 @@ declare const ListTagsForResourceCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListTagsForResourceCommandInput,
24
17
  ListTagsForResourceCommandOutput,
25
- BillingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").BillingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ListTagsForResourceCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListTagsForResourceCommandInput,
33
26
  ListTagsForResourceCommandOutput,
34
- BillingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").BillingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
43
34
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface TagResourceCommandInput extends TagResourceRequest {}
12
5
  export interface TagResourceCommandOutput
13
6
  extends TagResourceResponse,
@@ -18,22 +11,20 @@ declare const TagResourceCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  TagResourceCommandInput,
20
13
  TagResourceCommandOutput,
21
- BillingClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").BillingClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: TagResourceCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  TagResourceCommandInput,
29
22
  TagResourceCommandOutput,
30
- BillingClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").BillingClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class TagResourceCommand extends TagResourceCommand_base {
39
30
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import {
9
3
  UntagResourceRequest,
10
4
  UntagResourceResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
15
8
  export interface UntagResourceCommandOutput
16
9
  extends UntagResourceResponse,
@@ -21,22 +14,20 @@ declare const UntagResourceCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  UntagResourceCommandInput,
23
16
  UntagResourceCommandOutput,
24
- BillingClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").BillingClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: UntagResourceCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  UntagResourceCommandInput,
32
25
  UntagResourceCommandOutput,
33
- BillingClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").BillingClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- BillingClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../BillingClient";
8
2
  import {
9
3
  UpdateBillingViewRequest,
10
4
  UpdateBillingViewResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateBillingViewCommandInput
15
8
  extends UpdateBillingViewRequest {}
16
9
  export interface UpdateBillingViewCommandOutput
@@ -22,22 +15,20 @@ declare const UpdateBillingViewCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  UpdateBillingViewCommandInput,
24
17
  UpdateBillingViewCommandOutput,
25
- BillingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").BillingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: UpdateBillingViewCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  UpdateBillingViewCommandInput,
33
26
  UpdateBillingViewCommandOutput,
34
- BillingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").BillingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class UpdateBillingViewCommand extends UpdateBillingViewCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { BillingExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { BillingClientConfig } from "./BillingClient";
2
2
  export declare const getRuntimeConfig: (config: BillingClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: BillingClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billing",
3
3
  "description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
4
- "version": "3.1076.0",
4
+ "version": "3.1078.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",
@@ -19,15 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
26
- "@aws-sdk/types": "^3.973.14",
27
- "@smithy/core": "^3.27.0",
28
- "@smithy/fetch-http-handler": "^5.6.0",
29
- "@smithy/node-http-handler": "^4.9.0",
30
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
31
29
  "tslib": "^2.6.2"
32
30
  },
33
31
  "devDependencies": {