@aws-sdk/client-app-mesh 3.301.0 → 3.306.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.
@@ -112,19 +112,22 @@ export declare class ConflictException extends __BaseException {
112
112
  readonly $fault: "client";
113
113
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
114
114
  }
115
- export declare enum EgressFilterType {
116
- ALLOW_ALL = "ALLOW_ALL",
117
- DROP_ALL = "DROP_ALL",
118
- }
115
+ export declare const EgressFilterType: {
116
+ readonly ALLOW_ALL: "ALLOW_ALL";
117
+ readonly DROP_ALL: "DROP_ALL";
118
+ };
119
+ export type EgressFilterType =
120
+ (typeof EgressFilterType)[keyof typeof EgressFilterType];
119
121
  export interface EgressFilter {
120
122
  type: EgressFilterType | string | undefined;
121
123
  }
122
- export declare enum IpPreference {
123
- IPv4_ONLY = "IPv4_ONLY",
124
- IPv4_PREFERRED = "IPv4_PREFERRED",
125
- IPv6_ONLY = "IPv6_ONLY",
126
- IPv6_PREFERRED = "IPv6_PREFERRED",
127
- }
124
+ export declare const IpPreference: {
125
+ readonly IPv4_ONLY: "IPv4_ONLY";
126
+ readonly IPv4_PREFERRED: "IPv4_PREFERRED";
127
+ readonly IPv6_ONLY: "IPv6_ONLY";
128
+ readonly IPv6_PREFERRED: "IPv6_PREFERRED";
129
+ };
130
+ export type IpPreference = (typeof IpPreference)[keyof typeof IpPreference];
128
131
  export interface MeshServiceDiscovery {
129
132
  ipPreference?: IpPreference | string;
130
133
  }
@@ -147,11 +150,13 @@ export interface ResourceMetadata {
147
150
  meshOwner: string | undefined;
148
151
  resourceOwner: string | undefined;
149
152
  }
150
- export declare enum MeshStatusCode {
151
- ACTIVE = "ACTIVE",
152
- DELETED = "DELETED",
153
- INACTIVE = "INACTIVE",
154
- }
153
+ export declare const MeshStatusCode: {
154
+ readonly ACTIVE: "ACTIVE";
155
+ readonly DELETED: "DELETED";
156
+ readonly INACTIVE: "INACTIVE";
157
+ };
158
+ export type MeshStatusCode =
159
+ (typeof MeshStatusCode)[keyof typeof MeshStatusCode];
155
160
  export interface MeshStatus {
156
161
  status?: MeshStatusCode | string;
157
162
  }
@@ -376,11 +381,13 @@ export declare namespace VirtualGatewayConnectionPool {
376
381
  visitor: Visitor<T>
377
382
  ) => T;
378
383
  }
379
- export declare enum VirtualGatewayPortProtocol {
380
- GRPC = "grpc",
381
- HTTP = "http",
382
- HTTP2 = "http2",
383
- }
384
+ export declare const VirtualGatewayPortProtocol: {
385
+ readonly GRPC: "grpc";
386
+ readonly HTTP: "http";
387
+ readonly HTTP2: "http2";
388
+ };
389
+ export type VirtualGatewayPortProtocol =
390
+ (typeof VirtualGatewayPortProtocol)[keyof typeof VirtualGatewayPortProtocol];
384
391
  export interface VirtualGatewayHealthCheckPolicy {
385
392
  timeoutMillis: number | undefined;
386
393
  intervalMillis: number | undefined;
@@ -438,11 +445,13 @@ export declare namespace VirtualGatewayListenerTlsCertificate {
438
445
  visitor: Visitor<T>
439
446
  ) => T;
440
447
  }
441
- export declare enum VirtualGatewayListenerTlsMode {
442
- DISABLED = "DISABLED",
443
- PERMISSIVE = "PERMISSIVE",
444
- STRICT = "STRICT",
445
- }
448
+ export declare const VirtualGatewayListenerTlsMode: {
449
+ readonly DISABLED: "DISABLED";
450
+ readonly PERMISSIVE: "PERMISSIVE";
451
+ readonly STRICT: "STRICT";
452
+ };
453
+ export type VirtualGatewayListenerTlsMode =
454
+ (typeof VirtualGatewayListenerTlsMode)[keyof typeof VirtualGatewayListenerTlsMode];
446
455
  export type VirtualGatewayListenerTlsValidationContextTrust =
447
456
  | VirtualGatewayListenerTlsValidationContextTrust.FileMember
448
457
  | VirtualGatewayListenerTlsValidationContextTrust.SdsMember
