@aws-sdk/client-vpc-lattice 3.934.0 → 3.935.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 +0 -170
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +0 -117
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +161 -0
- package/dist-types/models/models_0.d.ts +0 -160
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -67
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -145,10 +145,6 @@ let ConflictException$1 = class ConflictException extends VPCLatticeServiceExcep
|
|
|
145
145
|
this.resourceType = opts.resourceType;
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
const ServiceNetworkLogType = {
|
|
149
|
-
RESOURCE: "RESOURCE",
|
|
150
|
-
SERVICE: "SERVICE",
|
|
151
|
-
};
|
|
152
148
|
let InternalServerException$1 = class InternalServerException extends VPCLatticeServiceException$1 {
|
|
153
149
|
name = "InternalServerException";
|
|
154
150
|
$fault = "server";
|
|
@@ -201,12 +197,6 @@ let ThrottlingException$1 = class ThrottlingException extends VPCLatticeServiceE
|
|
|
201
197
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
202
198
|
}
|
|
203
199
|
};
|
|
204
|
-
const ValidationExceptionReason = {
|
|
205
|
-
CANNOT_PARSE: "cannotParse",
|
|
206
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
207
|
-
OTHER: "other",
|
|
208
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
209
|
-
};
|
|
210
200
|
let ValidationException$1 = class ValidationException extends VPCLatticeServiceException$1 {
|
|
211
201
|
name = "ValidationException";
|
|
212
202
|
$fault = "client";
|
|
@@ -223,19 +213,6 @@ let ValidationException$1 = class ValidationException extends VPCLatticeServiceE
|
|
|
223
213
|
this.fieldList = opts.fieldList;
|
|
224
214
|
}
|
|
225
215
|
};
|
|
226
|
-
const AuthPolicyState = {
|
|
227
|
-
Active: "Active",
|
|
228
|
-
Inactive: "Inactive",
|
|
229
|
-
};
|
|
230
|
-
const AuthType = {
|
|
231
|
-
AWS_IAM: "AWS_IAM",
|
|
232
|
-
NONE: "NONE",
|
|
233
|
-
};
|
|
234
|
-
const ListenerProtocol = {
|
|
235
|
-
HTTP: "HTTP",
|
|
236
|
-
HTTPS: "HTTPS",
|
|
237
|
-
TLS_PASSTHROUGH: "TLS_PASSTHROUGH",
|
|
238
|
-
};
|
|
239
216
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends VPCLatticeServiceException$1 {
|
|
240
217
|
name = "ServiceQuotaExceededException";
|
|
241
218
|
$fault = "client";
|
|
@@ -256,128 +233,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
256
233
|
this.quotaCode = opts.quotaCode;
|
|
257
234
|
}
|
|
258
235
|
};
|
|
259
|
-
const ProtocolType = {
|
|
260
|
-
TCP: "TCP",
|
|
261
|
-
};
|
|
262
|
-
const ResourceConfigurationIpAddressType = {
|
|
263
|
-
DUALSTACK: "DUALSTACK",
|
|
264
|
-
IPV4: "IPV4",
|
|
265
|
-
IPV6: "IPV6",
|
|
266
|
-
};
|
|
267
|
-
const ResourceConfigurationType = {
|
|
268
|
-
ARN: "ARN",
|
|
269
|
-
CHILD: "CHILD",
|
|
270
|
-
GROUP: "GROUP",
|
|
271
|
-
SINGLE: "SINGLE",
|
|
272
|
-
};
|
|
273
|
-
const ResourceConfigurationStatus = {
|
|
274
|
-
ACTIVE: "ACTIVE",
|
|
275
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
276
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
277
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
278
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
279
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
280
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
281
|
-
};
|
|
282
|
-
const ResourceGatewayIpAddressType = {
|
|
283
|
-
DUALSTACK: "DUALSTACK",
|
|
284
|
-
IPV4: "IPV4",
|
|
285
|
-
IPV6: "IPV6",
|
|
286
|
-
};
|
|
287
|
-
const ResourceGatewayStatus = {
|
|
288
|
-
ACTIVE: "ACTIVE",
|
|
289
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
290
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
291
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
292
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
293
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
294
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
295
|
-
};
|
|
296
|
-
const ServiceStatus = {
|
|
297
|
-
ACTIVE: "ACTIVE",
|
|
298
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
299
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
300
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
301
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
302
|
-
};
|
|
303
|
-
const ServiceNetworkResourceAssociationStatus = {
|
|
304
|
-
ACTIVE: "ACTIVE",
|
|
305
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
306
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
307
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
308
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
309
|
-
PARTIAL: "PARTIAL",
|
|
310
|
-
};
|
|
311
|
-
const ServiceNetworkServiceAssociationStatus = {
|
|
312
|
-
ACTIVE: "ACTIVE",
|
|
313
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
314
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
315
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
316
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
317
|
-
};
|
|
318
|
-
const PrivateDnsPreference = {
|
|
319
|
-
ALL_DOMAINS: "ALL_DOMAINS",
|
|
320
|
-
SPECIFIED_DOMAINS_ONLY: "SPECIFIED_DOMAINS_ONLY",
|
|
321
|
-
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS: "VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS",
|
|
322
|
-
VERIFIED_DOMAINS_ONLY: "VERIFIED_DOMAINS_ONLY",
|
|
323
|
-
};
|
|
324
|
-
const ServiceNetworkVpcAssociationStatus = {
|
|
325
|
-
ACTIVE: "ACTIVE",
|
|
326
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
327
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
328
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
329
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
330
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
331
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
332
|
-
};
|
|
333
|
-
const TargetGroupProtocol = {
|
|
334
|
-
HTTP: "HTTP",
|
|
335
|
-
HTTPS: "HTTPS",
|
|
336
|
-
TCP: "TCP",
|
|
337
|
-
};
|
|
338
|
-
const HealthCheckProtocolVersion = {
|
|
339
|
-
HTTP1: "HTTP1",
|
|
340
|
-
HTTP2: "HTTP2",
|
|
341
|
-
};
|
|
342
|
-
const IpAddressType = {
|
|
343
|
-
IPV4: "IPV4",
|
|
344
|
-
IPV6: "IPV6",
|
|
345
|
-
};
|
|
346
|
-
const LambdaEventStructureVersion = {
|
|
347
|
-
V1: "V1",
|
|
348
|
-
V2: "V2",
|
|
349
|
-
};
|
|
350
|
-
const TargetGroupProtocolVersion = {
|
|
351
|
-
GRPC: "GRPC",
|
|
352
|
-
HTTP1: "HTTP1",
|
|
353
|
-
HTTP2: "HTTP2",
|
|
354
|
-
};
|
|
355
|
-
const TargetGroupType = {
|
|
356
|
-
ALB: "ALB",
|
|
357
|
-
INSTANCE: "INSTANCE",
|
|
358
|
-
IP: "IP",
|
|
359
|
-
LAMBDA: "LAMBDA",
|
|
360
|
-
};
|
|
361
|
-
const TargetGroupStatus = {
|
|
362
|
-
ACTIVE: "ACTIVE",
|
|
363
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
364
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
365
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
366
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
367
|
-
};
|
|
368
|
-
const VerificationStatus = {
|
|
369
|
-
PENDING: "PENDING",
|
|
370
|
-
VERIFICATION_TIMED_OUT: "VERIFICATION_TIMED_OUT",
|
|
371
|
-
VERIFIED: "VERIFIED",
|
|
372
|
-
};
|
|
373
|
-
const TargetStatus = {
|
|
374
|
-
DRAINING: "DRAINING",
|
|
375
|
-
HEALTHY: "HEALTHY",
|
|
376
|
-
INITIAL: "INITIAL",
|
|
377
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
378
|
-
UNHEALTHY: "UNHEALTHY",
|
|
379
|
-
UNUSED: "UNUSED",
|
|
380
|
-
};
|
|
381
236
|
|
|
382
237
|
const _ADE = "AccessDeniedException";
|
|
383
238
|
const _ALSL = "AccessLogSubscriptionList";
|
|
@@ -3986,8 +3841,6 @@ Object.defineProperty(exports, "__Client", {
|
|
|
3986
3841
|
get: function () { return smithyClient.Client; }
|
|
3987
3842
|
});
|
|
3988
3843
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
3989
|
-
exports.AuthPolicyState = AuthPolicyState;
|
|
3990
|
-
exports.AuthType = AuthType;
|
|
3991
3844
|
exports.BatchUpdateRuleCommand = BatchUpdateRuleCommand;
|
|
3992
3845
|
exports.ConflictException = ConflictException$1;
|
|
3993
3846
|
exports.CreateAccessLogSubscriptionCommand = CreateAccessLogSubscriptionCommand;
|
|
@@ -4031,10 +3884,7 @@ exports.GetServiceNetworkResourceAssociationCommand = GetServiceNetworkResourceA
|
|
|
4031
3884
|
exports.GetServiceNetworkServiceAssociationCommand = GetServiceNetworkServiceAssociationCommand;
|
|
4032
3885
|
exports.GetServiceNetworkVpcAssociationCommand = GetServiceNetworkVpcAssociationCommand;
|
|
4033
3886
|
exports.GetTargetGroupCommand = GetTargetGroupCommand;
|
|
4034
|
-
exports.HealthCheckProtocolVersion = HealthCheckProtocolVersion;
|
|
4035
3887
|
exports.InternalServerException = InternalServerException$1;
|
|
4036
|
-
exports.IpAddressType = IpAddressType;
|
|
4037
|
-
exports.LambdaEventStructureVersion = LambdaEventStructureVersion;
|
|
4038
3888
|
exports.ListAccessLogSubscriptionsCommand = ListAccessLogSubscriptionsCommand;
|
|
4039
3889
|
exports.ListDomainVerificationsCommand = ListDomainVerificationsCommand;
|
|
4040
3890
|
exports.ListListenersCommand = ListListenersCommand;
|
|
@@ -4051,31 +3901,13 @@ exports.ListServicesCommand = ListServicesCommand;
|
|
|
4051
3901
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
4052
3902
|
exports.ListTargetGroupsCommand = ListTargetGroupsCommand;
|
|
4053
3903
|
exports.ListTargetsCommand = ListTargetsCommand;
|
|
4054
|
-
exports.ListenerProtocol = ListenerProtocol;
|
|
4055
|
-
exports.PrivateDnsPreference = PrivateDnsPreference;
|
|
4056
|
-
exports.ProtocolType = ProtocolType;
|
|
4057
3904
|
exports.PutAuthPolicyCommand = PutAuthPolicyCommand;
|
|
4058
3905
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
4059
3906
|
exports.RegisterTargetsCommand = RegisterTargetsCommand;
|
|
4060
|
-
exports.ResourceConfigurationIpAddressType = ResourceConfigurationIpAddressType;
|
|
4061
|
-
exports.ResourceConfigurationStatus = ResourceConfigurationStatus;
|
|
4062
|
-
exports.ResourceConfigurationType = ResourceConfigurationType;
|
|
4063
|
-
exports.ResourceGatewayIpAddressType = ResourceGatewayIpAddressType;
|
|
4064
|
-
exports.ResourceGatewayStatus = ResourceGatewayStatus;
|
|
4065
3907
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
4066
|
-
exports.ServiceNetworkLogType = ServiceNetworkLogType;
|
|
4067
|
-
exports.ServiceNetworkResourceAssociationStatus = ServiceNetworkResourceAssociationStatus;
|
|
4068
|
-
exports.ServiceNetworkServiceAssociationStatus = ServiceNetworkServiceAssociationStatus;
|
|
4069
|
-
exports.ServiceNetworkVpcAssociationStatus = ServiceNetworkVpcAssociationStatus;
|
|
4070
3908
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
4071
|
-
exports.ServiceStatus = ServiceStatus;
|
|
4072
3909
|
exports.StartDomainVerificationCommand = StartDomainVerificationCommand;
|
|
4073
3910
|
exports.TagResourceCommand = TagResourceCommand;
|
|
4074
|
-
exports.TargetGroupProtocol = TargetGroupProtocol;
|
|
4075
|
-
exports.TargetGroupProtocolVersion = TargetGroupProtocolVersion;
|
|
4076
|
-
exports.TargetGroupStatus = TargetGroupStatus;
|
|
4077
|
-
exports.TargetGroupType = TargetGroupType;
|
|
4078
|
-
exports.TargetStatus = TargetStatus;
|
|
4079
3911
|
exports.ThrottlingException = ThrottlingException$1;
|
|
4080
3912
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
4081
3913
|
exports.UpdateAccessLogSubscriptionCommand = UpdateAccessLogSubscriptionCommand;
|
|
@@ -4091,8 +3923,6 @@ exports.VPCLattice = VPCLattice;
|
|
|
4091
3923
|
exports.VPCLatticeClient = VPCLatticeClient;
|
|
4092
3924
|
exports.VPCLatticeServiceException = VPCLatticeServiceException$1;
|
|
4093
3925
|
exports.ValidationException = ValidationException$1;
|
|
4094
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
4095
|
-
exports.VerificationStatus = VerificationStatus;
|
|
4096
3926
|
exports.paginateListAccessLogSubscriptions = paginateListAccessLogSubscriptions;
|
|
4097
3927
|
exports.paginateListDomainVerifications = paginateListDomainVerifications;
|
|
4098
3928
|
exports.paginateListListeners = paginateListListeners;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./VPCLatticeClient";
|
|
|
2
2
|
export * from "./VPCLattice";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { VPCLatticeServiceException } from "./models/VPCLatticeServiceException";
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
resourceType;
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ConflictException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
+
this.resourceId = opts.resourceId;
|
|
27
|
+
this.resourceType = opts.resourceType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
retryAfterSeconds;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
resourceId;
|
|
49
|
+
resourceType;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "ResourceNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
+
this.resourceId = opts.resourceId;
|
|
58
|
+
this.resourceType = opts.resourceType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class ThrottlingException extends __BaseException {
|
|
62
|
+
name = "ThrottlingException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
$retryable = {
|
|
65
|
+
throttling: true,
|
|
66
|
+
};
|
|
67
|
+
serviceCode;
|
|
68
|
+
quotaCode;
|
|
69
|
+
retryAfterSeconds;
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ThrottlingException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
77
|
+
this.serviceCode = opts.serviceCode;
|
|
78
|
+
this.quotaCode = opts.quotaCode;
|
|
79
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ValidationException extends __BaseException {
|
|
83
|
+
name = "ValidationException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
reason;
|
|
86
|
+
fieldList;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
94
|
+
this.reason = opts.reason;
|
|
95
|
+
this.fieldList = opts.fieldList;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
99
|
+
name = "ServiceQuotaExceededException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
resourceId;
|
|
102
|
+
resourceType;
|
|
103
|
+
serviceCode;
|
|
104
|
+
quotaCode;
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ServiceQuotaExceededException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
112
|
+
this.resourceId = opts.resourceId;
|
|
113
|
+
this.resourceType = opts.resourceType;
|
|
114
|
+
this.serviceCode = opts.serviceCode;
|
|
115
|
+
this.quotaCode = opts.quotaCode;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -1,110 +1,13 @@
|
|
|
1
|
-
import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
resourceId;
|
|
18
|
-
resourceType;
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "ConflictException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
-
this.resourceId = opts.resourceId;
|
|
27
|
-
this.resourceType = opts.resourceType;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
1
|
export const ServiceNetworkLogType = {
|
|
31
2
|
RESOURCE: "RESOURCE",
|
|
32
3
|
SERVICE: "SERVICE",
|
|
33
4
|
};
|
|
34
|
-
export class InternalServerException extends __BaseException {
|
|
35
|
-
name = "InternalServerException";
|
|
36
|
-
$fault = "server";
|
|
37
|
-
$retryable = {};
|
|
38
|
-
retryAfterSeconds;
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "InternalServerException",
|
|
42
|
-
$fault: "server",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
50
|
-
name = "ResourceNotFoundException";
|
|
51
|
-
$fault = "client";
|
|
52
|
-
resourceId;
|
|
53
|
-
resourceType;
|
|
54
|
-
constructor(opts) {
|
|
55
|
-
super({
|
|
56
|
-
name: "ResourceNotFoundException",
|
|
57
|
-
$fault: "client",
|
|
58
|
-
...opts,
|
|
59
|
-
});
|
|
60
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
|
-
this.resourceId = opts.resourceId;
|
|
62
|
-
this.resourceType = opts.resourceType;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export class ThrottlingException extends __BaseException {
|
|
66
|
-
name = "ThrottlingException";
|
|
67
|
-
$fault = "client";
|
|
68
|
-
$retryable = {
|
|
69
|
-
throttling: true,
|
|
70
|
-
};
|
|
71
|
-
serviceCode;
|
|
72
|
-
quotaCode;
|
|
73
|
-
retryAfterSeconds;
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ThrottlingException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
81
|
-
this.serviceCode = opts.serviceCode;
|
|
82
|
-
this.quotaCode = opts.quotaCode;
|
|
83
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
5
|
export const ValidationExceptionReason = {
|
|
87
6
|
CANNOT_PARSE: "cannotParse",
|
|
88
7
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
89
8
|
OTHER: "other",
|
|
90
9
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
91
10
|
};
|
|
92
|
-
export class ValidationException extends __BaseException {
|
|
93
|
-
name = "ValidationException";
|
|
94
|
-
$fault = "client";
|
|
95
|
-
reason;
|
|
96
|
-
fieldList;
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "ValidationException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
104
|
-
this.reason = opts.reason;
|
|
105
|
-
this.fieldList = opts.fieldList;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
11
|
export const AuthPolicyState = {
|
|
109
12
|
Active: "Active",
|
|
110
13
|
Inactive: "Inactive",
|
|
@@ -118,26 +21,6 @@ export const ListenerProtocol = {
|
|
|
118
21
|
HTTPS: "HTTPS",
|
|
119
22
|
TLS_PASSTHROUGH: "TLS_PASSTHROUGH",
|
|
120
23
|
};
|
|
121
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
122
|
-
name = "ServiceQuotaExceededException";
|
|
123
|
-
$fault = "client";
|
|
124
|
-
resourceId;
|
|
125
|
-
resourceType;
|
|
126
|
-
serviceCode;
|
|
127
|
-
quotaCode;
|
|
128
|
-
constructor(opts) {
|
|
129
|
-
super({
|
|
130
|
-
name: "ServiceQuotaExceededException",
|
|
131
|
-
$fault: "client",
|
|
132
|
-
...opts,
|
|
133
|
-
});
|
|
134
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
135
|
-
this.resourceId = opts.resourceId;
|
|
136
|
-
this.resourceType = opts.resourceType;
|
|
137
|
-
this.serviceCode = opts.serviceCode;
|
|
138
|
-
this.quotaCode = opts.quotaCode;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
24
|
export const ProtocolType = {
|
|
142
25
|
TCP: "TCP",
|
|
143
26
|
};
|
|
@@ -436,7 +436,7 @@ const _vIp = "vpcId";
|
|
|
436
436
|
const _w = "weight";
|
|
437
437
|
const n0 = "com.amazonaws.vpclattice";
|
|
438
438
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
439
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
439
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
440
440
|
import { VPCLatticeServiceException as __VPCLatticeServiceException } from "../models/VPCLatticeServiceException";
|
|
441
441
|
export var AccessDeniedException = [
|
|
442
442
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { VPCLatticeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { VPCLatticeServiceException } from "./models/VPCLatticeServiceException";
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
3
|
+
import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* <p>The resource ID.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
resourceId: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The resource type.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
resourceType: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>An unexpected error occurred while processing the request.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
$retryable: {};
|
|
46
|
+
/**
|
|
47
|
+
* <p>The number of seconds to wait before retrying.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
retryAfterSeconds?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>The request references a resource that does not exist.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* <p>The resource ID.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
resourceId: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The resource type.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
resourceType: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ThrottlingException extends __BaseException {
|
|
83
|
+
readonly name: "ThrottlingException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
$retryable: {
|
|
86
|
+
throttling: boolean;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* <p>The service code.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
serviceCode?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The ID of the service quota that was exceeded.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
quotaCode?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The number of seconds to wait before retrying.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
retryAfterSeconds?: number | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ValidationException extends __BaseException {
|
|
113
|
+
readonly name: "ValidationException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
/**
|
|
116
|
+
* <p>The reason.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
reason: ValidationExceptionReason | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The fields that failed validation.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
135
|
+
readonly name: "ServiceQuotaExceededException";
|
|
136
|
+
readonly $fault: "client";
|
|
137
|
+
/**
|
|
138
|
+
* <p>The resource ID.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
resourceId?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>The resource type.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
resourceType: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>The service code.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
serviceCode: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The ID of the service quota that was exceeded.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
quotaCode: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
161
|
+
}
|
|
@@ -1,39 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>The user does not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* <p>The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.</p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class ConflictException extends __BaseException {
|
|
20
|
-
readonly name: "ConflictException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
/**
|
|
23
|
-
* <p>The resource ID.</p>
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
resourceId: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* <p>The resource type.</p>
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
resourceType: string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
|
-
}
|
|
37
1
|
/**
|
|
38
2
|
* @public
|
|
39
3
|
* @enum
|
|
@@ -117,76 +81,6 @@ export interface CreateAccessLogSubscriptionResponse {
|
|
|
117
81
|
*/
|
|
118
82
|
destinationArn: string | undefined;
|
|
119
83
|
}
|
|
120
|
-
/**
|
|
121
|
-
* <p>An unexpected error occurred while processing the request.</p>
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
export declare class InternalServerException extends __BaseException {
|
|
125
|
-
readonly name: "InternalServerException";
|
|
126
|
-
readonly $fault: "server";
|
|
127
|
-
$retryable: {};
|
|
128
|
-
/**
|
|
129
|
-
* <p>The number of seconds to wait before retrying.</p>
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
132
|
-
retryAfterSeconds?: number | undefined;
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* <p>The request references a resource that does not exist.</p>
|
|
140
|
-
* @public
|
|
141
|
-
*/
|
|
142
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
143
|
-
readonly name: "ResourceNotFoundException";
|
|
144
|
-
readonly $fault: "client";
|
|
145
|
-
/**
|
|
146
|
-
* <p>The resource ID.</p>
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
resourceId: string | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* <p>The resource type.</p>
|
|
152
|
-
* @public
|
|
153
|
-
*/
|
|
154
|
-
resourceType: string | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
|
-
export declare class ThrottlingException extends __BaseException {
|
|
165
|
-
readonly name: "ThrottlingException";
|
|
166
|
-
readonly $fault: "client";
|
|
167
|
-
$retryable: {
|
|
168
|
-
throttling: boolean;
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* <p>The service code.</p>
|
|
172
|
-
* @public
|
|
173
|
-
*/
|
|
174
|
-
serviceCode?: string | undefined;
|
|
175
|
-
/**
|
|
176
|
-
* <p>The ID of the service quota that was exceeded.</p>
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
quotaCode?: string | undefined;
|
|
180
|
-
/**
|
|
181
|
-
* <p>The number of seconds to wait before retrying.</p>
|
|
182
|
-
* @public
|
|
183
|
-
*/
|
|
184
|
-
retryAfterSeconds?: number | undefined;
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
189
|
-
}
|
|
190
84
|
/**
|
|
191
85
|
* <p>Describes a validation failure.</p>
|
|
192
86
|
* @public
|
|
@@ -217,28 +111,6 @@ export declare const ValidationExceptionReason: {
|
|
|
217
111
|
* @public
|
|
218
112
|
*/
|
|
219
113
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
220
|
-
/**
|
|
221
|
-
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
222
|
-
* @public
|
|
223
|
-
*/
|
|
224
|
-
export declare class ValidationException extends __BaseException {
|
|
225
|
-
readonly name: "ValidationException";
|
|
226
|
-
readonly $fault: "client";
|
|
227
|
-
/**
|
|
228
|
-
* <p>The reason.</p>
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
|
-
reason: ValidationExceptionReason | undefined;
|
|
232
|
-
/**
|
|
233
|
-
* <p>The fields that failed validation.</p>
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
236
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
237
|
-
/**
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
241
|
-
}
|
|
242
114
|
/**
|
|
243
115
|
* @public
|
|
244
116
|
*/
|
|
@@ -978,38 +850,6 @@ export interface CreateListenerResponse {
|
|
|
978
850
|
*/
|
|
979
851
|
defaultAction?: RuleAction | undefined;
|
|
980
852
|
}
|
|
981
|
-
/**
|
|
982
|
-
* <p>The request would cause a service quota to be exceeded.</p>
|
|
983
|
-
* @public
|
|
984
|
-
*/
|
|
985
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
986
|
-
readonly name: "ServiceQuotaExceededException";
|
|
987
|
-
readonly $fault: "client";
|
|
988
|
-
/**
|
|
989
|
-
* <p>The resource ID.</p>
|
|
990
|
-
* @public
|
|
991
|
-
*/
|
|
992
|
-
resourceId?: string | undefined;
|
|
993
|
-
/**
|
|
994
|
-
* <p>The resource type.</p>
|
|
995
|
-
* @public
|
|
996
|
-
*/
|
|
997
|
-
resourceType: string | undefined;
|
|
998
|
-
/**
|
|
999
|
-
* <p>The service code.</p>
|
|
1000
|
-
* @public
|
|
1001
|
-
*/
|
|
1002
|
-
serviceCode: string | undefined;
|
|
1003
|
-
/**
|
|
1004
|
-
* <p>The ID of the service quota that was exceeded.</p>
|
|
1005
|
-
* @public
|
|
1006
|
-
*/
|
|
1007
|
-
quotaCode: string | undefined;
|
|
1008
|
-
/**
|
|
1009
|
-
* @internal
|
|
1010
|
-
*/
|
|
1011
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1012
|
-
}
|
|
1013
853
|
/**
|
|
1014
854
|
* @public
|
|
1015
855
|
* @enum
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { VPCLatticeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { VPCLatticeServiceException } from "./models/VPCLatticeServiceException";
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
ValidationExceptionField,
|
|
4
|
+
ValidationExceptionReason,
|
|
5
|
+
} from "./models_0";
|
|
6
|
+
import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class ConflictException extends __BaseException {
|
|
15
|
+
readonly name: "ConflictException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
resourceId: string | undefined;
|
|
18
|
+
resourceType: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
retryAfterSeconds?: number | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
readonly name: "ResourceNotFoundException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
resourceId: string | undefined;
|
|
34
|
+
resourceType: string | undefined;
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class ThrottlingException extends __BaseException {
|
|
40
|
+
readonly name: "ThrottlingException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
$retryable: {
|
|
43
|
+
throttling: boolean;
|
|
44
|
+
};
|
|
45
|
+
serviceCode?: string | undefined;
|
|
46
|
+
quotaCode?: string | undefined;
|
|
47
|
+
retryAfterSeconds?: number | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ValidationException extends __BaseException {
|
|
53
|
+
readonly name: "ValidationException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
reason: ValidationExceptionReason | undefined;
|
|
56
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
readonly name: "ServiceQuotaExceededException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
resourceId?: string | undefined;
|
|
65
|
+
resourceType: string | undefined;
|
|
66
|
+
serviceCode: string | undefined;
|
|
67
|
+
quotaCode: string | undefined;
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
|
-
export declare class ConflictException extends __BaseException {
|
|
11
|
-
readonly name: "ConflictException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
resourceId: string | undefined;
|
|
14
|
-
resourceType: string | undefined;
|
|
15
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
|
-
}
|
|
17
1
|
export declare const ServiceNetworkLogType: {
|
|
18
2
|
readonly RESOURCE: "RESOURCE";
|
|
19
3
|
readonly SERVICE: "SERVICE";
|
|
@@ -35,37 +19,6 @@ export interface CreateAccessLogSubscriptionResponse {
|
|
|
35
19
|
serviceNetworkLogType?: ServiceNetworkLogType | undefined;
|
|
36
20
|
destinationArn: string | undefined;
|
|
37
21
|
}
|
|
38
|
-
export declare class InternalServerException extends __BaseException {
|
|
39
|
-
readonly name: "InternalServerException";
|
|
40
|
-
readonly $fault: "server";
|
|
41
|
-
$retryable: {};
|
|
42
|
-
retryAfterSeconds?: number | undefined;
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
48
|
-
readonly name: "ResourceNotFoundException";
|
|
49
|
-
readonly $fault: "client";
|
|
50
|
-
resourceId: string | undefined;
|
|
51
|
-
resourceType: string | undefined;
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
export declare class ThrottlingException extends __BaseException {
|
|
57
|
-
readonly name: "ThrottlingException";
|
|
58
|
-
readonly $fault: "client";
|
|
59
|
-
$retryable: {
|
|
60
|
-
throttling: boolean;
|
|
61
|
-
};
|
|
62
|
-
serviceCode?: string | undefined;
|
|
63
|
-
quotaCode?: string | undefined;
|
|
64
|
-
retryAfterSeconds?: number | undefined;
|
|
65
|
-
constructor(
|
|
66
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
22
|
export interface ValidationExceptionField {
|
|
70
23
|
name: string | undefined;
|
|
71
24
|
message: string | undefined;
|
|
@@ -78,15 +31,6 @@ export declare const ValidationExceptionReason: {
|
|
|
78
31
|
};
|
|
79
32
|
export type ValidationExceptionReason =
|
|
80
33
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
81
|
-
export declare class ValidationException extends __BaseException {
|
|
82
|
-
readonly name: "ValidationException";
|
|
83
|
-
readonly $fault: "client";
|
|
84
|
-
reason: ValidationExceptionReason | undefined;
|
|
85
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
86
|
-
constructor(
|
|
87
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
34
|
export interface DeleteAccessLogSubscriptionRequest {
|
|
91
35
|
accessLogSubscriptionIdentifier: string | undefined;
|
|
92
36
|
}
|
|
@@ -331,17 +275,6 @@ export interface CreateListenerResponse {
|
|
|
331
275
|
serviceId?: string | undefined;
|
|
332
276
|
defaultAction?: RuleAction | undefined;
|
|
333
277
|
}
|
|
334
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
335
|
-
readonly name: "ServiceQuotaExceededException";
|
|
336
|
-
readonly $fault: "client";
|
|
337
|
-
resourceId?: string | undefined;
|
|
338
|
-
resourceType: string | undefined;
|
|
339
|
-
serviceCode: string | undefined;
|
|
340
|
-
quotaCode: string | undefined;
|
|
341
|
-
constructor(
|
|
342
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
343
|
-
);
|
|
344
|
-
}
|
|
345
278
|
export declare const ProtocolType: {
|
|
346
279
|
readonly TCP: "TCP";
|
|
347
280
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-vpc-lattice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Vpc Lattice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-vpc-lattice",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|