@aws-sdk/client-app-mesh 3.936.0 → 3.940.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 +124 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +103 -0
- package/dist-es/models/models_0.js +1 -103
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +263 -0
- package/dist-types/models/models_0.d.ts +1 -263
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +138 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -138
- package/package.json +5 -5
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DefaultGatewayRouteRewrite,
|
|
3
|
+
DnsResponseType,
|
|
4
|
+
DurationUnit,
|
|
5
|
+
EgressFilterType,
|
|
6
|
+
GatewayRouteStatusCode,
|
|
7
|
+
GrpcRetryPolicyEvent,
|
|
8
|
+
HttpMethod,
|
|
9
|
+
HttpScheme,
|
|
10
|
+
IpPreference,
|
|
11
|
+
ListenerTlsMode,
|
|
12
|
+
MeshStatusCode,
|
|
13
|
+
PortProtocol,
|
|
14
|
+
RouteStatusCode,
|
|
15
|
+
TcpRetryPolicyEvent,
|
|
16
|
+
VirtualGatewayListenerTlsMode,
|
|
17
|
+
VirtualGatewayPortProtocol,
|
|
18
|
+
VirtualGatewayStatusCode,
|
|
19
|
+
VirtualNodeStatusCode,
|
|
20
|
+
VirtualRouterStatusCode,
|
|
21
|
+
VirtualServiceStatusCode,
|
|
22
|
+
} from "./enums";
|
|
1
23
|
export interface JsonFormatRef {
|
|
2
24
|
key: string | undefined;
|
|
3
25
|
value: string | undefined;
|
|
@@ -60,22 +82,9 @@ export interface ListTagsForResourceOutput {
|
|
|
60
82
|
tags: TagRef[] | undefined;
|
|
61
83
|
nextToken?: string | undefined;
|
|
62
84
|
}
|
|
63
|
-
export declare const EgressFilterType: {
|
|
64
|
-
readonly ALLOW_ALL: "ALLOW_ALL";
|
|
65
|
-
readonly DROP_ALL: "DROP_ALL";
|
|
66
|
-
};
|
|
67
|
-
export type EgressFilterType =
|
|
68
|
-
(typeof EgressFilterType)[keyof typeof EgressFilterType];
|
|
69
85
|
export interface EgressFilter {
|
|
70
86
|
type: EgressFilterType | undefined;
|
|
71
87
|
}
|
|
72
|
-
export declare const IpPreference: {
|
|
73
|
-
readonly IPv4_ONLY: "IPv4_ONLY";
|
|
74
|
-
readonly IPv4_PREFERRED: "IPv4_PREFERRED";
|
|
75
|
-
readonly IPv6_ONLY: "IPv6_ONLY";
|
|
76
|
-
readonly IPv6_PREFERRED: "IPv6_PREFERRED";
|
|
77
|
-
};
|
|
78
|
-
export type IpPreference = (typeof IpPreference)[keyof typeof IpPreference];
|
|
79
88
|
export interface MeshServiceDiscovery {
|
|
80
89
|
ipPreference?: IpPreference | undefined;
|
|
81
90
|
}
|
|
@@ -98,13 +107,6 @@ export interface ResourceMetadata {
|
|
|
98
107
|
meshOwner: string | undefined;
|
|
99
108
|
resourceOwner: string | undefined;
|
|
100
109
|
}
|
|
101
|
-
export declare const MeshStatusCode: {
|
|
102
|
-
readonly ACTIVE: "ACTIVE";
|
|
103
|
-
readonly DELETED: "DELETED";
|
|
104
|
-
readonly INACTIVE: "INACTIVE";
|
|
105
|
-
};
|
|
106
|
-
export type MeshStatusCode =
|
|
107
|
-
(typeof MeshStatusCode)[keyof typeof MeshStatusCode];
|
|
108
110
|
export interface MeshStatus {
|
|
109
111
|
status?: MeshStatusCode | undefined;
|
|
110
112
|
}
|
|
@@ -303,13 +305,6 @@ export declare namespace VirtualGatewayConnectionPool {
|
|
|
303
305
|
_: (name: string, value: any) => T;
|
|
304
306
|
}
|
|
305
307
|
}
|
|
306
|
-
export declare const VirtualGatewayPortProtocol: {
|
|
307
|
-
readonly GRPC: "grpc";
|
|
308
|
-
readonly HTTP: "http";
|
|
309
|
-
readonly HTTP2: "http2";
|
|
310
|
-
};
|
|
311
|
-
export type VirtualGatewayPortProtocol =
|
|
312
|
-
(typeof VirtualGatewayPortProtocol)[keyof typeof VirtualGatewayPortProtocol];
|
|
313
308
|
export interface VirtualGatewayHealthCheckPolicy {
|
|
314
309
|
timeoutMillis: number | undefined;
|
|
315
310
|
intervalMillis: number | undefined;
|
|
@@ -363,13 +358,6 @@ export declare namespace VirtualGatewayListenerTlsCertificate {
|
|
|
363
358
|
_: (name: string, value: any) => T;
|
|
364
359
|
}
|
|
365
360
|
}
|
|
366
|
-
export declare const VirtualGatewayListenerTlsMode: {
|
|
367
|
-
readonly DISABLED: "DISABLED";
|
|
368
|
-
readonly PERMISSIVE: "PERMISSIVE";
|
|
369
|
-
readonly STRICT: "STRICT";
|
|
370
|
-
};
|
|
371
|
-
export type VirtualGatewayListenerTlsMode =
|
|
372
|
-
(typeof VirtualGatewayListenerTlsMode)[keyof typeof VirtualGatewayListenerTlsMode];
|
|
373
361
|
export type VirtualGatewayListenerTlsValidationContextTrust =
|
|
374
362
|
| VirtualGatewayListenerTlsValidationContextTrust.FileMember
|
|
375
363
|
| VirtualGatewayListenerTlsValidationContextTrust.SdsMember
|
|
@@ -448,13 +436,6 @@ export interface CreateVirtualGatewayInput {
|
|
|
448
436
|
clientToken?: string | undefined;
|
|
449
437
|
meshOwner?: string | undefined;
|
|
450
438
|
}
|
|
451
|
-
export declare const VirtualGatewayStatusCode: {
|
|
452
|
-
readonly ACTIVE: "ACTIVE";
|
|
453
|
-
readonly DELETED: "DELETED";
|
|
454
|
-
readonly INACTIVE: "INACTIVE";
|
|
455
|
-
};
|
|
456
|
-
export type VirtualGatewayStatusCode =
|
|
457
|
-
(typeof VirtualGatewayStatusCode)[keyof typeof VirtualGatewayStatusCode];
|
|
458
439
|
export interface VirtualGatewayStatus {
|
|
459
440
|
status: VirtualGatewayStatusCode | undefined;
|
|
460
441
|
}
|
|
@@ -484,12 +465,6 @@ export interface DescribeVirtualGatewayInput {
|
|
|
484
465
|
export interface DescribeVirtualGatewayOutput {
|
|
485
466
|
virtualGateway: VirtualGatewayData | undefined;
|
|
486
467
|
}
|
|
487
|
-
export declare const DefaultGatewayRouteRewrite: {
|
|
488
|
-
readonly DISABLED: "DISABLED";
|
|
489
|
-
readonly ENABLED: "ENABLED";
|
|
490
|
-
};
|
|
491
|
-
export type DefaultGatewayRouteRewrite =
|
|
492
|
-
(typeof DefaultGatewayRouteRewrite)[keyof typeof DefaultGatewayRouteRewrite];
|
|
493
468
|
export interface GatewayRouteHostnameRewrite {
|
|
494
469
|
defaultTargetHostname?: DefaultGatewayRouteRewrite | undefined;
|
|
495
470
|
}
|
|
@@ -681,18 +656,6 @@ export interface HttpGatewayRouteHeader {
|
|
|
681
656
|
invert?: boolean | undefined;
|
|
682
657
|
match?: HeaderMatchMethod | undefined;
|
|
683
658
|
}
|
|
684
|
-
export declare const HttpMethod: {
|
|
685
|
-
readonly CONNECT: "CONNECT";
|
|
686
|
-
readonly DELETE: "DELETE";
|
|
687
|
-
readonly GET: "GET";
|
|
688
|
-
readonly HEAD: "HEAD";
|
|
689
|
-
readonly OPTIONS: "OPTIONS";
|
|
690
|
-
readonly PATCH: "PATCH";
|
|
691
|
-
readonly POST: "POST";
|
|
692
|
-
readonly PUT: "PUT";
|
|
693
|
-
readonly TRACE: "TRACE";
|
|
694
|
-
};
|
|
695
|
-
export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
696
659
|
export interface HttpPathMatch {
|
|
697
660
|
exact?: string | undefined;
|
|
698
661
|
regex?: string | undefined;
|
|
@@ -732,13 +695,6 @@ export interface CreateGatewayRouteInput {
|
|
|
732
695
|
clientToken?: string | undefined;
|
|
733
696
|
meshOwner?: string | undefined;
|
|
734
697
|
}
|
|
735
|
-
export declare const GatewayRouteStatusCode: {
|
|
736
|
-
readonly ACTIVE: "ACTIVE";
|
|
737
|
-
readonly DELETED: "DELETED";
|
|
738
|
-
readonly INACTIVE: "INACTIVE";
|
|
739
|
-
};
|
|
740
|
-
export type GatewayRouteStatusCode =
|
|
741
|
-
(typeof GatewayRouteStatusCode)[keyof typeof GatewayRouteStatusCode];
|
|
742
698
|
export interface GatewayRouteStatus {
|
|
743
699
|
status: GatewayRouteStatusCode | undefined;
|
|
744
700
|
}
|
|
@@ -1011,13 +967,6 @@ export declare namespace VirtualNodeConnectionPool {
|
|
|
1011
967
|
_: (name: string, value: any) => T;
|
|
1012
968
|
}
|
|
1013
969
|
}
|
|
1014
|
-
export declare const PortProtocol: {
|
|
1015
|
-
readonly GRPC: "grpc";
|
|
1016
|
-
readonly HTTP: "http";
|
|
1017
|
-
readonly HTTP2: "http2";
|
|
1018
|
-
readonly TCP: "tcp";
|
|
1019
|
-
};
|
|
1020
|
-
export type PortProtocol = (typeof PortProtocol)[keyof typeof PortProtocol];
|
|
1021
970
|
export interface HealthCheckPolicy {
|
|
1022
971
|
timeoutMillis: number | undefined;
|
|
1023
972
|
intervalMillis: number | undefined;
|
|
@@ -1027,11 +976,6 @@ export interface HealthCheckPolicy {
|
|
|
1027
976
|
healthyThreshold: number | undefined;
|
|
1028
977
|
unhealthyThreshold: number | undefined;
|
|
1029
978
|
}
|
|
1030
|
-
export declare const DurationUnit: {
|
|
1031
|
-
readonly MS: "ms";
|
|
1032
|
-
readonly S: "s";
|
|
1033
|
-
};
|
|
1034
|
-
export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
|
|
1035
979
|
export interface Duration {
|
|
1036
980
|
value?: number | undefined;
|
|
1037
981
|
unit?: DurationUnit | undefined;
|
|
@@ -1147,13 +1091,6 @@ export declare namespace ListenerTlsCertificate {
|
|
|
1147
1091
|
_: (name: string, value: any) => T;
|
|
1148
1092
|
}
|
|
1149
1093
|
}
|
|
1150
|
-
export declare const ListenerTlsMode: {
|
|
1151
|
-
readonly DISABLED: "DISABLED";
|
|
1152
|
-
readonly PERMISSIVE: "PERMISSIVE";
|
|
1153
|
-
readonly STRICT: "STRICT";
|
|
1154
|
-
};
|
|
1155
|
-
export type ListenerTlsMode =
|
|
1156
|
-
(typeof ListenerTlsMode)[keyof typeof ListenerTlsMode];
|
|
1157
1094
|
export type ListenerTlsValidationContextTrust =
|
|
1158
1095
|
| ListenerTlsValidationContextTrust.FileMember
|
|
1159
1096
|
| ListenerTlsValidationContextTrust.SdsMember
|
|
@@ -1210,12 +1147,6 @@ export interface AwsCloudMapServiceDiscovery {
|
|
|
1210
1147
|
attributes?: AwsCloudMapInstanceAttribute[] | undefined;
|
|
1211
1148
|
ipPreference?: IpPreference | undefined;
|
|
1212
1149
|
}
|
|
1213
|
-
export declare const DnsResponseType: {
|
|
1214
|
-
readonly ENDPOINTS: "ENDPOINTS";
|
|
1215
|
-
readonly LOADBALANCER: "LOADBALANCER";
|
|
1216
|
-
};
|
|
1217
|
-
export type DnsResponseType =
|
|
1218
|
-
(typeof DnsResponseType)[keyof typeof DnsResponseType];
|
|
1219
1150
|
export interface DnsServiceDiscovery {
|
|
1220
1151
|
hostname: string | undefined;
|
|
1221
1152
|
responseType?: DnsResponseType | undefined;
|
|
@@ -1262,13 +1193,6 @@ export interface CreateVirtualNodeInput {
|
|
|
1262
1193
|
clientToken?: string | undefined;
|
|
1263
1194
|
meshOwner?: string | undefined;
|
|
1264
1195
|
}
|
|
1265
|
-
export declare const VirtualNodeStatusCode: {
|
|
1266
|
-
readonly ACTIVE: "ACTIVE";
|
|
1267
|
-
readonly DELETED: "DELETED";
|
|
1268
|
-
readonly INACTIVE: "INACTIVE";
|
|
1269
|
-
};
|
|
1270
|
-
export type VirtualNodeStatusCode =
|
|
1271
|
-
(typeof VirtualNodeStatusCode)[keyof typeof VirtualNodeStatusCode];
|
|
1272
1196
|
export interface VirtualNodeStatus {
|
|
1273
1197
|
status: VirtualNodeStatusCode | undefined;
|
|
1274
1198
|
}
|
|
@@ -1342,13 +1266,6 @@ export interface CreateVirtualRouterInput {
|
|
|
1342
1266
|
clientToken?: string | undefined;
|
|
1343
1267
|
meshOwner?: string | undefined;
|
|
1344
1268
|
}
|
|
1345
|
-
export declare const VirtualRouterStatusCode: {
|
|
1346
|
-
readonly ACTIVE: "ACTIVE";
|
|
1347
|
-
readonly DELETED: "DELETED";
|
|
1348
|
-
readonly INACTIVE: "INACTIVE";
|
|
1349
|
-
};
|
|
1350
|
-
export type VirtualRouterStatusCode =
|
|
1351
|
-
(typeof VirtualRouterStatusCode)[keyof typeof VirtualRouterStatusCode];
|
|
1352
1269
|
export interface VirtualRouterStatus {
|
|
1353
1270
|
status: VirtualRouterStatusCode | undefined;
|
|
1354
1271
|
}
|
|
@@ -1482,20 +1399,6 @@ export interface GrpcRouteMatch {
|
|
|
1482
1399
|
metadata?: GrpcRouteMetadata[] | undefined;
|
|
1483
1400
|
port?: number | undefined;
|
|
1484
1401
|
}
|
|
1485
|
-
export declare const GrpcRetryPolicyEvent: {
|
|
1486
|
-
readonly CANCELLED: "cancelled";
|
|
1487
|
-
readonly DEADLINE_EXCEEDED: "deadline-exceeded";
|
|
1488
|
-
readonly INTERNAL: "internal";
|
|
1489
|
-
readonly RESOURCE_EXHAUSTED: "resource-exhausted";
|
|
1490
|
-
readonly UNAVAILABLE: "unavailable";
|
|
1491
|
-
};
|
|
1492
|
-
export type GrpcRetryPolicyEvent =
|
|
1493
|
-
(typeof GrpcRetryPolicyEvent)[keyof typeof GrpcRetryPolicyEvent];
|
|
1494
|
-
export declare const TcpRetryPolicyEvent: {
|
|
1495
|
-
readonly CONNECTION_ERROR: "connection-error";
|
|
1496
|
-
};
|
|
1497
|
-
export type TcpRetryPolicyEvent =
|
|
1498
|
-
(typeof TcpRetryPolicyEvent)[keyof typeof TcpRetryPolicyEvent];
|
|
1499
1402
|
export interface GrpcRetryPolicy {
|
|
1500
1403
|
perRetryTimeout: Duration | undefined;
|
|
1501
1404
|
maxRetries: number | undefined;
|
|
@@ -1517,11 +1420,6 @@ export interface HttpRouteHeader {
|
|
|
1517
1420
|
invert?: boolean | undefined;
|
|
1518
1421
|
match?: HeaderMatchMethod | undefined;
|
|
1519
1422
|
}
|
|
1520
|
-
export declare const HttpScheme: {
|
|
1521
|
-
readonly HTTP: "http";
|
|
1522
|
-
readonly HTTPS: "https";
|
|
1523
|
-
};
|
|
1524
|
-
export type HttpScheme = (typeof HttpScheme)[keyof typeof HttpScheme];
|
|
1525
1423
|
export interface HttpRouteMatch {
|
|
1526
1424
|
prefix?: string | undefined;
|
|
1527
1425
|
path?: HttpPathMatch | undefined;
|
|
@@ -1570,13 +1468,6 @@ export interface CreateRouteInput {
|
|
|
1570
1468
|
clientToken?: string | undefined;
|
|
1571
1469
|
meshOwner?: string | undefined;
|
|
1572
1470
|
}
|
|
1573
|
-
export declare const RouteStatusCode: {
|
|
1574
|
-
readonly ACTIVE: "ACTIVE";
|
|
1575
|
-
readonly DELETED: "DELETED";
|
|
1576
|
-
readonly INACTIVE: "INACTIVE";
|
|
1577
|
-
};
|
|
1578
|
-
export type RouteStatusCode =
|
|
1579
|
-
(typeof RouteStatusCode)[keyof typeof RouteStatusCode];
|
|
1580
1471
|
export interface RouteStatus {
|
|
1581
1472
|
status: RouteStatusCode | undefined;
|
|
1582
1473
|
}
|
|
@@ -1695,13 +1586,6 @@ export interface CreateVirtualServiceInput {
|
|
|
1695
1586
|
clientToken?: string | undefined;
|
|
1696
1587
|
meshOwner?: string | undefined;
|
|
1697
1588
|
}
|
|
1698
|
-
export declare const VirtualServiceStatusCode: {
|
|
1699
|
-
readonly ACTIVE: "ACTIVE";
|
|
1700
|
-
readonly DELETED: "DELETED";
|
|
1701
|
-
readonly INACTIVE: "INACTIVE";
|
|
1702
|
-
};
|
|
1703
|
-
export type VirtualServiceStatusCode =
|
|
1704
|
-
(typeof VirtualServiceStatusCode)[keyof typeof VirtualServiceStatusCode];
|
|
1705
1589
|
export interface VirtualServiceStatus {
|
|
1706
1590
|
status: VirtualServiceStatusCode | undefined;
|
|
1707
1591
|
}
|
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.
|
|
4
|
+
"version": "3.940.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,17 +20,17 @@
|
|
|
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.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|