@aws-sdk/client-ec2 3.218.0 → 3.219.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 (178) hide show
  1. package/dist-cjs/EC2.js +75 -0
  2. package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +1 -2
  3. package/dist-cjs/commands/CreateSubnetCommand.js +3 -3
  4. package/dist-cjs/commands/DeregisterInstanceEventNotificationAttributesCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeIpamScopesCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeIpamsCommand.js +2 -1
  8. package/dist-cjs/commands/DescribeIpv6PoolsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeKeyPairsCommand.js +3 -3
  10. package/dist-cjs/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +46 -0
  11. package/dist-cjs/commands/DisassociateIamInstanceProfileCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateInstanceEventWindowCommand.js +3 -3
  13. package/dist-cjs/commands/DisassociateRouteTableCommand.js +2 -2
  14. package/dist-cjs/commands/DisassociateSubnetCidrBlockCommand.js +3 -3
  15. package/dist-cjs/commands/DisassociateTransitGatewayMulticastDomainCommand.js +3 -3
  16. package/dist-cjs/commands/DisassociateTransitGatewayPolicyTableCommand.js +3 -3
  17. package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +1 -2
  18. package/dist-cjs/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.js +46 -0
  19. package/dist-cjs/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.js +46 -0
  20. package/dist-cjs/commands/GetAwsNetworkPerformanceDataCommand.js +46 -0
  21. package/dist-cjs/commands/ModifyTransitGatewayCommand.js +2 -1
  22. package/dist-cjs/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +3 -3
  23. package/dist-cjs/commands/ModifyTransitGatewayVpcAttachmentCommand.js +3 -3
  24. package/dist-cjs/commands/ModifyVolumeAttributeCommand.js +2 -2
  25. package/dist-cjs/commands/ModifyVolumeCommand.js +3 -3
  26. package/dist-cjs/commands/ModifyVpcAttributeCommand.js +2 -2
  27. package/dist-cjs/commands/ModifyVpcEndpointCommand.js +3 -3
  28. package/dist-cjs/commands/ModifyVpcEndpointConnectionNotificationCommand.js +3 -3
  29. package/dist-cjs/commands/ModifyVpcEndpointServiceConfigurationCommand.js +3 -3
  30. package/dist-cjs/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +3 -3
  31. package/dist-cjs/commands/ModifyVpcEndpointServicePermissionsCommand.js +3 -3
  32. package/dist-cjs/commands/index.js +5 -0
  33. package/dist-cjs/models/models_0.js +13 -14
  34. package/dist-cjs/models/models_1.js +23 -23
  35. package/dist-cjs/models/models_2.js +23 -22
  36. package/dist-cjs/models/models_3.js +51 -46
  37. package/dist-cjs/models/models_4.js +54 -54
  38. package/dist-cjs/models/models_5.js +90 -90
  39. package/dist-cjs/models/models_6.js +88 -4
  40. package/dist-cjs/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.js +36 -0
  41. package/dist-cjs/pagination/GetAwsNetworkPerformanceDataPaginator.js +36 -0
  42. package/dist-cjs/pagination/index.js +3 -1
  43. package/dist-cjs/protocols/Aws_ec2.js +617 -18
  44. package/dist-es/EC2.js +75 -0
  45. package/dist-es/commands/CreateSubnetCidrReservationCommand.js +1 -2
  46. package/dist-es/commands/CreateSubnetCommand.js +1 -1
  47. package/dist-es/commands/DeregisterInstanceEventNotificationAttributesCommand.js +1 -1
  48. package/dist-es/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.js +42 -0
  49. package/dist-es/commands/DescribeIpamScopesCommand.js +1 -1
  50. package/dist-es/commands/DescribeIpamsCommand.js +2 -1
  51. package/dist-es/commands/DescribeIpv6PoolsCommand.js +1 -1
  52. package/dist-es/commands/DescribeKeyPairsCommand.js +1 -1
  53. package/dist-es/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +42 -0
  54. package/dist-es/commands/DisassociateIamInstanceProfileCommand.js +2 -1
  55. package/dist-es/commands/DisassociateInstanceEventWindowCommand.js +1 -1
  56. package/dist-es/commands/DisassociateRouteTableCommand.js +1 -1
  57. package/dist-es/commands/DisassociateSubnetCidrBlockCommand.js +1 -1
  58. package/dist-es/commands/DisassociateTransitGatewayMulticastDomainCommand.js +1 -1
  59. package/dist-es/commands/DisassociateTransitGatewayPolicyTableCommand.js +1 -1
  60. package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +1 -2
  61. package/dist-es/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.js +42 -0
  62. package/dist-es/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.js +42 -0
  63. package/dist-es/commands/GetAwsNetworkPerformanceDataCommand.js +42 -0
  64. package/dist-es/commands/ModifyTransitGatewayCommand.js +2 -1
  65. package/dist-es/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +1 -1
  66. package/dist-es/commands/ModifyTransitGatewayVpcAttachmentCommand.js +1 -1
  67. package/dist-es/commands/ModifyVolumeAttributeCommand.js +1 -1
  68. package/dist-es/commands/ModifyVolumeCommand.js +1 -1
  69. package/dist-es/commands/ModifyVpcAttributeCommand.js +1 -1
  70. package/dist-es/commands/ModifyVpcEndpointCommand.js +1 -1
  71. package/dist-es/commands/ModifyVpcEndpointConnectionNotificationCommand.js +1 -1
  72. package/dist-es/commands/ModifyVpcEndpointServiceConfigurationCommand.js +1 -1
  73. package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +1 -1
  74. package/dist-es/commands/ModifyVpcEndpointServicePermissionsCommand.js +1 -1
  75. package/dist-es/commands/index.js +5 -0
  76. package/dist-es/models/models_0.js +6 -8
  77. package/dist-es/models/models_1.js +14 -14
  78. package/dist-es/models/models_2.js +14 -12
  79. package/dist-es/models/models_3.js +38 -30
  80. package/dist-es/models/models_4.js +36 -36
  81. package/dist-es/models/models_5.js +63 -63
  82. package/dist-es/models/models_6.js +63 -0
  83. package/dist-es/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.js +32 -0
  84. package/dist-es/pagination/GetAwsNetworkPerformanceDataPaginator.js +32 -0
  85. package/dist-es/pagination/index.js +3 -1
  86. package/dist-es/protocols/Aws_ec2.js +588 -0
  87. package/dist-types/EC2.d.ts +36 -3
  88. package/dist-types/EC2Client.d.ts +7 -2
  89. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -2
  91. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  92. package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  93. package/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +37 -0
  94. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
  95. package/dist-types/commands/DescribeIpamsCommand.d.ts +2 -1
  96. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  97. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
  98. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  99. package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +37 -0
  100. package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +2 -1
  101. package/dist-types/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
  102. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  103. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
  104. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  105. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  106. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -2
  107. package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +37 -0
  108. package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +20 -0
  109. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +37 -0
  110. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +2 -1
  111. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  112. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  113. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  114. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  115. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  116. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  117. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  118. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  119. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  120. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  121. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -1
  122. package/dist-types/commands/index.d.ts +5 -0
  123. package/dist-types/models/models_0.d.ts +47 -32
  124. package/dist-types/models/models_1.d.ts +135 -175
  125. package/dist-types/models/models_2.d.ts +124 -64
  126. package/dist-types/models/models_3.d.ts +191 -292
  127. package/dist-types/models/models_4.d.ts +373 -221
  128. package/dist-types/models/models_5.d.ts +396 -526
  129. package/dist-types/models/models_6.d.ts +539 -12
  130. package/dist-types/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.d.ts +4 -0
  131. package/dist-types/pagination/GetAwsNetworkPerformanceDataPaginator.d.ts +4 -0
  132. package/dist-types/pagination/index.d.ts +3 -1
  133. package/dist-types/protocols/Aws_ec2.d.ts +15 -0
  134. package/dist-types/ts3.4/EC2.d.ts +109 -0
  135. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  136. package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +4 -2
  137. package/dist-types/ts3.4/commands/CreateSubnetCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +43 -0
  140. package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +2 -1
  142. package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +43 -0
  145. package/dist-types/ts3.4/commands/DisassociateIamInstanceProfileCommand.d.ts +2 -4
  146. package/dist-types/ts3.4/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/DisassociateRouteTableCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +4 -2
  152. package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +41 -0
  153. package/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +41 -0
  154. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +41 -0
  155. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +2 -4
  156. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  167. package/dist-types/ts3.4/models/models_0.d.ts +14 -12
  168. package/dist-types/ts3.4/models/models_1.d.ts +28 -37
  169. package/dist-types/ts3.4/models/models_2.d.ts +36 -28
  170. package/dist-types/ts3.4/models/models_3.d.ts +67 -84
  171. package/dist-types/ts3.4/models/models_4.d.ts +103 -90
  172. package/dist-types/ts3.4/models/models_5.d.ts +165 -190
  173. package/dist-types/ts3.4/models/models_6.d.ts +195 -6
  174. package/dist-types/ts3.4/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.d.ts +11 -0
  175. package/dist-types/ts3.4/pagination/GetAwsNetworkPerformanceDataPaginator.d.ts +11 -0
  176. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  177. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  178. package/package.json +1 -1
