@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.
@@ -104,16 +104,16 @@ const _rI = "resourceId";
104
104
  const _rT = "resourceType";
105
105
  const _rTK = "resourceTagKeys";
106
106
  const _rTe = "resourceTags";
107
- const _s = "server";
107
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
108
108
  const _sAI = "sourceAccountId";
109
- const _sC = "statusCode";
110
- const _sCe = "serviceCode";
109
+ const _sC = "serviceCode";
110
+ const _sCt = "statusCode";
111
111
  const _sO = "searchOption";
112
112
  const _sR = "statusReasons";
113
113
  const _sV = "sourceViews";
114
114
  const _sVC = "sourceViewCount";
115
115
  const _sVe = "searchValue";
116
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
116
+ const _se = "server";
117
117
  const _t = "tags";
118
118
  const _tR = "timeRange";
119
119
  const _uA = "updatedAt";
@@ -124,14 +124,64 @@ const n0 = "com.amazonaws.billing";
124
124
  import { TypeRegistry } from "@smithy/core/schema";
125
125
  import { BillingServiceException } from "../models/BillingServiceException";
126
126
  import { AccessDeniedException, BillingViewHealthStatusException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
127
- var BillingViewDescription = [0, n0, _BVD, 8, 0];
128
- var BillingViewName = [0, n0, _BVN, 8, 0];
127
+ const _s_registry = TypeRegistry.for(_s);
128
+ export var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
129
+ _s_registry.registerError(BillingServiceException$, BillingServiceException);
130
+ const n0_registry = TypeRegistry.for(n0);
129
131
  export var AccessDeniedException$ = [-3, n0, _ADE,
130
132
  { [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
131
133
  [_m],
132
134
  [0], 1
133
135
  ];
134
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
136
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
137
+ export var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
138
+ { [_e]: _c, [_hE]: 400 },
139
+ [_m],
140
+ [0], 1
141
+ ];
142
+ n0_registry.registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);
143
+ export var ConflictException$ = [-3, n0, _CE,
144
+ { [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },
145
+ [_m, _rI, _rT],
146
+ [0, 0, 0], 3
147
+ ];
148
+ n0_registry.registerError(ConflictException$, ConflictException);
149
+ export var InternalServerException$ = [-3, n0, _ISE,
150
+ { [_aQE]: [`BillingInternalServer`, 500], [_e]: _se, [_hE]: 500 },
151
+ [_m],
152
+ [0], 1
153
+ ];
154
+ n0_registry.registerError(InternalServerException$, InternalServerException);
155
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
156
+ { [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
157
+ [_m, _rI, _rT],
158
+ [0, 0, 0], 3
159
+ ];
160
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
161
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
162
+ { [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
163
+ [_m, _rI, _rT, _sC, _qC],
164
+ [0, 0, 0, 0, 0], 5
165
+ ];
166
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
167
+ export var ThrottlingException$ = [-3, n0, _TE,
168
+ { [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },
169
+ [_m],
170
+ [0], 1
171
+ ];
172
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
173
+ export var ValidationException$ = [-3, n0, _VE,
174
+ { [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },
175
+ [_m, _r, _fL],
176
+ [0, 0, () => ValidationExceptionFieldList], 2
177
+ ];
178
+ n0_registry.registerError(ValidationException$, ValidationException);
179
+ export const errorTypeRegistries = [
180
+ _s_registry,
181
+ n0_registry,
182
+ ];
183
+ var BillingViewDescription = [0, n0, _BVD, 8, 0];
184
+ var BillingViewName = [0, n0, _BVN, 8, 0];
135
185
  export var ActiveTimeRange$ = [3, n0, _ATR,
136
186
  0,
137
187
  [_aAI, _aBI],
@@ -154,26 +204,14 @@ export var BillingViewElement$ = [3, n0, _BVE,
154
204
  ];
155
205
  export var BillingViewHealthStatus$ = [3, n0, _BVHS,
156
206
  0,
157
- [_sC, _sR],
207
+ [_sCt, _sR],
158
208
  [0, 64 | 0]
159
209
  ];
160
- export var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
161
- { [_e]: _c, [_hE]: 400 },
162
- [_m],
163
- [0], 1
164
- ];
165
- TypeRegistry.for(n0).registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);
166
210
  export var BillingViewListElement$ = [3, n0, _BVLE,
167
211
  0,
168
212
  [_a, _n, _d, _oAI, _sAI, _bVT, _hS],
169
213
  [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]
170
214
  ];
171
- export var ConflictException$ = [-3, n0, _CE,
172
- { [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },
173
- [_m, _rI, _rT],
174
- [0, 0, 0], 3
175
- ];
176
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
177
215
  export var CostCategoryValues$ = [3, n0, _CCV,
178
216
  0,
179
217
  [_k, _v],
@@ -239,12 +277,6 @@ export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
239
277
  [_rA, _p],
240
278
  [0, 0], 1
241
279
  ];
242
- export var InternalServerException$ = [-3, n0, _ISE,
243
- { [_aQE]: [`BillingInternalServer`, 500], [_e]: _s, [_hE]: 500 },
244
- [_m],
245
- [0], 1
246
- ];
247
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
248
280
  export var ListBillingViewsRequest$ = [3, n0, _LBVR,
249
281
  0,
250
282
  [_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
@@ -275,23 +307,11 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
275
307
  [_rTe],
276
308
  [() => ResourceTagList]
277
309
  ];
278
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
279
- { [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
280
- [_m, _rI, _rT],
281
- [0, 0, 0], 3
282
- ];
283
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
284
310
  export var ResourceTag$ = [3, n0, _RT,
285
311
  0,
286
312
  [_k, _va],
287
313
  [0, 0], 1
288
314
  ];
289
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
290
- { [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
291
- [_m, _rI, _rT, _sCe, _qC],
292
- [0, 0, 0, 0, 0], 5
293
- ];
294
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
295
315
  export var StringSearch$ = [3, n0, _SS,
296
316
  0,
297
317
  [_sO, _sVe],
@@ -312,12 +332,6 @@ export var TagValues$ = [3, n0, _TV,
312
332
  [_k, _v],
313
333
  [0, 64 | 0], 2
314
334
  ];
315
- export var ThrottlingException$ = [-3, n0, _TE,
316
- { [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },
317
- [_m],
318
- [0], 1
319
- ];
320
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
321
335
  export var TimeRange$ = [3, n0, _TR,
322
336
  0,
323
337
  [_bDI, _eDI],
@@ -343,19 +357,11 @@ export var UpdateBillingViewResponse$ = [3, n0, _UBVRp,
343
357
  [_a, _uA],
344
358
  [0, 4], 1
345
359
  ];
346
- export var ValidationException$ = [-3, n0, _VE,
347
- { [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },
348
- [_m, _r, _fL],
349
- [0, 0, () => ValidationExceptionFieldList], 2
350
- ];
351
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
352
360
  export var ValidationExceptionField$ = [3, n0, _VEF,
353
361
  0,
354
362
  [_n, _m],
355
363
  [0, 0], 2
356
364
  ];
357
- export var BillingServiceException$ = [-3, _sm, "BillingServiceException", 0, [], []];
358
- TypeRegistry.for(_sm).registerError(BillingServiceException$, BillingServiceException);
359
365
  var BillingViewArnList = 64 | 0;
360
366
  var BillingViewList = [1, n0, _BVL,
361
367
  0, [() => BillingViewListElement$,
@@ -1,13 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var BillingServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var BillingViewHealthStatusException$: StaticErrorSchema;
6
+ export declare var ConflictException$: StaticErrorSchema;
7
+ export declare var InternalServerException$: StaticErrorSchema;
8
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
9
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var ThrottlingException$: StaticErrorSchema;
11
+ export declare var ValidationException$: StaticErrorSchema;
12
+ /**
13
+ * TypeRegistry instances containing modeled errors.
14
+ * @internal
15
+ *
16
+ */
17
+ export declare const errorTypeRegistries: TypeRegistry[];
3
18
  export declare var ActiveTimeRange$: StaticStructureSchema;
4
19
  export declare var AssociateSourceViewsRequest$: StaticStructureSchema;
5
20
  export declare var AssociateSourceViewsResponse$: StaticStructureSchema;
6
21
  export declare var BillingViewElement$: StaticStructureSchema;
7
22
  export declare var BillingViewHealthStatus$: StaticStructureSchema;
8
- export declare var BillingViewHealthStatusException$: StaticErrorSchema;
9
23
  export declare var BillingViewListElement$: StaticStructureSchema;
10
- export declare var ConflictException$: StaticErrorSchema;
11
24
  export declare var CostCategoryValues$: StaticStructureSchema;
12
25
  export declare var CreateBillingViewRequest$: StaticStructureSchema;
13
26
  export declare var CreateBillingViewResponse$: StaticStructureSchema;
@@ -21,29 +34,23 @@ export declare var GetBillingViewRequest$: StaticStructureSchema;
21
34
  export declare var GetBillingViewResponse$: StaticStructureSchema;
22
35
  export declare var GetResourcePolicyRequest$: StaticStructureSchema;
23
36
  export declare var GetResourcePolicyResponse$: StaticStructureSchema;
24
- export declare var InternalServerException$: StaticErrorSchema;
25
37
  export declare var ListBillingViewsRequest$: StaticStructureSchema;
26
38
  export declare var ListBillingViewsResponse$: StaticStructureSchema;
27
39
  export declare var ListSourceViewsForBillingViewRequest$: StaticStructureSchema;
28
40
  export declare var ListSourceViewsForBillingViewResponse$: StaticStructureSchema;
29
41
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
30
42
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
31
- export declare var ResourceNotFoundException$: StaticErrorSchema;
32
43
  export declare var ResourceTag$: StaticStructureSchema;
33
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
34
44
  export declare var StringSearch$: StaticStructureSchema;
35
45
  export declare var TagResourceRequest$: StaticStructureSchema;
36
46
  export declare var TagResourceResponse$: StaticStructureSchema;
37
47
  export declare var TagValues$: StaticStructureSchema;
38
- export declare var ThrottlingException$: StaticErrorSchema;
39
48
  export declare var TimeRange$: StaticStructureSchema;
40
49
  export declare var UntagResourceRequest$: StaticStructureSchema;
41
50
  export declare var UntagResourceResponse$: StaticStructureSchema;
42
51
  export declare var UpdateBillingViewRequest$: StaticStructureSchema;
43
52
  export declare var UpdateBillingViewResponse$: StaticStructureSchema;
44
- export declare var ValidationException$: StaticErrorSchema;
45
53
  export declare var ValidationExceptionField$: StaticStructureSchema;
46
- export declare var BillingServiceException$: StaticErrorSchema;
47
54
  export declare var AssociateSourceViews$: StaticOperationSchema;
48
55
  export declare var CreateBillingView$: StaticOperationSchema;
49
56
  export declare var DeleteBillingView$: StaticOperationSchema;
@@ -1,17 +1,25 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var BillingServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var BillingViewHealthStatusException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ThrottlingException$: StaticErrorSchema;
15
+ export declare var ValidationException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
7
17
  export declare var ActiveTimeRange$: StaticStructureSchema;
8
18
  export declare var AssociateSourceViewsRequest$: StaticStructureSchema;
9
19
  export declare var AssociateSourceViewsResponse$: StaticStructureSchema;
10
20
  export declare var BillingViewElement$: StaticStructureSchema;
11
21
  export declare var BillingViewHealthStatus$: StaticStructureSchema;
12
- export declare var BillingViewHealthStatusException$: StaticErrorSchema;
13
22
  export declare var BillingViewListElement$: StaticStructureSchema;
14
- export declare var ConflictException$: StaticErrorSchema;
15
23
  export declare var CostCategoryValues$: StaticStructureSchema;
16
24
  export declare var CreateBillingViewRequest$: StaticStructureSchema;
17
25
  export declare var CreateBillingViewResponse$: StaticStructureSchema;
@@ -25,29 +33,23 @@ export declare var GetBillingViewRequest$: StaticStructureSchema;
25
33
  export declare var GetBillingViewResponse$: StaticStructureSchema;
26
34
  export declare var GetResourcePolicyRequest$: StaticStructureSchema;
27
35
  export declare var GetResourcePolicyResponse$: StaticStructureSchema;
28
- export declare var InternalServerException$: StaticErrorSchema;
29
36
  export declare var ListBillingViewsRequest$: StaticStructureSchema;
30
37
  export declare var ListBillingViewsResponse$: StaticStructureSchema;
31
38
  export declare var ListSourceViewsForBillingViewRequest$: StaticStructureSchema;
32
39
  export declare var ListSourceViewsForBillingViewResponse$: StaticStructureSchema;
33
40
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
34
41
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
35
- export declare var ResourceNotFoundException$: StaticErrorSchema;
36
42
  export declare var ResourceTag$: StaticStructureSchema;
37
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
38
43
  export declare var StringSearch$: StaticStructureSchema;
39
44
  export declare var TagResourceRequest$: StaticStructureSchema;
40
45
  export declare var TagResourceResponse$: StaticStructureSchema;
41
46
  export declare var TagValues$: StaticStructureSchema;
42
- export declare var ThrottlingException$: StaticErrorSchema;
43
47
  export declare var TimeRange$: StaticStructureSchema;
44
48
  export declare var UntagResourceRequest$: StaticStructureSchema;
45
49
  export declare var UntagResourceResponse$: StaticStructureSchema;
46
50
  export declare var UpdateBillingViewRequest$: StaticStructureSchema;
47
51
  export declare var UpdateBillingViewResponse$: StaticStructureSchema;
48
- export declare var ValidationException$: StaticErrorSchema;
49
52
  export declare var ValidationExceptionField$: StaticStructureSchema;
50
- export declare var BillingServiceException$: StaticErrorSchema;
51
53
  export declare var AssociateSourceViews$: StaticOperationSchema;
52
54
  export declare var CreateBillingView$: StaticOperationSchema;
53
55
  export declare var DeleteBillingView$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billing",
3
3
  "description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-billing",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",