@aws-sdk/client-ec2 3.199.0 → 3.201.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 (134) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/EC2.js +60 -0
  4. package/dist-cjs/commands/AcceptAddressTransferCommand.js +46 -0
  5. package/dist-cjs/commands/CreateDefaultVpcCommand.js +1 -2
  6. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +2 -1
  7. package/dist-cjs/commands/DescribeAccountAttributesCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeAddressTransfersCommand.js +46 -0
  9. package/dist-cjs/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeLocalGatewayRouteTablesCommand.js +3 -3
  12. package/dist-cjs/commands/DisableAddressTransferCommand.js +46 -0
  13. package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +2 -1
  14. package/dist-cjs/commands/EnableAddressTransferCommand.js +46 -0
  15. package/dist-cjs/commands/EnableEbsEncryptionByDefaultCommand.js +3 -3
  16. package/dist-cjs/commands/EnableFastLaunchCommand.js +3 -3
  17. package/dist-cjs/commands/EnableFastSnapshotRestoresCommand.js +1 -2
  18. package/dist-cjs/commands/ModifyVpcTenancyCommand.js +3 -3
  19. package/dist-cjs/commands/ModifyVpnConnectionCommand.js +3 -3
  20. package/dist-cjs/commands/ModifyVpnConnectionOptionsCommand.js +3 -3
  21. package/dist-cjs/commands/ModifyVpnTunnelCertificateCommand.js +3 -3
  22. package/dist-cjs/commands/ModifyVpnTunnelOptionsCommand.js +1 -2
  23. package/dist-cjs/commands/index.js +4 -0
  24. package/dist-cjs/endpoint/EndpointParameters.js +2 -3
  25. package/dist-cjs/models/models_0.js +112 -113
  26. package/dist-cjs/models/models_1.js +25 -24
  27. package/dist-cjs/models/models_2.js +24 -22
  28. package/dist-cjs/models/models_3.js +29 -29
  29. package/dist-cjs/models/models_4.js +38 -38
  30. package/dist-cjs/models/models_5.js +46 -46
  31. package/dist-cjs/models/models_6.js +44 -4
  32. package/dist-cjs/pagination/DescribeAddressTransfersPaginator.js +36 -0
  33. package/dist-cjs/pagination/index.js +2 -1
  34. package/dist-cjs/protocols/Aws_ec2.js +332 -33
  35. package/dist-cjs/runtimeConfig.browser.js +16 -16
  36. package/dist-cjs/runtimeConfig.js +20 -19
  37. package/dist-cjs/runtimeConfig.native.js +1 -2
  38. package/dist-cjs/runtimeConfig.shared.js +8 -11
  39. package/dist-es/EC2.js +60 -0
  40. package/dist-es/commands/AcceptAddressTransferCommand.js +42 -0
  41. package/dist-es/commands/CreateDefaultVpcCommand.js +1 -2
  42. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +2 -1
  43. package/dist-es/commands/DescribeAccountAttributesCommand.js +1 -1
  44. package/dist-es/commands/DescribeAddressTransfersCommand.js +42 -0
  45. package/dist-es/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.js +1 -1
  46. package/dist-es/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.js +1 -1
  47. package/dist-es/commands/DescribeLocalGatewayRouteTablesCommand.js +1 -1
  48. package/dist-es/commands/DisableAddressTransferCommand.js +42 -0
  49. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +2 -1
  50. package/dist-es/commands/EnableAddressTransferCommand.js +42 -0
  51. package/dist-es/commands/EnableEbsEncryptionByDefaultCommand.js +1 -1
  52. package/dist-es/commands/EnableFastLaunchCommand.js +1 -1
  53. package/dist-es/commands/EnableFastSnapshotRestoresCommand.js +1 -2
  54. package/dist-es/commands/ModifyVpcTenancyCommand.js +1 -1
  55. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  56. package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
  57. package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
  58. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -2
  59. package/dist-es/commands/index.js +4 -0
  60. package/dist-es/models/models_0.js +101 -103
  61. package/dist-es/models/models_1.js +17 -16
  62. package/dist-es/models/models_2.js +16 -12
  63. package/dist-es/models/models_3.js +18 -18
  64. package/dist-es/models/models_4.js +24 -24
  65. package/dist-es/models/models_5.js +30 -30
  66. package/dist-es/models/models_6.js +30 -0
  67. package/dist-es/pagination/DescribeAddressTransfersPaginator.js +32 -0
  68. package/dist-es/pagination/index.js +2 -1
  69. package/dist-es/protocols/Aws_ec2.js +295 -0
  70. package/dist-types/EC2.d.ts +28 -0
  71. package/dist-types/EC2Client.d.ts +6 -2
  72. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +37 -0
  73. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
  74. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -1
  75. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  76. package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +37 -0
  77. package/dist-types/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.d.ts +1 -1
  79. package/dist-types/commands/DescribeLocalGatewayRouteTablesCommand.d.ts +1 -1
  80. package/dist-types/commands/DisableAddressTransferCommand.d.ts +37 -0
  81. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -1
  82. package/dist-types/commands/EnableAddressTransferCommand.d.ts +37 -0
  83. package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  84. package/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -1
  85. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -2
  86. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  90. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -2
  91. package/dist-types/commands/index.d.ts +4 -0
  92. package/dist-types/models/models_0.d.ts +194 -192
  93. package/dist-types/models/models_1.d.ts +67 -75
  94. package/dist-types/models/models_2.d.ts +78 -57
  95. package/dist-types/models/models_3.d.ts +97 -222
  96. package/dist-types/models/models_4.d.ts +244 -178
  97. package/dist-types/models/models_5.d.ts +214 -374
  98. package/dist-types/models/models_6.d.ts +374 -5
  99. package/dist-types/pagination/DescribeAddressTransfersPaginator.d.ts +4 -0
  100. package/dist-types/pagination/index.d.ts +2 -1
  101. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  102. package/dist-types/ts3.4/EC2.d.ts +68 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  104. package/dist-types/ts3.4/commands/AcceptAddressTransferCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
  106. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DescribeAddressTransfersCommand.d.ts +41 -0
  109. package/dist-types/ts3.4/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeLocalGatewayRouteTablesCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DisableAddressTransferCommand.d.ts +41 -0
  113. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -4
  114. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/EnableFastSnapshotRestoresCommand.d.ts +4 -2
  118. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +4 -2
  123. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  124. package/dist-types/ts3.4/models/models_0.d.ts +121 -119
  125. package/dist-types/ts3.4/models/models_1.d.ts +30 -33
  126. package/dist-types/ts3.4/models/models_2.d.ts +33 -34
  127. package/dist-types/ts3.4/models/models_3.d.ts +46 -54
  128. package/dist-types/ts3.4/models/models_4.d.ts +70 -71
  129. package/dist-types/ts3.4/models/models_5.d.ts +91 -106
  130. package/dist-types/ts3.4/models/models_6.d.ts +107 -1
  131. package/dist-types/ts3.4/pagination/DescribeAddressTransfersPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  133. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  134. package/package.json +35 -35
