@aws-sdk/client-vpc-lattice 3.398.0 → 3.406.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/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +19 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +19 -0
- package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +3 -0
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +3 -4
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +8 -6
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTargetGroupCommand.d.ts +7 -3
- package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTargetGroupsCommand.d.ts +1 -0
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +1 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +2 -4
- package/dist-types/commands/UpdateTargetGroupCommand.d.ts +7 -3
- package/dist-types/models/models_0.d.ts +39 -12
- package/dist-types/ts3.4/models/models_0.d.ts +11 -3
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TargetStatus = exports.TargetGroupStatus = exports.TargetGroupType = exports.TargetGroupProtocolVersion = exports.IpAddressType = exports.HealthCheckProtocolVersion = exports.TargetGroupProtocol = exports.Matcher = exports.ServiceNetworkVpcAssociationStatus = exports.ServiceNetworkServiceAssociationStatus = exports.ServiceStatus = exports.ServiceQuotaExceededException = exports.ListenerProtocol = exports.RuleMatch = exports.PathMatchType = exports.HeaderMatchType = exports.RuleAction = exports.AuthType = exports.AuthPolicyState = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.TargetStatus = exports.TargetGroupStatus = exports.TargetGroupType = exports.TargetGroupProtocolVersion = exports.LambdaEventStructureVersion = exports.IpAddressType = exports.HealthCheckProtocolVersion = exports.TargetGroupProtocol = exports.Matcher = exports.ServiceNetworkVpcAssociationStatus = exports.ServiceNetworkServiceAssociationStatus = exports.ServiceStatus = exports.ServiceQuotaExceededException = exports.ListenerProtocol = exports.RuleMatch = exports.PathMatchType = exports.HeaderMatchType = exports.RuleAction = exports.AuthType = exports.AuthPolicyState = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const VPCLatticeServiceException_1 = require("./VPCLatticeServiceException");
|
|
5
5
|
class AccessDeniedException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -212,6 +212,10 @@ exports.IpAddressType = {
|
|
|
212
212
|
IPV4: "IPV4",
|
|
213
213
|
IPV6: "IPV6",
|
|
214
214
|
};
|
|
215
|
+
exports.LambdaEventStructureVersion = {
|
|
216
|
+
V1: "V1",
|
|
217
|
+
V2: "V2",
|
|
218
|
+
};
|
|
215
219
|
exports.TargetGroupProtocolVersion = {
|
|
216
220
|
GRPC: "GRPC",
|
|
217
221
|
HTTP1: "HTTP1",
|
|
@@ -1479,6 +1479,9 @@ const de_CreateServiceNetworkServiceAssociationCommandError = async (output, con
|
|
|
1479
1479
|
};
|
|
1480
1480
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1481
1481
|
switch (errorCode) {
|
|
1482
|
+
case "AccessDeniedException":
|
|
1483
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
1484
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1482
1485
|
case "ConflictException":
|
|
1483
1486
|
case "com.amazonaws.vpclattice#ConflictException":
|
|
1484
1487
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -2648,6 +2651,9 @@ const de_GetTargetGroupCommandError = async (output, context) => {
|
|
|
2648
2651
|
};
|
|
2649
2652
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2650
2653
|
switch (errorCode) {
|
|
2654
|
+
case "AccessDeniedException":
|
|
2655
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
2656
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2651
2657
|
case "InternalServerException":
|
|
2652
2658
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
2653
2659
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2692,6 +2698,9 @@ const de_ListAccessLogSubscriptionsCommandError = async (output, context) => {
|
|
|
2692
2698
|
};
|
|
2693
2699
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2694
2700
|
switch (errorCode) {
|
|
2701
|
+
case "AccessDeniedException":
|
|
2702
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
2703
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2695
2704
|
case "InternalServerException":
|
|
2696
2705
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
2697
2706
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3002,6 +3011,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
3002
3011
|
};
|
|
3003
3012
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3004
3013
|
switch (errorCode) {
|
|
3014
|
+
case "AccessDeniedException":
|
|
3015
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
3016
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3005
3017
|
case "InternalServerException":
|
|
3006
3018
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
3007
3019
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3313,6 +3325,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3313
3325
|
};
|
|
3314
3326
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3315
3327
|
switch (errorCode) {
|
|
3328
|
+
case "AccessDeniedException":
|
|
3329
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
3330
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3316
3331
|
case "InternalServerException":
|
|
3317
3332
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
3318
3333
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3681,6 +3696,9 @@ const de_UpdateTargetGroupCommandError = async (output, context) => {
|
|
|
3681
3696
|
};
|
|
3682
3697
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3683
3698
|
switch (errorCode) {
|
|
3699
|
+
case "AccessDeniedException":
|
|
3700
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
3701
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3684
3702
|
case "ConflictException":
|
|
3685
3703
|
case "com.amazonaws.vpclattice#ConflictException":
|
|
3686
3704
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -3976,6 +3994,7 @@ const de_TargetGroupSummary = (output, context) => {
|
|
|
3976
3994
|
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3977
3995
|
id: smithy_client_1.expectString,
|
|
3978
3996
|
ipAddressType: smithy_client_1.expectString,
|
|
3997
|
+
lambdaEventStructureVersion: smithy_client_1.expectString,
|
|
3979
3998
|
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3980
3999
|
name: smithy_client_1.expectString,
|
|
3981
4000
|
port: smithy_client_1.expectInt32,
|
|
@@ -1415,6 +1415,9 @@ const de_CreateServiceNetworkServiceAssociationCommandError = async (output, con
|
|
|
1415
1415
|
};
|
|
1416
1416
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1417
1417
|
switch (errorCode) {
|
|
1418
|
+
case "AccessDeniedException":
|
|
1419
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
1420
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1418
1421
|
case "ConflictException":
|
|
1419
1422
|
case "com.amazonaws.vpclattice#ConflictException":
|
|
1420
1423
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -2561,6 +2564,9 @@ const de_GetTargetGroupCommandError = async (output, context) => {
|
|
|
2561
2564
|
};
|
|
2562
2565
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2563
2566
|
switch (errorCode) {
|
|
2567
|
+
case "AccessDeniedException":
|
|
2568
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
2569
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2564
2570
|
case "InternalServerException":
|
|
2565
2571
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
2566
2572
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2604,6 +2610,9 @@ const de_ListAccessLogSubscriptionsCommandError = async (output, context) => {
|
|
|
2604
2610
|
};
|
|
2605
2611
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2606
2612
|
switch (errorCode) {
|
|
2613
|
+
case "AccessDeniedException":
|
|
2614
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
2615
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2607
2616
|
case "InternalServerException":
|
|
2608
2617
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
2609
2618
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2907,6 +2916,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2907
2916
|
};
|
|
2908
2917
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2909
2918
|
switch (errorCode) {
|
|
2919
|
+
case "AccessDeniedException":
|
|
2920
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
2921
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2910
2922
|
case "InternalServerException":
|
|
2911
2923
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
2912
2924
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3211,6 +3223,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3211
3223
|
};
|
|
3212
3224
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3213
3225
|
switch (errorCode) {
|
|
3226
|
+
case "AccessDeniedException":
|
|
3227
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
3228
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3214
3229
|
case "InternalServerException":
|
|
3215
3230
|
case "com.amazonaws.vpclattice#InternalServerException":
|
|
3216
3231
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3572,6 +3587,9 @@ const de_UpdateTargetGroupCommandError = async (output, context) => {
|
|
|
3572
3587
|
};
|
|
3573
3588
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3574
3589
|
switch (errorCode) {
|
|
3590
|
+
case "AccessDeniedException":
|
|
3591
|
+
case "com.amazonaws.vpclattice#AccessDeniedException":
|
|
3592
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3575
3593
|
case "ConflictException":
|
|
3576
3594
|
case "com.amazonaws.vpclattice#ConflictException":
|
|
3577
3595
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -3867,6 +3885,7 @@ const de_TargetGroupSummary = (output, context) => {
|
|
|
3867
3885
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3868
3886
|
id: __expectString,
|
|
3869
3887
|
ipAddressType: __expectString,
|
|
3888
|
+
lambdaEventStructureVersion: __expectString,
|
|
3870
3889
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3871
3890
|
name: __expectString,
|
|
3872
3891
|
port: __expectInt32,
|
|
@@ -67,6 +67,9 @@ export interface CreateServiceNetworkServiceAssociationCommandOutput extends Cre
|
|
|
67
67
|
* @see {@link CreateServiceNetworkServiceAssociationCommandOutput} for command's `response` shape.
|
|
68
68
|
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
70
73
|
* @throws {@link ConflictException} (client fault)
|
|
71
74
|
* <p>The request conflicts with the current state of the resource. Updating or deleting a
|
|
72
75
|
* resource can cause an inconsistent state.</p>
|
|
@@ -30,10 +30,9 @@ export interface CreateServiceNetworkVpcAssociationCommandOutput extends CreateS
|
|
|
30
30
|
* fails, retry by deleting the association and recreating it.</p>
|
|
31
31
|
* <p>As a result of this operation, the association gets created in the service network account
|
|
32
32
|
* and the VPC owner account.</p>
|
|
33
|
-
* <p>
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* it without security groups.</p>
|
|
33
|
+
* <p>Once a security group is added to the VPC association it cannot be removed. You can add or
|
|
34
|
+
* update the security groups being used for the VPC association once a security group is attached.
|
|
35
|
+
* To remove all security groups you must reassociate the VPC.</p>
|
|
37
36
|
* @example
|
|
38
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
38
|
* ```javascript
|
|
@@ -37,11 +37,11 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupRespons
|
|
|
37
37
|
* name: "STRING_VALUE", // required
|
|
38
38
|
* type: "STRING_VALUE", // required
|
|
39
39
|
* config: { // TargetGroupConfig
|
|
40
|
-
* port: Number("int"),
|
|
41
|
-
* protocol: "STRING_VALUE",
|
|
40
|
+
* port: Number("int"),
|
|
41
|
+
* protocol: "STRING_VALUE",
|
|
42
42
|
* protocolVersion: "STRING_VALUE",
|
|
43
43
|
* ipAddressType: "STRING_VALUE",
|
|
44
|
-
* vpcIdentifier: "STRING_VALUE",
|
|
44
|
+
* vpcIdentifier: "STRING_VALUE",
|
|
45
45
|
* healthCheck: { // HealthCheckConfig
|
|
46
46
|
* enabled: true || false,
|
|
47
47
|
* protocol: "STRING_VALUE",
|
|
@@ -56,6 +56,7 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupRespons
|
|
|
56
56
|
* httpCode: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
|
+
* lambdaEventStructureVersion: "STRING_VALUE",
|
|
59
60
|
* },
|
|
60
61
|
* clientToken: "STRING_VALUE",
|
|
61
62
|
* tags: { // TagMap
|
|
@@ -70,11 +71,11 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupRespons
|
|
|
70
71
|
* // name: "STRING_VALUE",
|
|
71
72
|
* // type: "STRING_VALUE",
|
|
72
73
|
* // config: { // TargetGroupConfig
|
|
73
|
-
* // port: Number("int"),
|
|
74
|
-
* // protocol: "STRING_VALUE",
|
|
74
|
+
* // port: Number("int"),
|
|
75
|
+
* // protocol: "STRING_VALUE",
|
|
75
76
|
* // protocolVersion: "STRING_VALUE",
|
|
76
77
|
* // ipAddressType: "STRING_VALUE",
|
|
77
|
-
* // vpcIdentifier: "STRING_VALUE",
|
|
78
|
+
* // vpcIdentifier: "STRING_VALUE",
|
|
78
79
|
* // healthCheck: { // HealthCheckConfig
|
|
79
80
|
* // enabled: true || false,
|
|
80
81
|
* // protocol: "STRING_VALUE",
|
|
@@ -89,6 +90,7 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupRespons
|
|
|
89
90
|
* // httpCode: "STRING_VALUE",
|
|
90
91
|
* // },
|
|
91
92
|
* // },
|
|
93
|
+
* // lambdaEventStructureVersion: "STRING_VALUE",
|
|
92
94
|
* // },
|
|
93
95
|
* // status: "STRING_VALUE",
|
|
94
96
|
* // };
|
|
@@ -23,7 +23,7 @@ export interface DeleteAuthPolicyCommandOutput extends DeleteAuthPolicyResponse,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes the specified auth policy. If an auth is set to <code>
|
|
26
|
+
* <p>Deletes the specified auth policy. If an auth is set to <code>Amazon Web Services_IAM</code>
|
|
27
27
|
* and the auth policy is deleted, all requests will be denied by default. If you are trying to
|
|
28
28
|
* remove the auth policy completely, you must set the auth_type to <code>NONE</code>. If auth is
|
|
29
29
|
* enabled on the resource, but no auth policy is set, all requests will be denied.</p>
|
|
@@ -24,7 +24,7 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Retrieves information about the resource policy. The resource policy is an IAM policy
|
|
27
|
-
* created on behalf of the resource owner when they share a resource.</p>
|
|
27
|
+
* created by AWS RAM on behalf of the resource owner when they share a resource.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -41,11 +41,11 @@ export interface GetTargetGroupCommandOutput extends GetTargetGroupResponse, __M
|
|
|
41
41
|
* // name: "STRING_VALUE",
|
|
42
42
|
* // type: "STRING_VALUE",
|
|
43
43
|
* // config: { // TargetGroupConfig
|
|
44
|
-
* // port: Number("int"),
|
|
45
|
-
* // protocol: "STRING_VALUE",
|
|
44
|
+
* // port: Number("int"),
|
|
45
|
+
* // protocol: "STRING_VALUE",
|
|
46
46
|
* // protocolVersion: "STRING_VALUE",
|
|
47
47
|
* // ipAddressType: "STRING_VALUE",
|
|
48
|
-
* // vpcIdentifier: "STRING_VALUE",
|
|
48
|
+
* // vpcIdentifier: "STRING_VALUE",
|
|
49
49
|
* // healthCheck: { // HealthCheckConfig
|
|
50
50
|
* // enabled: true || false,
|
|
51
51
|
* // protocol: "STRING_VALUE",
|
|
@@ -60,6 +60,7 @@ export interface GetTargetGroupCommandOutput extends GetTargetGroupResponse, __M
|
|
|
60
60
|
* // httpCode: "STRING_VALUE",
|
|
61
61
|
* // },
|
|
62
62
|
* // },
|
|
63
|
+
* // lambdaEventStructureVersion: "STRING_VALUE",
|
|
63
64
|
* // },
|
|
64
65
|
* // createdAt: new Date("TIMESTAMP"),
|
|
65
66
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
@@ -79,6 +80,9 @@ export interface GetTargetGroupCommandOutput extends GetTargetGroupResponse, __M
|
|
|
79
80
|
* @see {@link GetTargetGroupCommandOutput} for command's `response` shape.
|
|
80
81
|
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
81
82
|
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
85
|
+
*
|
|
82
86
|
* @throws {@link InternalServerException} (server fault)
|
|
83
87
|
* <p>An unexpected error occurred while processing the request.</p>
|
|
84
88
|
*
|
|
@@ -60,6 +60,9 @@ export interface ListAccessLogSubscriptionsCommandOutput extends ListAccessLogSu
|
|
|
60
60
|
* @see {@link ListAccessLogSubscriptionsCommandOutput} for command's `response` shape.
|
|
61
61
|
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
62
62
|
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
65
|
+
*
|
|
63
66
|
* @throws {@link InternalServerException} (server fault)
|
|
64
67
|
* <p>An unexpected error occurred while processing the request.</p>
|
|
65
68
|
*
|
|
@@ -49,6 +49,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
49
49
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
50
50
|
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
51
51
|
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
52
55
|
* @throws {@link InternalServerException} (server fault)
|
|
53
56
|
* <p>An unexpected error occurred while processing the request.</p>
|
|
54
57
|
*
|
|
@@ -56,6 +56,7 @@ export interface ListTargetGroupsCommandOutput extends ListTargetGroupsResponse,
|
|
|
56
56
|
* // serviceArns: [ // ServiceArnList
|
|
57
57
|
* // "STRING_VALUE",
|
|
58
58
|
* // ],
|
|
59
|
+
* // lambdaEventStructureVersion: "STRING_VALUE",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
61
62
|
* // nextToken: "STRING_VALUE",
|
|
@@ -23,8 +23,7 @@ export interface PutAuthPolicyCommandOutput extends PutAuthPolicyResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates or updates the auth policy
|
|
27
|
-
* blank lines.</p>
|
|
26
|
+
* <p>Creates or updates the auth policy.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -48,6 +48,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
48
48
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
49
49
|
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
50
50
|
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
51
54
|
* @throws {@link InternalServerException} (server fault)
|
|
52
55
|
* <p>An unexpected error occurred while processing the request.</p>
|
|
53
56
|
*
|
|
@@ -23,10 +23,8 @@ export interface UpdateServiceNetworkVpcAssociationCommandOutput extends UpdateS
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates the service network and VPC association.
|
|
27
|
-
*
|
|
28
|
-
* group. You can add or edit security groups at any time. However, to remove all security groups,
|
|
29
|
-
* you must first delete the association and recreate it without security groups.</p>
|
|
26
|
+
* <p>Updates the service network and VPC association. Once you add a security group, it cannot be
|
|
27
|
+
* removed.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -55,11 +55,11 @@ export interface UpdateTargetGroupCommandOutput extends UpdateTargetGroupRespons
|
|
|
55
55
|
* // name: "STRING_VALUE",
|
|
56
56
|
* // type: "STRING_VALUE",
|
|
57
57
|
* // config: { // TargetGroupConfig
|
|
58
|
-
* // port: Number("int"),
|
|
59
|
-
* // protocol: "STRING_VALUE",
|
|
58
|
+
* // port: Number("int"),
|
|
59
|
+
* // protocol: "STRING_VALUE",
|
|
60
60
|
* // protocolVersion: "STRING_VALUE",
|
|
61
61
|
* // ipAddressType: "STRING_VALUE",
|
|
62
|
-
* // vpcIdentifier: "STRING_VALUE",
|
|
62
|
+
* // vpcIdentifier: "STRING_VALUE",
|
|
63
63
|
* // healthCheck: { // HealthCheckConfig
|
|
64
64
|
* // enabled: true || false,
|
|
65
65
|
* // protocol: "STRING_VALUE",
|
|
@@ -74,6 +74,7 @@ export interface UpdateTargetGroupCommandOutput extends UpdateTargetGroupRespons
|
|
|
74
74
|
* // httpCode: "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
76
|
* // },
|
|
77
|
+
* // lambdaEventStructureVersion: "STRING_VALUE",
|
|
77
78
|
* // },
|
|
78
79
|
* // status: "STRING_VALUE",
|
|
79
80
|
* // };
|
|
@@ -86,6 +87,9 @@ export interface UpdateTargetGroupCommandOutput extends UpdateTargetGroupRespons
|
|
|
86
87
|
* @see {@link UpdateTargetGroupCommandOutput} for command's `response` shape.
|
|
87
88
|
* @see {@link VPCLatticeClientResolvedConfig | config} for VPCLatticeClient's `config` shape.
|
|
88
89
|
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>The user does not have sufficient access to perform this action.</p>
|
|
92
|
+
*
|
|
89
93
|
* @throws {@link ConflictException} (client fault)
|
|
90
94
|
* <p>The request conflicts with the current state of the resource. Updating or deleting a
|
|
91
95
|
* resource can cause an inconsistent state.</p>
|
|
@@ -1633,6 +1633,24 @@ export declare const IpAddressType: {
|
|
|
1633
1633
|
* @public
|
|
1634
1634
|
*/
|
|
1635
1635
|
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
1636
|
+
/**
|
|
1637
|
+
* @public
|
|
1638
|
+
* @enum
|
|
1639
|
+
*/
|
|
1640
|
+
export declare const LambdaEventStructureVersion: {
|
|
1641
|
+
/**
|
|
1642
|
+
* This is the default lambda event structure version
|
|
1643
|
+
*/
|
|
1644
|
+
readonly V1: "V1";
|
|
1645
|
+
/**
|
|
1646
|
+
* Indicates use of lambda event structure version 2
|
|
1647
|
+
*/
|
|
1648
|
+
readonly V2: "V2";
|
|
1649
|
+
};
|
|
1650
|
+
/**
|
|
1651
|
+
* @public
|
|
1652
|
+
*/
|
|
1653
|
+
export type LambdaEventStructureVersion = (typeof LambdaEventStructureVersion)[keyof typeof LambdaEventStructureVersion];
|
|
1636
1654
|
/**
|
|
1637
1655
|
* @public
|
|
1638
1656
|
* @enum
|
|
@@ -1667,13 +1685,13 @@ export interface TargetGroupConfig {
|
|
|
1667
1685
|
* HTTPS, the default is <code>443</code>
|
|
1668
1686
|
* </p>
|
|
1669
1687
|
*/
|
|
1670
|
-
port
|
|
1688
|
+
port?: number;
|
|
1671
1689
|
/**
|
|
1672
1690
|
* @public
|
|
1673
1691
|
* <p>The protocol to use for routing traffic to the targets. Default is the protocol of a target
|
|
1674
1692
|
* group.</p>
|
|
1675
1693
|
*/
|
|
1676
|
-
protocol
|
|
1694
|
+
protocol?: TargetGroupProtocol | string;
|
|
1677
1695
|
/**
|
|
1678
1696
|
* @public
|
|
1679
1697
|
* <p>The protocol version. Default value is <code>HTTP1</code>.</p>
|
|
@@ -1689,12 +1707,17 @@ export interface TargetGroupConfig {
|
|
|
1689
1707
|
* @public
|
|
1690
1708
|
* <p>The ID of the VPC.</p>
|
|
1691
1709
|
*/
|
|
1692
|
-
vpcIdentifier
|
|
1710
|
+
vpcIdentifier?: string;
|
|
1693
1711
|
/**
|
|
1694
1712
|
* @public
|
|
1695
1713
|
* <p>The health check configuration.</p>
|
|
1696
1714
|
*/
|
|
1697
1715
|
healthCheck?: HealthCheckConfig;
|
|
1716
|
+
/**
|
|
1717
|
+
* @public
|
|
1718
|
+
* Lambda event structure version
|
|
1719
|
+
*/
|
|
1720
|
+
lambdaEventStructureVersion?: LambdaEventStructureVersion | string;
|
|
1698
1721
|
}
|
|
1699
1722
|
/**
|
|
1700
1723
|
* @public
|
|
@@ -2150,7 +2173,7 @@ export interface GetAuthPolicyResponse {
|
|
|
2150
2173
|
/**
|
|
2151
2174
|
* @public
|
|
2152
2175
|
* <p>The state of the auth policy. The auth policy is only active when the auth type is set to
|
|
2153
|
-
* <code>
|
|
2176
|
+
* <code>Amazon Web Services_IAM</code>. If you provide a policy, then authentication and
|
|
2154
2177
|
* authorization decisions are made based on this policy and the client's IAM policy. If the auth
|
|
2155
2178
|
* type is <code>NONE</code>, then any auth policy you provide will remain inactive. For more
|
|
2156
2179
|
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
|
|
@@ -2245,7 +2268,7 @@ export interface GetListenerResponse {
|
|
|
2245
2268
|
export interface GetResourcePolicyRequest {
|
|
2246
2269
|
/**
|
|
2247
2270
|
* @public
|
|
2248
|
-
* <p>
|
|
2271
|
+
* <p>An IAM policy.</p>
|
|
2249
2272
|
*/
|
|
2250
2273
|
resourceArn: string | undefined;
|
|
2251
2274
|
}
|
|
@@ -2255,7 +2278,7 @@ export interface GetResourcePolicyRequest {
|
|
|
2255
2278
|
export interface GetResourcePolicyResponse {
|
|
2256
2279
|
/**
|
|
2257
2280
|
* @public
|
|
2258
|
-
* <p>
|
|
2281
|
+
* <p>The Amazon Resource Name (ARN) of the service network or service.</p>
|
|
2259
2282
|
*/
|
|
2260
2283
|
policy?: string;
|
|
2261
2284
|
}
|
|
@@ -3395,6 +3418,11 @@ export interface TargetGroupSummary {
|
|
|
3395
3418
|
* <p>The list of Amazon Resource Names (ARNs) of the service.</p>
|
|
3396
3419
|
*/
|
|
3397
3420
|
serviceArns?: string[];
|
|
3421
|
+
/**
|
|
3422
|
+
* @public
|
|
3423
|
+
* Lambda event structure version
|
|
3424
|
+
*/
|
|
3425
|
+
lambdaEventStructureVersion?: LambdaEventStructureVersion | string;
|
|
3398
3426
|
}
|
|
3399
3427
|
/**
|
|
3400
3428
|
* @public
|
|
@@ -3554,7 +3582,7 @@ export interface PutAuthPolicyRequest {
|
|
|
3554
3582
|
resourceIdentifier: string | undefined;
|
|
3555
3583
|
/**
|
|
3556
3584
|
* @public
|
|
3557
|
-
* <p>The auth policy
|
|
3585
|
+
* <p>The auth policy.</p>
|
|
3558
3586
|
*/
|
|
3559
3587
|
policy: string | undefined;
|
|
3560
3588
|
}
|
|
@@ -3564,13 +3592,13 @@ export interface PutAuthPolicyRequest {
|
|
|
3564
3592
|
export interface PutAuthPolicyResponse {
|
|
3565
3593
|
/**
|
|
3566
3594
|
* @public
|
|
3567
|
-
* <p>The auth policy
|
|
3595
|
+
* <p>The auth policy.</p>
|
|
3568
3596
|
*/
|
|
3569
3597
|
policy?: string;
|
|
3570
3598
|
/**
|
|
3571
3599
|
* @public
|
|
3572
3600
|
* <p>The state of the auth policy. The auth policy is only active when the auth type is set to
|
|
3573
|
-
* <code>
|
|
3601
|
+
* <code>Amazon Web Services_IAM</code>. If you provide a policy, then authentication and
|
|
3574
3602
|
* authorization decisions are made based on this policy and the client's IAM policy. If the Auth
|
|
3575
3603
|
* type is <code>NONE</code>, then, any auth policy you provide will remain inactive. For more
|
|
3576
3604
|
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
|
|
@@ -3590,8 +3618,7 @@ export interface PutResourcePolicyRequest {
|
|
|
3590
3618
|
resourceArn: string | undefined;
|
|
3591
3619
|
/**
|
|
3592
3620
|
* @public
|
|
3593
|
-
* <p>An IAM policy
|
|
3594
|
-
* blank lines.</p>
|
|
3621
|
+
* <p>An IAM policy.</p>
|
|
3595
3622
|
*/
|
|
3596
3623
|
policy: string | undefined;
|
|
3597
3624
|
}
|
|
@@ -3801,7 +3828,7 @@ export interface UpdateServiceNetworkVpcAssociationRequest {
|
|
|
3801
3828
|
serviceNetworkVpcAssociationIdentifier: string | undefined;
|
|
3802
3829
|
/**
|
|
3803
3830
|
* @public
|
|
3804
|
-
* <p>The IDs of the security groups.
|
|
3831
|
+
* <p>The IDs of the security groups. Once you add a security group, it cannot be removed.</p>
|
|
3805
3832
|
*/
|
|
3806
3833
|
securityGroupIds: string[] | undefined;
|
|
3807
3834
|
}
|
|
@@ -485,6 +485,12 @@ export declare const IpAddressType: {
|
|
|
485
485
|
readonly IPV6: "IPV6";
|
|
486
486
|
};
|
|
487
487
|
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
488
|
+
export declare const LambdaEventStructureVersion: {
|
|
489
|
+
readonly V1: "V1";
|
|
490
|
+
readonly V2: "V2";
|
|
491
|
+
};
|
|
492
|
+
export type LambdaEventStructureVersion =
|
|
493
|
+
(typeof LambdaEventStructureVersion)[keyof typeof LambdaEventStructureVersion];
|
|
488
494
|
export declare const TargetGroupProtocolVersion: {
|
|
489
495
|
readonly GRPC: "GRPC";
|
|
490
496
|
readonly HTTP1: "HTTP1";
|
|
@@ -493,12 +499,13 @@ export declare const TargetGroupProtocolVersion: {
|
|
|
493
499
|
export type TargetGroupProtocolVersion =
|
|
494
500
|
(typeof TargetGroupProtocolVersion)[keyof typeof TargetGroupProtocolVersion];
|
|
495
501
|
export interface TargetGroupConfig {
|
|
496
|
-
port
|
|
497
|
-
protocol
|
|
502
|
+
port?: number;
|
|
503
|
+
protocol?: TargetGroupProtocol | string;
|
|
498
504
|
protocolVersion?: TargetGroupProtocolVersion | string;
|
|
499
505
|
ipAddressType?: IpAddressType | string;
|
|
500
|
-
vpcIdentifier
|
|
506
|
+
vpcIdentifier?: string;
|
|
501
507
|
healthCheck?: HealthCheckConfig;
|
|
508
|
+
lambdaEventStructureVersion?: LambdaEventStructureVersion | string;
|
|
502
509
|
}
|
|
503
510
|
export declare const TargetGroupType: {
|
|
504
511
|
readonly ALB: "ALB";
|
|
@@ -896,6 +903,7 @@ export interface TargetGroupSummary {
|
|
|
896
903
|
lastUpdatedAt?: Date;
|
|
897
904
|
status?: TargetGroupStatus | string;
|
|
898
905
|
serviceArns?: string[];
|
|
906
|
+
lambdaEventStructureVersion?: LambdaEventStructureVersion | string;
|
|
899
907
|
}
|
|
900
908
|
export interface ListTargetGroupsResponse {
|
|
901
909
|
items?: TargetGroupSummary[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-vpc-lattice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Vpc Lattice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.406.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,8 +21,8 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.405.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.405.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/types": "3.398.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.405.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/middleware-retry": "^2.0.5",
|
|
42
42
|
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.6",
|
|
45
45
|
"@smithy/node-http-handler": "^2.0.5",
|
|
46
46
|
"@smithy/protocol-http": "^2.0.5",
|
|
47
47
|
"@smithy/smithy-client": "^2.0.5",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.6",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.6",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0",
|