@aws-sdk/client-app-mesh 3.935.0 → 3.939.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.
@@ -1,3 +1,4 @@
1
+ import { DefaultGatewayRouteRewrite, DnsResponseType, DurationUnit, EgressFilterType, GatewayRouteStatusCode, GrpcRetryPolicyEvent, HttpMethod, HttpScheme, IpPreference, ListenerTlsMode, MeshStatusCode, PortProtocol, RouteStatusCode, TcpRetryPolicyEvent, VirtualGatewayListenerTlsMode, VirtualGatewayPortProtocol, VirtualGatewayStatusCode, VirtualNodeStatusCode, VirtualRouterStatusCode, VirtualServiceStatusCode } from "./enums";
1
2
  /**
2
3
  * <p>An object that represents the key value pairs for the JSON.</p>
3
4
  * @public
@@ -188,18 +189,6 @@ export interface ListTagsForResourceOutput {
188
189
  */
189
190
  nextToken?: string | undefined;
190
191
  }
191
- /**
192
- * @public
193
- * @enum
194
- */
195
- export declare const EgressFilterType: {
196
- readonly ALLOW_ALL: "ALLOW_ALL";
197
- readonly DROP_ALL: "DROP_ALL";
198
- };
199
- /**
200
- * @public
201
- */
202
- export type EgressFilterType = (typeof EgressFilterType)[keyof typeof EgressFilterType];
203
192
  /**
204
193
  * <p>An object that represents the egress filter rules for a service mesh.</p>
205
194
  * @public
@@ -215,20 +204,6 @@ export interface EgressFilter {
215
204
  */
216
205
  type: EgressFilterType | undefined;
217
206
  }
218
- /**
219
- * @public
220
- * @enum
221
- */
222
- export declare const IpPreference: {
223
- readonly IPv4_ONLY: "IPv4_ONLY";
224
- readonly IPv4_PREFERRED: "IPv4_PREFERRED";
225
- readonly IPv6_ONLY: "IPv6_ONLY";
226
- readonly IPv6_PREFERRED: "IPv6_PREFERRED";
227
- };
228
- /**
229
- * @public
230
- */
231
- export type IpPreference = (typeof IpPreference)[keyof typeof IpPreference];
232
207
  /**
233
208
  * <p>An object that represents the service discovery information for a service mesh.</p>
234
209
  * @public
@@ -329,19 +304,6 @@ export interface ResourceMetadata {
329
304
  */
330
305
  resourceOwner: string | undefined;
331
306
  }
332
- /**
333
- * @public
334
- * @enum
335
- */
336
- export declare const MeshStatusCode: {
337
- readonly ACTIVE: "ACTIVE";
338
- readonly DELETED: "DELETED";
339
- readonly INACTIVE: "INACTIVE";
340
- };
341
- /**
342
- * @public
343
- */
344
- export type MeshStatusCode = (typeof MeshStatusCode)[keyof typeof MeshStatusCode];
345
307
  /**
346
308
  * <p>An object that represents the status of a service mesh.</p>
347
309
  * @public
@@ -945,19 +907,6 @@ export declare namespace VirtualGatewayConnectionPool {
945
907
  _: (name: string, value: any) => T;
946
908
  }
947
909
  }
948
- /**
949
- * @public
950
- * @enum
951
- */
952
- export declare const VirtualGatewayPortProtocol: {
953
- readonly GRPC: "grpc";
954
- readonly HTTP: "http";
955
- readonly HTTP2: "http2";
956
- };
957
- /**
958
- * @public
959
- */
960
- export type VirtualGatewayPortProtocol = (typeof VirtualGatewayPortProtocol)[keyof typeof VirtualGatewayPortProtocol];
961
910
  /**
962
911
  * <p>An object that represents the health check policy for a virtual gateway's
963
912
  * listener.</p>
@@ -1094,19 +1043,6 @@ export declare namespace VirtualGatewayListenerTlsCertificate {
1094
1043
  _: (name: string, value: any) => T;
1095
1044
  }
1096
1045
  }
1097
- /**
1098
- * @public
1099
- * @enum
1100
- */
1101
- export declare const VirtualGatewayListenerTlsMode: {
1102
- readonly DISABLED: "DISABLED";
1103
- readonly PERMISSIVE: "PERMISSIVE";
1104
- readonly STRICT: "STRICT";
1105
- };
1106
- /**
1107
- * @public
1108
- */
1109
- export type VirtualGatewayListenerTlsMode = (typeof VirtualGatewayListenerTlsMode)[keyof typeof VirtualGatewayListenerTlsMode];
1110
1046
  /**
1111
1047
  * <p>An object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context
1112
1048
  * trust.</p>
@@ -1366,19 +1302,6 @@ export interface CreateVirtualGatewayInput {
1366
1302
  */
