@aws-sdk/client-ec2 3.668.0 → 3.669.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 (102) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1375 -975
  3. package/dist-es/EC2.js +10 -0
  4. package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
  5. package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
  6. package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
  7. package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  9. package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +0 -833
  12. package/dist-es/models/models_1.js +833 -0
  13. package/dist-es/models/models_2.js +0 -8
  14. package/dist-es/models/models_3.js +20 -28
  15. package/dist-es/models/models_4.js +28 -4
  16. package/dist-es/models/models_5.js +4 -1
  17. package/dist-es/models/models_6.js +0 -3
  18. package/dist-es/models/models_7.js +3 -0
  19. package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -1
  21. package/dist-es/protocols/Aws_ec2.js +324 -28
  22. package/dist-types/EC2.d.ts +35 -0
  23. package/dist-types/EC2Client.d.ts +7 -2
  24. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  25. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  26. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  27. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
  28. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
  29. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  30. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
  33. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
  34. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  35. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  40. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
  42. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  43. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  44. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  45. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  46. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  47. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
  54. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  55. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  56. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  57. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
  58. package/dist-types/commands/index.d.ts +5 -0
  59. package/dist-types/models/models_0.d.ts +61 -930
  60. package/dist-types/models/models_1.d.ts +955 -184
  61. package/dist-types/models/models_2.d.ts +131 -82
  62. package/dist-types/models/models_3.d.ts +259 -468
  63. package/dist-types/models/models_4.d.ts +1303 -1319
  64. package/dist-types/models/models_5.d.ts +516 -262
  65. package/dist-types/models/models_6.d.ts +269 -253
  66. package/dist-types/models/models_7.d.ts +280 -10
  67. package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/index.d.ts +2 -1
  69. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  70. package/dist-types/ts3.4/EC2.d.ts +115 -0
  71. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  72. package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
  79. package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
  89. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +16 -850
  92. package/dist-types/ts3.4/models/models_1.d.ts +851 -32
  93. package/dist-types/ts3.4/models/models_2.d.ts +30 -25
  94. package/dist-types/ts3.4/models/models_3.d.ts +68 -83
  95. package/dist-types/ts3.4/models/models_4.d.ts +80 -99
  96. package/dist-types/ts3.4/models/models_5.d.ts +101 -67
  97. package/dist-types/ts3.4/models/models_6.d.ts +66 -64
  98. package/dist-types/ts3.4/models/models_7.d.ts +73 -8
  99. package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  101. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  102. package/package.json +6 -6
