@aws-sdk/client-app-mesh 3.301.0 → 3.303.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.
@@ -260,11 +260,16 @@ export declare class ConflictException extends __BaseException {
260
260
  }
261
261
  /**
262
262
  * @public
263
+ * @enum
263
264
  */
264
- export declare enum EgressFilterType {
265
- ALLOW_ALL = "ALLOW_ALL",
266
- DROP_ALL = "DROP_ALL"
267
- }
265
+ export declare const EgressFilterType: {
266
+ readonly ALLOW_ALL: "ALLOW_ALL";
267
+ readonly DROP_ALL: "DROP_ALL";
268
+ };
269
+ /**
270
+ * @public
271
+ */
272
+ export type EgressFilterType = (typeof EgressFilterType)[keyof typeof EgressFilterType];
268
273
  /**
269
274
  * @public
270
275
  * <p>An object that represents the egress filter rules for a service mesh.</p>
@@ -281,13 +286,18 @@ export interface EgressFilter {
281
286
  }
282
287
  /**
283
288
  * @public
289
+ * @enum
284
290
  */
285
- export declare enum IpPreference {
286
- IPv4_ONLY = "IPv4_ONLY",
287
- IPv4_PREFERRED = "IPv4_PREFERRED",
288
- IPv6_ONLY = "IPv6_ONLY",
289
- IPv6_PREFERRED = "IPv6_PREFERRED"
290
- }
291
+ export declare const IpPreference: {
292
+ readonly IPv4_ONLY: "IPv4_ONLY";
293
+ readonly IPv4_PREFERRED: "IPv4_PREFERRED";
294
+ readonly IPv6_ONLY: "IPv6_ONLY";
295
+ readonly IPv6_PREFERRED: "IPv6_PREFERRED";
296
+ };
297
+ /**
298
+ * @public
299
+ */
300
+ export type IpPreference = (typeof IpPreference)[keyof typeof IpPreference];
291
301
  /**
292
302
  * @public
293
303
  * <p>An object that represents the service discovery information for a service mesh.</p>
@@ -376,12 +386,17 @@ export interface ResourceMetadata {
376
386
  }
377
387
  /**
378
388
  * @public
389
+ * @enum
379
390
  */
380
- export declare enum MeshStatusCode {
381
- ACTIVE = "ACTIVE",
382
- DELETED = "DELETED",
383
- INACTIVE = "INACTIVE"
384
- }
391
+ export declare const MeshStatusCode: {
392
+ readonly ACTIVE: "ACTIVE";
393
+ readonly DELETED: "DELETED";
394
+ readonly INACTIVE: "INACTIVE";
395
+ };
396
+ /**
397
+ * @public
398
+ */
399
+ export type MeshStatusCode = (typeof MeshStatusCode)[keyof typeof MeshStatusCode];
385
400
  /**
386
401
  * @public
387
402
  * <p>An object that represents the status of a service mesh.</p>
@@ -941,12 +956,17 @@ export declare namespace VirtualGatewayConnectionPool {
941
956
  }
942
957
  /**
943
958
  * @public
959
+ * @enum
944
960
  */
945
- export declare enum VirtualGatewayPortProtocol {
946
- GRPC = "grpc",
947
- HTTP = "http",
948
- HTTP2 = "http2"
949
- }
961
+ export declare const VirtualGatewayPortProtocol: {
962
+ readonly GRPC: "grpc";
963
+ readonly HTTP: "http";
964
+ readonly HTTP2: "http2";
965
+ };
966
+ /**
967
+ * @public
968
+ */
969
+ export type VirtualGatewayPortProtocol = (typeof VirtualGatewayPortProtocol)[keyof typeof VirtualGatewayPortProtocol];
950
970
  /**
951
971
  * @public
952
972
  * <p>An object that represents the health check policy for a virtual gateway's
@@ -1066,12 +1086,17 @@ export declare namespace VirtualGatewayListenerTlsCertificate {
1066
1086
  }
1067
1087
  /**
1068
1088
  * @public
1089
+ * @enum
1069
1090
  */
