@aws-sdk/client-billing 3.1148.0 → 3.1150.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 +10 -1
- package/dist-es/models/BillingServiceException.js +1 -0
- package/dist-es/models/errors.js +8 -0
- package/dist-types/models/BillingServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/BillingServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -135,6 +135,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
135
135
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
136
136
|
|
|
137
137
|
class BillingServiceException extends ServiceException {
|
|
138
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.billing#BillingServiceException";
|
|
138
139
|
constructor(options) {
|
|
139
140
|
super(options);
|
|
140
141
|
Object.setPrototypeOf(this, BillingServiceException.prototype);
|
|
@@ -142,6 +143,7 @@ class BillingServiceException extends ServiceException {
|
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
class AccessDeniedException extends BillingServiceException {
|
|
146
|
+
static shapeId = "com.amazonaws.billing#AccessDeniedException";
|
|
145
147
|
name = "AccessDeniedException";
|
|
146
148
|
$fault = "client";
|
|
147
149
|
constructor(opts) {
|
|
@@ -154,6 +156,7 @@ class AccessDeniedException extends BillingServiceException {
|
|
|
154
156
|
}
|
|
155
157
|
}
|
|
156
158
|
class BillingViewHealthStatusException extends BillingServiceException {
|
|
159
|
+
static shapeId = "com.amazonaws.billing#BillingViewHealthStatusException";
|
|
157
160
|
name = "BillingViewHealthStatusException";
|
|
158
161
|
$fault = "client";
|
|
159
162
|
constructor(opts) {
|
|
@@ -166,6 +169,7 @@ class BillingViewHealthStatusException extends BillingServiceException {
|
|
|
166
169
|
}
|
|
167
170
|
}
|
|
168
171
|
class ConflictException extends BillingServiceException {
|
|
172
|
+
static shapeId = "com.amazonaws.billing#ConflictException";
|
|
169
173
|
name = "ConflictException";
|
|
170
174
|
$fault = "client";
|
|
171
175
|
resourceId;
|
|
@@ -182,6 +186,7 @@ class ConflictException extends BillingServiceException {
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
class InternalServerException extends BillingServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.billing#InternalServerException";
|
|
185
190
|
name = "InternalServerException";
|
|
186
191
|
$fault = "server";
|
|
187
192
|
constructor(opts) {
|
|
@@ -194,6 +199,7 @@ class InternalServerException extends BillingServiceException {
|
|
|
194
199
|
}
|
|
195
200
|
}
|
|
196
201
|
class ResourceNotFoundException extends BillingServiceException {
|
|
202
|
+
static shapeId = "com.amazonaws.billing#ResourceNotFoundException";
|
|
197
203
|
name = "ResourceNotFoundException";
|
|
198
204
|
$fault = "client";
|
|
199
205
|
resourceId;
|
|
@@ -210,6 +216,7 @@ class ResourceNotFoundException extends BillingServiceException {
|
|
|
210
216
|
}
|
|
211
217
|
}
|
|
212
218
|
class ServiceQuotaExceededException extends BillingServiceException {
|
|
219
|
+
static shapeId = "com.amazonaws.billing#ServiceQuotaExceededException";
|
|
213
220
|
name = "ServiceQuotaExceededException";
|
|
214
221
|
$fault = "client";
|
|
215
222
|
resourceId;
|
|
@@ -230,6 +237,7 @@ class ServiceQuotaExceededException extends BillingServiceException {
|
|
|
230
237
|
}
|
|
231
238
|
}
|
|
232
239
|
class ThrottlingException extends BillingServiceException {
|
|
240
|
+
static shapeId = "com.amazonaws.billing#ThrottlingException";
|
|
233
241
|
name = "ThrottlingException";
|
|
234
242
|
$fault = "client";
|
|
235
243
|
constructor(opts) {
|
|
@@ -242,6 +250,7 @@ class ThrottlingException extends BillingServiceException {
|
|
|
242
250
|
}
|
|
243
251
|
}
|
|
244
252
|
class ValidationException extends BillingServiceException {
|
|
253
|
+
static shapeId = "com.amazonaws.billing#ValidationException";
|
|
245
254
|
name = "ValidationException";
|
|
246
255
|
$fault = "client";
|
|
247
256
|
reason;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BillingServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.billing#BillingServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, BillingServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BillingServiceException as __BaseException } from "./BillingServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.billing#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class BillingViewHealthStatusException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.billing#BillingViewHealthStatusException";
|
|
15
17
|
name = "BillingViewHealthStatusException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class BillingViewHealthStatusException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class ConflictException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.billing#ConflictException";
|
|
27
30
|
name = "ConflictException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
resourceId;
|
|
@@ -40,6 +43,7 @@ export class ConflictException extends __BaseException {
|
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
export class InternalServerException extends __BaseException {
|
|
46
|
+
static shapeId = "com.amazonaws.billing#InternalServerException";
|
|
43
47
|
name = "InternalServerException";
|
|
44
48
|
$fault = "server";
|
|
45
49
|
constructor(opts) {
|
|
@@ -52,6 +56,7 @@ export class InternalServerException extends __BaseException {
|
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
export class ResourceNotFoundException extends __BaseException {
|
|
59
|
+
static shapeId = "com.amazonaws.billing#ResourceNotFoundException";
|
|
55
60
|
name = "ResourceNotFoundException";
|
|
56
61
|
$fault = "client";
|
|
57
62
|
resourceId;
|
|
@@ -68,6 +73,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
76
|
+
static shapeId = "com.amazonaws.billing#ServiceQuotaExceededException";
|
|
71
77
|
name = "ServiceQuotaExceededException";
|
|
72
78
|
$fault = "client";
|
|
73
79
|
resourceId;
|
|
@@ -88,6 +94,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
export class ThrottlingException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.billing#ThrottlingException";
|
|
91
98
|
name = "ThrottlingException";
|
|
92
99
|
$fault = "client";
|
|
93
100
|
constructor(opts) {
|
|
@@ -100,6 +107,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
100
107
|
}
|
|
101
108
|
}
|
|
102
109
|
export class ValidationException extends __BaseException {
|
|
110
|
+
static shapeId = "com.amazonaws.billing#ValidationException";
|
|
103
111
|
name = "ValidationException";
|
|
104
112
|
$fault = "client";
|
|
105
113
|
reason;
|
|
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class BillingViewHealthStatusException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "BillingViewHealthStatusException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
/**
|
|
@@ -31,6 +33,7 @@ export declare class BillingViewHealthStatusException extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class ConflictException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "ConflictException";
|
|
35
38
|
readonly $fault: "client";
|
|
36
39
|
/**
|
|
@@ -53,6 +56,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
53
56
|
* @public
|
|
54
57
|
*/
|
|
55
58
|
export declare class InternalServerException extends __BaseException {
|
|
59
|
+
static readonly shapeId: string;
|
|
56
60
|
readonly name: "InternalServerException";
|
|
57
61
|
readonly $fault: "server";
|
|
58
62
|
/**
|
|
@@ -65,6 +69,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
65
69
|
* @public
|
|
66
70
|
*/
|
|
67
71
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
72
|
+
static readonly shapeId: string;
|
|
68
73
|
readonly name: "ResourceNotFoundException";
|
|
69
74
|
readonly $fault: "client";
|
|
70
75
|
/**
|
|
@@ -87,6 +92,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
87
92
|
* @public
|
|
88
93
|
*/
|
|
89
94
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
95
|
+
static readonly shapeId: string;
|
|
90
96
|
readonly name: "ServiceQuotaExceededException";
|
|
91
97
|
readonly $fault: "client";
|
|
92
98
|
/**
|
|
@@ -119,6 +125,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
119
125
|
* @public
|
|
120
126
|
*/
|
|
121
127
|
export declare class ThrottlingException extends __BaseException {
|
|
128
|
+
static readonly shapeId: string;
|
|
122
129
|
readonly name: "ThrottlingException";
|
|
123
130
|
readonly $fault: "client";
|
|
124
131
|
/**
|
|
@@ -131,6 +138,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
131
138
|
* @public
|
|
132
139
|
*/
|
|
133
140
|
export declare class ValidationException extends __BaseException {
|
|
141
|
+
static readonly shapeId: string;
|
|
134
142
|
readonly name: "ValidationException";
|
|
135
143
|
readonly $fault: "client";
|
|
136
144
|
/**
|
|
@@ -3,16 +3,19 @@ import { BillingServiceException as __BaseException } from "./BillingServiceExce
|
|
|
3
3
|
import { ValidationExceptionReason } from "./enums";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class BillingViewHealthStatusException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "BillingViewHealthStatusException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
constructor(opts: __ExceptionOptionType<BillingViewHealthStatusException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class ConflictException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "ConflictException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
resourceId: string | undefined;
|
|
@@ -20,11 +23,13 @@ export declare class ConflictException extends __BaseException {
|
|
|
20
23
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
21
24
|
}
|
|
22
25
|
export declare class InternalServerException extends __BaseException {
|
|
26
|
+
static readonly shapeId: string;
|
|
23
27
|
readonly name: "InternalServerException";
|
|
24
28
|
readonly $fault: "server";
|
|
25
29
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "ResourceNotFoundException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
resourceId: string | undefined;
|
|
@@ -32,6 +37,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
32
37
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
33
38
|
}
|
|
34
39
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
35
41
|
readonly name: "ServiceQuotaExceededException";
|
|
36
42
|
readonly $fault: "client";
|
|
37
43
|
resourceId: string | undefined;
|
|
@@ -41,11 +47,13 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
41
47
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
42
48
|
}
|
|
43
49
|
export declare class ThrottlingException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
44
51
|
readonly name: "ThrottlingException";
|
|
45
52
|
readonly $fault: "client";
|
|
46
53
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
47
54
|
}
|
|
48
55
|
export declare class ValidationException extends __BaseException {
|
|
56
|
+
static readonly shapeId: string;
|
|
49
57
|
readonly name: "ValidationException";
|
|
50
58
|
readonly $fault: "client";
|
|
51
59
|
reason: ValidationExceptionReason | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-billing",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|