@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.
Files changed (99) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +455 -150
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/AssociateSecurityGroupVpcCommand.js +22 -0
  5. package/dist-es/commands/DescribeSecurityGroupVpcAssociationsCommand.js +22 -0
  6. package/dist-es/commands/DisassociateSecurityGroupVpcCommand.js +22 -0
  7. package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +8 -0
  10. package/dist-es/models/models_3.js +0 -15
  11. package/dist-es/models/models_4.js +15 -6
  12. package/dist-es/models/models_5.js +6 -6
  13. package/dist-es/models/models_6.js +6 -13
  14. package/dist-es/models/models_7.js +14 -0
  15. package/dist-es/pagination/DescribeSecurityGroupVpcAssociationsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_ec2.js +248 -3
  18. package/dist-types/EC2.d.ts +22 -0
  19. package/dist-types/EC2Client.d.ts +5 -2
  20. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +92 -0
  21. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -0
  22. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -2
  26. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -0
  34. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +90 -0
  35. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -2
  39. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +8 -3
  40. package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +75 -0
  41. package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -1
  42. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  45. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  46. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  47. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +15 -0
  51. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +15 -0
  52. package/dist-types/commands/index.d.ts +3 -0
  53. package/dist-types/models/models_0.d.ts +53 -254
  54. package/dist-types/models/models_1.d.ts +259 -111
  55. package/dist-types/models/models_2.d.ts +117 -72
  56. package/dist-types/models/models_3.d.ts +72 -58
  57. package/dist-types/models/models_4.d.ts +179 -182
  58. package/dist-types/models/models_5.d.ts +205 -139
  59. package/dist-types/models/models_6.d.ts +134 -316
  60. package/dist-types/models/models_7.d.ts +389 -6
  61. package/dist-types/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  64. package/dist-types/ts3.4/EC2.d.ts +58 -0
  65. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  66. package/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -2
  77. package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +19 -37
  89. package/dist-types/ts3.4/models/models_1.d.ts +43 -25
  90. package/dist-types/ts3.4/models/models_2.d.ts +24 -15
  91. package/dist-types/ts3.4/models/models_3.d.ts +16 -24
  92. package/dist-types/ts3.4/models/models_4.d.ts +42 -38
  93. package/dist-types/ts3.4/models/models_5.d.ts +47 -41
  94. package/dist-types/ts3.4/models/models_6.d.ts +36 -68
  95. package/dist-types/ts3.4/models/models_7.d.ts +90 -2
  96. package/dist-types/ts3.4/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  98. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  99. package/package.json +37 -37
@@ -153,6 +153,10 @@ import {
153
153
  AssociateRouteTableCommandInput,
154
154
  AssociateRouteTableCommandOutput,
155
155
  } from "./commands/AssociateRouteTableCommand";