1070
- export declare enum VirtualGatewayListenerTlsMode {
1071
- DISABLED = "DISABLED",
1072
- PERMISSIVE = "PERMISSIVE",
1073
- STRICT = "STRICT"
1074
- }
1091
+ export declare const VirtualGatewayListenerTlsMode: {
1092
+ readonly DISABLED: "DISABLED";
1093
+ readonly PERMISSIVE: "PERMISSIVE";
1094
+ readonly STRICT: "STRICT";
1095
+ };
1096
+ /**
1097
+ * @public
1098
+ */
1099
+ export type VirtualGatewayListenerTlsMode = (typeof VirtualGatewayListenerTlsMode)[keyof typeof VirtualGatewayListenerTlsMode];
1075
1100
  /**
1076
1101
  * @public
1077
1102
  * <p>An object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context
@@ -1297,12 +1322,17 @@ export interface CreateVirtualGatewayInput {
1297
1322
  }
1298
1323
  /**
1299
1324
  * @public
1325
+ * @enum
1300
1326
  */
1301
- export declare enum VirtualGatewayStatusCode {
1302
- ACTIVE = "ACTIVE",
1303
- DELETED = "DELETED",
1304
- INACTIVE = "INACTIVE"
1305
- }
1327
+ export declare const VirtualGatewayStatusCode: {
1328
+ readonly ACTIVE: "ACTIVE";
1329
+ readonly DELETED: "DELETED";
1330
+ readonly INACTIVE: "INACTIVE";
1331
+ };
1332
+ /**
1333
+ * @public
1334
+ */
1335
+ export type VirtualGatewayStatusCode = (typeof VirtualGatewayStatusCode)[keyof typeof VirtualGatewayStatusCode];
1306
1336
  /**
1307
1337
  * @public
1308
1338
  * <p>An object that represents the status of the mesh resource.</p>
@@ -1404,11 +1434,16 @@ export interface DescribeVirtualGatewayOutput {
1404
1434
  }
1405
1435
  /**
1406
1436
  * @public
1437
+ * @enum
1407
1438
  */
1408
- export declare enum DefaultGatewayRouteRewrite {
1409
- DISABLED = "DISABLED",
1410
- ENABLED = "ENABLED"
1411
- }
1439
+ export declare const DefaultGatewayRouteRewrite: {
1440
+ readonly DISABLED: "DISABLED";
1441
+ readonly ENABLED: "ENABLED";
1442
+ };
1443
+ /**
1444
+ * @public
1445
+ */
1446
+ export type DefaultGatewayRouteRewrite = (typeof DefaultGatewayRouteRewrite)[keyof typeof DefaultGatewayRouteRewrite];
1412
1447
  /**
1413
1448
  * @public
1414
1449
  * <p>An object representing the gateway route host name to rewrite.</p>
@@ -1793,18 +1828,23 @@ export interface HttpGatewayRouteHeader {
1793
1828
  }
1794
1829
  /**
1795
1830
  * @public
1831
+ * @enum
1796
1832
  */
1797
- export declare enum HttpMethod {
1798
- CONNECT = "CONNECT",
1799
- DELETE = "DELETE",
1800
- GET = "GET",
1801
- HEAD = "HEAD",
1802
- OPTIONS = "OPTIONS",
1803
- PATCH = "PATCH",
1804
- POST = "POST",
1805
- PUT = "PUT",
1806
- TRACE = "TRACE"
1807
- }
1833
+ export declare const HttpMethod: {
1834
+ readonly CONNECT: "CONNECT";
1835
+ readonly DELETE: "DELETE";
1836
+ readonly GET: "GET";
1837
+ readonly HEAD: "HEAD";
1838
+ readonly OPTIONS: "OPTIONS";
1839
+ readonly PATCH: "PATCH";
1840
+ readonly POST: "POST";
1841
+ readonly PUT: "PUT";
1842
+ readonly TRACE: "TRACE";
1843
+ };
1844
+ /**
1845
+ * @public
1846
+ */
1847
+ export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
1808
1848
  /**
1809
1849
  * @public
1810
1850
  * <p>An object representing the path to match in the request.</p>
@@ -1962,12 +2002,17 @@ export interface CreateGatewayRouteInput {
1962
2002
  }
1963
2003
  /**
1964
2004
  * @public
2005
+ * @enum
1965
2006
  */
