@aws-sdk/client-ec2 3.1170.0 → 3.1171.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 +7 -0
  2. package/dist-cjs/index.js +245 -32
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyTransitGatewayPeeringAttachmentCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +20 -0
  7. package/dist-es/schemas/schemas_0.js +202 -31
  8. package/dist-types/EC2.d.ts +7 -0
  9. package/dist-types/EC2Client.d.ts +3 -2
  10. package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
  11. package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +10 -0
  12. package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -2
  13. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +7 -0
  15. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +44 -0
  17. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
  21. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +20 -0
  22. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +5 -0
  30. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +22 -0
  32. package/dist-types/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
  33. package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  34. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  35. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -2
  36. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +12 -0
  37. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -1
  38. package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -2
  40. package/dist-types/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +119 -0
  41. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +14 -0
  42. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -1
  43. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +23 -1
  44. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +23 -1
  45. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +23 -1
  46. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +45 -1
  47. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  48. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +76 -0
  49. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
  50. package/dist-types/commands/index.d.ts +1 -0
  51. package/dist-types/models/enums.d.ts +60 -0
  52. package/dist-types/models/models_0.d.ts +187 -161
  53. package/dist-types/models/models_1.d.ts +162 -156
  54. package/dist-types/models/models_2.d.ts +246 -125
  55. package/dist-types/models/models_3.d.ts +211 -264
  56. package/dist-types/models/models_4.d.ts +266 -367
  57. package/dist-types/models/models_5.d.ts +366 -129
  58. package/dist-types/models/models_6.d.ts +129 -178
  59. package/dist-types/models/models_7.d.ts +275 -446
  60. package/dist-types/models/models_8.d.ts +469 -5
  61. package/dist-types/schemas/schemas_0.d.ts +12 -0
  62. package/dist-types/ts3.4/EC2.d.ts +17 -0
  63. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +2 -1
  70. package/dist-types/ts3.4/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +4 -2
  76. package/dist-types/ts3.4/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +2 -1
  85. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -2
  90. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  91. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +39 -32
  93. package/dist-types/ts3.4/models/models_1.d.ts +32 -33
  94. package/dist-types/ts3.4/models/models_2.d.ts +48 -29
  95. package/dist-types/ts3.4/models/models_3.d.ts +45 -54
  96. package/dist-types/ts3.4/models/models_4.d.ts +62 -72
  97. package/dist-types/ts3.4/models/models_5.d.ts +71 -33
  98. package/dist-types/ts3.4/models/models_6.d.ts +38 -44
  99. package/dist-types/ts3.4/models/models_7.d.ts +65 -85
  100. package/dist-types/ts3.4/models/models_8.d.ts +90 -7
  101. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  102. package/package.json +1 -1