@@ -1,9 +1,269 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, PayerResponsibility, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnEcmpSupportValue } from "./models_2";
4
- import { ArchitectureValues, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, LaunchPermission, PermissionGroup } from "./models_3";
5
- import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
1
+ import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnEcmpSupportValue } from "./models_2";
4
+ import { ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, PaymentOption, PermissionGroup } from "./models_3";
5
+ import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
+ import { InstanceFamilyCreditSpecification, LaunchTemplateConfig, PartitionLoadFrequency, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * <p>Describes integration options for Amazon Athena.</p>
9
+ * @public
10
+ */
11
+ export interface AthenaIntegration {
12
+ /**
13
+ * <p>The location in Amazon S3 to store the generated CloudFormation template.</p>
14
+ * @public
15
+ */
16
+ IntegrationResultS3DestinationArn: string | undefined;
17
+ /**
18
+ * <p>The schedule for adding new partitions to the table.</p>
19
+ * @public
20
+ */
21
+ PartitionLoadFrequency: PartitionLoadFrequency | undefined;
22
+ /**
23
+ * <p>The start date for the partition.</p>
24
+ * @public
25
+ */
26
+ PartitionStartDate?: Date;
27
+ /**
28
+ * <p>The end date for the partition.</p>
29
+ * @public
30
+ */
31
+ PartitionEndDate?: Date;
32
+ }
33
+ /**
34
+ * <p>Describes service integrations with VPC Flow logs.</p>
35
+ * @public
36
+ */
37
+ export interface IntegrateServices {
38
+ /**
39
+ * <p>Information about the integration with Amazon Athena.</p>
40
+ * @public
41
+ */
42
+ AthenaIntegrations?: AthenaIntegration[];
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface GetFlowLogsIntegrationTemplateRequest {
48
+ /**
49
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
50
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
51
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
52
+ * @public
53
+ */
54
+ DryRun?: boolean;
55
+ /**
56
+ * <p>The ID of the flow log.</p>
57
+ * @public
58
+ */
59
+ FlowLogId: string | undefined;
60
+ /**
61
+ * <p>To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.</p>
62
+ * @public
63
+ */
64
+ ConfigDeliveryS3DestinationArn: string | undefined;
65
+ /**
66
+ * <p>Information about the service integration.</p>
67
+ * @public
68
+ */
69
+ IntegrateServices: IntegrateServices | undefined;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface GetFlowLogsIntegrationTemplateResult {
75
+ /**
76
+ * <p>The generated CloudFormation template.</p>
77
+ * @public
78
+ */
79
+ Result?: string;
80
+ }
81
+ /**
82
+ * @public
83
+ */
84
+ export interface GetGroupsForCapacityReservationRequest {
85
+ /**
86
+ * <p>The ID of the Capacity Reservation. If you specify a Capacity Reservation that is shared
87
+ * with you, the operation returns only Capacity Reservation groups that you own.</p>
88
+ * @public
89
+ */
90
+ CapacityReservationId: string | undefined;
91
+ /**
92
+ * <p>The token to use to retrieve the next page of results.</p>
93
+ * @public
94
+ */
95
+ NextToken?: string;
96
+ /**
97
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
98
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
99
+ * @public
100
+ */
101
+ MaxResults?: number;
102
+ /**
103
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
104
+ * @public
105
+ */
106
+ DryRun?: boolean;
107
+ }
108
+ /**
109
+ * <p>Describes a resource group to which a Capacity Reservation has been added.</p>
110
+ * @public
111
+ */
112
+ export interface CapacityReservationGroup {
113
+ /**
114
+ * <p>The ARN of the resource group.</p>
115
+ * @public
116
+ */
117
+ GroupArn?: string;
118
+ /**
119
+ * <p>The ID of the Amazon Web Services account that owns the resource group.</p>
120
+ * @public
121
+ */
122
+ OwnerId?: string;
123
+ }
124
+ /**
125
+ * @public
126
+ */
127
+ export interface GetGroupsForCapacityReservationResult {
128
+ /**
129
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
130
+ * @public
131
+ */
132
+ NextToken?: string;
133
+ /**
134
+ * <p>Information about the resource groups to which the Capacity Reservation has been added.</p>
135
+ * @public
136
+ */
137
+ CapacityReservationGroups?: CapacityReservationGroup[];
138
+ }
139
+ /**
140
+ * @public
141
+ */
142
+ export interface GetHostReservationPurchasePreviewRequest {
143
+ /**
144
+ * <p>The IDs of the Dedicated Hosts with which the reservation is associated.</p>
145
+ * @public
146
+ */
147
+ HostIdSet: string[] | undefined;
148
+ /**
149
+ * <p>The offering ID of the reservation.</p>
150
+ * @public
151
+ */
152
+ OfferingId: string | undefined;
153
+ }
154
+ /**
155
+ * <p>Describes the result of the purchase.</p>
156
+ * @public
157
+ */
158
+ export interface Purchase {
159
+ /**
160
+ * <p>The currency in which the <code>UpfrontPrice</code> and <code>HourlyPrice</code>
161
+ * amounts are specified. At this time, the only supported currency is
162
+ * <code>USD</code>.</p>
163
+ * @public
164
+ */
165
+ CurrencyCode?: CurrencyCodeValues;
166
+ /**
167
+ * <p>The duration of the reservation's term in seconds.</p>
168
+ * @public
169
+ */
170
+ Duration?: number;
171
+ /**
172
+ * <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
173
+ * @public
174
+ */
175
+ HostIdSet?: string[];
176
+ /**
177
+ * <p>The ID of the reservation.</p>
178
+ * @public
179
+ */
180
+ HostReservationId?: string;
181
+ /**
182
+ * <p>The hourly price of the reservation per hour.</p>
183
+ * @public
184
+ */
185
+ HourlyPrice?: string;
186
+ /**
187
+ * <p>The instance family on the Dedicated Host that the reservation can be associated
188
+ * with.</p>
189
+ * @public
190
+ */
191
+ InstanceFamily?: string;
192
+ /**
193
+ * <p>The payment option for the reservation.</p>
194
+ * @public
195
+ */
196
+ PaymentOption?: PaymentOption;
197
+ /**
198
+ * <p>The upfront price of the reservation.</p>
199
+ * @public
200
+ */
201
+ UpfrontPrice?: string;
202
+ }
203
+ /**
204
+ * @public
205
+ */
206
+ export interface GetHostReservationPurchasePreviewResult {
207
+ /**
208
+ * <p>The currency in which the <code>totalUpfrontPrice</code> and
209
+ * <code>totalHourlyPrice</code> amounts are specified. At this time, the only
210
+ * supported currency is <code>USD</code>.</p>
211
+ * @public
212
+ */
213
+ CurrencyCode?: CurrencyCodeValues;
214
+ /**
215
+ * <p>The purchase information of the Dedicated Host reservation and the Dedicated Hosts
216
+ * associated with it.</p>
217
+ * @public
218
+ */
219
+ Purchase?: Purchase[];
220
+ /**
221
+ * <p>The potential total hourly price of the reservation per hour.</p>
222
+ * @public
223
+ */
224
+ TotalHourlyPrice?: string;
225
+ /**
226
+ * <p>The potential total upfront price. This is billed immediately.</p>
227
+ * @public
228
+ */
229
+ TotalUpfrontPrice?: string;
230
+ }
231
+ /**
232
+ * @public
233
+ */
234
+ export interface GetImageBlockPublicAccessStateRequest {
235
+ /**
236
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
237
+ * and provides an error response. If you have the required permissions, the error response is
238
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
239
+ * @public
240
+ */
241
+ DryRun?: boolean;
242
+ }
243
+ /**
244
+ * @public
245
+ */
246
+ export interface GetImageBlockPublicAccessStateResult {
247
+ /**
248
+ * <p>The current state of block public access for AMIs at the account level in the specified
249
+ * Amazon Web Services Region.</p>
250
+ * <p>Possible values:</p>
251
+ * <ul>
252
+ * <li>
253
+ * <p>
254
+ * <code>block-new-sharing</code> - Any attempt to publicly share your AMIs in the
255
+ * specified Region is blocked.</p>
256
+ * </li>
257
+ * <li>
258
+ * <p>
259
+ * <code>unblocked</code> - Your AMIs in the specified Region can be publicly
260
+ * shared.</p>
261
+ * </li>
262
+ * </ul>
263
+ * @public
264
+ */
265
+ ImageBlockPublicAccessState?: string;
266
+ }
7
267
  /**
8
268
  * @public
9
269
  */
@@ -6625,10 +6885,9 @@ export interface ModifySubnetAttributeRequest {
6625
6885
  /**
6626
6886
  * <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
6627
6887
  * should return synthetic IPv6 addresses for IPv4-only destinations.</p>
6628
- * <p>You must first configure a NAT gateway in a public subnet (separate from the subnet
6629
- * containing the IPv6-only workloads). For example, the subnet containing the NAT gateway
6630
- * should have a <code>0.0.0.0/0</code> route pointing to the internet gateway. For more
6631
- * information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough">Configure DNS64 and NAT64</a> in the <i>Amazon VPC User Guide</i>.</p>
6888
+ * <note>
6889
+ * <p>You must first configure a NAT gateway in a public subnet (separate from the subnet containing the IPv6-only workloads). For example, the subnet containing the NAT gateway should have a <code>0.0.0.0/0</code> route pointing to the internet gateway. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough">Configure DNS64 and NAT64</a> in the <i>Amazon VPC User Guide</i>.</p>
6890
+ * </note>
6632
6891
  * @public
6633
6892
  */
6634
6893
  EnableDns64?: AttributeBooleanValue;
@@ -8002,249 +8261,6 @@ export interface ModifyVpcEndpointServiceConfigurationResult {
8002
8261
  */
8003
8262
  Return?: boolean;
8004
8263
  }
8005
- /**
8006
- * @public
8007
- */
8008
- export interface ModifyVpcEndpointServicePayerResponsibilityRequest {
8009
- /**
8010
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8011
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8012
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8013
- * @public
8014
- */
8015
- DryRun?: boolean;
8016
- /**
8017
- * <p>The ID of the service.</p>
8018
- * @public
8019
- */
8020
- ServiceId: string | undefined;
8021
- /**
8022
- * <p>The entity that is responsible for the endpoint costs. The default is the endpoint owner.
8023
- * If you set the payer responsibility to the service owner, you cannot set it back to the
8024
- * endpoint owner.</p>
8025
- * @public
8026
- */
8027
- PayerResponsibility: PayerResponsibility | undefined;
8028
- }
8029
- /**
8030
- * @public
8031
- */
8032
- export interface ModifyVpcEndpointServicePayerResponsibilityResult {
8033
- /**
8034
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8035
- * @public
8036
- */
8037
- ReturnValue?: boolean;
8038
- }
8039
- /**
8040
- * @public
8041
- */
8042
- export interface ModifyVpcEndpointServicePermissionsRequest {
8043
- /**
8044
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8045
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8046
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8047
- * @public
8048
- */
8049
- DryRun?: boolean;
8050
- /**
8051
- * <p>The ID of the service.</p>
8052
- * @public
8053
- */
8054
- ServiceId: string | undefined;
8055
- /**
8056
- * <p>The Amazon Resource Names (ARN) of the principals.
8057
- * Permissions are granted to the principals in this list.
8058
- * To grant permissions to all principals, specify an asterisk (*).</p>
8059
- * @public
8060
- */
8061
- AddAllowedPrincipals?: string[];
8062
- /**
8063
- * <p>The Amazon Resource Names (ARN) of the principals.
8064
- * Permissions are revoked for principals in this list.</p>
8065
- * @public
8066
- */
8067
- RemoveAllowedPrincipals?: string[];
8068
- }
8069
- /**
8070
- * @public
8071
- */
8072
- export interface ModifyVpcEndpointServicePermissionsResult {
8073
- /**
8074
- * <p>Information about the added principals.</p>
8075
- * @public
8076
- */
8077
- AddedPrincipals?: AddedPrincipal[];
8078
- /**
8079
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8080
- * @public
8081
- */
8082
- ReturnValue?: boolean;
8083
- }
8084
- /**
8085
- * <p>The VPC peering connection options.</p>
8086
- * @public
8087
- */
8088
- export interface PeeringConnectionOptionsRequest {
8089
- /**
8090
- * <p>If true, enables a local VPC to resolve public DNS hostnames to private IP addresses
8091
- * when queried from instances in the peer VPC.</p>
8092
- * @public
8093
- */
8094
- AllowDnsResolutionFromRemoteVpc?: boolean;
8095
- /**
8096
- * <p>Deprecated.</p>
8097
- * @public
8098
- */
8099
- AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
8100
- /**
8101
- * <p>Deprecated.</p>
8102
- * @public
8103
- */
8104
- AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
8105
- }
8106
- /**
8107
- * @public
8108
- */
8109
- export interface ModifyVpcPeeringConnectionOptionsRequest {
8110
- /**
8111
- * <p>The VPC peering connection options for the accepter VPC.</p>
8112
- * @public
8113
- */
8114
- AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
8115
- /**
8116
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8117
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8118
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8119
- * @public
8120
- */
8121
- DryRun?: boolean;
8122
- /**
8123
- * <p>The VPC peering connection options for the requester VPC.</p>
8124
- * @public
8125
- */
8126
- RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
8127
- /**
8128
- * <p>The ID of the VPC peering connection.</p>
8129
- * @public
8130
- */
8131
- VpcPeeringConnectionId: string | undefined;
8132
- }
8133
- /**
8134
- * <p>Describes the VPC peering connection options.</p>
8135
- * @public
8136
- */
8137
- export interface PeeringConnectionOptions {
8138
- /**
8139
- * <p>If true, the public DNS hostnames of instances in the specified VPC resolve to private
8140
- * IP addresses when queried from instances in the peer VPC.</p>
8141
- * @public
8142
- */
8143
- AllowDnsResolutionFromRemoteVpc?: boolean;
8144
- /**
8145
- * <p>Deprecated.</p>
8146
- * @public
8147
- */
8148
- AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
8149
- /**
8150
- * <p>Deprecated.</p>
8151
- * @public
8152
- */
8153
- AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
8154
- }
8155
- /**
8156
- * @public
8157
- */
8158
- export interface ModifyVpcPeeringConnectionOptionsResult {
8159
- /**
8160
- * <p>Information about the VPC peering connection options for the accepter VPC.</p>
8161
- * @public
8162
- */
8163
- AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
8164
- /**
8165
- * <p>Information about the VPC peering connection options for the requester VPC.</p>
8166
- * @public
8167
- */
8168
- RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
8169
- }
8170
- /**
8171
- * @public
8172
- * @enum
8173
- */
8174
- export declare const VpcTenancy: {
8175
- readonly default: "default";
8176
- };
8177
- /**
8178
- * @public
8179
- */
8180
- export type VpcTenancy = (typeof VpcTenancy)[keyof typeof VpcTenancy];
8181
- /**
8182
- * @public
8183
- */
8184
- export interface ModifyVpcTenancyRequest {
8185
- /**
8186
- * <p>The ID of the VPC.</p>
8187
- * @public
8188
- */
8189
- VpcId: string | undefined;
8190
- /**
8191
- * <p>The instance tenancy attribute for the VPC. </p>
8192
- * @public
8193
- */
8194
- InstanceTenancy: VpcTenancy | undefined;
8195
- /**
8196
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8197
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8198
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8199
- * @public
8200
- */
8201
- DryRun?: boolean;
8202
- }
8203
- /**
8204
- * @public
8205
- */
8206
- export interface ModifyVpcTenancyResult {
8207
- /**
8208
- * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an
8209
- * error.</p>
8210
- * @public
8211
- */
8212
- ReturnValue?: boolean;
8213
- }
8214
- /**
8215
- * @public
8216
- */
8217
- export interface ModifyVpnConnectionRequest {
8218
- /**
8219
- * <p>The ID of the VPN connection.</p>
8220
- * @public
8221
- */
8222
- VpnConnectionId: string | undefined;
8223
- /**
8224
- * <p>The ID of the transit gateway.</p>
8225
- * @public
8226
- */
8227
- TransitGatewayId?: string;
8228
- /**
8229
- * <p>The ID of the customer gateway at your end of the VPN connection.</p>
8230
- * @public
8231
- */
8232
- CustomerGatewayId?: string;
8233
- /**
8234
- * <p>The ID of the virtual private gateway at the Amazon Web Services side of the VPN
8235
- * connection.</p>
8236
- * @public
8237
- */
8238
- VpnGatewayId?: string;
8239
- /**
8240
- * <p>Checks whether you have the required permissions for the action, without actually
8241
- * making the request, and provides an error response. If you have the required
8242
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8243
- * <code>UnauthorizedOperation</code>.</p>
8244
- * @public
8245
- */
8246
- DryRun?: boolean;
8247
- }
8248
8264
  /**
8249
8265
  * @internal
8250
8266
  */