@aws-sdk/client-network-security-manager 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 +11 -1
- package/dist-es/models/NetworkSecurityManagerServiceException.js +1 -0
- package/dist-es/models/errors.js +9 -0
- package/dist-types/models/NetworkSecurityManagerServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/models/NetworkSecurityManagerServiceException.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
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1149.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -113,6 +113,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
113
113
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
114
114
|
|
|
115
115
|
class NetworkSecurityManagerServiceException extends ServiceException {
|
|
116
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.networksecuritymanager#NetworkSecurityManagerServiceException";
|
|
116
117
|
constructor(options) {
|
|
117
118
|
super(options);
|
|
118
119
|
Object.setPrototypeOf(this, NetworkSecurityManagerServiceException.prototype);
|
|
@@ -120,6 +121,7 @@ class NetworkSecurityManagerServiceException extends ServiceException {
|
|
|
120
121
|
}
|
|
121
122
|
|
|
122
123
|
class AccessDeniedException extends NetworkSecurityManagerServiceException {
|
|
124
|
+
static shapeId = "com.amazonaws.networksecuritymanager#AccessDeniedException";
|
|
123
125
|
name = "AccessDeniedException";
|
|
124
126
|
$fault = "client";
|
|
125
127
|
constructor(opts) {
|
|
@@ -132,6 +134,7 @@ class AccessDeniedException extends NetworkSecurityManagerServiceException {
|
|
|
132
134
|
}
|
|
133
135
|
}
|
|
134
136
|
class ConflictException extends NetworkSecurityManagerServiceException {
|
|
137
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ConflictException";
|
|
135
138
|
name = "ConflictException";
|
|
136
139
|
$fault = "client";
|
|
137
140
|
resourceId;
|
|
@@ -148,6 +151,7 @@ class ConflictException extends NetworkSecurityManagerServiceException {
|
|
|
148
151
|
}
|
|
149
152
|
}
|
|
150
153
|
class InternalServerException extends NetworkSecurityManagerServiceException {
|
|
154
|
+
static shapeId = "com.amazonaws.networksecuritymanager#InternalServerException";
|
|
151
155
|
name = "InternalServerException";
|
|
152
156
|
$fault = "server";
|
|
153
157
|
$retryable = {};
|
|
@@ -161,6 +165,7 @@ class InternalServerException extends NetworkSecurityManagerServiceException {
|
|
|
161
165
|
}
|
|
162
166
|
}
|
|
163
167
|
class ServiceQuotaExceededException extends NetworkSecurityManagerServiceException {
|
|
168
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ServiceQuotaExceededException";
|
|
164
169
|
name = "ServiceQuotaExceededException";
|
|
165
170
|
$fault = "client";
|
|
166
171
|
quotaCode;
|
|
@@ -181,6 +186,7 @@ class ServiceQuotaExceededException extends NetworkSecurityManagerServiceExcepti
|
|
|
181
186
|
}
|
|
182
187
|
}
|
|
183
188
|
class ServiceUnavailableException extends NetworkSecurityManagerServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ServiceUnavailableException";
|
|
184
190
|
name = "ServiceUnavailableException";
|
|
185
191
|
$fault = "server";
|
|
186
192
|
$retryable = {};
|
|
@@ -196,6 +202,7 @@ class ServiceUnavailableException extends NetworkSecurityManagerServiceException
|
|
|
196
202
|
}
|
|
197
203
|
}
|
|
198
204
|
class TagPolicyViolationException extends NetworkSecurityManagerServiceException {
|
|
205
|
+
static shapeId = "com.amazonaws.networksecuritymanager#TagPolicyViolationException";
|
|
199
206
|
name = "TagPolicyViolationException";
|
|
200
207
|
$fault = "client";
|
|
201
208
|
constructor(opts) {
|
|
@@ -208,6 +215,7 @@ class TagPolicyViolationException extends NetworkSecurityManagerServiceException
|
|
|
208
215
|
}
|
|
209
216
|
}
|
|
210
217
|
class ThrottlingException extends NetworkSecurityManagerServiceException {
|
|
218
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ThrottlingException";
|
|
211
219
|
name = "ThrottlingException";
|
|
212
220
|
$fault = "client";
|
|
213
221
|
$retryable = {
|
|
@@ -225,6 +233,7 @@ class ThrottlingException extends NetworkSecurityManagerServiceException {
|
|
|
225
233
|
}
|
|
226
234
|
}
|
|
227
235
|
class ValidationException extends NetworkSecurityManagerServiceException {
|
|
236
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ValidationException";
|
|
228
237
|
name = "ValidationException";
|
|
229
238
|
$fault = "client";
|
|
230
239
|
reason;
|
|
@@ -241,6 +250,7 @@ class ValidationException extends NetworkSecurityManagerServiceException {
|
|
|
241
250
|
}
|
|
242
251
|
}
|
|
243
252
|
class ResourceNotFoundException extends NetworkSecurityManagerServiceException {
|
|
253
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ResourceNotFoundException";
|
|
244
254
|
name = "ResourceNotFoundException";
|
|
245
255
|
$fault = "client";
|
|
246
256
|
resourceId;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class NetworkSecurityManagerServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.networksecuritymanager#NetworkSecurityManagerServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, NetworkSecurityManagerServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NetworkSecurityManagerServiceException as __BaseException } from "./NetworkSecurityManagerServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.networksecuritymanager#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 ConflictException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ConflictException";
|
|
15
17
|
name = "ConflictException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
resourceId;
|
|
@@ -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.networksecuritymanager#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
$retryable = {};
|
|
@@ -41,6 +44,7 @@ export class InternalServerException extends __BaseException {
|
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
47
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ServiceQuotaExceededException";
|
|
44
48
|
name = "ServiceQuotaExceededException";
|
|
45
49
|
$fault = "client";
|
|
46
50
|
quotaCode;
|
|
@@ -61,6 +65,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
export class ServiceUnavailableException extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ServiceUnavailableException";
|
|
64
69
|
name = "ServiceUnavailableException";
|
|
65
70
|
$fault = "server";
|
|
66
71
|
$retryable = {};
|
|
@@ -76,6 +81,7 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
export class TagPolicyViolationException extends __BaseException {
|
|
84
|
+
static shapeId = "com.amazonaws.networksecuritymanager#TagPolicyViolationException";
|
|
79
85
|
name = "TagPolicyViolationException";
|
|
80
86
|
$fault = "client";
|
|
81
87
|
constructor(opts) {
|
|
@@ -88,6 +94,7 @@ export class TagPolicyViolationException extends __BaseException {
|
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
export class ThrottlingException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ThrottlingException";
|
|
91
98
|
name = "ThrottlingException";
|
|
92
99
|
$fault = "client";
|
|
93
100
|
$retryable = {
|
|
@@ -105,6 +112,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
105
112
|
}
|
|
106
113
|
}
|
|
107
114
|
export class ValidationException extends __BaseException {
|
|
115
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ValidationException";
|
|
108
116
|
name = "ValidationException";
|
|
109
117
|
$fault = "client";
|
|
110
118
|
reason;
|
|
@@ -121,6 +129,7 @@ export class ValidationException extends __BaseException {
|
|
|
121
129
|
}
|
|
122
130
|
}
|
|
123
131
|
export class ResourceNotFoundException extends __BaseException {
|
|
132
|
+
static shapeId = "com.amazonaws.networksecuritymanager#ResourceNotFoundException";
|
|
124
133
|
name = "ResourceNotFoundException";
|
|
125
134
|
$fault = "client";
|
|
126
135
|
resourceId;
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from NetworkSecurityManager service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class NetworkSecurityManagerServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -7,6 +7,7 @@ import { NetworkSecurityManagerServiceException as __BaseException } from "./Net
|
|
|
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 ConflictException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ConflictException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
/**
|
|
@@ -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: {};
|
|
@@ -54,6 +57,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
54
57
|
* @public
|
|
55
58
|
*/
|
|
56
59
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
57
61
|
readonly name: "ServiceQuotaExceededException";
|
|
58
62
|
readonly $fault: "client";
|
|
59
63
|
/**
|
|
@@ -86,6 +90,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
86
90
|
* @public
|
|
87
91
|
*/
|
|
88
92
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
93
|
+
static readonly shapeId: string;
|
|
89
94
|
readonly name: "ServiceUnavailableException";
|
|
90
95
|
readonly $fault: "server";
|
|
91
96
|
$retryable: {};
|
|
@@ -104,6 +109,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
104
109
|
* @public
|
|
105
110
|
*/
|
|
106
111
|
export declare class TagPolicyViolationException extends __BaseException {
|
|
112
|
+
static readonly shapeId: string;
|
|
107
113
|
readonly name: "TagPolicyViolationException";
|
|
108
114
|
readonly $fault: "client";
|
|
109
115
|
/**
|
|
@@ -116,6 +122,7 @@ export declare class TagPolicyViolationException extends __BaseException {
|
|
|
116
122
|
* @public
|
|
117
123
|
*/
|
|
118
124
|
export declare class ThrottlingException extends __BaseException {
|
|
125
|
+
static readonly shapeId: string;
|
|
119
126
|
readonly name: "ThrottlingException";
|
|
120
127
|
readonly $fault: "client";
|
|
121
128
|
$retryable: {
|
|
@@ -136,6 +143,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
136
143
|
* @public
|
|
137
144
|
*/
|
|
138
145
|
export declare class ValidationException extends __BaseException {
|
|
146
|
+
static readonly shapeId: string;
|
|
139
147
|
readonly name: "ValidationException";
|
|
140
148
|
readonly $fault: "client";
|
|
141
149
|
/**
|
|
@@ -158,6 +166,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
158
166
|
* @public
|
|
159
167
|
*/
|
|
160
168
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
169
|
+
static readonly shapeId: string;
|
|
161
170
|
readonly name: "ResourceNotFoundException";
|
|
162
171
|
readonly $fault: "client";
|
|
163
172
|
/**
|
|
@@ -3,11 +3,13 @@ import { ValidationExceptionReason } from "./enums";
|
|
|
3
3
|
import { ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { NetworkSecurityManagerServiceException as __BaseException } from "./NetworkSecurityManagerServiceException";
|
|
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 ConflictException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "ConflictException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
resourceId?: string | undefined;
|
|
@@ -15,12 +17,14 @@ export declare class ConflictException extends __BaseException {
|
|
|
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: {};
|
|
21
24
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
22
25
|
}
|
|
23
26
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
27
|
+
static readonly shapeId: string;
|
|
24
28
|
readonly name: "ServiceQuotaExceededException";
|
|
25
29
|
readonly $fault: "client";
|
|
26
30
|
quotaCode?: string | undefined;
|
|
@@ -30,6 +34,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
30
34
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
31
35
|
}
|
|
32
36
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
33
38
|
readonly name: "ServiceUnavailableException";
|
|
34
39
|
readonly $fault: "server";
|
|
35
40
|
$retryable: {};
|
|
@@ -37,11 +42,13 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
37
42
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
38
43
|
}
|
|
39
44
|
export declare class TagPolicyViolationException extends __BaseException {
|
|
45
|
+
static readonly shapeId: string;
|
|
40
46
|
readonly name: "TagPolicyViolationException";
|
|
41
47
|
readonly $fault: "client";
|
|
42
48
|
constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
|
|
43
49
|
}
|
|
44
50
|
export declare class ThrottlingException extends __BaseException {
|
|
51
|
+
static readonly shapeId: string;
|
|
45
52
|
readonly name: "ThrottlingException";
|
|
46
53
|
readonly $fault: "client";
|
|
47
54
|
$retryable: {
|
|
@@ -51,6 +58,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
51
58
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
52
59
|
}
|
|
53
60
|
export declare class ValidationException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
54
62
|
readonly name: "ValidationException";
|
|
55
63
|
readonly $fault: "client";
|
|
56
64
|
reason?: ValidationExceptionReason | undefined;
|
|
@@ -58,6 +66,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
58
66
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
59
67
|
}
|
|
60
68
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
69
|
+
static readonly shapeId: string;
|
|
61
70
|
readonly name: "ResourceNotFoundException";
|
|
62
71
|
readonly $fault: "client";
|
|
63
72
|
resourceId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-network-security-manager",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Network Security Manager Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-network-security-manager",
|
|
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",
|