@@ -84,6 +84,180 @@ export declare enum AcceleratorType {
84
84
  GPU = "gpu",
85
85
  INFERENCE = "inference"
86
86
  }
87
+ export declare enum ResourceType {
88
+ capacity_reservation = "capacity-reservation",
89
+ capacity_reservation_fleet = "capacity-reservation-fleet",
90
+ carrier_gateway = "carrier-gateway",
91
+ client_vpn_endpoint = "client-vpn-endpoint",
92
+ coip_pool = "coip-pool",
93
+ customer_gateway = "customer-gateway",
94
+ dedicated_host = "dedicated-host",
95
+ dhcp_options = "dhcp-options",
96
+ egress_only_internet_gateway = "egress-only-internet-gateway",
97
+ elastic_gpu = "elastic-gpu",
98
+ elastic_ip = "elastic-ip",
99
+ export_image_task = "export-image-task",
100
+ export_instance_task = "export-instance-task",
101
+ fleet = "fleet",
102
+ fpga_image = "fpga-image",
103
+ host_reservation = "host-reservation",
104
+ image = "image",
105
+ import_image_task = "import-image-task",
106
+ import_snapshot_task = "import-snapshot-task",
107
+ instance = "instance",
108
+ instance_event_window = "instance-event-window",
109
+ internet_gateway = "internet-gateway",
110
+ ipam = "ipam",
111
+ ipam_pool = "ipam-pool",
112
+ ipam_scope = "ipam-scope",
113
+ ipv4pool_ec2 = "ipv4pool-ec2",
114
+ ipv6pool_ec2 = "ipv6pool-ec2",
115
+ key_pair = "key-pair",
116
+ launch_template = "launch-template",
117
+ local_gateway = "local-gateway",
118
+ local_gateway_route_table = "local-gateway-route-table",
119
+ local_gateway_route_table_virtual_interface_group_association = "local-gateway-route-table-virtual-interface-group-association",
120
+ local_gateway_route_table_vpc_association = "local-gateway-route-table-vpc-association",
121
+ local_gateway_virtual_interface = "local-gateway-virtual-interface",
122
+ local_gateway_virtual_interface_group = "local-gateway-virtual-interface-group",
123
+ natgateway = "natgateway",
124
+ network_acl = "network-acl",
125
+ network_insights_access_scope = "network-insights-access-scope",
126
+ network_insights_access_scope_analysis = "network-insights-access-scope-analysis",
127
+ network_insights_analysis = "network-insights-analysis",
128
+ network_insights_path = "network-insights-path",
129
+ network_interface = "network-interface",
130
+ placement_group = "placement-group",
131
+ prefix_list = "prefix-list",
132
+ replace_root_volume_task = "replace-root-volume-task",
133
+ reserved_instances = "reserved-instances",
134
+ route_table = "route-table",
135
+ security_group = "security-group",
136
+ security_group_rule = "security-group-rule",
137
+ snapshot = "snapshot",
138
+ spot_fleet_request = "spot-fleet-request",
139
+ spot_instances_request = "spot-instances-request",
140
+ subnet = "subnet",
141
+ subnet_cidr_reservation = "subnet-cidr-reservation",
142
+ traffic_mirror_filter = "traffic-mirror-filter",
143
+ traffic_mirror_filter_rule = "traffic-mirror-filter-rule",
144
+ traffic_mirror_session = "traffic-mirror-session",
145
+ traffic_mirror_target = "traffic-mirror-target",
146
+ transit_gateway = "transit-gateway",
147
+ transit_gateway_attachment = "transit-gateway-attachment",
148
+ transit_gateway_connect_peer = "transit-gateway-connect-peer",
149
+ transit_gateway_multicast_domain = "transit-gateway-multicast-domain",
150
+ transit_gateway_policy_table = "transit-gateway-policy-table",
151
+ transit_gateway_route_table = "transit-gateway-route-table",
152
+ transit_gateway_route_table_announcement = "transit-gateway-route-table-announcement",
153
+ volume = "volume",
154
+ vpc = "vpc",
155
+ vpc_endpoint = "vpc-endpoint",
156
+ vpc_endpoint_connection = "vpc-endpoint-connection",
157
+ vpc_endpoint_connection_device_type = "vpc-endpoint-connection-device-type",
158
+ vpc_endpoint_service = "vpc-endpoint-service",
159
+ vpc_endpoint_service_permission = "vpc-endpoint-service-permission",
160
+ vpc_flow_log = "vpc-flow-log",
161
+ vpc_peering_connection = "vpc-peering-connection",
162
+ vpn_connection = "vpn-connection",
163
+ vpn_connection_device_type = "vpn-connection-device-type",
164
+ vpn_gateway = "vpn-gateway"
165
+ }
166
+ /**
167
+ * <p>Describes a tag.</p>
168
+ */
169
+ export interface Tag {
170
+ /**
171
+ * <p>The key of the tag.</p>
172
+ * <p>Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters.
173
+ * May not begin with <code>aws:</code>.</p>
174
+ */
175
+ Key?: string;
176
+ /**
177
+ * <p>The value of the tag.</p>
178
+ * <p>Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.</p>
179
+ */
180
+ Value?: string;
181
+ }
182
+ /**
183
+ * <p>The tags to apply to a resource when the resource is being created.</p>
184
+ * <note>
185
+ * <p>The <code>Valid Values</code> lists all the resource types that can be tagged.
186
+ * However, the action you're using might not support tagging all of these resource types.
187
+ * If you try to tag a resource type that is unsupported for the action you're using,
188
+ * you'll get an error.</p>
189
+ * </note>
190
+ */
191
+ export interface TagSpecification {
192
+ /**
193
+ * <p>The type of resource to tag on creation.</p>
194
+ */
195
+ ResourceType?: ResourceType | string;
196
+ /**
197
+ * <p>The tags to apply to the resource.</p>
198
+ */
199
+ Tags?: Tag[];
200
+ }
201
+ export interface AcceptAddressTransferRequest {
202
+ /**
203
+ * <p>The Elastic IP address you are accepting for transfer.</p>
204
+ */
205
+ Address: string | undefined;
206
+ /**
207
+ * <p>
208
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
209
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
210
+ */
211
+ TagSpecifications?: TagSpecification[];
212
+ /**
213
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
214
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
215
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
216
+ */
217
+ DryRun?: boolean;
218
+ }
219
+ export declare enum AddressTransferStatus {
220
+ accepted = "accepted",
221
+ disabled = "disabled",
222
+ pending = "pending"
223
+ }
224
+ /**
225
+ * <p>Details on the Elastic IP address transfer. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro">Transfer Elastic IP addresses</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
226
+ */
227
+ export interface AddressTransfer {
228
+ /**
229
+ * <p>The Elastic IP address being transferred.</p>
230
+ */
231
+ PublicIp?: string;
232
+ /**
233
+ * <p>The allocation ID of an Elastic IP address.</p>
234
+ */
235
+ AllocationId?: string;
236
+ /**
237
+ * <p>The ID of the account that you want to transfer the Elastic IP address to.</p>
238
+ */
239
+ TransferAccountId?: string;
240
+ /**
241
+ * <p>The timestamp when the Elastic IP address transfer expired. When the source account starts
242
+ * the transfer, the transfer account has seven hours to allocate the Elastic IP address to
243
+ * complete the transfer, or the Elastic IP address will return to its original owner.</p>
244
+ */
245
+ TransferOfferExpirationTimestamp?: Date;
246
+ /**
247
+ * <p>The timestamp when the Elastic IP address transfer was accepted.</p>
248
+ */
249
+ TransferOfferAcceptedTimestamp?: Date;
250
+ /**
251
+ * <p>The Elastic IP address transfer status.</p>
252
+ */
253
+ AddressTransferStatus?: AddressTransferStatus | string;
254
+ }
255
+ export interface AcceptAddressTransferResult {
256
+ /**
257
+ * <p>An Elastic IP address transfer.</p>
258
+ */
259
+ AddressTransfer?: AddressTransfer;
260
+ }
87
261
  /**
88
262
  * <p>Details about the target configuration.</p>
89
263
  */