1367
1303
  meshOwner?: string | undefined;
1368
1304
  }
1369
- /**
1370
- * @public
1371
- * @enum
1372
- */
1373
- export declare const VirtualGatewayStatusCode: {
1374
- readonly ACTIVE: "ACTIVE";
1375
- readonly DELETED: "DELETED";
1376
- readonly INACTIVE: "INACTIVE";
1377
- };
1378
- /**
1379
- * @public
1380
- */
1381
- export type VirtualGatewayStatusCode = (typeof VirtualGatewayStatusCode)[keyof typeof VirtualGatewayStatusCode];
1382
1305
  /**
1383
1306
  * <p>An object that represents the status of the mesh resource.</p>
1384
1307
  * @public
@@ -1493,18 +1416,6 @@ export interface DescribeVirtualGatewayOutput {
1493
1416
  */
1494
1417
  virtualGateway: VirtualGatewayData | undefined;
1495
1418
  }
1496
- /**
1497
- * @public
1498
- * @enum
1499
- */
1500
- export declare const DefaultGatewayRouteRewrite: {
1501
- readonly DISABLED: "DISABLED";
1502
- readonly ENABLED: "ENABLED";
1503
- };
1504
- /**
1505
- * @public
1506
- */
1507
- export type DefaultGatewayRouteRewrite = (typeof DefaultGatewayRouteRewrite)[keyof typeof DefaultGatewayRouteRewrite];
1508
1419
  /**
1509
1420
  * <p>An object representing the gateway route host name to rewrite.</p>
1510
1421
  * @public
@@ -1940,25 +1851,6 @@ export interface HttpGatewayRouteHeader {
1940
1851
  */
1941
1852
  match?: HeaderMatchMethod | undefined;
1942
1853
  }
1943
- /**
1944
- * @public
1945
- * @enum
1946
- */
1947
- export declare const HttpMethod: {
1948
- readonly CONNECT: "CONNECT";
1949
- readonly DELETE: "DELETE";
1950
- readonly GET: "GET";
1951
- readonly HEAD: "HEAD";
1952
- readonly OPTIONS: "OPTIONS";
1953
- readonly PATCH: "PATCH";
1954
- readonly POST: "POST";
1955
- readonly PUT: "PUT";
1956
- readonly TRACE: "TRACE";
1957
- };
1958
- /**
1959
- * @public
1960
- */
1961
- export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
1962
1854
  /**
1963
1855
  * <p>An object representing the path to match in the request.</p>
1964
1856
  * @public
@@ -2139,19 +2031,6 @@ export interface CreateGatewayRouteInput {
2139
2031
  */
2140
2032
  meshOwner?: string | undefined;
2141
2033
  }