156
+ import {
157
+ AssociateSecurityGroupVpcCommandInput,
158
+ AssociateSecurityGroupVpcCommandOutput,
159
+ } from "./commands/AssociateSecurityGroupVpcCommand";
156
160
  import {
157
161
  AssociateSubnetCidrBlockCommandInput,
158
162
  AssociateSubnetCidrBlockCommandOutput,
@@ -1357,6 +1361,10 @@ import {
1357
1361
  DescribeSecurityGroupsCommandInput,
1358
1362
  DescribeSecurityGroupsCommandOutput,
1359
1363
  } from "./commands/DescribeSecurityGroupsCommand";
1364
+ import {
1365
+ DescribeSecurityGroupVpcAssociationsCommandInput,
1366
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
1367
+ } from "./commands/DescribeSecurityGroupVpcAssociationsCommand";
1360
1368
  import {
1361
1369
  DescribeSnapshotAttributeCommandInput,
1362
1370
  DescribeSnapshotAttributeCommandOutput,
@@ -1685,6 +1693,10 @@ import {
1685
1693
  DisassociateRouteTableCommandInput,
1686
1694
  DisassociateRouteTableCommandOutput,
1687
1695
  } from "./commands/DisassociateRouteTableCommand";
1696
+ import {
1697
+ DisassociateSecurityGroupVpcCommandInput,
1698
+ DisassociateSecurityGroupVpcCommandOutput,
1699
+ } from "./commands/DisassociateSecurityGroupVpcCommand";
1688
1700
  import {
1689
1701
  DisassociateSubnetCidrBlockCommandInput,
1690
1702
  DisassociateSubnetCidrBlockCommandOutput,
@@ -2616,6 +2628,7 @@ export type ServiceInputTypes =
2616
2628
  | AssociateIpamResourceDiscoveryCommandInput
2617
2629
  | AssociateNatGatewayAddressCommandInput
2618
2630
  | AssociateRouteTableCommandInput
2631
+ | AssociateSecurityGroupVpcCommandInput
2619
2632
  | AssociateSubnetCidrBlockCommandInput
2620
2633
  | AssociateTransitGatewayMulticastDomainCommandInput
2621
2634
  | AssociateTransitGatewayPolicyTableCommandInput
@@ -2916,6 +2929,7 @@ export type ServiceInputTypes =
2916
2929
  | DescribeScheduledInstancesCommandInput
2917
2930
  | DescribeSecurityGroupReferencesCommandInput
2918
2931
  | DescribeSecurityGroupRulesCommandInput
2932
+ | DescribeSecurityGroupVpcAssociationsCommandInput
2919
2933
  | DescribeSecurityGroupsCommandInput
2920
2934
  | DescribeSnapshotAttributeCommandInput
2921
2935
  | DescribeSnapshotTierStatusCommandInput
@@ -2999,6 +3013,7 @@ export type ServiceInputTypes =
2999
3013
  | DisassociateIpamResourceDiscoveryCommandInput
3000
3014
  | DisassociateNatGatewayAddressCommandInput
3001
3015
  | DisassociateRouteTableCommandInput
3016
+ | DisassociateSecurityGroupVpcCommandInput
3002
3017
  | DisassociateSubnetCidrBlockCommandInput
3003
3018
  | DisassociateTransitGatewayMulticastDomainCommandInput
3004
3019
  | DisassociateTransitGatewayPolicyTableCommandInput
@@ -3251,6 +3266,7 @@ export type ServiceOutputTypes =
3251
3266
  | AssociateIpamResourceDiscoveryCommandOutput
3252
3267
  | AssociateNatGatewayAddressCommandOutput
3253
3268
  | AssociateRouteTableCommandOutput
3269
+ | AssociateSecurityGroupVpcCommandOutput
3254
3270
  | AssociateSubnetCidrBlockCommandOutput
3255
3271
  | AssociateTransitGatewayMulticastDomainCommandOutput
3256
3272
  | AssociateTransitGatewayPolicyTableCommandOutput
@@ -3551,6 +3567,7 @@ export type ServiceOutputTypes =
3551
3567
  | DescribeScheduledInstancesCommandOutput
3552
3568
  | DescribeSecurityGroupReferencesCommandOutput
3553
3569
  | DescribeSecurityGroupRulesCommandOutput
3570
+ | DescribeSecurityGroupVpcAssociationsCommandOutput
3554
3571
  | DescribeSecurityGroupsCommandOutput
3555
3572
  | DescribeSnapshotAttributeCommandOutput
3556
3573
  | DescribeSnapshotTierStatusCommandOutput
@@ -3634,6 +3651,7 @@ export type ServiceOutputTypes =
3634
3651
  | DisassociateIpamResourceDiscoveryCommandOutput
3635
3652
  | DisassociateNatGatewayAddressCommandOutput
3636
3653
  | DisassociateRouteTableCommandOutput
3654
+ | DisassociateSecurityGroupVpcCommandOutput
3637
3655
  | DisassociateSubnetCidrBlockCommandOutput
3638
3656
  | DisassociateTransitGatewayMulticastDomainCommandOutput
3639
3657
  | DisassociateTransitGatewayPolicyTableCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ AssociateSecurityGroupVpcRequest,
10
+ AssociateSecurityGroupVpcResult,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AssociateSecurityGroupVpcCommandInput
15
+ extends AssociateSecurityGroupVpcRequest {}
16
+ export interface AssociateSecurityGroupVpcCommandOutput
17
+ extends AssociateSecurityGroupVpcResult,
18
+ __MetadataBearer {}
19
+ declare const AssociateSecurityGroupVpcCommand_base: {
20
+ new (
21
+ input: AssociateSecurityGroupVpcCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AssociateSecurityGroupVpcCommandInput,
24
+ AssociateSecurityGroupVpcCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: AssociateSecurityGroupVpcCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AssociateSecurityGroupVpcCommandInput,
33
+ AssociateSecurityGroupVpcCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AssociateSecurityGroupVpcCommand extends AssociateSecurityGroupVpcCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AssociateSecurityGroupVpcRequest;
44
+ output: AssociateSecurityGroupVpcResult;
45
+ };
46
+ sdk: {
47
+ input: AssociateSecurityGroupVpcCommandInput;
48
+ output: AssociateSecurityGroupVpcCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CreateCapacityReservationBySplittingRequest } from "../models/models_0";
9
- import { CreateCapacityReservationBySplittingResult } from "../models/models_1";
8
+ import {
9
+ CreateCapacityReservationBySplittingRequest,
10
+ CreateCapacityReservationBySplittingResult,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface CreateCapacityReservationBySplittingCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- CreateCapacityReservationRequest,
10
- CreateCapacityReservationResult,
11
- } from "../models/models_0";
8
+ import { CreateCapacityReservationRequest } from "../models/models_0";
9
+ import { CreateCapacityReservationResult } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateCapacityReservationCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CreateNetworkInsightsPathRequest } from "../models/models_1";
9
- import { CreateNetworkInsightsPathResult } from "../models/models_2";
8
+ import {
9
+ CreateNetworkInsightsPathRequest,
10
+ CreateNetworkInsightsPathResult,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface CreateNetworkInsightsPathCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteLaunchTemplateRequest,
10
10
  DeleteLaunchTemplateResult,
11
- } from "../models/models_2";
11
+ } from "../models/models_3";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteLaunchTemplateCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteLaunchTemplateVersionsRequest } from "../models/models_2";
9
- import { DeleteLaunchTemplateVersionsResult } from "../models/models_3";
8
+ import {
9
+ DeleteLaunchTemplateVersionsRequest,
10
+ DeleteLaunchTemplateVersionsResult,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteLaunchTemplateVersionsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeIdFormatRequest,
10
10
  DescribeIdFormatResult,
11
- } from "../models/models_3";
11
+ } from "../models/models_4";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeIdFormatCommandInput extends DescribeIdFormatRequest {}
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ DescribeSecurityGroupVpcAssociationsRequest,
10
+ DescribeSecurityGroupVpcAssociationsResult,
11
+ } from "../models/models_4";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeSecurityGroupVpcAssociationsCommandInput
15
+ extends DescribeSecurityGroupVpcAssociationsRequest {}
16
+ export interface DescribeSecurityGroupVpcAssociationsCommandOutput
17
+ extends DescribeSecurityGroupVpcAssociationsResult,
18
+ __MetadataBearer {}
19
+ declare const DescribeSecurityGroupVpcAssociationsCommand_base: {
20
+ new (
21
+ input: DescribeSecurityGroupVpcAssociationsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeSecurityGroupVpcAssociationsCommandInput,
24
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeSecurityGroupVpcAssociationsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeSecurityGroupVpcAssociationsCommandInput,
33
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeSecurityGroupVpcAssociationsCommand extends DescribeSecurityGroupVpcAssociationsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeSecurityGroupVpcAssociationsRequest;
44
+ output: DescribeSecurityGroupVpcAssociationsResult;
45
+ };
46
+ sdk: {
47
+ input: DescribeSecurityGroupVpcAssociationsCommandInput;
48
+ output: DescribeSecurityGroupVpcAssociationsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeSpotDatafeedSubscriptionRequest,
10
- DescribeSpotDatafeedSubscriptionResult,
11
- } from "../models/models_4";
8
+ import { DescribeSpotDatafeedSubscriptionRequest } from "../models/models_4";
9
+ import { DescribeSpotDatafeedSubscriptionResult } from "../models/models_5";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeSpotDatafeedSubscriptionCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeSpotFleetInstancesRequest,
10
10
  DescribeSpotFleetInstancesResponse,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeSpotFleetInstancesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeSpotFleetRequestHistoryRequest } from "../models/models_4";
