@aws-sdk/client-billing 3.895.0 → 3.898.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/README.md +16 -0
- package/dist-cjs/index.js +214 -48
- package/dist-es/Billing.js +4 -0
- package/dist-es/commands/AssociateSourceViewsCommand.js +22 -0
- package/dist-es/commands/DisassociateSourceViewsCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +47 -19
- package/dist-es/protocols/Aws_json1_0.js +99 -9
- package/dist-types/Billing.d.ts +14 -0
- package/dist-types/BillingClient.d.ts +4 -2
- package/dist-types/commands/AssociateSourceViewsCommand.d.ts +120 -0
- package/dist-types/commands/CreateBillingViewCommand.d.ts +10 -0
- package/dist-types/commands/DeleteBillingViewCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateSourceViewsCommand.d.ts +117 -0
- package/dist-types/commands/GetBillingViewCommand.d.ts +14 -0
- package/dist-types/commands/ListBillingViewsCommand.d.ts +8 -0
- package/dist-types/commands/UpdateBillingViewCommand.d.ts +7 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +290 -114
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/Billing.d.ts +34 -0
- package/dist-types/ts3.4/BillingClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/AssociateSourceViewsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateSourceViewsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +103 -41
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +13 -14
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BillingClient } from "./BillingClient";
|
|
3
|
+
import {
|
|
4
|
+
AssociateSourceViewsCommandInput,
|
|
5
|
+
AssociateSourceViewsCommandOutput,
|
|
6
|
+
} from "./commands/AssociateSourceViewsCommand";
|
|
3
7
|
import {
|
|
4
8
|
CreateBillingViewCommandInput,
|
|
5
9
|
CreateBillingViewCommandOutput,
|
|
@@ -8,6 +12,10 @@ import {
|
|
|
8
12
|
DeleteBillingViewCommandInput,
|
|
9
13
|
DeleteBillingViewCommandOutput,
|
|
10
14
|
} from "./commands/DeleteBillingViewCommand";
|
|
15
|
+
import {
|
|
16
|
+
DisassociateSourceViewsCommandInput,
|
|
17
|
+
DisassociateSourceViewsCommandOutput,
|
|
18
|
+
} from "./commands/DisassociateSourceViewsCommand";
|
|
11
19
|
import {
|
|
12
20
|
GetBillingViewCommandInput,
|
|
13
21
|
GetBillingViewCommandOutput,
|
|
@@ -41,6 +49,19 @@ import {
|
|
|
41
49
|
UpdateBillingViewCommandOutput,
|
|
42
50
|
} from "./commands/UpdateBillingViewCommand";
|
|
43
51
|
export interface Billing {
|
|
52
|
+
associateSourceViews(
|
|
53
|
+
args: AssociateSourceViewsCommandInput,
|
|
54
|
+
options?: __HttpHandlerOptions
|
|
55
|
+
): Promise<AssociateSourceViewsCommandOutput>;
|
|
56
|
+
associateSourceViews(
|
|
57
|
+
args: AssociateSourceViewsCommandInput,
|
|
58
|
+
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void
|
|
59
|
+
): void;
|
|
60
|
+
associateSourceViews(
|
|
61
|
+
args: AssociateSourceViewsCommandInput,
|
|
62
|
+
options: __HttpHandlerOptions,
|
|
63
|
+
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void
|
|
64
|
+
): void;
|
|
44
65
|
createBillingView(
|
|
45
66
|
args: CreateBillingViewCommandInput,
|
|
46
67
|
options?: __HttpHandlerOptions
|
|
@@ -67,6 +88,19 @@ export interface Billing {
|
|
|
67
88
|
options: __HttpHandlerOptions,
|
|
68
89
|
cb: (err: any, data?: DeleteBillingViewCommandOutput) => void
|
|
69
90
|
): void;
|
|
91
|
+
disassociateSourceViews(
|
|
92
|
+
args: DisassociateSourceViewsCommandInput,
|
|
93
|
+
options?: __HttpHandlerOptions
|
|
94
|
+
): Promise<DisassociateSourceViewsCommandOutput>;
|
|
95
|
+
disassociateSourceViews(
|
|
96
|
+
args: DisassociateSourceViewsCommandInput,
|
|
97
|
+
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void
|
|
98
|
+
): void;
|
|
99
|
+
disassociateSourceViews(
|
|
100
|
+
args: DisassociateSourceViewsCommandInput,
|
|
101
|
+
options: __HttpHandlerOptions,
|
|
102
|
+
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void
|
|
103
|
+
): void;
|
|
70
104
|
getBillingView(
|
|
71
105
|
args: GetBillingViewCommandInput,
|
|
72
106
|
options?: __HttpHandlerOptions
|
|
@@ -45,6 +45,10 @@ import {
|
|
|
45
45
|
HttpAuthSchemeInputConfig,
|
|
46
46
|
HttpAuthSchemeResolvedConfig,
|
|
47
47
|
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
AssociateSourceViewsCommandInput,
|
|
50
|
+
AssociateSourceViewsCommandOutput,
|
|
51
|
+
} from "./commands/AssociateSourceViewsCommand";
|
|
48
52
|
import {
|
|
49
53
|
CreateBillingViewCommandInput,
|
|
50
54
|
CreateBillingViewCommandOutput,
|
|
@@ -53,6 +57,10 @@ import {
|
|
|
53
57
|
DeleteBillingViewCommandInput,
|
|
54
58
|
DeleteBillingViewCommandOutput,
|
|
55
59
|
} from "./commands/DeleteBillingViewCommand";
|
|
60
|
+
import {
|
|
61
|
+
DisassociateSourceViewsCommandInput,
|
|
62
|
+
DisassociateSourceViewsCommandOutput,
|
|
63
|
+
} from "./commands/DisassociateSourceViewsCommand";
|
|
56
64
|
import {
|
|
57
65
|
GetBillingViewCommandInput,
|
|
58
66
|
GetBillingViewCommandOutput,
|
|
@@ -93,8 +101,10 @@ import {
|
|
|
93
101
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
94
102
|
export { __Client };
|
|
95
103
|
export type ServiceInputTypes =
|
|
104
|
+
| AssociateSourceViewsCommandInput
|
|
96
105
|
| CreateBillingViewCommandInput
|
|
97
106
|
| DeleteBillingViewCommandInput
|
|
107
|
+
| DisassociateSourceViewsCommandInput
|
|
98
108
|
| GetBillingViewCommandInput
|
|
99
109
|
| GetResourcePolicyCommandInput
|
|
100
110
|
| ListBillingViewsCommandInput
|
|
@@ -104,8 +114,10 @@ export type ServiceInputTypes =
|
|
|
104
114
|
| UntagResourceCommandInput
|
|
105
115
|
| UpdateBillingViewCommandInput;
|
|
106
116
|
export type ServiceOutputTypes =
|
|
117
|
+
| AssociateSourceViewsCommandOutput
|
|
107
118
|
| CreateBillingViewCommandOutput
|
|
108
119
|
| DeleteBillingViewCommandOutput
|
|
120
|
+
| DisassociateSourceViewsCommandOutput
|
|
109
121
|
| GetBillingViewCommandOutput
|
|
110
122
|
| GetResourcePolicyCommandOutput
|
|
111
123
|
| ListBillingViewsCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BillingClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BillingClient";
|
|
8
|
+
import {
|
|
9
|
+
AssociateSourceViewsRequest,
|
|
10
|
+
AssociateSourceViewsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface AssociateSourceViewsCommandInput
|
|
15
|
+
extends AssociateSourceViewsRequest {}
|
|
16
|
+
export interface AssociateSourceViewsCommandOutput
|
|
17
|
+
extends AssociateSourceViewsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const AssociateSourceViewsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: AssociateSourceViewsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
AssociateSourceViewsCommandInput,
|
|
24
|
+
AssociateSourceViewsCommandOutput,
|
|
25
|
+
BillingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: AssociateSourceViewsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
AssociateSourceViewsCommandInput,
|
|
33
|
+
AssociateSourceViewsCommandOutput,
|
|
34
|
+
BillingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class AssociateSourceViewsCommand extends AssociateSourceViewsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: AssociateSourceViewsRequest;
|
|
44
|
+
output: AssociateSourceViewsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: AssociateSourceViewsCommandInput;
|
|
48
|
+
output: AssociateSourceViewsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BillingClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BillingClient";
|
|
8
|
+
import {
|
|
9
|
+
DisassociateSourceViewsRequest,
|
|
10
|
+
DisassociateSourceViewsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DisassociateSourceViewsCommandInput
|
|
15
|
+
extends DisassociateSourceViewsRequest {}
|
|
16
|
+
export interface DisassociateSourceViewsCommandOutput
|
|
17
|
+
extends DisassociateSourceViewsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DisassociateSourceViewsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DisassociateSourceViewsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DisassociateSourceViewsCommandInput,
|
|
24
|
+
DisassociateSourceViewsCommandOutput,
|
|
25
|
+
BillingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DisassociateSourceViewsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DisassociateSourceViewsCommandInput,
|
|
33
|
+
DisassociateSourceViewsCommandOutput,
|
|
34
|
+
BillingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DisassociateSourceViewsCommand extends DisassociateSourceViewsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DisassociateSourceViewsRequest;
|
|
44
|
+
output: DisassociateSourceViewsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DisassociateSourceViewsCommandInput;
|
|
48
|
+
output: DisassociateSourceViewsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export * from "./AssociateSourceViewsCommand";
|
|
1
2
|
export * from "./CreateBillingViewCommand";
|
|
2
3
|
export * from "./DeleteBillingViewCommand";
|
|
4
|
+
export * from "./DisassociateSourceViewsCommand";
|
|
3
5
|
export * from "./GetBillingViewCommand";
|
|
4
6
|
export * from "./GetResourcePolicyCommand";
|
|
5
7
|
export * from "./ListBillingViewsCommand";
|
|
@@ -11,6 +11,23 @@ export interface ActiveTimeRange {
|
|
|
11
11
|
activeAfterInclusive: Date | undefined;
|
|
12
12
|
activeBeforeInclusive: Date | undefined;
|
|
13
13
|
}
|
|
14
|
+
export interface AssociateSourceViewsRequest {
|
|
15
|
+
arn: string | undefined;
|
|
16
|
+
sourceViews: string[] | undefined;
|
|
17
|
+
}
|
|
18
|
+
export interface AssociateSourceViewsResponse {
|
|
19
|
+
arn: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare class BillingViewHealthStatusException extends __BaseException {
|
|
22
|
+
readonly name: "BillingViewHealthStatusException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<
|
|
26
|
+
BillingViewHealthStatusException,
|
|
27
|
+
__BaseException
|
|
28
|
+
>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
14
31
|
export declare class ConflictException extends __BaseException {
|
|
15
32
|
readonly name: "ConflictException";
|
|
16
33
|
readonly $fault: "client";
|
|
@@ -18,38 +35,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
18
35
|
resourceType: string | undefined;
|
|
19
36
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
37
|
}
|
|
21
|
-
export declare const Dimension: {
|
|
22
|
-
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
23
|
-
};
|
|
24
|
-
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
25
|
-
export interface DimensionValues {
|
|
26
|
-
key: Dimension | undefined;
|
|
27
|
-
values: string[] | undefined;
|
|
28
|
-
}
|
|
29
|
-
export interface TagValues {
|
|
30
|
-
key: string | undefined;
|
|
31
|
-
values: string[] | undefined;
|
|
32
|
-
}
|
|
33
|
-
export interface Expression {
|
|
34
|
-
dimensions?: DimensionValues | undefined;
|
|
35
|
-
tags?: TagValues | undefined;
|
|
36
|
-
}
|
|
37
|
-
export interface ResourceTag {
|
|
38
|
-
key: string | undefined;
|
|
39
|
-
value?: string | undefined;
|
|
40
|
-
}
|
|
41
|
-
export interface CreateBillingViewRequest {
|
|
42
|
-
name: string | undefined;
|
|
43
|
-
description?: string | undefined;
|
|
44
|
-
sourceViews: string[] | undefined;
|
|
45
|
-
dataFilterExpression?: Expression | undefined;
|
|
46
|
-
clientToken?: string | undefined;
|
|
47
|
-
resourceTags?: ResourceTag[] | undefined;
|
|
48
|
-
}
|
|
49
|
-
export interface CreateBillingViewResponse {
|
|
50
|
-
arn: string | undefined;
|
|
51
|
-
createdAt?: Date | undefined;
|
|
52
|
-
}
|
|
53
38
|
export declare class InternalServerException extends __BaseException {
|
|
54
39
|
readonly name: "InternalServerException";
|
|
55
40
|
readonly $fault: "server";
|
|
@@ -57,6 +42,15 @@ export declare class InternalServerException extends __BaseException {
|
|
|
57
42
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
58
43
|
);
|
|
59
44
|
}
|
|
45
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
readonly name: "ResourceNotFoundException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
resourceId: string | undefined;
|
|
49
|
+
resourceType: string | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
60
54
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
61
55
|
readonly name: "ServiceQuotaExceededException";
|
|
62
56
|
readonly $fault: "client";
|
|
@@ -96,12 +90,57 @@ export declare class ValidationException extends __BaseException {
|
|
|
96
90
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
97
91
|
);
|
|
98
92
|
}
|
|
93
|
+
export declare const Dimension: {
|
|
94
|
+
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
95
|
+
};
|
|
96
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
97
|
+
export interface DimensionValues {
|
|
98
|
+
key: Dimension | undefined;
|
|
99
|
+
values: string[] | undefined;
|
|
100
|
+
}
|
|
101
|
+
export interface TagValues {
|
|
102
|
+
key: string | undefined;
|
|
103
|
+
values: string[] | undefined;
|
|
104
|
+
}
|
|
105
|
+
export interface TimeRange {
|
|
106
|
+
beginDateInclusive?: Date | undefined;
|
|
107
|
+
endDateInclusive?: Date | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface Expression {
|
|
110
|
+
dimensions?: DimensionValues | undefined;
|
|
111
|
+
tags?: TagValues | undefined;
|
|
112
|
+
timeRange?: TimeRange | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface ResourceTag {
|
|
115
|
+
key: string | undefined;
|
|
116
|
+
value?: string | undefined;
|
|
117
|
+
}
|
|
118
|
+
export interface CreateBillingViewRequest {
|
|
119
|
+
name: string | undefined;
|
|
120
|
+
description?: string | undefined;
|
|
121
|
+
sourceViews: string[] | undefined;
|
|
122
|
+
dataFilterExpression?: Expression | undefined;
|
|
123
|
+
clientToken?: string | undefined;
|
|
124
|
+
resourceTags?: ResourceTag[] | undefined;
|
|
125
|
+
}
|
|
126
|
+
export interface CreateBillingViewResponse {
|
|
127
|
+
arn: string | undefined;
|
|
128
|
+
createdAt?: Date | undefined;
|
|
129
|
+
}
|
|
99
130
|
export interface DeleteBillingViewRequest {
|
|
100
131
|
arn: string | undefined;
|
|
132
|
+
force?: boolean | undefined;
|
|
101
133
|
}
|
|
102
134
|
export interface DeleteBillingViewResponse {
|
|
103
135
|
arn: string | undefined;
|
|
104
136
|
}
|
|
137
|
+
export interface DisassociateSourceViewsRequest {
|
|
138
|
+
arn: string | undefined;
|
|
139
|
+
sourceViews: string[] | undefined;
|
|
140
|
+
}
|
|
141
|
+
export interface DisassociateSourceViewsResponse {
|
|
142
|
+
arn: string | undefined;
|
|
143
|
+
}
|
|
105
144
|
export interface GetBillingViewRequest {
|
|
106
145
|
arn: string | undefined;
|
|
107
146
|
}
|
|
@@ -112,28 +151,48 @@ export declare const BillingViewType: {
|
|
|
112
151
|
};
|
|
113
152
|
export type BillingViewType =
|
|
114
153
|
(typeof BillingViewType)[keyof typeof BillingViewType];
|
|
154
|
+
export declare const BillingViewStatus: {
|
|
155
|
+
readonly CREATING: "CREATING";
|
|
156
|
+
readonly HEALTHY: "HEALTHY";
|
|
157
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
158
|
+
readonly UPDATING: "UPDATING";
|
|
159
|
+
};
|
|
160
|
+
export type BillingViewStatus =
|
|
161
|
+
(typeof BillingViewStatus)[keyof typeof BillingViewStatus];
|
|
162
|
+
export declare const BillingViewStatusReason: {
|
|
163
|
+
readonly AGGREGATE_SOURCE: "AGGREGATE_SOURCE";
|
|
164
|
+
readonly CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY";
|
|
165
|
+
readonly SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED";
|
|
166
|
+
readonly SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED";
|
|
167
|
+
readonly SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND";
|
|
168
|
+
readonly SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY";
|
|
169
|
+
readonly SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING";
|
|
170
|
+
readonly VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT";
|
|
171
|
+
};
|
|
172
|
+
export type BillingViewStatusReason =
|
|
173
|
+
(typeof BillingViewStatusReason)[keyof typeof BillingViewStatusReason];
|
|
174
|
+
export interface BillingViewHealthStatus {
|
|
175
|
+
statusCode?: BillingViewStatus | undefined;
|
|
176
|
+
statusReasons?: BillingViewStatusReason[] | undefined;
|
|
177
|
+
}
|
|
115
178
|
export interface BillingViewElement {
|
|
116
179
|
arn?: string | undefined;
|
|
117
180
|
name?: string | undefined;
|
|
118
181
|
description?: string | undefined;
|
|
119
182
|
billingViewType?: BillingViewType | undefined;
|
|
120
183
|
ownerAccountId?: string | undefined;
|
|
184
|
+
sourceAccountId?: string | undefined;
|
|
121
185
|
dataFilterExpression?: Expression | undefined;
|
|
122
186
|
createdAt?: Date | undefined;
|
|
123
187
|
updatedAt?: Date | undefined;
|
|
188
|
+
derivedViewCount?: number | undefined;
|
|
189
|
+
sourceViewCount?: number | undefined;
|
|
190
|
+
viewDefinitionLastUpdatedAt?: Date | undefined;
|
|
191
|
+
healthStatus?: BillingViewHealthStatus | undefined;
|
|
124
192
|
}
|
|
125
193
|
export interface GetBillingViewResponse {
|
|
126
194
|
billingView: BillingViewElement | undefined;
|
|
127
195
|
}
|
|
128
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
129
|
-
readonly name: "ResourceNotFoundException";
|
|
130
|
-
readonly $fault: "client";
|
|
131
|
-
resourceId: string | undefined;
|
|
132
|
-
resourceType: string | undefined;
|
|
133
|
-
constructor(
|
|
134
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
196
|
export interface GetResourcePolicyRequest {
|
|
138
197
|
resourceArn: string | undefined;
|
|
139
198
|
}
|
|
@@ -146,6 +205,7 @@ export interface ListBillingViewsRequest {
|
|
|
146
205
|
arns?: string[] | undefined;
|
|
147
206
|
billingViewTypes?: BillingViewType[] | undefined;
|
|
148
207
|
ownerAccountId?: string | undefined;
|
|
208
|
+
sourceAccountId?: string | undefined;
|
|
149
209
|
maxResults?: number | undefined;
|
|
150
210
|
nextToken?: string | undefined;
|
|
151
211
|
}
|
|
@@ -154,7 +214,9 @@ export interface BillingViewListElement {
|
|
|
154
214
|
name?: string | undefined;
|
|
155
215
|
description?: string | undefined;
|
|
156
216
|
ownerAccountId?: string | undefined;
|
|
217
|
+
sourceAccountId?: string | undefined;
|
|
157
218
|
billingViewType?: BillingViewType | undefined;
|
|
219
|
+
healthStatus?: BillingViewHealthStatus | undefined;
|
|
158
220
|
}
|
|
159
221
|
export interface ListBillingViewsResponse {
|
|
160
222
|
billingViews: BillingViewListElement[] | undefined;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
AssociateSourceViewsCommandInput,
|
|
8
|
+
AssociateSourceViewsCommandOutput,
|
|
9
|
+
} from "../commands/AssociateSourceViewsCommand";
|
|
6
10
|
import {
|
|
7
11
|
CreateBillingViewCommandInput,
|
|
8
12
|
CreateBillingViewCommandOutput,
|
|
@@ -11,6 +15,10 @@ import {
|
|
|
11
15
|
DeleteBillingViewCommandInput,
|
|
12
16
|
DeleteBillingViewCommandOutput,
|
|
13
17
|
} from "../commands/DeleteBillingViewCommand";
|
|
18
|
+
import {
|
|
19
|
+
DisassociateSourceViewsCommandInput,
|
|
20
|
+
DisassociateSourceViewsCommandOutput,
|
|
21
|
+
} from "../commands/DisassociateSourceViewsCommand";
|
|
14
22
|
import {
|
|
15
23
|
GetBillingViewCommandInput,
|
|
16
24
|
GetBillingViewCommandOutput,
|
|
@@ -43,6 +51,10 @@ import {
|
|
|
43
51
|
UpdateBillingViewCommandInput,
|
|
44
52
|
UpdateBillingViewCommandOutput,
|
|
45
53
|
} from "../commands/UpdateBillingViewCommand";
|
|
54
|
+
export declare const se_AssociateSourceViewsCommand: (
|
|
55
|
+
input: AssociateSourceViewsCommandInput,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<__HttpRequest>;
|
|
46
58
|
export declare const se_CreateBillingViewCommand: (
|
|
47
59
|
input: CreateBillingViewCommandInput,
|
|
48
60
|
context: __SerdeContext
|
|
@@ -51,6 +63,10 @@ export declare const se_DeleteBillingViewCommand: (
|
|
|
51
63
|
input: DeleteBillingViewCommandInput,
|
|
52
64
|
context: __SerdeContext
|
|
53
65
|
) => Promise<__HttpRequest>;
|
|
66
|
+
export declare const se_DisassociateSourceViewsCommand: (
|
|
67
|
+
input: DisassociateSourceViewsCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
54
70
|
export declare const se_GetBillingViewCommand: (
|
|
55
71
|
input: GetBillingViewCommandInput,
|
|
56
72
|
context: __SerdeContext
|
|
@@ -83,6 +99,10 @@ export declare const se_UpdateBillingViewCommand: (
|
|
|
83
99
|
input: UpdateBillingViewCommandInput,
|
|
84
100
|
context: __SerdeContext
|
|
85
101
|
) => Promise<__HttpRequest>;
|
|
102
|
+
export declare const de_AssociateSourceViewsCommand: (
|
|
103
|
+
output: __HttpResponse,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<AssociateSourceViewsCommandOutput>;
|
|
86
106
|
export declare const de_CreateBillingViewCommand: (
|
|
87
107
|
output: __HttpResponse,
|
|
88
108
|
context: __SerdeContext
|
|
@@ -91,6 +111,10 @@ export declare const de_DeleteBillingViewCommand: (
|
|
|
91
111
|
output: __HttpResponse,
|
|
92
112
|
context: __SerdeContext
|
|
93
113
|
) => Promise<DeleteBillingViewCommandOutput>;
|
|
114
|
+
export declare const de_DisassociateSourceViewsCommand: (
|
|
115
|
+
output: __HttpResponse,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<DisassociateSourceViewsCommandOutput>;
|
|
94
118
|
export declare const de_GetBillingViewCommand: (
|
|
95
119
|
output: __HttpResponse,
|
|
96
120
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.898.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-billing",
|
|
@@ -20,45 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.896.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.896.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.896.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.896.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.12.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.4",
|
|
41
|
+
"@smithy/middleware-retry": "^4.3.0",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.4",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.4",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
57
|
"@smithy/util-retry": "^4.1.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.1.0",
|
|
59
|
-
"@
|
|
60
|
-
"tslib": "^2.6.2"
|
|
61
|
-
"uuid": "^9.0.1"
|
|
59
|
+
"@smithy/uuid": "^1.0.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
63
|
"@tsconfig/node18": "18.2.4",
|