@aws-sdk/client-app-mesh 3.934.0 → 3.936.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 CHANGED
@@ -206,21 +206,6 @@ let ConflictException$1 = class ConflictException extends AppMeshServiceExceptio
206
206
  Object.setPrototypeOf(this, ConflictException.prototype);
207
207
  }
208
208
  };
209
- const EgressFilterType = {
210
- ALLOW_ALL: "ALLOW_ALL",
211
- DROP_ALL: "DROP_ALL",
212
- };
213
- const IpPreference = {
214
- IPv4_ONLY: "IPv4_ONLY",
215
- IPv4_PREFERRED: "IPv4_PREFERRED",
216
- IPv6_ONLY: "IPv6_ONLY",
217
- IPv6_PREFERRED: "IPv6_PREFERRED",
218
- };
219
- const MeshStatusCode = {
220
- ACTIVE: "ACTIVE",
221
- DELETED: "DELETED",
222
- INACTIVE: "INACTIVE",
223
- };
224
209
  let LimitExceededException$1 = class LimitExceededException extends AppMeshServiceException$1 {
225
210
  name = "LimitExceededException";
226
211
  $fault = "client";
@@ -245,94 +230,6 @@ let ResourceInUseException$1 = class ResourceInUseException extends AppMeshServi
245
230
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
246
231
  }
247
232
  };
