@aws-sdk/client-ec2 3.163.0 → 3.167.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 +30 -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 +14 -14
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowLogsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
- package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +40 -33
- package/dist-types/models/models_2.d.ts +1 -1
- package/dist-types/models/models_3.d.ts +12 -13
- package/dist-types/models/models_4.d.ts +1 -1
- package/dist-types/models/models_5.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +3 -1
- package/dist-types/ts3.4/models/models_3.d.ts +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.167.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.166.0...v3.167.0) (2022-09-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-ec2:** This release adds support to send VPC Flow Logs to kinesis-data-firehose as new destination type ([aa03c47](https://github.com/aws/aws-sdk-js-v3/commit/aa03c472758ead17d235499a496ea7613eb0f2ce))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.166.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.165.0...v3.166.0) (2022-09-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-ec2:** Documentation updates for Amazon EC2. ([234c407](https://github.com/aws/aws-sdk-js-v3/commit/234c40716996fc0b9b6904740c2bce44ff21ed7e))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-ec2
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-ec2
|
|
@@ -23743,6 +23743,9 @@ const serializeAws_ec2CreateFlowLogsRequest = (input, context) => {
|
|
|
23743
23743
|
if (input.DeliverLogsPermissionArn != null) {
|
|
23744
23744
|
entries["DeliverLogsPermissionArn"] = input.DeliverLogsPermissionArn;
|
|
23745
23745
|
}
|
|
23746
|
+
if (input.DeliverCrossAccountRole != null) {
|
|
23747
|
+
entries["DeliverCrossAccountRole"] = input.DeliverCrossAccountRole;
|
|
23748
|
+
}
|
|
23746
23749
|
if (input.LogGroupName != null) {
|
|
23747
23750
|
entries["LogGroupName"] = input.LogGroupName;
|
|
23748
23751
|
}
|
|
@@ -48535,6 +48538,7 @@ const deserializeAws_ec2FlowLog = (output, context) => {
|
|
|
48535
48538
|
CreationTime: undefined,
|
|
48536
48539
|
DeliverLogsErrorMessage: undefined,
|
|
48537
48540
|
DeliverLogsPermissionArn: undefined,
|
|
48541
|
+
DeliverCrossAccountRole: undefined,
|
|
48538
48542
|
DeliverLogsStatus: undefined,
|
|
48539
48543
|
FlowLogId: undefined,
|
|
48540
48544
|
FlowLogStatus: undefined,
|
|
@@ -48557,6 +48561,9 @@ const deserializeAws_ec2FlowLog = (output, context) => {
|
|
|
48557
48561
|
if (output["deliverLogsPermissionArn"] !== undefined) {
|
|
48558
48562
|
contents.DeliverLogsPermissionArn = (0, smithy_client_1.expectString)(output["deliverLogsPermissionArn"]);
|
|
48559
48563
|
}
|
|
48564
|
+
if (output["deliverCrossAccountRole"] !== undefined) {
|
|
48565
|
+
contents.DeliverCrossAccountRole = (0, smithy_client_1.expectString)(output["deliverCrossAccountRole"]);
|
|
48566
|
+
}
|
|
48560
48567
|
if (output["deliverLogsStatus"] !== undefined) {
|
|
48561
48568
|
contents.DeliverLogsStatus = (0, smithy_client_1.expectString)(output["deliverLogsStatus"]);
|
|
48562
48569
|
}
|
|
@@ -29599,6 +29599,9 @@ var serializeAws_ec2CreateFlowLogsRequest = function (input, context) {
|
|
|
29599
29599
|
if (input.DeliverLogsPermissionArn != null) {
|
|
29600
29600
|
entries["DeliverLogsPermissionArn"] = input.DeliverLogsPermissionArn;
|
|
29601
29601
|
}
|
|
29602
|
+
if (input.DeliverCrossAccountRole != null) {
|
|
29603
|
+
entries["DeliverCrossAccountRole"] = input.DeliverCrossAccountRole;
|
|
29604
|
+
}
|
|
29602
29605
|
if (input.LogGroupName != null) {
|
|
29603
29606
|
entries["LogGroupName"] = input.LogGroupName;
|
|
29604
29607
|
}
|
|
@@ -57316,6 +57319,7 @@ var deserializeAws_ec2FlowLog = function (output, context) {
|
|
|
57316
57319
|
CreationTime: undefined,
|
|
57317
57320
|
DeliverLogsErrorMessage: undefined,
|
|
57318
57321
|
DeliverLogsPermissionArn: undefined,
|
|
57322
|
+
DeliverCrossAccountRole: undefined,
|
|
57319
57323
|
DeliverLogsStatus: undefined,
|
|
57320
57324
|
FlowLogId: undefined,
|
|
57321
57325
|
FlowLogStatus: undefined,
|
|
@@ -57338,6 +57342,9 @@ var deserializeAws_ec2FlowLog = function (output, context) {
|
|
|
57338
57342
|
if (output["deliverLogsPermissionArn"] !== undefined) {
|
|
57339
57343
|
contents.DeliverLogsPermissionArn = __expectString(output["deliverLogsPermissionArn"]);
|
|
57340
57344
|
}
|
|
57345
|
+
if (output["deliverCrossAccountRole"] !== undefined) {
|
|
57346
|
+
contents.DeliverCrossAccountRole = __expectString(output["deliverCrossAccountRole"]);
|
|
57347
|
+
}
|
|
57341
57348
|
if (output["deliverLogsStatus"] !== undefined) {
|
|
57342
57349
|
contents.DeliverLogsStatus = __expectString(output["deliverLogsStatus"]);
|
|
57343
57350
|
}
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -858,7 +858,7 @@ export declare class EC2 extends EC2Client {
|
|
|
858
858
|
associateVpcCidrBlock(args: AssociateVpcCidrBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateVpcCidrBlockCommandOutput) => void): void;
|
|
859
859
|
/**
|
|
860
860
|
* <note>
|
|
861
|
-
* <p>We are retiring EC2-Classic
|
|
861
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
862
862
|
* </note>
|
|
863
863
|
* <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
|
|
864
864
|
* security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You
|
|
@@ -1231,7 +1231,7 @@ export declare class EC2 extends EC2Client {
|
|
|
1231
1231
|
* that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
|
|
1232
1232
|
* FAQ</a>.</p>
|
|
1233
1233
|
* <note>
|
|
1234
|
-
* <p>We are retiring EC2-Classic
|
|
1234
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1235
1235
|
* </note>
|
|
1236
1236
|
*/
|
|
1237
1237
|
createDefaultVpc(args: CreateDefaultVpcCommandInput, options?: __HttpHandlerOptions): Promise<CreateDefaultVpcCommandOutput>;
|
|
@@ -2789,7 +2789,7 @@ export declare class EC2 extends EC2Client {
|
|
|
2789
2789
|
* information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
|
|
2790
2790
|
* use this request to return information about other instances.</p>
|
|
2791
2791
|
* <note>
|
|
2792
|
-
* <p>We are retiring EC2-Classic
|
|
2792
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2793
2793
|
* </note>
|
|
2794
2794
|
*/
|
|
2795
2795
|
describeClassicLinkInstances(args: DescribeClassicLinkInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClassicLinkInstancesCommandOutput>;
|
|
@@ -2919,9 +2919,9 @@ export declare class EC2 extends EC2Client {
|
|
|
2919
2919
|
describeFleets(args: DescribeFleetsCommandInput, cb: (err: any, data?: DescribeFleetsCommandOutput) => void): void;
|
|
2920
2920
|
describeFleets(args: DescribeFleetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFleetsCommandOutput) => void): void;
|
|
2921
2921
|
/**
|
|
2922
|
-
* <p>Describes one or more flow logs
|
|
2923
|
-
*
|
|
2924
|
-
*
|
|
2922
|
+
* <p>Describes one or more flow logs.</p>
|
|
2923
|
+
* <p>To view the published flow log records, you must view the log destination. For example,
|
|
2924
|
+
* the CloudWatch Logs log group, the Amazon S3 bucket, or the Kinesis Data Firehose delivery stream.</p>
|
|
2925
2925
|
*/
|
|
2926
2926
|
describeFlowLogs(args: DescribeFlowLogsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowLogsCommandOutput>;
|
|
2927
2927
|
describeFlowLogs(args: DescribeFlowLogsCommandInput, cb: (err: any, data?: DescribeFlowLogsCommandOutput) => void): void;
|
|
@@ -3855,7 +3855,7 @@ export declare class EC2 extends EC2Client {
|
|
|
3855
3855
|
/**
|
|
3856
3856
|
* <p>Describes the ClassicLink status of one or more VPCs.</p>
|
|
3857
3857
|
* <note>
|
|
3858
|
-
* <p>We are retiring EC2-Classic
|
|
3858
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3859
3859
|
* </note>
|
|
3860
3860
|
*/
|
|
3861
3861
|
describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcClassicLinkCommandOutput>;
|
|
@@ -3863,7 +3863,7 @@ export declare class EC2 extends EC2Client {
|
|
|
3863
3863
|
describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcClassicLinkCommandOutput) => void): void;
|
|
3864
3864
|
/**
|
|
3865
3865
|
* <note>
|
|
3866
|
-
* <p>We are retiring EC2-Classic
|
|
3866
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3867
3867
|
* </note>
|
|
3868
3868
|
* <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
|
|
3869
3869
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
@@ -3950,7 +3950,7 @@ export declare class EC2 extends EC2Client {
|
|
|
3950
3950
|
describeVpnGateways(args: DescribeVpnGatewaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpnGatewaysCommandOutput) => void): void;
|
|
3951
3951
|
/**
|
|
3952
3952
|
* <note>
|
|
3953
|
-
* <p>We are retiring EC2-Classic
|
|
3953
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3954
3954
|
* </note>
|
|
3955
3955
|
* <p>Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped.</p>
|
|
3956
3956
|
*/
|
|
@@ -4068,7 +4068,7 @@ export declare class EC2 extends EC2Client {
|
|
|
4068
4068
|
/**
|
|
4069
4069
|
* <p>Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.</p>
|
|
4070
4070
|
* <note>
|
|
4071
|
-
* <p>We are retiring EC2-Classic
|
|
4071
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4072
4072
|
* </note>
|
|
4073
4073
|
*/
|
|
4074
4074
|
disableVpcClassicLink(args: DisableVpcClassicLinkCommandInput, options?: __HttpHandlerOptions): Promise<DisableVpcClassicLinkCommandOutput>;
|
|
@@ -4082,7 +4082,7 @@ export declare class EC2 extends EC2Client {
|
|
|
4082
4082
|
* <p>You must specify a VPC ID in the request.</p>
|
|
4083
4083
|
*
|
|
4084
4084
|
* <note>
|
|
4085
|
-
* <p>We are retiring EC2-Classic
|
|
4085
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4086
4086
|
* </note>
|
|
4087
4087
|
*/
|
|
4088
4088
|
disableVpcClassicLinkDnsSupport(args: DisableVpcClassicLinkDnsSupportCommandInput, options?: __HttpHandlerOptions): Promise<DisableVpcClassicLinkDnsSupportCommandOutput>;
|
|
@@ -4292,7 +4292,7 @@ export declare class EC2 extends EC2Client {
|
|
|
4292
4292
|
enableVolumeIO(args: EnableVolumeIOCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableVolumeIOCommandOutput) => void): void;
|
|
4293
4293
|
/**
|
|
4294
4294
|
* <note>
|
|
4295
|
-
* <p>We are retiring EC2-Classic
|
|
4295
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4296
4296
|
* </note>
|
|
4297
4297
|
* <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
|
|
4298
4298
|
* ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
|
|
@@ -4307,7 +4307,7 @@ export declare class EC2 extends EC2Client {
|
|
|
4307
4307
|
enableVpcClassicLink(args: EnableVpcClassicLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableVpcClassicLinkCommandOutput) => void): void;
|
|
4308
4308
|
/**
|
|
4309
4309
|
* <note>
|
|
4310
|
-
* <p>We are retiring EC2-Classic
|
|
4310
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4311
4311
|
* </note>
|
|
4312
4312
|
* <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
|
|
4313
4313
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
@@ -5336,7 +5336,7 @@ export declare class EC2 extends EC2Client {
|
|
|
5336
5336
|
modifyVpcEndpointServicePermissions(args: ModifyVpcEndpointServicePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyVpcEndpointServicePermissionsCommandOutput) => void): void;
|
|
5337
5337
|
/**
|
|
5338
5338
|
* <note>
|
|
5339
|
-
* <p>We are retiring EC2-Classic
|
|
5339
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5340
5340
|
* </note>
|
|
5341
5341
|
* <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
|
|
5342
5342
|
* <ul>
|
|
@@ -8,7 +8,7 @@ export interface AttachClassicLinkVpcCommandOutput extends AttachClassicLinkVpcR
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>We are retiring EC2-Classic
|
|
11
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
12
12
|
* </note>
|
|
13
13
|
* <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
|
|
14
14
|
* security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You
|
|
@@ -20,7 +20,7 @@ export interface CreateDefaultVpcCommandOutput extends CreateDefaultVpcResult, _
|
|
|
20
20
|
* that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
|
|
21
21
|
* FAQ</a>.</p>
|
|
22
22
|
* <note>
|
|
23
|
-
* <p>We are retiring EC2-Classic
|
|
23
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
24
24
|
* </note>
|
|
25
25
|
* @example
|
|
26
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,7 +11,7 @@ export interface DescribeClassicLinkInstancesCommandOutput extends DescribeClass
|
|
|
11
11
|
* information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
|
|
12
12
|
* use this request to return information about other instances.</p>
|
|
13
13
|
* <note>
|
|
14
|
-
* <p>We are retiring EC2-Classic
|
|
14
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
15
15
|
* </note>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,9 +7,9 @@ export interface DescribeFlowLogsCommandInput extends DescribeFlowLogsRequest {
|
|
|
7
7
|
export interface DescribeFlowLogsCommandOutput extends DescribeFlowLogsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Describes one or more flow logs
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* <p>Describes one or more flow logs.</p>
|
|
11
|
+
* <p>To view the published flow log records, you must view the log destination. For example,
|
|
12
|
+
* the CloudWatch Logs log group, the Amazon S3 bucket, or the Kinesis Data Firehose delivery stream.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface DescribeVpcClassicLinkCommandOutput extends DescribeVpcClassicL
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Describes the ClassicLink status of one or more VPCs.</p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>We are retiring EC2-Classic
|
|
12
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
13
13
|
* </note>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,7 +8,7 @@ export interface DescribeVpcClassicLinkDnsSupportCommandOutput extends DescribeV
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>We are retiring EC2-Classic
|
|
11
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
12
12
|
* </note>
|
|
13
13
|
* <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
|
|
14
14
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
@@ -8,7 +8,7 @@ export interface DetachClassicLinkVpcCommandOutput extends DetachClassicLinkVpcR
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>We are retiring EC2-Classic
|
|
11
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
12
12
|
* </note>
|
|
13
13
|
* <p>Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped.</p>
|
|
14
14
|
* @example
|
|
@@ -9,7 +9,7 @@ export interface DisableVpcClassicLinkCommandOutput extends DisableVpcClassicLin
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.</p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>We are retiring EC2-Classic
|
|
12
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
13
13
|
* </note>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -14,7 +14,7 @@ export interface DisableVpcClassicLinkDnsSupportCommandOutput extends DisableVpc
|
|
|
14
14
|
* <p>You must specify a VPC ID in the request.</p>
|
|
15
15
|
*
|
|
16
16
|
* <note>
|
|
17
|
-
* <p>We are retiring EC2-Classic
|
|
17
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
18
18
|
* </note>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,7 +8,7 @@ export interface EnableVpcClassicLinkCommandOutput extends EnableVpcClassicLinkR
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>We are retiring EC2-Classic
|
|
11
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
12
12
|
* </note>
|
|
13
13
|
* <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
|
|
14
14
|
* ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
|
|
@@ -8,7 +8,7 @@ export interface EnableVpcClassicLinkDnsSupportCommandOutput extends EnableVpcCl
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>We are retiring EC2-Classic
|
|
11
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
12
12
|
* </note>
|
|
13
13
|
* <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
|
|
14
14
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
@@ -8,7 +8,7 @@ export interface ModifyVpcPeeringConnectionOptionsCommandOutput extends ModifyVp
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>We are retiring EC2-Classic
|
|
11
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
12
12
|
* </note>
|
|
13
13
|
* <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
|
|
14
14
|
* <ul>
|
|
@@ -480,7 +480,7 @@ export interface Ipv6CidrBlock {
|
|
|
480
480
|
}
|
|
481
481
|
/**
|
|
482
482
|
* <note>
|
|
483
|
-
* <p>We are retiring EC2-Classic
|
|
483
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
484
484
|
* </note>
|
|
485
485
|
* <p>Describes the VPC peering connection options.</p>
|
|
486
486
|
*/
|
|
@@ -1302,7 +1302,7 @@ export interface AdvertiseByoipCidrResult {
|
|
|
1302
1302
|
ByoipCidr?: ByoipCidr;
|
|
1303
1303
|
}
|
|
1304
1304
|
export declare type Affinity = "default" | "host";
|
|
1305
|
-
export declare type ResourceType = "capacity-reservation" | "capacity-reservation-fleet" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-filter-rule" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection-device-type" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
|
|
1305
|
+
export declare type ResourceType = "capacity-reservation" | "capacity-reservation-fleet" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-filter-rule" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection-device-type" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-connection-device-type" | "vpn-gateway";
|
|
1306
1306
|
/**
|
|
1307
1307
|
* <p>The tags to apply to a resource when the resource is being created.</p>
|
|
1308
1308
|
* <note>
|
|
@@ -1501,7 +1501,7 @@ export interface DestinationOptionsRequest {
|
|
|
1501
1501
|
*/
|
|
1502
1502
|
PerHourPartition?: boolean;
|
|
1503
1503
|
}
|
|
1504
|
-
export declare type LogDestinationType = "cloud-watch-logs" | "s3";
|
|
1504
|
+
export declare type LogDestinationType = "cloud-watch-logs" | "kinesis-data-firehose" | "s3";
|
|
1505
1505
|
export declare type FlowLogsResourceType = "NetworkInterface" | "Subnet" | "TransitGateway" | "TransitGatewayAttachment" | "VPC";
|
|
1506
1506
|
export declare type TrafficType = "ACCEPT" | "ALL" | "REJECT";
|
|
1507
1507
|
export interface CreateFlowLogsRequest {
|
|
@@ -1518,63 +1518,70 @@ export interface CreateFlowLogsRequest {
|
|
|
1518
1518
|
*/
|
|
1519
1519
|
ClientToken?: string;
|
|
1520
1520
|
/**
|
|
1521
|
-
* <p>The ARN
|
|
1522
|
-
*
|
|
1523
|
-
* <p>
|
|
1524
|
-
*
|
|
1521
|
+
* <p>The ARN of the IAM role that allows Amazon EC2 to publish flow logs to a CloudWatch Logs log group in
|
|
1522
|
+
* your account.</p>
|
|
1523
|
+
* <p>This parameter is required if the destination type is <code>cloud-watch-logs</code>
|
|
1524
|
+
* and unsupported otherwise.</p>
|
|
1525
1525
|
*/
|
|
1526
1526
|
DeliverLogsPermissionArn?: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* <p>The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.</p>
|
|
1529
|
+
*/
|
|
1530
|
+
DeliverCrossAccountRole?: string;
|
|
1527
1531
|
/**
|
|
1528
1532
|
* <p>The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.</p>
|
|
1529
|
-
* <p>
|
|
1530
|
-
* <code>DeliverLogsPermissionArn</code> or <code>LogGroupName</code>.</p>
|
|
1533
|
+
* <p>This parameter is valid only if the destination type is <code>cloud-watch-logs</code>.</p>
|
|
1531
1534
|
*/
|
|
1532
1535
|
LogGroupName?: string;
|
|
1533
1536
|
/**
|
|
1534
|
-
* <p>The
|
|
1537
|
+
* <p>The IDs of the resources to monitor. For example, if the resource type is
|
|
1538
|
+
* <code>VPC</code>, specify the IDs of the VPCs.</p>
|
|
1535
1539
|
* <p>Constraints: Maximum of 1000 resources</p>
|
|
1536
1540
|
*/
|
|
1537
1541
|
ResourceIds: string[] | undefined;
|
|
1538
1542
|
/**
|
|
1539
|
-
* <p>The type of resource
|
|
1540
|
-
* the <code>ResourceId</code> property, specify <code>VPC</code> for this property.</p>
|
|
1543
|
+
* <p>The type of resource to monitor.</p>
|
|
1541
1544
|
*/
|
|
1542
1545
|
ResourceType: FlowLogsResourceType | string | undefined;
|
|
1543
1546
|
/**
|
|
1544
|
-
* <p>The type of traffic to
|
|
1547
|
+
* <p>The type of traffic to monitor (accepted traffic, rejected traffic, or all
|
|
1548
|
+
* traffic).</p>
|
|
1545
1549
|
*/
|
|
1546
1550
|
TrafficType?: TrafficType | string;
|
|
1547
1551
|
/**
|
|
1548
|
-
* <p>The type of destination
|
|
1549
|
-
* published to CloudWatch Logs or Amazon S3. To publish flow log data to CloudWatch Logs, specify <code>cloud-watch-logs</code>. To
|
|
1550
|
-
* publish flow log data to Amazon S3, specify <code>s3</code>.</p>
|
|
1551
|
-
* <p>If you specify <code>LogDestinationType</code> as <code>s3</code>, do not specify
|
|
1552
|
-
* <code>DeliverLogsPermissionArn</code> or <code>LogGroupName</code>.</p>
|
|
1552
|
+
* <p>The type of destination for the flow log data.</p>
|
|
1553
1553
|
* <p>Default: <code>cloud-watch-logs</code>
|
|
1554
1554
|
* </p>
|
|
1555
1555
|
*/
|
|
1556
1556
|
LogDestinationType?: LogDestinationType | string;
|
|
1557
1557
|
/**
|
|
1558
|
-
* <p>The destination
|
|
1559
|
-
*
|
|
1560
|
-
*
|
|
1561
|
-
*
|
|
1562
|
-
*
|
|
1563
|
-
*
|
|
1564
|
-
*
|
|
1565
|
-
*
|
|
1566
|
-
*
|
|
1567
|
-
*
|
|
1568
|
-
*
|
|
1569
|
-
*
|
|
1570
|
-
*
|
|
1558
|
+
* <p>The destination for the flow log data. The meaning of this parameter depends on the destination type.</p>
|
|
1559
|
+
* <ul>
|
|
1560
|
+
* <li>
|
|
1561
|
+
* <p>If the destination type is <code>cloud-watch-logs</code>, specify the ARN of a CloudWatch Logs log group. For example:</p>
|
|
1562
|
+
* <p>arn:aws:logs:<i>region</i>:<i>account_id</i>:log-group:<i>my_group</i>
|
|
1563
|
+
* </p>
|
|
1564
|
+
* <p>Alternatively, use the <code>LogGroupName</code> parameter.</p>
|
|
1565
|
+
* </li>
|
|
1566
|
+
* <li>
|
|
1567
|
+
* <p>If the destination type is <code>s3</code>, specify the ARN of an S3 bucket. For example:</p>
|
|
1568
|
+
* <p>arn:aws:s3:::<i>my_bucket</i>/<i>my_subfolder</i>/</p>
|
|
1569
|
+
* <p>The subfolder is optional. Note that you can't use <code>AWSLogs</code> as a subfolder name.</p>
|
|
1570
|
+
* </li>
|
|
1571
|
+
* <li>
|
|
1572
|
+
* <p>If the destination type is <code>kinesis-data-firehose</code>, specify the ARN of a Kinesis Data Firehose delivery stream. For example:</p>
|
|
1573
|
+
* <p>arn:aws:firehose:<i>region</i>:<i>account_id</i>:deliverystream:<i>my_stream</i>
|
|
1574
|
+
* </p>
|
|
1575
|
+
* </li>
|
|
1576
|
+
* </ul>
|
|
1571
1577
|
*/
|
|
1572
1578
|
LogDestination?: string;
|
|
1573
1579
|
/**
|
|
1574
|
-
* <p>The fields to include in the flow log record
|
|
1575
|
-
* appear. For
|
|
1576
|
-
*
|
|
1577
|
-
* you must
|
|
1580
|
+
* <p>The fields to include in the flow log record. List the fields in the order in which
|
|
1581
|
+
* they should appear. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log
|
|
1582
|
+
* records</a>. If you omit this parameter, the flow log is created using the
|
|
1583
|
+
* default format. If you specify this parameter, you must include at least one
|
|
1584
|
+
* field.</p>
|
|
1578
1585
|
* <p>Specify the fields using the <code>${field-id}</code> format, separated by spaces. For
|
|
1579
1586
|
* the CLI, surround this parameter value with single quotes on Linux or
|
|
1580
1587
|
* double quotes on Windows.</p>
|
|
@@ -5078,7 +5078,7 @@ export interface DescribeClassicLinkInstancesRequest {
|
|
|
5078
5078
|
}
|
|
5079
5079
|
/**
|
|
5080
5080
|
* <note>
|
|
5081
|
-
* <p>We are retiring EC2-Classic
|
|
5081
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5082
5082
|
* </note>
|
|
5083
5083
|
* <p>Describes a linked EC2-Classic instance.</p>
|
|
5084
5084
|
*/
|
|
@@ -2322,9 +2322,9 @@ export interface DescribeFlowLogsRequest {
|
|
|
2322
2322
|
* </li>
|
|
2323
2323
|
* <li>
|
|
2324
2324
|
* <p>
|
|
2325
|
-
* <code>log-destination-type</code> - The type of destination
|
|
2326
|
-
*
|
|
2327
|
-
*
|
|
2325
|
+
* <code>log-destination-type</code> - The type of destination for the flow log
|
|
2326
|
+
* data (<code>cloud-watch-logs</code> | <code>s3</code> |
|
|
2327
|
+
* <code>kinesis-data-firehose</code>).</p>
|
|
2328
2328
|
* </li>
|
|
2329
2329
|
* <li>
|
|
2330
2330
|
* <p>
|
|
@@ -2405,15 +2405,19 @@ export interface FlowLog {
|
|
|
2405
2405
|
*/
|
|
2406
2406
|
DeliverLogsErrorMessage?: string;
|
|
2407
2407
|
/**
|
|
2408
|
-
* <p>The ARN of the IAM role
|
|
2408
|
+
* <p>The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.</p>
|
|
2409
2409
|
*/
|
|
2410
2410
|
DeliverLogsPermissionArn?: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* <p>The ARN of the IAM role that allows the service to publish flow logs across accounts.</p>
|
|
2413
|
+
*/
|
|
2414
|
+
DeliverCrossAccountRole?: string;
|
|
2411
2415
|
/**
|
|
2412
2416
|
* <p>The status of the logs delivery (<code>SUCCESS</code> | <code>FAILED</code>).</p>
|
|
2413
2417
|
*/
|
|
2414
2418
|
DeliverLogsStatus?: string;
|
|
2415
2419
|
/**
|
|
2416
|
-
* <p>The flow log
|
|
2420
|
+
* <p>The ID of the flow log.</p>
|
|
2417
2421
|
*/
|
|
2418
2422
|
FlowLogId?: string;
|
|
2419
2423
|
/**
|
|
@@ -2425,7 +2429,7 @@ export interface FlowLog {
|
|
|
2425
2429
|
*/
|
|
2426
2430
|
LogGroupName?: string;
|
|
2427
2431
|
/**
|
|
2428
|
-
* <p>The ID of the resource
|
|
2432
|
+
* <p>The ID of the resource being monitored.</p>
|
|
2429
2433
|
*/
|
|
2430
2434
|
ResourceId?: string;
|
|
2431
2435
|
/**
|
|
@@ -2433,16 +2437,11 @@ export interface FlowLog {
|
|
|
2433
2437
|
*/
|
|
2434
2438
|
TrafficType?: TrafficType | string;
|
|
2435
2439
|
/**
|
|
2436
|
-
* <p>The type of destination
|
|
2437
|
-
* published to CloudWatch Logs or Amazon S3.</p>
|
|
2440
|
+
* <p>The type of destination for the flow log data.</p>
|
|
2438
2441
|
*/
|
|
2439
2442
|
LogDestinationType?: LogDestinationType | string;
|
|
2440
2443
|
/**
|
|
2441
|
-
* <p>The
|
|
2442
|
-
* published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs,
|
|
2443
|
-
* this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which
|
|
2444
|
-
* the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN
|
|
2445
|
-
* of the Amazon S3 bucket to which the data is published.</p>
|
|
2444
|
+
* <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
|
|
2446
2445
|
*/
|
|
2447
2446
|
LogDestination?: string;
|
|
2448
2447
|
/**
|
|
@@ -6172,7 +6172,7 @@ export interface DescribeVpcClassicLinkRequest {
|
|
|
6172
6172
|
}
|
|
6173
6173
|
/**
|
|
6174
6174
|
* <note>
|
|
6175
|
-
* <p>We are retiring EC2-Classic
|
|
6175
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
6176
6176
|
* </note>
|
|
6177
6177
|
* <p>Describes whether a VPC is enabled for ClassicLink.</p>
|
|
6178
6178
|
*/
|
|
@@ -5309,7 +5309,7 @@ export interface ModifyVpcEndpointServicePermissionsResult {
|
|
|
5309
5309
|
}
|
|
5310
5310
|
/**
|
|
5311
5311
|
* <note>
|
|
5312
|
-
* <p>We are retiring EC2-Classic
|
|
5312
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5313
5313
|
* </note>
|
|
5314
5314
|
* <p>The VPC peering connection options.</p>
|
|
5315
5315
|
*/
|
|
@@ -5351,7 +5351,7 @@ export interface ModifyVpcPeeringConnectionOptionsRequest {
|
|
|
5351
5351
|
}
|
|
5352
5352
|
/**
|
|
5353
5353
|
* <note>
|
|
5354
|
-
* <p>We are retiring EC2-Classic
|
|
5354
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5355
5355
|
* </note>
|
|
5356
5356
|
* <p>Describes the VPC peering connection options.</p>
|
|
5357
5357
|
*/
|
|
@@ -676,7 +676,7 @@ export interface AdvertiseByoipCidrResult {
|
|
|
676
676
|
ByoipCidr?: ByoipCidr;
|
|
677
677
|
}
|
|
678
678
|
export declare type Affinity = "default" | "host";
|
|
679
|
-
export declare type ResourceType = "capacity-reservation" | "capacity-reservation-fleet" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-filter-rule" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection-device-type" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
|
|
679
|
+
export declare type ResourceType = "capacity-reservation" | "capacity-reservation-fleet" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-filter-rule" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection-device-type" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-connection-device-type" | "vpn-gateway";
|
|
680
680
|
|
|
681
681
|
export interface TagSpecification {
|
|
682
682
|
|
|
@@ -471,7 +471,7 @@ export interface DestinationOptionsRequest {
|
|
|
471
471
|
|
|
472
472
|
PerHourPartition?: boolean;
|
|
473
473
|
}
|
|
474
|
-
export declare type LogDestinationType = "cloud-watch-logs" | "s3";
|
|
474
|
+
export declare type LogDestinationType = "cloud-watch-logs" | "kinesis-data-firehose" | "s3";
|
|
475
475
|
export declare type FlowLogsResourceType = "NetworkInterface" | "Subnet" | "TransitGateway" | "TransitGatewayAttachment" | "VPC";
|
|
476
476
|
export declare type TrafficType = "ACCEPT" | "ALL" | "REJECT";
|
|
477
477
|
export interface CreateFlowLogsRequest {
|
|
@@ -482,6 +482,8 @@ export interface CreateFlowLogsRequest {
|
|
|
482
482
|
|
|
483
483
|
DeliverLogsPermissionArn?: string;
|
|
484
484
|
|
|
485
|
+
DeliverCrossAccountRole?: string;
|
|
486
|
+
|
|
485
487
|
LogGroupName?: string;
|
|
486
488
|
|
|
487
489
|
ResourceIds: string[] | undefined;
|
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.167.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.165.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.163.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.165.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.162.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.162.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.162.0",
|