@aws-sdk/client-billing 3.934.0 → 3.935.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/dist-cjs/index.js +46 -32
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +35 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +1 -147
- package/dist-es/schemas/schemas_0.js +10 -3
- package/dist-types/commands/GetBillingViewCommand.d.ts +1 -1
- package/dist-types/commands/ListBillingViewsCommand.d.ts +8 -2
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +83 -0
- package/dist-types/models/errors.d.ts +150 -0
- package/dist-types/models/models_0.d.ts +22 -218
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +45 -0
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -108
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -217,12 +217,6 @@ let ThrottlingException$1 = class ThrottlingException extends BillingServiceExce
|
|
|
217
217
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
|
-
const ValidationExceptionReason = {
|
|
221
|
-
CANNOT_PARSE: "cannotParse",
|
|
222
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
223
|
-
OTHER: "other",
|
|
224
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
225
|
-
};
|
|
226
220
|
let ValidationException$1 = class ValidationException extends BillingServiceException$1 {
|
|
227
221
|
name = "ValidationException";
|
|
228
222
|
$fault = "client";
|
|
@@ -239,30 +233,6 @@ let ValidationException$1 = class ValidationException extends BillingServiceExce
|
|
|
239
233
|
this.fieldList = opts.fieldList;
|
|
240
234
|
}
|
|
241
235
|
};
|
|
242
|
-
const Dimension = {
|
|
243
|
-
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
244
|
-
};
|
|
245
|
-
const BillingViewType = {
|
|
246
|
-
BILLING_GROUP: "BILLING_GROUP",
|
|
247
|
-
CUSTOM: "CUSTOM",
|
|
248
|
-
PRIMARY: "PRIMARY",
|
|
249
|
-
};
|
|
250
|
-
const BillingViewStatus = {
|
|
251
|
-
CREATING: "CREATING",
|
|
252
|
-
HEALTHY: "HEALTHY",
|
|
253
|
-
UNHEALTHY: "UNHEALTHY",
|
|
254
|
-
UPDATING: "UPDATING",
|
|
255
|
-
};
|
|
256
|
-
const BillingViewStatusReason = {
|
|
257
|
-
AGGREGATE_SOURCE: "AGGREGATE_SOURCE",
|
|
258
|
-
CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY",
|
|
259
|
-
SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED",
|
|
260
|
-
SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED",
|
|
261
|
-
SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND",
|
|
262
|
-
SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY",
|
|
263
|
-
SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
|
|
264
|
-
VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
|
|
265
|
-
};
|
|
266
236
|
|
|
267
237
|
const _ADE = "AccessDeniedException";
|
|
268
238
|
const _ASV = "AssociateSourceViews";
|
|
@@ -308,6 +278,8 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
308
278
|
const _RT = "ResourceTag";
|
|
309
279
|
const _RTL = "ResourceTagList";
|
|
310
280
|
const _SQEE = "ServiceQuotaExceededException";
|
|
281
|
+
const _SS = "StringSearch";
|
|
282
|
+
const _SSt = "StringSearches";
|
|
311
283
|
const _TE = "ThrottlingException";
|
|
312
284
|
const _TR = "TimeRange";
|
|
313
285
|
const _TRR = "TagResourceRequest";
|
|
@@ -356,6 +328,7 @@ const _m = "message";
|
|
|
356
328
|
const _mR = "maxResults";
|
|
357
329
|
const _n = "name";
|
|
358
330
|
const _nT = "nextToken";
|
|
331
|
+
const _na = "names";
|
|
359
332
|
const _oAI = "ownerAccountId";
|
|
360
333
|
const _p = "policy";
|
|
361
334
|
const _qC = "quotaCode";
|
|
@@ -369,9 +342,11 @@ const _s = "server";
|
|
|
369
342
|
const _sAI = "sourceAccountId";
|
|
370
343
|
const _sC = "statusCode";
|
|
371
344
|
const _sCe = "serviceCode";
|
|
345
|
+
const _sO = "searchOption";
|
|
372
346
|
const _sR = "statusReasons";
|
|
373
347
|
const _sV = "sourceViews";
|
|
374
348
|
const _sVC = "sourceViewCount";
|
|
349
|
+
const _sVe = "searchValue";
|
|
375
350
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
|
|
376
351
|
const _t = "tags";
|
|
377
352
|
const _tR = "timeRange";
|
|
@@ -511,8 +486,8 @@ var ListBillingViewsRequest = [
|
|
|
511
486
|
n0,
|
|
512
487
|
_LBVR,
|
|
513
488
|
0,
|
|
514
|
-
[_aTR, _ar, _bVTi, _oAI, _sAI, _mR, _nT],
|
|
515
|
-
[() => ActiveTimeRange, 64 | 0, 64 | 0, 0, 0, 1, 0],
|
|
489
|
+
[_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
|
|
490
|
+
[() => ActiveTimeRange, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0],
|
|
516
491
|
];
|
|
517
492
|
var ListBillingViewsResponse = [
|
|
518
493
|
3,
|
|
@@ -567,6 +542,7 @@ var ServiceQuotaExceededException = [
|
|
|
567
542
|
[0, 0, 0, 0, 0],
|
|
568
543
|
];
|
|
569
544
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
545
|
+
var StringSearch = [3, n0, _SS, 0, [_sO, _sVe], [0, 0]];
|
|
570
546
|
var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _rTe], [0, () => ResourceTagList]];
|
|
571
547
|
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
572
548
|
var TagValues = [3, n0, _TV, 0, [_k, _v], [0, 64 | 0]];
|
|
@@ -613,6 +589,7 @@ var BillingServiceException = [-3, _sm, "BillingServiceException", 0, [], []];
|
|
|
613
589
|
schema.TypeRegistry.for(_sm).registerError(BillingServiceException, BillingServiceException$1);
|
|
614
590
|
var BillingViewList = [1, n0, _BVL, 0, [() => BillingViewListElement, 0]];
|
|
615
591
|
var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
|
|
592
|
+
var StringSearches = [1, n0, _SSt, 0, () => StringSearch];
|
|
616
593
|
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
617
594
|
var AssociateSourceViews = [
|
|
618
595
|
9,
|
|
@@ -872,6 +849,42 @@ const paginateListBillingViews = core.createPaginator(BillingClient, ListBilling
|
|
|
872
849
|
|
|
873
850
|
const paginateListSourceViewsForBillingView = core.createPaginator(BillingClient, ListSourceViewsForBillingViewCommand, "nextToken", "nextToken", "maxResults");
|
|
874
851
|
|
|
852
|
+
const ValidationExceptionReason = {
|
|
853
|
+
CANNOT_PARSE: "cannotParse",
|
|
854
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
855
|
+
OTHER: "other",
|
|
856
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
857
|
+
};
|
|
858
|
+
const Dimension = {
|
|
859
|
+
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
860
|
+
};
|
|
861
|
+
const BillingViewType = {
|
|
862
|
+
BILLING_GROUP: "BILLING_GROUP",
|
|
863
|
+
BILLING_TRANSFER: "BILLING_TRANSFER",
|
|
864
|
+
BILLING_TRANSFER_SHOWBACK: "BILLING_TRANSFER_SHOWBACK",
|
|
865
|
+
CUSTOM: "CUSTOM",
|
|
866
|
+
PRIMARY: "PRIMARY",
|
|
867
|
+
};
|
|
868
|
+
const BillingViewStatus = {
|
|
869
|
+
CREATING: "CREATING",
|
|
870
|
+
HEALTHY: "HEALTHY",
|
|
871
|
+
UNHEALTHY: "UNHEALTHY",
|
|
872
|
+
UPDATING: "UPDATING",
|
|
873
|
+
};
|
|
874
|
+
const BillingViewStatusReason = {
|
|
875
|
+
AGGREGATE_SOURCE: "AGGREGATE_SOURCE",
|
|
876
|
+
CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY",
|
|
877
|
+
SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED",
|
|
878
|
+
SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED",
|
|
879
|
+
SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND",
|
|
880
|
+
SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY",
|
|
881
|
+
SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
|
|
882
|
+
VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
|
|
883
|
+
};
|
|
884
|
+
const SearchOption = {
|
|
885
|
+
STARTS_WITH: "STARTS_WITH",
|
|
886
|
+
};
|
|
887
|
+
|
|
875
888
|
Object.defineProperty(exports, "$Command", {
|
|
876
889
|
enumerable: true,
|
|
877
890
|
get: function () { return smithyClient.Command; }
|
|
@@ -901,6 +914,7 @@ exports.ListBillingViewsCommand = ListBillingViewsCommand;
|
|
|
901
914
|
exports.ListSourceViewsForBillingViewCommand = ListSourceViewsForBillingViewCommand;
|
|
902
915
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
903
916
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
917
|
+
exports.SearchOption = SearchOption;
|
|
904
918
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
905
919
|
exports.TagResourceCommand = TagResourceCommand;
|
|
906
920
|
exports.ThrottlingException = ThrottlingException$1;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./BillingClient";
|
|
|
2
2
|
export * from "./Billing";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { BillingServiceException } from "./models/BillingServiceException";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const ValidationExceptionReason = {
|
|
2
|
+
CANNOT_PARSE: "cannotParse",
|
|
3
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
4
|
+
OTHER: "other",
|
|
5
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
6
|
+
};
|
|
7
|
+
export const Dimension = {
|
|
8
|
+
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
9
|
+
};
|
|
10
|
+
export const BillingViewType = {
|
|
11
|
+
BILLING_GROUP: "BILLING_GROUP",
|
|
12
|
+
BILLING_TRANSFER: "BILLING_TRANSFER",
|
|
13
|
+
BILLING_TRANSFER_SHOWBACK: "BILLING_TRANSFER_SHOWBACK",
|
|
14
|
+
CUSTOM: "CUSTOM",
|
|
15
|
+
PRIMARY: "PRIMARY",
|
|
16
|
+
};
|
|
17
|
+
export const BillingViewStatus = {
|
|
18
|
+
CREATING: "CREATING",
|
|
19
|
+
HEALTHY: "HEALTHY",
|
|
20
|
+
UNHEALTHY: "UNHEALTHY",
|
|
21
|
+
UPDATING: "UPDATING",
|
|
22
|
+
};
|
|
23
|
+
export const BillingViewStatusReason = {
|
|
24
|
+
AGGREGATE_SOURCE: "AGGREGATE_SOURCE",
|
|
25
|
+
CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY",
|
|
26
|
+
SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED",
|
|
27
|
+
SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED",
|
|
28
|
+
SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND",
|
|
29
|
+
SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY",
|
|
30
|
+
SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
|
|
31
|
+
VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
|
|
32
|
+
};
|
|
33
|
+
export const SearchOption = {
|
|
34
|
+
STARTS_WITH: "STARTS_WITH",
|
|
35
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { BillingServiceException as __BaseException } from "./BillingServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class BillingViewHealthStatusException extends __BaseException {
|
|
15
|
+
name = "BillingViewHealthStatusException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "BillingViewHealthStatusException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ConflictException extends __BaseException {
|
|
27
|
+
name = "ConflictException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
resourceId;
|
|
30
|
+
resourceType;
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "ConflictException",
|
|
34
|
+
$fault: "client",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
38
|
+
this.resourceId = opts.resourceId;
|
|
39
|
+
this.resourceType = opts.resourceType;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class InternalServerException extends __BaseException {
|
|
43
|
+
name = "InternalServerException";
|
|
44
|
+
$fault = "server";
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "InternalServerException",
|
|
48
|
+
$fault: "server",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
55
|
+
name = "ResourceNotFoundException";
|
|
56
|
+
$fault = "client";
|
|
57
|
+
resourceId;
|
|
58
|
+
resourceType;
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "ResourceNotFoundException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
66
|
+
this.resourceId = opts.resourceId;
|
|
67
|
+
this.resourceType = opts.resourceType;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
71
|
+
name = "ServiceQuotaExceededException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
resourceId;
|
|
74
|
+
resourceType;
|
|
75
|
+
serviceCode;
|
|
76
|
+
quotaCode;
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ServiceQuotaExceededException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
84
|
+
this.resourceId = opts.resourceId;
|
|
85
|
+
this.resourceType = opts.resourceType;
|
|
86
|
+
this.serviceCode = opts.serviceCode;
|
|
87
|
+
this.quotaCode = opts.quotaCode;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
export class ThrottlingException extends __BaseException {
|
|
91
|
+
name = "ThrottlingException";
|
|
92
|
+
$fault = "client";
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ThrottlingException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class ValidationException extends __BaseException {
|
|
103
|
+
name = "ValidationException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
reason;
|
|
106
|
+
fieldList;
|
|
107
|
+
constructor(opts) {
|
|
108
|
+
super({
|
|
109
|
+
name: "ValidationException",
|
|
110
|
+
$fault: "client",
|
|
111
|
+
...opts,
|
|
112
|
+
});
|
|
113
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
114
|
+
this.reason = opts.reason;
|
|
115
|
+
this.fieldList = opts.fieldList;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -1,147 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class BillingViewHealthStatusException extends __BaseException {
|
|
15
|
-
name = "BillingViewHealthStatusException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "BillingViewHealthStatusException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class ConflictException extends __BaseException {
|
|
27
|
-
name = "ConflictException";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
resourceId;
|
|
30
|
-
resourceType;
|
|
31
|
-
constructor(opts) {
|
|
32
|
-
super({
|
|
33
|
-
name: "ConflictException",
|
|
34
|
-
$fault: "client",
|
|
35
|
-
...opts,
|
|
36
|
-
});
|
|
37
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
38
|
-
this.resourceId = opts.resourceId;
|
|
39
|
-
this.resourceType = opts.resourceType;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
export class InternalServerException extends __BaseException {
|
|
43
|
-
name = "InternalServerException";
|
|
44
|
-
$fault = "server";
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "InternalServerException",
|
|
48
|
-
$fault: "server",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
55
|
-
name = "ResourceNotFoundException";
|
|
56
|
-
$fault = "client";
|
|
57
|
-
resourceId;
|
|
58
|
-
resourceType;
|
|
59
|
-
constructor(opts) {
|
|
60
|
-
super({
|
|
61
|
-
name: "ResourceNotFoundException",
|
|
62
|
-
$fault: "client",
|
|
63
|
-
...opts,
|
|
64
|
-
});
|
|
65
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
66
|
-
this.resourceId = opts.resourceId;
|
|
67
|
-
this.resourceType = opts.resourceType;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
71
|
-
name = "ServiceQuotaExceededException";
|
|
72
|
-
$fault = "client";
|
|
73
|
-
resourceId;
|
|
74
|
-
resourceType;
|
|
75
|
-
serviceCode;
|
|
76
|
-
quotaCode;
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "ServiceQuotaExceededException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
84
|
-
this.resourceId = opts.resourceId;
|
|
85
|
-
this.resourceType = opts.resourceType;
|
|
86
|
-
this.serviceCode = opts.serviceCode;
|
|
87
|
-
this.quotaCode = opts.quotaCode;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
export class ThrottlingException extends __BaseException {
|
|
91
|
-
name = "ThrottlingException";
|
|
92
|
-
$fault = "client";
|
|
93
|
-
constructor(opts) {
|
|
94
|
-
super({
|
|
95
|
-
name: "ThrottlingException",
|
|
96
|
-
$fault: "client",
|
|
97
|
-
...opts,
|
|
98
|
-
});
|
|
99
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export const ValidationExceptionReason = {
|
|
103
|
-
CANNOT_PARSE: "cannotParse",
|
|
104
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
105
|
-
OTHER: "other",
|
|
106
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
107
|
-
};
|
|
108
|
-
export class ValidationException extends __BaseException {
|
|
109
|
-
name = "ValidationException";
|
|
110
|
-
$fault = "client";
|
|
111
|
-
reason;
|
|
112
|
-
fieldList;
|
|
113
|
-
constructor(opts) {
|
|
114
|
-
super({
|
|
115
|
-
name: "ValidationException",
|
|
116
|
-
$fault: "client",
|
|
117
|
-
...opts,
|
|
118
|
-
});
|
|
119
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
120
|
-
this.reason = opts.reason;
|
|
121
|
-
this.fieldList = opts.fieldList;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
export const Dimension = {
|
|
125
|
-
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
126
|
-
};
|
|
127
|
-
export const BillingViewType = {
|
|
128
|
-
BILLING_GROUP: "BILLING_GROUP",
|
|
129
|
-
CUSTOM: "CUSTOM",
|
|
130
|
-
PRIMARY: "PRIMARY",
|
|
131
|
-
};
|
|
132
|
-
export const BillingViewStatus = {
|
|
133
|
-
CREATING: "CREATING",
|
|
134
|
-
HEALTHY: "HEALTHY",
|
|
135
|
-
UNHEALTHY: "UNHEALTHY",
|
|
136
|
-
UPDATING: "UPDATING",
|
|
137
|
-
};
|
|
138
|
-
export const BillingViewStatusReason = {
|
|
139
|
-
AGGREGATE_SOURCE: "AGGREGATE_SOURCE",
|
|
140
|
-
CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY",
|
|
141
|
-
SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED",
|
|
142
|
-
SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED",
|
|
143
|
-
SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND",
|
|
144
|
-
SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY",
|
|
145
|
-
SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
|
|
146
|
-
VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
|
|
147
|
-
};
|
|
1
|
+
export {};
|
|
@@ -42,6 +42,8 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
42
42
|
const _RT = "ResourceTag";
|
|
43
43
|
const _RTL = "ResourceTagList";
|
|
44
44
|
const _SQEE = "ServiceQuotaExceededException";
|
|
45
|
+
const _SS = "StringSearch";
|
|
46
|
+
const _SSt = "StringSearches";
|
|
45
47
|
const _TE = "ThrottlingException";
|
|
46
48
|
const _TR = "TimeRange";
|
|
47
49
|
const _TRR = "TagResourceRequest";
|
|
@@ -90,6 +92,7 @@ const _m = "message";
|
|
|
90
92
|
const _mR = "maxResults";
|
|
91
93
|
const _n = "name";
|
|
92
94
|
const _nT = "nextToken";
|
|
95
|
+
const _na = "names";
|
|
93
96
|
const _oAI = "ownerAccountId";
|
|
94
97
|
const _p = "policy";
|
|
95
98
|
const _qC = "quotaCode";
|
|
@@ -103,9 +106,11 @@ const _s = "server";
|
|
|
103
106
|
const _sAI = "sourceAccountId";
|
|
104
107
|
const _sC = "statusCode";
|
|
105
108
|
const _sCe = "serviceCode";
|
|
109
|
+
const _sO = "searchOption";
|
|
106
110
|
const _sR = "statusReasons";
|
|
107
111
|
const _sV = "sourceViews";
|
|
108
112
|
const _sVC = "sourceViewCount";
|
|
113
|
+
const _sVe = "searchValue";
|
|
109
114
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
|
|
110
115
|
const _t = "tags";
|
|
111
116
|
const _tR = "timeRange";
|
|
@@ -116,7 +121,7 @@ const _va = "value";
|
|
|
116
121
|
const n0 = "com.amazonaws.billing";
|
|
117
122
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
118
123
|
import { BillingServiceException as __BillingServiceException } from "../models/BillingServiceException";
|
|
119
|
-
import { AccessDeniedException as __AccessDeniedException, BillingViewHealthStatusException as __BillingViewHealthStatusException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
124
|
+
import { AccessDeniedException as __AccessDeniedException, BillingViewHealthStatusException as __BillingViewHealthStatusException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
120
125
|
export var BillingViewDescription = [0, n0, _BVD, 8, 0];
|
|
121
126
|
export var BillingViewName = [0, n0, _BVN, 8, 0];
|
|
122
127
|
export var AccessDeniedException = [
|
|
@@ -248,8 +253,8 @@ export var ListBillingViewsRequest = [
|
|
|
248
253
|
n0,
|
|
249
254
|
_LBVR,
|
|
250
255
|
0,
|
|
251
|
-
[_aTR, _ar, _bVTi, _oAI, _sAI, _mR, _nT],
|
|
252
|
-
[() => ActiveTimeRange, 64 | 0, 64 | 0, 0, 0, 1, 0],
|
|
256
|
+
[_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
|
|
257
|
+
[() => ActiveTimeRange, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0],
|
|
253
258
|
];
|
|
254
259
|
export var ListBillingViewsResponse = [
|
|
255
260
|
3,
|
|
@@ -304,6 +309,7 @@ export var ServiceQuotaExceededException = [
|
|
|
304
309
|
[0, 0, 0, 0, 0],
|
|
305
310
|
];
|
|
306
311
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
312
|
+
export var StringSearch = [3, n0, _SS, 0, [_sO, _sVe], [0, 0]];
|
|
307
313
|
export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _rTe], [0, () => ResourceTagList]];
|
|
308
314
|
export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
309
315
|
export var TagValues = [3, n0, _TV, 0, [_k, _v], [0, 64 | 0]];
|
|
@@ -356,6 +362,7 @@ export var BillingViewStatusReasons = 64 | 0;
|
|
|
356
362
|
export var BillingViewTypeList = 64 | 0;
|
|
357
363
|
export var ResourceTagKeyList = 64 | 0;
|
|
358
364
|
export var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
|
|
365
|
+
export var StringSearches = [1, n0, _SSt, 0, () => StringSearch];
|
|
359
366
|
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
360
367
|
export var Values = 64 | 0;
|
|
361
368
|
export var AssociateSourceViews = [
|
|
@@ -46,7 +46,7 @@ declare const GetBillingViewCommand_base: {
|
|
|
46
46
|
* // arn: "STRING_VALUE",
|
|
47
47
|
* // name: "STRING_VALUE",
|
|
48
48
|
* // description: "STRING_VALUE",
|
|
49
|
-
* // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
|
|
49
|
+
* // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM" || "BILLING_TRANSFER" || "BILLING_TRANSFER_SHOWBACK",
|
|
50
50
|
* // ownerAccountId: "STRING_VALUE",
|
|
51
51
|
* // sourceAccountId: "STRING_VALUE",
|
|
52
52
|
* // dataFilterExpression: { // Expression
|
|
@@ -45,7 +45,13 @@ declare const ListBillingViewsCommand_base: {
|
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* billingViewTypes: [ // BillingViewTypeList
|
|
48
|
-
* "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
|
|
48
|
+
* "PRIMARY" || "BILLING_GROUP" || "CUSTOM" || "BILLING_TRANSFER" || "BILLING_TRANSFER_SHOWBACK",
|
|
49
|
+
* ],
|
|
50
|
+
* names: [ // StringSearches
|
|
51
|
+
* { // StringSearch
|
|
52
|
+
* searchOption: "STARTS_WITH", // required
|
|
53
|
+
* searchValue: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
49
55
|
* ],
|
|
50
56
|
* ownerAccountId: "STRING_VALUE",
|
|
51
57
|
* sourceAccountId: "STRING_VALUE",
|
|
@@ -62,7 +68,7 @@ declare const ListBillingViewsCommand_base: {
|
|
|
62
68
|
* // description: "STRING_VALUE",
|
|
63
69
|
* // ownerAccountId: "STRING_VALUE",
|
|
64
70
|
* // sourceAccountId: "STRING_VALUE",
|
|
65
|
-
* // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
|
|
71
|
+
* // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM" || "BILLING_TRANSFER" || "BILLING_TRANSFER_SHOWBACK",
|
|
66
72
|
* // healthStatus: { // BillingViewHealthStatus
|
|
67
73
|
* // statusCode: "HEALTHY" || "UNHEALTHY" || "CREATING" || "UPDATING",
|
|
68
74
|
* // statusReasons: [ // BillingViewStatusReasons
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { BillingExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { BillingServiceException } from "./models/BillingServiceException";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ValidationExceptionReason: {
|
|
6
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
7
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
8
|
+
readonly OTHER: "other";
|
|
9
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const Dimension: {
|
|
20
|
+
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const BillingViewType: {
|
|
31
|
+
readonly BILLING_GROUP: "BILLING_GROUP";
|
|
32
|
+
readonly BILLING_TRANSFER: "BILLING_TRANSFER";
|
|
33
|
+
readonly BILLING_TRANSFER_SHOWBACK: "BILLING_TRANSFER_SHOWBACK";
|
|
34
|
+
readonly CUSTOM: "CUSTOM";
|
|
35
|
+
readonly PRIMARY: "PRIMARY";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type BillingViewType = (typeof BillingViewType)[keyof typeof BillingViewType];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const BillingViewStatus: {
|
|
46
|
+
readonly CREATING: "CREATING";
|
|
47
|
+
readonly HEALTHY: "HEALTHY";
|
|
48
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
49
|
+
readonly UPDATING: "UPDATING";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type BillingViewStatus = (typeof BillingViewStatus)[keyof typeof BillingViewStatus];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const BillingViewStatusReason: {
|
|
60
|
+
readonly AGGREGATE_SOURCE: "AGGREGATE_SOURCE";
|
|
61
|
+
readonly CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY";
|
|
62
|
+
readonly SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED";
|
|
63
|
+
readonly SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED";
|
|
64
|
+
readonly SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND";
|
|
65
|
+
readonly SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY";
|
|
66
|
+
readonly SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING";
|
|
67
|
+
readonly VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type BillingViewStatusReason = (typeof BillingViewStatusReason)[keyof typeof BillingViewStatusReason];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const SearchOption: {
|
|
78
|
+
readonly STARTS_WITH: "STARTS_WITH";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type SearchOption = (typeof SearchOption)[keyof typeof SearchOption];
|