@@ -1,8 +1,269 @@
1
- import type { _InstanceType, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, AutoPlacement, BandwidthWeightingType, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, ElasticGpuState, ElasticGpuStatus, EnaSupport, EphemeralNvmeSupport, EventCode, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FindingsFound, FleetActivityStatus, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, FlexCostAllocationNetworkResourceType, FlexibleEnaQueuesSupport, FpgaImageAttributeName, FpgaImageStateCode, HaStatus, HostMaintenance, HostnameType, HostRecovery, HttpTokensState, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceLifecycle, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, LogDestinationType, ManagedBy, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkCardInterfaceType, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, PaymentOption, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, ProductCodeValues, RebootMigrationSupport, ReportState, ReservationState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, RootDeviceType, SecondaryInterfaceStatus, SecondaryInterfaceType, SeverityLabel, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SqlServerLicenseUsage, StatusName, StatusType, SummaryStatus, SupportedAdditionalProcessorFeature, TaggableResourceType, TargetCapacityUnitType, TpmSupportValues, TrafficType, UsageClassType, VirtualizationType } from "./enums";
2
- import type { ActiveInstance, AlternatePathHint, Explanation, FlexCostAllocationPolicyAssociationDescription, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, OperatorResponse, PathComponent, Tag } from "./models_0";
3
- import type { AttributeValue, BlockDeviceMapping, CapacityReservationTargetResponse, DhcpOptions, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, InstanceFlexCostAllocationPolicyDocument, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, MacModificationTask, ManagedPrefixList, MetricCategory, NatFlexCostAllocationPolicyDocument, NatGateway, NetworkAcl, Placement, StateReason } from "./models_1";
4
- import type { GroupIdentifier, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterfaceAttachment, PcxFlexCostAllocationPolicyDocument } from "./models_2";
5
- import type { Byoasn, Filter, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
1
+ import type { _InstanceType, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, AutoPlacement, BandwidthWeightingType, BootModeType, BootModeValues, CapacityReservationPreference, ConversionTaskState, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, ElasticGpuState, ElasticGpuStatus, EnaSupport, EphemeralNvmeSupport, EventCode, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FindingsFound, FleetActivityStatus, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, FlexCostAllocationNetworkResourceType, FlexibleEnaQueuesSupport, FpgaImageAttributeName, FpgaImageStateCode, HaStatus, HostMaintenance, HostnameType, HostRecovery, HttpTokensState, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceLifecycle, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, LogDestinationType, ManagedBy, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkCardInterfaceType, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, PaymentOption, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, ProductCodeValues, RebootMigrationSupport, ReportState, ReservationState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, RootDeviceType, SecondaryInterfaceStatus, SecondaryInterfaceType, SeverityLabel, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SqlServerLicenseUsage, StatusName, StatusType, SummaryStatus, SupportedAdditionalProcessorFeature, TaggableResourceType, TargetCapacityUnitType, TpmSupportValues, TrafficType, UsageClassType, VirtualizationType } from "./enums";
2
+ import type { ActiveInstance, FlexCostAllocationPolicyAssociationDescription, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, OperatorResponse, Tag } from "./models_0";
3
+ import type { AttributeValue, BlockDeviceMapping, CapacityReservationTargetResponse, CustomerGateway, DhcpOptions, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, MacModificationTask, ManagedPrefixList, MetricCategory, NatGateway, NetworkAcl, Placement, StateReason } from "./models_1";
4
+ import type { GroupIdentifier, InstanceFlexCostAllocationPolicyDocument, NatFlexCostAllocationPolicyDocument, NetworkInsightsAccessScope, PcxFlexCostAllocationPolicyDocument } from "./models_2";
5
+ import type { Byoasn, DiskImageDescription, DiskImageVolumeDescription, Filter, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
6
+ /**
7
+ * <p>Describes an import volume task.</p>
8
+ * @public
9
+ */
10
+ export interface ImportInstanceVolumeDetailItem {
11
+ /**
12
+ * <p>The Availability Zone where the resulting instance will reside.</p>
13
+ * @public
14
+ */
15
+ AvailabilityZone?: string | undefined;
16
+ /**
17
+ * <p>The ID of the Availability Zone where the resulting instance will reside.</p>
18
+ * @public
19
+ */
20
+ AvailabilityZoneId?: string | undefined;
21
+ /**
22
+ * <p>The number of bytes converted so far.</p>
23
+ * @public
24
+ */
25
+ BytesConverted?: number | undefined;
26
+ /**
27
+ * <p>A description of the task.</p>
28
+ * @public
29
+ */
30
+ Description?: string | undefined;
31
+ /**
32
+ * <p>The image.</p>
33
+ * @public
34
+ */
35
+ Image?: DiskImageDescription | undefined;
36
+ /**
37
+ * <p>The status of the import of this particular disk image.</p>
38
+ * @public
39
+ */
40
+ Status?: string | undefined;
41
+ /**
42
+ * <p>The status information or errors related to the disk image.</p>
43
+ * @public
44
+ */
45
+ StatusMessage?: string | undefined;
46
+ /**
47
+ * <p>The volume.</p>
48
+ * @public
49
+ */
50
+ Volume?: DiskImageVolumeDescription | undefined;
51
+ }
52
+ /**
53
+ * <p>Describes an import instance task.</p>
54
+ * @public
55
+ */
56
+ export interface ImportInstanceTaskDetails {
57
+ /**
58
+ * <p>A description of the task.</p>
59
+ * @public
60
+ */
61
+ Description?: string | undefined;
62
+ /**
63
+ * <p>The ID of the instance.</p>
64
+ * @public
65
+ */
66
+ InstanceId?: string | undefined;
67
+ /**
68
+ * <p>The instance operating system.</p>
69
+ * @public
70
+ */
71
+ Platform?: PlatformValues | undefined;
72
+ /**
73
+ * <p>The volumes.</p>
74
+ * @public
75
+ */
76
+ Volumes?: ImportInstanceVolumeDetailItem[] | undefined;
77
+ }
78
+ /**
79
+ * <p>Describes an import volume task.</p>
80
+ * @public
81
+ */
82
+ export interface ImportVolumeTaskDetails {
83
+ /**
84
+ * <p>The Availability Zone where the resulting volume will reside.</p>
85
+ * @public
86
+ */
87
+ AvailabilityZone?: string | undefined;
88
+ /**
89
+ * <p>The ID of the Availability Zone where the resulting volume will reside.</p>
90
+ * @public
91
+ */
92
+ AvailabilityZoneId?: string | undefined;
93
+ /**
94
+ * <p>The number of bytes converted so far.</p>
95
+ * @public
96
+ */
97
+ BytesConverted?: number | undefined;
98
+ /**
99
+ * <p>The description you provided when starting the import volume task.</p>
100
+ * @public
101
+ */
102
+ Description?: string | undefined;
103
+ /**
104
+ * <p>The image.</p>
105
+ * @public
106
+ */
107
+ Image?: DiskImageDescription | undefined;
108
+ /**
109
+ * <p>The volume.</p>
110
+ * @public
111
+ */
112
+ Volume?: DiskImageVolumeDescription | undefined;
113
+ }
114
+ /**
115
+ * <p>Describes a conversion task.</p>
116
+ * @public
117
+ */
118
+ export interface ConversionTask {
119
+ /**
120
+ * <p>The ID of the conversion task.</p>
121
+ * @public
122
+ */
123
+ ConversionTaskId?: string | undefined;
124
+ /**
125
+ * <p>The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel
126
+ * the task.</p>
127
+ * @public
128
+ */
129
+ ExpirationTime?: string | undefined;
130
+ /**
131
+ * <p>If the task is for importing an instance, this contains information about the import instance task.</p>
132
+ * @public
133
+ */
134
+ ImportInstance?: ImportInstanceTaskDetails | undefined;
135
+ /**
136
+ * <p>If the task is for importing a volume, this contains information about the import volume task.</p>
137
+ * @public
138
+ */
139
+ ImportVolume?: ImportVolumeTaskDetails | undefined;
140
+ /**
141
+ * <p>The state of the conversion task.</p>
142
+ * @public
143
+ */
144
+ State?: ConversionTaskState | undefined;
145
+ /**
146
+ * <p>The status message related to the conversion task.</p>
147
+ * @public
148
+ */
149
+ StatusMessage?: string | undefined;
150
+ /**
151
+ * <p>Any tags assigned to the task.</p>
152
+ * @public
153
+ */
154
+ Tags?: Tag[] | undefined;
155
+ }
156
+ /**
157
+ * @public
158
+ */
159
+ export interface DescribeConversionTasksResult {
160
+ /**
161
+ * <p>Information about the conversion tasks.</p>
162
+ * @public
163
+ */
164
+ ConversionTasks?: ConversionTask[] | undefined;
165
+ }
166
+ /**
167
+ * <p>Contains the parameters for DescribeCustomerGateways.</p>
168
+ * @public
169
+ */
170
+ export interface DescribeCustomerGatewaysRequest {
171
+ /**
172
+ * <p>One or more customer gateway IDs.</p>
173
+ * <p>Default: Describes all your customer gateways.</p>
174
+ * @public
175
+ */
176
+ CustomerGatewayIds?: string[] | undefined;
177
+ /**
178
+ * <p>One or more filters.</p>
179
+ * <ul>
180
+ * <li>
181
+ * <p>
182
+ * <code>bgp-asn</code> - The customer gateway's Border Gateway Protocol (BGP)
183
+ * Autonomous System Number (ASN).</p>
184
+ * </li>
185
+ * <li>
186
+ * <p>
187
+ * <code>customer-gateway-id</code> - The ID of the customer gateway.</p>
188
+ * </li>
189
+ * <li>
190
+ * <p>
191
+ * <code>ip-address</code> - The IP address of the customer gateway
192
+ * device's external interface.</p>
193
+ * </li>
194
+ * <li>
195
+ * <p>
196
+ * <code>state</code> - The state of the customer gateway (<code>pending</code> |
197
+ * <code>available</code> | <code>deleting</code> |
198
+ * <code>deleted</code>).</p>
199
+ * </li>
200
+ * <li>
201
+ * <p>
202
+ * <code>type</code> - The type of customer gateway. Currently, the only
203
+ * supported type is <code>ipsec.1</code>.</p>
204
+ * </li>
205
+ * <li>
206
+ * <p>
207
+ * <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.
208
+ * 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>
209
+ * </li>
210
+ * <li>
211
+ * <p>
212
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
213
+ * </li>
214
+ * </ul>
215
+ * @public
216
+ */
217
+ Filters?: Filter[] | undefined;
218
+ /**
219
+ * <p>Checks whether you have the required permissions for the action, without actually
220
+ * making the request, and provides an error response. If you have the required
221
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
222
+ * <code>UnauthorizedOperation</code>.</p>
223
+ * @public
224
+ */
225
+ DryRun?: boolean | undefined;
226
+ }
227
+ /**
228
+ * <p>Contains the output of DescribeCustomerGateways.</p>
229
+ * @public
230
+ */
231
+ export interface DescribeCustomerGatewaysResult {
232
+ /**
233
+ * <p>Information about one or more customer gateways.</p>
234
+ * @public
235
+ */
236
+ CustomerGateways?: CustomerGateway[] | undefined;
237
+ }
238
+ /**
239
+ * @public
240
+ */
241
+ export interface DescribeDeclarativePoliciesReportsRequest {
242
+ /**
243
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
244
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
245
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
246
+ * @public
247
+ */
248
+ DryRun?: boolean | undefined;
249
+ /**
250
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
251
+ * @public
252
+ */
253
+ NextToken?: string | undefined;
254
+ /**
255
+ * <p>The maximum number of items to return for this request.
256
+ * To get the next page of items, make another request with the token returned in the output.
257
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
258
+ * @public
259
+ */
260
+ MaxResults?: number | undefined;
261
+ /**
262
+ * <p>One or more report IDs.</p>
263
+ * @public
264
+ */
265
+ ReportIds?: string[] | undefined;
266
+ }
6
267
  /**
7
268
  * <p>Describes the metadata of the account status report.</p>
8
269
  * @public
@@ -12449,365 +12710,3 @@ export interface DescribeNetworkInsightsAccessScopesResult {
12449
12710
  */
12450
12711
  NextToken?: string | undefined;
12451
12712
  }
12452
- /**
12453
- * @public
12454
- */
12455
- export interface DescribeNetworkInsightsAnalysesRequest {
12456
- /**
12457
- * <p>The ID of the network insights analyses. You must specify either analysis IDs or a path ID.</p>
12458
- * @public
12459
- */
12460
- NetworkInsightsAnalysisIds?: string[] | undefined;
12461
- /**
12462
- * <p>The ID of the path. You must specify either a path ID or analysis IDs.</p>
12463
- * @public
12464
- */
12465
- NetworkInsightsPathId?: string | undefined;
12466
- /**
12467
- * <p>The time when the network insights analyses started.</p>
12468
- * @public
12469
- */
12470
- AnalysisStartTime?: Date | undefined;
12471
- /**
12472
- * <p>The time when the network insights analyses ended.</p>
12473
- * @public
12474
- */
12475
- AnalysisEndTime?: Date | undefined;
12476
- /**
12477
- * <p>The filters. The following are the possible values:</p>
12478
- * <ul>
12479
- * <li>
12480
- * <p>path-found - A Boolean value that indicates whether a feasible path is found.</p>
12481
- * </li>
12482
- * <li>
12483
- * <p>status - The status of the analysis (running | succeeded | failed).</p>
12484
- * </li>
12485
- * </ul>
12486
- * @public
12487
- */
12488
- Filters?: Filter[] | undefined;
12489
- /**
12490
- * <p>The maximum number of results to return with a single call.
12491
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
12492
- * @public
12493
- */
12494
- MaxResults?: number | undefined;
12495
- /**
12496
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
12497
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12498
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12499
- * @public
12500
- */
12501
- DryRun?: boolean | undefined;
12502
- /**
12503
- * <p>The token for the next page of results.</p>
12504
- * @public
12505
- */
12506
- NextToken?: string | undefined;
12507
- }
12508
- /**
12509
- * <p>Describes a network insights analysis.</p>
12510
- * @public
12511
- */
12512
- export interface NetworkInsightsAnalysis {
12513
- /**
12514
- * <p>The ID of the network insights analysis.</p>
12515
- * @public
12516
- */
12517
- NetworkInsightsAnalysisId?: string | undefined;
12518
- /**
12519
- * <p>The Amazon Resource Name (ARN) of the network insights analysis.</p>
12520
- * @public
12521
- */
12522
- NetworkInsightsAnalysisArn?: string | undefined;
12523
- /**
12524
- * <p>The ID of the path.</p>
12525
- * @public
12526
- */
12527
- NetworkInsightsPathId?: string | undefined;
12528
- /**
12529
- * <p>The member accounts that contain resources that the path can traverse.</p>
12530
- * @public
12531
- */
12532
- AdditionalAccounts?: string[] | undefined;
12533
- /**
12534
- * <p>The Amazon Resource Names (ARN) of the resources that the path must traverse.</p>
12535
- * @public
12536
- */
12537
- FilterInArns?: string[] | undefined;
12538
- /**
12539
- * <p>The Amazon Resource Names (ARN) of the resources that the path must ignore.</p>
12540
- * @public
12541
- */
12542
- FilterOutArns?: string[] | undefined;
12543
- /**
12544
- * <p>The time the analysis started.</p>
12545
- * @public
12546
- */
12547
- StartDate?: Date | undefined;
12548
- /**
12549
- * <p>The status of the network insights analysis.</p>
12550
- * @public
12551
- */
12552
- Status?: AnalysisStatus | undefined;
12553
- /**
12554
- * <p>The status message, if the status is <code>failed</code>.</p>
12555
- * @public
12556
- */
12557
- StatusMessage?: string | undefined;
12558
- /**
12559
- * <p>The warning message.</p>
12560
- * @public
12561
- */
12562
- WarningMessage?: string | undefined;
12563
- /**
12564
- * <p>Indicates whether the destination is reachable from the source.</p>
12565
- * @public
12566
- */
12567
- NetworkPathFound?: boolean | undefined;
12568
- /**
12569
- * <p>The components in the path from source to destination.</p>
12570
- * @public
12571
- */
12572
- ForwardPathComponents?: PathComponent[] | undefined;
12573
- /**
12574
- * <p>The components in the path from destination to source.</p>
12575
- * @public
12576
- */
12577
- ReturnPathComponents?: PathComponent[] | undefined;
12578
- /**
12579
- * <p>The explanations. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html">Reachability Analyzer explanation codes</a>.</p>
12580
- * @public
12581
- */
12582
- Explanations?: Explanation[] | undefined;
12583
- /**
12584
- * <p>Potential intermediate components.</p>
12585
- * @public
12586
- */
12587
- AlternatePathHints?: AlternatePathHint[] | undefined;
12588
- /**
12589
- * <p>Potential intermediate accounts.</p>
12590
- * @public
12591
- */
12592
- SuggestedAccounts?: string[] | undefined;
12593
- /**
12594
- * <p>The tags.</p>
12595
- * @public
12596
- */
12597
- Tags?: Tag[] | undefined;
12598
- }
12599
- /**
12600
- * @public
12601
- */
12602
- export interface DescribeNetworkInsightsAnalysesResult {
12603
- /**
12604
- * <p>Information about the network insights analyses.</p>
12605
- * @public
12606
- */
12607
- NetworkInsightsAnalyses?: NetworkInsightsAnalysis[] | undefined;
12608
- /**
12609
- * <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>
12610
- * @public
12611
- */
12612
- NextToken?: string | undefined;
12613
- }
12614
- /**
12615
- * @public
12616
- */
12617
- export interface DescribeNetworkInsightsPathsRequest {
12618
- /**
12619
- * <p>The IDs of the paths.</p>
12620
- * @public
12621
- */
12622
- NetworkInsightsPathIds?: string[] | undefined;
12623
- /**
12624
- * <p>The filters. The following are the possible values:</p>
12625
- * <ul>
12626
- * <li>
12627
- * <p>destination - The ID of the resource.</p>
12628
- * </li>
12629
- * <li>
12630
- * <p>filter-at-source.source-address - The source IPv4 address at the source.</p>
12631
- * </li>
12632
- * <li>
12633
- * <p>filter-at-source.source-port-range - The source port range at the source.</p>
12634
- * </li>
12635
- * <li>
12636
- * <p>filter-at-source.destination-address - The destination IPv4 address at the source.</p>
12637
- * </li>
12638
- * <li>
12639
- * <p>filter-at-source.destination-port-range - The destination port range at the source.</p>
12640
- * </li>
12641
- * <li>
12642
- * <p>filter-at-destination.source-address - The source IPv4 address at the destination.</p>
12643
- * </li>
12644
- * <li>
12645
- * <p>filter-at-destination.source-port-range - The source port range at the destination.</p>
12646
- * </li>
12647
- * <li>
12648
- * <p>filter-at-destination.destination-address - The destination IPv4 address at the destination.</p>
12649
- * </li>
12650
- * <li>
12651
- * <p>filter-at-destination.destination-port-range - The destination port range at the destination.</p>
12652
- * </li>
12653
- * <li>
12654
- * <p>protocol - The protocol.</p>
12655
- * </li>
12656
- * <li>
12657
- * <p>source - The ID of the resource.</p>
12658
- * </li>
12659
- * </ul>
12660
- * @public
12661
- */
12662
- Filters?: Filter[] | undefined;
12663
- /**
12664
- * <p>The maximum number of results to return with a single call.
12665
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
12666
- * @public
12667
- */
12668
- MaxResults?: number | undefined;
12669
- /**
12670
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
12671
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12672
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12673
- * @public
12674
- */
12675
- DryRun?: boolean | undefined;
12676
- /**
12677
- * <p>The token for the next page of results.</p>
12678
- * @public
12679
- */
12680
- NextToken?: string | undefined;
12681
- }
12682
- /**
12683
- * @public
12684
- */
12685
- export interface DescribeNetworkInsightsPathsResult {
12686
- /**
12687
- * <p>Information about the paths.</p>
12688
- * @public
12689
- */
12690
- NetworkInsightsPaths?: NetworkInsightsPath[] | undefined;
12691
- /**
12692
- * <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>
12693
- * @public
12694
- */
12695
- NextToken?: string | undefined;
12696
- }
12697
- /**
12698
- * <p>Contains the parameters for DescribeNetworkInterfaceAttribute.</p>
12699
- * @public
12700
- */
12701
- export interface DescribeNetworkInterfaceAttributeRequest {
12702
- /**
12703
- * <p>Checks whether you have the required permissions for the action, without actually
12704
- * making the request, and provides an error response. If you have the required
12705
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
12706
- * <code>UnauthorizedOperation</code>.</p>
12707
- * @public
12708
- */
12709
- DryRun?: boolean | undefined;
12710
- /**
12711
- * <p>The ID of the network interface.</p>
12712
- * @public
12713
- */
12714
- NetworkInterfaceId: string | undefined;
12715
- /**
12716
- * <p>The attribute of the network interface. This parameter is required.</p>
12717
- * @public
12718
- */
12719
- Attribute?: NetworkInterfaceAttribute | undefined;
12720
- }
12721
- /**
12722
- * <p>Contains the output of DescribeNetworkInterfaceAttribute.</p>
12723
- * @public
12724
- */
12725
- export interface DescribeNetworkInterfaceAttributeResult {
12726
- /**
12727
- * <p>The attachment (if any) of the network interface.</p>
12728
- * @public
12729
- */
12730
- Attachment?: NetworkInterfaceAttachment | undefined;
12731
- /**
12732
- * <p>The description of the network interface.</p>
12733
- * @public
12734
- */
12735
- Description?: AttributeValue | undefined;
12736
- /**
12737
- * <p>The security groups associated with the network interface.</p>
12738
- * @public
12739
- */
12740
- Groups?: GroupIdentifier[] | undefined;
12741
- /**
12742
- * <p>The ID of the network interface.</p>
12743
- * @public
12744
- */
12745
- NetworkInterfaceId?: string | undefined;
12746
- /**
12747
- * <p>Indicates whether source/destination checking is enabled.</p>
12748
- * @public
12749
- */
12750
- SourceDestCheck?: AttributeBooleanValue | undefined;
12751
- /**
12752
- * <p>Indicates whether to assign a public IPv4 address to a network interface. This option
12753
- * can be enabled for any network interface but will only apply to the primary network
12754
- * interface (eth0).</p>
12755
- * @public
12756
- */
12757
- AssociatePublicIpAddress?: boolean | undefined;
12758
- }
12759
- /**
12760
- * <p>Contains the parameters for DescribeNetworkInterfacePermissions.</p>
12761
- * @public
12762
- */
12763
- export interface DescribeNetworkInterfacePermissionsRequest {
12764
- /**
12765
- * <p>The network interface permission IDs.</p>
12766
- * @public
12767
- */
12768
- NetworkInterfacePermissionIds?: string[] | undefined;
12769
- /**
12770
- * <p>One or more filters.</p>
12771
- * <ul>
12772
- * <li>
12773
- * <p>
12774
- * <code>network-interface-permission.network-interface-permission-id</code> -
12775
- * The ID of the permission.</p>
12776
- * </li>
12777
- * <li>
12778
- * <p>
12779
- * <code>network-interface-permission.network-interface-id</code> - The ID of the
12780
- * network interface.</p>
12781
- * </li>
12782
- * <li>
12783
- * <p>
12784
- * <code>network-interface-permission.aws-account-id</code> - The Amazon Web Services account ID.</p>
12785
- * </li>
12786
- * <li>
12787
- * <p>
12788
- * <code>network-interface-permission.aws-service</code> - The Amazon Web Services
12789
- * service.</p>
12790
- * </li>
12791
- * <li>
12792
- * <p>
12793
- * <code>network-interface-permission.permission</code> - The type of permission
12794
- * (<code>INSTANCE-ATTACH</code> | <code>EIP-ASSOCIATE</code>).</p>
12795
- * </li>
12796
- * </ul>
12797
- * @public
12798
- */
12799
- Filters?: Filter[] | undefined;
12800
- /**
12801
- * <p>The token returned from a previous paginated request. Pagination continues from the
12802
- * end of the items returned by the previous request.</p>
12803
- * @public
12804
- */
12805
- NextToken?: string | undefined;
12806
- /**
12807
- * <p>The maximum number of items to return for this request. To get the next page of items,
12808
- * make another request with the token returned in the output. If this parameter is not
12809
- * specified, up to 50 results are returned by default. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
12810
- * @public
12811
- */
12812
- MaxResults?: number | undefined;
12813
- }