@aws-sdk/client-billing 3.716.0 → 3.717.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 +72 -0
- package/dist-cjs/Billing.js +18 -0
- package/dist-cjs/commands/CreateBillingViewCommand.js +27 -0
- package/dist-cjs/commands/DeleteBillingViewCommand.js +26 -0
- package/dist-cjs/commands/GetBillingViewCommand.js +27 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +26 -0
- package/dist-cjs/commands/ListSourceViewsForBillingViewCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateBillingViewCommand.js +27 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +80 -5
- package/dist-cjs/pagination/ListSourceViewsForBillingViewPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +269 -1
- package/dist-es/Billing.js +18 -0
- package/dist-es/commands/CreateBillingViewCommand.js +23 -0
- package/dist-es/commands/DeleteBillingViewCommand.js +22 -0
- package/dist-es/commands/GetBillingViewCommand.js +23 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateBillingViewCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +72 -4
- package/dist-es/pagination/ListSourceViewsForBillingViewPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +252 -2
- package/dist-types/Billing.d.ts +64 -0
- package/dist-types/BillingClient.d.ts +11 -2
- package/dist-types/commands/CreateBillingViewCommand.d.ts +124 -0
- package/dist-types/commands/DeleteBillingViewCommand.d.ts +91 -0
- package/dist-types/commands/GetBillingViewCommand.d.ts +114 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/ListBillingViewsCommand.d.ts +12 -4
- package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +97 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +97 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateBillingViewCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +640 -37
- package/dist-types/pagination/ListSourceViewsForBillingViewPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +81 -0
- package/dist-types/ts3.4/Billing.d.ts +154 -0
- package/dist-types/ts3.4/BillingClient.d.ts +58 -2
- package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +10 -6
- package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +160 -20
- package/dist-types/ts3.4/pagination/ListSourceViewsForBillingViewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +108 -0
- package/package.json +4 -2
|
@@ -12,6 +12,23 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export class ConflictException extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "ConflictException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts,
|
|
21
|
+
});
|
|
22
|
+
this.name = "ConflictException";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
25
|
+
this.resourceId = opts.resourceId;
|
|
26
|
+
this.resourceType = opts.resourceType;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export const Dimension = {
|
|
30
|
+
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
31
|
+
};
|
|
15
32
|
export class InternalServerException extends __BaseException {
|
|
16
33
|
constructor(opts) {
|
|
17
34
|
super({
|
|
@@ -24,10 +41,22 @@ export class InternalServerException extends __BaseException {
|
|
|
24
41
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
25
42
|
}
|
|
26
43
|
}
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
44
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "ServiceQuotaExceededException",
|
|
48
|
+
$fault: "client",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
this.name = "ServiceQuotaExceededException";
|
|
52
|
+
this.$fault = "client";
|
|
53
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
54
|
+
this.resourceId = opts.resourceId;
|
|
55
|
+
this.resourceType = opts.resourceType;
|
|
56
|
+
this.serviceCode = opts.serviceCode;
|
|
57
|
+
this.quotaCode = opts.quotaCode;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
31
60
|
export class ThrottlingException extends __BaseException {
|
|
32
61
|
constructor(opts) {
|
|
33
62
|
super({
|
|
@@ -60,9 +89,43 @@ export class ValidationException extends __BaseException {
|
|
|
60
89
|
this.fieldList = opts.fieldList;
|
|
61
90
|
}
|
|
62
91
|
}
|
|
92
|
+
export const BillingViewType = {
|
|
93
|
+
BILLING_GROUP: "BILLING_GROUP",
|
|
94
|
+
CUSTOM: "CUSTOM",
|
|
95
|
+
PRIMARY: "PRIMARY",
|
|
96
|
+
};
|
|
97
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "ResourceNotFoundException",
|
|
101
|
+
$fault: "client",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
this.name = "ResourceNotFoundException";
|
|
105
|
+
this.$fault = "client";
|
|
106
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
107
|
+
this.resourceId = opts.resourceId;
|
|
108
|
+
this.resourceType = opts.resourceType;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
export const CreateBillingViewRequestFilterSensitiveLog = (obj) => ({
|
|
112
|
+
...obj,
|
|
113
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
114
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
115
|
+
});
|
|
116
|
+
export const BillingViewElementFilterSensitiveLog = (obj) => ({
|
|
117
|
+
...obj,
|
|
118
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
119
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
120
|
+
});
|
|
121
|
+
export const GetBillingViewResponseFilterSensitiveLog = (obj) => ({
|
|
122
|
+
...obj,
|
|
123
|
+
...(obj.billingView && { billingView: BillingViewElementFilterSensitiveLog(obj.billingView) }),
|
|
124
|
+
});
|
|
63
125
|
export const BillingViewListElementFilterSensitiveLog = (obj) => ({
|
|
64
126
|
...obj,
|
|
65
127
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
128
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
66
129
|
});
|
|
67
130
|
export const ListBillingViewsResponseFilterSensitiveLog = (obj) => ({
|
|
68
131
|
...obj,
|
|
@@ -70,3 +133,8 @@ export const ListBillingViewsResponseFilterSensitiveLog = (obj) => ({
|
|
|
70
133
|
billingViews: obj.billingViews.map((item) => BillingViewListElementFilterSensitiveLog(item)),
|
|
71
134
|
}),
|
|
72
135
|
});
|
|
136
|
+
export const UpdateBillingViewRequestFilterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
139
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
140
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BillingClient } from "../BillingClient";
|
|
3
|
+
import { ListSourceViewsForBillingViewCommand, } from "../commands/ListSourceViewsForBillingViewCommand";
|
|
4
|
+
export const paginateListSourceViewsForBillingView = createPaginator(BillingClient, ListSourceViewsForBillingViewCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,14 +1,121 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
5
|
import { BillingServiceException as __BaseException } from "../models/BillingServiceException";
|
|
5
|
-
import { AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
7
|
+
export const se_CreateBillingViewCommand = async (input, context) => {
|
|
8
|
+
const headers = sharedHeaders("CreateBillingView");
|
|
9
|
+
let body;
|
|
10
|
+
body = JSON.stringify(se_CreateBillingViewRequest(input, context));
|
|
11
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
+
};
|
|
13
|
+
export const se_DeleteBillingViewCommand = async (input, context) => {
|
|
14
|
+
const headers = sharedHeaders("DeleteBillingView");
|
|
15
|
+
let body;
|
|
16
|
+
body = JSON.stringify(_json(input));
|
|
17
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
|
+
};
|
|
19
|
+
export const se_GetBillingViewCommand = async (input, context) => {
|
|
20
|
+
const headers = sharedHeaders("GetBillingView");
|
|
21
|
+
let body;
|
|
22
|
+
body = JSON.stringify(_json(input));
|
|
23
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
|
+
};
|
|
25
|
+
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
26
|
+
const headers = sharedHeaders("GetResourcePolicy");
|
|
27
|
+
let body;
|
|
28
|
+
body = JSON.stringify(_json(input));
|
|
29
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
+
};
|
|
6
31
|
export const se_ListBillingViewsCommand = async (input, context) => {
|
|
7
32
|
const headers = sharedHeaders("ListBillingViews");
|
|
8
33
|
let body;
|
|
9
34
|
body = JSON.stringify(se_ListBillingViewsRequest(input, context));
|
|
10
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
36
|
};
|
|
37
|
+
export const se_ListSourceViewsForBillingViewCommand = async (input, context) => {
|
|
38
|
+
const headers = sharedHeaders("ListSourceViewsForBillingView");
|
|
39
|
+
let body;
|
|
40
|
+
body = JSON.stringify(_json(input));
|
|
41
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
+
};
|
|
43
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
44
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
45
|
+
let body;
|
|
46
|
+
body = JSON.stringify(_json(input));
|
|
47
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
+
};
|
|
49
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
50
|
+
const headers = sharedHeaders("TagResource");
|
|
51
|
+
let body;
|
|
52
|
+
body = JSON.stringify(_json(input));
|
|
53
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
+
};
|
|
55
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
56
|
+
const headers = sharedHeaders("UntagResource");
|
|
57
|
+
let body;
|
|
58
|
+
body = JSON.stringify(_json(input));
|
|
59
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
+
};
|
|
61
|
+
export const se_UpdateBillingViewCommand = async (input, context) => {
|
|
62
|
+
const headers = sharedHeaders("UpdateBillingView");
|
|
63
|
+
let body;
|
|
64
|
+
body = JSON.stringify(_json(input));
|
|
65
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
|
+
};
|
|
67
|
+
export const de_CreateBillingViewCommand = async (output, context) => {
|
|
68
|
+
if (output.statusCode >= 300) {
|
|
69
|
+
return de_CommandError(output, context);
|
|
70
|
+
}
|
|
71
|
+
const data = await parseBody(output.body, context);
|
|
72
|
+
let contents = {};
|
|
73
|
+
contents = de_CreateBillingViewResponse(data, context);
|
|
74
|
+
const response = {
|
|
75
|
+
$metadata: deserializeMetadata(output),
|
|
76
|
+
...contents,
|
|
77
|
+
};
|
|
78
|
+
return response;
|
|
79
|
+
};
|
|
80
|
+
export const de_DeleteBillingViewCommand = async (output, context) => {
|
|
81
|
+
if (output.statusCode >= 300) {
|
|
82
|
+
return de_CommandError(output, context);
|
|
83
|
+
}
|
|
84
|
+
const data = await parseBody(output.body, context);
|
|
85
|
+
let contents = {};
|
|
86
|
+
contents = _json(data);
|
|
87
|
+
const response = {
|
|
88
|
+
$metadata: deserializeMetadata(output),
|
|
89
|
+
...contents,
|
|
90
|
+
};
|
|
91
|
+
return response;
|
|
92
|
+
};
|
|
93
|
+
export const de_GetBillingViewCommand = async (output, context) => {
|
|
94
|
+
if (output.statusCode >= 300) {
|
|
95
|
+
return de_CommandError(output, context);
|
|
96
|
+
}
|
|
97
|
+
const data = await parseBody(output.body, context);
|
|
98
|
+
let contents = {};
|
|
99
|
+
contents = de_GetBillingViewResponse(data, context);
|
|
100
|
+
const response = {
|
|
101
|
+
$metadata: deserializeMetadata(output),
|
|
102
|
+
...contents,
|
|
103
|
+
};
|
|
104
|
+
return response;
|
|
105
|
+
};
|
|
106
|
+
export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
107
|
+
if (output.statusCode >= 300) {
|
|
108
|
+
return de_CommandError(output, context);
|
|
109
|
+
}
|
|
110
|
+
const data = await parseBody(output.body, context);
|
|
111
|
+
let contents = {};
|
|
112
|
+
contents = _json(data);
|
|
113
|
+
const response = {
|
|
114
|
+
$metadata: deserializeMetadata(output),
|
|
115
|
+
...contents,
|
|
116
|
+
};
|
|
117
|
+
return response;
|
|
118
|
+
};
|
|
12
119
|
export const de_ListBillingViewsCommand = async (output, context) => {
|
|
13
120
|
if (output.statusCode >= 300) {
|
|
14
121
|
return de_CommandError(output, context);
|
|
@@ -22,6 +129,71 @@ export const de_ListBillingViewsCommand = async (output, context) => {
|
|
|
22
129
|
};
|
|
23
130
|
return response;
|
|
24
131
|
};
|
|
132
|
+
export const de_ListSourceViewsForBillingViewCommand = async (output, context) => {
|
|
133
|
+
if (output.statusCode >= 300) {
|
|
134
|
+
return de_CommandError(output, context);
|
|
135
|
+
}
|
|
136
|
+
const data = await parseBody(output.body, context);
|
|
137
|
+
let contents = {};
|
|
138
|
+
contents = _json(data);
|
|
139
|
+
const response = {
|
|
140
|
+
$metadata: deserializeMetadata(output),
|
|
141
|
+
...contents,
|
|
142
|
+
};
|
|
143
|
+
return response;
|
|
144
|
+
};
|
|
145
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
146
|
+
if (output.statusCode >= 300) {
|
|
147
|
+
return de_CommandError(output, context);
|
|
148
|
+
}
|
|
149
|
+
const data = await parseBody(output.body, context);
|
|
150
|
+
let contents = {};
|
|
151
|
+
contents = _json(data);
|
|
152
|
+
const response = {
|
|
153
|
+
$metadata: deserializeMetadata(output),
|
|
154
|
+
...contents,
|
|
155
|
+
};
|
|
156
|
+
return response;
|
|
157
|
+
};
|
|
158
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
159
|
+
if (output.statusCode >= 300) {
|
|
160
|
+
return de_CommandError(output, context);
|
|
161
|
+
}
|
|
162
|
+
const data = await parseBody(output.body, context);
|
|
163
|
+
let contents = {};
|
|
164
|
+
contents = _json(data);
|
|
165
|
+
const response = {
|
|
166
|
+
$metadata: deserializeMetadata(output),
|
|
167
|
+
...contents,
|
|
168
|
+
};
|
|
169
|
+
return response;
|
|
170
|
+
};
|
|
171
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
172
|
+
if (output.statusCode >= 300) {
|
|
173
|
+
return de_CommandError(output, context);
|
|
174
|
+
}
|
|
175
|
+
const data = await parseBody(output.body, context);
|
|
176
|
+
let contents = {};
|
|
177
|
+
contents = _json(data);
|
|
178
|
+
const response = {
|
|
179
|
+
$metadata: deserializeMetadata(output),
|
|
180
|
+
...contents,
|
|
181
|
+
};
|
|
182
|
+
return response;
|
|
183
|
+
};
|
|
184
|
+
export const de_UpdateBillingViewCommand = async (output, context) => {
|
|
185
|
+
if (output.statusCode >= 300) {
|
|
186
|
+
return de_CommandError(output, context);
|
|
187
|
+
}
|
|
188
|
+
const data = await parseBody(output.body, context);
|
|
189
|
+
let contents = {};
|
|
190
|
+
contents = de_UpdateBillingViewResponse(data, context);
|
|
191
|
+
const response = {
|
|
192
|
+
$metadata: deserializeMetadata(output),
|
|
193
|
+
...contents,
|
|
194
|
+
};
|
|
195
|
+
return response;
|
|
196
|
+
};
|
|
25
197
|
const de_CommandError = async (output, context) => {
|
|
26
198
|
const parsedOutput = {
|
|
27
199
|
...output,
|
|
@@ -32,15 +204,24 @@ const de_CommandError = async (output, context) => {
|
|
|
32
204
|
case "AccessDeniedException":
|
|
33
205
|
case "com.amazonaws.billing#AccessDeniedException":
|
|
34
206
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
207
|
+
case "ConflictException":
|
|
208
|
+
case "com.amazonaws.billing#ConflictException":
|
|
209
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
35
210
|
case "InternalServerException":
|
|
36
211
|
case "com.amazonaws.billing#InternalServerException":
|
|
37
212
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
213
|
+
case "ServiceQuotaExceededException":
|
|
214
|
+
case "com.amazonaws.billing#ServiceQuotaExceededException":
|
|
215
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
38
216
|
case "ThrottlingException":
|
|
39
217
|
case "com.amazonaws.billing#ThrottlingException":
|
|
40
218
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
41
219
|
case "ValidationException":
|
|
42
220
|
case "com.amazonaws.billing#ValidationException":
|
|
43
221
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
222
|
+
case "ResourceNotFoundException":
|
|
223
|
+
case "com.amazonaws.billing#ResourceNotFoundException":
|
|
224
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
44
225
|
default:
|
|
45
226
|
const parsedBody = parsedOutput.body;
|
|
46
227
|
return throwDefaultError({
|
|
@@ -59,6 +240,15 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
59
240
|
});
|
|
60
241
|
return __decorateServiceException(exception, body);
|
|
61
242
|
};
|
|
243
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
244
|
+
const body = parsedOutput.body;
|
|
245
|
+
const deserialized = _json(body);
|
|
246
|
+
const exception = new ConflictException({
|
|
247
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
248
|
+
...deserialized,
|
|
249
|
+
});
|
|
250
|
+
return __decorateServiceException(exception, body);
|
|
251
|
+
};
|
|
62
252
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
63
253
|
const body = parsedOutput.body;
|
|
64
254
|
const deserialized = _json(body);
|
|
@@ -68,6 +258,24 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
68
258
|
});
|
|
69
259
|
return __decorateServiceException(exception, body);
|
|
70
260
|
};
|
|
261
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
262
|
+
const body = parsedOutput.body;
|
|
263
|
+
const deserialized = _json(body);
|
|
264
|
+
const exception = new ResourceNotFoundException({
|
|
265
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
266
|
+
...deserialized,
|
|
267
|
+
});
|
|
268
|
+
return __decorateServiceException(exception, body);
|
|
269
|
+
};
|
|
270
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
271
|
+
const body = parsedOutput.body;
|
|
272
|
+
const deserialized = _json(body);
|
|
273
|
+
const exception = new ServiceQuotaExceededException({
|
|
274
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
275
|
+
...deserialized,
|
|
276
|
+
});
|
|
277
|
+
return __decorateServiceException(exception, body);
|
|
278
|
+
};
|
|
71
279
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
72
280
|
const body = parsedOutput.body;
|
|
73
281
|
const deserialized = _json(body);
|
|
@@ -92,11 +300,53 @@ const se_ActiveTimeRange = (input, context) => {
|
|
|
92
300
|
activeBeforeInclusive: (_) => _.getTime() / 1000,
|
|
93
301
|
});
|
|
94
302
|
};
|
|
303
|
+
const se_CreateBillingViewRequest = (input, context) => {
|
|
304
|
+
return take(input, {
|
|
305
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
306
|
+
dataFilterExpression: _json,
|
|
307
|
+
description: [],
|
|
308
|
+
name: [],
|
|
309
|
+
resourceTags: _json,
|
|
310
|
+
sourceViews: _json,
|
|
311
|
+
});
|
|
312
|
+
};
|
|
95
313
|
const se_ListBillingViewsRequest = (input, context) => {
|
|
96
314
|
return take(input, {
|
|
97
315
|
activeTimeRange: (_) => se_ActiveTimeRange(_, context),
|
|
316
|
+
arns: _json,
|
|
317
|
+
billingViewTypes: _json,
|
|
98
318
|
maxResults: [],
|
|
99
319
|
nextToken: [],
|
|
320
|
+
ownerAccountId: [],
|
|
321
|
+
});
|
|
322
|
+
};
|
|
323
|
+
const de_BillingViewElement = (output, context) => {
|
|
324
|
+
return take(output, {
|
|
325
|
+
arn: __expectString,
|
|
326
|
+
billingViewType: __expectString,
|
|
327
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
328
|
+
dataFilterExpression: _json,
|
|
329
|
+
description: __expectString,
|
|
330
|
+
name: __expectString,
|
|
331
|
+
ownerAccountId: __expectString,
|
|
332
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
333
|
+
});
|
|
334
|
+
};
|
|
335
|
+
const de_CreateBillingViewResponse = (output, context) => {
|
|
336
|
+
return take(output, {
|
|
337
|
+
arn: __expectString,
|
|
338
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
339
|
+
});
|
|
340
|
+
};
|
|
341
|
+
const de_GetBillingViewResponse = (output, context) => {
|
|
342
|
+
return take(output, {
|
|
343
|
+
billingView: (_) => de_BillingViewElement(_, context),
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
const de_UpdateBillingViewResponse = (output, context) => {
|
|
347
|
+
return take(output, {
|
|
348
|
+
arn: __expectString,
|
|
349
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
100
350
|
});
|
|
101
351
|
};
|
|
102
352
|
const deserializeMetadata = (output) => ({
|
package/dist-types/Billing.d.ts
CHANGED
|
@@ -1,13 +1,77 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BillingClient } from "./BillingClient";
|
|
3
|
+
import { CreateBillingViewCommandInput, CreateBillingViewCommandOutput } from "./commands/CreateBillingViewCommand";
|
|
4
|
+
import { DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput } from "./commands/DeleteBillingViewCommand";
|
|
5
|
+
import { GetBillingViewCommandInput, GetBillingViewCommandOutput } from "./commands/GetBillingViewCommand";
|
|
6
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
3
7
|
import { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
|
|
8
|
+
import { ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
|
|
9
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
10
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
11
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
12
|
+
import { UpdateBillingViewCommandInput, UpdateBillingViewCommandOutput } from "./commands/UpdateBillingViewCommand";
|
|
4
13
|
export interface Billing {
|
|
14
|
+
/**
|
|
15
|
+
* @see {@link CreateBillingViewCommand}
|
|
16
|
+
*/
|
|
17
|
+
createBillingView(args: CreateBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<CreateBillingViewCommandOutput>;
|
|
18
|
+
createBillingView(args: CreateBillingViewCommandInput, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
|
|
19
|
+
createBillingView(args: CreateBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
|
|
20
|
+
/**
|
|
21
|
+
* @see {@link DeleteBillingViewCommand}
|
|
22
|
+
*/
|
|
23
|
+
deleteBillingView(args: DeleteBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBillingViewCommandOutput>;
|
|
24
|
+
deleteBillingView(args: DeleteBillingViewCommandInput, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
|
|
25
|
+
deleteBillingView(args: DeleteBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link GetBillingViewCommand}
|
|
28
|
+
*/
|
|
29
|
+
getBillingView(args: GetBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<GetBillingViewCommandOutput>;
|
|
30
|
+
getBillingView(args: GetBillingViewCommandInput, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
|
|
31
|
+
getBillingView(args: GetBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
|
|
32
|
+
/**
|
|
33
|
+
* @see {@link GetResourcePolicyCommand}
|
|
34
|
+
*/
|
|
35
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
36
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
37
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
5
38
|
/**
|
|
6
39
|
* @see {@link ListBillingViewsCommand}
|
|
7
40
|
*/
|
|
41
|
+
listBillingViews(): Promise<ListBillingViewsCommandOutput>;
|
|
8
42
|
listBillingViews(args: ListBillingViewsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillingViewsCommandOutput>;
|
|
9
43
|
listBillingViews(args: ListBillingViewsCommandInput, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
|
|
10
44
|
listBillingViews(args: ListBillingViewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link ListSourceViewsForBillingViewCommand}
|
|
47
|
+
*/
|
|
48
|
+
listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceViewsForBillingViewCommandOutput>;
|
|
49
|
+
listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void): void;
|
|
50
|
+
listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link ListTagsForResourceCommand}
|
|
53
|
+
*/
|
|
54
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
55
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
56
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link TagResourceCommand}
|
|
59
|
+
*/
|
|
60
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
61
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
62
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link UntagResourceCommand}
|
|
65
|
+
*/
|
|
66
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
67
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
68
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link UpdateBillingViewCommand}
|
|
71
|
+
*/
|
|
72
|
+
updateBillingView(args: UpdateBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillingViewCommandOutput>;
|
|
73
|
+
updateBillingView(args: UpdateBillingViewCommandInput, cb: (err: any, data?: UpdateBillingViewCommandOutput) => void): void;
|
|
74
|
+
updateBillingView(args: UpdateBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillingViewCommandOutput) => void): void;
|
|
11
75
|
}
|
|
12
76
|
/**
|
|
13
77
|
* <p>
|
|
@@ -7,18 +7,27 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, 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 "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateBillingViewCommandInput, CreateBillingViewCommandOutput } from "./commands/CreateBillingViewCommand";
|
|
11
|
+
import { DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput } from "./commands/DeleteBillingViewCommand";
|
|
12
|
+
import { GetBillingViewCommandInput, GetBillingViewCommandOutput } from "./commands/GetBillingViewCommand";
|
|
13
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
10
14
|
import { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
|
|
15
|
+
import { ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
|
|
16
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
18
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateBillingViewCommandInput, UpdateBillingViewCommandOutput } from "./commands/UpdateBillingViewCommand";
|
|
11
20
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
12
21
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
13
22
|
export { __Client };
|
|
14
23
|
/**
|
|
15
24
|
* @public
|
|
16
25
|
*/
|
|
17
|
-
export type ServiceInputTypes = ListBillingViewsCommandInput;
|
|
26
|
+
export type ServiceInputTypes = CreateBillingViewCommandInput | DeleteBillingViewCommandInput | GetBillingViewCommandInput | GetResourcePolicyCommandInput | ListBillingViewsCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingViewCommandInput;
|
|
18
27
|
/**
|
|
19
28
|
* @public
|
|
20
29
|
*/
|
|
21
|
-
export type ServiceOutputTypes = ListBillingViewsCommandOutput;
|
|
30
|
+
export type ServiceOutputTypes = CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | GetBillingViewCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewsCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingViewCommandOutput;
|
|
22
31
|
/**
|
|
23
32
|
* @public
|
|
24
33
|
*/
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
|
|
4
|
+
import { CreateBillingViewRequest, CreateBillingViewResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBillingViewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBillingViewCommandInput extends CreateBillingViewRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBillingViewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBillingViewCommandOutput extends CreateBillingViewResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBillingViewCommand_base: {
|
|
25
|
+
new (input: CreateBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBillingViewCommandInput, CreateBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateBillingViewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBillingViewCommandInput, CreateBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Creates a billing view with the specified billing view attributes.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BillingClient, CreateBillingViewCommand } from "@aws-sdk/client-billing"; // ES Modules import
|
|
37
|
+
* // const { BillingClient, CreateBillingViewCommand } = require("@aws-sdk/client-billing"); // CommonJS import
|
|
38
|
+
* const client = new BillingClient(config);
|
|
39
|
+
* const input = { // CreateBillingViewRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* sourceViews: [ // BillingViewSourceViewsList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* dataFilterExpression: { // Expression
|
|
46
|
+
* dimensions: { // DimensionValues
|
|
47
|
+
* key: "LINKED_ACCOUNT", // required
|
|
48
|
+
* values: [ // Values // required
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* tags: { // TagValues
|
|
53
|
+
* key: "STRING_VALUE", // required
|
|
54
|
+
* values: [ // required
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* clientToken: "STRING_VALUE",
|
|
60
|
+
* resourceTags: [ // ResourceTagList
|
|
61
|
+
* { // ResourceTag
|
|
62
|
+
* key: "STRING_VALUE", // required
|
|
63
|
+
* value: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* };
|
|
67
|
+
* const command = new CreateBillingViewCommand(input);
|
|
68
|
+
* const response = await client.send(command);
|
|
69
|
+
* // { // CreateBillingViewResponse
|
|
70
|
+
* // arn: "STRING_VALUE", // required
|
|
71
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param CreateBillingViewCommandInput - {@link CreateBillingViewCommandInput}
|
|
77
|
+
* @returns {@link CreateBillingViewCommandOutput}
|
|
78
|
+
* @see {@link CreateBillingViewCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link CreateBillingViewCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ConflictException} (client fault)
|
|
86
|
+
* <p>
|
|
87
|
+
* The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
|
|
88
|
+
* </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
92
|
+
* </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
95
|
+
* <p>
|
|
96
|
+
* You've reached the limit of resources you can create, or exceeded the size of an individual resource.
|
|
97
|
+
* </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
100
|
+
* <p>The request was denied due to request throttling.
|
|
101
|
+
* </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
105
|
+
* </p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link BillingServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class CreateBillingViewCommand extends CreateBillingViewCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: CreateBillingViewRequest;
|
|
117
|
+
output: CreateBillingViewResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: CreateBillingViewCommandInput;
|
|
121
|
+
output: CreateBillingViewCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|