9
- import { DescribeSpotFleetRequestHistoryResponse } from "../models/models_5";
8
+ import {
9
+ DescribeSpotFleetRequestHistoryRequest,
10
+ DescribeSpotFleetRequestHistoryResponse,
11
+ } from "../models/models_5";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeSpotFleetRequestHistoryCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ DisassociateSecurityGroupVpcRequest,
10
+ DisassociateSecurityGroupVpcResult,
11
+ } from "../models/models_5";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DisassociateSecurityGroupVpcCommandInput
15
+ extends DisassociateSecurityGroupVpcRequest {}
16
+ export interface DisassociateSecurityGroupVpcCommandOutput
17
+ extends DisassociateSecurityGroupVpcResult,
18
+ __MetadataBearer {}
19
+ declare const DisassociateSecurityGroupVpcCommand_base: {
20
+ new (
21
+ input: DisassociateSecurityGroupVpcCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DisassociateSecurityGroupVpcCommandInput,
24
+ DisassociateSecurityGroupVpcCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DisassociateSecurityGroupVpcCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DisassociateSecurityGroupVpcCommandInput,
33
+ DisassociateSecurityGroupVpcCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DisassociateSecurityGroupVpcCommand extends DisassociateSecurityGroupVpcCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DisassociateSecurityGroupVpcRequest;
44
+ output: DisassociateSecurityGroupVpcResult;
45
+ };
46
+ sdk: {
47
+ input: DisassociateSecurityGroupVpcCommandInput;
48
+ output: DisassociateSecurityGroupVpcCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- GetConsoleOutputRequest,
10
- GetConsoleOutputResult,
11
- } from "../models/models_5";
8
+ import { GetConsoleOutputRequest } from "../models/models_5";
9
+ import { GetConsoleOutputResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetConsoleOutputCommandInput extends GetConsoleOutputRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetConsoleScreenshotRequest,
10
10
  GetConsoleScreenshotResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetConsoleScreenshotCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetDefaultCreditSpecificationRequest,
10
10
  GetDefaultCreditSpecificationResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetDefaultCreditSpecificationCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { GetEbsDefaultKmsKeyIdRequest } from "../models/models_5";
9
- import { GetEbsDefaultKmsKeyIdResult } from "../models/models_6";
8
+ import {
9
+ GetEbsDefaultKmsKeyIdRequest,
10
+ GetEbsDefaultKmsKeyIdResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetEbsDefaultKmsKeyIdCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ModifyVerifiedAccessTrustProviderRequest,
10
10
  ModifyVerifiedAccessTrustProviderResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ModifyVerifiedAccessTrustProviderCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyVolumeAttributeRequest } from "../models/models_6";
8
+ import { ModifyVolumeAttributeRequest } from "../models/models_7";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ModifyVolumeAttributeCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyVolumeRequest, ModifyVolumeResult } from "../models/models_6";
8
+ import { ModifyVolumeRequest, ModifyVolumeResult } from "../models/models_7";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ModifyVolumeCommandInput extends ModifyVolumeRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyVpcAttributeRequest } from "../models/models_6";
8
+ import { ModifyVpcAttributeRequest } from "../models/models_7";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ModifyVpcAttributeCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ModifyVpcEndpointRequest,
10
10
  ModifyVpcEndpointResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ModifyVpcEndpointCommandInput