1966
- export declare enum GatewayRouteStatusCode {
1967
- ACTIVE = "ACTIVE",
1968
- DELETED = "DELETED",
1969
- INACTIVE = "INACTIVE"
1970
- }
2007
+ export declare const GatewayRouteStatusCode: {
2008
+ readonly ACTIVE: "ACTIVE";
2009
+ readonly DELETED: "DELETED";
2010
+ readonly INACTIVE: "INACTIVE";
2011
+ };
2012
+ /**
2013
+ * @public
2014
+ */
2015
+ export type GatewayRouteStatusCode = (typeof GatewayRouteStatusCode)[keyof typeof GatewayRouteStatusCode];
1971
2016
  /**
1972
2017
  * @public
1973
2018
  * <p>An object that represents the current status of a gateway route.</p>
@@ -2725,13 +2770,18 @@ export declare namespace VirtualNodeConnectionPool {
2725
2770
  }
2726
2771
  /**
2727
2772
  * @public
2773
+ * @enum
2728
2774
  */
2729
- export declare enum PortProtocol {
2730
- GRPC = "grpc",
2731
- HTTP = "http",
2732
- HTTP2 = "http2",
2733
- TCP = "tcp"
2734
- }
2775
+ export declare const PortProtocol: {
2776
+ readonly GRPC: "grpc";
2777
+ readonly HTTP: "http";
2778
+ readonly HTTP2: "http2";
2779
+ readonly TCP: "tcp";
2780
+ };
2781
+ /**
2782
+ * @public
2783
+ */
2784
+ export type PortProtocol = (typeof PortProtocol)[keyof typeof PortProtocol];
2735
2785
  /**
2736
2786
  * @public
2737
2787
  * <p>An object that represents the health check policy for a virtual node's listener.</p>
@@ -2775,11 +2825,16 @@ export interface HealthCheckPolicy {
2775
2825
  }
2776
2826
  /**
2777
2827
  * @public
2828
+ * @enum
2778
2829
  */
2779
- export declare enum DurationUnit {
2780
- MS = "ms",
2781
- S = "s"
2782
- }
2830
+ export declare const DurationUnit: {
2831
+ readonly MS: "ms";
2832
+ readonly S: "s";
2833
+ };
2834
+ /**
2835
+ * @public
2836
+ */
2837
+ export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
2783
2838
  /**
2784
2839
  * @public
2785
2840
  * <p>An object that represents a duration of time.</p>
@@ -3001,12 +3056,17 @@ export declare namespace ListenerTlsCertificate {
3001
3056
  }
3002
3057
  /**
3003
3058
  * @public
3059
+ * @enum
3004
3060
  */
3005
- export declare enum ListenerTlsMode {
3006
- DISABLED = "DISABLED",
3007
- PERMISSIVE = "PERMISSIVE",
3008
- STRICT = "STRICT"
3009
- }
3061
+ export declare const ListenerTlsMode: {
3062
+ readonly DISABLED: "DISABLED";
3063
+ readonly PERMISSIVE: "PERMISSIVE";
3064
+ readonly STRICT: "STRICT";
3065
+ };
3066
+ /**
3067
+ * @public
3068
+ */
3069
+ export type ListenerTlsMode = (typeof ListenerTlsMode)[keyof typeof ListenerTlsMode];
3010
3070
  /**
3011
3071
  * @public
3012
3072
  * <p>An object that represents a listener's Transport Layer Security (TLS) validation context trust.</p>
@@ -3188,11 +3248,16 @@ export interface AwsCloudMapServiceDiscovery {
3188
3248
  }
3189
3249
  /**
3190
3250
  * @public
3251
+ * @enum
3191
3252
  */