@@ -287,22 +461,6 @@ export interface PeeringAttachmentStatus {
287
461
  */
288
462
  Message?: string;
289
463
  }
290
- /**
291
- * <p>Describes a tag.</p>
292
- */
293
- export interface Tag {
294
- /**
295
- * <p>The key of the tag.</p>
296
- * <p>Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters.
297
- * May not begin with <code>aws:</code>.</p>
298
- */
299
- Key?: string;
300
- /**
301
- * <p>The value of the tag.</p>
302
- * <p>Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.</p>
303
- */
304
- Value?: string;
305
- }
306
464
  /**
307
465
  * <p>Describes the transit gateway peering attachment.</p>
308
466
  */
@@ -1675,104 +1833,6 @@ export declare enum Affinity {
1675
1833
  default = "default",
1676
1834
  host = "host"
1677
1835
  }
1678
- export declare enum ResourceType {
1679
- capacity_reservation = "capacity-reservation",
1680
- capacity_reservation_fleet = "capacity-reservation-fleet",
1681
- carrier_gateway = "carrier-gateway",
1682
- client_vpn_endpoint = "client-vpn-endpoint",
1683
- coip_pool = "coip-pool",
1684
- customer_gateway = "customer-gateway",
1685
- dedicated_host = "dedicated-host",
1686
- dhcp_options = "dhcp-options",
1687
- egress_only_internet_gateway = "egress-only-internet-gateway",
1688
- elastic_gpu = "elastic-gpu",
1689
- elastic_ip = "elastic-ip",
1690
- export_image_task = "export-image-task",
1691
- export_instance_task = "export-instance-task",
1692
- fleet = "fleet",
1693
- fpga_image = "fpga-image",
1694
- host_reservation = "host-reservation",
1695
- image = "image",
1696
- import_image_task = "import-image-task",
1697
- import_snapshot_task = "import-snapshot-task",
1698
- instance = "instance",
1699
- instance_event_window = "instance-event-window",
1700
- internet_gateway = "internet-gateway",
1701
- ipam = "ipam",
1702
- ipam_pool = "ipam-pool",
1703
- ipam_scope = "ipam-scope",
1704
- ipv4pool_ec2 = "ipv4pool-ec2",
1705
- ipv6pool_ec2 = "ipv6pool-ec2",
1706
- key_pair = "key-pair",
1707
- launch_template = "launch-template",
1708
- local_gateway = "local-gateway",
1709
- local_gateway_route_table = "local-gateway-route-table",
1710
- local_gateway_route_table_virtual_interface_group_association = "local-gateway-route-table-virtual-interface-group-association",
1711
- local_gateway_route_table_vpc_association = "local-gateway-route-table-vpc-association",
1712
- local_gateway_virtual_interface = "local-gateway-virtual-interface",
1713
- local_gateway_virtual_interface_group = "local-gateway-virtual-interface-group",
1714
- natgateway = "natgateway",
1715
- network_acl = "network-acl",
1716
- network_insights_access_scope = "network-insights-access-scope",
1717
- network_insights_access_scope_analysis = "network-insights-access-scope-analysis",
1718
- network_insights_analysis = "network-insights-analysis",
1719
- network_insights_path = "network-insights-path",
1720
- network_interface = "network-interface",
1721
- placement_group = "placement-group",
1722
- prefix_list = "prefix-list",
1723
- replace_root_volume_task = "replace-root-volume-task",
1724
- reserved_instances = "reserved-instances",
1725
- route_table = "route-table",
1726
- security_group = "security-group",
1727
- security_group_rule = "security-group-rule",
1728
- snapshot = "snapshot",
1729
- spot_fleet_request = "spot-fleet-request",
1730
- spot_instances_request = "spot-instances-request",
1731
- subnet = "subnet",
1732
- subnet_cidr_reservation = "subnet-cidr-reservation",
1733
- traffic_mirror_filter = "traffic-mirror-filter",
1734
- traffic_mirror_filter_rule = "traffic-mirror-filter-rule",
1735
- traffic_mirror_session = "traffic-mirror-session",
1736
- traffic_mirror_target = "traffic-mirror-target",
1737
- transit_gateway = "transit-gateway",
1738
- transit_gateway_attachment = "transit-gateway-attachment",
1739
- transit_gateway_connect_peer = "transit-gateway-connect-peer",
1740
- transit_gateway_multicast_domain = "transit-gateway-multicast-domain",
1741
- transit_gateway_policy_table = "transit-gateway-policy-table",
1742
- transit_gateway_route_table = "transit-gateway-route-table",
1743
- transit_gateway_route_table_announcement = "transit-gateway-route-table-announcement",
1744
- volume = "volume",
1745
- vpc = "vpc",
1746
- vpc_endpoint = "vpc-endpoint",
1747
- vpc_endpoint_connection = "vpc-endpoint-connection",
1748
- vpc_endpoint_connection_device_type = "vpc-endpoint-connection-device-type",
1749
- vpc_endpoint_service = "vpc-endpoint-service",
1750
- vpc_endpoint_service_permission = "vpc-endpoint-service-permission",
1751
- vpc_flow_log = "vpc-flow-log",
1752
- vpc_peering_connection = "vpc-peering-connection",
1753
- vpn_connection = "vpn-connection",
1754
- vpn_connection_device_type = "vpn-connection-device-type",
1755
- vpn_gateway = "vpn-gateway"
1756
- }
1757
- /**
1758
- * <p>The tags to apply to a resource when the resource is being created.</p>
1759
- * <note>
1760
- * <p>The <code>Valid Values</code> lists all the resource types that can be tagged.
1761
- * However, the action you're using might not support tagging all of these resource types.
1762
- * If you try to tag a resource type that is unsupported for the action you're using,
1763
- * you'll get an error.</p>
1764
- * </note>
1765
- */
1766
- export interface TagSpecification {
1767
- /**
1768
- * <p>The type of resource to tag on creation.</p>
1769
- */
1770
- ResourceType?: ResourceType | string;
1771
- /**
1772
- * <p>The tags to apply to the resource.</p>
1773
- */
1774
- Tags?: Tag[];
1775
- }
1776
1836
  export interface AllocateAddressRequest {
1777
1837
  /**
1778
1838
  * <p>Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.</p>
@@ -6338,68 +6398,6 @@ export interface CreateDefaultSubnetResult {
6338
6398
  */
6339
6399
  Subnet?: Subnet;
6340
6400
  }
