@aws-sdk/client-ec2 3.695.0 → 3.697.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 (162) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +730 -57
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +7 -4
  12. package/dist-es/models/models_2.js +20 -0
  13. package/dist-es/models/models_3.js +0 -6
  14. package/dist-es/models/models_4.js +6 -15
  15. package/dist-es/models/models_5.js +25 -0
  16. package/dist-es/protocols/Aws_ec2.js +563 -28
  17. package/dist-types/EC2.d.ts +44 -0
  18. package/dist-types/EC2Client.d.ts +8 -2
  19. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  20. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  21. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  22. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  25. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  27. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  28. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  31. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  32. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  34. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  35. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  44. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  45. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  46. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  47. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  48. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  52. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  53. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  55. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  59. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  61. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  64. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  65. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  66. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  67. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  68. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  69. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  70. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  71. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  72. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  73. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  74. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  75. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  76. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  77. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  78. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  79. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  80. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  81. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  82. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  83. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  84. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  85. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  86. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  87. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  90. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  91. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  92. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  93. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  94. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  95. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  96. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  97. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  98. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  99. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  100. package/dist-types/commands/index.d.ts +6 -0
  101. package/dist-types/models/models_0.d.ts +27 -23
  102. package/dist-types/models/models_1.d.ts +310 -277
  103. package/dist-types/models/models_2.d.ts +417 -219
  104. package/dist-types/models/models_3.d.ts +268 -589
  105. package/dist-types/models/models_4.d.ts +6951 -7048
  106. package/dist-types/models/models_5.d.ts +3709 -3519
  107. package/dist-types/models/models_6.d.ts +4429 -4255
  108. package/dist-types/models/models_7.d.ts +624 -29
  109. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  110. package/dist-types/ts3.4/EC2.d.ts +140 -0
  111. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  112. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  117. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  125. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  132. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  136. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  143. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  144. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  154. package/dist-types/ts3.4/models/models_1.d.ts +34 -60
  155. package/dist-types/ts3.4/models/models_2.d.ts +102 -57
  156. package/dist-types/ts3.4/models/models_3.d.ts +64 -117
  157. package/dist-types/ts3.4/models/models_4.d.ts +119 -113
  158. package/dist-types/ts3.4/models/models_5.d.ts +152 -141
  159. package/dist-types/ts3.4/models/models_6.d.ts +139 -138
  160. package/dist-types/ts3.4/models/models_7.d.ts +158 -3
  161. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  162. package/package.json +37 -37
@@ -1,16 +1,20 @@
1
1
  import {
2
+ AllocationState,
3
+ AllowsMultipleInstanceTypes,
2
4
  AlternatePathHint,
3
5
  AttachmentStatus,
6
+ AutoPlacement,
4
7
  CurrencyCodeValues,
5
8
  Explanation,
9
+ HostMaintenance,
10
+ HostRecovery,
6
11
  IamInstanceProfile,
12
+ IamInstanceProfileAssociation,
7
13
  InstanceEventWindow,
8
14
  IpamResourceDiscoveryAssociation,
9
- IpPermission,
10
15
  PathComponent,
11
16
  ReservedInstancesListing,
12
17
  SecurityGroupRule,
13
- SecurityGroupVpcAssociationState,
14
18
  Tag,
15
19
  } from "./models_0";