@@ -526,11 +535,13 @@ export interface CreateVirtualGatewayInput {
526
535
  clientToken?: string;
527
536
  meshOwner?: string;
528
537
  }
529
- export declare enum VirtualGatewayStatusCode {
530
- ACTIVE = "ACTIVE",
531
- DELETED = "DELETED",
532
- INACTIVE = "INACTIVE",
533
- }
538
+ export declare const VirtualGatewayStatusCode: {
539
+ readonly ACTIVE: "ACTIVE";
540
+ readonly DELETED: "DELETED";
541
+ readonly INACTIVE: "INACTIVE";
542
+ };
543
+ export type VirtualGatewayStatusCode =
544
+ (typeof VirtualGatewayStatusCode)[keyof typeof VirtualGatewayStatusCode];
534
545
  export interface VirtualGatewayStatus {
535
546
  status: VirtualGatewayStatusCode | string | undefined;
536
547
  }
@@ -560,10 +571,12 @@ export interface DescribeVirtualGatewayInput {
560
571
  export interface DescribeVirtualGatewayOutput {
561
572
  virtualGateway: VirtualGatewayData | undefined;
562
573
  }
563
- export declare enum DefaultGatewayRouteRewrite {
564
- DISABLED = "DISABLED",
565
- ENABLED = "ENABLED",
566
- }
574
+ export declare const DefaultGatewayRouteRewrite: {
575
+ readonly DISABLED: "DISABLED";
576
+ readonly ENABLED: "ENABLED";
577
+ };
578
+ export type DefaultGatewayRouteRewrite =
579
+ (typeof DefaultGatewayRouteRewrite)[keyof typeof DefaultGatewayRouteRewrite];
567
580
  export interface GatewayRouteHostnameRewrite {
568
581
  defaultTargetHostname?: DefaultGatewayRouteRewrite | string;
569
582
  }
@@ -757,17 +770,18 @@ export interface HttpGatewayRouteHeader {
757
770
  invert?: boolean;
758
771
  match?: HeaderMatchMethod;
759
772
  }
760
- export declare enum HttpMethod {
761
- CONNECT = "CONNECT",
762
- DELETE = "DELETE",
763
- GET = "GET",
764
- HEAD = "HEAD",
765
- OPTIONS = "OPTIONS",
766
- PATCH = "PATCH",
767
- POST = "POST",
768
- PUT = "PUT",
769
- TRACE = "TRACE",
770
- }
773
+ export declare const HttpMethod: {
774
+ readonly CONNECT: "CONNECT";
775
+ readonly DELETE: "DELETE";
776
+ readonly GET: "GET";
777
+ readonly HEAD: "HEAD";
778
+ readonly OPTIONS: "OPTIONS";
779
+ readonly PATCH: "PATCH";
780
+ readonly POST: "POST";
781
+ readonly PUT: "PUT";
782
+ readonly TRACE: "TRACE";
783
+ };
784
+ export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
771
785
  export interface HttpPathMatch {
772
786
  exact?: string;
773
787
  regex?: string;
@@ -807,11 +821,13 @@ export interface CreateGatewayRouteInput {
807
821
  clientToken?: string;
808
822
  meshOwner?: string;
809
823
  }
810
- export declare enum GatewayRouteStatusCode {
811
- ACTIVE = "ACTIVE",
812
- DELETED = "DELETED",
813
- INACTIVE = "INACTIVE",
814
- }
824
+ export declare const GatewayRouteStatusCode: {
825
+ readonly ACTIVE: "ACTIVE";
826
+ readonly DELETED: "DELETED";
827
+ readonly INACTIVE: "INACTIVE";
828
+ };
829
+ export type GatewayRouteStatusCode =
830
+ (typeof GatewayRouteStatusCode)[keyof typeof GatewayRouteStatusCode];
815
831
  export interface GatewayRouteStatus {
816
832
  status: GatewayRouteStatusCode | string | undefined;
817
833
  }
@@ -1088,12 +1104,13 @@ export declare namespace VirtualNodeConnectionPool {
1088
1104
  }
1089
1105
  const visit: <T>(value: VirtualNodeConnectionPool, visitor: Visitor<T>) => T;
1090
1106
  }
1091
- export declare enum PortProtocol {
1092
- GRPC = "grpc",
1093
- HTTP = "http",
1094
- HTTP2 = "http2",
1095
- TCP = "tcp",
1096
- }
1107
+ export declare const PortProtocol: {
1108
+ readonly GRPC: "grpc";
1109
+ readonly HTTP: "http";
1110
+ readonly HTTP2: "http2";
1111
+ readonly TCP: "tcp";
1112
+ };
1113
+ export type PortProtocol = (typeof PortProtocol)[keyof typeof PortProtocol];
1097
1114
  export interface HealthCheckPolicy {
1098
1115
  timeoutMillis: number | undefined;
1099
1116
  intervalMillis: number | undefined;
@@ -1103,10 +1120,11 @@ export interface HealthCheckPolicy {
1103
1120
  healthyThreshold: number | undefined;
1104
1121
  unhealthyThreshold: number | undefined;
1105
1122
  }
1106
- export declare enum DurationUnit {
1107
- MS = "ms",
1108
- S = "s",
1109
- }
1123
+ export declare const DurationUnit: {
1124
+ readonly MS: "ms";
1125
+ readonly S: "s";
1126
+ };
1127
+ export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
1110
1128
  export interface Duration {
1111
1129
  value?: number;
1112
1130
  unit?: DurationUnit | string;
@@ -1224,11 +1242,13 @@ export declare namespace ListenerTlsCertificate {
1224
1242
  }
1225
1243
  const visit: <T>(value: ListenerTlsCertificate, visitor: Visitor<T>) => T;
1226
1244
  }
1227
- export declare enum ListenerTlsMode {
1228
- DISABLED = "DISABLED",
1229
- PERMISSIVE = "PERMISSIVE",
1230
- STRICT = "STRICT",
1231
- }
1245
+ export declare const ListenerTlsMode: {
1246
+ readonly DISABLED: "DISABLED";
1247
+ readonly PERMISSIVE: "PERMISSIVE";
1248
+ readonly STRICT: "STRICT";
1249
+ };
1250
+ export type ListenerTlsMode =
1251
+ (typeof ListenerTlsMode)[keyof typeof ListenerTlsMode];
1232
1252
  export type ListenerTlsValidationContextTrust =
1233
1253
  | ListenerTlsValidationContextTrust.FileMember
1234
1254
  | ListenerTlsValidationContextTrust.SdsMember
@@ -1289,10 +1309,12 @@ export interface AwsCloudMapServiceDiscovery {
1289
1309
  attributes?: AwsCloudMapInstanceAttribute[];
1290
1310
  ipPreference?: IpPreference | string;
1291
1311
  }
1292
- export declare enum DnsResponseType {
1293
- ENDPOINTS = "ENDPOINTS",
1294
- LOADBALANCER = "LOADBALANCER",
1295
- }
1312
+ export declare const DnsResponseType: {
1313
+ readonly ENDPOINTS: "ENDPOINTS";
1314
+ readonly LOADBALANCER: "LOADBALANCER";
1315
+ };
1316
+ export type DnsResponseType =
1317
+ (typeof DnsResponseType)[keyof typeof DnsResponseType];
1296
1318
  export interface DnsServiceDiscovery {
1297
1319
  hostname: string | undefined;
1298
1320
  responseType?: DnsResponseType | string;
@@ -1340,11 +1362,13 @@ export interface CreateVirtualNodeInput {
1340
1362
  clientToken?: string;
1341
1363
  meshOwner?: string;
1342
1364
  }
1343
- export declare enum VirtualNodeStatusCode {
1344
- ACTIVE = "ACTIVE",
1345
- DELETED = "DELETED",
1346
- INACTIVE = "INACTIVE",
1347
- }
1365
+ export declare const VirtualNodeStatusCode: {
1366
+ readonly ACTIVE: "ACTIVE";
1367
+ readonly DELETED: "DELETED";
1368
+ readonly INACTIVE: "INACTIVE";
1369
+ };
1370
+ export type VirtualNodeStatusCode =
1371
+ (typeof VirtualNodeStatusCode)[keyof typeof VirtualNodeStatusCode];
1348
1372
  export interface VirtualNodeStatus {
1349
1373
  status: VirtualNodeStatusCode | string | undefined;
1350
1374
  }
@@ -1418,11 +1442,13 @@ export interface CreateVirtualRouterInput {
1418
1442
  clientToken?: string;
1419
1443
  meshOwner?: string;
1420
1444
  }
1421
- export declare enum VirtualRouterStatusCode {
1422
- ACTIVE = "ACTIVE",
1423
- DELETED = "DELETED",
1424
- INACTIVE = "INACTIVE",
1425
- }
1445
+ export declare const VirtualRouterStatusCode: {
1446
+ readonly ACTIVE: "ACTIVE";
1447
+ readonly DELETED: "DELETED";
1448
+ readonly INACTIVE: "INACTIVE";
1449
+ };
1450
+ export type VirtualRouterStatusCode =
1451
+ (typeof VirtualRouterStatusCode)[keyof typeof VirtualRouterStatusCode];
1426
1452
  export interface VirtualRouterStatus {
1427
1453
  status: VirtualRouterStatusCode | string | undefined;
1428
1454
  }
@@ -1560,16 +1586,20 @@ export interface GrpcRouteMatch {
1560
1586
  metadata?: GrpcRouteMetadata[];
1561
1587
  port?: number;
1562
1588
  }
1563
- export declare enum GrpcRetryPolicyEvent {
1564
- CANCELLED = "cancelled",
1565
- DEADLINE_EXCEEDED = "deadline-exceeded",
1566
- INTERNAL = "internal",
1567
- RESOURCE_EXHAUSTED = "resource-exhausted",
1568
- UNAVAILABLE = "unavailable",
1569
- }
1570
- export declare enum TcpRetryPolicyEvent {
1571
- CONNECTION_ERROR = "connection-error",
1572
- }
1589
+ export declare const GrpcRetryPolicyEvent: {
1590
+ readonly CANCELLED: "cancelled";
1591
+ readonly DEADLINE_EXCEEDED: "deadline-exceeded";
1592
+ readonly INTERNAL: "internal";
1593
+ readonly RESOURCE_EXHAUSTED: "resource-exhausted";
1594
+ readonly UNAVAILABLE: "unavailable";
1595
+ };
1596
+ export type GrpcRetryPolicyEvent =
1597
+ (typeof GrpcRetryPolicyEvent)[keyof typeof GrpcRetryPolicyEvent];
1598
+ export declare const TcpRetryPolicyEvent: {
1599
+ readonly CONNECTION_ERROR: "connection-error";
1600
+ };
1601
+ export type TcpRetryPolicyEvent =
1602
+ (typeof TcpRetryPolicyEvent)[keyof typeof TcpRetryPolicyEvent];
1573
1603
  export interface GrpcRetryPolicy {
1574
1604
  perRetryTimeout: Duration | undefined;
1575
1605
  maxRetries: number | undefined;
@@ -1591,10 +1621,11 @@ export interface HttpRouteHeader {
1591
1621
  invert?: boolean;
1592
1622
  match?: HeaderMatchMethod;
1593
1623
  }
1594
- export declare enum HttpScheme {
1595
- HTTP = "http",
1596
- HTTPS = "https",
1597
- }
1624
+ export declare const HttpScheme: {
1625
+ readonly HTTP: "http";
1626
+ readonly HTTPS: "https";
1627
+ };
1628
+ export type HttpScheme = (typeof HttpScheme)[keyof typeof HttpScheme];
1598
1629
  export interface HttpRouteMatch {
1599
1630
  prefix?: string;
1600
1631
  path?: HttpPathMatch;
@@ -1643,11 +1674,13 @@ export interface CreateRouteInput {
1643
1674
  clientToken?: string;
1644
1675
  meshOwner?: string;
1645
1676
  }
1646
- export declare enum RouteStatusCode {
1647
- ACTIVE = "ACTIVE",
1648
- DELETED = "DELETED",
1649
- INACTIVE = "INACTIVE",
1650
- }
1677
+ export declare const RouteStatusCode: {
1678
+ readonly ACTIVE: "ACTIVE";
1679
+ readonly DELETED: "DELETED";
1680
+ readonly INACTIVE: "INACTIVE";
1681
+ };
1682
+ export type RouteStatusCode =
1683
+ (typeof RouteStatusCode)[keyof typeof RouteStatusCode];
1651
1684
  export interface RouteStatus {
1652
1685
  status: RouteStatusCode | string | undefined;
1653
1686
  }
@@ -1767,11 +1800,13 @@ export interface CreateVirtualServiceInput {
1767
1800
  clientToken?: string;
1768
1801
  meshOwner?: string;
1769
1802
  }
1770
- export declare enum VirtualServiceStatusCode {
1771
- ACTIVE = "ACTIVE",
1772
- DELETED = "DELETED",
1773
- INACTIVE = "INACTIVE",
1774
- }
1803
+ export declare const VirtualServiceStatusCode: {
1804
+ readonly ACTIVE: "ACTIVE";
1805
+ readonly DELETED: "DELETED";
1806
+ readonly INACTIVE: "INACTIVE";
1807
+ };
1808
+ export type VirtualServiceStatusCode =
1809
+ (typeof VirtualServiceStatusCode)[keyof typeof VirtualServiceStatusCode];
1775
1810
  export interface VirtualServiceStatus {
1776
1811
  status: VirtualServiceStatusCode | string | undefined;
1777
1812
  }
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.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",