@aws-sdk/client-vpc-lattice 3.574.0 → 3.575.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 +10 -2
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/BatchUpdateRuleCommand.d.ts +7 -1
- package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +4 -3
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +4 -4
- package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListTargetsCommand.d.ts +1 -1
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +4 -1
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +4 -2
- package/dist-types/models/models_0.d.ts +116 -116
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -467,7 +467,11 @@ var ListenerProtocol = {
|
|
|
467
467
|
/**
|
|
468
468
|
* Indicates HTTPS protocol
|
|
469
469
|
*/
|
|
470
|
-
HTTPS: "HTTPS"
|
|
470
|
+
HTTPS: "HTTPS",
|
|
471
|
+
/**
|
|
472
|
+
* Indicates TLS_PASSTHROUGH protocol
|
|
473
|
+
*/
|
|
474
|
+
TLS_PASSTHROUGH: "TLS_PASSTHROUGH"
|
|
471
475
|
};
|
|
472
476
|
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends VPCLatticeServiceException {
|
|
473
477
|
/**
|
|
@@ -580,7 +584,11 @@ var TargetGroupProtocol = {
|
|
|
580
584
|
/**
|
|
581
585
|
* Indicates HTTPS protocol
|
|
582
586
|
*/
|
|
583
|
-
HTTPS: "HTTPS"
|
|
587
|
+
HTTPS: "HTTPS",
|
|
588
|
+
/**
|
|
589
|
+
* Indicates TCP protocol
|
|
590
|
+
*/
|
|
591
|
+
TCP: "TCP"
|
|
584
592
|
};
|
|
585
593
|
var HealthCheckProtocolVersion = {
|
|
586
594
|
/**
|
|
@@ -142,6 +142,7 @@ export var RuleMatch;
|
|
|
142
142
|
export const ListenerProtocol = {
|
|
143
143
|
HTTP: "HTTP",
|
|
144
144
|
HTTPS: "HTTPS",
|
|
145
|
+
TLS_PASSTHROUGH: "TLS_PASSTHROUGH",
|
|
145
146
|
};
|
|
146
147
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
147
148
|
constructor(opts) {
|
|
@@ -193,6 +194,7 @@ export var Matcher;
|
|
|
193
194
|
export const TargetGroupProtocol = {
|
|
194
195
|
HTTP: "HTTP",
|
|
195
196
|
HTTPS: "HTTPS",
|
|
197
|
+
TCP: "TCP",
|
|
196
198
|
};
|
|
197
199
|
export const HealthCheckProtocolVersion = {
|
|
198
200
|
HTTP1: "HTTP1",
|
|
@@ -27,7 +27,13 @@ declare const BatchUpdateRuleCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Updates the listener rules in a batch. You can use this operation to change the priority of
|
|
30
|
-
* listener rules. This can be useful when bulk updating or swapping rule priority
|
|
30
|
+
* listener rules. This can be useful when bulk updating or swapping rule priority.</p>
|
|
31
|
+
* <p>
|
|
32
|
+
* <b>Required permissions:</b>
|
|
33
|
+
* <code>vpc-lattice:UpdateRule</code>
|
|
34
|
+
* </p>
|
|
35
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/security_iam_service-with-iam.html">How Amazon VPC Lattice works with
|
|
36
|
+
* IAM</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
31
37
|
* @example
|
|
32
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
39
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreateAccessLogSubscriptionCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner
|
|
30
|
-
* can use the access logs to audit the services in the network. The service network owner
|
|
30
|
+
* can use the access logs to audit the services in the network. The service network owner can only
|
|
31
31
|
* see access logs from clients and services that are associated with their service network. Access
|
|
32
32
|
* log entries represent traffic originated from VPCs associated with that network. For more
|
|
33
33
|
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/monitoring-access-logs.html">Access logs</a> in the
|
|
@@ -26,7 +26,7 @@ declare const CreateServiceNetworkServiceAssociationCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Associates a service with a service network
|
|
29
|
+
* <p>Associates a service with a service network. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html#service-network-service-associations">Manage service associations</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
30
30
|
* <p>You can't use this operation if the service and service network are already associated or if
|
|
31
31
|
* there is a disassociation or deletion in progress. If the association fails, you can retry the
|
|
32
32
|
* operation by deleting the association and recreating it.</p>
|
|
@@ -33,9 +33,10 @@ declare const CreateServiceNetworkVpcAssociationCommand_base: {
|
|
|
33
33
|
* fails, retry by deleting the association and recreating it.</p>
|
|
34
34
|
* <p>As a result of this operation, the association gets created in the service network account
|
|
35
35
|
* and the VPC owner account.</p>
|
|
36
|
-
* <p>
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* <p>If you add a security group to the service network and VPC association, the association must
|
|
37
|
+
* continue to always have at least one security group. You can add or edit security groups at any
|
|
38
|
+
* time. However, to remove all security groups, you must first delete the association and recreate
|
|
39
|
+
* it without security groups.</p>
|
|
39
40
|
* @example
|
|
40
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
42
|
* ```javascript
|
|
@@ -26,10 +26,10 @@ declare const DeleteAuthPolicyCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Deletes the specified auth policy. If an auth is set to <code>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
29
|
+
* <p>Deletes the specified auth policy. If an auth is set to <code>AWS_IAM</code> and the auth
|
|
30
|
+
* policy is deleted, all requests are denied. If you are trying to remove the auth
|
|
31
|
+
* policy completely, you must set the auth type to <code>NONE</code>. If auth is enabled on the
|
|
32
|
+
* resource, but no auth policy is set, all requests are denied.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteServiceNetworkServiceAssociationCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Deletes the association between a specified service and the specific service network. This
|
|
30
|
-
*
|
|
30
|
+
* operation fails if an association is still in progress.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Retrieves information about the resource policy. The resource policy is an IAM policy
|
|
30
|
-
* created
|
|
30
|
+
* created on behalf of the resource owner when they share a resource.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -31,8 +31,8 @@ declare const ListServiceNetworkServiceAssociationsCommand_base: {
|
|
|
31
31
|
* the service identifier.</p>
|
|
32
32
|
* <p>Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a
|
|
33
33
|
* service network is associated with a VPC or when a service is associated with a service network.
|
|
34
|
-
* If the association is for a resource that is shared with another account, the association
|
|
35
|
-
*
|
|
34
|
+
* If the association is for a resource that is shared with another account, the association
|
|
35
|
+
* includes the local account ID as the prefix in the ARN for each account the resource is shared
|
|
36
36
|
* with.</p>
|
|
37
37
|
* @example
|
|
38
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,7 +27,7 @@ declare const ListTargetsCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Lists the targets for the target group. By default, all targets are included. You can use
|
|
30
|
-
* this API to check the health status of targets. You can also filter the results by target
|
|
30
|
+
* this API to check the health status of targets. You can also filter the results by target.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -26,7 +26,10 @@ declare const PutAuthPolicyCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Creates or updates the auth policy
|
|
29
|
+
* <p>Creates or updates the auth policy. The policy string in JSON must not contain newlines or
|
|
30
|
+
* blank lines.</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/auth-policies.html">Auth policies</a>
|
|
32
|
+
* in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
30
33
|
* @example
|
|
31
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
35
|
* ```javascript
|
|
@@ -26,8 +26,10 @@ declare const UpdateServiceNetworkVpcAssociationCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Updates the service network and VPC association.
|
|
30
|
-
*
|
|
29
|
+
* <p>Updates the service network and VPC association. If you add a security group to the service
|
|
30
|
+
* network and VPC association, the association must continue to always have at least one security
|
|
31
|
+
* group. You can add or edit security groups at any time. However, to remove all security groups,
|
|
32
|
+
* you must first delete the association and recreate it without security groups.</p>
|
|
31
33
|
* @example
|
|
32
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
35
|
* ```javascript
|
|
@@ -175,7 +175,7 @@ export interface ValidationExceptionField {
|
|
|
175
175
|
*/
|
|
176
176
|
name: string | undefined;
|
|
177
177
|
/**
|
|
178
|
-
* <p>Additional
|
|
178
|
+
* <p>Additional information about why the validation failed.</p>
|
|
179
179
|
* @public
|
|
180
180
|
*/
|
|
181
181
|
message: string | undefined;
|
|
@@ -352,7 +352,7 @@ export interface AccessLogSubscriptionSummary {
|
|
|
352
352
|
*/
|
|
353
353
|
export interface ListAccessLogSubscriptionsResponse {
|
|
354
354
|
/**
|
|
355
|
-
* <p>
|
|
355
|
+
* <p>Information about the access log subscriptions.</p>
|
|
356
356
|
* @public
|
|
357
357
|
*/
|
|
358
358
|
items: AccessLogSubscriptionSummary[] | undefined;
|
|
@@ -432,7 +432,7 @@ export declare const AuthType: {
|
|
|
432
432
|
*/
|
|
433
433
|
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
434
434
|
/**
|
|
435
|
-
* <p>
|
|
435
|
+
* <p>Describes an action that returns a custom HTTP response.</p>
|
|
436
436
|
* @public
|
|
437
437
|
*/
|
|
438
438
|
export interface FixedResponseAction {
|
|
@@ -453,7 +453,7 @@ export interface WeightedTargetGroup {
|
|
|
453
453
|
*/
|
|
454
454
|
targetGroupIdentifier: string | undefined;
|
|
455
455
|
/**
|
|
456
|
-
* <p>Only required if you specify multiple target groups for a forward action. The
|
|
456
|
+
* <p>Only required if you specify multiple target groups for a forward action. The weight
|
|
457
457
|
* determines how requests are distributed to the target group. For example, if you specify two
|
|
458
458
|
* target groups, each with a weight of 10, each target group receives half the requests. If you
|
|
459
459
|
* specify two target groups, one with a weight of 10 and the other with a weight of 20, the target
|
|
@@ -477,15 +477,13 @@ export interface ForwardAction {
|
|
|
477
477
|
* their weights. For example, if two target groups have the same weight, each target group receives
|
|
478
478
|
* half of the traffic.</p>
|
|
479
479
|
* <p>The default value is 1. This means that if only one target group is provided, there is no
|
|
480
|
-
* need to set the weight; 100% of traffic
|
|
480
|
+
* need to set the weight; 100% of the traffic goes to that target group.</p>
|
|
481
481
|
* @public
|
|
482
482
|
*/
|
|
483
483
|
targetGroups: WeightedTargetGroup[] | undefined;
|
|
484
484
|
}
|
|
485
485
|
/**
|
|
486
|
-
* <p>Describes the action for a rule
|
|
487
|
-
* of actions: <code>forward </code>or <code>fixed-response</code>, and it must be the last action
|
|
488
|
-
* to be performed.</p>
|
|
486
|
+
* <p>Describes the action for a rule.</p>
|
|
489
487
|
* @public
|
|
490
488
|
*/
|
|
491
489
|
export type RuleAction = RuleAction.FixedResponseMember | RuleAction.ForwardMember | RuleAction.$UnknownMember;
|
|
@@ -504,7 +502,7 @@ export declare namespace RuleAction {
|
|
|
504
502
|
$unknown?: never;
|
|
505
503
|
}
|
|
506
504
|
/**
|
|
507
|
-
* <p>
|
|
505
|
+
* <p>The fixed response action. The rule returns a custom HTTP response.</p>
|
|
508
506
|
* @public
|
|
509
507
|
*/
|
|
510
508
|
interface FixedResponseMember {
|
|
@@ -528,7 +526,7 @@ export declare namespace RuleAction {
|
|
|
528
526
|
const visit: <T>(value: RuleAction, visitor: Visitor<T>) => T;
|
|
529
527
|
}
|
|
530
528
|
/**
|
|
531
|
-
* <p>Describes a header match type
|
|
529
|
+
* <p>Describes a header match type.</p>
|
|
532
530
|
* @public
|
|
533
531
|
*/
|
|
534
532
|
export type HeaderMatchType = HeaderMatchType.ContainsMember | HeaderMatchType.ExactMember | HeaderMatchType.PrefixMember | HeaderMatchType.$UnknownMember;
|
|
@@ -537,7 +535,7 @@ export type HeaderMatchType = HeaderMatchType.ContainsMember | HeaderMatchType.E
|
|
|
537
535
|
*/
|
|
538
536
|
export declare namespace HeaderMatchType {
|
|
539
537
|
/**
|
|
540
|
-
* <p>
|
|
538
|
+
* <p>An exact type match.</p>
|
|
541
539
|
* @public
|
|
542
540
|
*/
|
|
543
541
|
interface ExactMember {
|
|
@@ -547,7 +545,7 @@ export declare namespace HeaderMatchType {
|
|
|
547
545
|
$unknown?: never;
|
|
548
546
|
}
|
|
549
547
|
/**
|
|
550
|
-
* <p>
|
|
548
|
+
* <p>A prefix type match. Matches the value with the prefix.</p>
|
|
551
549
|
* @public
|
|
552
550
|
*/
|
|
553
551
|
interface PrefixMember {
|
|
@@ -557,7 +555,7 @@ export declare namespace HeaderMatchType {
|
|
|
557
555
|
$unknown?: never;
|
|
558
556
|
}
|
|
559
557
|
/**
|
|
560
|
-
* <p>
|
|
558
|
+
* <p>A contains type match.</p>
|
|
561
559
|
* @public
|
|
562
560
|
*/
|
|
563
561
|
interface ContainsMember {
|
|
@@ -600,7 +598,7 @@ export interface HeaderMatch {
|
|
|
600
598
|
*/
|
|
601
599
|
match: HeaderMatchType | undefined;
|
|
602
600
|
/**
|
|
603
|
-
* <p>Indicates whether the match is case sensitive
|
|
601
|
+
* <p>Indicates whether the match is case sensitive.</p>
|
|
604
602
|
* @public
|
|
605
603
|
*/
|
|
606
604
|
caseSensitive?: boolean;
|
|
@@ -660,7 +658,7 @@ export interface PathMatch {
|
|
|
660
658
|
*/
|
|
661
659
|
match: PathMatchType | undefined;
|
|
662
660
|
/**
|
|
663
|
-
* <p>Indicates whether the match is case sensitive
|
|
661
|
+
* <p>Indicates whether the match is case sensitive.</p>
|
|
664
662
|
* @public
|
|
665
663
|
*/
|
|
666
664
|
caseSensitive?: boolean;
|
|
@@ -718,7 +716,7 @@ export declare namespace RuleMatch {
|
|
|
718
716
|
const visit: <T>(value: RuleMatch, visitor: Visitor<T>) => T;
|
|
719
717
|
}
|
|
720
718
|
/**
|
|
721
|
-
* <p>
|
|
719
|
+
* <p>Describes a rule update.</p>
|
|
722
720
|
* @public
|
|
723
721
|
*/
|
|
724
722
|
export interface RuleUpdate {
|
|
@@ -799,7 +797,7 @@ export interface RuleUpdateSuccess {
|
|
|
799
797
|
*/
|
|
800
798
|
priority?: number;
|
|
801
799
|
/**
|
|
802
|
-
* <p>The action for the
|
|
800
|
+
* <p>The action for the rule.</p>
|
|
803
801
|
* @public
|
|
804
802
|
*/
|
|
805
803
|
action?: RuleAction;
|
|
@@ -853,6 +851,10 @@ export declare const ListenerProtocol: {
|
|
|
853
851
|
* Indicates HTTPS protocol
|
|
854
852
|
*/
|
|
855
853
|
readonly HTTPS: "HTTPS";
|
|
854
|
+
/**
|
|
855
|
+
* Indicates TLS_PASSTHROUGH protocol
|
|
856
|
+
*/
|
|
857
|
+
readonly TLS_PASSTHROUGH: "TLS_PASSTHROUGH";
|
|
856
858
|
};
|
|
857
859
|
/**
|
|
858
860
|
* @public
|
|
@@ -874,22 +876,19 @@ export interface CreateListenerRequest {
|
|
|
874
876
|
*/
|
|
875
877
|
name: string | undefined;
|
|
876
878
|
/**
|
|
877
|
-
* <p>The listener protocol
|
|
879
|
+
* <p>The listener protocol.</p>
|
|
878
880
|
* @public
|
|
879
881
|
*/
|
|
880
882
|
protocol: ListenerProtocol | undefined;
|
|
881
883
|
/**
|
|
882
|
-
* <p>The listener port. You can specify a value from
|
|
883
|
-
* HTTP, the default is
|
|
884
|
+
* <p>The listener port. You can specify a value from 1 to 65535. For
|
|
885
|
+
* HTTP, the default is 80. For HTTPS, the default is 443.</p>
|
|
884
886
|
* @public
|
|
885
887
|
*/
|
|
886
888
|
port?: number;
|
|
887
889
|
/**
|
|
888
|
-
* <p>The action for the default rule. Each listener has a default rule.
|
|
889
|
-
*
|
|
890
|
-
* used if no other rules match. Each rule must include exactly one of the following types of
|
|
891
|
-
* actions: <code>forward </code>or <code>fixed-response</code>, and it must be the last action to
|
|
892
|
-
* be performed. </p>
|
|
890
|
+
* <p>The action for the default rule. Each listener has a default rule. The default rule is used
|
|
891
|
+
* if no other rules match.</p>
|
|
893
892
|
* @public
|
|
894
893
|
*/
|
|
895
894
|
defaultAction: RuleAction | undefined;
|
|
@@ -1067,9 +1066,7 @@ export interface CreateRuleResponse {
|
|
|
1067
1066
|
*/
|
|
1068
1067
|
priority?: number;
|
|
1069
1068
|
/**
|
|
1070
|
-
* <p>The rule action
|
|
1071
|
-
* <code>forward </code>or <code>fixed-response</code>, and it must be the last action to be
|
|
1072
|
-
* performed.</p>
|
|
1069
|
+
* <p>The rule action.</p>
|
|
1073
1070
|
* @public
|
|
1074
1071
|
*/
|
|
1075
1072
|
action?: RuleAction;
|
|
@@ -1199,7 +1196,7 @@ export interface CreateServiceResponse {
|
|
|
1199
1196
|
*/
|
|
1200
1197
|
certificateArn?: string;
|
|
1201
1198
|
/**
|
|
1202
|
-
* <p>The status. If the status is <code>CREATE_FAILED</code>, you
|
|
1199
|
+
* <p>The status. If the status is <code>CREATE_FAILED</code>, you must delete and
|
|
1203
1200
|
* recreate the service.</p>
|
|
1204
1201
|
* @public
|
|
1205
1202
|
*/
|
|
@@ -1348,7 +1345,7 @@ export interface CreateServiceNetworkServiceAssociationResponse {
|
|
|
1348
1345
|
*/
|
|
1349
1346
|
id?: string;
|
|
1350
1347
|
/**
|
|
1351
|
-
* <p>The
|
|
1348
|
+
* <p>The association status.</p>
|
|
1352
1349
|
* @public
|
|
1353
1350
|
*/
|
|
1354
1351
|
status?: ServiceNetworkServiceAssociationStatus;
|
|
@@ -1459,7 +1456,7 @@ export interface CreateServiceNetworkVpcAssociationResponse {
|
|
|
1459
1456
|
*/
|
|
1460
1457
|
id?: string;
|
|
1461
1458
|
/**
|
|
1462
|
-
* <p>The
|
|
1459
|
+
* <p>The association status.</p>
|
|
1463
1460
|
* @public
|
|
1464
1461
|
*/
|
|
1465
1462
|
status?: ServiceNetworkVpcAssociationStatus;
|
|
@@ -1480,7 +1477,7 @@ export interface CreateServiceNetworkVpcAssociationResponse {
|
|
|
1480
1477
|
securityGroupIds?: string[];
|
|
1481
1478
|
}
|
|
1482
1479
|
/**
|
|
1483
|
-
* <p>
|
|
1480
|
+
* <p>Describes the codes to use when checking for a successful response from a target for health
|
|
1484
1481
|
* checks.</p>
|
|
1485
1482
|
* @public
|
|
1486
1483
|
*/
|
|
@@ -1523,6 +1520,10 @@ export declare const TargetGroupProtocol: {
|
|
|
1523
1520
|
* Indicates HTTPS protocol
|
|
1524
1521
|
*/
|
|
1525
1522
|
readonly HTTPS: "HTTPS";
|
|
1523
|
+
/**
|
|
1524
|
+
* Indicates TCP protocol
|
|
1525
|
+
*/
|
|
1526
|
+
readonly TCP: "TCP";
|
|
1526
1527
|
};
|
|
1527
1528
|
/**
|
|
1528
1529
|
* @public
|
|
@@ -1547,8 +1548,8 @@ export declare const HealthCheckProtocolVersion: {
|
|
|
1547
1548
|
*/
|
|
1548
1549
|
export type HealthCheckProtocolVersion = (typeof HealthCheckProtocolVersion)[keyof typeof HealthCheckProtocolVersion];
|
|
1549
1550
|
/**
|
|
1550
|
-
* <p>
|
|
1551
|
-
* for <code>LAMBDA</code>
|
|
1551
|
+
* <p>Describes the health check configuration of a target group. Health check configurations aren't used
|
|
1552
|
+
* for target groups of type <code>LAMBDA</code> or <code>ALB</code>.</p>
|
|
1552
1553
|
* @public
|
|
1553
1554
|
*/
|
|
1554
1555
|
export interface HealthCheckConfig {
|
|
@@ -1609,8 +1610,7 @@ export interface HealthCheckConfig {
|
|
|
1609
1610
|
*/
|
|
1610
1611
|
unhealthyThresholdCount?: number;
|
|
1611
1612
|
/**
|
|
1612
|
-
* <p>The codes to use when checking for a successful response from a target
|
|
1613
|
-
* <i>Success codes</i> in the console.</p>
|
|
1613
|
+
* <p>The codes to use when checking for a successful response from a target.</p>
|
|
1614
1614
|
* @public
|
|
1615
1615
|
*/
|
|
1616
1616
|
matcher?: Matcher;
|
|
@@ -1674,47 +1674,50 @@ export declare const TargetGroupProtocolVersion: {
|
|
|
1674
1674
|
*/
|
|
1675
1675
|
export type TargetGroupProtocolVersion = (typeof TargetGroupProtocolVersion)[keyof typeof TargetGroupProtocolVersion];
|
|
1676
1676
|
/**
|
|
1677
|
-
* <p>Describes the configuration of a target group
|
|
1678
|
-
*
|
|
1677
|
+
* <p>Describes the configuration of a target group.</p>
|
|
1678
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/target-groups.html">Target groups</a> in the
|
|
1679
|
+
* <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
1679
1680
|
* @public
|
|
1680
1681
|
*/
|
|
1681
1682
|
export interface TargetGroupConfig {
|
|
1682
1683
|
/**
|
|
1683
|
-
* <p>The port on which the targets are listening. For HTTP, the default is
|
|
1684
|
-
* HTTPS, the default is <code>
|
|
1685
|
-
* </p>
|
|
1684
|
+
* <p>The port on which the targets are listening. For HTTP, the default is 80. For
|
|
1685
|
+
* HTTPS, the default is 443. Not supported if the target group type is <code>LAMBDA</code>.</p>
|
|
1686
1686
|
* @public
|
|
1687
1687
|
*/
|
|
1688
1688
|
port?: number;
|
|
1689
1689
|
/**
|
|
1690
|
-
* <p>The protocol to use for routing traffic to the targets.
|
|
1691
|
-
* group
|
|
1690
|
+
* <p>The protocol to use for routing traffic to the targets. The default is the protocol of the target
|
|
1691
|
+
* group. Not supported if the target group type is <code>LAMBDA</code>.</p>
|
|
1692
1692
|
* @public
|
|
1693
1693
|
*/
|
|
1694
1694
|
protocol?: TargetGroupProtocol;
|
|
1695
1695
|
/**
|
|
1696
|
-
* <p>The protocol version.
|
|
1696
|
+
* <p>The protocol version. The default is <code>HTTP1</code>.
|
|
1697
|
+
* Not supported if the target group type is <code>LAMBDA</code>.</p>
|
|
1697
1698
|
* @public
|
|
1698
1699
|
*/
|
|
1699
1700
|
protocolVersion?: TargetGroupProtocolVersion;
|
|
1700
1701
|
/**
|
|
1701
|
-
* <p>The type of IP address used for the target group.
|
|
1702
|
-
*
|
|
1702
|
+
* <p>The type of IP address used for the target group. Supported only if the target group
|
|
1703
|
+
* type is <code>IP</code>. The default is <code>IPV4</code>.</p>
|
|
1703
1704
|
* @public
|
|
1704
1705
|
*/
|
|
1705
1706
|
ipAddressType?: IpAddressType;
|
|
1706
1707
|
/**
|
|
1707
|
-
* <p>The ID of the VPC
|
|
1708
|
+
* <p>The ID of the VPC. Not supported if the target group type is <code>LAMBDA</code>.</p>
|
|
1708
1709
|
* @public
|
|
1709
1710
|
*/
|
|
1710
1711
|
vpcIdentifier?: string;
|
|
1711
1712
|
/**
|
|
1712
|
-
* <p>The health check configuration
|
|
1713
|
+
* <p>The health check configuration. Not supported if the target group type is
|
|
1714
|
+
* <code>LAMBDA</code> or <code>ALB</code>.</p>
|
|
1713
1715
|
* @public
|
|
1714
1716
|
*/
|
|
1715
1717
|
healthCheck?: HealthCheckConfig;
|
|
1716
1718
|
/**
|
|
1717
|
-
*
|
|
1719
|
+
* <p>The version of the event structure that your Lambda function receives.
|
|
1720
|
+
* Supported only if the target group type is <code>LAMBDA</code>. The default is <code>V1</code>.</p>
|
|
1718
1721
|
* @public
|
|
1719
1722
|
*/
|
|
1720
1723
|
lambdaEventStructureVersion?: LambdaEventStructureVersion;
|
|
@@ -1761,8 +1764,7 @@ export interface CreateTargetGroupRequest {
|
|
|
1761
1764
|
*/
|
|
1762
1765
|
type: TargetGroupType | undefined;
|
|
1763
1766
|
/**
|
|
1764
|
-
* <p>The target group configuration
|
|
1765
|
-
* parameter doesn't apply.</p>
|
|
1767
|
+
* <p>The target group configuration.</p>
|
|
1766
1768
|
* @public
|
|
1767
1769
|
*/
|
|
1768
1770
|
config?: TargetGroupConfig;
|
|
@@ -1835,15 +1837,14 @@ export interface CreateTargetGroupResponse {
|
|
|
1835
1837
|
*/
|
|
1836
1838
|
type?: TargetGroupType;
|
|
1837
1839
|
/**
|
|
1838
|
-
* <p>The target group configuration
|
|
1839
|
-
* parameter doesn't apply.</p>
|
|
1840
|
+
* <p>The target group configuration.</p>
|
|
1840
1841
|
* @public
|
|
1841
1842
|
*/
|
|
1842
1843
|
config?: TargetGroupConfig;
|
|
1843
1844
|
/**
|
|
1844
|
-
* <p>The
|
|
1845
|
-
*
|
|
1846
|
-
*
|
|
1845
|
+
* <p>The status. You can retry the operation if the status is <code>CREATE_FAILED</code>.
|
|
1846
|
+
* However, if you retry it while the status is <code>CREATE_IN_PROGRESS</code>, there is
|
|
1847
|
+
* no change in the status.</p>
|
|
1847
1848
|
* @public
|
|
1848
1849
|
*/
|
|
1849
1850
|
status?: TargetGroupStatus;
|
|
@@ -1995,9 +1996,9 @@ export interface DeleteServiceNetworkServiceAssociationResponse {
|
|
|
1995
1996
|
*/
|
|
1996
1997
|
id?: string;
|
|
1997
1998
|
/**
|
|
1998
|
-
* <p>The
|
|
1999
|
-
*
|
|
2000
|
-
*
|
|
1999
|
+
* <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>.
|
|
2000
|
+
* However, if you retry it when the status is <code>DELETE_IN_PROGRESS</code>, there is no
|
|
2001
|
+
* change in the status.</p>
|
|
2001
2002
|
* @public
|
|
2002
2003
|
*/
|
|
2003
2004
|
status?: ServiceNetworkServiceAssociationStatus;
|
|
@@ -2028,7 +2029,7 @@ export interface DeleteServiceNetworkVpcAssociationResponse {
|
|
|
2028
2029
|
id?: string;
|
|
2029
2030
|
/**
|
|
2030
2031
|
* <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>.
|
|
2031
|
-
* However, if you retry it
|
|
2032
|
+
* However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, there is no change
|
|
2032
2033
|
* in the status.</p>
|
|
2033
2034
|
* @public
|
|
2034
2035
|
*/
|
|
@@ -2077,16 +2078,16 @@ export interface DeleteTargetGroupResponse {
|
|
|
2077
2078
|
*/
|
|
2078
2079
|
export interface Target {
|
|
2079
2080
|
/**
|
|
2080
|
-
* <p>The ID of the target. If the target type
|
|
2081
|
-
*
|
|
2082
|
-
* type is <code>LAMBDA</code>, this is the ARN of
|
|
2083
|
-
*
|
|
2081
|
+
* <p>The ID of the target. If the target group type is <code>INSTANCE</code>, this is
|
|
2082
|
+
* an instance ID. If the target group type is <code>IP</code>, this is an IP address. If the target
|
|
2083
|
+
* group type is <code>LAMBDA</code>, this is the ARN of a Lambda function. If the target group type
|
|
2084
|
+
* is <code>ALB</code>, this is the ARN of an Application Load Balancer.</p>
|
|
2084
2085
|
* @public
|
|
2085
2086
|
*/
|
|
2086
2087
|
id: string | undefined;
|
|
2087
2088
|
/**
|
|
2088
|
-
* <p>The port on which the target is listening. For HTTP, the default is
|
|
2089
|
-
* HTTPS, the default is
|
|
2089
|
+
* <p>The port on which the target is listening. For HTTP, the default is 80. For
|
|
2090
|
+
* HTTPS, the default is 443.</p>
|
|
2090
2091
|
* @public
|
|
2091
2092
|
*/
|
|
2092
2093
|
port?: number;
|
|
@@ -2112,10 +2113,10 @@ export interface DeregisterTargetsRequest {
|
|
|
2112
2113
|
*/
|
|
2113
2114
|
export interface TargetFailure {
|
|
2114
2115
|
/**
|
|
2115
|
-
* <p>The ID of the target. If the target type
|
|
2116
|
-
*
|
|
2117
|
-
* type is <code>LAMBDA</code>, this is the ARN of
|
|
2118
|
-
* <code>ALB</code>, this is the ARN of
|
|
2116
|
+
* <p>The ID of the target. If the target group type is <code>INSTANCE</code>, this is
|
|
2117
|
+
* an instance ID. If the target group type is <code>IP</code>, this is an IP address. If the target
|
|
2118
|
+
* group type is <code>LAMBDA</code>, this is the ARN of a Lambda function. If the target group type is
|
|
2119
|
+
* <code>ALB</code>, this is the ARN of an Application Load Balancer.</p>
|
|
2119
2120
|
* @public
|
|
2120
2121
|
*/
|
|
2121
2122
|
id?: string;
|
|
@@ -2172,11 +2173,9 @@ export interface GetAuthPolicyResponse {
|
|
|
2172
2173
|
policy?: string;
|
|
2173
2174
|
/**
|
|
2174
2175
|
* <p>The state of the auth policy. The auth policy is only active when the auth type is set to
|
|
2175
|
-
*
|
|
2176
|
-
*
|
|
2177
|
-
*
|
|
2178
|
-
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
|
|
2179
|
-
* network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
2176
|
+
* <code>AWS_IAM</code>. If you provide a policy, then authentication and authorization decisions
|
|
2177
|
+
* are made based on this policy and the client's IAM policy. If the auth type is <code>NONE</code>,
|
|
2178
|
+
* then any auth policy that you provide remains inactive. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
2180
2179
|
* @public
|
|
2181
2180
|
*/
|
|
2182
2181
|
state?: AuthPolicyState;
|
|
@@ -2267,7 +2266,7 @@ export interface GetListenerResponse {
|
|
|
2267
2266
|
*/
|
|
2268
2267
|
export interface GetResourcePolicyRequest {
|
|
2269
2268
|
/**
|
|
2270
|
-
* <p>
|
|
2269
|
+
* <p>The Amazon Resource Name (ARN) of the service network or service.</p>
|
|
2271
2270
|
* @public
|
|
2272
2271
|
*/
|
|
2273
2272
|
resourceArn: string | undefined;
|
|
@@ -2277,7 +2276,7 @@ export interface GetResourcePolicyRequest {
|
|
|
2277
2276
|
*/
|
|
2278
2277
|
export interface GetResourcePolicyResponse {
|
|
2279
2278
|
/**
|
|
2280
|
-
* <p>
|
|
2279
|
+
* <p>An IAM policy.</p>
|
|
2281
2280
|
* @public
|
|
2282
2281
|
*/
|
|
2283
2282
|
policy?: string;
|
|
@@ -2558,7 +2557,7 @@ export interface GetServiceNetworkServiceAssociationResponse {
|
|
|
2558
2557
|
*/
|
|
2559
2558
|
dnsEntry?: DnsEntry;
|
|
2560
2559
|
/**
|
|
2561
|
-
* <p>The custom domain name of the service
|
|
2560
|
+
* <p>The custom domain name of the service.</p>
|
|
2562
2561
|
* @public
|
|
2563
2562
|
*/
|
|
2564
2563
|
customDomainName?: string;
|
|
@@ -2912,14 +2911,12 @@ export interface RuleSummary {
|
|
|
2912
2911
|
*/
|
|
2913
2912
|
name?: string;
|
|
2914
2913
|
/**
|
|
2915
|
-
* <p>Indicates whether this is the default rule
|
|
2916
|
-
* listener. Each listener has a default rule for checking connection requests.
|
|
2917
|
-
* </p>
|
|
2914
|
+
* <p>Indicates whether this is the default listener rule.</p>
|
|
2918
2915
|
* @public
|
|
2919
2916
|
*/
|
|
2920
2917
|
isDefault?: boolean;
|
|
2921
2918
|
/**
|
|
2922
|
-
* <p>
|
|
2919
|
+
* <p>The priority of the rule.</p>
|
|
2923
2920
|
* @public
|
|
2924
2921
|
*/
|
|
2925
2922
|
priority?: number;
|
|
@@ -3108,12 +3105,12 @@ export interface ServiceNetworkServiceAssociationSummary {
|
|
|
3108
3105
|
*/
|
|
3109
3106
|
serviceNetworkArn?: string;
|
|
3110
3107
|
/**
|
|
3111
|
-
* <p>DNS information
|
|
3108
|
+
* <p>The DNS information.</p>
|
|
3112
3109
|
* @public
|
|
3113
3110
|
*/
|
|
3114
3111
|
dnsEntry?: DnsEntry;
|
|
3115
3112
|
/**
|
|
3116
|
-
* <p>
|
|
3113
|
+
* <p>The custom domain name of the service.</p>
|
|
3117
3114
|
* @public
|
|
3118
3115
|
*/
|
|
3119
3116
|
customDomainName?: string;
|
|
@@ -3276,12 +3273,12 @@ export interface ServiceSummary {
|
|
|
3276
3273
|
*/
|
|
3277
3274
|
lastUpdatedAt?: Date;
|
|
3278
3275
|
/**
|
|
3279
|
-
* <p>DNS information
|
|
3276
|
+
* <p>The DNS information.</p>
|
|
3280
3277
|
* @public
|
|
3281
3278
|
*/
|
|
3282
3279
|
dnsEntry?: DnsEntry;
|
|
3283
3280
|
/**
|
|
3284
|
-
* <p>
|
|
3281
|
+
* <p>The custom domain name of the service.</p>
|
|
3285
3282
|
* @public
|
|
3286
3283
|
*/
|
|
3287
3284
|
customDomainName?: string;
|
|
@@ -3296,7 +3293,7 @@ export interface ServiceSummary {
|
|
|
3296
3293
|
*/
|
|
3297
3294
|
export interface ListServicesResponse {
|
|
3298
3295
|
/**
|
|
3299
|
-
* <p>
|
|
3296
|
+
* <p>Information about the services.</p>
|
|
3300
3297
|
* @public
|
|
3301
3298
|
*/
|
|
3302
3299
|
items?: ServiceSummary[];
|
|
@@ -3321,7 +3318,7 @@ export interface ListTagsForResourceRequest {
|
|
|
3321
3318
|
*/
|
|
3322
3319
|
export interface ListTagsForResourceResponse {
|
|
3323
3320
|
/**
|
|
3324
|
-
* <p>
|
|
3321
|
+
* <p>Information about the tags.</p>
|
|
3325
3322
|
* @public
|
|
3326
3323
|
*/
|
|
3327
3324
|
tags?: Record<string, string>;
|
|
@@ -3341,7 +3338,7 @@ export interface ListTargetGroupsRequest {
|
|
|
3341
3338
|
*/
|
|
3342
3339
|
nextToken?: string;
|
|
3343
3340
|
/**
|
|
3344
|
-
* <p>The ID or Amazon Resource Name (ARN) of the
|
|
3341
|
+
* <p>The ID or Amazon Resource Name (ARN) of the VPC.</p>
|
|
3345
3342
|
* @public
|
|
3346
3343
|
*/
|
|
3347
3344
|
vpcIdentifier?: string;
|
|
@@ -3353,6 +3350,8 @@ export interface ListTargetGroupsRequest {
|
|
|
3353
3350
|
}
|
|
3354
3351
|
/**
|
|
3355
3352
|
* <p>Summary information about a target group.</p>
|
|
3353
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/target-groups.html">Target groups</a> in the
|
|
3354
|
+
* <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
3356
3355
|
* @public
|
|
3357
3356
|
*/
|
|
3358
3357
|
export interface TargetGroupSummary {
|
|
@@ -3392,8 +3391,9 @@ export interface TargetGroupSummary {
|
|
|
3392
3391
|
*/
|
|
3393
3392
|
protocol?: TargetGroupProtocol;
|
|
3394
3393
|
/**
|
|
3395
|
-
* <p>The type of IP address used for the target group. The possible values are <code>
|
|
3396
|
-
* This is an optional parameter. If not specified, the
|
|
3394
|
+
* <p>The type of IP address used for the target group. The possible values are <code>IPV4</code>
|
|
3395
|
+
* and <code>IPV6</code>. This is an optional parameter. If not specified, the default is
|
|
3396
|
+
* <code>IPV4</code>.</p>
|
|
3397
3397
|
* @public
|
|
3398
3398
|
*/
|
|
3399
3399
|
ipAddressType?: IpAddressType;
|
|
@@ -3414,12 +3414,13 @@ export interface TargetGroupSummary {
|
|
|
3414
3414
|
*/
|
|
3415
3415
|
status?: TargetGroupStatus;
|
|
3416
3416
|
/**
|
|
3417
|
-
* <p>The
|
|
3417
|
+
* <p>The Amazon Resource Names (ARNs) of the service.</p>
|
|
3418
3418
|
* @public
|
|
3419
3419
|
*/
|
|
3420
3420
|
serviceArns?: string[];
|
|
3421
3421
|
/**
|
|
3422
|
-
*
|
|
3422
|
+
* <p>The version of the event structure that your Lambda function receives.
|
|
3423
|
+
* Supported only if the target group type is <code>LAMBDA</code>.</p>
|
|
3423
3424
|
* @public
|
|
3424
3425
|
*/
|
|
3425
3426
|
lambdaEventStructureVersion?: LambdaEventStructureVersion;
|
|
@@ -3459,7 +3460,7 @@ export interface ListTargetsRequest {
|
|
|
3459
3460
|
*/
|
|
3460
3461
|
nextToken?: string;
|
|
3461
3462
|
/**
|
|
3462
|
-
* <p>The targets
|
|
3463
|
+
* <p>The targets.</p>
|
|
3463
3464
|
* @public
|
|
3464
3465
|
*/
|
|
3465
3466
|
targets?: Target[];
|
|
@@ -3504,10 +3505,10 @@ export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
|
|
|
3504
3505
|
*/
|
|
3505
3506
|
export interface TargetSummary {
|
|
3506
3507
|
/**
|
|
3507
|
-
* <p>The ID of the target. If the target type
|
|
3508
|
-
*
|
|
3509
|
-
* type is <code>LAMBDA</code>, this is the ARN of
|
|
3510
|
-
*
|
|
3508
|
+
* <p>The ID of the target. If the target group type is <code>INSTANCE</code>, this is
|
|
3509
|
+
* an instance ID. If the target group type is <code>IP</code>, this is an IP address. If the target
|
|
3510
|
+
* group type is <code>LAMBDA</code>, this is the ARN of a Lambda function. If the target type is
|
|
3511
|
+
* <code>ALB</code>, this is the ARN of an Application Load Balancer.</p>
|
|
3511
3512
|
* @public
|
|
3512
3513
|
*/
|
|
3513
3514
|
id?: string;
|
|
@@ -3521,29 +3522,29 @@ export interface TargetSummary {
|
|
|
3521
3522
|
* <ul>
|
|
3522
3523
|
* <li>
|
|
3523
3524
|
* <p>
|
|
3524
|
-
* <code>
|
|
3525
|
-
* to this target while current connections are being drained.
|
|
3525
|
+
* <code>DRAINING</code>: The target is being deregistered. No new connections are sent
|
|
3526
|
+
* to this target while current connections are being drained. The default draining time is 5
|
|
3526
3527
|
* minutes.</p>
|
|
3527
3528
|
* </li>
|
|
3528
3529
|
* <li>
|
|
3529
3530
|
* <p>
|
|
3530
|
-
* <code>
|
|
3531
|
+
* <code>UNAVAILABLE</code>: Health checks are unavailable for the target group.</p>
|
|
3531
3532
|
* </li>
|
|
3532
3533
|
* <li>
|
|
3533
3534
|
* <p>
|
|
3534
|
-
* <code>
|
|
3535
|
+
* <code>HEALTHY</code>: The target is healthy.</p>
|
|
3535
3536
|
* </li>
|
|
3536
3537
|
* <li>
|
|
3537
3538
|
* <p>
|
|
3538
|
-
* <code>
|
|
3539
|
+
* <code>UNHEALTHY</code>: The target is unhealthy.</p>
|
|
3539
3540
|
* </li>
|
|
3540
3541
|
* <li>
|
|
3541
3542
|
* <p>
|
|
3542
|
-
* <code>
|
|
3543
|
+
* <code>INITIAL</code>: Initial health checks on the target are being performed.</p>
|
|
3543
3544
|
* </li>
|
|
3544
3545
|
* <li>
|
|
3545
3546
|
* <p>
|
|
3546
|
-
* <code>
|
|
3547
|
+
* <code>UNUSED</code>: Target group is not used in a service.</p>
|
|
3547
3548
|
* </li>
|
|
3548
3549
|
* </ul>
|
|
3549
3550
|
* @public
|
|
@@ -3581,7 +3582,7 @@ export interface PutAuthPolicyRequest {
|
|
|
3581
3582
|
*/
|
|
3582
3583
|
resourceIdentifier: string | undefined;
|
|
3583
3584
|
/**
|
|
3584
|
-
* <p>The auth policy.</p>
|
|
3585
|
+
* <p>The auth policy. The policy string in JSON must not contain newlines or blank lines.</p>
|
|
3585
3586
|
* @public
|
|
3586
3587
|
*/
|
|
3587
3588
|
policy: string | undefined;
|
|
@@ -3591,17 +3592,15 @@ export interface PutAuthPolicyRequest {
|
|
|
3591
3592
|
*/
|
|
3592
3593
|
export interface PutAuthPolicyResponse {
|
|
3593
3594
|
/**
|
|
3594
|
-
* <p>The auth policy.</p>
|
|
3595
|
+
* <p>The auth policy. The policy string in JSON must not contain newlines or blank lines.</p>
|
|
3595
3596
|
* @public
|
|
3596
3597
|
*/
|
|
3597
3598
|
policy?: string;
|
|
3598
3599
|
/**
|
|
3599
3600
|
* <p>The state of the auth policy. The auth policy is only active when the auth type is set to
|
|
3600
|
-
*
|
|
3601
|
-
*
|
|
3602
|
-
*
|
|
3603
|
-
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
|
|
3604
|
-
* network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
3601
|
+
* <code>AWS_IAM</code>. If you provide a policy, then authentication and authorization decisions
|
|
3602
|
+
* are made based on this policy and the client's IAM policy. If the Auth type is <code>NONE</code>,
|
|
3603
|
+
* then, any auth policy that you provide remains inactive. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
|
|
3605
3604
|
* @public
|
|
3606
3605
|
*/
|
|
3607
3606
|
state?: AuthPolicyState;
|
|
@@ -3617,7 +3616,8 @@ export interface PutResourcePolicyRequest {
|
|
|
3617
3616
|
*/
|
|
3618
3617
|
resourceArn: string | undefined;
|
|
3619
3618
|
/**
|
|
3620
|
-
* <p>An IAM policy
|
|
3619
|
+
* <p>An IAM policy. The policy string in JSON must not contain newlines or blank
|
|
3620
|
+
* lines.</p>
|
|
3621
3621
|
* @public
|
|
3622
3622
|
*/
|
|
3623
3623
|
policy: string | undefined;
|
|
@@ -3712,7 +3712,7 @@ export interface UpdateServiceRequest {
|
|
|
3712
3712
|
*/
|
|
3713
3713
|
serviceIdentifier: string | undefined;
|
|
3714
3714
|
/**
|
|
3715
|
-
* <p>The Amazon Resource Name (ARN) of the certificate
|
|
3715
|
+
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
|
|
3716
3716
|
* @public
|
|
3717
3717
|
*/
|
|
3718
3718
|
certificateArn?: string;
|
|
@@ -3757,7 +3757,7 @@ export interface UpdateServiceResponse {
|
|
|
3757
3757
|
*/
|
|
3758
3758
|
customDomainName?: string;
|
|
3759
3759
|
/**
|
|
3760
|
-
* <p>The Amazon Resource Name (ARN) of the certificate
|
|
3760
|
+
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
|
|
3761
3761
|
* @public
|
|
3762
3762
|
*/
|
|
3763
3763
|
certificateArn?: string;
|
|
@@ -3827,7 +3827,7 @@ export interface UpdateServiceNetworkVpcAssociationRequest {
|
|
|
3827
3827
|
*/
|
|
3828
3828
|
serviceNetworkVpcAssociationIdentifier: string | undefined;
|
|
3829
3829
|
/**
|
|
3830
|
-
* <p>The IDs of the security groups
|
|
3830
|
+
* <p>The IDs of the security groups.</p>
|
|
3831
3831
|
* @public
|
|
3832
3832
|
*/
|
|
3833
3833
|
securityGroupIds: string[] | undefined;
|
|
@@ -299,6 +299,7 @@ export interface BatchUpdateRuleResponse {
|
|
|
299
299
|
export declare const ListenerProtocol: {
|
|
300
300
|
readonly HTTP: "HTTP";
|
|
301
301
|
readonly HTTPS: "HTTPS";
|
|
302
|
+
readonly TLS_PASSTHROUGH: "TLS_PASSTHROUGH";
|
|
302
303
|
};
|
|
303
304
|
export type ListenerProtocol =
|
|
304
305
|
(typeof ListenerProtocol)[keyof typeof ListenerProtocol];
|
|
@@ -459,6 +460,7 @@ export declare namespace Matcher {
|
|
|
459
460
|
export declare const TargetGroupProtocol: {
|
|
460
461
|
readonly HTTP: "HTTP";
|
|
461
462
|
readonly HTTPS: "HTTPS";
|
|
463
|
+
readonly TCP: "TCP";
|
|
462
464
|
};
|
|
463
465
|
export type TargetGroupProtocol =
|
|
464
466
|
(typeof TargetGroupProtocol)[keyof typeof TargetGroupProtocol];
|
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.575.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-vpc-lattice",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.575.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.575.0",
|
|
25
|
+
"@aws-sdk/core": "3.575.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.575.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.575.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.575.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.575.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.575.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.575.0",
|
|
32
|
+
"@aws-sdk/types": "3.575.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.575.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.575.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.575.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.0",
|
|
37
|
+
"@smithy/core": "^2.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.0.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^3.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^3.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^3.0.0",
|
|
50
|
+
"@smithy/types": "^3.0.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.0",
|
|
52
|
+
"@smithy/util-base64": "^3.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.0",
|
|
59
|
+
"@smithy/util-retry": "^3.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|
|
63
63
|
},
|