2142
- /**
2143
- * @public
2144
- * @enum
2145
- */
2146
- export declare const GatewayRouteStatusCode: {
2147
- readonly ACTIVE: "ACTIVE";
2148
- readonly DELETED: "DELETED";
2149
- readonly INACTIVE: "INACTIVE";
2150
- };
2151
- /**
2152
- * @public
2153
- */
2154
- export type GatewayRouteStatusCode = (typeof GatewayRouteStatusCode)[keyof typeof GatewayRouteStatusCode];
2155
2034
  /**
2156
2035
  * <p>An object that represents the current status of a gateway route.</p>
2157
2036
  * @public
@@ -3023,20 +2902,6 @@ export declare namespace VirtualNodeConnectionPool {
3023
2902
  _: (name: string, value: any) => T;
3024
2903
  }
3025
2904
  }
3026
- /**
3027
- * @public
3028
- * @enum
3029
- */
3030
- export declare const PortProtocol: {
3031
- readonly GRPC: "grpc";
3032
- readonly HTTP: "http";
3033
- readonly HTTP2: "http2";
3034
- readonly TCP: "tcp";
3035
- };
3036
- /**
3037
- * @public
3038
- */
3039
- export type PortProtocol = (typeof PortProtocol)[keyof typeof PortProtocol];
3040
2905
  /**
3041
2906
  * <p>An object that represents the health check policy for a virtual node's listener.</p>
3042
2907
  * @public
@@ -3085,18 +2950,6 @@ export interface HealthCheckPolicy {
3085
2950
  */
3086
2951
  unhealthyThreshold: number | undefined;
3087
2952
  }
3088
- /**
3089
- * @public
3090
- * @enum
3091
- */
3092
- export declare const DurationUnit: {
3093
- readonly MS: "ms";
3094
- readonly S: "s";
3095
- };
3096
- /**
3097
- * @public
3098
- */
3099
- export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
3100
2953
  /**
3101
2954
  * <p>An object that represents a duration of time.</p>
3102
2955
  * @public
@@ -3349,19 +3202,6 @@ export declare namespace ListenerTlsCertificate {
3349
3202
  _: (name: string, value: any) => T;
3350
3203
  }
3351
3204
  }
3352
- /**
3353
- * @public
3354
- * @enum
3355
- */
3356
- export declare const ListenerTlsMode: {
3357
- readonly DISABLED: "DISABLED";
3358
- readonly PERMISSIVE: "PERMISSIVE";
3359
- readonly STRICT: "STRICT";
3360
- };
3361
- /**
3362
- * @public
3363
- */
3364
- export type ListenerTlsMode = (typeof ListenerTlsMode)[keyof typeof ListenerTlsMode];
3365
3205
  /**
3366
3206
  * <p>An object that represents a listener's Transport Layer Security (TLS) validation context trust.</p>
3367
3207
  * @public
@@ -3567,18 +3407,6 @@ export interface AwsCloudMapServiceDiscovery {
3567
3407
  */
3568
3408
  ipPreference?: IpPreference | undefined;
3569
3409
  }
3570
- /**
3571
- * @public
3572
- * @enum
3573
- */
3574
- export declare const DnsResponseType: {
3575
- readonly ENDPOINTS: "ENDPOINTS";
3576
- readonly LOADBALANCER: "LOADBALANCER";
3577
- };
3578
- /**
3579
- * @public
3580
- */
3581
- export type DnsResponseType = (typeof DnsResponseType)[keyof typeof DnsResponseType];
3582
3410
  /**
3583
3411
  * <p>An object that represents the DNS service discovery information for your virtual
3584
3412
  * node.</p>
@@ -3724,19 +3552,6 @@ export interface CreateVirtualNodeInput {
3724
3552
  */
3725
3553
  meshOwner?: string | undefined;
3726
3554
  }
3727
- /**
3728
- * @public
3729
- * @enum
3730
- */
3731
- export declare const VirtualNodeStatusCode: {
3732
- readonly ACTIVE: "ACTIVE";
3733
- readonly DELETED: "DELETED";
3734
- readonly INACTIVE: "INACTIVE";
3735
- };
3736
- /**
3737
- * @public
3738
- */
3739
- export type VirtualNodeStatusCode = (typeof VirtualNodeStatusCode)[keyof typeof VirtualNodeStatusCode];
3740
3555
  /**
3741
3556
  * <p>An object that represents the current status of the virtual node.</p>
3742
3557
  * @public
@@ -4069,19 +3884,6 @@ export interface CreateVirtualRouterInput {
4069
3884
  */
4070
3885
  meshOwner?: string | undefined;
4071
3886
  }