16
20
  import {
@@ -37,8 +41,6 @@ import {
37
41
  LocalGatewayRouteTableVpcAssociation,
38
42
  ManagedPrefixList,
39
43
  NatGateway,
40
- NetworkAcl,
41
- NetworkInsightsAccessScope,
42
44
  OperatorResponse,
43
45
  Placement,
44
46
  PlatformValues,
@@ -47,6 +49,8 @@ import {
47
49
  } from "./models_1";
48
50
  import {
49
51
  GroupIdentifier,
52
+ NetworkAcl,
53
+ NetworkInsightsAccessScope,
50
54
  NetworkInsightsPath,
51
55
  NetworkInterface,
52
56
  NetworkInterfaceAttachment,
@@ -55,18 +59,126 @@ import {
55
59
  PlacementGroup,
56
60
  ReplaceRootVolumeTask,
57
61
  RouteTable,
58
- Snapshot,
59
- SnapshotState,
60
- StorageTier,
61
62
  } from "./models_2";
62
63
  import {
63
64
  Byoasn,
64
65
  Filter,
65
66
  IdFormat,
66
67
  InstanceTagNotificationAttribute,
68
+ PaymentOption,
67
69
  PermissionGroup,
68
70
  ProductCode,
69
71
  } from "./models_3";
72
+ export interface HostOffering {
73
+ CurrencyCode?: CurrencyCodeValues | undefined;
74
+ Duration?: number | undefined;
75
+ HourlyPrice?: string | undefined;
76
+ InstanceFamily?: string | undefined;
77
+ OfferingId?: string | undefined;
78
+ PaymentOption?: PaymentOption | undefined;
79
+ UpfrontPrice?: string | undefined;
80
+ }
81
+ export interface DescribeHostReservationOfferingsResult {
82
+ NextToken?: string | undefined;
83
+ OfferingSet?: HostOffering[] | undefined;
84
+ }
85
+ export interface DescribeHostReservationsRequest {
86
+ Filter?: Filter[] | undefined;
87
+ HostReservationIdSet?: string[] | undefined;
88
+ MaxResults?: number | undefined;
89
+ NextToken?: string | undefined;
90
+ }
91
+ export declare const ReservationState: {
92
+ readonly ACTIVE: "active";
93
+ readonly PAYMENT_FAILED: "payment-failed";
94
+ readonly PAYMENT_PENDING: "payment-pending";
95
+ readonly RETIRED: "retired";
96
+ };
97
+ export type ReservationState =
98
+ (typeof ReservationState)[keyof typeof ReservationState];
99
+ export interface HostReservation {
100
+ Count?: number | undefined;
101
+ CurrencyCode?: CurrencyCodeValues | undefined;
102
+ Duration?: number | undefined;
103
+ End?: Date | undefined;
104
+ HostIdSet?: string[] | undefined;
105
+ HostReservationId?: string | undefined;
106
+ HourlyPrice?: string | undefined;
107
+ InstanceFamily?: string | undefined;
108
+ OfferingId?: string | undefined;
109
+ PaymentOption?: PaymentOption | undefined;
110
+ Start?: Date | undefined;
111
+ State?: ReservationState | undefined;
112
+ UpfrontPrice?: string | undefined;
113
+ Tags?: Tag[] | undefined;
114
+ }
115
+ export interface DescribeHostReservationsResult {
116
+ HostReservationSet?: HostReservation[] | undefined;
117
+ NextToken?: string | undefined;
118
+ }
119
+ export interface DescribeHostsRequest {
120
+ HostIds?: string[] | undefined;
121
+ NextToken?: string | undefined;
122
+ MaxResults?: number | undefined;
123
+ Filter?: Filter[] | undefined;
124
+ }
125
+ export interface InstanceCapacity {
126
+ AvailableCapacity?: number | undefined;
127
+ InstanceType?: string | undefined;
128
+ TotalCapacity?: number | undefined;
129
+ }
130
+ export interface AvailableCapacity {
131
+ AvailableInstanceCapacity?: InstanceCapacity[] | undefined;
132
+ AvailableVCpus?: number | undefined;
133
+ }
134
+ export interface HostProperties {
135
+ Cores?: number | undefined;
136
+ InstanceType?: string | undefined;
137
+ InstanceFamily?: string | undefined;
138
+ Sockets?: number | undefined;
139
+ TotalVCpus?: number | undefined;
140
+ }
141
+ export interface HostInstance {
142
+ InstanceId?: string | undefined;
143
+ InstanceType?: string | undefined;
144
+ OwnerId?: string | undefined;
145
+ }
146
+ export interface Host {
147
+ AutoPlacement?: AutoPlacement | undefined;
148
+ AvailabilityZone?: string | undefined;
149
+ AvailableCapacity?: AvailableCapacity | undefined;
150
+ ClientToken?: string | undefined;
151
+ HostId?: string | undefined;
152
+ HostProperties?: HostProperties | undefined;
153
+ HostReservationId?: string | undefined;
154
+ Instances?: HostInstance[] | undefined;
155
+ State?: AllocationState | undefined;
156
+ AllocationTime?: Date | undefined;
157
+ ReleaseTime?: Date | undefined;
158
+ Tags?: Tag[] | undefined;
159
+ HostRecovery?: HostRecovery | undefined;
160
+ AllowsMultipleInstanceTypes?: AllowsMultipleInstanceTypes | undefined;
161
+ OwnerId?: string | undefined;
162
+ AvailabilityZoneId?: string | undefined;
163
+ MemberOfServiceLinkedResourceGroup?: boolean | undefined;
164
+ OutpostArn?: string | undefined;
165
+ HostMaintenance?: HostMaintenance | undefined;
166
+ AssetId?: string | undefined;
167
+ }
168
+ export interface DescribeHostsResult {
169
+ Hosts?: Host[] | undefined;
170
+ NextToken?: string | undefined;
171
+ }
172
+ export interface DescribeIamInstanceProfileAssociationsRequest {
173
+ AssociationIds?: string[] | undefined;
174
+ Filters?: Filter[] | undefined;
175
+ MaxResults?: number | undefined;
176
+ NextToken?: string | undefined;
177
+ }
178
+ export interface DescribeIamInstanceProfileAssociationsResult {
179
+ IamInstanceProfileAssociations?: IamInstanceProfileAssociation[] | undefined;
180
+ NextToken?: string | undefined;
181
+ }
70
182
  export interface DescribeIdentityIdFormatRequest {
71
183
  Resource?: string | undefined;
72
184
  PrincipalArn: string | undefined;
@@ -1986,112 +2098,6 @@ export interface DescribeSecurityGroupRulesResult {
1986
2098
  SecurityGroupRules?: SecurityGroupRule[] | undefined;
1987
2099
  NextToken?: string | undefined;
1988
2100
  }
1989
- export interface DescribeSecurityGroupsRequest {
1990
- GroupIds?: string[] | undefined;
1991
- GroupNames?: string[] | undefined;
1992
- NextToken?: string | undefined;
1993
- MaxResults?: number | undefined;
1994
- DryRun?: boolean | undefined;
1995
- Filters?: Filter[] | undefined;
1996
- }
1997
- export interface SecurityGroup {
1998
- GroupId?: string | undefined;
1999
- IpPermissionsEgress?: IpPermission[] | undefined;
2000
- Tags?: Tag[] | undefined;
2001
- VpcId?: string | undefined;
2002
- SecurityGroupArn?: string | undefined;
2003
- OwnerId?: string | undefined;
2004
- GroupName?: string | undefined;
2005
- Description?: string | undefined;
2006
- IpPermissions?: IpPermission[] | undefined;
2007
- }
2008
- export interface DescribeSecurityGroupsResult {
2009
- NextToken?: string | undefined;
2010
- SecurityGroups?: SecurityGroup[] | undefined;
2011
- }
2012
- export interface DescribeSecurityGroupVpcAssociationsRequest {
2013
- Filters?: Filter[] | undefined;
2014
- NextToken?: string | undefined;
2015
- MaxResults?: number | undefined;
2016
- DryRun?: boolean | undefined;
2017
- }
2018
- export interface SecurityGroupVpcAssociation {
2019
- GroupId?: string | undefined;
2020
- VpcId?: string | undefined;
2021
- VpcOwnerId?: string | undefined;
2022
- State?: SecurityGroupVpcAssociationState | undefined;
2023
- StateReason?: string | undefined;
2024
- }
2025
- export interface DescribeSecurityGroupVpcAssociationsResult {
2026
- SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[] | undefined;
2027
- NextToken?: string | undefined;
2028
- }
2029
- export declare const SnapshotAttributeName: {
2030
- readonly createVolumePermission: "createVolumePermission";
2031
- readonly productCodes: "productCodes";
2032
- };
2033
- export type SnapshotAttributeName =
2034
- (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
2035
- export interface DescribeSnapshotAttributeRequest {
2036
- Attribute: SnapshotAttributeName | undefined;
2037
- SnapshotId: string | undefined;
2038
- DryRun?: boolean | undefined;
2039
- }
2040
- export interface CreateVolumePermission {
2041
- UserId?: string | undefined;
2042
- Group?: PermissionGroup | undefined;
2043
- }
2044
- export interface DescribeSnapshotAttributeResult {
2045
- ProductCodes?: ProductCode[] | undefined;
2046
- SnapshotId?: string | undefined;
2047
- CreateVolumePermissions?: CreateVolumePermission[] | undefined;
2048
- }
2049
- export interface DescribeSnapshotsRequest {
2050
- MaxResults?: number | undefined;
2051
- NextToken?: string | undefined;
2052
- OwnerIds?: string[] | undefined;
2053
- RestorableByUserIds?: string[] | undefined;
2054
- SnapshotIds?: string[] | undefined;
2055
- DryRun?: boolean | undefined;
2056
- Filters?: Filter[] | undefined;
2057
- }
2058
- export interface DescribeSnapshotsResult {
2059
- NextToken?: string | undefined;
2060
- Snapshots?: Snapshot[] | undefined;
2061
- }
2062
- export interface DescribeSnapshotTierStatusRequest {
2063
- Filters?: Filter[] | undefined;
2064
- DryRun?: boolean | undefined;
2065
- NextToken?: string | undefined;
2066
- MaxResults?: number | undefined;
2067
- }
2068
- export declare const TieringOperationStatus: {
2069
- readonly archival_completed: "archival-completed";
2070
- readonly archival_failed: "archival-failed";
2071
- readonly archival_in_progress: "archival-in-progress";
2072
- readonly permanent_restore_completed: "permanent-restore-completed";
2073
- readonly permanent_restore_failed: "permanent-restore-failed";
2074
- readonly permanent_restore_in_progress: "permanent-restore-in-progress";
2075
- readonly temporary_restore_completed: "temporary-restore-completed";
2076
- readonly temporary_restore_failed: "temporary-restore-failed";
2077
- readonly temporary_restore_in_progress: "temporary-restore-in-progress";
2078
- };
2079
- export type TieringOperationStatus =
2080
- (typeof TieringOperationStatus)[keyof typeof TieringOperationStatus];
2081
- export interface SnapshotTierStatus {
2082
- SnapshotId?: string | undefined;
2083
- VolumeId?: string | undefined;
2084
- Status?: SnapshotState | undefined;
2085
- OwnerId?: string | undefined;
2086
- Tags?: Tag[] | undefined;
2087
- StorageTier?: StorageTier | undefined;
2088
- LastTieringStartTime?: Date | undefined;
2089
- LastTieringProgress?: number | undefined;
2090
- LastTieringOperationStatus?: TieringOperationStatus | undefined;
2091
- LastTieringOperationStatusDetail?: string | undefined;
2092
- ArchivalCompleteTime?: Date | undefined;
2093
- RestoreExpiryTime?: Date | undefined;
2094
- }
2095
2101
  export declare const SnapshotDetailFilterSensitiveLog: (
2096
2102
  obj: SnapshotDetail
2097
2103
  ) => any;
@@ -7,11 +7,11 @@ import {
7
7
  AsnAssociation,
8
8
  AssociationStatus,
9
9
  BatchState,
10
- CapacityReservationState,
11
10
  IamInstanceProfileAssociation,
12
11
  IamInstanceProfileSpecification,
13
12
  InstanceEventWindow,
14
13
  IpamResourceDiscoveryAssociation,
14
+ IpPermission,
15
15
  NatGatewayAddress,
16
16
  ResourceType,
17
17
  SecurityGroupVpcAssociationState,
@@ -38,7 +38,6 @@ import {
38
38
  _InstanceType,
39
39
  BlockDeviceMapping,
40
40
  ConnectionTrackingSpecificationRequest,
41
- DiskImageFormat,
42
41
  EnaSrdSpecificationRequest,
43
42
  FleetLaunchTemplateSpecification,
44
43
  FleetType,
@@ -65,9 +64,12 @@ import {
65
64
  ServiceConfiguration,
66
65
  ServiceConnectivityType,
67
66
  ServiceTypeDetail,
67
+ Snapshot,
68
+ SnapshotState,
68
69
  SpotDatafeedSubscription,
69
70
  SpotInstanceStateFault,
70
71
  State,
72
+ StorageTier,
71
73
  TrafficMirrorFilter,
72
74
  TrafficMirrorFilterRule,
73
75
  TrafficMirrorSession,
@@ -82,13 +84,13 @@ import {
82
84
  VerifiedAccessEndpoint,
83
85
  VerifiedAccessGroup,
84
86
  Volume,
87
+ VpcBlockPublicAccessExclusion,
85
88
  VpcEndpoint,
86
89
  VpnConnection,
87
90
  VpnGateway,
88
91
  } from "./models_2";
89
92
  import {
90
93
  EventInformation,
91
- ExportTaskS3Location,
92
94
  FastLaunchLaunchTemplateSpecificationResponse,
93
95
  FastLaunchResourceType,
94
96
  FastLaunchSnapshotConfigurationResponse,
@@ -96,15 +98,117 @@ import {
96
98
  FastSnapshotRestoreStateCode,
97
99
  Filter,
98
100
  MetricType,
99
- PeriodType,
101
+ PermissionGroup,
100
102
  ProductCode,
101
103
  StatisticType,
102
104
  } from "./models_3";
103
- import {
104
- AttributeBooleanValue,
105
- RIProductDescription,
106
- SnapshotTierStatus,
107
- } from "./models_4";
105
+ import { AttributeBooleanValue, RIProductDescription } from "./models_4";
106
+ export interface DescribeSecurityGroupsRequest {
107
+ GroupIds?: string[] | undefined;
108
+ GroupNames?: string[] | undefined;
109
+ NextToken?: string | undefined;
110
+ MaxResults?: number | undefined;
111
+ DryRun?: boolean | undefined;
112
+ Filters?: Filter[] | undefined;
113
+ }
114
+ export interface SecurityGroup {
115
+ GroupId?: string | undefined;
116
+ IpPermissionsEgress?: IpPermission[] | undefined;
117
+ Tags?: Tag[] | undefined;
118
+ VpcId?: string | undefined;
119
+ SecurityGroupArn?: string | undefined;
120
+ OwnerId?: string | undefined;
121
+ GroupName?: string | undefined;
122
+ Description?: string | undefined;
123
+ IpPermissions?: IpPermission[] | undefined;
124
+ }
125
+ export interface DescribeSecurityGroupsResult {
126
+ NextToken?: string | undefined;
127
+ SecurityGroups?: SecurityGroup[] | undefined;
128
+ }
129
+ export interface DescribeSecurityGroupVpcAssociationsRequest {
130
+ Filters?: Filter[] | undefined;
131
+ NextToken?: string | undefined;
132
+ MaxResults?: number | undefined;
133
+ DryRun?: boolean | undefined;
134
+ }
135
+ export interface SecurityGroupVpcAssociation {
136
+ GroupId?: string | undefined;
137
+ VpcId?: string | undefined;
138
+ VpcOwnerId?: string | undefined;
139
+ State?: SecurityGroupVpcAssociationState | undefined;
140
+ StateReason?: string | undefined;
141
+ }
142
+ export interface DescribeSecurityGroupVpcAssociationsResult {
143
+ SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[] | undefined;
144
+ NextToken?: string | undefined;
145
+ }
146
+ export declare const SnapshotAttributeName: {
147
+ readonly createVolumePermission: "createVolumePermission";
148
+ readonly productCodes: "productCodes";
149
+ };
150
+ export type SnapshotAttributeName =
151
+ (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
152
+ export interface DescribeSnapshotAttributeRequest {
153
+ Attribute: SnapshotAttributeName | undefined;
154
+ SnapshotId: string | undefined;
155
+ DryRun?: boolean | undefined;
156
+ }
157
+ export interface CreateVolumePermission {
158
+ UserId?: string | undefined;
159
+ Group?: PermissionGroup | undefined;
160
+ }
161
+ export interface DescribeSnapshotAttributeResult {
162
+ ProductCodes?: ProductCode[] | undefined;
163
+ SnapshotId?: string | undefined;
164
+ CreateVolumePermissions?: CreateVolumePermission[] | undefined;
165
+ }
166
+ export interface DescribeSnapshotsRequest {
167
+ MaxResults?: number | undefined;
168
+ NextToken?: string | undefined;
169
+ OwnerIds?: string[] | undefined;
170
+ RestorableByUserIds?: string[] | undefined;
171
+ SnapshotIds?: string[] | undefined;
172
+ DryRun?: boolean | undefined;
173
+ Filters?: Filter[] | undefined;
174
+ }
175
+ export interface DescribeSnapshotsResult {
176
+ NextToken?: string | undefined;
177
+ Snapshots?: Snapshot[] | undefined;
178
+ }
179
+ export interface DescribeSnapshotTierStatusRequest {
180
+ Filters?: Filter[] | undefined;
181
+ DryRun?: boolean | undefined;
182
+ NextToken?: string | undefined;
183
+ MaxResults?: number | undefined;
184
+ }
185
+ export declare const TieringOperationStatus: {
186
+ readonly archival_completed: "archival-completed";
187
+ readonly archival_failed: "archival-failed";
188
+ readonly archival_in_progress: "archival-in-progress";
189
+ readonly permanent_restore_completed: "permanent-restore-completed";
190
+ readonly permanent_restore_failed: "permanent-restore-failed";
191
+ readonly permanent_restore_in_progress: "permanent-restore-in-progress";
192
+ readonly temporary_restore_completed: "temporary-restore-completed";
193
+ readonly temporary_restore_failed: "temporary-restore-failed";
194
+ readonly temporary_restore_in_progress: "temporary-restore-in-progress";
195
+ };
196
+ export type TieringOperationStatus =
197
+ (typeof TieringOperationStatus)[keyof typeof TieringOperationStatus];
198
+ export interface SnapshotTierStatus {
199
+ SnapshotId?: string | undefined;
200
+ VolumeId?: string | undefined;
201
+ Status?: SnapshotState | undefined;
202
+ OwnerId?: string | undefined;
203
+ Tags?: Tag[] | undefined;
204
+ StorageTier?: StorageTier | undefined;
205
+ LastTieringStartTime?: Date | undefined;
206
+ LastTieringProgress?: number | undefined;
207
+ LastTieringOperationStatus?: TieringOperationStatus | undefined;
208
+ LastTieringOperationStatusDetail?: string | undefined;
209
+ ArchivalCompleteTime?: Date | undefined;
210
+ RestoreExpiryTime?: Date | undefined;
211
+ }
108
212
  export interface DescribeSnapshotTierStatusResult {
109
213
  SnapshotTierStatuses?: SnapshotTierStatus[] | undefined;
110
214
  NextToken?: string | undefined;
@@ -901,6 +1005,45 @@ export interface DescribeVpcAttributeResult {
901
1005
  EnableNetworkAddressUsageMetrics?: AttributeBooleanValue | undefined;
902
1006
  VpcId?: string | undefined;
903
1007
  }
1008
+ export interface DescribeVpcBlockPublicAccessExclusionsRequest {
1009
+ DryRun?: boolean | undefined;
1010
+ Filters?: Filter[] | undefined;
1011
+ ExclusionIds?: string[] | undefined;
1012
+ NextToken?: string | undefined;
1013
+ MaxResults?: number | undefined;
1014
+ }
1015
+ export interface DescribeVpcBlockPublicAccessExclusionsResult {
1016
+ VpcBlockPublicAccessExclusions?: VpcBlockPublicAccessExclusion[] | undefined;
1017
+ NextToken?: string | undefined;
1018
+ }
1019
+ export interface DescribeVpcBlockPublicAccessOptionsRequest {
1020
+ DryRun?: boolean | undefined;
1021
+ }
1022
+ export declare const InternetGatewayBlockMode: {
1023
+ readonly block_bidirectional: "block-bidirectional";
1024
+ readonly block_ingress: "block-ingress";
1025
+ readonly off: "off";
1026
+ };
1027
+ export type InternetGatewayBlockMode =
1028
+ (typeof InternetGatewayBlockMode)[keyof typeof InternetGatewayBlockMode];
1029
+ export declare const VpcBlockPublicAccessState: {
1030
+ readonly default_state: "default-state";
1031
+ readonly update_complete: "update-complete";
1032
+ readonly update_in_progress: "update-in-progress";
1033
+ };
1034
+ export type VpcBlockPublicAccessState =
1035
+ (typeof VpcBlockPublicAccessState)[keyof typeof VpcBlockPublicAccessState];
1036
+ export interface VpcBlockPublicAccessOptions {
1037
+ AwsAccountId?: string | undefined;
1038
+ AwsRegion?: string | undefined;
1039
+ State?: VpcBlockPublicAccessState | undefined;
1040
+ InternetGatewayBlockMode?: InternetGatewayBlockMode | undefined;
1041
+ Reason?: string | undefined;
1042
+ LastUpdateTimestamp?: Date | undefined;
1043
+ }
1044
+ export interface DescribeVpcBlockPublicAccessOptionsResult {
1045
+ VpcBlockPublicAccessOptions?: VpcBlockPublicAccessOptions | undefined;
1046
+ }
904
1047
  export interface DescribeVpcClassicLinkRequest {
905
1048
  DryRun?: boolean | undefined;
906
1049
  VpcIds?: string[] | undefined;
@@ -1618,138 +1761,6 @@ export interface ExportClientVpnClientConfigurationRequest {
1618
1761
  ClientVpnEndpointId: string | undefined;
1619
1762
  DryRun?: boolean | undefined;
1620
1763
  }
1621
- export interface ExportClientVpnClientConfigurationResult {
1622
- ClientConfiguration?: string | undefined;
1623
- }
1624
- export interface ExportTaskS3LocationRequest {
1625
- S3Bucket: string | undefined;
1626
- S3Prefix?: string | undefined;
1627
- }
1628
- export interface ExportImageRequest {
1629
- ClientToken?: string | undefined;
1630
- Description?: string | undefined;
1631
- DiskImageFormat: DiskImageFormat | undefined;
1632
- DryRun?: boolean | undefined;
1633
- ImageId: string | undefined;
1634
- S3ExportLocation: ExportTaskS3LocationRequest | undefined;
1635
- RoleName?: string | undefined;
1636
- TagSpecifications?: TagSpecification[] | undefined;
1637
- }
1638
- export interface ExportImageResult {
1639
- Description?: string | undefined;
1640
- DiskImageFormat?: DiskImageFormat | undefined;
1641
- ExportImageTaskId?: string | undefined;
1642
- ImageId?: string | undefined;
1643
- RoleName?: string | undefined;
1644
- Progress?: string | undefined;
1645
- S3ExportLocation?: ExportTaskS3Location | undefined;
1646
- Status?: string | undefined;
1647
- StatusMessage?: string | undefined;
1648
- Tags?: Tag[] | undefined;
1649
- }
1650
- export interface ExportTransitGatewayRoutesRequest {
1651
- TransitGatewayRouteTableId: string | undefined;
1652
- Filters?: Filter[] | undefined;
1653
- S3Bucket: string | undefined;
1654
- DryRun?: boolean | undefined;
1655
- }
1656
- export interface ExportTransitGatewayRoutesResult {
1657
- S3Location?: string | undefined;
1658
- }
1659
- export interface GetAssociatedEnclaveCertificateIamRolesRequest {
1660
- CertificateArn: string | undefined;
1661
- DryRun?: boolean | undefined;
1662
- }
1663
- export interface AssociatedRole {
1664
- AssociatedRoleArn?: string | undefined;
1665
- CertificateS3BucketName?: string | undefined;
1666
- CertificateS3ObjectKey?: string | undefined;
1667
- EncryptionKmsKeyId?: string | undefined;
1668
- }
1669
- export interface GetAssociatedEnclaveCertificateIamRolesResult {
1670
- AssociatedRoles?: AssociatedRole[] | undefined;
1671
- }
1672
- export interface GetAssociatedIpv6PoolCidrsRequest {
1673
- PoolId: string | undefined;
1674
- NextToken?: string | undefined;
1675
- MaxResults?: number | undefined;
1676
- DryRun?: boolean | undefined;
1677
- }
1678
- export interface Ipv6CidrAssociation {
1679
- Ipv6Cidr?: string | undefined;
1680
- AssociatedResource?: string | undefined;
1681
- }
1682
- export interface GetAssociatedIpv6PoolCidrsResult {
1683
- Ipv6CidrAssociations?: Ipv6CidrAssociation[] | undefined;
1684
- NextToken?: string | undefined;
1685
- }
1686
- export interface DataQuery {
1687
- Id?: string | undefined;
1688
- Source?: string | undefined;
1689
- Destination?: string | undefined;
1690
- Metric?: MetricType | undefined;
1691
- Statistic?: StatisticType | undefined;
1692
- Period?: PeriodType | undefined;
1693
- }
1694
- export interface GetAwsNetworkPerformanceDataRequest {
1695
- DataQueries?: DataQuery[] | undefined;
1696
- StartTime?: Date | undefined;
1697
- EndTime?: Date | undefined;
1698
- MaxResults?: number | undefined;
1699
- NextToken?: string | undefined;
1700
- DryRun?: boolean | undefined;
1701
- }
1702
- export interface MetricPoint {
1703
- StartDate?: Date | undefined;
1704
- EndDate?: Date | undefined;
1705
- Value?: number | undefined;
1706
- Status?: string | undefined;
1707
- }
1708
- export interface DataResponse {
1709
- Id?: string | undefined;
1710
- Source?: string | undefined;
1711
- Destination?: string | undefined;
1712
- Metric?: MetricType | undefined;
1713
- Statistic?: StatisticType | undefined;
1714
- Period?: PeriodType | undefined;
1715
- MetricPoints?: MetricPoint[] | undefined;
1716
- }
1717
- export interface GetAwsNetworkPerformanceDataResult {
1718
- DataResponses?: DataResponse[] | undefined;
1719
- NextToken?: string | undefined;
1720
- }
1721
- export interface GetCapacityReservationUsageRequest {
1722
- CapacityReservationId: string | undefined;
1723
- NextToken?: string | undefined;
1724
- MaxResults?: number | undefined;
1725
- DryRun?: boolean | undefined;
1726
- }
1727
- export interface InstanceUsage {
1728
- AccountId?: string | undefined;
1729
- UsedInstanceCount?: number | undefined;
1730
- }
1731
- export interface GetCapacityReservationUsageResult {
1732
- NextToken?: string | undefined;
1733
- CapacityReservationId?: string | undefined;
1734
- InstanceType?: string | undefined;
1735
- TotalInstanceCount?: number | undefined;
1736
- AvailableInstanceCount?: number | undefined;
1737
- State?: CapacityReservationState | undefined;
1738
- InstanceUsages?: InstanceUsage[] | undefined;
1739
- }
1740
- export interface GetCoipPoolUsageRequest {
1741
- PoolId: string | undefined;
1742
- Filters?: Filter[] | undefined;
1743
- MaxResults?: number | undefined;
1744
- NextToken?: string | undefined;
1745
- DryRun?: boolean | undefined;
1746
- }
1747
- export interface CoipAddressUsage {
1748
- AllocationId?: string | undefined;
1749
- AwsAccountId?: string | undefined;
1750
- AwsService?: string | undefined;
1751
- CoIp?: string | undefined;
1752
- }
1753
1764
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1754
1765
  obj: SpotFleetLaunchSpecification
1755
1766
  ) => any;