3192
- export declare enum DnsResponseType {
3193
- ENDPOINTS = "ENDPOINTS",
3194
- LOADBALANCER = "LOADBALANCER"
3195
- }
3253
+ export declare const DnsResponseType: {
3254
+ readonly ENDPOINTS: "ENDPOINTS";
3255
+ readonly LOADBALANCER: "LOADBALANCER";
3256
+ };
3257
+ /**
3258
+ * @public
3259
+ */
3260
+ export type DnsResponseType = (typeof DnsResponseType)[keyof typeof DnsResponseType];
3196
3261
  /**
3197
3262
  * @public
3198
3263
  * <p>An object that represents the DNS service discovery information for your virtual
@@ -3318,12 +3383,17 @@ export interface CreateVirtualNodeInput {
3318
3383
  }
3319
3384
  /**
3320
3385
  * @public
3386
+ * @enum
3321
3387
  */
3322
- export declare enum VirtualNodeStatusCode {
3323
- ACTIVE = "ACTIVE",
3324
- DELETED = "DELETED",
3325
- INACTIVE = "INACTIVE"
3326
- }
3388
+ export declare const VirtualNodeStatusCode: {
3389
+ readonly ACTIVE: "ACTIVE";
3390
+ readonly DELETED: "DELETED";
3391
+ readonly INACTIVE: "INACTIVE";
3392
+ };
3393
+ /**
3394
+ * @public
3395
+ */
3396
+ export type VirtualNodeStatusCode = (typeof VirtualNodeStatusCode)[keyof typeof VirtualNodeStatusCode];
3327
3397
  /**
3328
3398
  * @public
3329
3399
  * <p>An object that represents the current status of the virtual node.</p>
@@ -3615,12 +3685,17 @@ export interface CreateVirtualRouterInput {
3615
3685
  }
3616
3686
  /**
3617
3687
  * @public
3688
+ * @enum
3618
3689
  */
3619
- export declare enum VirtualRouterStatusCode {
3620
- ACTIVE = "ACTIVE",
3621
- DELETED = "DELETED",
3622
- INACTIVE = "INACTIVE"
3623
- }
3690
+ export declare const VirtualRouterStatusCode: {
3691
+ readonly ACTIVE: "ACTIVE";
3692
+ readonly DELETED: "DELETED";
3693
+ readonly INACTIVE: "INACTIVE";
3694
+ };
3695
+ /**
3696
+ * @public
3697
+ */
3698
+ export type VirtualRouterStatusCode = (typeof VirtualRouterStatusCode)[keyof typeof VirtualRouterStatusCode];
3624
3699
  /**
3625
3700
  * @public
3626
3701
  * <p>An object that represents the status of a virtual router. </p>
@@ -3971,20 +4046,30 @@ export interface GrpcRouteMatch {
3971
4046
  }
3972
4047
  /**
3973
4048
  * @public
4049
+ * @enum
3974
4050
  */
3975
- export declare enum GrpcRetryPolicyEvent {
3976
- CANCELLED = "cancelled",
3977
- DEADLINE_EXCEEDED = "deadline-exceeded",
3978
- INTERNAL = "internal",
3979
- RESOURCE_EXHAUSTED = "resource-exhausted",
3980
- UNAVAILABLE = "unavailable"
3981
- }
4051
+ export declare const GrpcRetryPolicyEvent: {
4052
+ readonly CANCELLED: "cancelled";
4053
+ readonly DEADLINE_EXCEEDED: "deadline-exceeded";
4054
+ readonly INTERNAL: "internal";
4055
+ readonly RESOURCE_EXHAUSTED: "resource-exhausted";
4056
+ readonly UNAVAILABLE: "unavailable";
4057
+ };
3982
4058
  /**
3983
4059
  * @public
3984
4060
  */