4072
- /**
4073
- * @public
4074
- * @enum
4075
- */
4076
- export declare const VirtualRouterStatusCode: {
4077
- readonly ACTIVE: "ACTIVE";
4078
- readonly DELETED: "DELETED";
4079
- readonly INACTIVE: "INACTIVE";
4080
- };
4081
- /**
4082
- * @public
4083
- */
4084
- export type VirtualRouterStatusCode = (typeof VirtualRouterStatusCode)[keyof typeof VirtualRouterStatusCode];
4085
3887
  /**
4086
3888
  * <p>An object that represents the status of a virtual router. </p>
4087
3889
  * @public
@@ -4481,32 +4283,6 @@ export interface GrpcRouteMatch {
4481
4283
  */
4482
4284
  port?: number | undefined;
4483
4285
  }
4484
- /**
4485
- * @public
4486
- * @enum
4487
- */
4488
- export declare const GrpcRetryPolicyEvent: {
4489
- readonly CANCELLED: "cancelled";
4490
- readonly DEADLINE_EXCEEDED: "deadline-exceeded";
4491
- readonly INTERNAL: "internal";
4492
- readonly RESOURCE_EXHAUSTED: "resource-exhausted";
4493
- readonly UNAVAILABLE: "unavailable";
4494
- };
4495
- /**
4496
- * @public
4497
- */
4498
- export type GrpcRetryPolicyEvent = (typeof GrpcRetryPolicyEvent)[keyof typeof GrpcRetryPolicyEvent];
4499
- /**
4500
- * @public
4501
- * @enum
4502
- */
4503
- export declare const TcpRetryPolicyEvent: {
4504
- readonly CONNECTION_ERROR: "connection-error";
4505
- };
4506
- /**
4507
- * @public
4508
- */
4509
- export type TcpRetryPolicyEvent = (typeof TcpRetryPolicyEvent)[keyof typeof TcpRetryPolicyEvent];
4510
4286
  /**
4511
4287
  * <p>An object that represents a retry policy. Specify at least one value for at least one of the types of <code>RetryEvents</code>, a value for <code>maxRetries</code>, and a value for <code>perRetryTimeout</code>.
4512
4288
  * Both <code>server-error</code> and <code>gateway-error</code> under <code>httpRetryEvents</code> include the Envoy <code>reset</code> policy. For more information on the
@@ -4619,18 +4395,6 @@ export interface HttpRouteHeader {
4619
4395
  */
4620
4396
  match?: HeaderMatchMethod | undefined;
4621
4397
  }
4622
- /**
4623
- * @public
4624
- * @enum
4625
- */
4626
- export declare const HttpScheme: {
4627
- readonly HTTP: "http";
4628
- readonly HTTPS: "https";
4629
- };
4630
- /**
4631
- * @public
4632
- */
4633
- export type HttpScheme = (typeof HttpScheme)[keyof typeof HttpScheme];
4634
4398
  /**
4635
4399
  * <p>An object that represents the requirements for a route to match HTTP requests for a
4636
4400
  * virtual router.</p>
@@ -4877,19 +4641,6 @@ export interface CreateRouteInput {
4877
4641
  */
4878
4642
  meshOwner?: string | undefined;
4879
4643
  }
4880
- /**
4881
- * @public
4882
- * @enum
4883
- */
4884
- export declare const RouteStatusCode: {
4885
- readonly ACTIVE: "ACTIVE";
4886
- readonly DELETED: "DELETED";
4887
- readonly INACTIVE: "INACTIVE";
4888
- };
4889
- /**
4890
- * @public
4891
- */
4892
- export type RouteStatusCode = (typeof RouteStatusCode)[keyof typeof RouteStatusCode];
4893
4644
  /**
4894
4645
  * <p>An object that represents the current status of a route.</p>
4895
4646
  * @public
@@ -5352,19 +5103,6 @@ export interface CreateVirtualServiceInput {
5352
5103
  */
5353
5104
  meshOwner?: string | undefined;
5354
5105
  }
