@aws-sdk/client-ec2 3.697.0 → 3.699.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 (125) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +562 -85
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
  6. package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -14
  9. package/dist-es/models/models_1.js +17 -0
  10. package/dist-es/models/models_3.js +5 -11
  11. package/dist-es/models/models_4.js +11 -0
  12. package/dist-es/models/models_5.js +0 -4
  13. package/dist-es/models/models_6.js +4 -11
  14. package/dist-es/models/models_7.js +11 -0
  15. package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
  16. package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +3 -1
  18. package/dist-es/protocols/Aws_ec2.js +446 -38
  19. package/dist-types/EC2.d.ts +22 -0
  20. package/dist-types/EC2Client.d.ts +5 -2
  21. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  22. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  23. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
  24. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
  25. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
  26. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
  27. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
  28. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -2
  33. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
  34. package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
  35. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
  36. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
  39. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
  40. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -2
  42. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
  43. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  44. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  49. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  50. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  51. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  52. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  53. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  54. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -2
  55. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
  56. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
  57. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
  58. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
  59. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +4 -3
  60. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
  61. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -2
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  67. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
  68. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
  69. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
  70. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  71. package/dist-types/commands/index.d.ts +3 -0
  72. package/dist-types/models/models_0.d.ts +163 -67
  73. package/dist-types/models/models_1.d.ts +236 -302
  74. package/dist-types/models/models_2.d.ts +187 -66
  75. package/dist-types/models/models_3.d.ts +1425 -1385
  76. package/dist-types/models/models_4.d.ts +4190 -4186
  77. package/dist-types/models/models_5.d.ts +388 -172
  78. package/dist-types/models/models_6.d.ts +319 -425
  79. package/dist-types/models/models_7.d.ts +408 -24
  80. package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
  81. package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
  82. package/dist-types/pagination/index.d.ts +3 -1
  83. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  84. package/dist-types/ts3.4/EC2.d.ts +64 -0
  85. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  86. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
  87. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +4 -2
  88. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
  89. package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +4 -2
  91. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  97. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +4 -2
  106. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +12 -18
  114. package/dist-types/ts3.4/models/models_1.d.ts +32 -32
  115. package/dist-types/ts3.4/models/models_2.d.ts +33 -17
  116. package/dist-types/ts3.4/models/models_3.d.ts +77 -76
  117. package/dist-types/ts3.4/models/models_4.d.ts +79 -82
  118. package/dist-types/ts3.4/models/models_5.d.ts +85 -46
  119. package/dist-types/ts3.4/models/models_6.d.ts +58 -103
  120. package/dist-types/ts3.4/models/models_7.d.ts +108 -1
  121. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  124. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  125. package/package.json +4 -4