6341
- export interface CreateDefaultVpcRequest {
6342
- /**
6343
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6344
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6345
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6346
- */
6347
- DryRun?: boolean;
6348
- }
6349
- export declare enum Tenancy {
6350
- dedicated = "dedicated",
6351
- default = "default",
6352
- host = "host"
6353
- }
6354
- export declare enum VpcState {
6355
- available = "available",
6356
- pending = "pending"
6357
- }
6358
- /**
6359
- * <p>Describes a VPC.</p>
6360
- */
6361
- export interface Vpc {
6362
- /**
6363
- * <p>The primary IPv4 CIDR block for the VPC.</p>
6364
- */
6365
- CidrBlock?: string;
6366
- /**
6367
- * <p>The ID of the set of DHCP options you've associated with the VPC.</p>
6368
- */
6369
- DhcpOptionsId?: string;
6370
- /**
6371
- * <p>The current state of the VPC.</p>
6372
- */
6373
- State?: VpcState | string;
6374
- /**
6375
- * <p>The ID of the VPC.</p>
6376
- */
6377
- VpcId?: string;
6378
- /**
6379
- * <p>The ID of the Amazon Web Services account that owns the VPC.</p>
6380
- */
6381
- OwnerId?: string;
6382
- /**
6383
- * <p>The allowed tenancy of instances launched into the VPC.</p>
6384
- */
6385
- InstanceTenancy?: Tenancy | string;
6386
- /**
6387
- * <p>Information about the IPv6 CIDR blocks associated with the VPC.</p>
6388
- */
6389
- Ipv6CidrBlockAssociationSet?: VpcIpv6CidrBlockAssociation[];
6390
- /**
6391
- * <p>Information about the IPv4 CIDR blocks associated with the VPC.</p>
6392
- */
6393
- CidrBlockAssociationSet?: VpcCidrBlockAssociation[];
6394
- /**
6395
- * <p>Indicates whether the VPC is the default VPC.</p>
6396
- */
6397
- IsDefault?: boolean;
6398
- /**
6399
- * <p>Any tags assigned to the VPC.</p>
6400
- */
6401
- Tags?: Tag[];
6402
- }
6403
6401
  /**
6404
6402
  * @internal
6405
6403
  */