3985
- export declare enum TcpRetryPolicyEvent {
3986
- CONNECTION_ERROR = "connection-error"
3987
- }
4061
+ export type GrpcRetryPolicyEvent = (typeof GrpcRetryPolicyEvent)[keyof typeof GrpcRetryPolicyEvent];
4062
+ /**
4063
+ * @public
4064
+ * @enum
4065
+ */
4066
+ export declare const TcpRetryPolicyEvent: {
4067
+ readonly CONNECTION_ERROR: "connection-error";
4068
+ };
4069
+ /**
4070
+ * @public
4071
+ */
4072
+ export type TcpRetryPolicyEvent = (typeof TcpRetryPolicyEvent)[keyof typeof TcpRetryPolicyEvent];
3988
4073
  /**
3989
4074
  * @public
3990
4075
  * <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>.
@@ -4086,11 +4171,16 @@ export interface HttpRouteHeader {
4086
4171
  }
4087
4172
  /**
4088
4173
  * @public
4174
+ * @enum
4089
4175
  */
4090
- export declare enum HttpScheme {
4091
- HTTP = "http",
4092
- HTTPS = "https"
4093
- }
4176
+ export declare const HttpScheme: {
4177
+ readonly HTTP: "http";
4178
+ readonly HTTPS: "https";
4179
+ };
4180
+ /**
4181
+ * @public
4182
+ */
4183
+ export type HttpScheme = (typeof HttpScheme)[keyof typeof HttpScheme];
4094
4184
  /**
4095
4185
  * @public
4096
4186
  * <p>An object that represents the requirements for a route to match HTTP requests for a
@@ -4307,12 +4397,17 @@ export interface CreateRouteInput {
4307
4397
  }
4308
4398
  /**
4309
4399
  * @public
4400
+ * @enum
4310
4401
  */
4311
- export declare enum RouteStatusCode {
4312
- ACTIVE = "ACTIVE",
4313
- DELETED = "DELETED",
4314
- INACTIVE = "INACTIVE"
4315
- }
4402
+ export declare const RouteStatusCode: {
4403
+ readonly ACTIVE: "ACTIVE";
4404
+ readonly DELETED: "DELETED";
4405
+ readonly INACTIVE: "INACTIVE";
4406
+ };
4407
+ /**
4408
+ * @public
4409
+ */
4410
+ export type RouteStatusCode = (typeof RouteStatusCode)[keyof typeof RouteStatusCode];
4316
4411
  /**
4317
4412
  * @public
4318
4413
  * <p>An object that represents the current status of a route.</p>
@@ -4713,12 +4808,17 @@ export interface CreateVirtualServiceInput {
4713
4808
  }
4714
4809
  /**
4715
4810
  * @public
4811
+ * @enum
4716
4812
  */
4717
- export declare enum VirtualServiceStatusCode {
4718
- ACTIVE = "ACTIVE",
4719
- DELETED = "DELETED",
4720
- INACTIVE = "INACTIVE"
4721
- }
4813
+ export declare const VirtualServiceStatusCode: {
4814
+ readonly ACTIVE: "ACTIVE";
4815
+ readonly DELETED: "DELETED";
4816
+ readonly INACTIVE: "INACTIVE";
4817
+ };
4818
+ /**
4819
+ * @public
4820
+ */
4821
+ export type VirtualServiceStatusCode = (typeof VirtualServiceStatusCode)[keyof typeof VirtualServiceStatusCode];
4722
4822
  /**
4723
4823
  * @public
4724
4824
  * <p>An object that represents the status of a virtual service.</p>