@aws-sdk/client-ec2 3.445.0 → 3.449.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/EC2.js +6 -0
- package/dist-cjs/commands/DisableSnapshotBlockPublicAccessCommand.js +51 -0
- package/dist-cjs/commands/EnableSnapshotBlockPublicAccessCommand.js +51 -0
- package/dist-cjs/commands/GetSnapshotBlockPublicAccessStateCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_1.js +1 -16
- package/dist-cjs/models/models_2.js +17 -2
- package/dist-cjs/models/models_5.js +6 -1
- package/dist-cjs/protocols/Aws_ec2.js +272 -18
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DisableSnapshotBlockPublicAccessCommand.js +47 -0
- package/dist-es/commands/EnableSnapshotBlockPublicAccessCommand.js +47 -0
- package/dist-es/commands/GetSnapshotBlockPublicAccessStateCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_1.js +0 -15
- package/dist-es/models/models_2.js +15 -0
- package/dist-es/models/models_5.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +248 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +6 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +12 -0
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +81 -0
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +85 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +6 -0
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +76 -0
- package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +6 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +12 -0
- package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +3 -2
- package/dist-types/models/models_1.d.ts +99 -99
- package/dist-types/models/models_2.d.ts +89 -71
- package/dist-types/models/models_3.d.ts +71 -126
- package/dist-types/models/models_4.d.ts +182 -240
- package/dist-types/models/models_5.d.ts +370 -354
- package/dist-types/models/models_6.d.ts +350 -306
- package/dist-types/models/models_7.d.ts +308 -5
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +57 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +16 -28
- package/dist-types/ts3.4/models/models_2.d.ts +28 -19
- package/dist-types/ts3.4/models/models_3.d.ts +16 -18
- package/dist-types/ts3.4/models/models_4.d.ts +29 -36
- package/dist-types/ts3.4/models/models_5.d.ts +62 -75
- package/dist-types/ts3.4/models/models_6.d.ts +76 -70
- package/dist-types/ts3.4/models/models_7.d.ts +77 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +13 -13
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
IpamPoolAllocation,
|
|
11
11
|
IpamResourceDiscoveryAssociation,
|
|
12
12
|
NatGatewayAddress,
|
|
13
|
-
SubnetAssociation,
|
|
14
13
|
SubnetIpv6CidrBlockAssociation,
|
|
15
14
|
Tag,
|
|
16
15
|
TagSpecification,
|
|
@@ -19,6 +18,7 @@ import {
|
|
|
19
18
|
TransitGatewayAttachmentResourceType,
|
|
20
19
|
TransitGatewayMulticastDomainAssociations,
|
|
21
20
|
TransitGatewayPolicyTableAssociation,
|
|
21
|
+
TransitGatewayVpcAttachment,
|
|
22
22
|
TrunkInterfaceAssociation,
|
|
23
23
|
VerifiedAccessInstance,
|
|
24
24
|
VerifiedAccessTrustProvider,
|
|
@@ -48,7 +48,8 @@ import {
|
|
|
48
48
|
ServiceTypeDetail,
|
|
49
49
|
SSEType,
|
|
50
50
|
State,
|
|
51
|
-
|
|
51
|
+
TransitGateway,
|
|
52
|
+
TransitGatewayRouteTable,
|
|
52
53
|
VerifiedAccessEndpoint,
|
|
53
54
|
VerifiedAccessGroup,
|
|
54
55
|
Volume,
|
|
@@ -74,6 +75,39 @@ import {
|
|
|
74
75
|
VirtualizationType,
|
|
75
76
|
} from "./models_3";
|
|
76
77
|
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
78
|
+
export interface DescribeTransitGatewayRouteTablesRequest {
|
|
79
|
+
TransitGatewayRouteTableIds?: string[];
|
|
80
|
+
Filters?: Filter[];
|
|
81
|
+
MaxResults?: number;
|
|
82
|
+
NextToken?: string;
|
|
83
|
+
DryRun?: boolean;
|
|
84
|
+
}
|
|
85
|
+
export interface DescribeTransitGatewayRouteTablesResult {
|
|
86
|
+
TransitGatewayRouteTables?: TransitGatewayRouteTable[];
|
|
87
|
+
NextToken?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface DescribeTransitGatewaysRequest {
|
|
90
|
+
TransitGatewayIds?: string[];
|
|
91
|
+
Filters?: Filter[];
|
|
92
|
+
MaxResults?: number;
|
|
93
|
+
NextToken?: string;
|
|
94
|
+
DryRun?: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface DescribeTransitGatewaysResult {
|
|
97
|
+
TransitGateways?: TransitGateway[];
|
|
98
|
+
NextToken?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface DescribeTransitGatewayVpcAttachmentsRequest {
|
|
101
|
+
TransitGatewayAttachmentIds?: string[];
|
|
102
|
+
Filters?: Filter[];
|
|
103
|
+
MaxResults?: number;
|
|
104
|
+
NextToken?: string;
|
|
105
|
+
DryRun?: boolean;
|
|
106
|
+
}
|
|
107
|
+
export interface DescribeTransitGatewayVpcAttachmentsResult {
|
|
108
|
+
TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[];
|
|
109
|
+
NextToken?: string;
|
|
110
|
+
}
|
|
77
111
|
export interface DescribeTrunkInterfaceAssociationsRequest {
|
|
78
112
|
AssociationIds?: string[];
|
|
79
113
|
DryRun?: boolean;
|
|
@@ -636,6 +670,19 @@ export interface DisableSerialConsoleAccessRequest {
|
|
|
636
670
|
export interface DisableSerialConsoleAccessResult {
|
|
637
671
|
SerialConsoleAccessEnabled?: boolean;
|
|
638
672
|
}
|
|
673
|
+
export interface DisableSnapshotBlockPublicAccessRequest {
|
|
674
|
+
DryRun?: boolean;
|
|
675
|
+
}
|
|
676
|
+
export declare const SnapshotBlockPublicAccessState: {
|
|
677
|
+
readonly block_all_sharing: "block-all-sharing";
|
|
678
|
+
readonly block_new_sharing: "block-new-sharing";
|
|
679
|
+
readonly unblocked: "unblocked";
|
|
680
|
+
};
|
|
681
|
+
export type SnapshotBlockPublicAccessState =
|
|
682
|
+
(typeof SnapshotBlockPublicAccessState)[keyof typeof SnapshotBlockPublicAccessState];
|
|
683
|
+
export interface DisableSnapshotBlockPublicAccessResult {
|
|
684
|
+
State?: SnapshotBlockPublicAccessState;
|
|
685
|
+
}
|
|
639
686
|
export interface DisableTransitGatewayRouteTablePropagationRequest {
|
|
640
687
|
TransitGatewayRouteTableId: string | undefined;
|
|
641
688
|
TransitGatewayAttachmentId?: string;
|
|
@@ -921,6 +968,13 @@ export interface EnableSerialConsoleAccessRequest {
|
|
|
921
968
|
export interface EnableSerialConsoleAccessResult {
|
|
922
969
|
SerialConsoleAccessEnabled?: boolean;
|
|
923
970
|
}
|
|
971
|
+
export interface EnableSnapshotBlockPublicAccessRequest {
|
|
972
|
+
State: SnapshotBlockPublicAccessState | undefined;
|
|
973
|
+
DryRun?: boolean;
|
|
974
|
+
}
|
|
975
|
+
export interface EnableSnapshotBlockPublicAccessResult {
|
|
976
|
+
State?: SnapshotBlockPublicAccessState;
|
|
977
|
+
}
|
|
924
978
|
export interface EnableTransitGatewayRouteTablePropagationRequest {
|
|
925
979
|
TransitGatewayRouteTableId: string | undefined;
|
|
926
980
|
TransitGatewayAttachmentId?: string;
|
|
@@ -1550,6 +1604,12 @@ export interface GetSerialConsoleAccessStatusRequest {
|
|
|
1550
1604
|
export interface GetSerialConsoleAccessStatusResult {
|
|
1551
1605
|
SerialConsoleAccessEnabled?: boolean;
|
|
1552
1606
|
}
|
|
1607
|
+
export interface GetSnapshotBlockPublicAccessStateRequest {
|
|
1608
|
+
DryRun?: boolean;
|
|
1609
|
+
}
|
|
1610
|
+
export interface GetSnapshotBlockPublicAccessStateResult {
|
|
1611
|
+
State?: SnapshotBlockPublicAccessState;
|
|
1612
|
+
}
|
|
1553
1613
|
export interface InstanceRequirementsWithMetadataRequest {
|
|
1554
1614
|
ArchitectureTypes?: ArchitectureType[];
|
|
1555
1615
|
VirtualizationTypes?: VirtualizationType[];
|
|
@@ -1582,79 +1642,6 @@ export interface GetSubnetCidrReservationsRequest {
|
|
|
1582
1642
|
NextToken?: string;
|
|
1583
1643
|
MaxResults?: number;
|
|
1584
1644
|
}
|
|
1585
|
-
export interface GetSubnetCidrReservationsResult {
|
|
1586
|
-
SubnetIpv4CidrReservations?: SubnetCidrReservation[];
|
|
1587
|
-
SubnetIpv6CidrReservations?: SubnetCidrReservation[];
|
|
1588
|
-
NextToken?: string;
|
|
1589
|
-
}
|
|
1590
|
-
export interface GetTransitGatewayAttachmentPropagationsRequest {
|
|
1591
|
-
TransitGatewayAttachmentId: string | undefined;
|
|
1592
|
-
Filters?: Filter[];
|
|
1593
|
-
MaxResults?: number;
|
|
1594
|
-
NextToken?: string;
|
|
1595
|
-
DryRun?: boolean;
|
|
1596
|
-
}
|
|
1597
|
-
export interface TransitGatewayAttachmentPropagation {
|
|
1598
|
-
TransitGatewayRouteTableId?: string;
|
|
1599
|
-
State?: TransitGatewayPropagationState;
|
|
1600
|
-
}
|
|
1601
|
-
export interface GetTransitGatewayAttachmentPropagationsResult {
|
|
1602
|
-
TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[];
|
|
1603
|
-
NextToken?: string;
|
|
1604
|
-
}
|
|
1605
|
-
export interface GetTransitGatewayMulticastDomainAssociationsRequest {
|
|
1606
|
-
TransitGatewayMulticastDomainId: string | undefined;
|
|
1607
|
-
Filters?: Filter[];
|
|
1608
|
-
MaxResults?: number;
|
|
1609
|
-
NextToken?: string;
|
|
1610
|
-
DryRun?: boolean;
|
|
1611
|
-
}
|
|
1612
|
-
export interface TransitGatewayMulticastDomainAssociation {
|
|
1613
|
-
TransitGatewayAttachmentId?: string;
|
|
1614
|
-
ResourceId?: string;
|
|
1615
|
-
ResourceType?: TransitGatewayAttachmentResourceType;
|
|
1616
|
-
ResourceOwnerId?: string;
|
|
1617
|
-
Subnet?: SubnetAssociation;
|
|
1618
|
-
}
|
|
1619
|
-
export interface GetTransitGatewayMulticastDomainAssociationsResult {
|
|
1620
|
-
MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[];
|
|
1621
|
-
NextToken?: string;
|
|
1622
|
-
}
|
|
1623
|
-
export interface GetTransitGatewayPolicyTableAssociationsRequest {
|
|
1624
|
-
TransitGatewayPolicyTableId: string | undefined;
|
|
1625
|
-
Filters?: Filter[];
|
|
1626
|
-
MaxResults?: number;
|
|
1627
|
-
NextToken?: string;
|
|
1628
|
-
DryRun?: boolean;
|
|
1629
|
-
}
|
|
1630
|
-
export interface GetTransitGatewayPolicyTableAssociationsResult {
|
|
1631
|
-
Associations?: TransitGatewayPolicyTableAssociation[];
|
|
1632
|
-
NextToken?: string;
|
|
1633
|
-
}
|
|
1634
|
-
export interface GetTransitGatewayPolicyTableEntriesRequest {
|
|
1635
|
-
TransitGatewayPolicyTableId: string | undefined;
|
|
1636
|
-
Filters?: Filter[];
|
|
1637
|
-
MaxResults?: number;
|
|
1638
|
-
NextToken?: string;
|
|
1639
|
-
DryRun?: boolean;
|
|
1640
|
-
}
|
|
1641
|
-
export interface TransitGatewayPolicyRuleMetaData {
|
|
1642
|
-
MetaDataKey?: string;
|
|
1643
|
-
MetaDataValue?: string;
|
|
1644
|
-
}
|
|
1645
|
-
export interface TransitGatewayPolicyRule {
|
|
1646
|
-
SourceCidrBlock?: string;
|
|
1647
|
-
SourcePortRange?: string;
|
|
1648
|
-
DestinationCidrBlock?: string;
|
|
1649
|
-
DestinationPortRange?: string;
|
|
1650
|
-
Protocol?: string;
|
|
1651
|
-
MetaData?: TransitGatewayPolicyRuleMetaData;
|
|
1652
|
-
}
|
|
1653
|
-
export interface TransitGatewayPolicyTableEntry {
|
|
1654
|
-
PolicyRuleNumber?: string;
|
|
1655
|
-
PolicyRule?: TransitGatewayPolicyRule;
|
|
1656
|
-
TargetRouteTableId?: string;
|
|
1657
|
-
}
|
|
1658
1645
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1659
1646
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1660
1647
|
) => any;
|
|
@@ -23,12 +23,14 @@ import {
|
|
|
23
23
|
Ipv6SupportValue,
|
|
24
24
|
PortRange,
|
|
25
25
|
RouteTableAssociationState,
|
|
26
|
+
SubnetAssociation,
|
|
26
27
|
Tag,
|
|
27
28
|
TagSpecification,
|
|
28
29
|
TransitGatewayAssociationState,
|
|
29
30
|
TransitGatewayAttachmentResourceType,
|
|
30
31
|
TransitGatewayMulticastDomainAssociations,
|
|
31
32
|
TransitGatewayPeeringAttachment,
|
|
33
|
+
TransitGatewayPolicyTableAssociation,
|
|
32
34
|
TransitGatewayVpcAttachment,
|
|
33
35
|
UnsuccessfulItem,
|
|
34
36
|
VerifiedAccessInstance,
|
|
@@ -81,8 +83,7 @@ import {
|
|
|
81
83
|
Phase2DHGroupNumbersRequestListValue,
|
|
82
84
|
Phase2EncryptionAlgorithmsRequestListValue,
|
|
83
85
|
Phase2IntegrityAlgorithmsRequestListValue,
|
|
84
|
-
|
|
85
|
-
SSEType,
|
|
86
|
+
SubnetCidrReservation,
|
|
86
87
|
SubnetConfiguration,
|
|
87
88
|
TrafficDirection,
|
|
88
89
|
TrafficMirrorFilter,
|
|
@@ -147,12 +148,84 @@ import {
|
|
|
147
148
|
InstanceFamilyCreditSpecification,
|
|
148
149
|
IpamResourceCidr,
|
|
149
150
|
Purchase,
|
|
150
|
-
TransitGatewayPolicyTableEntry,
|
|
151
151
|
TransitGatewayPropagationState,
|
|
152
152
|
UnlimitedSupportedInstanceFamily,
|
|
153
153
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
154
154
|
VolumeModification,
|
|
155
155
|
} from "./models_5";
|
|
156
|
+
export interface GetSubnetCidrReservationsResult {
|
|
157
|
+
SubnetIpv4CidrReservations?: SubnetCidrReservation[];
|
|
158
|
+
SubnetIpv6CidrReservations?: SubnetCidrReservation[];
|
|
159
|
+
NextToken?: string;
|
|
160
|
+
}
|
|
161
|
+
export interface GetTransitGatewayAttachmentPropagationsRequest {
|
|
162
|
+
TransitGatewayAttachmentId: string | undefined;
|
|
163
|
+
Filters?: Filter[];
|
|
164
|
+
MaxResults?: number;
|
|
165
|
+
NextToken?: string;
|
|
166
|
+
DryRun?: boolean;
|
|
167
|
+
}
|
|
168
|
+
export interface TransitGatewayAttachmentPropagation {
|
|
169
|
+
TransitGatewayRouteTableId?: string;
|
|
170
|
+
State?: TransitGatewayPropagationState;
|
|
171
|
+
}
|
|
172
|
+
export interface GetTransitGatewayAttachmentPropagationsResult {
|
|
173
|
+
TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[];
|
|
174
|
+
NextToken?: string;
|
|
175
|
+
}
|
|
176
|
+
export interface GetTransitGatewayMulticastDomainAssociationsRequest {
|
|
177
|
+
TransitGatewayMulticastDomainId: string | undefined;
|
|
178
|
+
Filters?: Filter[];
|
|
179
|
+
MaxResults?: number;
|
|
180
|
+
NextToken?: string;
|
|
181
|
+
DryRun?: boolean;
|
|
182
|
+
}
|
|
183
|
+
export interface TransitGatewayMulticastDomainAssociation {
|
|
184
|
+
TransitGatewayAttachmentId?: string;
|
|
185
|
+
ResourceId?: string;
|
|
186
|
+
ResourceType?: TransitGatewayAttachmentResourceType;
|
|
187
|
+
ResourceOwnerId?: string;
|
|
188
|
+
Subnet?: SubnetAssociation;
|
|
189
|
+
}
|
|
190
|
+
export interface GetTransitGatewayMulticastDomainAssociationsResult {
|
|
191
|
+
MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[];
|
|
192
|
+
NextToken?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface GetTransitGatewayPolicyTableAssociationsRequest {
|
|
195
|
+
TransitGatewayPolicyTableId: string | undefined;
|
|
196
|
+
Filters?: Filter[];
|
|
197
|
+
MaxResults?: number;
|
|
198
|
+
NextToken?: string;
|
|
199
|
+
DryRun?: boolean;
|
|
200
|
+
}
|
|
201
|
+
export interface GetTransitGatewayPolicyTableAssociationsResult {
|
|
202
|
+
Associations?: TransitGatewayPolicyTableAssociation[];
|
|
203
|
+
NextToken?: string;
|
|
204
|
+
}
|
|
205
|
+
export interface GetTransitGatewayPolicyTableEntriesRequest {
|
|
206
|
+
TransitGatewayPolicyTableId: string | undefined;
|
|
207
|
+
Filters?: Filter[];
|
|
208
|
+
MaxResults?: number;
|
|
209
|
+
NextToken?: string;
|
|
210
|
+
DryRun?: boolean;
|
|
211
|
+
}
|
|
212
|
+
export interface TransitGatewayPolicyRuleMetaData {
|
|
213
|
+
MetaDataKey?: string;
|
|
214
|
+
MetaDataValue?: string;
|
|
215
|
+
}
|
|
216
|
+
export interface TransitGatewayPolicyRule {
|
|
217
|
+
SourceCidrBlock?: string;
|
|
218
|
+
SourcePortRange?: string;
|
|
219
|
+
DestinationCidrBlock?: string;
|
|
220
|
+
DestinationPortRange?: string;
|
|
221
|
+
Protocol?: string;
|
|
222
|
+
MetaData?: TransitGatewayPolicyRuleMetaData;
|
|
223
|
+
}
|
|
224
|
+
export interface TransitGatewayPolicyTableEntry {
|
|
225
|
+
PolicyRuleNumber?: string;
|
|
226
|
+
PolicyRule?: TransitGatewayPolicyRule;
|
|
227
|
+
TargetRouteTableId?: string;
|
|
228
|
+
}
|
|
156
229
|
export interface GetTransitGatewayPolicyTableEntriesResult {
|
|
157
230
|
TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[];
|
|
158
231
|
}
|
|
@@ -1764,73 +1837,6 @@ export declare const ResetImageAttributeName: {
|
|
|
1764
1837
|
};
|
|
1765
1838
|
export type ResetImageAttributeName =
|
|
1766
1839
|
(typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
|
|
1767
|
-
export interface ResetImageAttributeRequest {
|
|
1768
|
-
Attribute: ResetImageAttributeName | undefined;
|
|
1769
|
-
ImageId: string | undefined;
|
|
1770
|
-
DryRun?: boolean;
|
|
1771
|
-
}
|
|
1772
|
-
export interface ResetInstanceAttributeRequest {
|
|
1773
|
-
Attribute: InstanceAttributeName | undefined;
|
|
1774
|
-
DryRun?: boolean;
|
|
1775
|
-
InstanceId: string | undefined;
|
|
1776
|
-
}
|
|
1777
|
-
export interface ResetNetworkInterfaceAttributeRequest {
|
|
1778
|
-
DryRun?: boolean;
|
|
1779
|
-
NetworkInterfaceId: string | undefined;
|
|
1780
|
-
SourceDestCheck?: string;
|
|
1781
|
-
}
|
|
1782
|
-
export interface ResetSnapshotAttributeRequest {
|
|
1783
|
-
Attribute: SnapshotAttributeName | undefined;
|
|
1784
|
-
SnapshotId: string | undefined;
|
|
1785
|
-
DryRun?: boolean;
|
|
1786
|
-
}
|
|
1787
|
-
export interface RestoreAddressToClassicRequest {
|
|
1788
|
-
DryRun?: boolean;
|
|
1789
|
-
PublicIp: string | undefined;
|
|
1790
|
-
}
|
|
1791
|
-
export interface RestoreAddressToClassicResult {
|
|
1792
|
-
PublicIp?: string;
|
|
1793
|
-
Status?: Status;
|
|
1794
|
-
}
|
|
1795
|
-
export interface RestoreImageFromRecycleBinRequest {
|
|
1796
|
-
ImageId: string | undefined;
|
|
1797
|
-
DryRun?: boolean;
|
|
1798
|
-
}
|
|
1799
|
-
export interface RestoreImageFromRecycleBinResult {
|
|
1800
|
-
Return?: boolean;
|
|
1801
|
-
}
|
|
1802
|
-
export interface RestoreManagedPrefixListVersionRequest {
|
|
1803
|
-
DryRun?: boolean;
|
|
1804
|
-
PrefixListId: string | undefined;
|
|
1805
|
-
PreviousVersion: number | undefined;
|
|
1806
|
-
CurrentVersion: number | undefined;
|
|
1807
|
-
}
|
|
1808
|
-
export interface RestoreManagedPrefixListVersionResult {
|
|
1809
|
-
PrefixList?: ManagedPrefixList;
|
|
1810
|
-
}
|
|
1811
|
-
export interface RestoreSnapshotFromRecycleBinRequest {
|
|
1812
|
-
SnapshotId: string | undefined;
|
|
1813
|
-
DryRun?: boolean;
|
|
1814
|
-
}
|
|
1815
|
-
export interface RestoreSnapshotFromRecycleBinResult {
|
|
1816
|
-
SnapshotId?: string;
|
|
1817
|
-
OutpostArn?: string;
|
|
1818
|
-
Description?: string;
|
|
1819
|
-
Encrypted?: boolean;
|
|
1820
|
-
OwnerId?: string;
|
|
1821
|
-
Progress?: string;
|
|
1822
|
-
StartTime?: Date;
|
|
1823
|
-
State?: SnapshotState;
|
|
1824
|
-
VolumeId?: string;
|
|
1825
|
-
VolumeSize?: number;
|
|
1826
|
-
SseType?: SSEType;
|
|
1827
|
-
}
|
|
1828
|
-
export interface RestoreSnapshotTierRequest {
|
|
1829
|
-
SnapshotId: string | undefined;
|
|
1830
|
-
TemporaryRestoreDays?: number;
|
|
1831
|
-
PermanentRestore?: boolean;
|
|
1832
|
-
DryRun?: boolean;
|
|
1833
|
-
}
|
|
1834
1840
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
|
|
1835
1841
|
obj: GetVpnConnectionDeviceSampleConfigurationResult
|
|
1836
1842
|
) => any;
|
|
@@ -17,13 +17,18 @@ import {
|
|
|
17
17
|
InstanceInterruptionBehavior,
|
|
18
18
|
InstanceIpv6Address,
|
|
19
19
|
LocalGatewayRoute,
|
|
20
|
+
ManagedPrefixList,
|
|
20
21
|
MarketType,
|
|
21
22
|
Placement,
|
|
22
23
|
ShutdownBehavior,
|
|
23
24
|
SpotInstanceType,
|
|
24
25
|
} from "./models_1";
|
|
25
|
-
import { TransitGatewayRoute } from "./models_2";
|
|
26
|
-
import {
|
|
26
|
+
import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
|
|
27
|
+
import {
|
|
28
|
+
ClientVpnConnectionStatus,
|
|
29
|
+
Filter,
|
|
30
|
+
InstanceAttributeName,
|
|
31
|
+
} from "./models_3";
|
|
27
32
|
import {
|
|
28
33
|
HttpTokensState,
|
|
29
34
|
InstanceAutoRecoveryState,
|
|
@@ -35,11 +40,81 @@ import {
|
|
|
35
40
|
NetworkInsightsAccessScopeAnalysis,
|
|
36
41
|
NetworkInsightsAnalysis,
|
|
37
42
|
RunInstancesMonitoringEnabled,
|
|
43
|
+
SnapshotAttributeName,
|
|
38
44
|
} from "./models_4";
|
|
39
45
|
import {
|
|
40
46
|
CapacityReservationSpecification,
|
|
41
47
|
InstanceMonitoring,
|
|
48
|
+
ResetImageAttributeName,
|
|
49
|
+
Status,
|
|
42
50
|
} from "./models_6";
|
|
51
|
+
export interface ResetImageAttributeRequest {
|
|
52
|
+
Attribute: ResetImageAttributeName | undefined;
|
|
53
|
+
ImageId: string | undefined;
|
|
54
|
+
DryRun?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface ResetInstanceAttributeRequest {
|
|
57
|
+
Attribute: InstanceAttributeName | undefined;
|
|
58
|
+
DryRun?: boolean;
|
|
59
|
+
InstanceId: string | undefined;
|
|
60
|
+
}
|
|
61
|
+
export interface ResetNetworkInterfaceAttributeRequest {
|
|
62
|
+
DryRun?: boolean;
|
|
63
|
+
NetworkInterfaceId: string | undefined;
|
|
64
|
+
SourceDestCheck?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ResetSnapshotAttributeRequest {
|
|
67
|
+
Attribute: SnapshotAttributeName | undefined;
|
|
68
|
+
SnapshotId: string | undefined;
|
|
69
|
+
DryRun?: boolean;
|
|
70
|
+
}
|
|
71
|
+
export interface RestoreAddressToClassicRequest {
|
|
72
|
+
DryRun?: boolean;
|
|
73
|
+
PublicIp: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export interface RestoreAddressToClassicResult {
|
|
76
|
+
PublicIp?: string;
|
|
77
|
+
Status?: Status;
|
|
78
|
+
}
|
|
79
|
+
export interface RestoreImageFromRecycleBinRequest {
|
|
80
|
+
ImageId: string | undefined;
|
|
81
|
+
DryRun?: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface RestoreImageFromRecycleBinResult {
|
|
84
|
+
Return?: boolean;
|
|
85
|
+
}
|
|
86
|
+
export interface RestoreManagedPrefixListVersionRequest {
|
|
87
|
+
DryRun?: boolean;
|
|
88
|
+
PrefixListId: string | undefined;
|
|
89
|
+
PreviousVersion: number | undefined;
|
|
90
|
+
CurrentVersion: number | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface RestoreManagedPrefixListVersionResult {
|
|
93
|
+
PrefixList?: ManagedPrefixList;
|
|
94
|
+
}
|
|
95
|
+
export interface RestoreSnapshotFromRecycleBinRequest {
|
|
96
|
+
SnapshotId: string | undefined;
|
|
97
|
+
DryRun?: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface RestoreSnapshotFromRecycleBinResult {
|
|
100
|
+
SnapshotId?: string;
|
|
101
|
+
OutpostArn?: string;
|
|
102
|
+
Description?: string;
|
|
103
|
+
Encrypted?: boolean;
|
|
104
|
+
OwnerId?: string;
|
|
105
|
+
Progress?: string;
|
|
106
|
+
StartTime?: Date;
|
|
107
|
+
State?: SnapshotState;
|
|
108
|
+
VolumeId?: string;
|
|
109
|
+
VolumeSize?: number;
|
|
110
|
+
SseType?: SSEType;
|
|
111
|
+
}
|
|
112
|
+
export interface RestoreSnapshotTierRequest {
|
|
113
|
+
SnapshotId: string | undefined;
|
|
114
|
+
TemporaryRestoreDays?: number;
|
|
115
|
+
PermanentRestore?: boolean;
|
|
116
|
+
DryRun?: boolean;
|
|
117
|
+
}
|
|
43
118
|
export interface RestoreSnapshotTierResult {
|
|
44
119
|
SnapshotId?: string;
|
|
45
120
|
RestoreStartTime?: Date;
|
|
@@ -1519,6 +1519,10 @@ import {
|
|
|
1519
1519
|
DisableSerialConsoleAccessCommandInput,
|
|
1520
1520
|
DisableSerialConsoleAccessCommandOutput,
|
|
1521
1521
|
} from "../commands/DisableSerialConsoleAccessCommand";
|
|
1522
|
+
import {
|
|
1523
|
+
DisableSnapshotBlockPublicAccessCommandInput,
|
|
1524
|
+
DisableSnapshotBlockPublicAccessCommandOutput,
|
|
1525
|
+
} from "../commands/DisableSnapshotBlockPublicAccessCommand";
|
|
1522
1526
|
import {
|
|
1523
1527
|
DisableTransitGatewayRouteTablePropagationCommandInput,
|
|
1524
1528
|
DisableTransitGatewayRouteTablePropagationCommandOutput,
|
|
@@ -1635,6 +1639,10 @@ import {
|
|
|
1635
1639
|
EnableSerialConsoleAccessCommandInput,
|
|
1636
1640
|
EnableSerialConsoleAccessCommandOutput,
|
|
1637
1641
|
} from "../commands/EnableSerialConsoleAccessCommand";
|
|
1642
|
+
import {
|
|
1643
|
+
EnableSnapshotBlockPublicAccessCommandInput,
|
|
1644
|
+
EnableSnapshotBlockPublicAccessCommandOutput,
|
|
1645
|
+
} from "../commands/EnableSnapshotBlockPublicAccessCommand";
|
|
1638
1646
|
import {
|
|
1639
1647
|
EnableTransitGatewayRouteTablePropagationCommandInput,
|
|
1640
1648
|
EnableTransitGatewayRouteTablePropagationCommandOutput,
|
|
@@ -1795,6 +1803,10 @@ import {
|
|
|
1795
1803
|
GetSerialConsoleAccessStatusCommandInput,
|
|
1796
1804
|
GetSerialConsoleAccessStatusCommandOutput,
|
|
1797
1805
|
} from "../commands/GetSerialConsoleAccessStatusCommand";
|
|
1806
|
+
import {
|
|
1807
|
+
GetSnapshotBlockPublicAccessStateCommandInput,
|
|
1808
|
+
GetSnapshotBlockPublicAccessStateCommandOutput,
|
|
1809
|
+
} from "../commands/GetSnapshotBlockPublicAccessStateCommand";
|
|
1798
1810
|
import {
|
|
1799
1811
|
GetSpotPlacementScoresCommandInput,
|
|
1800
1812
|
GetSpotPlacementScoresCommandOutput,
|
|
@@ -3927,6 +3939,10 @@ export declare const se_DisableSerialConsoleAccessCommand: (
|
|
|
3927
3939
|
input: DisableSerialConsoleAccessCommandInput,
|
|
3928
3940
|
context: __SerdeContext
|
|
3929
3941
|
) => Promise<__HttpRequest>;
|
|
3942
|
+
export declare const se_DisableSnapshotBlockPublicAccessCommand: (
|
|
3943
|
+
input: DisableSnapshotBlockPublicAccessCommandInput,
|
|
3944
|
+
context: __SerdeContext
|
|
3945
|
+
) => Promise<__HttpRequest>;
|
|
3930
3946
|
export declare const se_DisableTransitGatewayRouteTablePropagationCommand: (
|
|
3931
3947
|
input: DisableTransitGatewayRouteTablePropagationCommandInput,
|
|
3932
3948
|
context: __SerdeContext
|
|
@@ -4043,6 +4059,10 @@ export declare const se_EnableSerialConsoleAccessCommand: (
|
|
|
4043
4059
|
input: EnableSerialConsoleAccessCommandInput,
|
|
4044
4060
|
context: __SerdeContext
|
|
4045
4061
|
) => Promise<__HttpRequest>;
|
|
4062
|
+
export declare const se_EnableSnapshotBlockPublicAccessCommand: (
|
|
4063
|
+
input: EnableSnapshotBlockPublicAccessCommandInput,
|
|
4064
|
+
context: __SerdeContext
|
|
4065
|
+
) => Promise<__HttpRequest>;
|
|
4046
4066
|
export declare const se_EnableTransitGatewayRouteTablePropagationCommand: (
|
|
4047
4067
|
input: EnableTransitGatewayRouteTablePropagationCommandInput,
|
|
4048
4068
|
context: __SerdeContext
|
|
@@ -4203,6 +4223,10 @@ export declare const se_GetSerialConsoleAccessStatusCommand: (
|
|
|
4203
4223
|
input: GetSerialConsoleAccessStatusCommandInput,
|
|
4204
4224
|
context: __SerdeContext
|
|
4205
4225
|
) => Promise<__HttpRequest>;
|
|
4226
|
+
export declare const se_GetSnapshotBlockPublicAccessStateCommand: (
|
|
4227
|
+
input: GetSnapshotBlockPublicAccessStateCommandInput,
|
|
4228
|
+
context: __SerdeContext
|
|
4229
|
+
) => Promise<__HttpRequest>;
|
|
4206
4230
|
export declare const se_GetSpotPlacementScoresCommand: (
|
|
4207
4231
|
input: GetSpotPlacementScoresCommandInput,
|
|
4208
4232
|
context: __SerdeContext
|
|
@@ -6335,6 +6359,10 @@ export declare const de_DisableSerialConsoleAccessCommand: (
|
|
|
6335
6359
|
output: __HttpResponse,
|
|
6336
6360
|
context: __SerdeContext
|
|
6337
6361
|
) => Promise<DisableSerialConsoleAccessCommandOutput>;
|
|
6362
|
+
export declare const de_DisableSnapshotBlockPublicAccessCommand: (
|
|
6363
|
+
output: __HttpResponse,
|
|
6364
|
+
context: __SerdeContext
|
|
6365
|
+
) => Promise<DisableSnapshotBlockPublicAccessCommandOutput>;
|
|
6338
6366
|
export declare const de_DisableTransitGatewayRouteTablePropagationCommand: (
|
|
6339
6367
|
output: __HttpResponse,
|
|
6340
6368
|
context: __SerdeContext
|
|
@@ -6451,6 +6479,10 @@ export declare const de_EnableSerialConsoleAccessCommand: (
|
|
|
6451
6479
|
output: __HttpResponse,
|
|
6452
6480
|
context: __SerdeContext
|
|
6453
6481
|
) => Promise<EnableSerialConsoleAccessCommandOutput>;
|
|
6482
|
+
export declare const de_EnableSnapshotBlockPublicAccessCommand: (
|
|
6483
|
+
output: __HttpResponse,
|
|
6484
|
+
context: __SerdeContext
|
|
6485
|
+
) => Promise<EnableSnapshotBlockPublicAccessCommandOutput>;
|
|
6454
6486
|
export declare const de_EnableTransitGatewayRouteTablePropagationCommand: (
|
|
6455
6487
|
output: __HttpResponse,
|
|
6456
6488
|
context: __SerdeContext
|
|
@@ -6611,6 +6643,10 @@ export declare const de_GetSerialConsoleAccessStatusCommand: (
|
|
|
6611
6643
|
output: __HttpResponse,
|
|
6612
6644
|
context: __SerdeContext
|
|
6613
6645
|
) => Promise<GetSerialConsoleAccessStatusCommandOutput>;
|
|
6646
|
+
export declare const de_GetSnapshotBlockPublicAccessStateCommand: (
|
|
6647
|
+
output: __HttpResponse,
|
|
6648
|
+
context: __SerdeContext
|
|
6649
|
+
) => Promise<GetSnapshotBlockPublicAccessStateCommandOutput>;
|
|
6614
6650
|
export declare const de_GetSpotPlacementScoresCommand: (
|
|
6615
6651
|
output: __HttpResponse,
|
|
6616
6652
|
context: __SerdeContext
|
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.449.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",
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.449.0",
|
|
25
25
|
"@aws-sdk/core": "3.445.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
31
|
-
"@aws-sdk/middleware-signing": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.449.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.449.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.449.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.449.0",
|
|
30
|
+
"@aws-sdk/middleware-sdk-ec2": "3.449.0",
|
|
31
|
+
"@aws-sdk/middleware-signing": "3.449.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.449.0",
|
|
33
33
|
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/types": "3.449.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.449.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.449.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.449.0",
|
|
38
38
|
"@smithy/config-resolver": "^2.0.16",
|
|
39
39
|
"@smithy/fetch-http-handler": "^2.2.4",
|
|
40
40
|
"@smithy/hash-node": "^2.0.12",
|