@@ -1,6 +1,66 @@
1
1
  import { AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, CapacityReservation, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
2
+ import { _InstanceType, CapacityReservation, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteFpgaImageResult {
8
+ /**
9
+ * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
10
+ * @public
11
+ */
12
+ Return?: boolean | undefined;
13
+ }
14
+ /**
15
+ * @public
16
+ */
17
+ export interface DeleteInstanceConnectEndpointRequest {
18
+ /**
19
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
20
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
21
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
22
+ * @public
23
+ */
24
+ DryRun?: boolean | undefined;
25
+ /**
26
+ * <p>The ID of the EC2 Instance Connect Endpoint to delete.</p>
27
+ * @public
28
+ */
29
+ InstanceConnectEndpointId: string | undefined;
30
+ }
31
+ /**
32
+ * @public
33
+ */
34
+ export interface DeleteInstanceConnectEndpointResult {
35
+ /**
36
+ * <p>Information about the EC2 Instance Connect Endpoint.</p>
37
+ * @public
38
+ */
39
+ InstanceConnectEndpoint?: Ec2InstanceConnectEndpoint | undefined;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export interface DeleteInstanceEventWindowRequest {
45
+ /**
46
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
47
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
48
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
49
+ * @public
50
+ */
51
+ DryRun?: boolean | undefined;
52
+ /**
53
+ * <p>Specify <code>true</code> to force delete the event window. Use the force delete parameter
54
+ * if the event window is currently associated with targets.</p>
55
+ * @public
56
+ */
57
+ ForceDelete?: boolean | undefined;
58
+ /**
59
+ * <p>The ID of the event window.</p>
60
+ * @public
61
+ */
62
+ InstanceEventWindowId: string | undefined;
63
+ }
4
64
  /**
5
65
  * <p>The state of the event window.</p>
6
66
  * @public
@@ -3044,160 +3104,208 @@ export interface DescribeByoipCidrsResult {
3044
3104
  /**
3045
3105
  * @public
3046
3106
  */
3047
- export interface DescribeCapacityBlockOfferingsRequest {
3107
+ export interface DescribeCapacityBlockExtensionHistoryRequest {
3048
3108
  /**
3049
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3109
+ * <p>The IDs of Capacity Block reservations that you want to display the history
3110
+ * for.</p>
3050
3111
  * @public
3051
3112
  */
3052
- DryRun?: boolean | undefined;
3113
+ CapacityReservationIds?: string[] | undefined;
3053
3114
  /**
3054
- * <p>The type of instance for which the Capacity Block offering reserves capacity.</p>
3115
+ * <p>The token to use to retrieve the next page of results.</p>
3055
3116
  * @public
3056
3117
  */
3057
- InstanceType?: string | undefined;
3118
+ NextToken?: string | undefined;
3058
3119
  /**
3059
- * <p>The number of instances for which to reserve capacity.</p>
3120
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
3121
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3060
3122
  * @public
3061
3123
  */
3062
- InstanceCount?: number | undefined;
3124
+ MaxResults?: number | undefined;
3063
3125
  /**
3064
- * <p>The earliest start date for the Capacity Block offering.</p>
3126
+ * <p>One or more filters</p>
3127
+ * <ul>
3128
+ * <li>
3129
+ * <p>
3130
+ * <code>availability-zone</code> - The Availability Zone of the
3131
+ * extension.</p>
3132
+ * </li>
3133
+ * <li>
3134
+ * <p>
3135
+ * <code>availability-zone-id</code> - The Availability Zone ID of the
3136
+ * extension.</p>
3137
+ * </li>
3138
+ * <li>
3139
+ * <p>
3140
+ * <code>capacity-block-extension-offering-id</code> - The ID of the extension
3141
+ * offering.</p>
3142
+ * </li>
3143
+ * <li>
3144
+ * <p>
3145
+ * <code>capacity-block-extension-status</code> - The status of the extension
3146
+ * (<code>payment-pending</code> | <code>payment-failed</code> |
3147
+ * <code>payment-succeeded</code>).</p>
3148
+ * </li>
3149
+ * <li>
3150
+ * <p>
3151
+ * <code>capacity-reservation-id</code> - The reservation ID of the
3152
+ * extension.</p>
3153
+ * </li>
3154
+ * <li>
3155
+ * <p>
3156
+ * <code>instance-type</code> - The instance type of the extension.</p>
3157
+ * </li>
3158
+ * </ul>
3065
3159
  * @public
3066
3160
  */
3067
- StartDateRange?: Date | undefined;
3161
+ Filters?: Filter[] | undefined;
3068
3162
  /**
3069
- * <p>The latest end date for the Capacity Block offering.</p>
3163
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3070
3164
  * @public
3071
3165
  */
3072
- EndDateRange?: Date | undefined;
3166
+ DryRun?: boolean | undefined;
3167
+ }
3168
+ /**
3169
+ * @public
3170
+ * @enum
3171
+ */
3172
+ export declare const CapacityBlockExtensionStatus: {
3173
+ readonly PAYMENT_FAILED: "payment-failed";
3174
+ readonly PAYMENT_PENDING: "payment-pending";
3175
+ readonly PAYMENT_SUCCEEDED: "payment-succeeded";
3176
+ };
3177
+ /**
3178
+ * @public
3179
+ */
3180
+ export type CapacityBlockExtensionStatus = (typeof CapacityBlockExtensionStatus)[keyof typeof CapacityBlockExtensionStatus];
3181
+ /**
3182
+ * <p>Describes a Capacity Block extension. With an extension, you can
3183
+ * extend the duration of time for an existing Capacity Block.</p>
3184
+ * @public
3185
+ */
3186
+ export interface CapacityBlockExtension {
3073
3187
  /**
3074
- * <p>The number of hours for which to reserve Capacity Block.</p>
3188
+ * <p>The reservation ID of the Capacity Block extension.</p>
3075
3189
  * @public
3076
3190
  */
3077
- CapacityDurationHours: number | undefined;
3191
+ CapacityReservationId?: string | undefined;
3078
3192
  /**
3079
- * <p>The token to use to retrieve the next page of results.</p>
3193
+ * <p>The instance type of the Capacity Block extension.</p>
3080
3194
  * @public
3081
3195
  */
3082
- NextToken?: string | undefined;
3196
+ InstanceType?: string | undefined;
3083
3197
  /**
3084
- * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
3085
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3198
+ * <p>The number of instances in the Capacity Block extension.</p>
3086
3199
  * @public
3087
3200
  */
3088
- MaxResults?: number | undefined;
3089
- }
3090
- /**
3091
- * <p>The recommended Capacity Block that fits your search requirements.</p>
3092
- * @public
3093
- */
3094
- export interface CapacityBlockOffering {
3201
+ InstanceCount?: number | undefined;
3095
3202
  /**
3096
- * <p>The ID of the Capacity Block offering.</p>
3203
+ * <p>The Availability Zone of the Capacity Block extension.</p>
3097
3204
  * @public
3098
3205
  */
3099
- CapacityBlockOfferingId?: string | undefined;
3206
+ AvailabilityZone?: string | undefined;
3100
3207
  /**
3101
- * <p>The instance type of the Capacity Block offering.</p>
3208
+ * <p>The Availability Zone ID of the Capacity Block extension.</p>
3102
3209
  * @public
3103
3210
  */
3104
- InstanceType?: string | undefined;
3211
+ AvailabilityZoneId?: string | undefined;
3105
3212
  /**
3106
- * <p>The Availability Zone of the Capacity Block offering.</p>
3213
+ * <p>The ID of the Capacity Block extension offering.</p>
3107
3214
  * @public
3108
3215
  */
3109
- AvailabilityZone?: string | undefined;
3216
+ CapacityBlockExtensionOfferingId?: string | undefined;
3110
3217
  /**
3111
- * <p>The number of instances in the Capacity Block offering.</p>
3218
+ * <p>The duration of the Capacity Block extension in hours.</p>
3112
3219
  * @public
3113
3220
  */
3114
- InstanceCount?: number | undefined;
3221
+ CapacityBlockExtensionDurationHours?: number | undefined;
3115
3222
  /**
3116
- * <p>The start date of the Capacity Block offering.</p>
3223
+ * <p>The status of the Capacity Block extension. A Capacity Block extension can have one of
3224
+ * the following statuses:</p>
3225
+ * <ul>
3226
+ * <li>
3227
+ * <p>
3228
+ * <code>payment-pending</code> - The Capacity Block extension payment is
3229
+ * processing. If your payment can't be processed within 12 hours, the Capacity
3230
+ * Block extension is failed.</p>
3231
+ * </li>
3232
+ * <li>
3233
+ * <p>
3234
+ * <code>payment-failed</code> - Payment for the Capacity Block extension request
3235
+ * was not successful.</p>
3236
+ * </li>
3237
+ * <li>
3238
+ * <p>
3239
+ * <code>payment-succeeded</code> - Payment for the Capacity Block extension
3240
+ * request was successful. You receive an invoice that reflects the one-time
3241
+ * upfront payment. In the invoice, you can associate the paid amount with the
3242
+ * Capacity Block reservation ID.</p>
3243
+ * </li>
3244
+ * </ul>
3117
3245
  * @public
3118
3246
  */
3119
- StartDate?: Date | undefined;
3247
+ CapacityBlockExtensionStatus?: CapacityBlockExtensionStatus | undefined;
3120
3248
  /**
3121
- * <p>The end date of the Capacity Block offering.</p>
3249
+ * <p>The date when the Capacity Block extension was purchased.</p>
3122
3250
  * @public
3123
3251
  */
3124
- EndDate?: Date | undefined;
3252
+ CapacityBlockExtensionPurchaseDate?: Date | undefined;
3125
3253
  /**
3126
- * <p>The amount of time of the Capacity Block reservation in hours.</p>
3254
+ * <p>The start date of the Capacity Block extension.</p>
3127
3255
  * @public
3128
3256
  */
3129
- CapacityBlockDurationHours?: number | undefined;
3257
+ CapacityBlockExtensionStartDate?: Date | undefined;
3130
3258
  /**
3131
- * <p>The total price to be paid up front.</p>
3259
+ * <p>The end date of the Capacity Block extension.</p>
3132
3260
  * @public
3133
3261
  */
3134
- UpfrontFee?: string | undefined;
3262
+ CapacityBlockExtensionEndDate?: Date | undefined;
3135
3263
  /**
3136
- * <p>The currency of the payment for the Capacity Block.</p>
3264
+ * <p>The total price to be paid up front.</p>
3137
3265
  * @public
3138
3266
  */
3139
- CurrencyCode?: string | undefined;
3267
+ UpfrontFee?: string | undefined;
3140
3268
  /**
3141
- * <p>The tenancy of the Capacity Block.</p>
3269
+ * <p>The currency of the payment for the Capacity Block extension.</p>
3142
3270
  * @public
3143
3271
  */
3144
- Tenancy?: CapacityReservationTenancy | undefined;
3272
+ CurrencyCode?: string | undefined;
3145
3273
  }
3146
3274
  /**
3147
3275
  * @public
3148
3276
  */
3149
- export interface DescribeCapacityBlockOfferingsResult {
3277
+ export interface DescribeCapacityBlockExtensionHistoryResult {
3150
3278
  /**
3151
- * <p>The recommended Capacity Block offering for the dates specified.</p>
3279
+ * <p>Describes one or more of your Capacity Block extensions. The results describe only the
3280
+ * Capacity Block extensions in the Amazon Web Services Region that you're currently using.</p>
3152
3281
  * @public
3153
3282
  */
3154
- CapacityBlockOfferings?: CapacityBlockOffering[] | undefined;
3283
+ CapacityBlockExtensions?: CapacityBlockExtension[] | undefined;
3155
3284
  /**
3156
3285
  * <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>
3157
3286
  * @public
3158
3287
  */
3159
3288
  NextToken?: string | undefined;
3160
3289
  }
3161
- /**
3162
- * @public
3163
- * @enum
3164
- */
3165
- export declare const CallerRole: {
3166
- readonly odcr_owner: "odcr-owner";
3167
- readonly unused_reservation_billing_owner: "unused-reservation-billing-owner";
3168
- };
3169
- /**
3170
- * @public
3171
- */
3172
- export type CallerRole = (typeof CallerRole)[keyof typeof CallerRole];
3173
3290
  /**
3174
3291
  * @public
3175
3292
  */
3176
- export interface DescribeCapacityReservationBillingRequestsRequest {
3293
+ export interface DescribeCapacityBlockExtensionOfferingsRequest {
3177
3294
  /**
3178
- * <p>The ID of the Capacity Reservation.</p>
3295
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3179
3296
  * @public
3180
3297
  */
3181
- CapacityReservationIds?: string[] | undefined;
3298
+ DryRun?: boolean | undefined;
3182
3299
  /**
3183
- * <p>Specify one of the following:</p>
3184
- * <ul>
3185
- * <li>
3186
- * <p>
3187
- * <code>odcr-owner</code> - If you are the Capacity Reservation owner, specify this
3188
- * value to view requests that you have initiated. Not supported with the <code>requested-by</code>
3189
- * filter.</p>
3190
- * </li>
3191
- * <li>
3192
- * <p>
3193
- * <code>unused-reservation-billing-owner</code> - If you are the consumer account,
3194
- * specify this value to view requests that have been sent to you. Not supported with the
3195
- * <code>unused-reservation-billing-owner</code> filter.</p>
3196
- * </li>
3197
- * </ul>
3300
+ * <p>The duration of the Capacity Block extension offering in hours.</p>
3198
3301
  * @public
3199
3302
  */
3200
- Role: CallerRole | undefined;
3303
+ CapacityBlockExtensionDurationHours: number | undefined;
3304
+ /**
3305
+ * <p>The ID of the Capacity reservation to be extended.</p>
3306
+ * @public
3307
+ */
3308
+ CapacityReservationId: string | undefined;
3201
3309
  /**
3202
3310
  * <p>The token to use to retrieve the next page of results.</p>
3203
3311
  * @public
@@ -3209,344 +3317,275 @@ export interface DescribeCapacityReservationBillingRequestsRequest {
3209
3317
  * @public
3210
3318
  */
3211
3319
  MaxResults?: number | undefined;
3212
- /**
3213
- * <p>One or more filters.</p>
3214
- * <ul>
3215
- * <li>
3216
- * <p>
3217
- * <code>status</code> - The state of the request (<code>pending</code> | <code>accepted</code> |
3218
- * <code>rejected</code> | <code>cancelled</code> | <code>revoked</code> | <code>expired</code>).</p>
3219
- * </li>
3220
- * <li>
3221
- * <p>
3222
- * <code>requested-by</code> - The account ID of the Capacity Reservation owner that initiated
3223
- * the request. Not supported if you specify <code>requested-by</code> for <b>Role</b>.</p>
3224
- * </li>
3225
- * <li>
3226
- * <p>
3227
- * <code>unused-reservation-billing-owner</code> - The ID of the consumer account to which the
3228
- * request was sent. Not supported if you specify <code>unused-reservation-billing-owner</code> for
3229
- * <b>Role</b>.</p>
3230
- * </li>
3231
- * </ul>
3232
- * @public
3233
- */
3234
- Filters?: Filter[] | undefined;
3235
- /**
3236
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3237
- * @public
3238
- */
3239
- DryRun?: boolean | undefined;
3240
3320
  }
3241
3321
  /**
3242
- * <p>Information about a Capacity Reservation.</p>
3322
+ * <p>The recommended Capacity Block extension that fits your search requirements.</p>
3243
3323
  * @public
3244
3324
  */
3245
- export interface CapacityReservationInfo {
3325
+ export interface CapacityBlockExtensionOffering {
3246
3326
  /**
3247
- * <p>The instance type for the Capacity Reservation.</p>
3327
+ * <p>The ID of the Capacity Block extension offering.</p>
3248
3328
  * @public
3249
3329
  */
3250
- InstanceType?: string | undefined;
3330
+ CapacityBlockExtensionOfferingId?: string | undefined;
3251
3331
  /**
3252
- * <p>The Availability Zone for the Capacity Reservation.</p>
3332
+ * <p>The instance type of the Capacity Block that will be extended.</p>
3253
3333
  * @public
3254
3334
  */
3255
- AvailabilityZone?: string | undefined;
3335
+ InstanceType?: string | undefined;
3256
3336
  /**
3257
- * <p>The tenancy of the Capacity Reservation.</p>
3337
+ * <p>The number of instances in the Capacity Block extension offering.</p>
3258
3338
  * @public
3259
3339
  */
3260
- Tenancy?: CapacityReservationTenancy | undefined;
3261
- }
3262
- /**
3263
- * @public
3264
- * @enum
3265
- */
3266
- export declare const CapacityReservationBillingRequestStatus: {
3267
- readonly accepted: "accepted";
3268
- readonly cancelled: "cancelled";
3269
- readonly expired: "expired";
3270
- readonly pending: "pending";
3271
- readonly rejected: "rejected";
3272
- readonly revoked: "revoked";
3273
- };
3274
- /**
3275
- * @public
3276
- */
3277
- export type CapacityReservationBillingRequestStatus = (typeof CapacityReservationBillingRequestStatus)[keyof typeof CapacityReservationBillingRequestStatus];
3278
- /**
3279
- * <p>Information about a request to assign billing of the unused capacity of a Capacity Reservation.</p>
3280
- * @public
3281
- */
3282
- export interface CapacityReservationBillingRequest {
3340
+ InstanceCount?: number | undefined;
3283
3341
  /**
3284
- * <p>The ID of the Capacity Reservation.</p>
3342
+ * <p>The Availability Zone of the Capacity Block that will be extended.</p>
3285
3343
  * @public
3286
3344
  */
3287
- CapacityReservationId?: string | undefined;
3345
+ AvailabilityZone?: string | undefined;
3288
3346
  /**
3289
- * <p>The ID of the Amazon Web Services account that initiated the request.</p>
3347
+ * <p>The Availability Zone ID of the Capacity Block that will be
3348
+ * extended.</p>
3290
3349
  * @public
3291
3350
  */
3292
- RequestedBy?: string | undefined;
3351
+ AvailabilityZoneId?: string | undefined;
3293
3352
  /**
3294
- * <p>The ID of the Amazon Web Services account to which the request was sent.</p>
3353
+ * <p>The start date of the Capacity Block that will be extended.</p>
3295
3354
  * @public
3296
3355
  */
3297
- UnusedReservationBillingOwnerId?: string | undefined;
3356
+ StartDate?: Date | undefined;
3298
3357
  /**
3299
- * <p>The date and time, in UTC time format, at which the request was initiated.</p>
3358
+ * <p>The date and time at which the Capacity Block extension will start. This date is
3359
+ * also the same as the end date of the Capacity Block that will be
3360
+ * extended.</p>
3300
3361
  * @public
3301
3362
  */
3302
- LastUpdateTime?: Date | undefined;
3363
+ CapacityBlockExtensionStartDate?: Date | undefined;
3303
3364
  /**
3304
- * <p>The status of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-billing-transfers.html">
3305
- * View billing assignment requests for a shared Amazon EC2 Capacity Reservation</a>.</p>
3365
+ * <p>The date and time at which the Capacity Block extension expires. When a Capacity
3366
+ * Block expires, the reserved capacity is released and you can no longer launch
3367
+ * instances into it. The Capacity Block's state changes to <code>expired</code> when
3368
+ * it reaches its end date</p>
3306
3369
  * @public
3307
3370
  */
3308
- Status?: CapacityReservationBillingRequestStatus | undefined;
3371
+ CapacityBlockExtensionEndDate?: Date | undefined;
3309
3372
  /**
3310
- * <p>Information about the status.</p>
3373
+ * <p>The amount of time of the Capacity Block extension offering in hours.</p>
3311
3374
  * @public
3312
3375
  */
3313
- StatusMessage?: string | undefined;
3376
+ CapacityBlockExtensionDurationHours?: number | undefined;
3314
3377
  /**
3315
- * <p>Information about the Capacity Reservation.</p>
3378
+ * <p>The total price of the Capacity Block extension offering, to be paid up front.</p>
3316
3379
  * @public
3317
3380
  */
3318
- CapacityReservationInfo?: CapacityReservationInfo | undefined;
3319
- }
3320
- /**
3321
- * @public
3322
- */
3323
- export interface DescribeCapacityReservationBillingRequestsResult {
3381
+ UpfrontFee?: string | undefined;
3324
3382
  /**
3325
- * <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>
3383
+ * <p>The currency of the payment for the Capacity Block extension offering.</p>
3326
3384
  * @public
3327
3385
  */
3328
- NextToken?: string | undefined;
3386
+ CurrencyCode?: string | undefined;
3329
3387
  /**
3330
- * <p>Information about the request.</p>
3388
+ * <p>Indicates the tenancy of the Capacity Block extension offering. A Capacity Block
3389
+ * can have one of the following tenancy settings:</p>
3390
+ * <ul>
3391
+ * <li>
3392
+ * <p>
3393
+ * <code>default</code> - The Capacity Block is created on hardware that is
3394
+ * shared with other Amazon Web Services accounts.</p>
3395
+ * </li>
3396
+ * <li>
3397
+ * <p>
3398
+ * <code>dedicated</code> - The Capacity Block is created on single-tenant
3399
+ * hardware that is dedicated to a single Amazon Web Services account.</p>
3400
+ * </li>
3401
+ * </ul>
3331
3402
  * @public
3332
3403
  */
3333
- CapacityReservationBillingRequests?: CapacityReservationBillingRequest[] | undefined;
3404
+ Tenancy?: CapacityReservationTenancy | undefined;
3334
3405
  }
3335
3406
  /**
3336
3407
  * @public
3337
3408
  */
3338
- export interface DescribeCapacityReservationFleetsRequest {
3409
+ export interface DescribeCapacityBlockExtensionOfferingsResult {
3339
3410
  /**
3340
- * <p>The IDs of the Capacity Reservation Fleets to describe.</p>
3411
+ * <p>The recommended Capacity Block extension offerings for the dates specified.</p>
3341
3412
  * @public
3342
3413
  */
3343
- CapacityReservationFleetIds?: string[] | undefined;
3414
+ CapacityBlockExtensionOfferings?: CapacityBlockExtensionOffering[] | undefined;
3344
3415
  /**
3345
- * <p>The token to use to retrieve the next page of results.</p>
3416
+ * <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>
3346
3417
  * @public
3347
3418
  */
3348
3419
  NextToken?: string | undefined;
3420
+ }
3421
+ /**
3422
+ * @public
3423
+ */
3424
+ export interface DescribeCapacityBlockOfferingsRequest {
3349
3425
  /**
3350
- * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
3351
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3426
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3352
3427
  * @public
3353
3428
  */
3354
- MaxResults?: number | undefined;
3429
+ DryRun?: boolean | undefined;
3355
3430
  /**
3356
- * <p>One or more filters.</p>
3357
- * <ul>
3358
- * <li>
3359
- * <p>
3360
- * <code>state</code> - The state of the Fleet (<code>submitted</code> | <code>modifying</code> | <code>active</code> |
3361
- * <code>partially_fulfilled</code> | <code>expiring</code> | <code>expired</code> | <code>cancelling</code> |
3362
- * <code>cancelled</code> | <code>failed</code>).</p>
3363
- * </li>
3364
- * <li>
3365
- * <p>
3366
- * <code>instance-match-criteria</code> - The instance matching criteria for the Fleet. Only <code>open</code> is supported.</p>
3367
- * </li>
3368
- * <li>
3369
- * <p>
3370
- * <code>tenancy</code> - The tenancy of the Fleet (<code>default</code> | <code>dedicated</code>).</p>
3371
- * </li>
3372
- * <li>
3373
- * <p>
3374
- * <code>allocation-strategy</code> - The allocation strategy used by the Fleet. Only <code>prioritized</code> is supported.</p>
3375
- * </li>
3376
- * </ul>
3431
+ * <p>The type of instance for which the Capacity Block offering reserves capacity.</p>
3377
3432
  * @public
3378
3433
  */
3379
- Filters?: Filter[] | undefined;
3434
+ InstanceType?: string | undefined;
3380
3435
  /**
3381
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3436
+ * <p>The number of instances for which to reserve capacity.</p>
3382
3437
  * @public
3383
3438
  */
3384
- DryRun?: boolean | undefined;
3439
+ InstanceCount?: number | undefined;
3440
+ /**
3441
+ * <p>The earliest start date for the Capacity Block offering.</p>
3442
+ * @public
3443
+ */
3444
+ StartDateRange?: Date | undefined;
3445
+ /**
3446
+ * <p>The latest end date for the Capacity Block offering.</p>
3447
+ * @public
3448
+ */
3449
+ EndDateRange?: Date | undefined;
3450
+ /**
3451
+ * <p>The number of hours for which to reserve Capacity Block.</p>
3452
+ * @public
3453
+ */
3454
+ CapacityDurationHours: number | undefined;
3455
+ /**
3456
+ * <p>The token to use to retrieve the next page of results.</p>
3457
+ * @public
3458
+ */
3459
+ NextToken?: string | undefined;
3460
+ /**
3461
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
3462
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3463
+ * @public
3464
+ */
3465
+ MaxResults?: number | undefined;
3385
3466
  }
3386
3467
  /**
3387
- * <p>Information about a Capacity Reservation Fleet.</p>
3468
+ * <p>The recommended Capacity Block that fits your search requirements.</p>
3388
3469
  * @public
3389
3470
  */
3390
- export interface CapacityReservationFleet {
3391
- /**
3392
- * <p>The ID of the Capacity Reservation Fleet.</p>
3393
- * @public
3394
- */
3395
- CapacityReservationFleetId?: string | undefined;
3471
+ export interface CapacityBlockOffering {
3396
3472
  /**
3397
- * <p>The ARN of the Capacity Reservation Fleet.</p>
3473
+ * <p>The ID of the Capacity Block offering.</p>
3398
3474
  * @public
3399
3475
  */
3400
- CapacityReservationFleetArn?: string | undefined;
3476
+ CapacityBlockOfferingId?: string | undefined;
3401
3477
  /**
3402
- * <p>The state of the Capacity Reservation Fleet. Possible states include:</p>
3403
- * <ul>
3404
- * <li>
3405
- * <p>
3406
- * <code>submitted</code> - The Capacity Reservation Fleet request has been submitted
3407
- * and Amazon Elastic Compute Cloud is preparing to create the Capacity Reservations.</p>
3408
- * </li>
3409
- * <li>
3410
- * <p>
3411
- * <code>modifying</code> - The Capacity Reservation Fleet is being modified. The Fleet
3412
- * remains in this state until the modification is complete.</p>
3413
- * </li>
3414
- * <li>
3415
- * <p>
3416
- * <code>active</code> - The Capacity Reservation Fleet has fulfilled its total target
3417
- * capacity and it is attempting to maintain this capacity. The Fleet remains in this
3418
- * state until it is modified or deleted.</p>
3419
- * </li>
3420
- * <li>
3421
- * <p>
3422
- * <code>partially_fulfilled</code> - The Capacity Reservation Fleet has partially
3423
- * fulfilled its total target capacity. There is insufficient Amazon EC2 to
3424
- * fulfill the total target capacity. The Fleet is attempting to asynchronously fulfill
3425
- * its total target capacity.</p>
3426
- * </li>
3427
- * <li>
3428
- * <p>
3429
- * <code>expiring</code> - The Capacity Reservation Fleet has reach its end date and it
3430
- * is in the process of expiring. One or more of its Capacity reservations might still
3431
- * be active.</p>
3432
- * </li>
3433
- * <li>
3434
- * <p>
3435
- * <code>expired</code> - The Capacity Reservation Fleet has reach its end date. The Fleet
3436
- * and its Capacity Reservations are expired. The Fleet can't create new Capacity
3437
- * Reservations.</p>
3438
- * </li>
3439
- * <li>
3440
- * <p>
3441
- * <code>cancelling</code> - The Capacity Reservation Fleet is in the process of being
3442
- * cancelled. One or more of its Capacity reservations might still be active.</p>
3443
- * </li>
3444
- * <li>
3445
- * <p>
3446
- * <code>cancelled</code> - The Capacity Reservation Fleet has been manually cancelled.
3447
- * The Fleet and its Capacity Reservations are cancelled and the Fleet can't create new
3448
- * Capacity Reservations.</p>
3449
- * </li>
3450
- * <li>
3451
- * <p>
3452
- * <code>failed</code> - The Capacity Reservation Fleet failed to reserve capacity for
3453
- * the specified instance types.</p>
3454
- * </li>
3455
- * </ul>
3478
+ * <p>The instance type of the Capacity Block offering.</p>
3456
3479
  * @public
3457
3480
  */
3458
- State?: CapacityReservationFleetState | undefined;
3481
+ InstanceType?: string | undefined;
3459
3482
  /**
3460
- * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves
3461
- * capacity. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
3462
- * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
3483
+ * <p>The Availability Zone of the Capacity Block offering.</p>
3463
3484
  * @public
3464
3485
  */
3465
- TotalTargetCapacity?: number | undefined;
3486
+ AvailabilityZone?: string | undefined;
3466
3487
  /**
3467
- * <p>The capacity units that have been fulfilled.</p>
3488
+ * <p>The number of instances in the Capacity Block offering.</p>
3468
3489
  * @public
3469
3490
  */
3470
- TotalFulfilledCapacity?: number | undefined;
3491
+ InstanceCount?: number | undefined;
3471
3492
  /**
3472
- * <p>The tenancy of the Capacity Reservation Fleet. Tenancies include:</p>
3473
- * <ul>
3474
- * <li>
3475
- * <p>
3476
- * <code>default</code> - The Capacity Reservation Fleet is created on hardware that is
3477
- * shared with other Amazon Web Services accounts.</p>
3478
- * </li>
3479
- * <li>
3480
- * <p>
3481
- * <code>dedicated</code> - The Capacity Reservation Fleet is created on single-tenant
3482
- * hardware that is dedicated to a single Amazon Web Services account.</p>
3483
- * </li>
3484
- * </ul>
3493
+ * <p>The start date of the Capacity Block offering.</p>
3485
3494
  * @public
3486
3495
  */
3487
- Tenancy?: FleetCapacityReservationTenancy | undefined;
3496
+ StartDate?: Date | undefined;
3488
3497
  /**
3489
- * <p>The date and time at which the Capacity Reservation Fleet expires.</p>
3498
+ * <p>The end date of the Capacity Block offering.</p>
3490
3499
  * @public
3491
3500
  */
3492
3501
  EndDate?: Date | undefined;
3493
3502
  /**
3494
- * <p>The date and time at which the Capacity Reservation Fleet was created.</p>
3503
+ * <p>The number of hours (in addition to <code>capacityBlockDurationMinutes</code>) for the
3504
+ * duration of the Capacity Block reservation. For example, if a Capacity Block starts at
3505
+ * <b>04:55</b> and ends at <b>11:30</b>,
3506
+ * the hours field would be <b>6</b>.</p>
3495
3507
  * @public
3496
3508
  */
3497
- CreateTime?: Date | undefined;
3509
+ CapacityBlockDurationHours?: number | undefined;
3498
3510
  /**
3499
- * <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All
3500
- * Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
3501
- * <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching criteria
3502
- * only. This means that instances that have matching attributes (instance type, platform, and
3503
- * Availability Zone) run in the Capacity Reservations automatically. Instances do not need to
3504
- * explicitly target a Capacity Reservation Fleet to use its reserved capacity.</p>
3511
+ * <p>The total price to be paid up front.</p>
3505
3512
  * @public
3506
3513
  */
3507
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
3514
+ UpfrontFee?: string | undefined;
3508
3515
  /**
3509
- * <p>The strategy used by the Capacity Reservation Fleet to determine which of the specified
3510
- * instance types to use. For more information, see For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy">Allocation
3511
- * strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
3516
+ * <p>The currency of the payment for the Capacity Block.</p>
3512
3517
  * @public
3513
3518
  */
3514
- AllocationStrategy?: string | undefined;
3519
+ CurrencyCode?: string | undefined;
3515
3520
  /**
3516
- * <p>Information about the instance types for which to reserve the capacity.</p>
3521
+ * <p>The tenancy of the Capacity Block.</p>
3517
3522
  * @public
3518
3523
  */
3519
- InstanceTypeSpecifications?: FleetCapacityReservation[] | undefined;
3524
+ Tenancy?: CapacityReservationTenancy | undefined;
3520
3525
  /**
3521
- * <p>The tags assigned to the Capacity Reservation Fleet.</p>
3526
+ * <p>The number of minutes (in addition to <code>capacityBlockDurationHours</code>) for the
3527
+ * duration of the Capacity Block reservation. For example, if a Capacity Block starts at
3528
+ * <b>08:55</b> and ends at <b>11:30</b>,
3529
+ * the minutes field would be <b>35</b>.</p>
3522
3530
  * @public
3523
3531
  */
3524
- Tags?: Tag[] | undefined;
3532
+ CapacityBlockDurationMinutes?: number | undefined;
3525
3533
  }
3526
3534
  /**
3527
3535
  * @public
3528
3536
  */
3529
- export interface DescribeCapacityReservationFleetsResult {
3537
+ export interface DescribeCapacityBlockOfferingsResult {
3530
3538
  /**
3531
- * <p>Information about the Capacity Reservation Fleets.</p>
3539
+ * <p>The recommended Capacity Block offering for the dates specified.</p>
3532
3540
  * @public
3533
3541
  */
3534
- CapacityReservationFleets?: CapacityReservationFleet[] | undefined;
3542
+ CapacityBlockOfferings?: CapacityBlockOffering[] | undefined;
3535
3543
  /**
3536
3544
  * <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>
3537
3545
  * @public
3538
3546
  */
3539
3547
  NextToken?: string | undefined;
3540
3548
  }
3549
+ /**
3550
+ * @public
3551
+ * @enum
3552
+ */
3553
+ export declare const CallerRole: {
3554
+ readonly odcr_owner: "odcr-owner";
3555
+ readonly unused_reservation_billing_owner: "unused-reservation-billing-owner";
3556
+ };
3541
3557
  /**
3542
3558
  * @public
3543
3559
  */
3544
- export interface DescribeCapacityReservationsRequest {
3560
+ export type CallerRole = (typeof CallerRole)[keyof typeof CallerRole];
3561
+ /**
3562
+ * @public
3563
+ */
3564
+ export interface DescribeCapacityReservationBillingRequestsRequest {
3545
3565
  /**
3546
3566
  * <p>The ID of the Capacity Reservation.</p>
3547
3567
  * @public
3548
3568
  */
3549
3569
  CapacityReservationIds?: string[] | undefined;
3570
+ /**
3571
+ * <p>Specify one of the following:</p>
3572
+ * <ul>
3573
+ * <li>
3574
+ * <p>
3575
+ * <code>odcr-owner</code> - If you are the Capacity Reservation owner, specify
3576
+ * this value to view requests that you have initiated. Not supported with the
3577
+ * <code>requested-by</code> filter.</p>
3578
+ * </li>
3579
+ * <li>
3580
+ * <p>
3581
+ * <code>unused-reservation-billing-owner</code> - If you are the consumer
3582
+ * account, specify this value to view requests that have been sent to you. Not
3583
+ * supported with the <code>unused-reservation-billing-owner</code> filter.</p>
3584
+ * </li>
3585
+ * </ul>
3586
+ * @public
3587
+ */
3588
+ Role: CallerRole | undefined;
3550
3589
  /**
3551
3590
  * <p>The token to use to retrieve the next page of results.</p>
3552
3591
  * @public
@@ -3563,113 +3602,21 @@ export interface DescribeCapacityReservationsRequest {
3563
3602
  * <ul>
3564
3603
  * <li>
3565
3604
  * <p>
3566
- * <code>instance-type</code> - The type of instance for which the Capacity Reservation reserves capacity.</p>
3567
- * </li>
3568
- * <li>
3569
- * <p>
3570
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the Capacity Reservation.</p>
3571
- * </li>
3572
- * <li>
3573
- * <p>
3574
- * <code>instance-platform</code> - The type of operating system for which the Capacity Reservation reserves capacity.</p>
3575
- * </li>
3576
- * <li>
3577
- * <p>
3578
- * <code>availability-zone</code> - The Availability Zone of the Capacity Reservation.</p>
3579
- * </li>
3580
- * <li>
3581
- * <p>
3582
- * <code>tenancy</code> - Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the
3583
- * following tenancy settings:</p>
3584
- * <ul>
3585
- * <li>
3586
- * <p>
3587
- * <code>default</code> - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts.</p>
3588
- * </li>
3589
- * <li>
3590
- * <p>
3591
- * <code>dedicated</code> - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
3592
- * </li>
3593
- * </ul>
3594
- * </li>
3595
- * <li>
3596
- * <p>
3597
- * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created.</p>
3598
- * </li>
3599
- * <li>
3600
- * <p>
3601
- * <code>state</code> - The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:</p>
3602
- * <ul>
3603
- * <li>
3604
- * <p>
3605
- * <code>active</code>- The Capacity Reservation is active and the capacity is available for your use.</p>
3606
- * </li>
3607
- * <li>
3608
- * <p>
3609
- * <code>expired</code> - The Capacity Reservation expired automatically at the date and time specified in your request.
3610
- * The reserved capacity is no longer available for your use.</p>
3611
- * </li>
3612
- * <li>
3613
- * <p>
3614
- * <code>cancelled</code> - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.</p>
3615
- * </li>
3616
- * <li>
3617
- * <p>
3618
- * <code>pending</code> - The Capacity Reservation request was successful but the capacity provisioning is still pending.</p>
3619
- * </li>
3620
- * <li>
3621
- * <p>
3622
- * <code>failed</code> - The Capacity Reservation request has failed. A request might fail due to invalid request parameters,
3623
- * capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.</p>
3624
- * </li>
3625
- * </ul>
3626
- * </li>
3627
- * <li>
3628
- * <p>
3629
- * <code>start-date</code> - The date and time at which the Capacity Reservation was started.</p>
3605
+ * <code>status</code> - The state of the request (<code>pending</code> |
3606
+ * <code>accepted</code> | <code>rejected</code> | <code>cancelled</code> |
3607
+ * <code>revoked</code> | <code>expired</code>).</p>
3630
3608
  * </li>
3631
3609
  * <li>
3632
3610
  * <p>
3633
- * <code>end-date</code> - The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is
3634
- * released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.</p>
3611
+ * <code>requested-by</code> - The account ID of the Capacity Reservation owner
3612
+ * that initiated the request. Not supported if you specify
3613
+ * <code>requested-by</code> for <b>Role</b>.</p>
3635
3614
  * </li>
3636
3615
  * <li>
3637
3616
  * <p>
3638
- * <code>end-date-type</code> - Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:</p>
3639
- * <ul>
3640
- * <li>
3641
- * <p>
3642
- * <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it.</p>
3643
- * </li>
3644
- * <li>
3645
- * <p>
3646
- * <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time.</p>
3647
- * </li>
3648
- * </ul>
3649
- * </li>
3650
- * <li>
3651
- * <p>
3652
- * <code>instance-match-criteria</code> - Indicates the type of instance launches that the Capacity Reservation accepts. The options include:</p>
3653
- * <ul>
3654
- * <li>
3655
- * <p>
3656
- * <code>open</code> - The Capacity Reservation accepts all instances that have matching
3657
- * attributes (instance type, platform, and Availability Zone). Instances
3658
- * that have matching attributes launch into the Capacity Reservation
3659
- * automatically without specifying any additional parameters.</p>
3660
- * </li>
3661
- * <li>
3662
- * <p>
3663
- * <code>targeted</code> - The Capacity Reservation only accepts instances that have matching
3664
- * attributes (instance type, platform, and Availability Zone), and
3665
- * explicitly target the Capacity Reservation. This ensures that only
3666
- * permitted instances can use the reserved capacity.</p>
3667
- * </li>
3668
- * </ul>
3669
- * </li>
3670
- * <li>
3671
- * <p>
3672
- * <code>placement-group-arn</code> - The ARN of the cluster placement group in which the Capacity Reservation was created.</p>
3617
+ * <code>unused-reservation-billing-owner</code> - The ID of the consumer account
3618
+ * to which the request was sent. Not supported if you specify
3619
+ * <code>unused-reservation-billing-owner</code> for <b>Role</b>.</p>
3673
3620
  * </li>
3674
3621
  * </ul>
3675
3622
  * @public
@@ -3682,454 +3629,671 @@ export interface DescribeCapacityReservationsRequest {
3682
3629
  DryRun?: boolean | undefined;
3683
3630
  }
3684
3631
  /**
3632
+ * <p>Information about a Capacity Reservation.</p>
3685
3633
  * @public
3686
3634
  */
3687
- export interface DescribeCapacityReservationsResult {
3635
+ export interface CapacityReservationInfo {
3688
3636
  /**
3689
- * <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>
3637
+ * <p>The instance type for the Capacity Reservation.</p>
3690
3638
  * @public
3691
3639
  */
3692
- NextToken?: string | undefined;
3640
+ InstanceType?: string | undefined;
3693
3641
  /**
3694
- * <p>Information about the Capacity Reservations.</p>
3642
+ * <p>The Availability Zone for the Capacity Reservation.</p>
3695
3643
  * @public
3696
3644
  */
3697
- CapacityReservations?: CapacityReservation[] | undefined;
3645
+ AvailabilityZone?: string | undefined;
3646
+ /**
3647
+ * <p>The tenancy of the Capacity Reservation.</p>
3648
+ * @public
3649
+ */
3650
+ Tenancy?: CapacityReservationTenancy | undefined;
3698
3651
  }
3699
3652
  /**
3700
3653
  * @public
3654
+ * @enum
3701
3655
  */
3702
- export interface DescribeCarrierGatewaysRequest {
3656
+ export declare const CapacityReservationBillingRequestStatus: {
3657
+ readonly accepted: "accepted";
3658
+ readonly cancelled: "cancelled";
3659
+ readonly expired: "expired";
3660
+ readonly pending: "pending";
3661
+ readonly rejected: "rejected";
3662
+ readonly revoked: "revoked";
3663
+ };
3664
+ /**
3665
+ * @public
3666
+ */
3667
+ export type CapacityReservationBillingRequestStatus = (typeof CapacityReservationBillingRequestStatus)[keyof typeof CapacityReservationBillingRequestStatus];
3668
+ /**
3669
+ * <p>Information about a request to assign billing of the unused capacity of a Capacity
3670
+ * Reservation.</p>
3671
+ * @public
3672
+ */
3673
+ export interface CapacityReservationBillingRequest {
3703
3674
  /**
3704
- * <p>One or more carrier gateway IDs.</p>
3675
+ * <p>The ID of the Capacity Reservation.</p>
3705
3676
  * @public
3706
3677
  */
3707
- CarrierGatewayIds?: string[] | undefined;
3678
+ CapacityReservationId?: string | undefined;
3708
3679
  /**
3709
- * <p>One or more filters.</p>
3710
- * <ul>
3711
- * <li>
3712
- * <p>
3713
- * <code>carrier-gateway-id</code> - The ID of the carrier gateway.</p>
3714
- * </li>
3715
- * <li>
3716
- * <p>
3717
- * <code>state</code> - The state of the carrier gateway (<code>pending</code> |
3718
- * <code>failed</code> | <code>available</code> | <code>deleting</code> | <code>deleted</code>).</p>
3719
- * </li>
3720
- * <li>
3721
- * <p>
3722
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner of the carrier gateway.</p>
3723
- * </li>
3724
- * <li>
3725
- * <p>
3726
- * <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.
3727
- * 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>
3728
- * </li>
3729
- * <li>
3730
- * <p>
3731
- * <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>
3732
- * </li>
3733
- * <li>
3734
- * <p>
3735
- * <code>vpc-id</code> - The ID of the VPC associated with the carrier gateway.</p>
3736
- * </li>
3737
- * </ul>
3680
+ * <p>The ID of the Amazon Web Services account that initiated the request.</p>
3738
3681
  * @public
3739
3682
  */
3740
- Filters?: Filter[] | undefined;
3683
+ RequestedBy?: string | undefined;
3741
3684
  /**
3742
- * <p>The maximum number of results to return with a single call.
3743
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3685
+ * <p>The ID of the Amazon Web Services account to which the request was sent.</p>
3744
3686
  * @public
3745
3687
  */
3746
- MaxResults?: number | undefined;
3688
+ UnusedReservationBillingOwnerId?: string | undefined;
3747
3689
  /**
3748
- * <p>The token for the next page of results.</p>
3690
+ * <p>The date and time, in UTC time format, at which the request was initiated.</p>
3749
3691
  * @public
3750
3692
  */
3751
- NextToken?: string | undefined;
3693
+ LastUpdateTime?: Date | undefined;
3752
3694
  /**
3753
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3754
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3755
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3695
+ * <p>The status of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-billing-transfers.html"> View billing assignment
3696
+ * requests for a shared Amazon EC2 Capacity Reservation</a>.</p>
3756
3697
  * @public
3757
3698
  */
3758
- DryRun?: boolean | undefined;
3699
+ Status?: CapacityReservationBillingRequestStatus | undefined;
3700
+ /**
3701
+ * <p>Information about the status.</p>
3702
+ * @public
3703
+ */
3704
+ StatusMessage?: string | undefined;
3705
+ /**
3706
+ * <p>Information about the Capacity Reservation.</p>
3707
+ * @public
3708
+ */
3709
+ CapacityReservationInfo?: CapacityReservationInfo | undefined;
3759
3710
  }
3760
3711
  /**
3761
3712
  * @public
3762
3713
  */
3763
- export interface DescribeCarrierGatewaysResult {
3714
+ export interface DescribeCapacityReservationBillingRequestsResult {
3764
3715
  /**
3765
- * <p>Information about the carrier gateway.</p>
3716
+ * <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>
3766
3717
  * @public
3767
3718
  */
3768
- CarrierGateways?: CarrierGateway[] | undefined;
3719
+ NextToken?: string | undefined;
3769
3720
  /**
3770
- * <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>
3721
+ * <p>Information about the request.</p>
3771
3722
  * @public
3772
3723
  */
3773
- NextToken?: string | undefined;
3724
+ CapacityReservationBillingRequests?: CapacityReservationBillingRequest[] | undefined;
3774
3725
  }
3775
3726
  /**
3776
3727
  * @public
3777
3728
  */
3778
- export interface DescribeClassicLinkInstancesRequest {
3729
+ export interface DescribeCapacityReservationFleetsRequest {
3779
3730
  /**
3780
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3781
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3782
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3731
+ * <p>The IDs of the Capacity Reservation Fleets to describe.</p>
3783
3732
  * @public
3784
3733
  */
3785
- DryRun?: boolean | undefined;
3734
+ CapacityReservationFleetIds?: string[] | undefined;
3786
3735
  /**
3787
- * <p>The instance IDs. Must be instances linked to a VPC through ClassicLink.</p>
3736
+ * <p>The token to use to retrieve the next page of results.</p>
3788
3737
  * @public
3789
3738
  */
3790
- InstanceIds?: string[] | undefined;
3739
+ NextToken?: string | undefined;
3791
3740
  /**
3792
- * <p>The filters.</p>
3741
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
3742
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3743
+ * @public
3744
+ */
3745
+ MaxResults?: number | undefined;
3746
+ /**
3747
+ * <p>One or more filters.</p>
3793
3748
  * <ul>
3794
3749
  * <li>
3795
3750
  * <p>
3796
- * <code>group-id</code> - The ID of a VPC security group that's associated with the instance.</p>
3797
- * </li>
3798
- * <li>
3799
- * <p>
3800
- * <code>instance-id</code> - The ID of the instance.</p>
3751
+ * <code>state</code> - The state of the Fleet (<code>submitted</code> |
3752
+ * <code>modifying</code> | <code>active</code> |
3753
+ * <code>partially_fulfilled</code> | <code>expiring</code> |
3754
+ * <code>expired</code> | <code>cancelling</code> | <code>cancelled</code> |
3755
+ * <code>failed</code>).</p>
3801
3756
  * </li>
3802
3757
  * <li>
3803
3758
  * <p>
3804
- * <code>tag</code> - 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.
3805
- * 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>
3759
+ * <code>instance-match-criteria</code> - The instance matching criteria for the
3760
+ * Fleet. Only <code>open</code> is supported.</p>
3806
3761
  * </li>
3807
3762
  * <li>
3808
3763
  * <p>
3809
- * <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>
3764
+ * <code>tenancy</code> - The tenancy of the Fleet (<code>default</code> |
3765
+ * <code>dedicated</code>).</p>
3810
3766
  * </li>
3811
3767
  * <li>
3812
3768
  * <p>
3813
- * <code>vpc-id</code> - The ID of the VPC to which the instance is linked.</p>
3769
+ * <code>allocation-strategy</code> - The allocation strategy used by the Fleet.
3770
+ * Only <code>prioritized</code> is supported.</p>
3814
3771
  * </li>
3815
3772
  * </ul>
3816
3773
  * @public
3817
3774
  */
3818
3775
  Filters?: Filter[] | undefined;
3819
3776
  /**
3820
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
3821
- * @public
3822
- */
3823
- NextToken?: string | undefined;
3824
- /**
3825
- * <p>The maximum number of items to return for this request.
3826
- * To get the next page of items, make another request with the token returned in the output.
3827
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3828
- * <p>Constraint: If the value is greater than 1000, we return only 1000 items.</p>
3777
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3829
3778
  * @public
3830
3779
  */
3831
- MaxResults?: number | undefined;
3780
+ DryRun?: boolean | undefined;
3832
3781
  }
3833
3782
  /**
3834
- * <note>
3835
- * <p>Deprecated.</p>
3836
- * </note>
3837
- * <p>Describes a linked EC2-Classic instance.</p>
3783
+ * <p>Information about a Capacity Reservation Fleet.</p>
3838
3784
  * @public
3839
3785
  */
3840
- export interface ClassicLinkInstance {
3786
+ export interface CapacityReservationFleet {
3841
3787
  /**
3842
- * <p>The security groups.</p>
3788
+ * <p>The ID of the Capacity Reservation Fleet.</p>
3843
3789
  * @public
3844
3790
  */
3845
- Groups?: GroupIdentifier[] | undefined;
3791
+ CapacityReservationFleetId?: string | undefined;
3846
3792
  /**
3847
- * <p>The ID of the instance.</p>
3793
+ * <p>The ARN of the Capacity Reservation Fleet.</p>
3848
3794
  * @public
3849
3795
  */
3850
- InstanceId?: string | undefined;
3796
+ CapacityReservationFleetArn?: string | undefined;
3851
3797
  /**
3852
- * <p>Any tags assigned to the instance.</p>
3798
+ * <p>The state of the Capacity Reservation Fleet. Possible states include:</p>
3799
+ * <ul>
3800
+ * <li>
3801
+ * <p>
3802
+ * <code>submitted</code> - The Capacity Reservation Fleet request has been
3803
+ * submitted and Amazon Elastic Compute Cloud is preparing to create the Capacity
3804
+ * Reservations.</p>
3805
+ * </li>
3806
+ * <li>
3807
+ * <p>
3808
+ * <code>modifying</code> - The Capacity Reservation Fleet is being modified. The
3809
+ * Fleet remains in this state until the modification is complete.</p>
3810
+ * </li>
3811
+ * <li>
3812
+ * <p>
3813
+ * <code>active</code> - The Capacity Reservation Fleet has fulfilled its total
3814
+ * target capacity and it is attempting to maintain this capacity. The Fleet
3815
+ * remains in this state until it is modified or deleted.</p>
3816
+ * </li>
3817
+ * <li>
3818
+ * <p>
3819
+ * <code>partially_fulfilled</code> - The Capacity Reservation Fleet has
3820
+ * partially fulfilled its total target capacity. There is insufficient Amazon EC2 to fulfill the total target capacity. The Fleet is attempting to
3821
+ * asynchronously fulfill its total target capacity.</p>
3822
+ * </li>
3823
+ * <li>
3824
+ * <p>
3825
+ * <code>expiring</code> - The Capacity Reservation Fleet has reach its end date
3826
+ * and it is in the process of expiring. One or more of its Capacity reservations
3827
+ * might still be active.</p>
3828
+ * </li>
3829
+ * <li>
3830
+ * <p>
3831
+ * <code>expired</code> - The Capacity Reservation Fleet has reach its end date.
3832
+ * The Fleet and its Capacity Reservations are expired. The Fleet can't create new
3833
+ * Capacity Reservations.</p>
3834
+ * </li>
3835
+ * <li>
3836
+ * <p>
3837
+ * <code>cancelling</code> - The Capacity Reservation Fleet is in the process of
3838
+ * being cancelled. One or more of its Capacity reservations might still be
3839
+ * active.</p>
3840
+ * </li>
3841
+ * <li>
3842
+ * <p>
3843
+ * <code>cancelled</code> - The Capacity Reservation Fleet has been manually
3844
+ * cancelled. The Fleet and its Capacity Reservations are cancelled and the Fleet
3845
+ * can't create new Capacity Reservations.</p>
3846
+ * </li>
3847
+ * <li>
3848
+ * <p>
3849
+ * <code>failed</code> - The Capacity Reservation Fleet failed to reserve
3850
+ * capacity for the specified instance types.</p>
3851
+ * </li>
3852
+ * </ul>
3853
3853
  * @public
3854
3854
  */
3855
- Tags?: Tag[] | undefined;
3855
+ State?: CapacityReservationFleetState | undefined;
3856
3856
  /**
3857
- * <p>The ID of the VPC.</p>
3857
+ * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves
3858
+ * capacity. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
3859
+ * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
3858
3860
  * @public
3859
3861
  */
3860
- VpcId?: string | undefined;
3861
- }
3862
- /**
3863
- * @public
3864
- */
3865
- export interface DescribeClassicLinkInstancesResult {
3862
+ TotalTargetCapacity?: number | undefined;
3866
3863
  /**
3867
- * <p>Information about one or more linked EC2-Classic instances.</p>
3864
+ * <p>The capacity units that have been fulfilled.</p>
3868
3865
  * @public
3869
3866
  */
3870
- Instances?: ClassicLinkInstance[] | undefined;
3867
+ TotalFulfilledCapacity?: number | undefined;
3871
3868
  /**
3872
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
3869
+ * <p>The tenancy of the Capacity Reservation Fleet. Tenancies include:</p>
3870
+ * <ul>
3871
+ * <li>
3872
+ * <p>
3873
+ * <code>default</code> - The Capacity Reservation Fleet is created on hardware
3874
+ * that is shared with other Amazon Web Services accounts.</p>
3875
+ * </li>
3876
+ * <li>
3877
+ * <p>
3878
+ * <code>dedicated</code> - The Capacity Reservation Fleet is created on
3879
+ * single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
3880
+ * </li>
3881
+ * </ul>
3873
3882
  * @public
3874
3883
  */
3875
- NextToken?: string | undefined;
3876
- }
3877
- /**
3878
- * @public
3879
- */
3880
- export interface DescribeClientVpnAuthorizationRulesRequest {
3884
+ Tenancy?: FleetCapacityReservationTenancy | undefined;
3881
3885
  /**
3882
- * <p>The ID of the Client VPN endpoint.</p>
3886
+ * <p>The date and time at which the Capacity Reservation Fleet expires.</p>
3883
3887
  * @public
3884
3888
  */
3885
- ClientVpnEndpointId: string | undefined;
3889
+ EndDate?: Date | undefined;
3886
3890
  /**
3887
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3891
+ * <p>The date and time at which the Capacity Reservation Fleet was created.</p>
3888
3892
  * @public
3889
3893
  */
3890
- DryRun?: boolean | undefined;
3894
+ CreateTime?: Date | undefined;
3891
3895
  /**
3892
- * <p>The token to retrieve the next page of results.</p>
3896
+ * <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts.
3897
+ * All Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
3898
+ * <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching
3899
+ * criteria only. This means that instances that have matching attributes (instance type,
3900
+ * platform, and Availability Zone) run in the Capacity Reservations automatically.
3901
+ * Instances do not need to explicitly target a Capacity Reservation Fleet to use its
3902
+ * reserved capacity.</p>
3893
3903
  * @public
3894
3904
  */
3895
- NextToken?: string | undefined;
3905
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
3896
3906
  /**
3897
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
3898
- * <ul>
3899
- * <li>
3900
- * <p>
3901
- * <code>description</code> - The description of the authorization rule.</p>
3902
- * </li>
3903
- * <li>
3904
- * <p>
3905
- * <code>destination-cidr</code> - The CIDR of the network to which the authorization rule
3906
- * applies.</p>
3907
- * </li>
3908
- * <li>
3909
- * <p>
3910
- * <code>group-id</code> - The ID of the Active Directory group to which the authorization rule grants access.</p>
3911
- * </li>
3912
- * </ul>
3907
+ * <p>The strategy used by the Capacity Reservation Fleet to determine which of the
3908
+ * specified instance types to use. For more information, see For more information, see
3909
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy">Allocation
3910
+ * strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
3913
3911
  * @public
3914
3912
  */
3915
- Filters?: Filter[] | undefined;
3913
+ AllocationStrategy?: string | undefined;
3916
3914
  /**
3917
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
3915
+ * <p>Information about the instance types for which to reserve the capacity.</p>
3918
3916
  * @public
3919
3917
  */
3920
- MaxResults?: number | undefined;
3918
+ InstanceTypeSpecifications?: FleetCapacityReservation[] | undefined;
3919
+ /**
3920
+ * <p>The tags assigned to the Capacity Reservation Fleet.</p>
3921
+ * @public
3922
+ */
3923
+ Tags?: Tag[] | undefined;
3921
3924
  }
3922
3925
  /**
3923
- * <p>Information about an authorization rule.</p>
3924
3926
  * @public
3925
3927
  */
3926
- export interface AuthorizationRule {
3928
+ export interface DescribeCapacityReservationFleetsResult {
3927
3929
  /**
3928
- * <p>The ID of the Client VPN endpoint with which the authorization rule is associated.</p>
3930
+ * <p>Information about the Capacity Reservation Fleets.</p>
3929
3931
  * @public
3930
3932
  */
3931
- ClientVpnEndpointId?: string | undefined;
3933
+ CapacityReservationFleets?: CapacityReservationFleet[] | undefined;
3932
3934
  /**
3933
- * <p>A brief description of the authorization rule.</p>
3935
+ * <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>
3934
3936
  * @public
3935
3937
  */
3936
- Description?: string | undefined;
3938
+ NextToken?: string | undefined;
3939
+ }
3940
+ /**
3941
+ * @public
3942
+ */
3943
+ export interface DescribeCapacityReservationsRequest {
3937
3944
  /**
3938
- * <p>The ID of the Active Directory group to which the authorization rule grants access.</p>
3945
+ * <p>The ID of the Capacity Reservation.</p>
3939
3946
  * @public
3940
3947
  */
3941
- GroupId?: string | undefined;
3948
+ CapacityReservationIds?: string[] | undefined;
3942
3949
  /**
3943
- * <p>Indicates whether the authorization rule grants access to all clients.</p>
3950
+ * <p>The token to use to retrieve the next page of results.</p>
3944
3951
  * @public
3945
3952
  */
3946
- AccessAll?: boolean | undefined;
3953
+ NextToken?: string | undefined;
3947
3954
  /**
3948
- * <p>The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.</p>
3955
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
3956
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3949
3957
  * @public
3950
3958
  */
3951
- DestinationCidr?: string | undefined;
3959
+ MaxResults?: number | undefined;
3952
3960
  /**
3953
- * <p>The current state of the authorization rule.</p>
3961
+ * <p>One or more filters.</p>
3962
+ * <ul>
3963
+ * <li>
3964
+ * <p>
3965
+ * <code>instance-type</code> - The type of instance for which the Capacity
3966
+ * Reservation reserves capacity.</p>
3967
+ * </li>
3968
+ * <li>
3969
+ * <p>
3970
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
3971
+ * Capacity Reservation.</p>
3972
+ * </li>
3973
+ * <li>
3974
+ * <p>
3975
+ * <code>instance-platform</code> - The type of operating system for which the
3976
+ * Capacity Reservation reserves capacity.</p>
3977
+ * </li>
3978
+ * <li>
3979
+ * <p>
3980
+ * <code>availability-zone</code> - The Availability Zone of the Capacity
3981
+ * Reservation.</p>
3982
+ * </li>
3983
+ * <li>
3984
+ * <p>
3985
+ * <code>tenancy</code> - Indicates the tenancy of the Capacity Reservation. A
3986
+ * Capacity Reservation can have one of the following tenancy settings:</p>
3987
+ * <ul>
3988
+ * <li>
3989
+ * <p>
3990
+ * <code>default</code> - The Capacity Reservation is created on hardware
3991
+ * that is shared with other Amazon Web Services accounts.</p>
3992
+ * </li>
3993
+ * <li>
3994
+ * <p>
3995
+ * <code>dedicated</code> - The Capacity Reservation is created on
3996
+ * single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
3997
+ * </li>
3998
+ * </ul>
3999
+ * </li>
4000
+ * <li>
4001
+ * <p>
4002
+ * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost on
4003
+ * which the Capacity Reservation was created.</p>
4004
+ * </li>
4005
+ * <li>
4006
+ * <p>
4007
+ * <code>state</code> - The current state of the Capacity Reservation. A Capacity
4008
+ * Reservation can be in one of the following states:</p>
4009
+ * <ul>
4010
+ * <li>
4011
+ * <p>
4012
+ * <code>active</code>- The Capacity Reservation is active and the
4013
+ * capacity is available for your use.</p>
4014
+ * </li>
4015
+ * <li>
4016
+ * <p>
4017
+ * <code>expired</code> - The Capacity Reservation expired automatically
4018
+ * at the date and time specified in your request. The reserved capacity is
4019
+ * no longer available for your use.</p>
4020
+ * </li>
4021
+ * <li>
4022
+ * <p>
4023
+ * <code>cancelled</code> - The Capacity Reservation was cancelled. The
4024
+ * reserved capacity is no longer available for your use.</p>
4025
+ * </li>
4026
+ * <li>
4027
+ * <p>
4028
+ * <code>pending</code> - The Capacity Reservation request was successful
4029
+ * but the capacity provisioning is still pending.</p>
4030
+ * </li>
4031
+ * <li>
4032
+ * <p>
4033
+ * <code>failed</code> - The Capacity Reservation request has failed. A
4034
+ * request might fail due to invalid request parameters, capacity
4035
+ * constraints, or instance limit constraints. Failed requests are retained
4036
+ * for 60 minutes.</p>
4037
+ * </li>
4038
+ * </ul>
4039
+ * </li>
4040
+ * <li>
4041
+ * <p>
4042
+ * <code>start-date</code> - The date and time at which the Capacity Reservation
4043
+ * was started.</p>
4044
+ * </li>
4045
+ * <li>
4046
+ * <p>
4047
+ * <code>end-date</code> - The date and time at which the Capacity Reservation
4048
+ * expires. When a Capacity Reservation expires, the reserved capacity is released
4049
+ * and you can no longer launch instances into it. The Capacity Reservation's state
4050
+ * changes to expired when it reaches its end date and time.</p>
4051
+ * </li>
4052
+ * <li>
4053
+ * <p>
4054
+ * <code>end-date-type</code> - Indicates the way in which the Capacity
4055
+ * Reservation ends. A Capacity Reservation can have one of the following end
4056
+ * types:</p>
4057
+ * <ul>
4058
+ * <li>
4059
+ * <p>
4060
+ * <code>unlimited</code> - The Capacity Reservation remains active until
4061
+ * you explicitly cancel it.</p>
4062
+ * </li>
4063
+ * <li>
4064
+ * <p>
4065
+ * <code>limited</code> - The Capacity Reservation expires automatically
4066
+ * at a specified date and time.</p>
4067
+ * </li>
4068
+ * </ul>
4069
+ * </li>
4070
+ * <li>
4071
+ * <p>
4072
+ * <code>instance-match-criteria</code> - Indicates the type of instance launches
4073
+ * that the Capacity Reservation accepts. The options include:</p>
4074
+ * <ul>
4075
+ * <li>
4076
+ * <p>
4077
+ * <code>open</code> - The Capacity Reservation accepts all instances
4078
+ * that have matching attributes (instance type, platform, and Availability
4079
+ * Zone). Instances that have matching attributes launch into the Capacity
4080
+ * Reservation automatically without specifying any additional
4081
+ * parameters.</p>
4082
+ * </li>
4083
+ * <li>
4084
+ * <p>
4085
+ * <code>targeted</code> - The Capacity Reservation only accepts
4086
+ * instances that have matching attributes (instance type, platform, and
4087
+ * Availability Zone), and explicitly target the Capacity Reservation. This
4088
+ * ensures that only permitted instances can use the reserved
4089
+ * capacity.</p>
4090
+ * </li>
4091
+ * </ul>
4092
+ * </li>
4093
+ * <li>
4094
+ * <p>
4095
+ * <code>placement-group-arn</code> - The ARN of the cluster placement group in
4096
+ * which the Capacity Reservation was created.</p>
4097
+ * </li>
4098
+ * </ul>
3954
4099
  * @public
3955
4100
  */
3956
- Status?: ClientVpnAuthorizationRuleStatus | undefined;
4101
+ Filters?: Filter[] | undefined;
4102
+ /**
4103
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4104
+ * @public
4105
+ */
4106
+ DryRun?: boolean | undefined;
3957
4107
  }
3958
4108
  /**
3959
4109
  * @public
3960
4110
  */
3961
- export interface DescribeClientVpnAuthorizationRulesResult {
4111
+ export interface DescribeCapacityReservationsResult {
3962
4112
  /**
3963
- * <p>Information about the authorization rules.</p>
4113
+ * <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>
3964
4114
  * @public
3965
4115
  */
3966
- AuthorizationRules?: AuthorizationRule[] | undefined;
4116
+ NextToken?: string | undefined;
3967
4117
  /**
3968
- * <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>
4118
+ * <p>Information about the Capacity Reservations.</p>
3969
4119
  * @public
3970
4120
  */
3971
- NextToken?: string | undefined;
4121
+ CapacityReservations?: CapacityReservation[] | undefined;
3972
4122
  }
3973
4123
  /**
3974
4124
  * @public
3975
4125
  */
3976
- export interface DescribeClientVpnConnectionsRequest {
4126
+ export interface DescribeCarrierGatewaysRequest {
3977
4127
  /**
3978
- * <p>The ID of the Client VPN endpoint.</p>
4128
+ * <p>One or more carrier gateway IDs.</p>
3979
4129
  * @public
3980
4130
  */
3981
- ClientVpnEndpointId: string | undefined;
4131
+ CarrierGatewayIds?: string[] | undefined;
3982
4132
  /**
3983
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
4133
+ * <p>One or more filters.</p>
3984
4134
  * <ul>
3985
4135
  * <li>
3986
4136
  * <p>
3987
- * <code>connection-id</code> - The ID of the connection.</p>
4137
+ * <code>carrier-gateway-id</code> - The ID of the carrier gateway.</p>
3988
4138
  * </li>
3989
4139
  * <li>
3990
4140
  * <p>
3991
- * <code>username</code> - For Active Directory client authentication, the user name of the
3992
- * client who established the client connection.</p>
4141
+ * <code>state</code> - The state of the carrier gateway (<code>pending</code> |
4142
+ * <code>failed</code> | <code>available</code> | <code>deleting</code> | <code>deleted</code>).</p>
4143
+ * </li>
4144
+ * <li>
4145
+ * <p>
4146
+ * <code>owner-id</code> - The Amazon Web Services account ID of the owner of the carrier gateway.</p>
4147
+ * </li>
4148
+ * <li>
4149
+ * <p>
4150
+ * <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.
4151
+ * 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>
4152
+ * </li>
4153
+ * <li>
4154
+ * <p>
4155
+ * <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>
4156
+ * </li>
4157
+ * <li>
4158
+ * <p>
4159
+ * <code>vpc-id</code> - The ID of the VPC associated with the carrier gateway.</p>
3993
4160
  * </li>
3994
4161
  * </ul>
3995
4162
  * @public
3996
4163
  */
3997
4164
  Filters?: Filter[] | undefined;
3998
4165
  /**
3999
- * <p>The token to retrieve the next page of results.</p>
4166
+ * <p>The maximum number of results to return with a single call.
4167
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
4000
4168
  * @public
4001
4169
  */
4002
- NextToken?: string | undefined;
4170
+ MaxResults?: number | undefined;
4003
4171
  /**
4004
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4172
+ * <p>The token for the next page of results.</p>
4005
4173
  * @public
4006
4174
  */
4007
- MaxResults?: number | undefined;
4175
+ NextToken?: string | undefined;
4008
4176
  /**
4009
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4177
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4178
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4179
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4010
4180
  * @public
4011
4181
  */
4012
4182
  DryRun?: boolean | undefined;
4013
4183
  }
4014
4184
  /**
4015
- * @public
4016
- * @enum
4017
- */
4018
- export declare const ClientVpnConnectionStatusCode: {
4019
- readonly active: "active";
4020
- readonly failed_to_terminate: "failed-to-terminate";
4021
- readonly terminated: "terminated";
4022
- readonly terminating: "terminating";
4023
- };
4024
- /**
4025
- * @public
4026
- */
4027
- export type ClientVpnConnectionStatusCode = (typeof ClientVpnConnectionStatusCode)[keyof typeof ClientVpnConnectionStatusCode];
4028
- /**
4029
- * <p>Describes the status of a client connection.</p>
4030
4185
  * @public
4031
4186
  */
4032
- export interface ClientVpnConnectionStatus {
4187
+ export interface DescribeCarrierGatewaysResult {
4033
4188
  /**
4034
- * <p>The state of the client connection.</p>
4189
+ * <p>Information about the carrier gateway.</p>
4035
4190
  * @public
4036
4191
  */
4037
- Code?: ClientVpnConnectionStatusCode | undefined;
4192
+ CarrierGateways?: CarrierGateway[] | undefined;
4038
4193
  /**
4039
- * <p>A message about the status of the client connection, if applicable.</p>
4194
+ * <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>
4040
4195
  * @public
4041
4196
  */
4042
- Message?: string | undefined;
4197
+ NextToken?: string | undefined;
4043
4198
  }
4044
4199
  /**
4045
- * <p>Describes a client connection.</p>
4046
4200
  * @public
4047
4201
  */
4048
- export interface ClientVpnConnection {
4049
- /**
4050
- * <p>The ID of the Client VPN endpoint to which the client is connected.</p>
4051
- * @public
4052
- */
4053
- ClientVpnEndpointId?: string | undefined;
4054
- /**
4055
- * <p>The current date and time.</p>
4056
- * @public
4057
- */
4058
- Timestamp?: string | undefined;
4059
- /**
4060
- * <p>The ID of the client connection.</p>
4061
- * @public
4062
- */
4063
- ConnectionId?: string | undefined;
4064
- /**
4065
- * <p>The username of the client who established the client connection. This information is only provided
4066
- * if Active Directory client authentication is used.</p>
4067
- * @public
4068
- */
4069
- Username?: string | undefined;
4202
+ export interface DescribeClassicLinkInstancesRequest {
4070
4203
  /**
4071
- * <p>The date and time the client connection was established.</p>
4204
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4205
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4206
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4072
4207
  * @public
4073
4208
  */
4074
- ConnectionEstablishedTime?: string | undefined;
4209
+ DryRun?: boolean | undefined;
4075
4210
  /**
4076
- * <p>The number of bytes sent by the client.</p>
4211
+ * <p>The instance IDs. Must be instances linked to a VPC through ClassicLink.</p>
4077
4212
  * @public
4078
4213
  */
4079
- IngressBytes?: string | undefined;
4214
+ InstanceIds?: string[] | undefined;
4080
4215
  /**
4081
- * <p>The number of bytes received by the client.</p>
4082
- * @public
4083
- */
4084
- EgressBytes?: string | undefined;
4085
- /**
4086
- * <p>The number of packets sent by the client.</p>
4216
+ * <p>The filters.</p>
4217
+ * <ul>
4218
+ * <li>
4219
+ * <p>
4220
+ * <code>group-id</code> - The ID of a VPC security group that's associated with the instance.</p>
4221
+ * </li>
4222
+ * <li>
4223
+ * <p>
4224
+ * <code>instance-id</code> - The ID of the instance.</p>
4225
+ * </li>
4226
+ * <li>
4227
+ * <p>
4228
+ * <code>tag</code> - 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.
4229
+ * 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>
4230
+ * </li>
4231
+ * <li>
4232
+ * <p>
4233
+ * <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>
4234
+ * </li>
4235
+ * <li>
4236
+ * <p>
4237
+ * <code>vpc-id</code> - The ID of the VPC to which the instance is linked.</p>
4238
+ * </li>
4239
+ * </ul>
4087
4240
  * @public
4088
4241
  */
4089
- IngressPackets?: string | undefined;
4242
+ Filters?: Filter[] | undefined;
4090
4243
  /**
4091
- * <p>The number of packets received by the client.</p>
4244
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
4092
4245
  * @public
4093
4246
  */
4094
- EgressPackets?: string | undefined;
4247
+ NextToken?: string | undefined;
4095
4248
  /**
4096
- * <p>The IP address of the client.</p>
4249
+ * <p>The maximum number of items to return for this request.
4250
+ * To get the next page of items, make another request with the token returned in the output.
4251
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
4252
+ * <p>Constraint: If the value is greater than 1000, we return only 1000 items.</p>
4097
4253
  * @public
4098
4254
  */
4099
- ClientIp?: string | undefined;
4255
+ MaxResults?: number | undefined;
4256
+ }
4257
+ /**
4258
+ * <note>
4259
+ * <p>Deprecated.</p>
4260
+ * </note>
4261
+ * <p>Describes a linked EC2-Classic instance.</p>
4262
+ * @public
4263
+ */
4264
+ export interface ClassicLinkInstance {
4100
4265
  /**
4101
- * <p>The common name associated with the client. This is either the name of the client certificate,
4102
- * or the Active Directory user name.</p>
4266
+ * <p>The security groups.</p>
4103
4267
  * @public
4104
4268
  */
4105
- CommonName?: string | undefined;
4269
+ Groups?: GroupIdentifier[] | undefined;
4106
4270
  /**
4107
- * <p>The current state of the client connection.</p>
4271
+ * <p>The ID of the instance.</p>
4108
4272
  * @public
4109
4273
  */
4110
- Status?: ClientVpnConnectionStatus | undefined;
4274
+ InstanceId?: string | undefined;
4111
4275
  /**
4112
- * <p>The date and time the client connection was terminated.</p>
4276
+ * <p>Any tags assigned to the instance.</p>
4113
4277
  * @public
4114
4278
  */
4115
- ConnectionEndTime?: string | undefined;
4279
+ Tags?: Tag[] | undefined;
4116
4280
  /**
4117
- * <p>The statuses returned by the client connect handler for posture compliance, if applicable.</p>
4281
+ * <p>The ID of the VPC.</p>
4118
4282
  * @public
4119
4283
  */
4120
- PostureComplianceStatuses?: string[] | undefined;
4284
+ VpcId?: string | undefined;
4121
4285
  }
4122
4286
  /**
4123
4287
  * @public
4124
4288
  */
4125
- export interface DescribeClientVpnConnectionsResult {
4289
+ export interface DescribeClassicLinkInstancesResult {
4126
4290
  /**
4127
- * <p>Information about the active and terminated client connections.</p>
4291
+ * <p>Information about one or more linked EC2-Classic instances.</p>
4128
4292
  * @public
4129
4293
  */
4130
- Connections?: ClientVpnConnection[] | undefined;
4294
+ Instances?: ClassicLinkInstance[] | undefined;
4131
4295
  /**
4132
- * <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>
4296
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
4133
4297
  * @public
4134
4298
  */
4135
4299
  NextToken?: string | undefined;
@@ -4137,17 +4301,17 @@ export interface DescribeClientVpnConnectionsResult {
4137
4301
  /**
4138
4302
  * @public
4139
4303
  */
4140
- export interface DescribeClientVpnEndpointsRequest {
4304
+ export interface DescribeClientVpnAuthorizationRulesRequest {
4141
4305
  /**
4142
4306
  * <p>The ID of the Client VPN endpoint.</p>
4143
4307
  * @public
4144
4308
  */
4145
- ClientVpnEndpointIds?: string[] | undefined;
4309
+ ClientVpnEndpointId: string | undefined;
4146
4310
  /**
4147
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4311
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4148
4312
  * @public
4149
4313
  */
4150
- MaxResults?: number | undefined;
4314
+ DryRun?: boolean | undefined;
4151
4315
  /**
4152
4316
  * <p>The token to retrieve the next page of results.</p>
4153
4317
  * @public
@@ -4158,395 +4322,655 @@ export interface DescribeClientVpnEndpointsRequest {
4158
4322
  * <ul>
4159
4323
  * <li>
4160
4324
  * <p>
4161
- * <code>endpoint-id</code> - The ID of the Client VPN endpoint.</p>
4325
+ * <code>description</code> - The description of the authorization rule.</p>
4162
4326
  * </li>
4163
4327
  * <li>
4164
4328
  * <p>
4165
- * <code>transport-protocol</code> - The transport protocol (<code>tcp</code> |
4166
- * <code>udp</code>).</p>
4329
+ * <code>destination-cidr</code> - The CIDR of the network to which the authorization rule
4330
+ * applies.</p>
4331
+ * </li>
4332
+ * <li>
4333
+ * <p>
4334
+ * <code>group-id</code> - The ID of the Active Directory group to which the authorization rule grants access.</p>
4167
4335
  * </li>
4168
4336
  * </ul>
4169
4337
  * @public
4170
4338
  */
4171
4339
  Filters?: Filter[] | undefined;
4172
4340
  /**
4173
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4341
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4174
4342
  * @public
4175
4343
  */
4176
- DryRun?: boolean | undefined;
4344
+ MaxResults?: number | undefined;
4177
4345
  }
4178
4346
  /**
4179
- * @public
4180
- * @enum
4181
- */
4182
- export declare const AssociatedNetworkType: {
4183
- readonly vpc: "vpc";
4184
- };
4185
- /**
4186
- * @public
4187
- */
4188
- export type AssociatedNetworkType = (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
4189
- /**
4190
- * <p>Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.</p>
4347
+ * <p>Information about an authorization rule.</p>
4191
4348
  * @public
4192
4349
  */
4193
- export interface AssociatedTargetNetwork {
4350
+ export interface AuthorizationRule {
4194
4351
  /**
4195
- * <p>The ID of the subnet.</p>
4352
+ * <p>The ID of the Client VPN endpoint with which the authorization rule is associated.</p>
4196
4353
  * @public
4197
4354
  */
4198
- NetworkId?: string | undefined;
4355
+ ClientVpnEndpointId?: string | undefined;
4199
4356
  /**
4200
- * <p>The target network type.</p>
4357
+ * <p>A brief description of the authorization rule.</p>
4201
4358
  * @public
4202
4359
  */
4203
- NetworkType?: AssociatedNetworkType | undefined;
4204
- }
4205
- /**
4206
- * <p>Describes an Active Directory.</p>
4207
- * @public
4208
- */
4209
- export interface DirectoryServiceAuthentication {
4360
+ Description?: string | undefined;
4210
4361
  /**
4211
- * <p>The ID of the Active Directory used for authentication.</p>
4362
+ * <p>The ID of the Active Directory group to which the authorization rule grants access.</p>
4212
4363
  * @public
4213
4364
  */
4214
- DirectoryId?: string | undefined;
4215
- }
4216
- /**
4217
- * <p>Describes the IAM SAML identity providers used for federated authentication.</p>
4218
- * @public
4219
- */
4220
- export interface FederatedAuthentication {
4365
+ GroupId?: string | undefined;
4221
4366
  /**
4222
- * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider.</p>
4367
+ * <p>Indicates whether the authorization rule grants access to all clients.</p>
4223
4368
  * @public
4224
4369
  */
4225
- SamlProviderArn?: string | undefined;
4370
+ AccessAll?: boolean | undefined;
4226
4371
  /**
4227
- * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.</p>
4372
+ * <p>The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.</p>
4228
4373
  * @public
4229
4374
  */
4230
- SelfServiceSamlProviderArn?: string | undefined;
4375
+ DestinationCidr?: string | undefined;
4376
+ /**
4377
+ * <p>The current state of the authorization rule.</p>
4378
+ * @public
4379
+ */
4380
+ Status?: ClientVpnAuthorizationRuleStatus | undefined;
4231
4381
  }
4232
4382
  /**
4233
- * <p>Information about the client certificate used for authentication.</p>
4234
4383
  * @public
4235
4384
  */
4236
- export interface CertificateAuthentication {
4385
+ export interface DescribeClientVpnAuthorizationRulesResult {
4237
4386
  /**
4238
- * <p>The ARN of the client certificate. </p>
4387
+ * <p>Information about the authorization rules.</p>
4239
4388
  * @public
4240
4389
  */
4241
- ClientRootCertificateChain?: string | undefined;
4390
+ AuthorizationRules?: AuthorizationRule[] | undefined;
4391
+ /**
4392
+ * <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>
4393
+ * @public
4394
+ */
4395
+ NextToken?: string | undefined;
4242
4396
  }
4243
4397
  /**
4244
- * <p>Describes the authentication methods used by a Client VPN endpoint. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html">Authentication</a>
4245
- * in the <i>Client VPN Administrator Guide</i>.</p>
4246
4398
  * @public
4247
4399
  */
4248
- export interface ClientVpnAuthentication {
4400
+ export interface DescribeClientVpnConnectionsRequest {
4249
4401
  /**
4250
- * <p>The authentication type used.</p>
4402
+ * <p>The ID of the Client VPN endpoint.</p>
4251
4403
  * @public
4252
4404
  */
4253
- Type?: ClientVpnAuthenticationType | undefined;
4405
+ ClientVpnEndpointId: string | undefined;
4254
4406
  /**
4255
- * <p>Information about the Active Directory, if applicable.</p>
4407
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
4408
+ * <ul>
4409
+ * <li>
4410
+ * <p>
4411
+ * <code>connection-id</code> - The ID of the connection.</p>
4412
+ * </li>
4413
+ * <li>
4414
+ * <p>
4415
+ * <code>username</code> - For Active Directory client authentication, the user name of the
4416
+ * client who established the client connection.</p>
4417
+ * </li>
4418
+ * </ul>
4256
4419
  * @public
4257
4420
  */
4258
- ActiveDirectory?: DirectoryServiceAuthentication | undefined;
4421
+ Filters?: Filter[] | undefined;
4259
4422
  /**
4260
- * <p>Information about the authentication certificates, if applicable.</p>
4423
+ * <p>The token to retrieve the next page of results.</p>
4261
4424
  * @public
4262
4425
  */
4263
- MutualAuthentication?: CertificateAuthentication | undefined;
4426
+ NextToken?: string | undefined;
4264
4427
  /**
4265
- * <p>Information about the IAM SAML identity provider, if applicable.</p>
4428
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4266
4429
  * @public
4267
4430
  */
4268
- FederatedAuthentication?: FederatedAuthentication | undefined;
4431
+ MaxResults?: number | undefined;
4432
+ /**
4433
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4434
+ * @public
4435
+ */
4436
+ DryRun?: boolean | undefined;
4269
4437
  }
4270
4438
  /**
4271
4439
  * @public
4272
4440
  * @enum
4273
4441
  */
4274
- export declare const ClientVpnEndpointAttributeStatusCode: {
4275
- readonly applied: "applied";
4276
- readonly applying: "applying";
4442
+ export declare const ClientVpnConnectionStatusCode: {
4443
+ readonly active: "active";
4444
+ readonly failed_to_terminate: "failed-to-terminate";
4445
+ readonly terminated: "terminated";
4446
+ readonly terminating: "terminating";
4277
4447
  };
4278
4448
  /**
4279
4449
  * @public
4280
4450
  */
4281
- export type ClientVpnEndpointAttributeStatusCode = (typeof ClientVpnEndpointAttributeStatusCode)[keyof typeof ClientVpnEndpointAttributeStatusCode];
4451
+ export type ClientVpnConnectionStatusCode = (typeof ClientVpnConnectionStatusCode)[keyof typeof ClientVpnConnectionStatusCode];
4282
4452
  /**
4283
- * <p>Describes the status of the Client VPN endpoint attribute.</p>
4453
+ * <p>Describes the status of a client connection.</p>
4284
4454
  * @public
4285
4455
  */
4286
- export interface ClientVpnEndpointAttributeStatus {
4456
+ export interface ClientVpnConnectionStatus {
4287
4457
  /**
4288
- * <p>The status code.</p>
4458
+ * <p>The state of the client connection.</p>
4289
4459
  * @public
4290
4460
  */
4291
- Code?: ClientVpnEndpointAttributeStatusCode | undefined;
4461
+ Code?: ClientVpnConnectionStatusCode | undefined;
4292
4462
  /**
4293
- * <p>The status message.</p>
4463
+ * <p>A message about the status of the client connection, if applicable.</p>
4294
4464
  * @public
4295
4465
  */
4296
4466
  Message?: string | undefined;
4297
4467
  }
4298
4468
  /**
4299
- * <p>The options for managing connection authorization for new client connections.</p>
4469
+ * <p>Describes a client connection.</p>
4300
4470
  * @public
4301
4471
  */
4302
- export interface ClientConnectResponseOptions {
4472
+ export interface ClientVpnConnection {
4303
4473
  /**
4304
- * <p>Indicates whether client connect options are enabled.</p>
4474
+ * <p>The ID of the Client VPN endpoint to which the client is connected.</p>
4305
4475
  * @public
4306
4476
  */
4307
- Enabled?: boolean | undefined;
4477
+ ClientVpnEndpointId?: string | undefined;
4308
4478
  /**
4309
- * <p>The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.</p>
4479
+ * <p>The current date and time.</p>
4310
4480
  * @public
4311
4481
  */
4312
- LambdaFunctionArn?: string | undefined;
4482
+ Timestamp?: string | undefined;
4313
4483
  /**
4314
- * <p>The status of any updates to the client connect options.</p>
4484
+ * <p>The ID of the client connection.</p>
4315
4485
  * @public
4316
4486
  */
4317
- Status?: ClientVpnEndpointAttributeStatus | undefined;
4318
- }
4319
- /**
4320
- * <p>Current state of options for customizable text banner that will be displayed on
4321
- * Amazon Web Services provided clients when a VPN session is established.</p>
4322
- * @public
4323
- */
4324
- export interface ClientLoginBannerResponseOptions {
4487
+ ConnectionId?: string | undefined;
4325
4488
  /**
4326
- * <p>Current state of text banner feature.</p>
4327
- * <p>Valid values: <code>true | false</code>
4328
- * </p>
4489
+ * <p>The username of the client who established the client connection. This information is only provided
4490
+ * if Active Directory client authentication is used.</p>
4329
4491
  * @public
4330
4492
  */
4331
- Enabled?: boolean | undefined;
4493
+ Username?: string | undefined;
4332
4494
  /**
4333
- * <p>Customizable text that will be displayed in a banner on Amazon Web Services provided
4334
- * clients when a VPN session is established. UTF-8 encoded
4335
- * characters only. Maximum of 1400 characters.</p>
4495
+ * <p>The date and time the client connection was established.</p>
4336
4496
  * @public
4337
4497
  */
4338
- BannerText?: string | undefined;
4339
- }
4340
- /**
4341
- * <p>Information about the client connection logging options for a Client VPN endpoint.</p>
4342
- * @public
4343
- */
4344
- export interface ConnectionLogResponseOptions {
4498
+ ConnectionEstablishedTime?: string | undefined;
4345
4499
  /**
4346
- * <p>Indicates whether client connection logging is enabled for the Client VPN endpoint.</p>
4500
+ * <p>The number of bytes sent by the client.</p>
4347
4501
  * @public
4348
4502
  */
4349
- Enabled?: boolean | undefined;
4503
+ IngressBytes?: string | undefined;
4350
4504
  /**
4351
- * <p>The name of the Amazon CloudWatch Logs log group to which connection logging data is published.</p>
4505
+ * <p>The number of bytes received by the client.</p>
4352
4506
  * @public
4353
4507
  */
4354
- CloudwatchLogGroup?: string | undefined;
4508
+ EgressBytes?: string | undefined;
4355
4509
  /**
4356
- * <p>The name of the Amazon CloudWatch Logs log stream to which connection logging data is published.</p>
4510
+ * <p>The number of packets sent by the client.</p>
4357
4511
  * @public
4358
4512
  */
4359
- CloudwatchLogStream?: string | undefined;
4360
- }
4361
- /**
4362
- * @public
4363
- * @enum
4364
- */
4365
- export declare const VpnProtocol: {
4366
- readonly openvpn: "openvpn";
4367
- };
4368
- /**
4369
- * @public
4370
- */
4371
- export type VpnProtocol = (typeof VpnProtocol)[keyof typeof VpnProtocol];
4372
- /**
4373
- * <p>Describes a Client VPN endpoint.</p>
4374
- * @public
4375
- */
4376
- export interface ClientVpnEndpoint {
4513
+ IngressPackets?: string | undefined;
4377
4514
  /**
4378
- * <p>The ID of the Client VPN endpoint.</p>
4515
+ * <p>The number of packets received by the client.</p>
4379
4516
  * @public
4380
4517
  */
4381
- ClientVpnEndpointId?: string | undefined;
4518
+ EgressPackets?: string | undefined;
4382
4519
  /**
4383
- * <p>A brief description of the endpoint.</p>
4520
+ * <p>The IP address of the client.</p>
4384
4521
  * @public
4385
4522
  */
4386
- Description?: string | undefined;
4523
+ ClientIp?: string | undefined;
4387
4524
  /**
4388
- * <p>The current state of the Client VPN endpoint.</p>
4525
+ * <p>The common name associated with the client. This is either the name of the client certificate,
4526
+ * or the Active Directory user name.</p>
4389
4527
  * @public
4390
4528
  */
4391
- Status?: ClientVpnEndpointStatus | undefined;
4529
+ CommonName?: string | undefined;
4392
4530
  /**
4393
- * <p>The date and time the Client VPN endpoint was created.</p>
4531
+ * <p>The current state of the client connection.</p>
4394
4532
  * @public
4395
4533
  */
4396
- CreationTime?: string | undefined;
4534
+ Status?: ClientVpnConnectionStatus | undefined;
4397
4535
  /**
4398
- * <p>The date and time the Client VPN endpoint was deleted, if applicable.</p>
4536
+ * <p>The date and time the client connection was terminated.</p>
4399
4537
  * @public
4400
4538
  */
4401
- DeletionTime?: string | undefined;
4539
+ ConnectionEndTime?: string | undefined;
4402
4540
  /**
4403
- * <p>The DNS name to be used by clients when connecting to the Client VPN endpoint.</p>
4541
+ * <p>The statuses returned by the client connect handler for posture compliance, if applicable.</p>
4404
4542
  * @public
4405
4543
  */
4406
- DnsName?: string | undefined;
4544
+ PostureComplianceStatuses?: string[] | undefined;
4545
+ }
4546
+ /**
4547
+ * @public
4548
+ */
4549
+ export interface DescribeClientVpnConnectionsResult {
4407
4550
  /**
4408
- * <p>The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.</p>
4551
+ * <p>Information about the active and terminated client connections.</p>
4409
4552
  * @public
4410
4553
  */
4411
- ClientCidrBlock?: string | undefined;
4554
+ Connections?: ClientVpnConnection[] | undefined;
4412
4555
  /**
4413
- * <p>Information about the DNS servers to be used for DNS resolution. </p>
4556
+ * <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>
4414
4557
  * @public
4415
4558
  */
4416
- DnsServers?: string[] | undefined;
4559
+ NextToken?: string | undefined;
4560
+ }
4561
+ /**
4562
+ * @public
4563
+ */
4564
+ export interface DescribeClientVpnEndpointsRequest {
4417
4565
  /**
4418
- * <p>Indicates whether split-tunnel is enabled in the Client VPN endpoint.</p>
4419
- * <p>For information about split-tunnel VPN endpoints, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html">Split-Tunnel Client VPN endpoint</a>
4420
- * in the <i>Client VPN Administrator Guide</i>.</p>
4566
+ * <p>The ID of the Client VPN endpoint.</p>
4421
4567
  * @public
4422
4568
  */
4423
- SplitTunnel?: boolean | undefined;
4569
+ ClientVpnEndpointIds?: string[] | undefined;
4424
4570
  /**
4425
- * <p>The protocol used by the VPN session.</p>
4571
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4426
4572
  * @public
4427
4573
  */
4428
- VpnProtocol?: VpnProtocol | undefined;
4574
+ MaxResults?: number | undefined;
4429
4575
  /**
4430
- * <p>The transport protocol used by the Client VPN endpoint.</p>
4576
+ * <p>The token to retrieve the next page of results.</p>
4431
4577
  * @public
4432
4578
  */
4433
- TransportProtocol?: TransportProtocol | undefined;
4579
+ NextToken?: string | undefined;
4434
4580
  /**
4435
- * <p>The port number for the Client VPN endpoint.</p>
4581
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
4582
+ * <ul>
4583
+ * <li>
4584
+ * <p>
4585
+ * <code>endpoint-id</code> - The ID of the Client VPN endpoint.</p>
4586
+ * </li>
4587
+ * <li>
4588
+ * <p>
4589
+ * <code>transport-protocol</code> - The transport protocol (<code>tcp</code> |
4590
+ * <code>udp</code>).</p>
4591
+ * </li>
4592
+ * </ul>
4436
4593
  * @public
4437
4594
  */
4438
- VpnPort?: number | undefined;
4595
+ Filters?: Filter[] | undefined;
4439
4596
  /**
4440
- * @deprecated
4441
- *
4442
- * <p>Information about the associated target networks. A target network is a subnet in a VPC.</p>
4597
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4443
4598
  * @public
4444
4599
  */
4445
- AssociatedTargetNetworks?: AssociatedTargetNetwork[] | undefined;
4600
+ DryRun?: boolean | undefined;
4601
+ }
4602
+ /**
4603
+ * @public
4604
+ * @enum
4605
+ */
4606
+ export declare const AssociatedNetworkType: {
4607
+ readonly vpc: "vpc";
4608
+ };
4609
+ /**
4610
+ * @public
4611
+ */
4612
+ export type AssociatedNetworkType = (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
4613
+ /**
4614
+ * <p>Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.</p>
4615
+ * @public
4616
+ */
4617
+ export interface AssociatedTargetNetwork {
4446
4618
  /**
4447
- * <p>The ARN of the server certificate.</p>
4619
+ * <p>The ID of the subnet.</p>
4448
4620
  * @public
4449
4621
  */
4450
- ServerCertificateArn?: string | undefined;
4622
+ NetworkId?: string | undefined;
4451
4623
  /**
4452
- * <p>Information about the authentication method used by the Client VPN endpoint.</p>
4624
+ * <p>The target network type.</p>
4453
4625
  * @public
4454
4626
  */
4455
- AuthenticationOptions?: ClientVpnAuthentication[] | undefined;
4627
+ NetworkType?: AssociatedNetworkType | undefined;
4628
+ }
4629
+ /**
4630
+ * <p>Describes an Active Directory.</p>
4631
+ * @public
4632
+ */
4633
+ export interface DirectoryServiceAuthentication {
4456
4634
  /**
4457
- * <p>Information about the client connection logging options for the Client VPN endpoint.</p>
4635
+ * <p>The ID of the Active Directory used for authentication.</p>
4458
4636
  * @public
4459
4637
  */
4460
- ConnectionLogOptions?: ConnectionLogResponseOptions | undefined;
4638
+ DirectoryId?: string | undefined;
4639
+ }
4640
+ /**
4641
+ * <p>Describes the IAM SAML identity providers used for federated authentication.</p>
4642
+ * @public
4643
+ */
4644
+ export interface FederatedAuthentication {
4461
4645
  /**
4462
- * <p>Any tags assigned to the Client VPN endpoint.</p>
4646
+ * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider.</p>
4463
4647
  * @public
4464
4648
  */
4465
- Tags?: Tag[] | undefined;
4649
+ SamlProviderArn?: string | undefined;
4466
4650
  /**
4467
- * <p>The IDs of the security groups for the target network.</p>
4651
+ * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.</p>
4468
4652
  * @public
4469
4653
  */
4470
- SecurityGroupIds?: string[] | undefined;
4654
+ SelfServiceSamlProviderArn?: string | undefined;
4655
+ }
4656
+ /**
4657
+ * <p>Information about the client certificate used for authentication.</p>
4658
+ * @public
4659
+ */
4660
+ export interface CertificateAuthentication {
4471
4661
  /**
4472
- * <p>The ID of the VPC.</p>
4662
+ * <p>The ARN of the client certificate. </p>
4473
4663
  * @public
4474
4664
  */
4475
- VpcId?: string | undefined;
4665
+ ClientRootCertificateChain?: string | undefined;
4666
+ }
4667
+ /**
4668
+ * <p>Describes the authentication methods used by a Client VPN endpoint. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html">Authentication</a>
4669
+ * in the <i>Client VPN Administrator Guide</i>.</p>
4670
+ * @public
4671
+ */
4672
+ export interface ClientVpnAuthentication {
4476
4673
  /**
4477
- * <p>The URL of the self-service portal.</p>
4674
+ * <p>The authentication type used.</p>
4478
4675
  * @public
4479
4676
  */
4480
- SelfServicePortalUrl?: string | undefined;
4677
+ Type?: ClientVpnAuthenticationType | undefined;
4481
4678
  /**
4482
- * <p>The options for managing connection authorization for new client connections.</p>
4679
+ * <p>Information about the Active Directory, if applicable.</p>
4483
4680
  * @public
4484
4681
  */
4485
- ClientConnectOptions?: ClientConnectResponseOptions | undefined;
4682
+ ActiveDirectory?: DirectoryServiceAuthentication | undefined;
4486
4683
  /**
4487
- * <p>The maximum VPN session duration time in hours.</p>
4488
- * <p>Valid values: <code>8 | 10 | 12 | 24</code>
4489
- * </p>
4490
- * <p>Default value: <code>24</code>
4491
- * </p>
4684
+ * <p>Information about the authentication certificates, if applicable.</p>
4492
4685
  * @public
4493
4686
  */
4494
- SessionTimeoutHours?: number | undefined;
4687
+ MutualAuthentication?: CertificateAuthentication | undefined;
4495
4688
  /**
4496
- * <p>Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is
4497
- * established.</p>
4689
+ * <p>Information about the IAM SAML identity provider, if applicable.</p>
4498
4690
  * @public
4499
4691
  */
4500
- ClientLoginBannerOptions?: ClientLoginBannerResponseOptions | undefined;
4692
+ FederatedAuthentication?: FederatedAuthentication | undefined;
4501
4693
  }
4502
4694
  /**
4503
4695
  * @public
4696
+ * @enum
4504
4697
  */
4505
- export interface DescribeClientVpnEndpointsResult {
4698
+ export declare const ClientVpnEndpointAttributeStatusCode: {
4699
+ readonly applied: "applied";
4700
+ readonly applying: "applying";
4701
+ };
4702
+ /**
4703
+ * @public
4704
+ */
4705
+ export type ClientVpnEndpointAttributeStatusCode = (typeof ClientVpnEndpointAttributeStatusCode)[keyof typeof ClientVpnEndpointAttributeStatusCode];
4706
+ /**
4707
+ * <p>Describes the status of the Client VPN endpoint attribute.</p>
4708
+ * @public
4709
+ */
4710
+ export interface ClientVpnEndpointAttributeStatus {
4506
4711
  /**
4507
- * <p>Information about the Client VPN endpoints.</p>
4712
+ * <p>The status code.</p>
4508
4713
  * @public
4509
4714
  */
4510
- ClientVpnEndpoints?: ClientVpnEndpoint[] | undefined;
4715
+ Code?: ClientVpnEndpointAttributeStatusCode | undefined;
4511
4716
  /**
4512
- * <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>
4717
+ * <p>The status message.</p>
4513
4718
  * @public
4514
4719
  */
4515
- NextToken?: string | undefined;
4720
+ Message?: string | undefined;
4516
4721
  }
4517
4722
  /**
4723
+ * <p>The options for managing connection authorization for new client connections.</p>
4518
4724
  * @public
4519
4725
  */
4520
- export interface DescribeClientVpnRoutesRequest {
4726
+ export interface ClientConnectResponseOptions {
4521
4727
  /**
4522
- * <p>The ID of the Client VPN endpoint.</p>
4728
+ * <p>Indicates whether client connect options are enabled.</p>
4523
4729
  * @public
4524
4730
  */
4525
- ClientVpnEndpointId: string | undefined;
4731
+ Enabled?: boolean | undefined;
4526
4732
  /**
4527
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
4528
- * <ul>
4529
- * <li>
4530
- * <p>
4531
- * <code>destination-cidr</code> - The CIDR of the route destination.</p>
4532
- * </li>
4533
- * <li>
4534
- * <p>
4535
- * <code>origin</code> - How the route was associated with the Client VPN endpoint (<code>associate</code> | <code>add-route</code>).</p>
4536
- * </li>
4537
- * <li>
4538
- * <p>
4539
- * <code>target-subnet</code> - The ID of the subnet through which traffic is routed.</p>
4540
- * </li>
4541
- * </ul>
4733
+ * <p>The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.</p>
4542
4734
  * @public
4543
4735
  */
4544
- Filters?: Filter[] | undefined;
4736
+ LambdaFunctionArn?: string | undefined;
4545
4737
  /**
4546
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4738
+ * <p>The status of any updates to the client connect options.</p>
4547
4739
  * @public
4548
4740
  */
4549
- MaxResults?: number | undefined;
4741
+ Status?: ClientVpnEndpointAttributeStatus | undefined;
4742
+ }
4743
+ /**
4744
+ * <p>Current state of options for customizable text banner that will be displayed on
4745
+ * Amazon Web Services provided clients when a VPN session is established.</p>
4746
+ * @public
4747
+ */
4748
+ export interface ClientLoginBannerResponseOptions {
4749
+ /**
4750
+ * <p>Current state of text banner feature.</p>
4751
+ * <p>Valid values: <code>true | false</code>
4752
+ * </p>
4753
+ * @public
4754
+ */
4755
+ Enabled?: boolean | undefined;
4756
+ /**
4757
+ * <p>Customizable text that will be displayed in a banner on Amazon Web Services provided
4758
+ * clients when a VPN session is established. UTF-8 encoded
4759
+ * characters only. Maximum of 1400 characters.</p>
4760
+ * @public
4761
+ */
4762
+ BannerText?: string | undefined;
4763
+ }
4764
+ /**
4765
+ * <p>Information about the client connection logging options for a Client VPN endpoint.</p>
4766
+ * @public
4767
+ */
4768
+ export interface ConnectionLogResponseOptions {
4769
+ /**
4770
+ * <p>Indicates whether client connection logging is enabled for the Client VPN endpoint.</p>
4771
+ * @public
4772
+ */
4773
+ Enabled?: boolean | undefined;
4774
+ /**
4775
+ * <p>The name of the Amazon CloudWatch Logs log group to which connection logging data is published.</p>
4776
+ * @public
4777
+ */
4778
+ CloudwatchLogGroup?: string | undefined;
4779
+ /**
4780
+ * <p>The name of the Amazon CloudWatch Logs log stream to which connection logging data is published.</p>
4781
+ * @public
4782
+ */
4783
+ CloudwatchLogStream?: string | undefined;
4784
+ }
4785
+ /**
4786
+ * @public
4787
+ * @enum
4788
+ */
4789
+ export declare const VpnProtocol: {
4790
+ readonly openvpn: "openvpn";
4791
+ };
4792
+ /**
4793
+ * @public
4794
+ */
4795
+ export type VpnProtocol = (typeof VpnProtocol)[keyof typeof VpnProtocol];
4796
+ /**
4797
+ * <p>Describes a Client VPN endpoint.</p>
4798
+ * @public
4799
+ */
4800
+ export interface ClientVpnEndpoint {
4801
+ /**
4802
+ * <p>The ID of the Client VPN endpoint.</p>
4803
+ * @public
4804
+ */
4805
+ ClientVpnEndpointId?: string | undefined;
4806
+ /**
4807
+ * <p>A brief description of the endpoint.</p>
4808
+ * @public
4809
+ */
4810
+ Description?: string | undefined;
4811
+ /**
4812
+ * <p>The current state of the Client VPN endpoint.</p>
4813
+ * @public
4814
+ */
4815
+ Status?: ClientVpnEndpointStatus | undefined;
4816
+ /**
4817
+ * <p>The date and time the Client VPN endpoint was created.</p>
4818
+ * @public
4819
+ */
4820
+ CreationTime?: string | undefined;
4821
+ /**
4822
+ * <p>The date and time the Client VPN endpoint was deleted, if applicable.</p>
4823
+ * @public
4824
+ */
4825
+ DeletionTime?: string | undefined;
4826
+ /**
4827
+ * <p>The DNS name to be used by clients when connecting to the Client VPN endpoint.</p>
4828
+ * @public
4829
+ */
4830
+ DnsName?: string | undefined;
4831
+ /**
4832
+ * <p>The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.</p>
4833
+ * @public
4834
+ */
4835
+ ClientCidrBlock?: string | undefined;
4836
+ /**
4837
+ * <p>Information about the DNS servers to be used for DNS resolution. </p>
4838
+ * @public
4839
+ */
4840
+ DnsServers?: string[] | undefined;
4841
+ /**
4842
+ * <p>Indicates whether split-tunnel is enabled in the Client VPN endpoint.</p>
4843
+ * <p>For information about split-tunnel VPN endpoints, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html">Split-Tunnel Client VPN endpoint</a>
4844
+ * in the <i>Client VPN Administrator Guide</i>.</p>
4845
+ * @public
4846
+ */
4847
+ SplitTunnel?: boolean | undefined;
4848
+ /**
4849
+ * <p>The protocol used by the VPN session.</p>
4850
+ * @public
4851
+ */
4852
+ VpnProtocol?: VpnProtocol | undefined;
4853
+ /**
4854
+ * <p>The transport protocol used by the Client VPN endpoint.</p>
4855
+ * @public
4856
+ */
4857
+ TransportProtocol?: TransportProtocol | undefined;
4858
+ /**
4859
+ * <p>The port number for the Client VPN endpoint.</p>
4860
+ * @public
4861
+ */
4862
+ VpnPort?: number | undefined;
4863
+ /**
4864
+ * @deprecated
4865
+ *
4866
+ * <p>Information about the associated target networks. A target network is a subnet in a VPC.</p>
4867
+ * @public
4868
+ */
4869
+ AssociatedTargetNetworks?: AssociatedTargetNetwork[] | undefined;
4870
+ /**
4871
+ * <p>The ARN of the server certificate.</p>
4872
+ * @public
4873
+ */
4874
+ ServerCertificateArn?: string | undefined;
4875
+ /**
4876
+ * <p>Information about the authentication method used by the Client VPN endpoint.</p>
4877
+ * @public
4878
+ */
4879
+ AuthenticationOptions?: ClientVpnAuthentication[] | undefined;
4880
+ /**
4881
+ * <p>Information about the client connection logging options for the Client VPN endpoint.</p>
4882
+ * @public
4883
+ */
4884
+ ConnectionLogOptions?: ConnectionLogResponseOptions | undefined;
4885
+ /**
4886
+ * <p>Any tags assigned to the Client VPN endpoint.</p>
4887
+ * @public
4888
+ */
4889
+ Tags?: Tag[] | undefined;
4890
+ /**
4891
+ * <p>The IDs of the security groups for the target network.</p>
4892
+ * @public
4893
+ */
4894
+ SecurityGroupIds?: string[] | undefined;
4895
+ /**
4896
+ * <p>The ID of the VPC.</p>
4897
+ * @public
4898
+ */
4899
+ VpcId?: string | undefined;
4900
+ /**
4901
+ * <p>The URL of the self-service portal.</p>
4902
+ * @public
4903
+ */
4904
+ SelfServicePortalUrl?: string | undefined;
4905
+ /**
4906
+ * <p>The options for managing connection authorization for new client connections.</p>
4907
+ * @public
4908
+ */
4909
+ ClientConnectOptions?: ClientConnectResponseOptions | undefined;
4910
+ /**
4911
+ * <p>The maximum VPN session duration time in hours.</p>
4912
+ * <p>Valid values: <code>8 | 10 | 12 | 24</code>
4913
+ * </p>
4914
+ * <p>Default value: <code>24</code>
4915
+ * </p>
4916
+ * @public
4917
+ */
4918
+ SessionTimeoutHours?: number | undefined;
4919
+ /**
4920
+ * <p>Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is
4921
+ * established.</p>
4922
+ * @public
4923
+ */
4924
+ ClientLoginBannerOptions?: ClientLoginBannerResponseOptions | undefined;
4925
+ }
4926
+ /**
4927
+ * @public
4928
+ */
4929
+ export interface DescribeClientVpnEndpointsResult {
4930
+ /**
4931
+ * <p>Information about the Client VPN endpoints.</p>
4932
+ * @public
4933
+ */
4934
+ ClientVpnEndpoints?: ClientVpnEndpoint[] | undefined;
4935
+ /**
4936
+ * <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>
4937
+ * @public
4938
+ */
4939
+ NextToken?: string | undefined;
4940
+ }
4941
+ /**
4942
+ * @public
4943
+ */
4944
+ export interface DescribeClientVpnRoutesRequest {
4945
+ /**
4946
+ * <p>The ID of the Client VPN endpoint.</p>
4947
+ * @public
4948
+ */
4949
+ ClientVpnEndpointId: string | undefined;
4950
+ /**
4951
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
4952
+ * <ul>
4953
+ * <li>
4954
+ * <p>
4955
+ * <code>destination-cidr</code> - The CIDR of the route destination.</p>
4956
+ * </li>
4957
+ * <li>
4958
+ * <p>
4959
+ * <code>origin</code> - How the route was associated with the Client VPN endpoint (<code>associate</code> | <code>add-route</code>).</p>
4960
+ * </li>
4961
+ * <li>
4962
+ * <p>
4963
+ * <code>target-subnet</code> - The ID of the subnet through which traffic is routed.</p>
4964
+ * </li>
4965
+ * </ul>
4966
+ * @public
4967
+ */
4968
+ Filters?: Filter[] | undefined;
4969
+ /**
4970
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
4971
+ * @public
4972
+ */
4973
+ MaxResults?: number | undefined;
4550
4974
  /**
4551
4975
  * <p>The token to retrieve the next page of results.</p>
4552
4976
  * @public
@@ -6731,418 +7155,80 @@ export interface FleetData {
6731
7155
  */
6732
7156
  Type?: FleetType | undefined;
6733
7157
  /**
6734
- * <p>The start date and time of the request, in UTC format (for example,
6735
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
6736
- * The default is to start fulfilling the request immediately. </p>
6737
- * @public
6738
- */
6739
- ValidFrom?: Date | undefined;
6740
- /**
6741
- * <p>The end date and time of the request, in UTC format (for example,
6742
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
6743
- * At this point, no new instance requests are placed or able to fulfill the request. The
6744
- * default end date is 7 days from the current date. </p>
6745
- * @public
6746
- */
6747
- ValidUntil?: Date | undefined;
6748
- /**
6749
- * <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
6750
- * fleets of type <code>maintain</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks">EC2 Fleet
6751
- * health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
6752
- * @public
6753
- */
6754
- ReplaceUnhealthyInstances?: boolean | undefined;
6755
- /**
6756
- * <p>The configuration of Spot Instances in an EC2 Fleet.</p>
6757
- * @public
6758
- */
6759
- SpotOptions?: SpotOptions | undefined;
6760
- /**
6761
- * <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
6762
- * @public
6763
- */
6764
- OnDemandOptions?: OnDemandOptions | undefined;
6765
- /**
6766
- * <p>The tags for an EC2 Fleet resource.</p>
6767
- * @public
6768
- */
6769
- Tags?: Tag[] | undefined;
6770
- /**
6771
- * <p>Information about the instances that could not be launched by the fleet. Valid only when
6772
- * <b>Type</b> is set to <code>instant</code>.</p>
6773
- * @public
6774
- */
6775
- Errors?: DescribeFleetError[] | undefined;
6776
- /**
6777
- * <p>Information about the instances that were launched by the fleet. Valid only when
6778
- * <b>Type</b> is set to <code>instant</code>.</p>
6779
- * @public
6780
- */
6781
- Instances?: DescribeFleetsInstances[] | undefined;
6782
- /**
6783
- * <p>Reserved.</p>
6784
- * @public
6785
- */
6786
- Context?: string | undefined;
6787
- }
6788
- /**
6789
- * @public
6790
- */
6791
- export interface DescribeFleetsResult {
6792
- /**
6793
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
6794
- * are no more items to return.</p>
6795
- * @public
6796
- */
6797
- NextToken?: string | undefined;
6798
- /**
6799
- * <p>Information about the EC2 Fleets.</p>
6800
- * @public
6801
- */
6802
- Fleets?: FleetData[] | undefined;
6803
- }
6804
- /**
6805
- * @public
6806
- */
6807
- export interface DescribeFlowLogsRequest {
6808
- /**
6809
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6810
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6811
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6812
- * @public
6813
- */
6814
- DryRun?: boolean | undefined;
6815
- /**
6816
- * <p>One or more filters.</p>
6817
- * <ul>
6818
- * <li>
6819
- * <p>
6820
- * <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
6821
- * <code>FAILED</code>).</p>
6822
- * </li>
6823
- * <li>
6824
- * <p>
6825
- * <code>log-destination-type</code> - The type of destination for the flow log
6826
- * data (<code>cloud-watch-logs</code> | <code>s3</code> |
6827
- * <code>kinesis-data-firehose</code>).</p>
6828
- * </li>
6829
- * <li>
6830
- * <p>
6831
- * <code>flow-log-id</code> - The ID of the flow log.</p>
6832
- * </li>
6833
- * <li>
6834
- * <p>
6835
- * <code>log-group-name</code> - The name of the log group.</p>
6836
- * </li>
6837
- * <li>
6838
- * <p>
6839
- * <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
6840
- * </li>
6841
- * <li>
6842
- * <p>
6843
- * <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
6844
- * <code>REJECT</code> | <code>ALL</code>).</p>
6845
- * </li>
6846
- * <li>
6847
- * <p>
6848
- * <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.
6849
- * 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>
6850
- * </li>
6851
- * <li>
6852
- * <p>
6853
- * <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>
6854
- * </li>
6855
- * </ul>
6856
- * @public
6857
- */
6858
- Filter?: Filter[] | undefined;
6859
- /**
6860
- * <p>One or more flow log IDs.</p>
6861
- * <p>Constraint: Maximum of 1000 flow log IDs.</p>
6862
- * @public
6863
- */
6864
- FlowLogIds?: string[] | undefined;
6865
- /**
6866
- * <p>The maximum number of items to return for this request.
6867
- * To get the next page of items, make another request with the token returned in the output.
6868
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
6869
- * @public
6870
- */
6871
- MaxResults?: number | undefined;
6872
- /**
6873
- * <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
6874
- * @public
6875
- */
6876
- NextToken?: string | undefined;
6877
- }
6878
- /**
6879
- * <p>Describes the destination options for a flow log.</p>
6880
- * @public
6881
- */
6882
- export interface DestinationOptionsResponse {
6883
- /**
6884
- * <p>The format for the flow log.</p>
6885
- * @public
6886
- */
6887
- FileFormat?: DestinationFileFormat | undefined;
6888
- /**
6889
- * <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
6890
- * @public
6891
- */
6892
- HiveCompatiblePartitions?: boolean | undefined;
6893
- /**
6894
- * <p>Indicates whether to partition the flow log per hour.</p>
6895
- * @public
6896
- */
6897
- PerHourPartition?: boolean | undefined;
6898
- }
6899
- /**
6900
- * <p>Describes a flow log.</p>
6901
- * @public
6902
- */
6903
- export interface FlowLog {
6904
- /**
6905
- * <p>The date and time the flow log was created.</p>
6906
- * @public
6907
- */
6908
- CreationTime?: Date | undefined;
6909
- /**
6910
- * <p>Information about the error that occurred. <code>Rate limited</code> indicates that
6911
- * CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've
6912
- * reached the limit on the number of log groups that you can create. <code>Access
6913
- * error</code> indicates that the IAM role associated with the flow log does not have
6914
- * sufficient permissions to publish to CloudWatch Logs. <code>Unknown error</code> indicates an
6915
- * internal error.</p>
6916
- * @public
6917
- */
6918
- DeliverLogsErrorMessage?: string | undefined;
6919
- /**
6920
- * <p>The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.</p>
6921
- * @public
6922
- */
6923
- DeliverLogsPermissionArn?: string | undefined;
6924
- /**
6925
- * <p>The ARN of the IAM role that allows the service to publish flow logs across accounts.</p>
6926
- * @public
6927
- */
6928
- DeliverCrossAccountRole?: string | undefined;
6929
- /**
6930
- * <p>The status of the logs delivery (<code>SUCCESS</code> | <code>FAILED</code>).</p>
6931
- * @public
6932
- */
6933
- DeliverLogsStatus?: string | undefined;
6934
- /**
6935
- * <p>The ID of the flow log.</p>
6936
- * @public
6937
- */
6938
- FlowLogId?: string | undefined;
6939
- /**
6940
- * <p>The status of the flow log (<code>ACTIVE</code>).</p>
6941
- * @public
6942
- */
6943
- FlowLogStatus?: string | undefined;
6944
- /**
6945
- * <p>The name of the flow log group.</p>
6946
- * @public
6947
- */
6948
- LogGroupName?: string | undefined;
6949
- /**
6950
- * <p>The ID of the resource being monitored.</p>
6951
- * @public
6952
- */
6953
- ResourceId?: string | undefined;
6954
- /**
6955
- * <p>The type of traffic captured for the flow log.</p>
6956
- * @public
6957
- */
6958
- TrafficType?: TrafficType | undefined;
6959
- /**
6960
- * <p>The type of destination for the flow log data.</p>
6961
- * @public
6962
- */
6963
- LogDestinationType?: LogDestinationType | undefined;
6964
- /**
6965
- * <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
6966
- * @public
6967
- */
6968
- LogDestination?: string | undefined;
6969
- /**
6970
- * <p>The format of the flow log record.</p>
6971
- * @public
6972
- */
6973
- LogFormat?: string | undefined;
6974
- /**
6975
- * <p>The tags for the flow log.</p>
6976
- * @public
6977
- */
6978
- Tags?: Tag[] | undefined;
6979
- /**
6980
- * <p>The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.</p>
6981
- * <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Nitro-based
6982
- * instance</a>, the aggregation interval is always 60 seconds (1 minute) or less,
6983
- * regardless of the specified value.</p>
6984
- * <p>Valid Values: <code>60</code> | <code>600</code>
6985
- * </p>
6986
- * @public
6987
- */
6988
- MaxAggregationInterval?: number | undefined;
6989
- /**
6990
- * <p>The destination options.</p>
6991
- * @public
6992
- */
6993
- DestinationOptions?: DestinationOptionsResponse | undefined;
6994
- }
6995
- /**
6996
- * @public
6997
- */
6998
- export interface DescribeFlowLogsResult {
6999
- /**
7000
- * <p>Information about the flow logs.</p>
7001
- * @public
7002
- */
7003
- FlowLogs?: FlowLog[] | undefined;
7004
- /**
7005
- * <p>The token to request the next page of items. This value is <code>null</code> when there are no more items to return.</p>
7006
- * @public
7007
- */
7008
- NextToken?: string | undefined;
7009
- }
7010
- /**
7011
- * @public
7012
- * @enum
7013
- */
7014
- export declare const FpgaImageAttributeName: {
7015
- readonly description: "description";
7016
- readonly loadPermission: "loadPermission";
7017
- readonly name: "name";
7018
- readonly productCodes: "productCodes";
7019
- };
7020
- /**
7021
- * @public
7022
- */
7023
- export type FpgaImageAttributeName = (typeof FpgaImageAttributeName)[keyof typeof FpgaImageAttributeName];
7024
- /**
7025
- * @public
7026
- */
7027
- export interface DescribeFpgaImageAttributeRequest {
7028
- /**
7029
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7030
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7031
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7032
- * @public
7033
- */
7034
- DryRun?: boolean | undefined;
7035
- /**
7036
- * <p>The ID of the AFI.</p>
7037
- * @public
7038
- */
7039
- FpgaImageId: string | undefined;
7040
- /**
7041
- * <p>The AFI attribute.</p>
7042
- * @public
7043
- */
7044
- Attribute: FpgaImageAttributeName | undefined;
7045
- }
7046
- /**
7047
- * @public
7048
- * @enum
7049
- */
7050
- export declare const PermissionGroup: {
7051
- readonly all: "all";
7052
- };
7053
- /**
7054
- * @public
7055
- */
7056
- export type PermissionGroup = (typeof PermissionGroup)[keyof typeof PermissionGroup];
7057
- /**
7058
- * <p>Describes a load permission.</p>
7059
- * @public
7060
- */
7061
- export interface LoadPermission {
7062
- /**
7063
- * <p>The Amazon Web Services account ID.</p>
7064
- * @public
7065
- */
7066
- UserId?: string | undefined;
7067
- /**
7068
- * <p>The name of the group.</p>
7069
- * @public
7070
- */
7071
- Group?: PermissionGroup | undefined;
7072
- }
7073
- /**
7074
- * @public
7075
- * @enum
7076
- */
7077
- export declare const ProductCodeValues: {
7078
- readonly devpay: "devpay";
7079
- readonly marketplace: "marketplace";
7080
- };
7081
- /**
7082
- * @public
7083
- */
7084
- export type ProductCodeValues = (typeof ProductCodeValues)[keyof typeof ProductCodeValues];
7085
- /**
7086
- * <p>Describes a product code.</p>
7087
- * @public
7088
- */
7089
- export interface ProductCode {
7158
+ * <p>The start date and time of the request, in UTC format (for example,
7159
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
7160
+ * The default is to start fulfilling the request immediately. </p>
7161
+ * @public
7162
+ */
7163
+ ValidFrom?: Date | undefined;
7090
7164
  /**
7091
- * <p>The product code.</p>
7165
+ * <p>The end date and time of the request, in UTC format (for example,
7166
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
7167
+ * At this point, no new instance requests are placed or able to fulfill the request. The
7168
+ * default end date is 7 days from the current date. </p>
7092
7169
  * @public
7093
7170
  */
7094
- ProductCodeId?: string | undefined;
7171
+ ValidUntil?: Date | undefined;
7095
7172
  /**
7096
- * <p>The type of product code.</p>
7173
+ * <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
7174
+ * fleets of type <code>maintain</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks">EC2 Fleet
7175
+ * health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
7097
7176
  * @public
7098
7177
  */
7099
- ProductCodeType?: ProductCodeValues | undefined;
7100
- }
7101
- /**
7102
- * <p>Describes an Amazon FPGA image (AFI) attribute.</p>
7103
- * @public
7104
- */
7105
- export interface FpgaImageAttribute {
7178
+ ReplaceUnhealthyInstances?: boolean | undefined;
7106
7179
  /**
7107
- * <p>The ID of the AFI.</p>
7180
+ * <p>The configuration of Spot Instances in an EC2 Fleet.</p>
7108
7181
  * @public
7109
7182
  */
7110
- FpgaImageId?: string | undefined;
7183
+ SpotOptions?: SpotOptions | undefined;
7111
7184
  /**
7112
- * <p>The name of the AFI.</p>
7185
+ * <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
7113
7186
  * @public
7114
7187
  */
7115
- Name?: string | undefined;
7188
+ OnDemandOptions?: OnDemandOptions | undefined;
7116
7189
  /**
7117
- * <p>The description of the AFI.</p>
7190
+ * <p>The tags for an EC2 Fleet resource.</p>
7118
7191
  * @public
7119
7192
  */
7120
- Description?: string | undefined;
7193
+ Tags?: Tag[] | undefined;
7194
+ /**
7195
+ * <p>Information about the instances that could not be launched by the fleet. Valid only when
7196
+ * <b>Type</b> is set to <code>instant</code>.</p>
7197
+ * @public
7198
+ */
7199
+ Errors?: DescribeFleetError[] | undefined;
7121
7200
  /**
7122
- * <p>The load permissions.</p>
7201
+ * <p>Information about the instances that were launched by the fleet. Valid only when
7202
+ * <b>Type</b> is set to <code>instant</code>.</p>
7123
7203
  * @public
7124
7204
  */
7125
- LoadPermissions?: LoadPermission[] | undefined;
7205
+ Instances?: DescribeFleetsInstances[] | undefined;
7126
7206
  /**
7127
- * <p>The product codes.</p>
7207
+ * <p>Reserved.</p>
7128
7208
  * @public
7129
7209
  */
7130
- ProductCodes?: ProductCode[] | undefined;
7210
+ Context?: string | undefined;
7131
7211
  }
7132
7212
  /**
7133
7213
  * @public
7134
7214
  */
7135
- export interface DescribeFpgaImageAttributeResult {
7215
+ export interface DescribeFleetsResult {
7136
7216
  /**
7137
- * <p>Information about the attribute.</p>
7217
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
7218
+ * are no more items to return.</p>
7219
+ * @public
7220
+ */
7221
+ NextToken?: string | undefined;
7222
+ /**
7223
+ * <p>Information about the EC2 Fleets.</p>
7138
7224
  * @public
7139
7225
  */
7140
- FpgaImageAttribute?: FpgaImageAttribute | undefined;
7226
+ Fleets?: FleetData[] | undefined;
7141
7227
  }
7142
7228
  /**
7143
7229
  * @public
7144
7230
  */
7145
- export interface DescribeFpgaImagesRequest {
7231
+ export interface DescribeFlowLogsRequest {
7146
7232
  /**
7147
7233
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
7148
7234
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -7151,51 +7237,35 @@ export interface DescribeFpgaImagesRequest {
7151
7237
  */
7152
7238
  DryRun?: boolean | undefined;
7153
7239
  /**
7154
- * <p>The AFI IDs.</p>
7155
- * @public
7156
- */
7157
- FpgaImageIds?: string[] | undefined;
7158
- /**
7159
- * <p>Filters the AFI by owner. Specify an Amazon Web Services account ID, <code>self</code>
7160
- * (owner is the sender of the request), or an Amazon Web Services owner alias (valid values are
7161
- * <code>amazon</code> | <code>aws-marketplace</code>).</p>
7162
- * @public
7163
- */
7164
- Owners?: string[] | undefined;
7165
- /**
7166
- * <p>The filters.</p>
7240
+ * <p>One or more filters.</p>
7167
7241
  * <ul>
7168
7242
  * <li>
7169
7243
  * <p>
7170
- * <code>create-time</code> - The creation time of the AFI.</p>
7171
- * </li>
7172
- * <li>
7173
- * <p>
7174
- * <code>fpga-image-id</code> - The FPGA image identifier (AFI ID).</p>
7175
- * </li>
7176
- * <li>
7177
- * <p>
7178
- * <code>fpga-image-global-id</code> - The global FPGA image identifier (AGFI ID).</p>
7244
+ * <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
7245
+ * <code>FAILED</code>).</p>
7179
7246
  * </li>
7180
7247
  * <li>
7181
7248
  * <p>
7182
- * <code>name</code> - The name of the AFI.</p>
7249
+ * <code>log-destination-type</code> - The type of destination for the flow log
7250
+ * data (<code>cloud-watch-logs</code> | <code>s3</code> |
7251
+ * <code>kinesis-data-firehose</code>).</p>
7183
7252
  * </li>
7184
7253
  * <li>
7185
7254
  * <p>
7186
- * <code>owner-id</code> - The Amazon Web Services account ID of the AFI owner.</p>
7255
+ * <code>flow-log-id</code> - The ID of the flow log.</p>
7187
7256
  * </li>
7188
7257
  * <li>
7189
7258
  * <p>
7190
- * <code>product-code</code> - The product code.</p>
7259
+ * <code>log-group-name</code> - The name of the log group.</p>
7191
7260
  * </li>
7192
7261
  * <li>
7193
7262
  * <p>
7194
- * <code>shell-version</code> - The version of the Amazon Web Services Shell that was used to create the bitstream.</p>
7263
+ * <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
7195
7264
  * </li>
7196
7265
  * <li>
7197
7266
  * <p>
7198
- * <code>state</code> - The state of the AFI (<code>pending</code> | <code>failed</code> | <code>available</code> | <code>unavailable</code>).</p>
7267
+ * <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
7268
+ * <code>REJECT</code> | <code>ALL</code>).</p>
7199
7269
  * </li>
7200
7270
  * <li>
7201
7271
  * <p>
@@ -7206,266 +7276,236 @@ export interface DescribeFpgaImagesRequest {
7206
7276
  * <p>
7207
7277
  * <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>
7208
7278
  * </li>
7209
- * <li>
7210
- * <p>
7211
- * <code>update-time</code> - The time of the most recent update.</p>
7212
- * </li>
7213
7279
  * </ul>
7214
7280
  * @public
7215
7281
  */
7216
- Filters?: Filter[] | undefined;
7282
+ Filter?: Filter[] | undefined;
7217
7283
  /**
7218
- * <p>The token to retrieve the next page of results.</p>
7284
+ * <p>One or more flow log IDs.</p>
7285
+ * <p>Constraint: Maximum of 1000 flow log IDs.</p>
7219
7286
  * @public
7220
7287
  */
7221
- NextToken?: string | undefined;
7288
+ FlowLogIds?: string[] | undefined;
7222
7289
  /**
7223
- * <p>The maximum number of results to return in a single call.</p>
7290
+ * <p>The maximum number of items to return for this request.
7291
+ * To get the next page of items, make another request with the token returned in the output.
7292
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7224
7293
  * @public
7225
7294
  */
7226
7295
  MaxResults?: number | undefined;
7296
+ /**
7297
+ * <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
7298
+ * @public
7299
+ */
7300
+ NextToken?: string | undefined;
7227
7301
  }
7228
7302
  /**
7229
- * <p>Describes the data that identifies an Amazon FPGA image (AFI) on the PCI bus.</p>
7303
+ * <p>Describes the destination options for a flow log.</p>
7230
7304
  * @public
7231
7305
  */
7232
- export interface PciId {
7233
- /**
7234
- * <p>The ID of the device.</p>
7235
- * @public
7236
- */
7237
- DeviceId?: string | undefined;
7306
+ export interface DestinationOptionsResponse {
7238
7307
  /**
7239
- * <p>The ID of the vendor.</p>
7308
+ * <p>The format for the flow log.</p>
7240
7309
  * @public
7241
7310
  */
7242
- VendorId?: string | undefined;
7311
+ FileFormat?: DestinationFileFormat | undefined;
7243
7312
  /**
7244
- * <p>The ID of the subsystem.</p>
7313
+ * <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
7245
7314
  * @public
7246
7315
  */
7247
- SubsystemId?: string | undefined;
7316
+ HiveCompatiblePartitions?: boolean | undefined;
7248
7317
  /**
7249
- * <p>The ID of the vendor for the subsystem.</p>
7318
+ * <p>Indicates whether to partition the flow log per hour.</p>
7250
7319
  * @public
7251
7320
  */
7252
- SubsystemVendorId?: string | undefined;
7321
+ PerHourPartition?: boolean | undefined;
7253
7322
  }
7254
7323
  /**
7255
- * @public
7256
- * @enum
7257
- */
7258
- export declare const FpgaImageStateCode: {
7259
- readonly available: "available";
7260
- readonly failed: "failed";
7261
- readonly pending: "pending";
7262
- readonly unavailable: "unavailable";
7263
- };
7264
- /**
7265
- * @public
7266
- */
7267
- export type FpgaImageStateCode = (typeof FpgaImageStateCode)[keyof typeof FpgaImageStateCode];
7268
- /**
7269
- * <p>Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).</p>
7324
+ * <p>Describes a flow log.</p>
7270
7325
  * @public
7271
7326
  */
7272
- export interface FpgaImageState {
7273
- /**
7274
- * <p>The state. The following are the possible values:</p>
7275
- * <ul>
7276
- * <li>
7277
- * <p>
7278
- * <code>pending</code> - AFI bitstream generation is in progress.</p>
7279
- * </li>
7280
- * <li>
7281
- * <p>
7282
- * <code>available</code> - The AFI is available for use.</p>
7283
- * </li>
7284
- * <li>
7285
- * <p>
7286
- * <code>failed</code> - AFI bitstream generation failed.</p>
7287
- * </li>
7288
- * <li>
7289
- * <p>
7290
- * <code>unavailable</code> - The AFI is no longer available for use.</p>
7291
- * </li>
7292
- * </ul>
7293
- * @public
7294
- */
7295
- Code?: FpgaImageStateCode | undefined;
7327
+ export interface FlowLog {
7296
7328
  /**
7297
- * <p>If the state is <code>failed</code>, this is the error message.</p>
7329
+ * <p>The date and time the flow log was created.</p>
7298
7330
  * @public
7299
7331
  */
7300
- Message?: string | undefined;
7301
- }
7302
- /**
7303
- * <p>Describes an Amazon FPGA image (AFI).</p>
7304
- * @public
7305
- */
7306
- export interface FpgaImage {
7332
+ CreationTime?: Date | undefined;
7307
7333
  /**
7308
- * <p>The FPGA image identifier (AFI ID).</p>
7334
+ * <p>Information about the error that occurred. <code>Rate limited</code> indicates that
7335
+ * CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've
7336
+ * reached the limit on the number of log groups that you can create. <code>Access
7337
+ * error</code> indicates that the IAM role associated with the flow log does not have
7338
+ * sufficient permissions to publish to CloudWatch Logs. <code>Unknown error</code> indicates an
7339
+ * internal error.</p>
7309
7340
  * @public
7310
7341
  */
7311
- FpgaImageId?: string | undefined;
7342
+ DeliverLogsErrorMessage?: string | undefined;
7312
7343
  /**
7313
- * <p>The global FPGA image identifier (AGFI ID).</p>
7344
+ * <p>The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.</p>
7314
7345
  * @public
7315
7346
  */
7316
- FpgaImageGlobalId?: string | undefined;
7347
+ DeliverLogsPermissionArn?: string | undefined;
7317
7348
  /**
7318
- * <p>The name of the AFI.</p>
7349
+ * <p>The ARN of the IAM role that allows the service to publish flow logs across accounts.</p>
7319
7350
  * @public
7320
7351
  */
7321
- Name?: string | undefined;
7352
+ DeliverCrossAccountRole?: string | undefined;
7322
7353
  /**
7323
- * <p>The description of the AFI.</p>
7354
+ * <p>The status of the logs delivery (<code>SUCCESS</code> | <code>FAILED</code>).</p>
7324
7355
  * @public
7325
7356
  */
7326
- Description?: string | undefined;
7357
+ DeliverLogsStatus?: string | undefined;
7327
7358
  /**
7328
- * <p>The version of the Amazon Web Services Shell that was used to create the bitstream.</p>
7359
+ * <p>The ID of the flow log.</p>
7329
7360
  * @public
7330
7361
  */
7331
- ShellVersion?: string | undefined;
7362
+ FlowLogId?: string | undefined;
7332
7363
  /**
7333
- * <p>Information about the PCI bus.</p>
7364
+ * <p>The status of the flow log (<code>ACTIVE</code>).</p>
7334
7365
  * @public
7335
7366
  */
7336
- PciId?: PciId | undefined;
7367
+ FlowLogStatus?: string | undefined;
7337
7368
  /**
7338
- * <p>Information about the state of the AFI.</p>
7369
+ * <p>The name of the flow log group.</p>
7339
7370
  * @public
7340
7371
  */
7341
- State?: FpgaImageState | undefined;
7372
+ LogGroupName?: string | undefined;
7342
7373
  /**
7343
- * <p>The date and time the AFI was created.</p>
7374
+ * <p>The ID of the resource being monitored.</p>
7344
7375
  * @public
7345
7376
  */
7346
- CreateTime?: Date | undefined;
7377
+ ResourceId?: string | undefined;
7347
7378
  /**
7348
- * <p>The time of the most recent update to the AFI.</p>
7379
+ * <p>The type of traffic captured for the flow log.</p>
7349
7380
  * @public
7350
7381
  */
7351
- UpdateTime?: Date | undefined;
7382
+ TrafficType?: TrafficType | undefined;
7352
7383
  /**
7353
- * <p>The ID of the Amazon Web Services account that owns the AFI.</p>
7384
+ * <p>The type of destination for the flow log data.</p>
7354
7385
  * @public
7355
7386
  */
7356
- OwnerId?: string | undefined;
7387
+ LogDestinationType?: LogDestinationType | undefined;
7357
7388
  /**
7358
- * <p>The alias of the AFI owner. Possible values include <code>self</code>, <code>amazon</code>, and <code>aws-marketplace</code>.</p>
7389
+ * <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
7359
7390
  * @public
7360
7391
  */
7361
- OwnerAlias?: string | undefined;
7392
+ LogDestination?: string | undefined;
7362
7393
  /**
7363
- * <p>The product codes for the AFI.</p>
7394
+ * <p>The format of the flow log record.</p>
7364
7395
  * @public
7365
7396
  */
7366
- ProductCodes?: ProductCode[] | undefined;
7397
+ LogFormat?: string | undefined;
7367
7398
  /**
7368
- * <p>Any tags assigned to the AFI.</p>
7399
+ * <p>The tags for the flow log.</p>
7369
7400
  * @public
7370
7401
  */
7371
7402
  Tags?: Tag[] | undefined;
7372
7403
  /**
7373
- * <p>Indicates whether the AFI is public.</p>
7374
- * @public
7375
- */
7376
- Public?: boolean | undefined;
7377
- /**
7378
- * <p>Indicates whether data retention support is enabled for the AFI.</p>
7404
+ * <p>The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.</p>
7405
+ * <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Nitro-based
7406
+ * instance</a>, the aggregation interval is always 60 seconds (1 minute) or less,
7407
+ * regardless of the specified value.</p>
7408
+ * <p>Valid Values: <code>60</code> | <code>600</code>
7409
+ * </p>
7379
7410
  * @public
7380
7411
  */
7381
- DataRetentionSupport?: boolean | undefined;
7412
+ MaxAggregationInterval?: number | undefined;
7382
7413
  /**
7383
- * <p>The instance types supported by the AFI.</p>
7414
+ * <p>The destination options.</p>
7384
7415
  * @public
7385
7416
  */
7386
- InstanceTypes?: string[] | undefined;
7417
+ DestinationOptions?: DestinationOptionsResponse | undefined;
7387
7418
  }
7388
7419
  /**
7389
7420
  * @public
7390
7421
  */
7391
- export interface DescribeFpgaImagesResult {
7422
+ export interface DescribeFlowLogsResult {
7392
7423
  /**
7393
- * <p>Information about the FPGA images.</p>
7424
+ * <p>Information about the flow logs.</p>
7394
7425
  * @public
7395
7426
  */
7396
- FpgaImages?: FpgaImage[] | undefined;
7427
+ FlowLogs?: FlowLog[] | undefined;
7397
7428
  /**
7398
- * <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>
7429
+ * <p>The token to request the next page of items. This value is <code>null</code> when there are no more items to return.</p>
7399
7430
  * @public
7400
7431
  */
7401
7432
  NextToken?: string | undefined;
7402
7433
  }
7403
7434
  /**
7404
7435
  * @public
7436
+ * @enum
7405
7437
  */
7406
- export interface DescribeHostReservationOfferingsRequest {
7407
- /**
7408
- * <p>The filters.</p>
7409
- * <ul>
7410
- * <li>
7411
- * <p>
7412
- * <code>instance-family</code> - The instance family of the offering (for example,
7413
- * <code>m4</code>).</p>
7414
- * </li>
7415
- * <li>
7416
- * <p>
7417
- * <code>payment-option</code> - The payment option (<code>NoUpfront</code> |
7418
- * <code>PartialUpfront</code> | <code>AllUpfront</code>).</p>
7419
- * </li>
7420
- * </ul>
7421
- * @public
7422
- */
7423
- Filter?: Filter[] | undefined;
7438
+ export declare const FpgaImageAttributeName: {
7439
+ readonly description: "description";
7440
+ readonly loadPermission: "loadPermission";
7441
+ readonly name: "name";
7442
+ readonly productCodes: "productCodes";
7443
+ };
7444
+ /**
7445
+ * @public
7446
+ */
7447
+ export type FpgaImageAttributeName = (typeof FpgaImageAttributeName)[keyof typeof FpgaImageAttributeName];
7448
+ /**
7449
+ * @public
7450
+ */
7451
+ export interface DescribeFpgaImageAttributeRequest {
7424
7452
  /**
7425
- * <p>This is the maximum duration of the reservation to purchase, specified in seconds.
7426
- * Reservations are available in one-year and three-year terms. The number of seconds
7427
- * specified must be the number of seconds in a year (365x24x60x60) times one of the
7428
- * supported durations (1 or 3). For example, specify 94608000 for three years.</p>
7453
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
7454
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7455
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7429
7456
  * @public
7430
7457
  */
7431
- MaxDuration?: number | undefined;
7458
+ DryRun?: boolean | undefined;
7432
7459
  /**
7433
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
7460
+ * <p>The ID of the AFI.</p>
7434
7461
  * @public
7435
7462
  */
7436
- MaxResults?: number | undefined;
7463
+ FpgaImageId: string | undefined;
7437
7464
  /**
7438
- * <p>This is the minimum duration of the reservation you'd like to purchase, specified in
7439
- * seconds. Reservations are available in one-year and three-year terms. The number of
7440
- * seconds specified must be the number of seconds in a year (365x24x60x60) times one of
7441
- * the supported durations (1 or 3). For example, specify 31536000 for one year.</p>
7465
+ * <p>The AFI attribute.</p>
7442
7466
  * @public
7443
7467
  */
7444
- MinDuration?: number | undefined;
7468
+ Attribute: FpgaImageAttributeName | undefined;
7469
+ }
7470
+ /**
7471
+ * @public
7472
+ * @enum
7473
+ */
7474
+ export declare const PermissionGroup: {
7475
+ readonly all: "all";
7476
+ };
7477
+ /**
7478
+ * @public
7479
+ */
7480
+ export type PermissionGroup = (typeof PermissionGroup)[keyof typeof PermissionGroup];
7481
+ /**
7482
+ * <p>Describes a load permission.</p>
7483
+ * @public
7484
+ */
7485
+ export interface LoadPermission {
7445
7486
  /**
7446
- * <p>The token to use to retrieve the next page of results.</p>
7487
+ * <p>The Amazon Web Services account ID.</p>
7447
7488
  * @public
7448
7489
  */
7449
- NextToken?: string | undefined;
7490
+ UserId?: string | undefined;
7450
7491
  /**
7451
- * <p>The ID of the reservation offering.</p>
7492
+ * <p>The name of the group.</p>
7452
7493
  * @public
7453
7494
  */
7454
- OfferingId?: string | undefined;
7495
+ Group?: PermissionGroup | undefined;
7455
7496
  }
7456
7497
  /**
7457
7498
  * @public
7458
7499
  * @enum
7459
7500
  */
7460
- export declare const PaymentOption: {
7461
- readonly ALL_UPFRONT: "AllUpfront";
7462
- readonly NO_UPFRONT: "NoUpfront";
7463
- readonly PARTIAL_UPFRONT: "PartialUpfront";
7501
+ export declare const ProductCodeValues: {
7502
+ readonly devpay: "devpay";
7503
+ readonly marketplace: "marketplace";
7464
7504
  };
7465
7505
  /**
7466
7506
  * @public
7467
7507
  */
7468
- export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
7508
+ export type ProductCodeValues = (typeof ProductCodeValues)[keyof typeof ProductCodeValues];
7469
7509
  /**
7470
7510
  * @internal
7471
7511
  */