@aws-sdk/client-ec2 3.682.0 → 3.686.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/README.md +24 -0
- package/dist-cjs/index.js +455 -150
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/AssociateSecurityGroupVpcCommand.js +22 -0
- package/dist-es/commands/DescribeSecurityGroupVpcAssociationsCommand.js +22 -0
- package/dist-es/commands/DisassociateSecurityGroupVpcCommand.js +22 -0
- package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/models/models_3.js +0 -15
- package/dist-es/models/models_4.js +15 -6
- package/dist-es/models/models_5.js +6 -6
- package/dist-es/models/models_6.js +6 -13
- package/dist-es/models/models_7.js +14 -0
- package/dist-es/pagination/DescribeSecurityGroupVpcAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +248 -3
- package/dist-types/EC2.d.ts +22 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +92 -0
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -0
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -0
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -2
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -2
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +90 -0
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +8 -3
- package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +75 -0
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -1
- package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +15 -0
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +53 -254
- package/dist-types/models/models_1.d.ts +259 -111
- package/dist-types/models/models_2.d.ts +117 -72
- package/dist-types/models/models_3.d.ts +72 -58
- package/dist-types/models/models_4.d.ts +179 -182
- package/dist-types/models/models_5.d.ts +205 -139
- package/dist-types/models/models_6.d.ts +134 -316
- package/dist-types/models/models_7.d.ts +389 -6
- package/dist-types/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +58 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -37
- package/dist-types/ts3.4/models/models_1.d.ts +43 -25
- package/dist-types/ts3.4/models/models_2.d.ts +24 -15
- package/dist-types/ts3.4/models/models_3.d.ts +16 -24
- package/dist-types/ts3.4/models/models_4.d.ts +42 -38
- package/dist-types/ts3.4/models/models_5.d.ts +47 -41
- package/dist-types/ts3.4/models/models_6.d.ts +36 -68
- package/dist-types/ts3.4/models/models_7.d.ts +90 -2
- package/dist-types/ts3.4/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +37 -37
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeSpotFleetInstancesRequest, DescribeSpotFleetInstancesResponse } from "../models/
|
|
4
|
+
import { DescribeSpotFleetInstancesRequest, DescribeSpotFleetInstancesResponse } from "../models/models_5";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeSpotFleetRequestHistoryRequest } from "../models/
|
|
5
|
-
import { DescribeSpotFleetRequestHistoryResponse } from "../models/models_5";
|
|
4
|
+
import { DescribeSpotFleetRequestHistoryRequest, DescribeSpotFleetRequestHistoryResponse } from "../models/models_5";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -27,9 +27,14 @@ declare const DescribeStaleSecurityGroupsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the stale security group rules for security groups
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Describes the stale security group rules for security groups referenced across a VPC
|
|
31
|
+
* peering connection, transit gateway connection, or with a security group VPC
|
|
32
|
+
* association. Rules are stale when they reference a deleted security group. Rules can
|
|
33
|
+
* also be stale if they reference a security group in a peer VPC for which the VPC peering
|
|
34
|
+
* connection has been deleted, across a transit gateway where the transit gateway has been
|
|
35
|
+
* deleted (or <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">the transit
|
|
36
|
+
* gateway security group referencing feature</a> has been disabled), or if a
|
|
37
|
+
* security group VPC association has been disassociated.</p>
|
|
33
38
|
* @example
|
|
34
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
40
|
* ```javascript
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { DisassociateSecurityGroupVpcRequest, DisassociateSecurityGroupVpcResult } from "../models/models_5";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateSecurityGroupVpcCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateSecurityGroupVpcCommandInput extends DisassociateSecurityGroupVpcRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateSecurityGroupVpcCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateSecurityGroupVpcCommandOutput extends DisassociateSecurityGroupVpcResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateSecurityGroupVpcCommand_base: {
|
|
25
|
+
new (input: DisassociateSecurityGroupVpcCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSecurityGroupVpcCommandInput, DisassociateSecurityGroupVpcCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DisassociateSecurityGroupVpcCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSecurityGroupVpcCommandInput, DisassociateSecurityGroupVpcCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disassociates a security group from a VPC. You cannot disassociate the security group if any Elastic network interfaces in the associated VPC are still associated with the security group.
|
|
31
|
+
*
|
|
32
|
+
* Note that the disassociation is asynchronous and you can check the status of the request with <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupVpcAssociations.html">DescribeSecurityGroupVpcAssociations</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EC2Client, DisassociateSecurityGroupVpcCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
37
|
+
* // const { EC2Client, DisassociateSecurityGroupVpcCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
|
+
* const client = new EC2Client(config);
|
|
39
|
+
* const input = { // DisassociateSecurityGroupVpcRequest
|
|
40
|
+
* GroupId: "STRING_VALUE", // required
|
|
41
|
+
* VpcId: "STRING_VALUE", // required
|
|
42
|
+
* DryRun: true || false,
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DisassociateSecurityGroupVpcCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DisassociateSecurityGroupVpcResult
|
|
47
|
+
* // State: "associating" || "associated" || "association-failed" || "disassociating" || "disassociated" || "disassociation-failed",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DisassociateSecurityGroupVpcCommandInput - {@link DisassociateSecurityGroupVpcCommandInput}
|
|
53
|
+
* @returns {@link DisassociateSecurityGroupVpcCommandOutput}
|
|
54
|
+
* @see {@link DisassociateSecurityGroupVpcCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DisassociateSecurityGroupVpcCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link EC2ServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class DisassociateSecurityGroupVpcCommand extends DisassociateSecurityGroupVpcCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: DisassociateSecurityGroupVpcRequest;
|
|
68
|
+
output: DisassociateSecurityGroupVpcResult;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: DisassociateSecurityGroupVpcCommandInput;
|
|
72
|
+
output: DisassociateSecurityGroupVpcCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetConsoleOutputRequest
|
|
4
|
+
import { GetConsoleOutputRequest } from "../models/models_5";
|
|
5
|
+
import { GetConsoleOutputResult } from "../models/models_6";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetConsoleScreenshotRequest, GetConsoleScreenshotResult } from "../models/
|
|
4
|
+
import { GetConsoleScreenshotRequest, GetConsoleScreenshotResult } from "../models/models_6";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetDefaultCreditSpecificationRequest, GetDefaultCreditSpecificationResult } from "../models/
|
|
4
|
+
import { GetDefaultCreditSpecificationRequest, GetDefaultCreditSpecificationResult } from "../models/models_6";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetEbsDefaultKmsKeyIdRequest } from "../models/
|
|
5
|
-
import { GetEbsDefaultKmsKeyIdResult } from "../models/models_6";
|
|
4
|
+
import { GetEbsDefaultKmsKeyIdRequest, GetEbsDefaultKmsKeyIdResult } from "../models/models_6";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyVerifiedAccessTrustProviderRequest, ModifyVerifiedAccessTrustProviderResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessTrustProviderRequest, ModifyVerifiedAccessTrustProviderResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyVolumeAttributeRequest } from "../models/
|
|
4
|
+
import { ModifyVolumeAttributeRequest } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyVolumeRequest, ModifyVolumeResult } from "../models/
|
|
4
|
+
import { ModifyVolumeRequest, ModifyVolumeResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyVpcAttributeRequest } from "../models/
|
|
4
|
+
import { ModifyVpcAttributeRequest } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyVpcEndpointRequest, ModifyVpcEndpointResult } from "../models/
|
|
4
|
+
import { ModifyVpcEndpointRequest, ModifyVpcEndpointResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -135,6 +135,21 @@ declare const RevokeSecurityGroupEgressCommand_base: {
|
|
|
135
135
|
* // ],
|
|
136
136
|
* // },
|
|
137
137
|
* // ],
|
|
138
|
+
* // RevokedSecurityGroupRules: [ // RevokedSecurityGroupRuleList
|
|
139
|
+
* // { // RevokedSecurityGroupRule
|
|
140
|
+
* // SecurityGroupRuleId: "STRING_VALUE",
|
|
141
|
+
* // GroupId: "STRING_VALUE",
|
|
142
|
+
* // IsEgress: true || false,
|
|
143
|
+
* // IpProtocol: "STRING_VALUE",
|
|
144
|
+
* // FromPort: Number("int"),
|
|
145
|
+
* // ToPort: Number("int"),
|
|
146
|
+
* // CidrIpv4: "STRING_VALUE",
|
|
147
|
+
* // CidrIpv6: "STRING_VALUE",
|
|
148
|
+
* // PrefixListId: "STRING_VALUE",
|
|
149
|
+
* // ReferencedGroupId: "STRING_VALUE",
|
|
150
|
+
* // Description: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
138
153
|
* // };
|
|
139
154
|
*
|
|
140
155
|
* ```
|
|
@@ -140,6 +140,21 @@ declare const RevokeSecurityGroupIngressCommand_base: {
|
|
|
140
140
|
* // ],
|
|
141
141
|
* // },
|
|
142
142
|
* // ],
|
|
143
|
+
* // RevokedSecurityGroupRules: [ // RevokedSecurityGroupRuleList
|
|
144
|
+
* // { // RevokedSecurityGroupRule
|
|
145
|
+
* // SecurityGroupRuleId: "STRING_VALUE",
|
|
146
|
+
* // GroupId: "STRING_VALUE",
|
|
147
|
+
* // IsEgress: true || false,
|
|
148
|
+
* // IpProtocol: "STRING_VALUE",
|
|
149
|
+
* // FromPort: Number("int"),
|
|
150
|
+
* // ToPort: Number("int"),
|
|
151
|
+
* // CidrIpv4: "STRING_VALUE",
|
|
152
|
+
* // CidrIpv6: "STRING_VALUE",
|
|
153
|
+
* // PrefixListId: "STRING_VALUE",
|
|
154
|
+
* // ReferencedGroupId: "STRING_VALUE",
|
|
155
|
+
* // Description: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
143
158
|
* // };
|
|
144
159
|
*
|
|
145
160
|
* ```
|
|
@@ -25,6 +25,7 @@ export * from "./AssociateIpamByoasnCommand";
|
|
|
25
25
|
export * from "./AssociateIpamResourceDiscoveryCommand";
|
|
26
26
|
export * from "./AssociateNatGatewayAddressCommand";
|
|
27
27
|
export * from "./AssociateRouteTableCommand";
|
|
28
|
+
export * from "./AssociateSecurityGroupVpcCommand";
|
|
28
29
|
export * from "./AssociateSubnetCidrBlockCommand";
|
|
29
30
|
export * from "./AssociateTransitGatewayMulticastDomainCommand";
|
|
30
31
|
export * from "./AssociateTransitGatewayPolicyTableCommand";
|
|
@@ -325,6 +326,7 @@ export * from "./DescribeScheduledInstanceAvailabilityCommand";
|
|
|
325
326
|
export * from "./DescribeScheduledInstancesCommand";
|
|
326
327
|
export * from "./DescribeSecurityGroupReferencesCommand";
|
|
327
328
|
export * from "./DescribeSecurityGroupRulesCommand";
|
|
329
|
+
export * from "./DescribeSecurityGroupVpcAssociationsCommand";
|
|
328
330
|
export * from "./DescribeSecurityGroupsCommand";
|
|
329
331
|
export * from "./DescribeSnapshotAttributeCommand";
|
|
330
332
|
export * from "./DescribeSnapshotTierStatusCommand";
|
|
@@ -408,6 +410,7 @@ export * from "./DisassociateIpamByoasnCommand";
|
|
|
408
410
|
export * from "./DisassociateIpamResourceDiscoveryCommand";
|
|
409
411
|
export * from "./DisassociateNatGatewayAddressCommand";
|
|
410
412
|
export * from "./DisassociateRouteTableCommand";
|
|
413
|
+
export * from "./DisassociateSecurityGroupVpcCommand";
|
|
411
414
|
export * from "./DisassociateSubnetCidrBlockCommand";
|
|
412
415
|
export * from "./DisassociateTransitGatewayMulticastDomainCommand";
|
|
413
416
|
export * from "./DisassociateTransitGatewayPolicyTableCommand";
|
|
@@ -4411,6 +4411,54 @@ export interface AssociateRouteTableResult {
|
|
|
4411
4411
|
*/
|
|
4412
4412
|
AssociationState?: RouteTableAssociationState;
|
|
4413
4413
|
}
|
|
4414
|
+
/**
|
|
4415
|
+
* @public
|
|
4416
|
+
*/
|
|
4417
|
+
export interface AssociateSecurityGroupVpcRequest {
|
|
4418
|
+
/**
|
|
4419
|
+
* <p>A security group ID.</p>
|
|
4420
|
+
* @public
|
|
4421
|
+
*/
|
|
4422
|
+
GroupId: string | undefined;
|
|
4423
|
+
/**
|
|
4424
|
+
* <p>A VPC ID.</p>
|
|
4425
|
+
* @public
|
|
4426
|
+
*/
|
|
4427
|
+
VpcId: string | undefined;
|
|
4428
|
+
/**
|
|
4429
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4430
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
4431
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
4432
|
+
* @public
|
|
4433
|
+
*/
|
|
4434
|
+
DryRun?: boolean;
|
|
4435
|
+
}
|
|
4436
|
+
/**
|
|
4437
|
+
* @public
|
|
4438
|
+
* @enum
|
|
4439
|
+
*/
|
|
4440
|
+
export declare const SecurityGroupVpcAssociationState: {
|
|
4441
|
+
readonly associated: "associated";
|
|
4442
|
+
readonly associating: "associating";
|
|
4443
|
+
readonly association_failed: "association-failed";
|
|
4444
|
+
readonly disassociated: "disassociated";
|
|
4445
|
+
readonly disassociating: "disassociating";
|
|
4446
|
+
readonly disassociation_failed: "disassociation-failed";
|
|
4447
|
+
};
|
|
4448
|
+
/**
|
|
4449
|
+
* @public
|
|
4450
|
+
*/
|
|
4451
|
+
export type SecurityGroupVpcAssociationState = (typeof SecurityGroupVpcAssociationState)[keyof typeof SecurityGroupVpcAssociationState];
|
|
4452
|
+
/**
|
|
4453
|
+
* @public
|
|
4454
|
+
*/
|
|
4455
|
+
export interface AssociateSecurityGroupVpcResult {
|
|
4456
|
+
/**
|
|
4457
|
+
* <p>The state of the association.</p>
|
|
4458
|
+
* @public
|
|
4459
|
+
*/
|
|
4460
|
+
State?: SecurityGroupVpcAssociationState;
|
|
4461
|
+
}
|
|
4414
4462
|
/**
|
|
4415
4463
|
* @public
|
|
4416
4464
|
*/
|
|
@@ -6016,6 +6064,11 @@ export interface SecurityGroupRule {
|
|
|
6016
6064
|
* @public
|
|
6017
6065
|
*/
|
|
6018
6066
|
Tags?: Tag[];
|
|
6067
|
+
/**
|
|
6068
|
+
* <p>The ARN of the security group rule.</p>
|
|
6069
|
+
* @public
|
|
6070
|
+
*/
|
|
6071
|
+
SecurityGroupRuleArn?: string;
|
|
6019
6072
|
}
|
|
6020
6073
|
/**
|
|
6021
6074
|
* @public
|
|
@@ -7489,260 +7542,6 @@ export declare const CapacityReservationState: {
|
|
|
7489
7542
|
* @public
|
|
7490
7543
|
*/
|
|
7491
7544
|
export type CapacityReservationState = (typeof CapacityReservationState)[keyof typeof CapacityReservationState];
|
|
7492
|
-
/**
|
|
7493
|
-
* <p>Describes a Capacity Reservation.</p>
|
|
7494
|
-
* @public
|
|
7495
|
-
*/
|
|
7496
|
-
export interface CapacityReservation {
|
|
7497
|
-
/**
|
|
7498
|
-
* <p>The ID of the Capacity Reservation.</p>
|
|
7499
|
-
* @public
|
|
7500
|
-
*/
|
|
7501
|
-
CapacityReservationId?: string;
|
|
7502
|
-
/**
|
|
7503
|
-
* <p>The ID of the Amazon Web Services account that owns the Capacity Reservation.</p>
|
|
7504
|
-
* @public
|
|
7505
|
-
*/
|
|
7506
|
-
OwnerId?: string;
|
|
7507
|
-
/**
|
|
7508
|
-
* <p>The Amazon Resource Name (ARN) of the Capacity Reservation.</p>
|
|
7509
|
-
* @public
|
|
7510
|
-
*/
|
|
7511
|
-
CapacityReservationArn?: string;
|
|
7512
|
-
/**
|
|
7513
|
-
* <p>The Availability Zone ID of the Capacity Reservation.</p>
|
|
7514
|
-
* @public
|
|
7515
|
-
*/
|
|
7516
|
-
AvailabilityZoneId?: string;
|
|
7517
|
-
/**
|
|
7518
|
-
* <p>The type of instance for which the Capacity Reservation reserves capacity.</p>
|
|
7519
|
-
* @public
|
|
7520
|
-
*/
|
|
7521
|
-
InstanceType?: string;
|
|
7522
|
-
/**
|
|
7523
|
-
* <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
|
|
7524
|
-
* @public
|
|
7525
|
-
*/
|
|
7526
|
-
InstancePlatform?: CapacityReservationInstancePlatform;
|
|
7527
|
-
/**
|
|
7528
|
-
* <p>The Availability Zone in which the capacity is reserved.</p>
|
|
7529
|
-
* @public
|
|
7530
|
-
*/
|
|
7531
|
-
AvailabilityZone?: string;
|
|
7532
|
-
/**
|
|
7533
|
-
* <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:</p>
|
|
7534
|
-
* <ul>
|
|
7535
|
-
* <li>
|
|
7536
|
-
* <p>
|
|
7537
|
-
* <code>default</code> - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts.</p>
|
|
7538
|
-
* </li>
|
|
7539
|
-
* <li>
|
|
7540
|
-
* <p>
|
|
7541
|
-
* <code>dedicated</code> - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
|
|
7542
|
-
* </li>
|
|
7543
|
-
* </ul>
|
|
7544
|
-
* @public
|
|
7545
|
-
*/
|
|
7546
|
-
Tenancy?: CapacityReservationTenancy;
|
|
7547
|
-
/**
|
|
7548
|
-
* <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
|
|
7549
|
-
* @public
|
|
7550
|
-
*/
|
|
7551
|
-
TotalInstanceCount?: number;
|
|
7552
|
-
/**
|
|
7553
|
-
* <p>The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.</p>
|
|
7554
|
-
* @public
|
|
7555
|
-
*/
|
|
7556
|
-
AvailableInstanceCount?: number;
|
|
7557
|
-
/**
|
|
7558
|
-
* <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides
|
|
7559
|
-
* dedicated throughput to Amazon EBS and an optimized configuration stack to provide
|
|
7560
|
-
* optimal I/O performance. This optimization isn't available with all instance types.
|
|
7561
|
-
* Additional usage charges apply when using an EBS- optimized instance.</p>
|
|
7562
|
-
* @public
|
|
7563
|
-
*/
|
|
7564
|
-
EbsOptimized?: boolean;
|
|
7565
|
-
/**
|
|
7566
|
-
* <p>
|
|
7567
|
-
* <i>Deprecated.</i>
|
|
7568
|
-
* </p>
|
|
7569
|
-
* @public
|
|
7570
|
-
*/
|
|
7571
|
-
EphemeralStorage?: boolean;
|
|
7572
|
-
/**
|
|
7573
|
-
* <p>The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:</p>
|
|
7574
|
-
* <ul>
|
|
7575
|
-
* <li>
|
|
7576
|
-
* <p>
|
|
7577
|
-
* <code>active</code> - The Capacity Reservation is active and the capacity is available for your use.</p>
|
|
7578
|
-
* </li>
|
|
7579
|
-
* <li>
|
|
7580
|
-
* <p>
|
|
7581
|
-
* <code>expired</code> - The Capacity Reservation expired automatically at the date and time specified
|
|
7582
|
-
* in your request. The reserved capacity is no longer available for your use.</p>
|
|
7583
|
-
* </li>
|
|
7584
|
-
* <li>
|
|
7585
|
-
* <p>
|
|
7586
|
-
* <code>cancelled</code> - The Capacity Reservation was cancelled. The reserved capacity is no
|
|
7587
|
-
* longer available for your use.</p>
|
|
7588
|
-
* </li>
|
|
7589
|
-
* <li>
|
|
7590
|
-
* <p>
|
|
7591
|
-
* <code>pending</code> - The Capacity Reservation request was successful but the capacity
|
|
7592
|
-
* provisioning is still pending.</p>
|
|
7593
|
-
* </li>
|
|
7594
|
-
* <li>
|
|
7595
|
-
* <p>
|
|
7596
|
-
* <code>failed</code> - The Capacity Reservation request has failed. A request might fail
|
|
7597
|
-
* due to invalid request parameters, capacity constraints, or instance limit constraints.
|
|
7598
|
-
* Failed requests are retained for 60 minutes.</p>
|
|
7599
|
-
* </li>
|
|
7600
|
-
* </ul>
|
|
7601
|
-
* @public
|
|
7602
|
-
*/
|
|
7603
|
-
State?: CapacityReservationState;
|
|
7604
|
-
/**
|
|
7605
|
-
* <p>The date and time at which the Capacity Reservation was started.</p>
|
|
7606
|
-
* @public
|
|
7607
|
-
*/
|
|
7608
|
-
StartDate?: Date;
|
|
7609
|
-
/**
|
|
7610
|
-
* <p>The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity
|
|
7611
|
-
* is released and you can no longer launch instances into it. The Capacity Reservation's state changes to
|
|
7612
|
-
* <code>expired</code> when it reaches its end date and time.</p>
|
|
7613
|
-
* @public
|
|
7614
|
-
*/
|
|
7615
|
-
EndDate?: Date;
|
|
7616
|
-
/**
|
|
7617
|
-
* <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end
|
|
7618
|
-
* types:</p>
|
|
7619
|
-
* <ul>
|
|
7620
|
-
* <li>
|
|
7621
|
-
* <p>
|
|
7622
|
-
* <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it.</p>
|
|
7623
|
-
* </li>
|
|
7624
|
-
* <li>
|
|
7625
|
-
* <p>
|
|
7626
|
-
* <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time.</p>
|
|
7627
|
-
* </li>
|
|
7628
|
-
* </ul>
|
|
7629
|
-
* @public
|
|
7630
|
-
*/
|
|
7631
|
-
EndDateType?: EndDateType;
|
|
7632
|
-
/**
|
|
7633
|
-
* <p>Indicates the type of instance launches that the Capacity Reservation accepts. The options
|
|
7634
|
-
* include:</p>
|
|
7635
|
-
* <ul>
|
|
7636
|
-
* <li>
|
|
7637
|
-
* <p>
|
|
7638
|
-
* <code>open</code> - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform,
|
|
7639
|
-
* and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying
|
|
7640
|
-
* any additional parameters.</p>
|
|
7641
|
-
* </li>
|
|
7642
|
-
* <li>
|
|
7643
|
-
* <p>
|
|
7644
|
-
* <code>targeted</code> - The Capacity Reservation only accepts instances that have matching attributes
|
|
7645
|
-
* (instance type, platform, and Availability Zone), and explicitly target the
|
|
7646
|
-
* Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. </p>
|
|
7647
|
-
* </li>
|
|
7648
|
-
* </ul>
|
|
7649
|
-
* @public
|
|
7650
|
-
*/
|
|
7651
|
-
InstanceMatchCriteria?: InstanceMatchCriteria;
|
|
7652
|
-
/**
|
|
7653
|
-
* <p>The date and time at which the Capacity Reservation was created.</p>
|
|
7654
|
-
* @public
|
|
7655
|
-
*/
|
|
7656
|
-
CreateDate?: Date;
|
|
7657
|
-
/**
|
|
7658
|
-
* <p>Any tags assigned to the Capacity Reservation.</p>
|
|
7659
|
-
* @public
|
|
7660
|
-
*/
|
|
7661
|
-
Tags?: Tag[];
|
|
7662
|
-
/**
|
|
7663
|
-
* <p>The Amazon Resource Name (ARN) of the Outpost on which the Capacity
|
|
7664
|
-
* Reservation was created.</p>
|
|
7665
|
-
* @public
|
|
7666
|
-
*/
|
|
7667
|
-
OutpostArn?: string;
|
|
7668
|
-
/**
|
|
7669
|
-
* <p>The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs.
|
|
7670
|
-
* Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.</p>
|
|
7671
|
-
* @public
|
|
7672
|
-
*/
|
|
7673
|
-
CapacityReservationFleetId?: string;
|
|
7674
|
-
/**
|
|
7675
|
-
* <p>The Amazon Resource Name (ARN) of the cluster placement group in which
|
|
7676
|
-
* the Capacity Reservation was created. For more information, see
|
|
7677
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html">
|
|
7678
|
-
* Capacity Reservations for cluster placement groups</a> in the
|
|
7679
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7680
|
-
* @public
|
|
7681
|
-
*/
|
|
7682
|
-
PlacementGroupArn?: string;
|
|
7683
|
-
/**
|
|
7684
|
-
* <p>Information about instance capacity usage.</p>
|
|
7685
|
-
* @public
|
|
7686
|
-
*/
|
|
7687
|
-
CapacityAllocations?: CapacityAllocation[];
|
|
7688
|
-
/**
|
|
7689
|
-
* <p>The type of Capacity Reservation.</p>
|
|
7690
|
-
* @public
|
|
7691
|
-
*/
|
|
7692
|
-
ReservationType?: CapacityReservationType;
|
|
7693
|
-
/**
|
|
7694
|
-
* <p>The ID of the Amazon Web Services account to which billing of the unused capacity
|
|
7695
|
-
* of the Capacity Reservation is assigned.</p>
|
|
7696
|
-
* @public
|
|
7697
|
-
*/
|
|
7698
|
-
UnusedReservationBillingOwnerId?: string;
|
|
7699
|
-
}
|
|
7700
|
-
/**
|
|
7701
|
-
* @public
|
|
7702
|
-
*/
|
|
7703
|
-
export interface CreateCapacityReservationResult {
|
|
7704
|
-
/**
|
|
7705
|
-
* <p>Information about the Capacity Reservation.</p>
|
|
7706
|
-
* @public
|
|
7707
|
-
*/
|
|
7708
|
-
CapacityReservation?: CapacityReservation;
|
|
7709
|
-
}
|
|
7710
|
-
/**
|
|
7711
|
-
* @public
|
|
7712
|
-
*/
|
|
7713
|
-
export interface CreateCapacityReservationBySplittingRequest {
|
|
7714
|
-
/**
|
|
7715
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7716
|
-
* @public
|
|
7717
|
-
*/
|
|
7718
|
-
DryRun?: boolean;
|
|
7719
|
-
/**
|
|
7720
|
-
* <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">Ensure Idempotency</a>.</p>
|
|
7721
|
-
* @public
|
|
7722
|
-
*/
|
|
7723
|
-
ClientToken?: string;
|
|
7724
|
-
/**
|
|
7725
|
-
* <p>
|
|
7726
|
-
* The ID of the Capacity Reservation from which you want to split the available capacity.
|
|
7727
|
-
* </p>
|
|
7728
|
-
* @public
|
|
7729
|
-
*/
|
|
7730
|
-
SourceCapacityReservationId: string | undefined;
|
|
7731
|
-
/**
|
|
7732
|
-
* <p>
|
|
7733
|
-
* The number of instances to split from the source Capacity Reservation.
|
|
7734
|
-
* </p>
|
|
7735
|
-
* @public
|
|
7736
|
-
*/
|
|
7737
|
-
InstanceCount: number | undefined;
|
|
7738
|
-
/**
|
|
7739
|
-
* <p>
|
|
7740
|
-
* The tags to apply to the new Capacity Reservation.
|
|
7741
|
-
* </p>
|
|
7742
|
-
* @public
|
|
7743
|
-
*/
|
|
7744
|
-
TagSpecifications?: TagSpecification[];
|
|
7745
|
-
}
|
|
7746
7545
|
/**
|
|
7747
7546
|
* @internal
|
|
7748
7547
|
*/
|