@@ -1,6 +1,54 @@
1
1
  import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CurrencyCodeValues, CustomerGateway, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransportProtocol } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
- import { FleetStateCode, InstanceTagNotificationAttribute } from "./models_2";
2
+ import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, IpamPool, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
+ import { FleetStateCode } from "./models_2";
4
+ /**
5
+ * <p>Information about the tag keys to deregister for the current Region. You can either specify
6
+ * individual tag keys or deregister all tag keys in the current Region. You must specify either
7
+ * <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the request</p>
8
+ */
9
+ export interface DeregisterInstanceTagAttributeRequest {
10
+ /**
11
+ * <p>Indicates whether to deregister all tag keys in the current Region. Specify <code>false</code>
12
+ * to deregister all tag keys.</p>
13
+ */
14
+ IncludeAllTagsOfInstance?: boolean;
15
+ /**
16
+ * <p>Information about the tag keys to deregister.</p>
17
+ */
18
+ InstanceTagKeys?: string[];
19
+ }
20
+ export interface DeregisterInstanceEventNotificationAttributesRequest {
21
+ /**
22
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
23
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
24
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
25
+ */
26
+ DryRun?: boolean;
27
+ /**
28
+ * <p>Information about the tag keys to deregister.</p>
29
+ */
30
+ InstanceTagAttribute?: DeregisterInstanceTagAttributeRequest;
31
+ }
32
+ /**
33
+ * <p>Describes the registered tag keys for the current Region.</p>
34
+ */
35
+ export interface InstanceTagNotificationAttribute {
36
+ /**
37
+ * <p>The registered tag keys.</p>
38
+ */
39
+ InstanceTagKeys?: string[];
40
+ /**
41
+ * <p>Indicates wheter all tag keys in the current Region are registered to appear in scheduled event notifications.
42
+ * <code>true</code> indicates that all tag keys in the current Region are registered.</p>
43
+ */
44
+ IncludeAllTagsOfInstance?: boolean;
45
+ }
46
+ export interface DeregisterInstanceEventNotificationAttributesResult {
47
+ /**
48
+ * <p>The resulting set of tag keys.</p>
49
+ */
50
+ InstanceTagAttribute?: InstanceTagNotificationAttribute;
51
+ }
4
52
  export interface DeregisterTransitGatewayMulticastGroupMembersRequest {
5
53
  /**
6
54
  * <p>The ID of the transit gateway multicast domain.</p>
@@ -470,6 +518,76 @@ export interface DescribeAvailabilityZonesResult {
470
518
  */
471
519
  AvailabilityZones?: AvailabilityZone[];
472
520
  }
