@aws-sdk/client-billing 3.987.0 → 3.989.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 +31 -607
- package/dist-cjs/models/BillingServiceException.js +12 -0
- package/dist-cjs/models/errors.js +128 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +423 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +58 -52
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillingServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class BillingServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, BillingServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.BillingServiceException = BillingServiceException;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.BillingViewHealthStatusException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const BillingServiceException_1 = require("./BillingServiceException");
|
|
5
|
+
class AccessDeniedException extends BillingServiceException_1.BillingServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class BillingViewHealthStatusException extends BillingServiceException_1.BillingServiceException {
|
|
19
|
+
name = "BillingViewHealthStatusException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "BillingViewHealthStatusException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
|
|
31
|
+
class ConflictException extends BillingServiceException_1.BillingServiceException {
|
|
32
|
+
name = "ConflictException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
resourceId;
|
|
35
|
+
resourceType;
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ConflictException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
43
|
+
this.resourceId = opts.resourceId;
|
|
44
|
+
this.resourceType = opts.resourceType;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.ConflictException = ConflictException;
|
|
48
|
+
class InternalServerException extends BillingServiceException_1.BillingServiceException {
|
|
49
|
+
name = "InternalServerException";
|
|
50
|
+
$fault = "server";
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "InternalServerException",
|
|
54
|
+
$fault: "server",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.InternalServerException = InternalServerException;
|
|
61
|
+
class ResourceNotFoundException extends BillingServiceException_1.BillingServiceException {
|
|
62
|
+
name = "ResourceNotFoundException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
resourceId;
|
|
65
|
+
resourceType;
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "ResourceNotFoundException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
73
|
+
this.resourceId = opts.resourceId;
|
|
74
|
+
this.resourceType = opts.resourceType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
78
|
+
class ServiceQuotaExceededException extends BillingServiceException_1.BillingServiceException {
|
|
79
|
+
name = "ServiceQuotaExceededException";
|
|
80
|
+
$fault = "client";
|
|
81
|
+
resourceId;
|
|
82
|
+
resourceType;
|
|
83
|
+
serviceCode;
|
|
84
|
+
quotaCode;
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ServiceQuotaExceededException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
92
|
+
this.resourceId = opts.resourceId;
|
|
93
|
+
this.resourceType = opts.resourceType;
|
|
94
|
+
this.serviceCode = opts.serviceCode;
|
|
95
|
+
this.quotaCode = opts.quotaCode;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
99
|
+
class ThrottlingException extends BillingServiceException_1.BillingServiceException {
|
|
100
|
+
name = "ThrottlingException";
|
|
101
|
+
$fault = "client";
|
|
102
|
+
constructor(opts) {
|
|
103
|
+
super({
|
|
104
|
+
name: "ThrottlingException",
|
|
105
|
+
$fault: "client",
|
|
106
|
+
...opts,
|
|
107
|
+
});
|
|
108
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ThrottlingException = ThrottlingException;
|
|
112
|
+
class ValidationException extends BillingServiceException_1.BillingServiceException {
|
|
113
|
+
name = "ValidationException";
|
|
114
|
+
$fault = "client";
|
|
115
|
+
reason;
|
|
116
|
+
fieldList;
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "ValidationException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
124
|
+
this.reason = opts.reason;
|
|
125
|
+
this.fieldList = opts.fieldList;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.ValidationException = ValidationException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2023-09-07",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.billing",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2023-09-07",
|
|
33
35
|
serviceTarget: "AWSBilling",
|
|
34
36
|
},
|
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateSourceViews$ = exports.DeleteBillingView$ = exports.CreateBillingView$ = exports.AssociateSourceViews$ = exports.ValidationExceptionField$ = exports.UpdateBillingViewResponse$ = exports.UpdateBillingViewRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TimeRange$ = exports.TagValues$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StringSearch$ = exports.ResourceTag$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSourceViewsForBillingViewResponse$ = exports.ListSourceViewsForBillingViewRequest$ = exports.ListBillingViewsResponse$ = exports.ListBillingViewsRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetBillingViewResponse$ = exports.GetBillingViewRequest$ = exports.Expression$ = exports.DisassociateSourceViewsResponse$ = exports.DisassociateSourceViewsRequest$ = exports.DimensionValues$ = exports.DeleteBillingViewResponse$ = exports.DeleteBillingViewRequest$ = exports.CreateBillingViewResponse$ = exports.CreateBillingViewRequest$ = exports.CostCategoryValues$ = exports.BillingViewListElement$ = exports.BillingViewHealthStatus$ = exports.BillingViewElement$ = exports.AssociateSourceViewsResponse$ = exports.AssociateSourceViewsRequest$ = exports.ActiveTimeRange$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.BillingViewHealthStatusException$ = exports.AccessDeniedException$ = exports.BillingServiceException$ = void 0;
|
|
4
|
+
exports.UpdateBillingView$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListSourceViewsForBillingView$ = exports.ListBillingViews$ = exports.GetResourcePolicy$ = exports.GetBillingView$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _ASV = "AssociateSourceViews";
|
|
7
|
+
const _ASVR = "AssociateSourceViewsRequest";
|
|
8
|
+
const _ASVRs = "AssociateSourceViewsResponse";
|
|
9
|
+
const _ATR = "ActiveTimeRange";
|
|
10
|
+
const _BVD = "BillingViewDescription";
|
|
11
|
+
const _BVE = "BillingViewElement";
|
|
12
|
+
const _BVHS = "BillingViewHealthStatus";
|
|
13
|
+
const _BVHSE = "BillingViewHealthStatusException";
|
|
14
|
+
const _BVL = "BillingViewList";
|
|
15
|
+
const _BVLE = "BillingViewListElement";
|
|
16
|
+
const _BVN = "BillingViewName";
|
|
17
|
+
const _CBV = "CreateBillingView";
|
|
18
|
+
const _CBVR = "CreateBillingViewRequest";
|
|
19
|
+
const _CBVRr = "CreateBillingViewResponse";
|
|
20
|
+
const _CCV = "CostCategoryValues";
|
|
21
|
+
const _CE = "ConflictException";
|
|
22
|
+
const _DBV = "DeleteBillingView";
|
|
23
|
+
const _DBVR = "DeleteBillingViewRequest";
|
|
24
|
+
const _DBVRe = "DeleteBillingViewResponse";
|
|
25
|
+
const _DSV = "DisassociateSourceViews";
|
|
26
|
+
const _DSVR = "DisassociateSourceViewsRequest";
|
|
27
|
+
const _DSVRi = "DisassociateSourceViewsResponse";
|
|
28
|
+
const _DV = "DimensionValues";
|
|
29
|
+
const _E = "Expression";
|
|
30
|
+
const _GBV = "GetBillingView";
|
|
31
|
+
const _GBVR = "GetBillingViewRequest";
|
|
32
|
+
const _GBVRe = "GetBillingViewResponse";
|
|
33
|
+
const _GRP = "GetResourcePolicy";
|
|
34
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
35
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
36
|
+
const _ISE = "InternalServerException";
|
|
37
|
+
const _LBV = "ListBillingViews";
|
|
38
|
+
const _LBVR = "ListBillingViewsRequest";
|
|
39
|
+
const _LBVRi = "ListBillingViewsResponse";
|
|
40
|
+
const _LSVFBV = "ListSourceViewsForBillingView";
|
|
41
|
+
const _LSVFBVR = "ListSourceViewsForBillingViewRequest";
|
|
42
|
+
const _LSVFBVRi = "ListSourceViewsForBillingViewResponse";
|
|
43
|
+
const _LTFR = "ListTagsForResource";
|
|
44
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
45
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
46
|
+
const _RNFE = "ResourceNotFoundException";
|
|
47
|
+
const _RT = "ResourceTag";
|
|
48
|
+
const _RTL = "ResourceTagList";
|
|
49
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
50
|
+
const _SS = "StringSearch";
|
|
51
|
+
const _SSt = "StringSearches";
|
|
52
|
+
const _TE = "ThrottlingException";
|
|
53
|
+
const _TR = "TimeRange";
|
|
54
|
+
const _TRR = "TagResourceRequest";
|
|
55
|
+
const _TRRa = "TagResourceResponse";
|
|
56
|
+
const _TRa = "TagResource";
|
|
57
|
+
const _TV = "TagValues";
|
|
58
|
+
const _UBV = "UpdateBillingView";
|
|
59
|
+
const _UBVR = "UpdateBillingViewRequest";
|
|
60
|
+
const _UBVRp = "UpdateBillingViewResponse";
|
|
61
|
+
const _UR = "UntagResource";
|
|
62
|
+
const _URR = "UntagResourceRequest";
|
|
63
|
+
const _URRn = "UntagResourceResponse";
|
|
64
|
+
const _VE = "ValidationException";
|
|
65
|
+
const _VEF = "ValidationExceptionField";
|
|
66
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
67
|
+
const _XACT = "X-Amzn-Client-Token";
|
|
68
|
+
const _a = "arn";
|
|
69
|
+
const _aAI = "activeAfterInclusive";
|
|
70
|
+
const _aBI = "activeBeforeInclusive";
|
|
71
|
+
const _aQE = "awsQueryError";
|
|
72
|
+
const _aTR = "activeTimeRange";
|
|
73
|
+
const _ar = "arns";
|
|
74
|
+
const _bDI = "beginDateInclusive";
|
|
75
|
+
const _bV = "billingView";
|
|
76
|
+
const _bVT = "billingViewType";
|
|
77
|
+
const _bVTi = "billingViewTypes";
|
|
78
|
+
const _bVi = "billingViews";
|
|
79
|
+
const _c = "client";
|
|
80
|
+
const _cA = "createdAt";
|
|
81
|
+
const _cC = "costCategories";
|
|
82
|
+
const _cT = "clientToken";
|
|
83
|
+
const _d = "description";
|
|
84
|
+
const _dFE = "dataFilterExpression";
|
|
85
|
+
const _dVC = "derivedViewCount";
|
|
86
|
+
const _di = "dimensions";
|
|
87
|
+
const _e = "error";
|
|
88
|
+
const _eDI = "endDateInclusive";
|
|
89
|
+
const _f = "force";
|
|
90
|
+
const _fL = "fieldList";
|
|
91
|
+
const _h = "http";
|
|
92
|
+
const _hE = "httpError";
|
|
93
|
+
const _hH = "httpHeader";
|
|
94
|
+
const _hS = "healthStatus";
|
|
95
|
+
const _iT = "idempotencyToken";
|
|
96
|
+
const _k = "key";
|
|
97
|
+
const _m = "message";
|
|
98
|
+
const _mR = "maxResults";
|
|
99
|
+
const _n = "name";
|
|
100
|
+
const _nT = "nextToken";
|
|
101
|
+
const _na = "names";
|
|
102
|
+
const _oAI = "ownerAccountId";
|
|
103
|
+
const _p = "policy";
|
|
104
|
+
const _qC = "quotaCode";
|
|
105
|
+
const _r = "reason";
|
|
106
|
+
const _rA = "resourceArn";
|
|
107
|
+
const _rI = "resourceId";
|
|
108
|
+
const _rT = "resourceType";
|
|
109
|
+
const _rTK = "resourceTagKeys";
|
|
110
|
+
const _rTe = "resourceTags";
|
|
111
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
|
|
112
|
+
const _sAI = "sourceAccountId";
|
|
113
|
+
const _sC = "serviceCode";
|
|
114
|
+
const _sCt = "statusCode";
|
|
115
|
+
const _sO = "searchOption";
|
|
116
|
+
const _sR = "statusReasons";
|
|
117
|
+
const _sV = "sourceViews";
|
|
118
|
+
const _sVC = "sourceViewCount";
|
|
119
|
+
const _sVe = "searchValue";
|
|
120
|
+
const _se = "server";
|
|
121
|
+
const _t = "tags";
|
|
122
|
+
const _tR = "timeRange";
|
|
123
|
+
const _uA = "updatedAt";
|
|
124
|
+
const _v = "values";
|
|
125
|
+
const _vDLUA = "viewDefinitionLastUpdatedAt";
|
|
126
|
+
const _va = "value";
|
|
127
|
+
const n0 = "com.amazonaws.billing";
|
|
128
|
+
const schema_1 = require("@smithy/core/schema");
|
|
129
|
+
const BillingServiceException_1 = require("../models/BillingServiceException");
|
|
130
|
+
const errors_1 = require("../models/errors");
|
|
131
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
132
|
+
exports.BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
|
|
133
|
+
_s_registry.registerError(exports.BillingServiceException$, BillingServiceException_1.BillingServiceException);
|
|
134
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
135
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
136
|
+
{ [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
|
|
137
|
+
[_m],
|
|
138
|
+
[0], 1
|
|
139
|
+
];
|
|
140
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
141
|
+
exports.BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
|
|
142
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
143
|
+
[_m],
|
|
144
|
+
[0], 1
|
|
145
|
+
];
|
|
146
|
+
n0_registry.registerError(exports.BillingViewHealthStatusException$, errors_1.BillingViewHealthStatusException);
|
|
147
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
148
|
+
{ [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },
|
|
149
|
+
[_m, _rI, _rT],
|
|
150
|
+
[0, 0, 0], 3
|
|
151
|
+
];
|
|
152
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
153
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
154
|
+
{ [_aQE]: [`BillingInternalServer`, 500], [_e]: _se, [_hE]: 500 },
|
|
155
|
+
[_m],
|
|
156
|
+
[0], 1
|
|
157
|
+
];
|
|
158
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
159
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
160
|
+
{ [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
|
|
161
|
+
[_m, _rI, _rT],
|
|
162
|
+
[0, 0, 0], 3
|
|
163
|
+
];
|
|
164
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
165
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
166
|
+
{ [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
|
|
167
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
168
|
+
[0, 0, 0, 0, 0], 5
|
|
169
|
+
];
|
|
170
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
171
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
172
|
+
{ [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },
|
|
173
|
+
[_m],
|
|
174
|
+
[0], 1
|
|
175
|
+
];
|
|
176
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
177
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
178
|
+
{ [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },
|
|
179
|
+
[_m, _r, _fL],
|
|
180
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
181
|
+
];
|
|
182
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
183
|
+
exports.errorTypeRegistries = [
|
|
184
|
+
_s_registry,
|
|
185
|
+
n0_registry,
|
|
186
|
+
];
|
|
187
|
+
var BillingViewDescription = [0, n0, _BVD, 8, 0];
|
|
188
|
+
var BillingViewName = [0, n0, _BVN, 8, 0];
|
|
189
|
+
exports.ActiveTimeRange$ = [3, n0, _ATR,
|
|
190
|
+
0,
|
|
191
|
+
[_aAI, _aBI],
|
|
192
|
+
[4, 4], 2
|
|
193
|
+
];
|
|
194
|
+
exports.AssociateSourceViewsRequest$ = [3, n0, _ASVR,
|
|
195
|
+
0,
|
|
196
|
+
[_a, _sV],
|
|
197
|
+
[0, 64 | 0], 2
|
|
198
|
+
];
|
|
199
|
+
exports.AssociateSourceViewsResponse$ = [3, n0, _ASVRs,
|
|
200
|
+
0,
|
|
201
|
+
[_a],
|
|
202
|
+
[0], 1
|
|
203
|
+
];
|
|
204
|
+
exports.BillingViewElement$ = [3, n0, _BVE,
|
|
205
|
+
0,
|
|
206
|
+
[_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cA, _uA, _dVC, _sVC, _vDLUA, _hS],
|
|
207
|
+
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => exports.Expression$, 4, 4, 1, 1, 4, () => exports.BillingViewHealthStatus$]
|
|
208
|
+
];
|
|
209
|
+
exports.BillingViewHealthStatus$ = [3, n0, _BVHS,
|
|
210
|
+
0,
|
|
211
|
+
[_sCt, _sR],
|
|
212
|
+
[0, 64 | 0]
|
|
213
|
+
];
|
|
214
|
+
exports.BillingViewListElement$ = [3, n0, _BVLE,
|
|
215
|
+
0,
|
|
216
|
+
[_a, _n, _d, _oAI, _sAI, _bVT, _hS],
|
|
217
|
+
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => exports.BillingViewHealthStatus$]
|
|
218
|
+
];
|
|
219
|
+
exports.CostCategoryValues$ = [3, n0, _CCV,
|
|
220
|
+
0,
|
|
221
|
+
[_k, _v],
|
|
222
|
+
[0, 64 | 0], 2
|
|
223
|
+
];
|
|
224
|
+
exports.CreateBillingViewRequest$ = [3, n0, _CBVR,
|
|
225
|
+
0,
|
|
226
|
+
[_n, _sV, _d, _dFE, _cT, _rTe],
|
|
227
|
+
[[() => BillingViewName, 0], 64 | 0, [() => BillingViewDescription, 0], () => exports.Expression$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => ResourceTagList], 2
|
|
228
|
+
];
|
|
229
|
+
exports.CreateBillingViewResponse$ = [3, n0, _CBVRr,
|
|
230
|
+
0,
|
|
231
|
+
[_a, _cA],
|
|
232
|
+
[0, 4], 1
|
|
233
|
+
];
|
|
234
|
+
exports.DeleteBillingViewRequest$ = [3, n0, _DBVR,
|
|
235
|
+
0,
|
|
236
|
+
[_a, _f],
|
|
237
|
+
[0, 2], 1
|
|
238
|
+
];
|
|
239
|
+
exports.DeleteBillingViewResponse$ = [3, n0, _DBVRe,
|
|
240
|
+
0,
|
|
241
|
+
[_a],
|
|
242
|
+
[0], 1
|
|
243
|
+
];
|
|
244
|
+
exports.DimensionValues$ = [3, n0, _DV,
|
|
245
|
+
0,
|
|
246
|
+
[_k, _v],
|
|
247
|
+
[0, 64 | 0], 2
|
|
248
|
+
];
|
|
249
|
+
exports.DisassociateSourceViewsRequest$ = [3, n0, _DSVR,
|
|
250
|
+
0,
|
|
251
|
+
[_a, _sV],
|
|
252
|
+
[0, 64 | 0], 2
|
|
253
|
+
];
|
|
254
|
+
exports.DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
|
|
255
|
+
0,
|
|
256
|
+
[_a],
|
|
257
|
+
[0], 1
|
|
258
|
+
];
|
|
259
|
+
exports.Expression$ = [3, n0, _E,
|
|
260
|
+
0,
|
|
261
|
+
[_di, _t, _cC, _tR],
|
|
262
|
+
[() => exports.DimensionValues$, () => exports.TagValues$, () => exports.CostCategoryValues$, () => exports.TimeRange$]
|
|
263
|
+
];
|
|
264
|
+
exports.GetBillingViewRequest$ = [3, n0, _GBVR,
|
|
265
|
+
0,
|
|
266
|
+
[_a],
|
|
267
|
+
[0], 1
|
|
268
|
+
];
|
|
269
|
+
exports.GetBillingViewResponse$ = [3, n0, _GBVRe,
|
|
270
|
+
0,
|
|
271
|
+
[_bV],
|
|
272
|
+
[[() => exports.BillingViewElement$, 0]], 1
|
|
273
|
+
];
|
|
274
|
+
exports.GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
275
|
+
0,
|
|
276
|
+
[_rA],
|
|
277
|
+
[0], 1
|
|
278
|
+
];
|
|
279
|
+
exports.GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
280
|
+
0,
|
|
281
|
+
[_rA, _p],
|
|
282
|
+
[0, 0], 1
|
|
283
|
+
];
|
|
284
|
+
exports.ListBillingViewsRequest$ = [3, n0, _LBVR,
|
|
285
|
+
0,
|
|
286
|
+
[_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
|
|
287
|
+
[() => exports.ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0]
|
|
288
|
+
];
|
|
289
|
+
exports.ListBillingViewsResponse$ = [3, n0, _LBVRi,
|
|
290
|
+
0,
|
|
291
|
+
[_bVi, _nT],
|
|
292
|
+
[[() => BillingViewList, 0], 0], 1
|
|
293
|
+
];
|
|
294
|
+
exports.ListSourceViewsForBillingViewRequest$ = [3, n0, _LSVFBVR,
|
|
295
|
+
0,
|
|
296
|
+
[_a, _mR, _nT],
|
|
297
|
+
[0, 1, 0], 1
|
|
298
|
+
];
|
|
299
|
+
exports.ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,
|
|
300
|
+
0,
|
|
301
|
+
[_sV, _nT],
|
|
302
|
+
[64 | 0, 0], 1
|
|
303
|
+
];
|
|
304
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
305
|
+
0,
|
|
306
|
+
[_rA],
|
|
307
|
+
[0], 1
|
|
308
|
+
];
|
|
309
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
310
|
+
0,
|
|
311
|
+
[_rTe],
|
|
312
|
+
[() => ResourceTagList]
|
|
313
|
+
];
|
|
314
|
+
exports.ResourceTag$ = [3, n0, _RT,
|
|
315
|
+
0,
|
|
316
|
+
[_k, _va],
|
|
317
|
+
[0, 0], 1
|
|
318
|
+
];
|
|
319
|
+
exports.StringSearch$ = [3, n0, _SS,
|
|
320
|
+
0,
|
|
321
|
+
[_sO, _sVe],
|
|
322
|
+
[0, 0], 2
|
|
323
|
+
];
|
|
324
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
325
|
+
0,
|
|
326
|
+
[_rA, _rTe],
|
|
327
|
+
[0, () => ResourceTagList], 2
|
|
328
|
+
];
|
|
329
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
330
|
+
0,
|
|
331
|
+
[],
|
|
332
|
+
[]
|
|
333
|
+
];
|
|
334
|
+
exports.TagValues$ = [3, n0, _TV,
|
|
335
|
+
0,
|
|
336
|
+
[_k, _v],
|
|
337
|
+
[0, 64 | 0], 2
|
|
338
|
+
];
|
|
339
|
+
exports.TimeRange$ = [3, n0, _TR,
|
|
340
|
+
0,
|
|
341
|
+
[_bDI, _eDI],
|
|
342
|
+
[4, 4]
|
|
343
|
+
];
|
|
344
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
345
|
+
0,
|
|
346
|
+
[_rA, _rTK],
|
|
347
|
+
[0, 64 | 0], 2
|
|
348
|
+
];
|
|
349
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
350
|
+
0,
|
|
351
|
+
[],
|
|
352
|
+
[]
|
|
353
|
+
];
|
|
354
|
+
exports.UpdateBillingViewRequest$ = [3, n0, _UBVR,
|
|
355
|
+
0,
|
|
356
|
+
[_a, _n, _d, _dFE],
|
|
357
|
+
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => exports.Expression$], 1
|
|
358
|
+
];
|
|
359
|
+
exports.UpdateBillingViewResponse$ = [3, n0, _UBVRp,
|
|
360
|
+
0,
|
|
361
|
+
[_a, _uA],
|
|
362
|
+
[0, 4], 1
|
|
363
|
+
];
|
|
364
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
365
|
+
0,
|
|
366
|
+
[_n, _m],
|
|
367
|
+
[0, 0], 2
|
|
368
|
+
];
|
|
369
|
+
var BillingViewArnList = 64 | 0;
|
|
370
|
+
var BillingViewList = [1, n0, _BVL,
|
|
371
|
+
0, [() => exports.BillingViewListElement$,
|
|
372
|
+
0]
|
|
373
|
+
];
|
|
374
|
+
var BillingViewSourceViewsList = 64 | 0;
|
|
375
|
+
var BillingViewStatusReasons = 64 | 0;
|
|
376
|
+
var BillingViewTypeList = 64 | 0;
|
|
377
|
+
var ResourceTagKeyList = 64 | 0;
|
|
378
|
+
var ResourceTagList = [1, n0, _RTL,
|
|
379
|
+
0, () => exports.ResourceTag$
|
|
380
|
+
];
|
|
381
|
+
var StringSearches = [1, n0, _SSt,
|
|
382
|
+
0, () => exports.StringSearch$
|
|
383
|
+
];
|
|
384
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
385
|
+
0, () => exports.ValidationExceptionField$
|
|
386
|
+
];
|
|
387
|
+
var Values = 64 | 0;
|
|
388
|
+
exports.AssociateSourceViews$ = [9, n0, _ASV,
|
|
389
|
+
2, () => exports.AssociateSourceViewsRequest$, () => exports.AssociateSourceViewsResponse$
|
|
390
|
+
];
|
|
391
|
+
exports.CreateBillingView$ = [9, n0, _CBV,
|
|
392
|
+
2, () => exports.CreateBillingViewRequest$, () => exports.CreateBillingViewResponse$
|
|
393
|
+
];
|
|
394
|
+
exports.DeleteBillingView$ = [9, n0, _DBV,
|
|
395
|
+
2, () => exports.DeleteBillingViewRequest$, () => exports.DeleteBillingViewResponse$
|
|
396
|
+
];
|
|
397
|
+
exports.DisassociateSourceViews$ = [9, n0, _DSV,
|
|
398
|
+
2, () => exports.DisassociateSourceViewsRequest$, () => exports.DisassociateSourceViewsResponse$
|
|
399
|
+
];
|
|
400
|
+
exports.GetBillingView$ = [9, n0, _GBV,
|
|
401
|
+
0, () => exports.GetBillingViewRequest$, () => exports.GetBillingViewResponse$
|
|
402
|
+
];
|
|
403
|
+
exports.GetResourcePolicy$ = [9, n0, _GRP,
|
|
404
|
+
0, () => exports.GetResourcePolicyRequest$, () => exports.GetResourcePolicyResponse$
|
|
405
|
+
];
|
|
406
|
+
exports.ListBillingViews$ = [9, n0, _LBV,
|
|
407
|
+
{ [_h]: ["POST", "/", 200] }, () => exports.ListBillingViewsRequest$, () => exports.ListBillingViewsResponse$
|
|
408
|
+
];
|
|
409
|
+
exports.ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,
|
|
410
|
+
0, () => exports.ListSourceViewsForBillingViewRequest$, () => exports.ListSourceViewsForBillingViewResponse$
|
|
411
|
+
];
|
|
412
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
413
|
+
0, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
414
|
+
];
|
|
415
|
+
exports.TagResource$ = [9, n0, _TRa,
|
|
416
|
+
0, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
417
|
+
];
|
|
418
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
419
|
+
0, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
420
|
+
];
|
|
421
|
+
exports.UpdateBillingView$ = [9, n0, _UBV,
|
|
422
|
+
2, () => exports.UpdateBillingViewRequest$, () => exports.UpdateBillingViewResponse$
|
|
423
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultBillingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2023-09-07",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.billing",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2023-09-07",
|
|
30
32
|
serviceTarget: "AWSBilling",
|
|
31
33
|
},
|