@@ -6416,6 +6414,26 @@ export declare const AcceleratorTotalMemoryMiBFilterSensitiveLog: (obj: Accelera
6416
6414
  * @internal
6417
6415
  */
6418
6416
  export declare const AcceleratorTotalMemoryMiBRequestFilterSensitiveLog: (obj: AcceleratorTotalMemoryMiBRequest) => any;
6417
+ /**
6418
+ * @internal
6419
+ */
6420
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
6421
+ /**
6422
+ * @internal
6423
+ */
6424
+ export declare const TagSpecificationFilterSensitiveLog: (obj: TagSpecification) => any;
6425
+ /**
6426
+ * @internal
6427
+ */
6428
+ export declare const AcceptAddressTransferRequestFilterSensitiveLog: (obj: AcceptAddressTransferRequest) => any;
6429
+ /**
6430
+ * @internal
6431
+ */
6432
+ export declare const AddressTransferFilterSensitiveLog: (obj: AddressTransfer) => any;
6433
+ /**
6434
+ * @internal
6435
+ */
6436
+ export declare const AcceptAddressTransferResultFilterSensitiveLog: (obj: AcceptAddressTransferResult) => any;
6419
6437
  /**
6420
6438
  * @internal
6421
6439
  */
@@ -6460,10 +6478,6 @@ export declare const TransitGatewayPeeringAttachmentOptionsFilterSensitiveLog: (
6460
6478
  * @internal
6461
6479
  */
6462
6480
  export declare const PeeringAttachmentStatusFilterSensitiveLog: (obj: PeeringAttachmentStatus) => any;
6463
- /**
6464
- * @internal
6465
- */
6466
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
6467
6481
  /**
6468
6482
  * @internal
6469
6483
  */
@@ -6676,10 +6690,6 @@ export declare const ByoipCidrFilterSensitiveLog: (obj: ByoipCidr) => any;
6676
6690
  * @internal
6677
6691
  */
6678
6692
  export declare const AdvertiseByoipCidrResultFilterSensitiveLog: (obj: AdvertiseByoipCidrResult) => any;
6679
- /**
6680
- * @internal
6681
- */
6682
- export declare const TagSpecificationFilterSensitiveLog: (obj: TagSpecification) => any;
6683
6693
  /**
6684
6694
  * @internal
6685
6695
  */
@@ -7320,11 +7330,3 @@ export declare const SubnetFilterSensitiveLog: (obj: Subnet) => any;
7320
7330
  * @internal
7321
7331
  */
7322
7332
  export declare const CreateDefaultSubnetResultFilterSensitiveLog: (obj: CreateDefaultSubnetResult) => any;
7323
- /**
7324
- * @internal
7325
- */
7326
- export declare const CreateDefaultVpcRequestFilterSensitiveLog: (obj: CreateDefaultVpcRequest) => any;
7327
- /**
7328
- * @internal
7329
- */
7330
- export declare const VpcFilterSensitiveLog: (obj: Vpc) => any;
@@ -1,4 +1,66 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, UnsuccessfulItem, Vpc, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ export interface CreateDefaultVpcRequest {
3
+ /**
4
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
5
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7
+ */
8
+ DryRun?: boolean;
9
+ }
10
+ export declare enum Tenancy {
11
+ dedicated = "dedicated",
12
+ default = "default",
13
+ host = "host"
14
+ }
15
+ export declare enum VpcState {
16
+ available = "available",
17
+ pending = "pending"
18
+ }
19
+ /**
20
+ * <p>Describes a VPC.</p>
21
+ */
22
+ export interface Vpc {
23
+ /**
24
+ * <p>The primary IPv4 CIDR block for the VPC.</p>
25
+ */
26
+ CidrBlock?: string;
27
+ /**
28
+ * <p>The ID of the set of DHCP options you've associated with the VPC.</p>
29
+ */
30
+ DhcpOptionsId?: string;
31
+ /**
32
+ * <p>The current state of the VPC.</p>
33
+ */
34
+ State?: VpcState | string;
35
+ /**
36
+ * <p>The ID of the VPC.</p>
37
+ */
38
+ VpcId?: string;
39
+ /**
40
+ * <p>The ID of the Amazon Web Services account that owns the VPC.</p>
41
+ */
42
+ OwnerId?: string;
43
+ /**
44
+ * <p>The allowed tenancy of instances launched into the VPC.</p>
45
+ */
46
+ InstanceTenancy?: Tenancy | string;
47
+ /**
48
+ * <p>Information about the IPv6 CIDR blocks associated with the VPC.</p>
49
+ */
50
+ Ipv6CidrBlockAssociationSet?: VpcIpv6CidrBlockAssociation[];
51
+ /**
52
+ * <p>Information about the IPv4 CIDR blocks associated with the VPC.</p>
53
+ */
54
+ CidrBlockAssociationSet?: VpcCidrBlockAssociation[];
55
+ /**
56
+ * <p>Indicates whether the VPC is the default VPC.</p>
57
+ */
58
+ IsDefault?: boolean;
59
+ /**
60
+ * <p>Any tags assigned to the VPC.</p>
61
+ */
62
+ Tags?: Tag[];
63
+ }
2
64
  export interface CreateDefaultVpcResult {
3
65
  /**
4
66
  * <p>Information about the VPC.</p>
@@ -7308,75 +7370,13 @@ export interface CreateTrafficMirrorFilterRequest {
7308
7370
  ClientToken?: string;
7309
7371
  }
7310
7372
  /**
7311
- * <p>Describes the Traffic Mirror port range.</p>
7373
+ * @internal
7312
7374
  */
7313
- export interface TrafficMirrorPortRange {
7314
- /**
7315
- * <p>The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
7316
- */
7317
- FromPort?: number;
7318
- /**
7319
- * <p>The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
7320
- */
7321
- ToPort?: number;
7322
- }
7323
- export declare enum TrafficMirrorRuleAction {
7324
- accept = "accept",
7325
- reject = "reject"
7326
- }
7327
- export declare enum TrafficDirection {
7328
- egress = "egress",
7329
- ingress = "ingress"
7330
- }
7375
+ export declare const CreateDefaultVpcRequestFilterSensitiveLog: (obj: CreateDefaultVpcRequest) => any;
7331
7376
  /**
7332
- * <p>Describes the Traffic Mirror rule.</p>
7377
+ * @internal
7333
7378
  */
7334
- export interface TrafficMirrorFilterRule {
7335
- /**
7336
- * <p>The ID of the Traffic Mirror rule.</p>
7337
- */
7338
- TrafficMirrorFilterRuleId?: string;
7339
- /**
7340
- * <p>The ID of the Traffic Mirror filter that the rule is associated with.</p>
7341
- */
7342
- TrafficMirrorFilterId?: string;
7343
- /**
7344
- * <p>The traffic direction assigned to the Traffic Mirror rule.</p>
7345
- */
7346
- TrafficDirection?: TrafficDirection | string;
7347
- /**
7348
- * <p>The rule number of the Traffic Mirror rule.</p>
7349
- */
7350
- RuleNumber?: number;
7351
- /**
7352
- * <p>The action assigned to the Traffic Mirror rule.</p>
7353
- */
7354
- RuleAction?: TrafficMirrorRuleAction | string;
7355
- /**
7356
- * <p>The protocol assigned to the Traffic Mirror rule.</p>
7357
- */
7358
- Protocol?: number;
7359
- /**
7360
- * <p>The destination port range assigned to the Traffic Mirror rule.</p>
7361
- */
7362
- DestinationPortRange?: TrafficMirrorPortRange;
7363
- /**
7364
- * <p>The source port range assigned to the Traffic Mirror rule.</p>
7365
- */
7366
- SourcePortRange?: TrafficMirrorPortRange;
7367
- /**
7368
- * <p>The destination CIDR block assigned to the Traffic Mirror rule.</p>
7369
- */
7370
- DestinationCidrBlock?: string;
7371
- /**
7372
- * <p>The source CIDR block assigned to the Traffic Mirror rule.</p>
7373
- */
7374
- SourceCidrBlock?: string;
7375
- /**
7376
- * <p>The description of the Traffic Mirror rule.</p>
7377
- */
7378
- Description?: string;
7379
- }
7379
+ export declare const VpcFilterSensitiveLog: (obj: Vpc) => any;
7380
7380
  /**
7381
7381
  * @internal
7382
7382
  */
@@ -8293,11 +8293,3 @@ export declare const CreateTagsRequestFilterSensitiveLog: (obj: CreateTagsReques
8293
8293
  * @internal
8294
8294
  */
8295
8295
  export declare const CreateTrafficMirrorFilterRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRequest) => any;
8296
- /**
8297
- * @internal
8298
- */
8299
- export declare const TrafficMirrorPortRangeFilterSensitiveLog: (obj: TrafficMirrorPortRange) => any;
8300
- /**
8301
- * @internal
8302
- */
8303
- export declare const TrafficMirrorFilterRuleFilterSensitiveLog: (obj: TrafficMirrorFilterRule) => any;