521
+ export interface DescribeAwsNetworkPerformanceMetricSubscriptionsRequest {
522
+ /**
523
+ * <p>The maximum number of results to return with a single call.
524
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
525
+ */
526
+ MaxResults?: number;
527
+ /**
528
+ * <p>The token for the next page of results.</p>
529
+ */
530
+ NextToken?: string;
531
+ /**
532
+ * <p>One or more filters.</p>
533
+ */
534
+ Filters?: Filter[];
535
+ /**
536
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
537
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
538
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
539
+ */
540
+ DryRun?: boolean;
541
+ }
542
+ export declare enum MetricType {
543
+ aggregate_latency = "aggregate-latency"
544
+ }
545
+ export declare enum PeriodType {
546
+ fifteen_minutes = "fifteen-minutes",
547
+ five_minutes = "five-minutes",
548
+ one_day = "one-day",
549
+ one_hour = "one-hour",
550
+ one_week = "one-week",
551
+ three_hours = "three-hours"
552
+ }
553
+ export declare enum StatisticType {
554
+ p50 = "p50"
555
+ }
556
+ /**
557
+ * <p>Describes an Infrastructure Performance subscription.</p>
558
+ */
559
+ export interface Subscription {
560
+ /**
561
+ * <p>The Region or Availability Zone that's the source for the subscription. For example, <code>us-east-1</code>.</p>
562
+ */
563
+ Source?: string;
564
+ /**
565
+ * <p>The Region or Availability Zone that's the target for the subscription. For example, <code>eu-west-1</code>.</p>
566
+ */
567
+ Destination?: string;
568
+ /**
569
+ * <p>The metric used for the subscription.</p>
570
+ */
571
+ Metric?: MetricType | string;
572
+ /**
573
+ * <p>The statistic used for the subscription.</p>
574
+ */
575
+ Statistic?: StatisticType | string;
576
+ /**
577
+ * <p>The data aggregation time for the subscription.</p>
578
+ */
579
+ Period?: PeriodType | string;
580
+ }
581
+ export interface DescribeAwsNetworkPerformanceMetricSubscriptionsResult {
582
+ /**
583
+ * <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>
584
+ */
585
+ NextToken?: string;
586
+ /**
587
+ * <p>Describes the current Infrastructure Performance subscriptions.</p>
588
+ */
589
+ Subscriptions?: Subscription[];
590
+ }
473
591
  export interface DescribeBundleTasksRequest {
474
592
  /**
475
593
  * <p>The bundle task IDs.</p>
@@ -3099,28 +3217,48 @@ export interface SpotOptions {
3099
3217
  * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
3100
3218
  * pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
3101
3219
  * <i>Amazon EC2 User Guide</i>.</p>
3102
- * <p>
3103
- * <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
3104
- * has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
3105
- * come from the next cheapest pool that has available capacity. If a pool runs out of
3106
- * capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
3107
- * request by drawing from the next cheapest pool. To ensure that your desired capacity is
3108
- * met, you might receive Spot Instances from several pools.</p>
3109
- * <p>
3110
- * <code>diversified</code> - EC2 Fleet launches instances from all of the Spot Instance pools that you
3111
- * specify.</p>
3112
- * <p>
3113
- * <code>capacity-optimized</code> (recommended) - EC2 Fleet launches instances from Spot Instance pools
3114
- * with optimal capacity for the number of instances that are launching. To give certain
3115
- * instance types a higher chance of launching first, use
3116
- * <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
3117
- * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
3118
- * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
3119
- * the priorities on a best-effort basis, but optimizes for capacity first.
3120
- * <code>capacity-optimized-prioritized</code> is supported only if your fleet uses a
3121
- * launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
3122
- * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
3123
- * capacity.</p>
3220
+ *
3221
+ * <dl>
3222
+ * <dt>price-capacity-optimized (recommended)</dt>
3223
+ * <dd>
3224
+ * <p>EC2 Fleet identifies the pools with
3225
+ * the highest capacity availability for the number of instances that are launching. This means
3226
+ * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
3227
+ * in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
3228
+ * </dd>
3229
+ * <dt>capacity-optimized</dt>
3230
+ * <dd>
3231
+ * <p>EC2 Fleet identifies the pools with
3232
+ * the highest capacity availability for the number of instances that are launching. This means
3233
+ * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
3234
+ * in the near term. To give certain
3235
+ * instance types a higher chance of launching first, use
3236
+ * <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
3237
+ * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
3238
+ * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
3239
+ * the priorities on a best-effort basis, but optimizes for capacity first.
3240
+ * <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
3241
+ * launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
3242
+ * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
3243
+ * capacity.</p>
3244
+ * </dd>
3245
+ * <dt>diversified</dt>
3246
+ * <dd>
3247
+ * <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
3248
+ * specify.</p>
3249
+ * </dd>
3250
+ * <dt>lowest-price</dt>
3251
+ * <dd>
3252
+ * <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
3253
+ * has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
3254
+ * come from the next lowest priced pool that has available capacity. If a pool runs out of
3255
+ * capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
3256
+ * request by drawing from the next lowest priced pool. To ensure that your desired capacity is
3257
+ * met, you might receive Spot Instances from several pools. Because this strategy only considers instance
3258
+ * price and not capacity availability, it might lead to high interruption rates.</p>
3259
+ * </dd>
3260
+ * </dl>
3261
+ *
3124
3262
  * <p>Default: <code>lowest-price</code>
3125
3263
  * </p>
3126
3264
  */
@@ -7684,6 +7822,12 @@ export interface NetworkInfo {
7684
7822
  * <p>Indicates whether the instance type automatically encrypts in-transit traffic between instances.</p>
7685
7823
  */
7686
7824
  EncryptionInTransitSupported?: boolean;
7825
+ /**
7826
+ * <p>Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable
7827
+ * Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and
7828
+ * minimize tail latency of network traffic between EC2 instances.</p>
7829
+ */
7830
+ EnaSrdSupported?: boolean;
7687
7831
  }
7688
7832
  export declare enum PlacementGroupStrategy {
7689
7833
  cluster = "cluster",
@@ -7752,7 +7896,7 @@ export interface VCpuInfo {
7752
7896
  */
7753
7897
  ValidCores?: number[];
7754
7898
  /**
7755
- * <p>The valid number of threads per core that can be configured for the instance type. </p>
7899
+ * <p>The valid number of threads per core that can be configured for the instance type.</p>
7756
7900
  */
7757
7901
  ValidThreadsPerCore?: number[];
7758
7902
  }
@@ -7991,239 +8135,22 @@ export interface DescribeIpamsRequest {
7991
8135
  */
7992
8136
  IpamIds?: string[];
7993
8137
  }
7994
- export interface DescribeIpamsResult {
7995
- /**
7996
- * <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>
7997
- */
7998
- NextToken?: string;
7999
- /**
8000
- * <p>Information about the IPAMs.</p>
8001
- */
8002
- Ipams?: Ipam[];
8003
- }
8004
- export interface DescribeIpamScopesRequest {
8005
- /**
8006
- * <p>A check for whether you have the required permissions for the action without actually making the request
8007
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8008
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8009
- */
8010
- DryRun?: boolean;
8011
- /**
8012
- * <p>One or more filters for the request. For more information about filtering, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html">Filtering CLI output</a>.</p>
8013
- */
8014
- Filters?: Filter[];
8015
- /**
8016
- * <p>The maximum number of results to return in the request.</p>
8017
- */
8018
- MaxResults?: number;
8019
- /**
8020
- * <p>The token for the next page of results.</p>
8021
- */
8022
- NextToken?: string;
8023
- /**
8024
- * <p>The IDs of the scopes you want information on.</p>
8025
- */
8026
- IpamScopeIds?: string[];
8027
- }
8028
- export interface DescribeIpamScopesResult {
8029
- /**
8030
- * <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>
8031
- */
8032
- NextToken?: string;
8033
- /**
8034
- * <p>The scopes you want information on.</p>
8035
- */
8036
- IpamScopes?: IpamScope[];
8037
- }
8038
- export interface DescribeIpv6PoolsRequest {
8039
- /**
8040
- * <p>The IDs of the IPv6 address pools.</p>
8041
- */
8042
- PoolIds?: string[];
8043
- /**
8044
- * <p>The token for the next page of results.</p>
8045
- */
8046
- NextToken?: string;
8047
- /**
8048
- * <p>The maximum number of results to return with a single call.
8049
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
8050
- */
8051
- MaxResults?: number;
8052
- /**
8053
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8054
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8055
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8056
- */
8057
- DryRun?: boolean;
8058
- /**
8059
- * <p>One or more filters.</p>
8060
- * <ul>
8061
- * <li>
8062
- * <p>
8063
- * <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.
8064
- * 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>
8065
- * </li>
8066
- * <li>
8067
- * <p>
8068
- * <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>
8069
- * </li>
8070
- * </ul>
8071
- */
8072
- Filters?: Filter[];
8073
- }
8074
8138
  /**
8075
- * <p>Describes a CIDR block for an address pool.</p>
8139
+ * @internal
8076
8140
  */
8077
- export interface PoolCidrBlock {
8078
- /**
8079
- * <p>The CIDR block.</p>
8080
- */
8081
- Cidr?: string;
8082
- }
8141
+ export declare const DeregisterInstanceTagAttributeRequestFilterSensitiveLog: (obj: DeregisterInstanceTagAttributeRequest) => any;
8083
8142
  /**
8084
- * <p>Describes an IPv6 address pool.</p>
8143
+ * @internal
8085
8144
  */
8086
- export interface Ipv6Pool {
8087
- /**
8088
- * <p>The ID of the address pool.</p>
8089
- */
8090
- PoolId?: string;
8091
- /**
8092
- * <p>The description for the address pool.</p>
8093
- */
8094
- Description?: string;
8095
- /**
8096
- * <p>The CIDR blocks for the address pool.</p>
8097
- */
8098
- PoolCidrBlocks?: PoolCidrBlock[];
8099
- /**
8100
- * <p>Any tags for the address pool.</p>
8101
- */
8102
- Tags?: Tag[];
8103
- }
8104
- export interface DescribeIpv6PoolsResult {
8105
- /**
8106
- * <p>Information about the IPv6 address pools.</p>
8107
- */
8108
- Ipv6Pools?: Ipv6Pool[];
8109
- /**
8110
- * <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>
8111
- */
8112
- NextToken?: string;
8113
- }
8114
- export interface DescribeKeyPairsRequest {
8115
- /**
8116
- * <p>The filters.</p>
8117
- * <ul>
8118
- * <li>
8119
- * <p>
8120
- * <code>key-pair-id</code> - The ID of the key pair.</p>
8121
- * </li>
8122
- * <li>
8123
- * <p>
8124
- * <code>fingerprint</code> - The fingerprint of the key pair.</p>
8125
- * </li>
8126
- * <li>
8127
- * <p>
8128
- * <code>key-name</code> - The name of the key pair.</p>
8129
- * </li>
8130
- * <li>
8131
- * <p>
8132
- * <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>
8133
- * </li>
8134
- * <li>
8135
- * <p>
8136
- * <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.
8137
- * 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>
8138
- * </li>
8139
- * </ul>
8140
- */
8141
- Filters?: Filter[];
8142
- /**
8143
- * <p>The key pair names.</p>
8144
- * <p>Default: Describes all of your key pairs.</p>
8145
- */
8146
- KeyNames?: string[];
8147
- /**
8148
- * <p>The IDs of the key pairs.</p>
8149
- */
8150
- KeyPairIds?: string[];
8151
- /**
8152
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8153
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8154
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8155
- */
8156
- DryRun?: boolean;
8157
- /**
8158
- * <p>If <code>true</code>, the public key material is included in the response.</p>
8159
- * <p>Default: <code>false</code>
8160
- * </p>
8161
- */
8162
- IncludePublicKey?: boolean;
8163
- }
8145
+ export declare const DeregisterInstanceEventNotificationAttributesRequestFilterSensitiveLog: (obj: DeregisterInstanceEventNotificationAttributesRequest) => any;
8164
8146
  /**
8165
- * <p>Describes a key pair.</p>
8147
+ * @internal
8166
8148
  */
8167
- export interface KeyPairInfo {
8168
- /**
8169
- * <p>The ID of the key pair.</p>
8170
- */
8171
- KeyPairId?: string;
8172
- /**
8173
- * <p>If you used <a>CreateKeyPair</a> to create the key pair:</p>
8174
- * <ul>
8175
- * <li>
8176
- * <p>For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.</p>
8177
- * </li>
8178
- * <li>
8179
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which
8180
- * is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
8181
- * </li>
8182
- * </ul>
8183
- * <p>If you used <a>ImportKeyPair</a> to provide Amazon Web Services the public key:</p>
8184
- * <ul>
8185
- * <li>
8186
- * <p>For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.</p>
8187
- * </li>
8188
- * <li>
8189
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256
8190
- * digest, which is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
8191
- * </li>
8192
- * </ul>
8193
- */
8194
- KeyFingerprint?: string;
8195
- /**
8196
- * <p>The name of the key pair.</p>
8197
- */
8198
- KeyName?: string;
8199
- /**
8200
- * <p>The type of key pair.</p>
8201
- */
8202
- KeyType?: KeyType | string;
8203
- /**
8204
- * <p>Any tags applied to the key pair.</p>
8205
- */
8206
- Tags?: Tag[];
8207
- /**
8208
- * <p>The public key material.</p>
8209
- */
8210
- PublicKey?: string;
8211
- /**
8212
- * <p>If you used Amazon EC2 to create the key pair, this is the date and time when the key
8213
- * was created, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO
8214
- * 8601 date-time format</a>, in the UTC time zone.</p>
8215
- * <p>If you imported an existing key pair to Amazon EC2, this is the date and time the key
8216
- * was imported, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO
8217
- * 8601 date-time format</a>, in the UTC time zone.</p>
8218
- */
8219
- CreateTime?: Date;
8220
- }
8221
- export interface DescribeKeyPairsResult {
8222
- /**
8223
- * <p>Information about the key pairs.</p>
8224
- */
8225
- KeyPairs?: KeyPairInfo[];
8226
- }
8149
+ export declare const InstanceTagNotificationAttributeFilterSensitiveLog: (obj: InstanceTagNotificationAttribute) => any;
8150
+ /**
8151
+ * @internal
8152
+ */
8153
+ export declare const DeregisterInstanceEventNotificationAttributesResultFilterSensitiveLog: (obj: DeregisterInstanceEventNotificationAttributesResult) => any;
8227
8154
  /**
8228
8155
  * @internal
8229
8156
  */
@@ -8312,6 +8239,18 @@ export declare const AvailabilityZoneFilterSensitiveLog: (obj: AvailabilityZone)
8312
8239
  * @internal
8313
8240
  */
8314
8241
  export declare const DescribeAvailabilityZonesResultFilterSensitiveLog: (obj: DescribeAvailabilityZonesResult) => any;
8242
+ /**
8243
+ * @internal
8244
+ */
8245
+ export declare const DescribeAwsNetworkPerformanceMetricSubscriptionsRequestFilterSensitiveLog: (obj: DescribeAwsNetworkPerformanceMetricSubscriptionsRequest) => any;
8246
+ /**
8247
+ * @internal
8248
+ */
8249
+ export declare const SubscriptionFilterSensitiveLog: (obj: Subscription) => any;
8250
+ /**
8251
+ * @internal
8252
+ */
8253
+ export declare const DescribeAwsNetworkPerformanceMetricSubscriptionsResultFilterSensitiveLog: (obj: DescribeAwsNetworkPerformanceMetricSubscriptionsResult) => any;
8315
8254
  /**
8316
8255
  * @internal
8317
8256
  */
@@ -9152,43 +9091,3 @@ export declare const DescribeIpamPoolsResultFilterSensitiveLog: (obj: DescribeIp
9152
9091
  * @internal
9153
9092
  */
9154
9093
  export declare const DescribeIpamsRequestFilterSensitiveLog: (obj: DescribeIpamsRequest) => any;
9155
- /**
9156
- * @internal
9157
- */
9158
- export declare const DescribeIpamsResultFilterSensitiveLog: (obj: DescribeIpamsResult) => any;
9159
- /**
9160
- * @internal
9161
- */
9162
- export declare const DescribeIpamScopesRequestFilterSensitiveLog: (obj: DescribeIpamScopesRequest) => any;
9163
- /**
9164
- * @internal
9165
- */
9166
- export declare const DescribeIpamScopesResultFilterSensitiveLog: (obj: DescribeIpamScopesResult) => any;
9167
- /**
9168
- * @internal
9169
- */
9170
- export declare const DescribeIpv6PoolsRequestFilterSensitiveLog: (obj: DescribeIpv6PoolsRequest) => any;
9171
- /**
9172
- * @internal
9173
- */
9174
- export declare const PoolCidrBlockFilterSensitiveLog: (obj: PoolCidrBlock) => any;
9175
- /**
9176
- * @internal
9177
- */
9178
- export declare const Ipv6PoolFilterSensitiveLog: (obj: Ipv6Pool) => any;
9179
- /**
9180
- * @internal
9181
- */
9182
- export declare const DescribeIpv6PoolsResultFilterSensitiveLog: (obj: DescribeIpv6PoolsResult) => any;
9183
- /**
9184
- * @internal
9185
- */
9186
- export declare const DescribeKeyPairsRequestFilterSensitiveLog: (obj: DescribeKeyPairsRequest) => any;
9187
- /**
9188
- * @internal
9189
- */
9190
- export declare const KeyPairInfoFilterSensitiveLog: (obj: KeyPairInfo) => any;
9191
- /**
9192
- * @internal
9193
- */
9194
- export declare const DescribeKeyPairsResultFilterSensitiveLog: (obj: DescribeKeyPairsResult) => any;