5355
- /**
5356
- * @public
5357
- * @enum
5358
- */
5359
- export declare const VirtualServiceStatusCode: {
5360
- readonly ACTIVE: "ACTIVE";
5361
- readonly DELETED: "DELETED";
5362
- readonly INACTIVE: "INACTIVE";
5363
- };
5364
- /**
5365
- * @public
5366
- */
5367
- export type VirtualServiceStatusCode = (typeof VirtualServiceStatusCode)[keyof typeof VirtualServiceStatusCode];
5368
5106
  /**
5369
5107
  * <p>An object that represents the status of a virtual service.</p>
5370
5108
  * @public
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { AppMeshExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { AppMeshServiceException } from "./models/AppMeshServiceException";
@@ -0,0 +1,138 @@
1
+ export declare const EgressFilterType: {
2
+ readonly ALLOW_ALL: "ALLOW_ALL";
3
+ readonly DROP_ALL: "DROP_ALL";
4
+ };
5
+ export type EgressFilterType =
6
+ (typeof EgressFilterType)[keyof typeof EgressFilterType];
7
+ export declare const IpPreference: {
8
+ readonly IPv4_ONLY: "IPv4_ONLY";
9
+ readonly IPv4_PREFERRED: "IPv4_PREFERRED";
10
+ readonly IPv6_ONLY: "IPv6_ONLY";
11
+ readonly IPv6_PREFERRED: "IPv6_PREFERRED";
12
+ };
13
+ export type IpPreference = (typeof IpPreference)[keyof typeof IpPreference];
14
+ export declare const MeshStatusCode: {
15
+ readonly ACTIVE: "ACTIVE";
16
+ readonly DELETED: "DELETED";
17
+ readonly INACTIVE: "INACTIVE";
18
+ };
19
+ export type MeshStatusCode =
20
+ (typeof MeshStatusCode)[keyof typeof MeshStatusCode];
21
+ export declare const VirtualGatewayPortProtocol: {
22
+ readonly GRPC: "grpc";
23
+ readonly HTTP: "http";
24
+ readonly HTTP2: "http2";
25
+ };
26
+ export type VirtualGatewayPortProtocol =
27
+ (typeof VirtualGatewayPortProtocol)[keyof typeof VirtualGatewayPortProtocol];
28
+ export declare const VirtualGatewayListenerTlsMode: {
29
+ readonly DISABLED: "DISABLED";
30
+ readonly PERMISSIVE: "PERMISSIVE";
31
+ readonly STRICT: "STRICT";
32
+ };
33
+ export type VirtualGatewayListenerTlsMode =
34
+ (typeof VirtualGatewayListenerTlsMode)[keyof typeof VirtualGatewayListenerTlsMode];
35
+ export declare const VirtualGatewayStatusCode: {
36
+ readonly ACTIVE: "ACTIVE";
37
+ readonly DELETED: "DELETED";
38
+ readonly INACTIVE: "INACTIVE";
39
+ };
40
+ export type VirtualGatewayStatusCode =
41
+ (typeof VirtualGatewayStatusCode)[keyof typeof VirtualGatewayStatusCode];
42
+ export declare const DefaultGatewayRouteRewrite: {
43
+ readonly DISABLED: "DISABLED";
44
+ readonly ENABLED: "ENABLED";
45
+ };
46
+ export type DefaultGatewayRouteRewrite =
47
+ (typeof DefaultGatewayRouteRewrite)[keyof typeof DefaultGatewayRouteRewrite];
48
+ export declare const HttpMethod: {
49
+ readonly CONNECT: "CONNECT";
50
+ readonly DELETE: "DELETE";
51
+ readonly GET: "GET";
52
+ readonly HEAD: "HEAD";
53
+ readonly OPTIONS: "OPTIONS";
54
+ readonly PATCH: "PATCH";
55
+ readonly POST: "POST";
56
+ readonly PUT: "PUT";
57
+ readonly TRACE: "TRACE";
58
+ };
59
+ export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
60
+ export declare const GatewayRouteStatusCode: {
61
+ readonly ACTIVE: "ACTIVE";
62
+ readonly DELETED: "DELETED";
63
+ readonly INACTIVE: "INACTIVE";
64
+ };
65
+ export type GatewayRouteStatusCode =
66
+ (typeof GatewayRouteStatusCode)[keyof typeof GatewayRouteStatusCode];
67
+ export declare const PortProtocol: {
68
+ readonly GRPC: "grpc";
69
+ readonly HTTP: "http";
70
+ readonly HTTP2: "http2";
71
+ readonly TCP: "tcp";
72
+ };
73
+ export type PortProtocol = (typeof PortProtocol)[keyof typeof PortProtocol];
74
+ export declare const DurationUnit: {
75
+ readonly MS: "ms";
76
+ readonly S: "s";
77
+ };
78
+ export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
79
+ export declare const ListenerTlsMode: {
80
+ readonly DISABLED: "DISABLED";
81
+ readonly PERMISSIVE: "PERMISSIVE";
82
+ readonly STRICT: "STRICT";
83
+ };
84
+ export type ListenerTlsMode =
85
+ (typeof ListenerTlsMode)[keyof typeof ListenerTlsMode];
86
+ export declare const DnsResponseType: {
87
+ readonly ENDPOINTS: "ENDPOINTS";
88
+ readonly LOADBALANCER: "LOADBALANCER";
89
+ };
90
+ export type DnsResponseType =
91
+ (typeof DnsResponseType)[keyof typeof DnsResponseType];
92
+ export declare const VirtualNodeStatusCode: {
93
+ readonly ACTIVE: "ACTIVE";
94
+ readonly DELETED: "DELETED";
95
+ readonly INACTIVE: "INACTIVE";
96
+ };
97
+ export type VirtualNodeStatusCode =
98
+ (typeof VirtualNodeStatusCode)[keyof typeof VirtualNodeStatusCode];
99
+ export declare const VirtualRouterStatusCode: {
100
+ readonly ACTIVE: "ACTIVE";
101
+ readonly DELETED: "DELETED";
102
+ readonly INACTIVE: "INACTIVE";
103
+ };
104
+ export type VirtualRouterStatusCode =
105
+ (typeof VirtualRouterStatusCode)[keyof typeof VirtualRouterStatusCode];
106
+ export declare const GrpcRetryPolicyEvent: {
107
+ readonly CANCELLED: "cancelled";
108
+ readonly DEADLINE_EXCEEDED: "deadline-exceeded";
109
+ readonly INTERNAL: "internal";
110
+ readonly RESOURCE_EXHAUSTED: "resource-exhausted";
111
+ readonly UNAVAILABLE: "unavailable";
112
+ };
113
+ export type GrpcRetryPolicyEvent =
114
+ (typeof GrpcRetryPolicyEvent)[keyof typeof GrpcRetryPolicyEvent];
115
+ export declare const TcpRetryPolicyEvent: {
116
+ readonly CONNECTION_ERROR: "connection-error";
117
+ };
118
+ export type TcpRetryPolicyEvent =
119
+ (typeof TcpRetryPolicyEvent)[keyof typeof TcpRetryPolicyEvent];
120
+ export declare const HttpScheme: {
121
+ readonly HTTP: "http";
122
+ readonly HTTPS: "https";
123
+ };
124
+ export type HttpScheme = (typeof HttpScheme)[keyof typeof HttpScheme];
125
+ export declare const RouteStatusCode: {
126
+ readonly ACTIVE: "ACTIVE";
127
+ readonly DELETED: "DELETED";
128
+ readonly INACTIVE: "INACTIVE";
129
+ };
130
+ export type RouteStatusCode =
131
+ (typeof RouteStatusCode)[keyof typeof RouteStatusCode];
132
+ export declare const VirtualServiceStatusCode: {
133
+ readonly ACTIVE: "ACTIVE";
134
+ readonly DELETED: "DELETED";
135
+ readonly INACTIVE: "INACTIVE";
136
+ };
137
+ export type VirtualServiceStatusCode =
138
+ (typeof VirtualServiceStatusCode)[keyof typeof VirtualServiceStatusCode];