@aws-sdk/client-account 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 +9 -1
- package/dist-es/models/AccountServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/AccountServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/AccountServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -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
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class AccountServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.account#AccountServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, AccountServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class AccountServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends AccountServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.account#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
errorType;
|
|
@@ -153,6 +155,7 @@ class AccessDeniedException extends AccountServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ConflictException extends AccountServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.account#ConflictException";
|
|
156
159
|
name = "ConflictException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
errorType;
|
|
@@ -167,6 +170,7 @@ class ConflictException extends AccountServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InternalServerException extends AccountServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.account#InternalServerException";
|
|
170
174
|
name = "InternalServerException";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
$retryable = {};
|
|
@@ -182,6 +186,7 @@ class InternalServerException extends AccountServiceException {
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
class ResourceNotFoundException extends AccountServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.account#ResourceNotFoundException";
|
|
185
190
|
name = "ResourceNotFoundException";
|
|
186
191
|
$fault = "client";
|
|
187
192
|
errorType;
|
|
@@ -196,6 +201,7 @@ class ResourceNotFoundException extends AccountServiceException {
|
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
203
|
class TooManyRequestsException extends AccountServiceException {
|
|
204
|
+
static shapeId = "com.amazonaws.account#TooManyRequestsException";
|
|
199
205
|
name = "TooManyRequestsException";
|
|
200
206
|
$fault = "client";
|
|
201
207
|
$retryable = {
|
|
@@ -213,6 +219,7 @@ class TooManyRequestsException extends AccountServiceException {
|
|
|
213
219
|
}
|
|
214
220
|
}
|
|
215
221
|
class ValidationException extends AccountServiceException {
|
|
222
|
+
static shapeId = "com.amazonaws.account#ValidationException";
|
|
216
223
|
name = "ValidationException";
|
|
217
224
|
$fault = "client";
|
|
218
225
|
reason;
|
|
@@ -229,6 +236,7 @@ class ValidationException extends AccountServiceException {
|
|
|
229
236
|
}
|
|
230
237
|
}
|
|
231
238
|
class ResourceUnavailableException extends AccountServiceException {
|
|
239
|
+
static shapeId = "com.amazonaws.account#ResourceUnavailableException";
|
|
232
240
|
name = "ResourceUnavailableException";
|
|
233
241
|
$fault = "client";
|
|
234
242
|
errorType;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class AccountServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.account#AccountServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, AccountServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.account#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
errorType;
|
|
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.account#ConflictException";
|
|
17
19
|
name = "ConflictException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
errorType;
|
|
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.account#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
$retryable = {};
|
|
@@ -43,6 +46,7 @@ export class InternalServerException extends __BaseException {
|
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
export class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
static shapeId = "com.amazonaws.account#ResourceNotFoundException";
|
|
46
50
|
name = "ResourceNotFoundException";
|
|
47
51
|
$fault = "client";
|
|
48
52
|
errorType;
|
|
@@ -57,6 +61,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
export class TooManyRequestsException extends __BaseException {
|
|
64
|
+
static shapeId = "com.amazonaws.account#TooManyRequestsException";
|
|
60
65
|
name = "TooManyRequestsException";
|
|
61
66
|
$fault = "client";
|
|
62
67
|
$retryable = {
|
|
@@ -74,6 +79,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
74
79
|
}
|
|
75
80
|
}
|
|
76
81
|
export class ValidationException extends __BaseException {
|
|
82
|
+
static shapeId = "com.amazonaws.account#ValidationException";
|
|
77
83
|
name = "ValidationException";
|
|
78
84
|
$fault = "client";
|
|
79
85
|
reason;
|
|
@@ -90,6 +96,7 @@ export class ValidationException extends __BaseException {
|
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
export class ResourceUnavailableException extends __BaseException {
|
|
99
|
+
static shapeId = "com.amazonaws.account#ResourceUnavailableException";
|
|
93
100
|
name = "ResourceUnavailableException";
|
|
94
101
|
$fault = "client";
|
|
95
102
|
errorType;
|
|
@@ -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
|
/**
|
|
@@ -24,6 +25,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
26
27
|
export declare class ConflictException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
27
29
|
readonly name: "ConflictException";
|
|
28
30
|
readonly $fault: "client";
|
|
29
31
|
/**
|
|
@@ -41,6 +43,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
41
43
|
* @public
|
|
42
44
|
*/
|
|
43
45
|
export declare class InternalServerException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
44
47
|
readonly name: "InternalServerException";
|
|
45
48
|
readonly $fault: "server";
|
|
46
49
|
$retryable: {};
|
|
@@ -59,6 +62,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
59
62
|
* @public
|
|
60
63
|
*/
|
|
61
64
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
static readonly shapeId: string;
|
|
62
66
|
readonly name: "ResourceNotFoundException";
|
|
63
67
|
readonly $fault: "client";
|
|
64
68
|
/**
|
|
@@ -76,6 +80,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
76
80
|
* @public
|
|
77
81
|
*/
|
|
78
82
|
export declare class TooManyRequestsException extends __BaseException {
|
|
83
|
+
static readonly shapeId: string;
|
|
79
84
|
readonly name: "TooManyRequestsException";
|
|
80
85
|
readonly $fault: "client";
|
|
81
86
|
$retryable: {
|
|
@@ -96,6 +101,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
96
101
|
* @public
|
|
97
102
|
*/
|
|
98
103
|
export declare class ValidationException extends __BaseException {
|
|
104
|
+
static readonly shapeId: string;
|
|
99
105
|
readonly name: "ValidationException";
|
|
100
106
|
readonly $fault: "client";
|
|
101
107
|
/**
|
|
@@ -118,6 +124,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
118
124
|
* @public
|
|
119
125
|
*/
|
|
120
126
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
127
|
+
static readonly shapeId: string;
|
|
121
128
|
readonly name: "ResourceUnavailableException";
|
|
122
129
|
readonly $fault: "client";
|
|
123
130
|
/**
|
|
@@ -3,18 +3,21 @@ import { AccountServiceException as __BaseException } from "./AccountServiceExce
|
|
|
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
|
errorType?: string | undefined;
|
|
9
10
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
11
|
}
|
|
11
12
|
export declare class ConflictException extends __BaseException {
|
|
13
|
+
static readonly shapeId: string;
|
|
12
14
|
readonly name: "ConflictException";
|
|
13
15
|
readonly $fault: "client";
|
|
14
16
|
errorType?: string | undefined;
|
|
15
17
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "InternalServerException";
|
|
19
22
|
readonly $fault: "server";
|
|
20
23
|
$retryable: {};
|
|
@@ -22,12 +25,14 @@ export declare class InternalServerException extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "ResourceNotFoundException";
|
|
26
30
|
readonly $fault: "client";
|
|
27
31
|
errorType?: string | undefined;
|
|
28
32
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
29
33
|
}
|
|
30
34
|
export declare class TooManyRequestsException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
31
36
|
readonly name: "TooManyRequestsException";
|
|
32
37
|
readonly $fault: "client";
|
|
33
38
|
$retryable: {
|
|
@@ -37,6 +42,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
37
42
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
38
43
|
}
|
|
39
44
|
export declare class ValidationException extends __BaseException {
|
|
45
|
+
static readonly shapeId: string;
|
|
40
46
|
readonly name: "ValidationException";
|
|
41
47
|
readonly $fault: "client";
|
|
42
48
|
reason?: ValidationExceptionReason | undefined;
|
|
@@ -44,6 +50,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
44
50
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
45
51
|
}
|
|
46
52
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
47
54
|
readonly name: "ResourceUnavailableException";
|
|
48
55
|
readonly $fault: "client";
|
|
49
56
|
errorType?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-account",
|
|
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",
|