@aws-sdk/client-verifiedpermissions 3.1148.0 → 3.1149.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 +11 -1
- package/dist-es/models/VerifiedPermissionsServiceException.js +1 -0
- package/dist-es/models/errors.js +9 -0
- package/dist-types/models/VerifiedPermissionsServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/models/VerifiedPermissionsServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -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.1148.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 VerifiedPermissionsServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.verifiedpermissions#VerifiedPermissionsServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, VerifiedPermissionsServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class VerifiedPermissionsServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends VerifiedPermissionsServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.verifiedpermissions#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends VerifiedPermissionsServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class InternalServerException extends VerifiedPermissionsServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.verifiedpermissions#InternalServerException";
|
|
154
157
|
name = "InternalServerException";
|
|
155
158
|
$fault = "server";
|
|
156
159
|
$retryable = {};
|
|
@@ -164,6 +167,7 @@ class InternalServerException extends VerifiedPermissionsServiceException {
|
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
class ThrottlingException extends VerifiedPermissionsServiceException {
|
|
170
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ThrottlingException";
|
|
167
171
|
name = "ThrottlingException";
|
|
168
172
|
$fault = "client";
|
|
169
173
|
$retryable = {
|
|
@@ -183,6 +187,7 @@ class ThrottlingException extends VerifiedPermissionsServiceException {
|
|
|
183
187
|
}
|
|
184
188
|
}
|
|
185
189
|
class ValidationException extends VerifiedPermissionsServiceException {
|
|
190
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ValidationException";
|
|
186
191
|
name = "ValidationException";
|
|
187
192
|
$fault = "client";
|
|
188
193
|
fieldList;
|
|
@@ -197,6 +202,7 @@ class ValidationException extends VerifiedPermissionsServiceException {
|
|
|
197
202
|
}
|
|
198
203
|
}
|
|
199
204
|
class ResourceNotFoundException extends VerifiedPermissionsServiceException {
|
|
205
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ResourceNotFoundException";
|
|
200
206
|
name = "ResourceNotFoundException";
|
|
201
207
|
$fault = "client";
|
|
202
208
|
resourceId;
|
|
@@ -213,6 +219,7 @@ class ResourceNotFoundException extends VerifiedPermissionsServiceException {
|
|
|
213
219
|
}
|
|
214
220
|
}
|
|
215
221
|
class ConflictException extends VerifiedPermissionsServiceException {
|
|
222
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ConflictException";
|
|
216
223
|
name = "ConflictException";
|
|
217
224
|
$fault = "client";
|
|
218
225
|
resources;
|
|
@@ -227,6 +234,7 @@ class ConflictException extends VerifiedPermissionsServiceException {
|
|
|
227
234
|
}
|
|
228
235
|
}
|
|
229
236
|
class ServiceQuotaExceededException extends VerifiedPermissionsServiceException {
|
|
237
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ServiceQuotaExceededException";
|
|
230
238
|
name = "ServiceQuotaExceededException";
|
|
231
239
|
$fault = "client";
|
|
232
240
|
resourceId;
|
|
@@ -247,6 +255,7 @@ class ServiceQuotaExceededException extends VerifiedPermissionsServiceException
|
|
|
247
255
|
}
|
|
248
256
|
}
|
|
249
257
|
class InvalidStateException extends VerifiedPermissionsServiceException {
|
|
258
|
+
static shapeId = "com.amazonaws.verifiedpermissions#InvalidStateException";
|
|
250
259
|
name = "InvalidStateException";
|
|
251
260
|
$fault = "client";
|
|
252
261
|
constructor(opts) {
|
|
@@ -259,6 +268,7 @@ class InvalidStateException extends VerifiedPermissionsServiceException {
|
|
|
259
268
|
}
|
|
260
269
|
}
|
|
261
270
|
class TooManyTagsException extends VerifiedPermissionsServiceException {
|
|
271
|
+
static shapeId = "com.amazonaws.verifiedpermissions#TooManyTagsException";
|
|
262
272
|
name = "TooManyTagsException";
|
|
263
273
|
$fault = "client";
|
|
264
274
|
resourceName;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class VerifiedPermissionsServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.verifiedpermissions#VerifiedPermissionsServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, VerifiedPermissionsServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { VerifiedPermissionsServiceException as __BaseException } from "./VerifiedPermissionsServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.verifiedpermissions#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 InternalServerException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.verifiedpermissions#InternalServerException";
|
|
15
17
|
name = "InternalServerException";
|
|
16
18
|
$fault = "server";
|
|
17
19
|
$retryable = {};
|
|
@@ -25,6 +27,7 @@ export class InternalServerException extends __BaseException {
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
export class ThrottlingException extends __BaseException {
|
|
30
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ThrottlingException";
|
|
28
31
|
name = "ThrottlingException";
|
|
29
32
|
$fault = "client";
|
|
30
33
|
$retryable = {
|
|
@@ -44,6 +47,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
export class ValidationException extends __BaseException {
|
|
50
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ValidationException";
|
|
47
51
|
name = "ValidationException";
|
|
48
52
|
$fault = "client";
|
|
49
53
|
fieldList;
|
|
@@ -58,6 +62,7 @@ export class ValidationException extends __BaseException {
|
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
export class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ResourceNotFoundException";
|
|
61
66
|
name = "ResourceNotFoundException";
|
|
62
67
|
$fault = "client";
|
|
63
68
|
resourceId;
|
|
@@ -74,6 +79,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
74
79
|
}
|
|
75
80
|
}
|
|
76
81
|
export class ConflictException extends __BaseException {
|
|
82
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ConflictException";
|
|
77
83
|
name = "ConflictException";
|
|
78
84
|
$fault = "client";
|
|
79
85
|
resources;
|
|
@@ -88,6 +94,7 @@ export class ConflictException extends __BaseException {
|
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.verifiedpermissions#ServiceQuotaExceededException";
|
|
91
98
|
name = "ServiceQuotaExceededException";
|
|
92
99
|
$fault = "client";
|
|
93
100
|
resourceId;
|
|
@@ -108,6 +115,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
108
115
|
}
|
|
109
116
|
}
|
|
110
117
|
export class InvalidStateException extends __BaseException {
|
|
118
|
+
static shapeId = "com.amazonaws.verifiedpermissions#InvalidStateException";
|
|
111
119
|
name = "InvalidStateException";
|
|
112
120
|
$fault = "client";
|
|
113
121
|
constructor(opts) {
|
|
@@ -120,6 +128,7 @@ export class InvalidStateException extends __BaseException {
|
|
|
120
128
|
}
|
|
121
129
|
}
|
|
122
130
|
export class TooManyTagsException extends __BaseException {
|
|
131
|
+
static shapeId = "com.amazonaws.verifiedpermissions#TooManyTagsException";
|
|
123
132
|
name = "TooManyTagsException";
|
|
124
133
|
$fault = "client";
|
|
125
134
|
resourceName;
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from VerifiedPermissions service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class VerifiedPermissionsServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -7,6 +7,7 @@ import { VerifiedPermissionsServiceException as __BaseException } from "./Verifi
|
|
|
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 InternalServerException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "InternalServerException";
|
|
23
25
|
readonly $fault: "server";
|
|
24
26
|
$retryable: {};
|
|
@@ -32,6 +34,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
32
34
|
* @public
|
|
33
35
|
*/
|
|
34
36
|
export declare class ThrottlingException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
35
38
|
readonly name: "ThrottlingException";
|
|
36
39
|
readonly $fault: "client";
|
|
37
40
|
$retryable: {
|
|
@@ -57,6 +60,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
57
60
|
* @public
|
|
58
61
|
*/
|
|
59
62
|
export declare class ValidationException extends __BaseException {
|
|
63
|
+
static readonly shapeId: string;
|
|
60
64
|
readonly name: "ValidationException";
|
|
61
65
|
readonly $fault: "client";
|
|
62
66
|
/**
|
|
@@ -74,6 +78,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
74
78
|
* @public
|
|
75
79
|
*/
|
|
76
80
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
81
|
+
static readonly shapeId: string;
|
|
77
82
|
readonly name: "ResourceNotFoundException";
|
|
78
83
|
readonly $fault: "client";
|
|
79
84
|
/**
|
|
@@ -96,6 +101,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
96
101
|
* @public
|
|
97
102
|
*/
|
|
98
103
|
export declare class ConflictException extends __BaseException {
|
|
104
|
+
static readonly shapeId: string;
|
|
99
105
|
readonly name: "ConflictException";
|
|
100
106
|
readonly $fault: "client";
|
|
101
107
|
/**
|
|
@@ -113,6 +119,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
113
119
|
* @public
|
|
114
120
|
*/
|
|
115
121
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
122
|
+
static readonly shapeId: string;
|
|
116
123
|
readonly name: "ServiceQuotaExceededException";
|
|
117
124
|
readonly $fault: "client";
|
|
118
125
|
/**
|
|
@@ -145,6 +152,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
145
152
|
* @public
|
|
146
153
|
*/
|
|
147
154
|
export declare class InvalidStateException extends __BaseException {
|
|
155
|
+
static readonly shapeId: string;
|
|
148
156
|
readonly name: "InvalidStateException";
|
|
149
157
|
readonly $fault: "client";
|
|
150
158
|
/**
|
|
@@ -157,6 +165,7 @@ export declare class InvalidStateException extends __BaseException {
|
|
|
157
165
|
* @public
|
|
158
166
|
*/
|
|
159
167
|
export declare class TooManyTagsException extends __BaseException {
|
|
168
|
+
static readonly shapeId: string;
|
|
160
169
|
readonly name: "TooManyTagsException";
|
|
161
170
|
readonly $fault: "client";
|
|
162
171
|
/**
|
|
@@ -3,17 +3,20 @@ import { ResourceType } from "./enums";
|
|
|
3
3
|
import { ResourceConflict, ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { VerifiedPermissionsServiceException as __BaseException } from "./VerifiedPermissionsServiceException";
|
|
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 InternalServerException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "InternalServerException";
|
|
12
14
|
readonly $fault: "server";
|
|
13
15
|
$retryable: {};
|
|
14
16
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
15
17
|
}
|
|
16
18
|
export declare class ThrottlingException extends __BaseException {
|
|
19
|
+
static readonly shapeId: string;
|
|
17
20
|
readonly name: "ThrottlingException";
|
|
18
21
|
readonly $fault: "client";
|
|
19
22
|
$retryable: {
|
|
@@ -24,12 +27,14 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
24
27
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
25
28
|
}
|
|
26
29
|
export declare class ValidationException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
27
31
|
readonly name: "ValidationException";
|
|
28
32
|
readonly $fault: "client";
|
|
29
33
|
fieldList?: ValidationExceptionField[] | undefined;
|
|
30
34
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
31
35
|
}
|
|
32
36
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
33
38
|
readonly name: "ResourceNotFoundException";
|
|
34
39
|
readonly $fault: "client";
|
|
35
40
|
resourceId: string | undefined;
|
|
@@ -37,12 +42,14 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
37
42
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
38
43
|
}
|
|
39
44
|
export declare class ConflictException extends __BaseException {
|
|
45
|
+
static readonly shapeId: string;
|
|
40
46
|
readonly name: "ConflictException";
|
|
41
47
|
readonly $fault: "client";
|
|
42
48
|
resources: ResourceConflict[] | undefined;
|
|
43
49
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
44
50
|
}
|
|
45
51
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
46
53
|
readonly name: "ServiceQuotaExceededException";
|
|
47
54
|
readonly $fault: "client";
|
|
48
55
|
resourceId?: string | undefined;
|
|
@@ -52,11 +59,13 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
52
59
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
53
60
|
}
|
|
54
61
|
export declare class InvalidStateException extends __BaseException {
|
|
62
|
+
static readonly shapeId: string;
|
|
55
63
|
readonly name: "InvalidStateException";
|
|
56
64
|
readonly $fault: "client";
|
|
57
65
|
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
58
66
|
}
|
|
59
67
|
export declare class TooManyTagsException extends __BaseException {
|
|
68
|
+
static readonly shapeId: string;
|
|
60
69
|
readonly name: "TooManyTagsException";
|
|
61
70
|
readonly $fault: "client";
|
|
62
71
|
resourceName?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-verifiedpermissions",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Verifiedpermissions Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-verifiedpermissions",
|
|
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.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
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",
|