248
- const VirtualGatewayPortProtocol = {
249
- GRPC: "grpc",
250
- HTTP: "http",
251
- HTTP2: "http2",
252
- };
253
- const VirtualGatewayListenerTlsMode = {
254
- DISABLED: "DISABLED",
255
- PERMISSIVE: "PERMISSIVE",
256
- STRICT: "STRICT",
257
- };
258
- const VirtualGatewayStatusCode = {
259
- ACTIVE: "ACTIVE",
260
- DELETED: "DELETED",
261
- INACTIVE: "INACTIVE",
262
- };
263
- const DefaultGatewayRouteRewrite = {
264
- DISABLED: "DISABLED",
265
- ENABLED: "ENABLED",
266
- };
267
- const HttpMethod = {
268
- CONNECT: "CONNECT",
269
- DELETE: "DELETE",
270
- GET: "GET",
271
- HEAD: "HEAD",
272
- OPTIONS: "OPTIONS",
273
- PATCH: "PATCH",
274
- POST: "POST",
275
- PUT: "PUT",
276
- TRACE: "TRACE",
277
- };
278
- const GatewayRouteStatusCode = {
279
- ACTIVE: "ACTIVE",
280
- DELETED: "DELETED",
281
- INACTIVE: "INACTIVE",
282
- };
283
- const PortProtocol = {
284
- GRPC: "grpc",
285
- HTTP: "http",
286
- HTTP2: "http2",
287
- TCP: "tcp",
288
- };
289
- const DurationUnit = {
290
- MS: "ms",
291
- S: "s",
292
- };
293
- const ListenerTlsMode = {
294
- DISABLED: "DISABLED",
295
- PERMISSIVE: "PERMISSIVE",
296
- STRICT: "STRICT",
297
- };
298
- const DnsResponseType = {
299
- ENDPOINTS: "ENDPOINTS",
300
- LOADBALANCER: "LOADBALANCER",
301
- };
302
- const VirtualNodeStatusCode = {
303
- ACTIVE: "ACTIVE",
304
- DELETED: "DELETED",
305
- INACTIVE: "INACTIVE",
306
- };
307
- const VirtualRouterStatusCode = {
308
- ACTIVE: "ACTIVE",
309
- DELETED: "DELETED",
310
- INACTIVE: "INACTIVE",
311
- };
312
- const GrpcRetryPolicyEvent = {
313
- CANCELLED: "cancelled",
314
- DEADLINE_EXCEEDED: "deadline-exceeded",
315
- INTERNAL: "internal",
316
- RESOURCE_EXHAUSTED: "resource-exhausted",
317
- UNAVAILABLE: "unavailable",
318
- };
319
- const TcpRetryPolicyEvent = {
320
- CONNECTION_ERROR: "connection-error",
321
- };
322
- const HttpScheme = {
323
- HTTP: "http",
324
- HTTPS: "https",
325
- };
326
- const RouteStatusCode = {
327
- ACTIVE: "ACTIVE",
328
- DELETED: "DELETED",
329
- INACTIVE: "INACTIVE",
330
- };
331
- const VirtualServiceStatusCode = {
332
- ACTIVE: "ACTIVE",
333
- DELETED: "DELETED",
334
- INACTIVE: "INACTIVE",
335
- };
336
233
  let TooManyTagsException$1 = class TooManyTagsException extends AppMeshServiceException$1 {
337
234
  name = "TooManyTagsException";
338
235
  $fault = "client";
@@ -3387,7 +3284,6 @@ exports.CreateVirtualGatewayCommand = CreateVirtualGatewayCommand;
3387
3284
  exports.CreateVirtualNodeCommand = CreateVirtualNodeCommand;
3388
3285
  exports.CreateVirtualRouterCommand = CreateVirtualRouterCommand;
3389
3286
  exports.CreateVirtualServiceCommand = CreateVirtualServiceCommand;
3390
- exports.DefaultGatewayRouteRewrite = DefaultGatewayRouteRewrite;
3391
3287
  exports.DeleteGatewayRouteCommand = DeleteGatewayRouteCommand;
3392
3288
  exports.DeleteMeshCommand = DeleteMeshCommand;
3393
3289
  exports.DeleteRouteCommand = DeleteRouteCommand;
@@ -3402,16 +3298,8 @@ exports.DescribeVirtualGatewayCommand = DescribeVirtualGatewayCommand;
3402
3298
  exports.DescribeVirtualNodeCommand = DescribeVirtualNodeCommand;
3403
3299
  exports.DescribeVirtualRouterCommand = DescribeVirtualRouterCommand;
3404
3300
  exports.DescribeVirtualServiceCommand = DescribeVirtualServiceCommand;
3405
- exports.DnsResponseType = DnsResponseType;
3406
- exports.DurationUnit = DurationUnit;
3407
- exports.EgressFilterType = EgressFilterType;
3408
3301
  exports.ForbiddenException = ForbiddenException$1;
3409
- exports.GatewayRouteStatusCode = GatewayRouteStatusCode;
3410
- exports.GrpcRetryPolicyEvent = GrpcRetryPolicyEvent;
3411
- exports.HttpMethod = HttpMethod;
3412
- exports.HttpScheme = HttpScheme;
3413
3302
  exports.InternalServerErrorException = InternalServerErrorException$1;
3414
- exports.IpPreference = IpPreference;
3415
3303
  exports.LimitExceededException = LimitExceededException$1;
3416
3304
  exports.ListGatewayRoutesCommand = ListGatewayRoutesCommand;
3417
3305
  exports.ListMeshesCommand = ListMeshesCommand;
@@ -3421,15 +3309,10 @@ exports.ListVirtualGatewaysCommand = ListVirtualGatewaysCommand;
3421
3309
  exports.ListVirtualNodesCommand = ListVirtualNodesCommand;
3422
3310
  exports.ListVirtualRoutersCommand = ListVirtualRoutersCommand;
3423
3311
  exports.ListVirtualServicesCommand = ListVirtualServicesCommand;
3424
- exports.ListenerTlsMode = ListenerTlsMode;
3425
- exports.MeshStatusCode = MeshStatusCode;
3426
3312
  exports.NotFoundException = NotFoundException$1;
3427
- exports.PortProtocol = PortProtocol;
3428
3313
  exports.ResourceInUseException = ResourceInUseException$1;
3429
- exports.RouteStatusCode = RouteStatusCode;
3430
3314
  exports.ServiceUnavailableException = ServiceUnavailableException$1;
3431
3315
  exports.TagResourceCommand = TagResourceCommand;
3432
- exports.TcpRetryPolicyEvent = TcpRetryPolicyEvent;
3433
3316
  exports.TooManyRequestsException = TooManyRequestsException$1;
3434
3317
  exports.TooManyTagsException = TooManyTagsException$1;
3435
3318
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -3440,12 +3323,6 @@ exports.UpdateVirtualGatewayCommand = UpdateVirtualGatewayCommand;
3440
3323
  exports.UpdateVirtualNodeCommand = UpdateVirtualNodeCommand;
3441
3324
  exports.UpdateVirtualRouterCommand = UpdateVirtualRouterCommand;
3442
3325
  exports.UpdateVirtualServiceCommand = UpdateVirtualServiceCommand;
3443
- exports.VirtualGatewayListenerTlsMode = VirtualGatewayListenerTlsMode;
3444
- exports.VirtualGatewayPortProtocol = VirtualGatewayPortProtocol;
3445
- exports.VirtualGatewayStatusCode = VirtualGatewayStatusCode;
3446
- exports.VirtualNodeStatusCode = VirtualNodeStatusCode;
3447
- exports.VirtualRouterStatusCode = VirtualRouterStatusCode;
3448
- exports.VirtualServiceStatusCode = VirtualServiceStatusCode;
3449
3326
  exports.paginateListGatewayRoutes = paginateListGatewayRoutes;
3450
3327
  exports.paginateListMeshes = paginateListMeshes;
3451
3328
  exports.paginateListRoutes = paginateListRoutes;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./AppMeshClient";
2
2
  export * from "./AppMesh";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { AppMeshServiceException } from "./models/AppMeshServiceException";
@@ -0,0 +1,126 @@
1
+ import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
2
+ export class BadRequestException extends __BaseException {
3
+ name = "BadRequestException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "BadRequestException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, BadRequestException.prototype);
12
+ }
13
+ }
14
+ export class ForbiddenException extends __BaseException {
15
+ name = "ForbiddenException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ForbiddenException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerErrorException extends __BaseException {
27
+ name = "InternalServerErrorException";
28
+ $fault = "server";
29
+ $retryable = {};
30
+ constructor(opts) {
31
+ super({
32
+ name: "InternalServerErrorException",
33
+ $fault: "server",
34
+ ...opts,
35
+ });
36
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
37
+ }
38
+ }
39
+ export class NotFoundException extends __BaseException {
40
+ name = "NotFoundException";
41
+ $fault = "client";
42
+ constructor(opts) {
43
+ super({
44
+ name: "NotFoundException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, NotFoundException.prototype);
49
+ }
50
+ }
51
+ export class ServiceUnavailableException extends __BaseException {
52
+ name = "ServiceUnavailableException";
53
+ $fault = "server";
54
+ $retryable = {};
55
+ constructor(opts) {
56
+ super({
57
+ name: "ServiceUnavailableException",
58
+ $fault: "server",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
62
+ }
63
+ }
64
+ export class TooManyRequestsException extends __BaseException {
65
+ name = "TooManyRequestsException";
66
+ $fault = "client";
67
+ $retryable = {
68
+ throttling: true,
69
+ };
70
+ constructor(opts) {
71
+ super({
72
+ name: "TooManyRequestsException",
73
+ $fault: "client",
74
+ ...opts,
75
+ });
76
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
77
+ }
78
+ }
79
+ export class ConflictException extends __BaseException {
80
+ name = "ConflictException";
81
+ $fault = "client";
82
+ constructor(opts) {
83
+ super({
84
+ name: "ConflictException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, ConflictException.prototype);
89
+ }
90
+ }
91
+ export class LimitExceededException extends __BaseException {
92
+ name = "LimitExceededException";
93
+ $fault = "client";
94
+ constructor(opts) {
95
+ super({
96
+ name: "LimitExceededException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
101
+ }
102
+ }
103
+ export class ResourceInUseException extends __BaseException {
104
+ name = "ResourceInUseException";
105
+ $fault = "client";
106
+ constructor(opts) {
107
+ super({
108
+ name: "ResourceInUseException",
109
+ $fault: "client",
110
+ ...opts,
111
+ });
112
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
113
+ }
114
+ }
115
+ export class TooManyTagsException extends __BaseException {
116
+ name = "TooManyTagsException";
117
+ $fault = "client";
118
+ constructor(opts) {
119
+ super({
120
+ name: "TooManyTagsException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
125
+ }
126
+ }
@@ -1,93 +1,3 @@
1
- import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
2
- export class BadRequestException extends __BaseException {
3
- name = "BadRequestException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "BadRequestException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, BadRequestException.prototype);
12
- }
13
- }
14
- export class ForbiddenException extends __BaseException {
15
- name = "ForbiddenException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "ForbiddenException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, ForbiddenException.prototype);
24
- }
25
- }
26
- export class InternalServerErrorException extends __BaseException {
27
- name = "InternalServerErrorException";
28
- $fault = "server";
29
- $retryable = {};
30
- constructor(opts) {
31
- super({
32
- name: "InternalServerErrorException",
33
- $fault: "server",
34
- ...opts,
35
- });
36
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
37
- }
38
- }
39
- export class NotFoundException extends __BaseException {
40
- name = "NotFoundException";
41
- $fault = "client";
42
- constructor(opts) {
43
- super({
44
- name: "NotFoundException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- Object.setPrototypeOf(this, NotFoundException.prototype);
49
- }
50
- }
51
- export class ServiceUnavailableException extends __BaseException {
52
- name = "ServiceUnavailableException";
53
- $fault = "server";
54
- $retryable = {};
55
- constructor(opts) {
56
- super({
57
- name: "ServiceUnavailableException",
58
- $fault: "server",
59
- ...opts,
60
- });
61
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
62
- }
63
- }
64
- export class TooManyRequestsException extends __BaseException {
65
- name = "TooManyRequestsException";
66
- $fault = "client";
67
- $retryable = {
68
- throttling: true,
69
- };
70
- constructor(opts) {
71
- super({
72
- name: "TooManyRequestsException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
77
- }
78
- }
79
- export class ConflictException extends __BaseException {
80
- name = "ConflictException";
81
- $fault = "client";
82
- constructor(opts) {
83
- super({
84
- name: "ConflictException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- Object.setPrototypeOf(this, ConflictException.prototype);
89
- }
90
- }
91
1
  export const EgressFilterType = {
92
2
  ALLOW_ALL: "ALLOW_ALL",
93
3
  DROP_ALL: "DROP_ALL",
@@ -103,30 +13,6 @@ export const MeshStatusCode = {
103
13
  DELETED: "DELETED",
104
14
  INACTIVE: "INACTIVE",
105
15
  };
106
- export class LimitExceededException extends __BaseException {
107
- name = "LimitExceededException";
108
- $fault = "client";
109
- constructor(opts) {
110
- super({
111
- name: "LimitExceededException",
112
- $fault: "client",
113
- ...opts,
114
- });
115
- Object.setPrototypeOf(this, LimitExceededException.prototype);
116
- }
117
- }
118
- export class ResourceInUseException extends __BaseException {
119
- name = "ResourceInUseException";
120
- $fault = "client";
121
- constructor(opts) {
122
- super({
123
- name: "ResourceInUseException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
128
- }
129
- }
130
16
  export const VirtualGatewayPortProtocol = {
131
17
  GRPC: "grpc",
132
18
  HTTP: "http",
@@ -215,15 +101,3 @@ export const VirtualServiceStatusCode = {
215
101
  DELETED: "DELETED",
216
102
  INACTIVE: "INACTIVE",
217
103
  };
218
- export class TooManyTagsException extends __BaseException {
219
- name = "TooManyTagsException";
220
- $fault = "client";
221
- constructor(opts) {
222
- super({
223
- name: "TooManyTagsException",
224
- $fault: "client",
225
- ...opts,
226
- });
227
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
228
- }
229
- }
@@ -429,7 +429,7 @@ const _wT = "weightedTargets";
429
429
  const n0 = "com.amazonaws.appmesh";
430
430
  import { TypeRegistry } from "@smithy/core/schema";
431
431
  import { AppMeshServiceException as __AppMeshServiceException } from "../models/AppMeshServiceException";
432
- import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, LimitExceededException as __LimitExceededException, NotFoundException as __NotFoundException, ResourceInUseException as __ResourceInUseException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, TooManyTagsException as __TooManyTagsException, } from "../models/index";
432
+ import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, LimitExceededException as __LimitExceededException, NotFoundException as __NotFoundException, ResourceInUseException as __ResourceInUseException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, TooManyTagsException as __TooManyTagsException, } from "../models/errors";
433
433
  export var AwsCloudMapInstanceAttribute = [3, n0, _ACMIA, 0, [_k, _v], [0, 0]];
434
434
  export var AwsCloudMapServiceDiscovery = [
435
435
  3,
@@ -24,5 +24,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
24
24
  export type { AppMeshExtensionConfiguration } from "./extensionConfiguration";
25
25
  export * from "./commands";
26
26
  export * from "./pagination";
27
- export * from "./models";
27
+ export * from "./models/errors";
28
+ export type * from "./models/models_0";
28
29
  export { AppMeshServiceException } from "./models/AppMeshServiceException";
@@ -0,0 +1,135 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
3
+ /**
4
+ * <p>The request syntax was malformed. Check your request syntax and try again.</p>
5
+ * @public
6
+ */
7
+ export declare class BadRequestException extends __BaseException {
8
+ readonly name: "BadRequestException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>You don't have permissions to perform this action.</p>
17
+ * @public
18
+ */
19
+ export declare class ForbiddenException extends __BaseException {
20
+ readonly name: "ForbiddenException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The request processing has failed because of an unknown error, exception, or
29
+ * failure.</p>
30
+ * @public
31
+ */
32
+ export declare class InternalServerErrorException extends __BaseException {
33
+ readonly name: "InternalServerErrorException";
34
+ readonly $fault: "server";
35
+ $retryable: {};
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
40
+ }
41
+ /**
42
+ * <p>The specified resource doesn't exist. Check your request syntax and try again.</p>
43
+ * @public
44
+ */
45
+ export declare class NotFoundException extends __BaseException {
46
+ readonly name: "NotFoundException";
47
+ readonly $fault: "client";
48
+ /**
49
+ * @internal
50
+ */
51
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
52
+ }
53
+ /**
54
+ * <p>The request has failed due to a temporary failure of the service.</p>
55
+ * @public
56
+ */
57
+ export declare class ServiceUnavailableException extends __BaseException {
58
+ readonly name: "ServiceUnavailableException";
59
+ readonly $fault: "server";
60
+ $retryable: {};
61
+ /**
62
+ * @internal
63
+ */
64
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
65
+ }
66
+ /**
67
+ * <p>The maximum request rate permitted by the App Mesh APIs has been exceeded for
68
+ * your account. For best results, use an increasing or variable sleep interval between
69
+ * requests.</p>
70
+ * @public
71
+ */
72
+ export declare class TooManyRequestsException extends __BaseException {
73
+ readonly name: "TooManyRequestsException";
74
+ readonly $fault: "client";
75
+ $retryable: {
76
+ throttling: boolean;
77
+ };
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
82
+ }
83
+ /**
84
+ * <p>The request contains a client token that was used for a previous update resource call
85
+ * with different specifications. Try the request again with a new client token.</p>
86
+ * @public
87
+ */
88
+ export declare class ConflictException extends __BaseException {
89
+ readonly name: "ConflictException";
90
+ readonly $fault: "client";
91
+ /**
92
+ * @internal
93
+ */
94
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
95
+ }
96
+ /**
97
+ * <p>You have exceeded a service limit for your account. For more information, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html">Service
98
+ * Limits</a> in the <i>App Mesh User Guide</i>.</p>
99
+ * @public
100
+ */
101
+ export declare class LimitExceededException extends __BaseException {
102
+ readonly name: "LimitExceededException";
103
+ readonly $fault: "client";
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
108
+ }
109
+ /**
110
+ * <p>You can't delete the specified resource because it's in use or required by another
111
+ * resource.</p>
112
+ * @public
113
+ */
114
+ export declare class ResourceInUseException extends __BaseException {
115
+ readonly name: "ResourceInUseException";
116
+ readonly $fault: "client";
117
+ /**
118
+ * @internal
119
+ */
120
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
121
+ }
122
+ /**
123
+ * <p>The request exceeds the maximum allowed number of tags allowed per resource. The current
124
+ * limit is 50 user tags per resource. You must reduce the number of tags in the request. None
125
+ * of the tags in this request were applied.</p>
126
+ * @public
127
+ */
128
+ export declare class TooManyTagsException extends __BaseException {
129
+ readonly name: "TooManyTagsException";
130
+ readonly $fault: "client";
131
+ /**
132
+ * @internal
133
+ */
134
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
135
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
3
1
  /**
4
2
  * <p>An object that represents the key value pairs for the JSON.</p>
5
3
  * @public
@@ -119,44 +117,6 @@ export declare namespace AccessLog {
119
117
  _: (name: string, value: any) => T;
120
118
  }
121
119
  }
122
- /**
123
- * <p>The request syntax was malformed. Check your request syntax and try again.</p>
124
- * @public
125
- */
126
- export declare class BadRequestException extends __BaseException {
127
- readonly name: "BadRequestException";
128
- readonly $fault: "client";
129
- /**
130
- * @internal
131
- */
132
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
133
- }
134
- /**
135
- * <p>You don't have permissions to perform this action.</p>
136
- * @public
137
- */
138
- export declare class ForbiddenException extends __BaseException {
139
- readonly name: "ForbiddenException";
140
- readonly $fault: "client";
141
- /**
142
- * @internal
143
- */
144
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
145
- }
146
- /**
147
- * <p>The request processing has failed because of an unknown error, exception, or
148
- * failure.</p>
149
- * @public
150
- */
151
- export declare class InternalServerErrorException extends __BaseException {
152
- readonly name: "InternalServerErrorException";
153
- readonly $fault: "server";
154
- $retryable: {};
155
- /**
156
- * @internal
157
- */
158
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
159
- }
160
120
  /**
161
121
  *
162
122
  * @public
@@ -228,61 +188,6 @@ export interface ListTagsForResourceOutput {
228
188
  */
229
189
  nextToken?: string | undefined;
230
190
  }
231
- /**
232
- * <p>The specified resource doesn't exist. Check your request syntax and try again.</p>
233
- * @public
234
- */
235
- export declare class NotFoundException extends __BaseException {
236
- readonly name: "NotFoundException";
237
- readonly $fault: "client";
238
- /**
239
- * @internal
240
- */
241
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
242
- }
243
- /**
244
- * <p>The request has failed due to a temporary failure of the service.</p>
245
- * @public
246
- */
247
- export declare class ServiceUnavailableException extends __BaseException {
248
- readonly name: "ServiceUnavailableException";
249
- readonly $fault: "server";
250
- $retryable: {};
251
- /**
252
- * @internal
253
- */
254
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
255
- }
256
- /**
257
- * <p>The maximum request rate permitted by the App Mesh APIs has been exceeded for
258
- * your account. For best results, use an increasing or variable sleep interval between
259
- * requests.</p>
260
- * @public
261
- */
262
- export declare class TooManyRequestsException extends __BaseException {
263
- readonly name: "TooManyRequestsException";
264
- readonly $fault: "client";
265
- $retryable: {
266
- throttling: boolean;
267
- };
268
- /**
269
- * @internal
270
- */
271
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
272
- }
273
- /**
274
- * <p>The request contains a client token that was used for a previous update resource call
275
- * with different specifications. Try the request again with a new client token.</p>
276
- * @public
277
- */
278
- export declare class ConflictException extends __BaseException {
279
- readonly name: "ConflictException";
280
- readonly $fault: "client";
281
- /**
282
- * @internal
283
- */
284
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
285
- }
286
191
  /**
287
192
  * @public
288
193
  * @enum
@@ -485,19 +390,6 @@ export interface CreateMeshOutput {
485
390
  */
486
391
  mesh: MeshData | undefined;
487
392
  }
488
- /**
489
- * <p>You have exceeded a service limit for your account. For more information, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html">Service
490
- * Limits</a> in the <i>App Mesh User Guide</i>.</p>
491
- * @public
492
- */
493
- export declare class LimitExceededException extends __BaseException {
494
- readonly name: "LimitExceededException";
495
- readonly $fault: "client";
496
- /**
497
- * @internal
498
- */
499
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
500
- }
501
393
  /**
502
394
  *
503
395
  * @public
@@ -520,19 +412,6 @@ export interface DeleteMeshOutput {
520
412
  */
521
413
  mesh: MeshData | undefined;
522
414
  }
523
- /**
524
- * <p>You can't delete the specified resource because it's in use or required by another
525
- * resource.</p>
526
- * @public
527
- */
528
- export declare class ResourceInUseException extends __BaseException {
529
- readonly name: "ResourceInUseException";
530
- readonly $fault: "client";
531
- /**
532
- * @internal
533
- */
534
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
535
- }
536
415
  /**
537
416
  *
538
417
  * @public
@@ -5778,20 +5657,6 @@ export interface TagResourceInput {
5778
5657
  */
5779
5658
  export interface TagResourceOutput {
5780
5659
  }
5781
- /**
5782
- * <p>The request exceeds the maximum allowed number of tags allowed per resource. The current
5783
- * limit is 50 user tags per resource. You must reduce the number of tags in the request. None
5784
- * of the tags in this request were applied.</p>
5785
- * @public
5786
- */
5787
- export declare class TooManyTagsException extends __BaseException {
5788
- readonly name: "TooManyTagsException";
5789
- readonly $fault: "client";
5790
- /**
5791
- * @internal
5792
- */
5793
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
5794
- }
5795
5660
  /**
5796
5661
  *
5797
5662
  * @public
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { AppMeshExtensionConfiguration } 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 { AppMeshServiceException } from "./models/AppMeshServiceException";
@@ -0,0 +1,71 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ForbiddenException extends __BaseException {
11
+ readonly name: "ForbiddenException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
+ }
15
+ export declare class InternalServerErrorException extends __BaseException {
16
+ readonly name: "InternalServerErrorException";
17
+ readonly $fault: "server";
18
+ $retryable: {};
19
+ constructor(
20
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
21
+ );
22
+ }
23
+ export declare class NotFoundException extends __BaseException {
24
+ readonly name: "NotFoundException";
25
+ readonly $fault: "client";
26
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
27
+ }
28
+ export declare class ServiceUnavailableException extends __BaseException {
29
+ readonly name: "ServiceUnavailableException";
30
+ readonly $fault: "server";
31
+ $retryable: {};
32
+ constructor(
33
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
34
+ );
35
+ }
36
+ export declare class TooManyRequestsException extends __BaseException {
37
+ readonly name: "TooManyRequestsException";
38
+ readonly $fault: "client";
39
+ $retryable: {
40
+ throttling: boolean;
41
+ };
42
+ constructor(
43
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
44
+ );
45
+ }
46
+ export declare class ConflictException extends __BaseException {
47
+ readonly name: "ConflictException";
48
+ readonly $fault: "client";
49
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
50
+ }
51
+ export declare class LimitExceededException extends __BaseException {
52
+ readonly name: "LimitExceededException";
53
+ readonly $fault: "client";
54
+ constructor(
55
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
56
+ );
57
+ }
58
+ export declare class ResourceInUseException extends __BaseException {
59
+ readonly name: "ResourceInUseException";
60
+ readonly $fault: "client";
61
+ constructor(
62
+ opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
63
+ );
64
+ }
65
+ export declare class TooManyTagsException extends __BaseException {
66
+ readonly name: "TooManyTagsException";
67
+ readonly $fault: "client";
68
+ constructor(
69
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
70
+ );
71
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
3
1
  export interface JsonFormatRef {
4
2
  key: string | undefined;
5
3
  value: string | undefined;
@@ -49,26 +47,6 @@ export declare namespace AccessLog {
49
47
  _: (name: string, value: any) => T;
50
48
  }
51
49
  }
52
- export declare class BadRequestException extends __BaseException {
53
- readonly name: "BadRequestException";
54
- readonly $fault: "client";
55
- constructor(
56
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
57
- );
58
- }
59
- export declare class ForbiddenException extends __BaseException {
60
- readonly name: "ForbiddenException";
61
- readonly $fault: "client";
62
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
63
- }
64
- export declare class InternalServerErrorException extends __BaseException {
65
- readonly name: "InternalServerErrorException";
66
- readonly $fault: "server";
67
- $retryable: {};
68
- constructor(
69
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
70
- );
71
- }
72
50
  export interface ListTagsForResourceInput {
73
51
  resourceArn: string | undefined;
74
52
  nextToken?: string | undefined;
@@ -82,34 +60,6 @@ export interface ListTagsForResourceOutput {
82
60
  tags: TagRef[] | undefined;
83
61
  nextToken?: string | undefined;
84
62
  }
85
- export declare class NotFoundException extends __BaseException {
86
- readonly name: "NotFoundException";
87
- readonly $fault: "client";
88
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
89
- }
90
- export declare class ServiceUnavailableException extends __BaseException {
91
- readonly name: "ServiceUnavailableException";
92
- readonly $fault: "server";
93
- $retryable: {};
94
- constructor(
95
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
96
- );
97
- }
98
- export declare class TooManyRequestsException extends __BaseException {
99
- readonly name: "TooManyRequestsException";
100
- readonly $fault: "client";
101
- $retryable: {
102
- throttling: boolean;
103
- };
104
- constructor(
105
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
106
- );
107
- }
108
- export declare class ConflictException extends __BaseException {
109
- readonly name: "ConflictException";
110
- readonly $fault: "client";
111
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
112
- }
113
63
  export declare const EgressFilterType: {
114
64
  readonly ALLOW_ALL: "ALLOW_ALL";
115
65
  readonly DROP_ALL: "DROP_ALL";
@@ -167,26 +117,12 @@ export interface MeshData {
167
117
  export interface CreateMeshOutput {
168
118
  mesh: MeshData | undefined;
169
119
  }
170
- export declare class LimitExceededException extends __BaseException {
171
- readonly name: "LimitExceededException";
172
- readonly $fault: "client";
173
- constructor(
174
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
175
- );
176
- }
177
120
  export interface DeleteMeshInput {
178
121
  meshName: string | undefined;
179
122
  }
180
123
  export interface DeleteMeshOutput {
181
124
  mesh: MeshData | undefined;
182
125
  }
183
- export declare class ResourceInUseException extends __BaseException {
184
- readonly name: "ResourceInUseException";
185
- readonly $fault: "client";
186
- constructor(
187
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
188
- );
189
- }
190
126
  export interface DescribeMeshInput {
191
127
  meshName: string | undefined;
192
128
  meshOwner?: string | undefined;
@@ -1830,13 +1766,6 @@ export interface TagResourceInput {
1830
1766
  tags: TagRef[] | undefined;
1831
1767
  }
1832
1768
  export interface TagResourceOutput {}
1833
- export declare class TooManyTagsException extends __BaseException {
1834
- readonly name: "TooManyTagsException";
1835
- readonly $fault: "client";
1836
- constructor(
1837
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
1838
- );
1839
- }
1840
1769
  export interface UntagResourceInput {
1841
1770
  resourceArn: string | undefined;
1842
1771
  tagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-app-mesh",
3
3
  "description": "AWS SDK for JavaScript App Mesh Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.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-app-mesh",
@@ -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.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
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.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
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.5",
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.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
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",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";