@@ -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";
@@ -1210,6 +1210,24 @@ export interface AssociateRouteTableResult {
1210
1210
  AssociationId?: string;
1211
1211
  AssociationState?: RouteTableAssociationState;
1212
1212
  }
1213
+ export interface AssociateSecurityGroupVpcRequest {
1214
+ GroupId: string | undefined;
1215
+ VpcId: string | undefined;
1216
+ DryRun?: boolean;
1217
+ }
1218
+ export declare const SecurityGroupVpcAssociationState: {
1219
+ readonly associated: "associated";
1220
+ readonly associating: "associating";
1221
+ readonly association_failed: "association-failed";
1222
+ readonly disassociated: "disassociated";
1223
+ readonly disassociating: "disassociating";
1224
+ readonly disassociation_failed: "disassociation-failed";
1225
+ };
1226
+ export type SecurityGroupVpcAssociationState =
1227
+ (typeof SecurityGroupVpcAssociationState)[keyof typeof SecurityGroupVpcAssociationState];
1228
+ export interface AssociateSecurityGroupVpcResult {
1229
+ State?: SecurityGroupVpcAssociationState;
1230
+ }
1213
1231
  export interface AssociateSubnetCidrBlockRequest {
1214
1232
  Ipv6IpamPoolId?: string;
1215
1233
  Ipv6NetmaskLength?: number;
@@ -1613,6 +1631,7 @@ export interface SecurityGroupRule {
1613
1631
  ReferencedGroupInfo?: ReferencedSecurityGroup;
1614
1632
  Description?: string;
1615
1633
  Tags?: Tag[];
1634
+ SecurityGroupRuleArn?: string;
1616
1635
  }
1617
1636
  export interface AuthorizeSecurityGroupEgressResult {
1618
1637
  Return?: boolean;
@@ -1989,43 +2008,6 @@ export declare const CapacityReservationState: {
1989
2008
  };
1990
2009
  export type CapacityReservationState =
1991
2010
  (typeof CapacityReservationState)[keyof typeof CapacityReservationState];
1992
- export interface CapacityReservation {
1993
- CapacityReservationId?: string;
1994
- OwnerId?: string;
1995
- CapacityReservationArn?: string;
1996
- AvailabilityZoneId?: string;
1997
- InstanceType?: string;
1998
- InstancePlatform?: CapacityReservationInstancePlatform;
1999
- AvailabilityZone?: string;
2000
- Tenancy?: CapacityReservationTenancy;
2001
- TotalInstanceCount?: number;
2002
- AvailableInstanceCount?: number;
2003
- EbsOptimized?: boolean;
2004
- EphemeralStorage?: boolean;
2005
- State?: CapacityReservationState;
2006
- StartDate?: Date;
2007
- EndDate?: Date;
2008
- EndDateType?: EndDateType;
2009
- InstanceMatchCriteria?: InstanceMatchCriteria;
2010
- CreateDate?: Date;
2011
- Tags?: Tag[];
2012
- OutpostArn?: string;
2013
- CapacityReservationFleetId?: string;
2014
- PlacementGroupArn?: string;
2015
- CapacityAllocations?: CapacityAllocation[];
2016
- ReservationType?: CapacityReservationType;
2017
- UnusedReservationBillingOwnerId?: string;
2018
- }
2019
- export interface CreateCapacityReservationResult {
2020
- CapacityReservation?: CapacityReservation;
2021
- }
2022
- export interface CreateCapacityReservationBySplittingRequest {
2023
- DryRun?: boolean;
2024
- ClientToken?: string;
2025
- SourceCapacityReservationId: string | undefined;
2026
- InstanceCount: number | undefined;
2027
- TagSpecifications?: TagSpecification[];
2028
- }
2029
2011
  export declare const OidcOptionsFilterSensitiveLog: (obj: OidcOptions) => any;
2030
2012
  export declare const VerifiedAccessTrustProviderFilterSensitiveLog: (
2031
2013
  obj: VerifiedAccessTrustProvider
@@ -12,13 +12,17 @@ import {
12
12
  AddPrefixListEntry,
13
13
  AddressFamily,
14
14
  AttachmentStatus,
15
- CapacityReservation,
15
+ CapacityAllocation,
16
16
  CapacityReservationFleetState,
17
17
  CapacityReservationInstancePlatform,
18
+ CapacityReservationState,
19
+ CapacityReservationTenancy,
20
+ CapacityReservationType,
21
+ EndDateType,
18
22
  InstanceEventWindow,
23
+ InstanceMatchCriteria,
19
24
  NatGatewayAddress,
20
25
  PortRange,
21
- Protocol,
22
26
  ResourceType,
23
27
  SubnetIpv6CidrBlockAssociation,
24
28
  Tag,
@@ -28,6 +32,43 @@ import {
28
32
  VpcIpv6CidrBlockAssociation,
29
33
  WeekDay,
30
34
  } from "./models_0";
35
+ export interface CapacityReservation {
36
+ CapacityReservationId?: string;
37
+ OwnerId?: string;
38
+ CapacityReservationArn?: string;
39
+ AvailabilityZoneId?: string;
40
+ InstanceType?: string;
41
+ InstancePlatform?: CapacityReservationInstancePlatform;
42
+ AvailabilityZone?: string;
43
+ Tenancy?: CapacityReservationTenancy;
44
+ TotalInstanceCount?: number;
45
+ AvailableInstanceCount?: number;
46
+ EbsOptimized?: boolean;
47
+ EphemeralStorage?: boolean;
48
+ State?: CapacityReservationState;
49
+ StartDate?: Date;
50
+ EndDate?: Date;
51
+ EndDateType?: EndDateType;
52
+ InstanceMatchCriteria?: InstanceMatchCriteria;
53
+ CreateDate?: Date;
54
+ Tags?: Tag[];
55
+ OutpostArn?: string;
56
+ CapacityReservationFleetId?: string;
57
+ PlacementGroupArn?: string;
58
+ CapacityAllocations?: CapacityAllocation[];
59
+ ReservationType?: CapacityReservationType;
60
+ UnusedReservationBillingOwnerId?: string;
61
+ }
62
+ export interface CreateCapacityReservationResult {
63
+ CapacityReservation?: CapacityReservation;
64
+ }
65
+ export interface CreateCapacityReservationBySplittingRequest {
66
+ DryRun?: boolean;
67
+ ClientToken?: string;
68
+ SourceCapacityReservationId: string | undefined;
69
+ InstanceCount: number | undefined;
70
+ TagSpecifications?: TagSpecification[];
71
+ }
31
72
  export interface CreateCapacityReservationBySplittingResult {
32
73
  SourceCapacityReservation?: CapacityReservation;
33
74
  DestinationCapacityReservation?: CapacityReservation;
@@ -2898,29 +2939,6 @@ export interface CreateNetworkInsightsAccessScopeResult {
2898
2939
  NetworkInsightsAccessScope?: NetworkInsightsAccessScope;
2899
2940
  NetworkInsightsAccessScopeContent?: NetworkInsightsAccessScopeContent;
2900
2941
  }
2901
- export interface RequestFilterPortRange {
2902
- FromPort?: number;
2903
- ToPort?: number;
2904
- }
2905
- export interface PathRequestFilter {
2906
- SourceAddress?: string;
2907
- SourcePortRange?: RequestFilterPortRange;
2908
- DestinationAddress?: string;
2909
- DestinationPortRange?: RequestFilterPortRange;
2910
- }
2911
- export interface CreateNetworkInsightsPathRequest {
2912
- SourceIp?: string;
2913
- DestinationIp?: string;
2914
- Source: string | undefined;
2915
- Destination?: string;
2916
- Protocol: Protocol | undefined;
2917
- DestinationPort?: number;
2918
- TagSpecifications?: TagSpecification[];
2919
- DryRun?: boolean;
2920
- ClientToken?: string;
2921
- FilterAtSource?: PathRequestFilter;
2922
- FilterAtDestination?: PathRequestFilter;
2923
- }
2924
2942
  export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
2925
2943
  export declare const RequestLaunchTemplateDataFilterSensitiveLog: (
2926
2944
  obj: RequestLaunchTemplateData