@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,7 +1,126 @@
1
- import type { AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnDeviceTrustProviderType, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, EndpointIpAddressType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, IpamPoolCidrFailureCode, IpamPoolCidrState, LaunchTemplateErrorCode, MetricType, OutputFormat, PeriodType, PlatformValues, Schedule, SnapshotReturnCodes, StatisticType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
- import type { AccountAttribute, AccountVpcEncryptionControl, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CapacityReservationModificationQuote, ClientVpnAuthorizationRuleStatus, FlexCostAllocationOperationFailure, IpamRoutingPolicyRegistrationDelta, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
- import type { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, FleetCapacityReservation, InstanceRequirementsRequest, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
1
+ import type { AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnDeviceTrustProviderType, ClientVpnEndpointAttributeStatusCode, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, EndpointIpAddressType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, InstanceEventWindowState, IpamPoolCidrFailureCode, IpamPoolCidrState, LaunchTemplateErrorCode, MetricType, OutputFormat, PeriodType, Schedule, SnapshotReturnCodes, StatisticType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
+ import type { AccountAttribute, AccountVpcEncryptionControl, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, ClientVpnAuthorizationRuleStatus, FlexCostAllocationOperationFailure, IpamRoutingPolicyRegistrationDelta, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
+ import type { CapacityReservationModificationQuote, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, FleetCapacityReservation, InstanceRequirementsRequest, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
4
4
  import type { GroupIdentifier, RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayNetworkFunctionAttachment, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DeleteInstanceEventWindowRequest {
9
+ /**
10
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13
+ * @public
14
+ */
15
+ DryRun?: boolean | undefined;
16
+ /**
17
+ * <p>Specify <code>true</code> to force delete the event window. Use the force delete
18
+ * parameter if the event window is currently associated with targets.</p>
19
+ * @public
20
+ */
21
+ ForceDelete?: boolean | undefined;
22
+ /**
23
+ * <p>The ID of the event window.</p>
24
+ * @public
25
+ */
26
+ InstanceEventWindowId: string | undefined;
27
+ }
28
+ /**
29
+ * <p>The state of the event window.</p>
30
+ * @public
31
+ */
32
+ export interface InstanceEventWindowStateChange {
33
+ /**
34
+ * <p>The ID of the event window.</p>
35
+ * @public
36
+ */
37
+ InstanceEventWindowId?: string | undefined;
38
+ /**
39
+ * <p>The current state of the event window.</p>
40
+ * @public
41
+ */
42
+ State?: InstanceEventWindowState | undefined;
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface DeleteInstanceEventWindowResult {
48
+ /**
49
+ * <p>The state of the event window.</p>
50
+ * @public
51
+ */
52
+ InstanceEventWindowState?: InstanceEventWindowStateChange | undefined;
53
+ }
54
+ /**
55
+ * @public
56
+ */
57
+ export interface DeleteInternetGatewayRequest {
58
+ /**
59
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
60
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
61
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
62
+ * @public
63
+ */
64
+ DryRun?: boolean | undefined;
65
+ /**
66
+ * <p>The ID of the internet gateway.</p>
67
+ * @public
68
+ */
69
+ InternetGatewayId: string | undefined;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface DeleteIpamRequest {
75
+ /**
76
+ * <p>A check for whether you have the required permissions for the action without actually making the request
77
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
78
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
79
+ * @public
80
+ */
81
+ DryRun?: boolean | undefined;
82
+ /**
83
+ * <p>The ID of the IPAM to delete.</p>
84
+ * @public
85
+ */
86
+ IpamId: string | undefined;
87
+ /**
88
+ * <p>Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and
89
+ * any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.</p>
93
+ * <note>
94
+ * <p>No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.</p>
95
+ * </note>
96
+ * </li>
97
+ * <li>
98
+ * <p>Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>Deletes all IPAM pools in private scopes.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>Deletes all non-default private scopes in the IPAM.</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>Deletes the default public and private scopes and the IPAM.</p>
108
+ * </li>
109
+ * </ul>
110
+ * @public
111
+ */
112
+ Cascade?: boolean | undefined;
113
+ }
114
+ /**
115
+ * @public
116
+ */
117
+ export interface DeleteIpamResult {
118
+ /**
119
+ * <p>Information about the results of the deletion.</p>
120
+ * @public
121
+ */
122
+ Ipam?: Ipam | undefined;
123
+ }
5
124
  /**
6
125
  * @public
7
126
  */
@@ -4330,6 +4449,18 @@ export interface DescribeCapacityBlockExtensionOfferingsResult {
4330
4449
  */
4331
4450
  NextToken?: string | undefined;
4332
4451
  }
4452
+ /**
4453
+ * <p>Instance type preference for a Capacity Block search. Specifies one or more instance
4454
+ * types to evaluate when searching for available Capacity Blocks.</p>
4455
+ * @public
4456
+ */
4457
+ export interface CapacityBlockInstanceTypePreference {
4458
+ /**
4459
+ * <p>The instance type to consider in the Capacity Block search.</p>
4460
+ * @public
4461
+ */
4462
+ InstanceType?: string | undefined;
4463
+ }
4333
4464
  /**
4334
4465
  * @public
4335
4466
  */
@@ -4396,6 +4527,76 @@ export interface DescribeCapacityBlockOfferingsRequest {
4396
4527
  * @public
4397
4528
  */
4398
4529
  AllAvailabilityZones?: boolean | undefined;
4530
+ /**
4531
+ * <p>List of instance type preferences for the Capacity Block offering search. Accepts one
4532
+ * or more instance type names. Either this or the legacy <code>InstanceType</code> parameter is
4533
+ * required.</p>
4534
+ * @public
4535
+ */
4536
+ InstanceTypePreferences?: CapacityBlockInstanceTypePreference[] | undefined;
4537
+ }
4538
+ /**
4539
+ * <p>Describes an individual segment within a Capacity Block offering. Each segment
4540
+ * represents a distinct block of capacity with its own Availability Zone, instance type,
4541
+ * duration, pricing, and schedule.</p>
4542
+ * @public
4543
+ */
4544
+ export interface CapacityBlockOfferingSegment {
4545
+ /**
4546
+ * <p>The instance type of the Capacity Block offering segment.</p>
4547
+ * @public
4548
+ */
4549
+ InstanceType?: string | undefined;
4550
+ /**
4551
+ * <p>The Availability Zone of the Capacity Block offering segment.</p>
4552
+ * @public
4553
+ */
4554
+ AvailabilityZone?: string | undefined;
4555
+ /**
4556
+ * <p>The ID of the Availability Zone for the Capacity Block offering segment.</p>
4557
+ * @public
4558
+ */
4559
+ AvailabilityZoneId?: string | undefined;
4560
+ /**
4561
+ * <p>The number of instances in the Capacity Block offering segment.</p>
4562
+ * @public
4563
+ */
4564
+ InstanceCount?: number | undefined;
4565
+ /**
4566
+ * <p>The start date of the Capacity Block offering segment.</p>
4567
+ * @public
4568
+ */
4569
+ StartDate?: Date | undefined;
4570
+ /**
4571
+ * <p>The end date of the Capacity Block offering segment.</p>
4572
+ * @public
4573
+ */
4574
+ EndDate?: Date | undefined;
4575
+ /**
4576
+ * <p>The number of hours for the duration of the Capacity Block offering segment.</p>
4577
+ * @public
4578
+ */
4579
+ CapacityBlockDurationHours?: number | undefined;
4580
+ /**
4581
+ * <p>The number of minutes for the duration of the Capacity Block offering segment.</p>
4582
+ * @public
4583
+ */
4584
+ CapacityBlockDurationMinutes?: number | undefined;
4585
+ /**
4586
+ * <p>The total price to be paid up front for the Capacity Block offering segment.</p>
4587
+ * @public
4588
+ */
4589
+ UpfrontFee?: string | undefined;
4590
+ /**
4591
+ * <p>The currency of the payment for the Capacity Block offering segment.</p>
4592
+ * @public
4593
+ */
4594
+ CurrencyCode?: string | undefined;
4595
+ /**
4596
+ * <p>The type of zone where the Capacity Block offering segment is available.</p>
4597
+ * @public
4598
+ */
4599
+ ZoneType?: string | undefined;
4399
4600
  }
4400
4601
  /**
4401
4602
  * <p>The recommended Capacity Block that fits your search requirements.</p>
@@ -4476,6 +4677,13 @@ export interface CapacityBlockOffering {
4476
4677
  * @public
4477
4678
  */
4478
4679
  ZoneType?: string | undefined;
4680
+ /**
4681
+ * <p>The individual segments that compose the Capacity Block offering. Each segment
4682
+ * describes a distinct block of capacity with its own Availability Zone, instance type,
4683
+ * schedule, and pricing.</p>
4684
+ * @public
4685
+ */
4686
+ CapacityBlockOfferingSegments?: CapacityBlockOfferingSegment[] | undefined;
4479
4687
  }
4480
4688
  /**
4481
4689
  * @public
@@ -6949,264 +7157,3 @@ export interface DiskImageVolumeDescription {
6949
7157
  */
6950
7158
  Size?: number | undefined;
6951
7159
  }
6952
- /**
6953
- * <p>Describes an import volume task.</p>
6954
- * @public
6955
- */
6956
- export interface ImportInstanceVolumeDetailItem {
6957
- /**
6958
- * <p>The Availability Zone where the resulting instance will reside.</p>
6959
- * @public
6960
- */
6961
- AvailabilityZone?: string | undefined;
6962
- /**
6963
- * <p>The ID of the Availability Zone where the resulting instance will reside.</p>
6964
- * @public
6965
- */
6966
- AvailabilityZoneId?: string | undefined;
6967
- /**
6968
- * <p>The number of bytes converted so far.</p>
6969
- * @public
6970
- */
6971
- BytesConverted?: number | undefined;
6972
- /**
6973
- * <p>A description of the task.</p>
6974
- * @public
6975
- */
6976
- Description?: string | undefined;
6977
- /**
6978
- * <p>The image.</p>
6979
- * @public
6980
- */
6981
- Image?: DiskImageDescription | undefined;
6982
- /**
6983
- * <p>The status of the import of this particular disk image.</p>
6984
- * @public
6985
- */
6986
- Status?: string | undefined;
6987
- /**
6988
- * <p>The status information or errors related to the disk image.</p>
6989
- * @public
6990
- */
6991
- StatusMessage?: string | undefined;
6992
- /**
6993
- * <p>The volume.</p>
6994
- * @public
6995
- */
6996
- Volume?: DiskImageVolumeDescription | undefined;
6997
- }
6998
- /**
6999
- * <p>Describes an import instance task.</p>
7000
- * @public
7001
- */
7002
- export interface ImportInstanceTaskDetails {
7003
- /**
7004
- * <p>A description of the task.</p>
7005
- * @public
7006
- */
7007
- Description?: string | undefined;
7008
- /**
7009
- * <p>The ID of the instance.</p>
7010
- * @public
7011
- */
7012
- InstanceId?: string | undefined;
7013
- /**
7014
- * <p>The instance operating system.</p>
7015
- * @public
7016
- */
7017
- Platform?: PlatformValues | undefined;
7018
- /**
7019
- * <p>The volumes.</p>
7020
- * @public
7021
- */
7022
- Volumes?: ImportInstanceVolumeDetailItem[] | undefined;
7023
- }
7024
- /**
7025
- * <p>Describes an import volume task.</p>
7026
- * @public
7027
- */
7028
- export interface ImportVolumeTaskDetails {
7029
- /**
7030
- * <p>The Availability Zone where the resulting volume will reside.</p>
7031
- * @public
7032
- */
7033
- AvailabilityZone?: string | undefined;
7034
- /**
7035
- * <p>The ID of the Availability Zone where the resulting volume will reside.</p>
7036
- * @public
7037
- */
7038
- AvailabilityZoneId?: string | undefined;
7039
- /**
7040
- * <p>The number of bytes converted so far.</p>
7041
- * @public
7042
- */
7043
- BytesConverted?: number | undefined;
7044
- /**
7045
- * <p>The description you provided when starting the import volume task.</p>
7046
- * @public
7047
- */
7048
- Description?: string | undefined;
7049
- /**
7050
- * <p>The image.</p>
7051
- * @public
7052
- */
7053
- Image?: DiskImageDescription | undefined;
7054
- /**
7055
- * <p>The volume.</p>
7056
- * @public
7057
- */
7058
- Volume?: DiskImageVolumeDescription | undefined;
7059
- }
7060
- /**
7061
- * <p>Describes a conversion task.</p>
7062
- * @public
7063
- */
7064
- export interface ConversionTask {
7065
- /**
7066
- * <p>The ID of the conversion task.</p>
7067
- * @public
7068
- */
7069
- ConversionTaskId?: string | undefined;
7070
- /**
7071
- * <p>The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel
7072
- * the task.</p>
7073
- * @public
7074
- */
7075
- ExpirationTime?: string | undefined;
7076
- /**
7077
- * <p>If the task is for importing an instance, this contains information about the import instance task.</p>
7078
- * @public
7079
- */
7080
- ImportInstance?: ImportInstanceTaskDetails | undefined;
7081
- /**
7082
- * <p>If the task is for importing a volume, this contains information about the import volume task.</p>
7083
- * @public
7084
- */
7085
- ImportVolume?: ImportVolumeTaskDetails | undefined;
7086
- /**
7087
- * <p>The state of the conversion task.</p>
7088
- * @public
7089
- */
7090
- State?: ConversionTaskState | undefined;
7091
- /**
7092
- * <p>The status message related to the conversion task.</p>
7093
- * @public
7094
- */
7095
- StatusMessage?: string | undefined;
7096
- /**
7097
- * <p>Any tags assigned to the task.</p>
7098
- * @public
7099
- */
7100
- Tags?: Tag[] | undefined;
7101
- }
7102
- /**
7103
- * @public
7104
- */
7105
- export interface DescribeConversionTasksResult {
7106
- /**
7107
- * <p>Information about the conversion tasks.</p>
7108
- * @public
7109
- */
7110
- ConversionTasks?: ConversionTask[] | undefined;
7111
- }
7112
- /**
7113
- * <p>Contains the parameters for DescribeCustomerGateways.</p>
7114
- * @public
7115
- */
7116
- export interface DescribeCustomerGatewaysRequest {
7117
- /**
7118
- * <p>One or more customer gateway IDs.</p>
7119
- * <p>Default: Describes all your customer gateways.</p>
7120
- * @public
7121
- */
7122
- CustomerGatewayIds?: string[] | undefined;
7123
- /**
7124
- * <p>One or more filters.</p>
7125
- * <ul>
7126
- * <li>
7127
- * <p>
7128
- * <code>bgp-asn</code> - The customer gateway's Border Gateway Protocol (BGP)
7129
- * Autonomous System Number (ASN).</p>
7130
- * </li>
7131
- * <li>
7132
- * <p>
7133
- * <code>customer-gateway-id</code> - The ID of the customer gateway.</p>
7134
- * </li>
7135
- * <li>
7136
- * <p>
7137
- * <code>ip-address</code> - The IP address of the customer gateway
7138
- * device's external interface.</p>
7139
- * </li>
7140
- * <li>
7141
- * <p>
7142
- * <code>state</code> - The state of the customer gateway (<code>pending</code> |
7143
- * <code>available</code> | <code>deleting</code> |
7144
- * <code>deleted</code>).</p>
7145
- * </li>
7146
- * <li>
7147
- * <p>
7148
- * <code>type</code> - The type of customer gateway. Currently, the only
7149
- * supported type is <code>ipsec.1</code>.</p>
7150
- * </li>
7151
- * <li>
7152
- * <p>
7153
- * <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.
7154
- * 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>
7155
- * </li>
7156
- * <li>
7157
- * <p>
7158
- * <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>
7159
- * </li>
7160
- * </ul>
7161
- * @public
7162
- */
7163
- Filters?: Filter[] | undefined;
7164
- /**
7165
- * <p>Checks whether you have the required permissions for the action, without actually
7166
- * making the request, and provides an error response. If you have the required
7167
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
7168
- * <code>UnauthorizedOperation</code>.</p>
7169
- * @public
7170
- */
7171
- DryRun?: boolean | undefined;
7172
- }
7173
- /**
7174
- * <p>Contains the output of DescribeCustomerGateways.</p>
7175
- * @public
7176
- */
7177
- export interface DescribeCustomerGatewaysResult {
7178
- /**
7179
- * <p>Information about one or more customer gateways.</p>
7180
- * @public
7181
- */
7182
- CustomerGateways?: CustomerGateway[] | undefined;
7183
- }
7184
- /**
7185
- * @public
7186
- */
7187
- export interface DescribeDeclarativePoliciesReportsRequest {
7188
- /**
7189
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7190
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7191
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7192
- * @public
7193
- */
7194
- DryRun?: boolean | undefined;
7195
- /**
7196
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
7197
- * @public
7198
- */
7199
- NextToken?: string | undefined;
7200
- /**
7201
- * <p>The maximum number of items to return for this request.
7202
- * To get the next page of items, make another request with the token returned in the output.
7203
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7204
- * @public
7205
- */
7206
- MaxResults?: number | undefined;
7207
- /**
7208
- * <p>One or more report IDs.</p>
7209
- * @public
7210
- */
7211
- ReportIds?: string[] | undefined;
7212
- }