@aws-sdk/client-ec2 3.89.0 → 3.90.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_ec2.js +7 -0
- package/dist-es/protocols/Aws_ec2.js +7 -0
- package/dist-types/EC2.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +9 -1
- package/dist-types/ts3.4/models/models_1.d.ts +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-ec2:** This release introduces a target type Gateway Load Balancer Endpoint for mirrored traffic. Customers can now specify GatewayLoadBalancerEndpoint option during the creation of a traffic mirror target. ([ed7b520](https://github.com/aws/aws-sdk-js-v3/commit/ed7b5208c5072a12a20e7080e84ac9e3091b6f99))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.89.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.88.0...v3.89.0) (2022-05-11)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -27136,6 +27136,9 @@ const serializeAws_ec2CreateTrafficMirrorTargetRequest = (input, context) => {
|
|
|
27136
27136
|
if (input.ClientToken !== undefined && input.ClientToken !== null) {
|
|
27137
27137
|
entries["ClientToken"] = input.ClientToken;
|
|
27138
27138
|
}
|
|
27139
|
+
if (input.GatewayLoadBalancerEndpointId !== undefined && input.GatewayLoadBalancerEndpointId !== null) {
|
|
27140
|
+
entries["GatewayLoadBalancerEndpointId"] = input.GatewayLoadBalancerEndpointId;
|
|
27141
|
+
}
|
|
27139
27142
|
return entries;
|
|
27140
27143
|
};
|
|
27141
27144
|
const serializeAws_ec2CreateTransitGatewayConnectPeerRequest = (input, context) => {
|
|
@@ -62857,6 +62860,7 @@ const deserializeAws_ec2TrafficMirrorTarget = (output, context) => {
|
|
|
62857
62860
|
Description: undefined,
|
|
62858
62861
|
OwnerId: undefined,
|
|
62859
62862
|
Tags: undefined,
|
|
62863
|
+
GatewayLoadBalancerEndpointId: undefined,
|
|
62860
62864
|
};
|
|
62861
62865
|
if (output["trafficMirrorTargetId"] !== undefined) {
|
|
62862
62866
|
contents.TrafficMirrorTargetId = (0, smithy_client_1.expectString)(output["trafficMirrorTargetId"]);
|
|
@@ -62882,6 +62886,9 @@ const deserializeAws_ec2TrafficMirrorTarget = (output, context) => {
|
|
|
62882
62886
|
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62883
62887
|
contents.Tags = deserializeAws_ec2TagList((0, smithy_client_1.getArrayIfSingleItem)(output["tagSet"]["item"]), context);
|
|
62884
62888
|
}
|
|
62889
|
+
if (output["gatewayLoadBalancerEndpointId"] !== undefined) {
|
|
62890
|
+
contents.GatewayLoadBalancerEndpointId = (0, smithy_client_1.expectString)(output["gatewayLoadBalancerEndpointId"]);
|
|
62891
|
+
}
|
|
62885
62892
|
return contents;
|
|
62886
62893
|
};
|
|
62887
62894
|
const deserializeAws_ec2TrafficMirrorTargetSet = (output, context) => {
|
|
@@ -32429,6 +32429,9 @@ var serializeAws_ec2CreateTrafficMirrorTargetRequest = function (input, context)
|
|
|
32429
32429
|
if (input.ClientToken !== undefined && input.ClientToken !== null) {
|
|
32430
32430
|
entries["ClientToken"] = input.ClientToken;
|
|
32431
32431
|
}
|
|
32432
|
+
if (input.GatewayLoadBalancerEndpointId !== undefined && input.GatewayLoadBalancerEndpointId !== null) {
|
|
32433
|
+
entries["GatewayLoadBalancerEndpointId"] = input.GatewayLoadBalancerEndpointId;
|
|
32434
|
+
}
|
|
32432
32435
|
return entries;
|
|
32433
32436
|
};
|
|
32434
32437
|
var serializeAws_ec2CreateTransitGatewayConnectPeerRequest = function (input, context) {
|
|
@@ -70980,6 +70983,7 @@ var deserializeAws_ec2TrafficMirrorTarget = function (output, context) {
|
|
|
70980
70983
|
Description: undefined,
|
|
70981
70984
|
OwnerId: undefined,
|
|
70982
70985
|
Tags: undefined,
|
|
70986
|
+
GatewayLoadBalancerEndpointId: undefined,
|
|
70983
70987
|
};
|
|
70984
70988
|
if (output["trafficMirrorTargetId"] !== undefined) {
|
|
70985
70989
|
contents.TrafficMirrorTargetId = __expectString(output["trafficMirrorTargetId"]);
|
|
@@ -71005,6 +71009,9 @@ var deserializeAws_ec2TrafficMirrorTarget = function (output, context) {
|
|
|
71005
71009
|
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71006
71010
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71007
71011
|
}
|
|
71012
|
+
if (output["gatewayLoadBalancerEndpointId"] !== undefined) {
|
|
71013
|
+
contents.GatewayLoadBalancerEndpointId = __expectString(output["gatewayLoadBalancerEndpointId"]);
|
|
71014
|
+
}
|
|
71008
71015
|
return contents;
|
|
71009
71016
|
};
|
|
71010
71017
|
var deserializeAws_ec2TrafficMirrorTargetSet = function (output, context) {
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -1800,7 +1800,7 @@ export declare class EC2 extends EC2Client {
|
|
|
1800
1800
|
* <p>A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and
|
|
1801
1801
|
* the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in
|
|
1802
1802
|
* different VPCs connected via VPC peering or a transit gateway.</p>
|
|
1803
|
-
* <p>A Traffic Mirror target can be a network interface, or a
|
|
1803
|
+
* <p>A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.</p>
|
|
1804
1804
|
* <p>To use the target in a Traffic Mirror session, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorSession.htm">CreateTrafficMirrorSession</a>.</p>
|
|
1805
1805
|
*/
|
|
1806
1806
|
createTrafficMirrorTarget(args: CreateTrafficMirrorTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrafficMirrorTargetCommandOutput>;
|
|
@@ -11,7 +11,7 @@ export interface CreateTrafficMirrorTargetCommandOutput extends CreateTrafficMir
|
|
|
11
11
|
* <p>A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and
|
|
12
12
|
* the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in
|
|
13
13
|
* different VPCs connected via VPC peering or a transit gateway.</p>
|
|
14
|
-
* <p>A Traffic Mirror target can be a network interface, or a
|
|
14
|
+
* <p>A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.</p>
|
|
15
15
|
* <p>To use the target in a Traffic Mirror session, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorSession.htm">CreateTrafficMirrorSession</a>.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8160,6 +8160,10 @@ export interface CreateTrafficMirrorTargetRequest {
|
|
|
8160
8160
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
|
|
8161
8161
|
*/
|
|
8162
8162
|
ClientToken?: string;
|
|
8163
|
+
/**
|
|
8164
|
+
* <p>The ID of the Gateway Load Balancer endpoint.</p>
|
|
8165
|
+
*/
|
|
8166
|
+
GatewayLoadBalancerEndpointId?: string;
|
|
8163
8167
|
}
|
|
8164
8168
|
export declare namespace CreateTrafficMirrorTargetRequest {
|
|
8165
8169
|
/**
|
|
@@ -8167,7 +8171,7 @@ export declare namespace CreateTrafficMirrorTargetRequest {
|
|
|
8167
8171
|
*/
|
|
8168
8172
|
const filterSensitiveLog: (obj: CreateTrafficMirrorTargetRequest) => any;
|
|
8169
8173
|
}
|
|
8170
|
-
export declare type TrafficMirrorTargetType = "network-interface" | "network-load-balancer";
|
|
8174
|
+
export declare type TrafficMirrorTargetType = "gateway-load-balancer-endpoint" | "network-interface" | "network-load-balancer";
|
|
8171
8175
|
/**
|
|
8172
8176
|
* <p>Describes a Traffic Mirror target.</p>
|
|
8173
8177
|
*/
|
|
@@ -8200,6 +8204,10 @@ export interface TrafficMirrorTarget {
|
|
|
8200
8204
|
* <p>The tags assigned to the Traffic Mirror target.</p>
|
|
8201
8205
|
*/
|
|
8202
8206
|
Tags?: Tag[];
|
|
8207
|
+
/**
|
|
8208
|
+
* <p>The ID of the Gateway Load Balancer endpoint.</p>
|
|
8209
|
+
*/
|
|
8210
|
+
GatewayLoadBalancerEndpointId?: string;
|
|
8203
8211
|
}
|
|
8204
8212
|
export declare namespace TrafficMirrorTarget {
|
|
8205
8213
|
/**
|
|
@@ -3753,12 +3753,14 @@ export interface CreateTrafficMirrorTargetRequest {
|
|
|
3753
3753
|
DryRun?: boolean;
|
|
3754
3754
|
|
|
3755
3755
|
ClientToken?: string;
|
|
3756
|
+
|
|
3757
|
+
GatewayLoadBalancerEndpointId?: string;
|
|
3756
3758
|
}
|
|
3757
3759
|
export declare namespace CreateTrafficMirrorTargetRequest {
|
|
3758
3760
|
|
|
3759
3761
|
const filterSensitiveLog: (obj: CreateTrafficMirrorTargetRequest) => any;
|
|
3760
3762
|
}
|
|
3761
|
-
export declare type TrafficMirrorTargetType = "network-interface" | "network-load-balancer";
|
|
3763
|
+
export declare type TrafficMirrorTargetType = "gateway-load-balancer-endpoint" | "network-interface" | "network-load-balancer";
|
|
3762
3764
|
|
|
3763
3765
|
export interface TrafficMirrorTarget {
|
|
3764
3766
|
|
|
@@ -3775,6 +3777,8 @@ export interface TrafficMirrorTarget {
|
|
|
3775
3777
|
OwnerId?: string;
|
|
3776
3778
|
|
|
3777
3779
|
Tags?: Tag[];
|
|
3780
|
+
|
|
3781
|
+
GatewayLoadBalancerEndpointId?: string;
|
|
3778
3782
|
}
|
|
3779
3783
|
export declare namespace TrafficMirrorTarget {
|
|
3780
3784
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.90.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",
|