@aws-sdk/client-ec2 3.47.2 → 3.48.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 (124) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/EC2.js +45 -0
  3. package/dist-cjs/commands/DescribeFastLaunchImagesCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeReservedInstancesListingsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeReservedInstancesModificationsCommand.js +1 -2
  7. package/dist-cjs/commands/DisableFastLaunchCommand.js +36 -0
  8. package/dist-cjs/commands/EnableFastLaunchCommand.js +36 -0
  9. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +2 -1
  10. package/dist-cjs/commands/GetIpamAddressHistoryCommand.js +3 -3
  11. package/dist-cjs/commands/GetIpamPoolAllocationsCommand.js +3 -3
  12. package/dist-cjs/commands/GetIpamPoolCidrsCommand.js +3 -3
  13. package/dist-cjs/commands/GetIpamResourceCidrsCommand.js +1 -2
  14. package/dist-cjs/commands/RestoreAddressToClassicCommand.js +3 -3
  15. package/dist-cjs/commands/RestoreManagedPrefixListVersionCommand.js +3 -3
  16. package/dist-cjs/commands/RestoreSnapshotFromRecycleBinCommand.js +3 -3
  17. package/dist-cjs/commands/RestoreSnapshotTierCommand.js +3 -3
  18. package/dist-cjs/commands/RevokeClientVpnIngressCommand.js +3 -3
  19. package/dist-cjs/commands/RevokeSecurityGroupEgressCommand.js +3 -3
  20. package/dist-cjs/commands/RevokeSecurityGroupIngressCommand.js +3 -3
  21. package/dist-cjs/commands/index.js +3 -0
  22. package/dist-cjs/models/models_0.js +14 -7
  23. package/dist-cjs/models/models_1.js +11 -6
  24. package/dist-cjs/models/models_2.js +7 -13
  25. package/dist-cjs/models/models_3.js +61 -53
  26. package/dist-cjs/models/models_4.js +89 -101
  27. package/dist-cjs/models/models_5.js +101 -96
  28. package/dist-cjs/models/models_6.js +92 -2
  29. package/dist-cjs/pagination/DescribeFastLaunchImagesPaginator.js +35 -0
  30. package/dist-cjs/pagination/index.js +1 -0
  31. package/dist-cjs/protocols/Aws_ec2.js +501 -17
  32. package/dist-es/EC2.js +45 -0
  33. package/dist-es/commands/DescribeFastLaunchImagesCommand.js +39 -0
  34. package/dist-es/commands/DescribeReservedInstancesCommand.js +2 -1
  35. package/dist-es/commands/DescribeReservedInstancesListingsCommand.js +1 -1
  36. package/dist-es/commands/DescribeReservedInstancesModificationsCommand.js +1 -2
  37. package/dist-es/commands/DisableFastLaunchCommand.js +39 -0
  38. package/dist-es/commands/EnableFastLaunchCommand.js +39 -0
  39. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +2 -1
  40. package/dist-es/commands/GetIpamAddressHistoryCommand.js +1 -1
  41. package/dist-es/commands/GetIpamPoolAllocationsCommand.js +1 -1
  42. package/dist-es/commands/GetIpamPoolCidrsCommand.js +1 -1
  43. package/dist-es/commands/GetIpamResourceCidrsCommand.js +1 -2
  44. package/dist-es/commands/RestoreAddressToClassicCommand.js +1 -1
  45. package/dist-es/commands/RestoreManagedPrefixListVersionCommand.js +1 -1
  46. package/dist-es/commands/RestoreSnapshotFromRecycleBinCommand.js +1 -1
  47. package/dist-es/commands/RestoreSnapshotTierCommand.js +1 -1
  48. package/dist-es/commands/RevokeClientVpnIngressCommand.js +1 -1
  49. package/dist-es/commands/RevokeSecurityGroupEgressCommand.js +1 -1
  50. package/dist-es/commands/RevokeSecurityGroupIngressCommand.js +1 -1
  51. package/dist-es/commands/index.js +3 -0
  52. package/dist-es/models/models_0.js +10 -5
  53. package/dist-es/models/models_1.js +5 -0
  54. package/dist-es/models/models_2.js +4 -8
  55. package/dist-es/models/models_3.js +41 -33
  56. package/dist-es/models/models_4.js +57 -75
  57. package/dist-es/models/models_5.js +75 -60
  58. package/dist-es/models/models_6.js +60 -0
  59. package/dist-es/pagination/DescribeFastLaunchImagesPaginator.js +74 -0
  60. package/dist-es/pagination/index.js +1 -0
  61. package/dist-es/protocols/Aws_ec2.js +1498 -991
  62. package/dist-types/EC2.d.ts +28 -0
  63. package/dist-types/EC2Client.d.ts +5 -2
  64. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +35 -0
  65. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +2 -1
  66. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -2
  68. package/dist-types/commands/DisableFastLaunchCommand.d.ts +37 -0
  69. package/dist-types/commands/EnableFastLaunchCommand.d.ts +40 -0
  70. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -1
  71. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +1 -1
  72. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  73. package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  74. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -2
  75. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  76. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  77. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  78. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  79. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  80. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  81. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  82. package/dist-types/commands/index.d.ts +3 -0
  83. package/dist-types/models/models_0.d.ts +25 -11
  84. package/dist-types/models/models_1.d.ts +11 -8
  85. package/dist-types/models/models_2.d.ts +18 -71
  86. package/dist-types/models/models_3.d.ts +240 -298
  87. package/dist-types/models/models_4.d.ts +500 -334
  88. package/dist-types/models/models_5.d.ts +334 -420
  89. package/dist-types/models/models_6.d.ts +413 -3
  90. package/dist-types/pagination/DescribeFastLaunchImagesPaginator.d.ts +4 -0
  91. package/dist-types/pagination/index.d.ts +1 -0
  92. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  93. package/dist-types/ts3.4/EC2.d.ts +15 -0
  94. package/dist-types/ts3.4/EC2Client.d.ts +5 -2
  95. package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +2 -1
  97. package/dist-types/ts3.4/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -2
  99. package/dist-types/ts3.4/commands/DisableFastLaunchCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -1
  102. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -2
  106. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +17 -5
  115. package/dist-types/ts3.4/models/models_1.d.ts +5 -2
  116. package/dist-types/ts3.4/models/models_2.d.ts +12 -37
  117. package/dist-types/ts3.4/models/models_3.d.ts +122 -122
  118. package/dist-types/ts3.4/models/models_4.d.ts +224 -194
  119. package/dist-types/ts3.4/models/models_5.d.ts +196 -219
  120. package/dist-types/ts3.4/models/models_6.d.ts +218 -3
  121. package/dist-types/ts3.4/pagination/DescribeFastLaunchImagesPaginator.d.ts +4 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  123. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +9 -0
  124. package/package.json +3 -3
@@ -1,6 +1,72 @@
1
- import { _InstanceType, ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AttachmentStatus, AttributeValue, AutoPlacement, CurrencyCodeValues, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, PathComponent, PortRange, ReservedInstancesListing, Tag, Tenancy } from "./models_0";
1
+ import { _InstanceType, ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AttachmentStatus, AttributeValue, AutoPlacement, CurrencyCodeValues, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, PathComponent, PortRange, Tag } from "./models_0";
2
2
  import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, ExportTask, FleetCapacityReservationUsageStrategy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlacementGroup, PlatformValues, ReplaceRootVolumeTask, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType } from "./models_1";
3
- import { DiskImageDescription, DiskImageVolumeDescription, Filter, FleetStateCode, IdFormat, ImportInstanceTaskDetails, InstanceTagNotificationAttribute } from "./models_2";
3
+ import { DiskImageDescription, DiskImageVolumeDescription, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_2";
4
+ /**
5
+ * <p>Describes an import volume task.</p>
6
+ */
7
+ export interface ImportInstanceVolumeDetailItem {
8
+ /**
9
+ * <p>The Availability Zone where the resulting instance will reside.</p>
10
+ */
11
+ AvailabilityZone?: string;
12
+ /**
13
+ * <p>The number of bytes converted so far.</p>
14
+ */
15
+ BytesConverted?: number;
16
+ /**
17
+ * <p>A description of the task.</p>
18
+ */
19
+ Description?: string;
20
+ /**
21
+ * <p>The image.</p>
22
+ */
23
+ Image?: DiskImageDescription;
24
+ /**
25
+ * <p>The status of the import of this particular disk image.</p>
26
+ */
27
+ Status?: string;
28
+ /**
29
+ * <p>The status information or errors related to the disk image.</p>
30
+ */
31
+ StatusMessage?: string;
32
+ /**
33
+ * <p>The volume.</p>
34
+ */
35
+ Volume?: DiskImageVolumeDescription;
36
+ }
37
+ export declare namespace ImportInstanceVolumeDetailItem {
38
+ /**
39
+ * @internal
40
+ */
41
+ const filterSensitiveLog: (obj: ImportInstanceVolumeDetailItem) => any;
42
+ }
43
+ /**
44
+ * <p>Describes an import instance task.</p>
45
+ */
46
+ export interface ImportInstanceTaskDetails {
47
+ /**
48
+ * <p>A description of the task.</p>
49
+ */
50
+ Description?: string;
51
+ /**
52
+ * <p>The ID of the instance.</p>
53
+ */
54
+ InstanceId?: string;
55
+ /**
56
+ * <p>The instance operating system.</p>
57
+ */
58
+ Platform?: PlatformValues | string;
59
+ /**
60
+ * <p>The volumes.</p>
61
+ */
62
+ Volumes?: ImportInstanceVolumeDetailItem[];
63
+ }
64
+ export declare namespace ImportInstanceTaskDetails {
65
+ /**
66
+ * @internal
67
+ */
68
+ const filterSensitiveLog: (obj: ImportInstanceTaskDetails) => any;
69
+ }
4
70
  /**
5
71
  * <p>Describes an import volume task.</p>
6
72
  */
@@ -578,6 +644,174 @@ export declare namespace DescribeExportTasksResult {
578
644
  */
579
645
  const filterSensitiveLog: (obj: DescribeExportTasksResult) => any;
580
646
  }
647
+ export interface DescribeFastLaunchImagesRequest {
648
+ /**
649
+ * <p>Details for one or more Windows AMI image IDs.</p>
650
+ */
651
+ ImageIds?: string[];
652
+ /**
653
+ * <p>Use the following filters to streamline results.</p>
654
+ * <ul>
655
+ * <li>
656
+ * <p>
657
+ * <code>resource-type</code> - The resource type for pre-provisioning.</p>
658
+ * </li>
659
+ * <li>
660
+ * <p>
661
+ * <code>launch-template</code> - The launch template that is associated with the pre-provisioned Windows AMI.</p>
662
+ * </li>
663
+ * <li>
664
+ * <p>
665
+ * <code>owner-id</code> - The owner ID for the pre-provisioning resource.</p>
666
+ * </li>
667
+ * <li>
668
+ * <p>
669
+ * <code>state</code> - The current state of fast launching for the Windows AMI.</p>
670
+ * </li>
671
+ * </ul>
672
+ */
673
+ Filters?: Filter[];
674
+ /**
675
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining results,
676
+ * make another request with the returned NextToken value. If this parameter is not specified,
677
+ * then all results are returned.</p>
678
+ */
679
+ MaxResults?: number;
680
+ /**
681
+ * <p>The token for the next set of results.</p>
682
+ */
683
+ NextToken?: string;
684
+ /**
685
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
686
+ * and provides an error response. If you have the required permissions, the error response is
687
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
688
+ */
689
+ DryRun?: boolean;
690
+ }
691
+ export declare namespace DescribeFastLaunchImagesRequest {
692
+ /**
693
+ * @internal
694
+ */
695
+ const filterSensitiveLog: (obj: DescribeFastLaunchImagesRequest) => any;
696
+ }
697
+ /**
698
+ * <p>Identifies the launch template to use for faster launching of the Windows AMI.</p>
699
+ */
700
+ export interface FastLaunchLaunchTemplateSpecificationResponse {
701
+ /**
702
+ * <p>The ID of the launch template for faster launching of the associated Windows AMI.</p>
703
+ */
704
+ LaunchTemplateId?: string;
705
+ /**
706
+ * <p>The name of the launch template for faster launching of the associated Windows AMI.</p>
707
+ */
708
+ LaunchTemplateName?: string;
709
+ /**
710
+ * <p>The version of the launch template for faster launching of the associated Windows AMI.</p>
711
+ */
712
+ Version?: string;
713
+ }
714
+ export declare namespace FastLaunchLaunchTemplateSpecificationResponse {
715
+ /**
716
+ * @internal
717
+ */
718
+ const filterSensitiveLog: (obj: FastLaunchLaunchTemplateSpecificationResponse) => any;
719
+ }
720
+ export declare enum FastLaunchResourceType {
721
+ SNAPSHOT = "snapshot"
722
+ }
723
+ /**
724
+ * <p>Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.</p>
725
+ */
726
+ export interface FastLaunchSnapshotConfigurationResponse {
727
+ /**
728
+ * <p>The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI.</p>
729
+ */
730
+ TargetResourceCount?: number;
731
+ }
732
+ export declare namespace FastLaunchSnapshotConfigurationResponse {
733
+ /**
734
+ * @internal
735
+ */
736
+ const filterSensitiveLog: (obj: FastLaunchSnapshotConfigurationResponse) => any;
737
+ }
738
+ export declare enum FastLaunchStateCode {
739
+ disabling = "disabling",
740
+ disabling_failed = "disabling-failed",
741
+ enabled = "enabled",
742
+ enabled_failed = "enabled-failed",
743
+ enabling = "enabling",
744
+ enabling_failed = "enabling-failed"
745
+ }
746
+ /**
747
+ * <p>Describe details about a fast-launch enabled Windows image that meets the requested
748
+ * criteria. Criteria are defined by the <code>DescribeFastLaunchImages</code> action filters.</p>
749
+ */
750
+ export interface DescribeFastLaunchImagesSuccessItem {
751
+ /**
752
+ * <p>The image ID that identifies the fast-launch enabled Windows image.</p>
753
+ */
754
+ ImageId?: string;
755
+ /**
756
+ * <p>The resource type that is used for pre-provisioning the Windows AMI. Supported values
757
+ * include: <code>snapshot</code>.</p>
758
+ */
759
+ ResourceType?: FastLaunchResourceType | string;
760
+ /**
761
+ * <p>A group of parameters that are used for pre-provisioning the associated
762
+ * Windows AMI using snapshots.</p>
763
+ */
764
+ SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
765
+ /**
766
+ * <p>The launch template that the fast-launch enabled Windows AMI uses when it launches
767
+ * Windows instances from pre-provisioned snapshots.</p>
768
+ */
769
+ LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
770
+ /**
771
+ * <p>The maximum number of parallel instances that are launched for creating resources.</p>
772
+ */
773
+ MaxParallelLaunches?: number;
774
+ /**
775
+ * <p>The owner ID for the fast-launch enabled Windows AMI.</p>
776
+ */
777
+ OwnerId?: string;
778
+ /**
779
+ * <p>The current state of faster launching for the specified Windows AMI.</p>
780
+ */
781
+ State?: FastLaunchStateCode | string;
782
+ /**
783
+ * <p>The reason that faster launching for the Windows AMI changed to the current state.</p>
784
+ */
785
+ StateTransitionReason?: string;
786
+ /**
787
+ * <p>The time that faster launching for the Windows AMI changed to the current state.</p>
788
+ */
789
+ StateTransitionTime?: Date;
790
+ }
791
+ export declare namespace DescribeFastLaunchImagesSuccessItem {
792
+ /**
793
+ * @internal
794
+ */
795
+ const filterSensitiveLog: (obj: DescribeFastLaunchImagesSuccessItem) => any;
796
+ }
797
+ export interface DescribeFastLaunchImagesResult {
798
+ /**
799
+ * <p>A collection of details about the fast-launch enabled Windows images that meet
800
+ * the requested criteria.</p>
801
+ */
802
+ FastLaunchImages?: DescribeFastLaunchImagesSuccessItem[];
803
+ /**
804
+ * <p>The token to use for the next set of results. This value is null when there are
805
+ * no more results to return.</p>
806
+ */
807
+ NextToken?: string;
808
+ }
809
+ export declare namespace DescribeFastLaunchImagesResult {
810
+ /**
811
+ * @internal
812
+ */
813
+ const filterSensitiveLog: (obj: DescribeFastLaunchImagesResult) => any;
814
+ }
581
815
  export interface DescribeFastSnapshotRestoresRequest {
582
816
  /**
583
817
  * <p>The filters. The possible values are:</p>
@@ -2798,8 +3032,8 @@ export interface DescribeImageAttributeRequest {
2798
3032
  ImageId: string | undefined;
2799
3033
  /**
2800
3034
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
2801
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2802
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3035
+ * and provides an error response. If you have the required permissions, the error response is
3036
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2803
3037
  */
2804
3038
  DryRun?: boolean;
2805
3039
  }
@@ -3080,8 +3314,8 @@ export interface DescribeImagesRequest {
3080
3314
  IncludeDeprecated?: boolean;
3081
3315
  /**
3082
3316
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3083
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3084
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3317
+ * and provides an error response. If you have the required permissions, the error response is
3318
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3085
3319
  */
3086
3320
  DryRun?: boolean;
3087
3321
  }
@@ -9702,295 +9936,3 @@ export declare namespace DescribeReservedInstancesRequest {
9702
9936
  }
9703
9937
  export declare type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)";
9704
9938
  export declare type RecurringChargeFrequency = "Hourly";
9705
- /**
9706
- * <p>Describes a recurring charge.</p>
9707
- */
9708
- export interface RecurringCharge {
9709
- /**
9710
- * <p>The amount of the recurring charge.</p>
9711
- */
9712
- Amount?: number;
9713
- /**
9714
- * <p>The frequency of the recurring charge.</p>
9715
- */
9716
- Frequency?: RecurringChargeFrequency | string;
9717
- }
9718
- export declare namespace RecurringCharge {
9719
- /**
9720
- * @internal
9721
- */
9722
- const filterSensitiveLog: (obj: RecurringCharge) => any;
9723
- }
9724
- export declare enum Scope {
9725
- AVAILABILITY_ZONE = "Availability Zone",
9726
- REGIONAL = "Region"
9727
- }
9728
- export declare type ReservedInstanceState = "active" | "payment-failed" | "payment-pending" | "queued" | "queued-deleted" | "retired";
9729
- /**
9730
- * <p>Describes a Reserved Instance.</p>
9731
- */
9732
- export interface ReservedInstances {
9733
- /**
9734
- * <p>The Availability Zone in which the Reserved Instance can be used.</p>
9735
- */
9736
- AvailabilityZone?: string;
9737
- /**
9738
- * <p>The duration of the Reserved Instance, in seconds.</p>
9739
- */
9740
- Duration?: number;
9741
- /**
9742
- * <p>The time when the Reserved Instance expires.</p>
9743
- */
9744
- End?: Date;
9745
- /**
9746
- * <p>The purchase price of the Reserved Instance.</p>
9747
- */
9748
- FixedPrice?: number;
9749
- /**
9750
- * <p>The number of reservations purchased.</p>
9751
- */
9752
- InstanceCount?: number;
9753
- /**
9754
- * <p>The instance type on which the Reserved Instance can be used.</p>
9755
- */
9756
- InstanceType?: _InstanceType | string;
9757
- /**
9758
- * <p>The Reserved Instance product platform description.</p>
9759
- */
9760
- ProductDescription?: RIProductDescription | string;
9761
- /**
9762
- * <p>The ID of the Reserved Instance.</p>
9763
- */
9764
- ReservedInstancesId?: string;
9765
- /**
9766
- * <p>The date and time the Reserved Instance started.</p>
9767
- */
9768
- Start?: Date;
9769
- /**
9770
- * <p>The state of the Reserved Instance purchase.</p>
9771
- */
9772
- State?: ReservedInstanceState | string;
9773
- /**
9774
- * <p>The usage price of the Reserved Instance, per hour.</p>
9775
- */
9776
- UsagePrice?: number;
9777
- /**
9778
- * <p>The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes.
9779
- * At this time, the only supported currency is <code>USD</code>.</p>
9780
- */
9781
- CurrencyCode?: CurrencyCodeValues | string;
9782
- /**
9783
- * <p>The tenancy of the instance.</p>
9784
- */
9785
- InstanceTenancy?: Tenancy | string;
9786
- /**
9787
- * <p>The offering class of the Reserved Instance.</p>
9788
- */
9789
- OfferingClass?: OfferingClassType | string;
9790
- /**
9791
- * <p>The Reserved Instance offering type.</p>
9792
- */
9793
- OfferingType?: OfferingTypeValues | string;
9794
- /**
9795
- * <p>The recurring charge tag assigned to the resource.</p>
9796
- */
9797
- RecurringCharges?: RecurringCharge[];
9798
- /**
9799
- * <p>The scope of the Reserved Instance.</p>
9800
- */
9801
- Scope?: Scope | string;
9802
- /**
9803
- * <p>Any tags assigned to the resource.</p>
9804
- */
9805
- Tags?: Tag[];
9806
- }
9807
- export declare namespace ReservedInstances {
9808
- /**
9809
- * @internal
9810
- */
9811
- const filterSensitiveLog: (obj: ReservedInstances) => any;
9812
- }
9813
- /**
9814
- * <p>Contains the output for DescribeReservedInstances.</p>
9815
- */
9816
- export interface DescribeReservedInstancesResult {
9817
- /**
9818
- * <p>A list of Reserved Instances.</p>
9819
- */
9820
- ReservedInstances?: ReservedInstances[];
9821
- }
9822
- export declare namespace DescribeReservedInstancesResult {
9823
- /**
9824
- * @internal
9825
- */
9826
- const filterSensitiveLog: (obj: DescribeReservedInstancesResult) => any;
9827
- }
9828
- /**
9829
- * <p>Contains the parameters for DescribeReservedInstancesListings.</p>
9830
- */
9831
- export interface DescribeReservedInstancesListingsRequest {
9832
- /**
9833
- * <p>One or more filters.</p>
9834
- * <ul>
9835
- * <li>
9836
- * <p>
9837
- * <code>reserved-instances-id</code> - The ID of the Reserved Instances.</p>
9838
- * </li>
9839
- * <li>
9840
- * <p>
9841
- * <code>reserved-instances-listing-id</code> - The ID of the Reserved Instances listing.</p>
9842
- * </li>
9843
- * <li>
9844
- * <p>
9845
- * <code>status</code> - The status of the Reserved Instance listing (<code>pending</code> | <code>active</code> |
9846
- * <code>cancelled</code> | <code>closed</code>).</p>
9847
- * </li>
9848
- * <li>
9849
- * <p>
9850
- * <code>status-message</code> - The reason for the status.</p>
9851
- * </li>
9852
- * </ul>
9853
- */
9854
- Filters?: Filter[];
9855
- /**
9856
- * <p>One or more Reserved Instance IDs.</p>
9857
- */
9858
- ReservedInstancesId?: string;
9859
- /**
9860
- * <p>One or more Reserved Instance listing IDs.</p>
9861
- */
9862
- ReservedInstancesListingId?: string;
9863
- }
9864
- export declare namespace DescribeReservedInstancesListingsRequest {
9865
- /**
9866
- * @internal
9867
- */
9868
- const filterSensitiveLog: (obj: DescribeReservedInstancesListingsRequest) => any;
9869
- }
9870
- /**
9871
- * <p>Contains the output of DescribeReservedInstancesListings.</p>
9872
- */
9873
- export interface DescribeReservedInstancesListingsResult {
9874
- /**
9875
- * <p>Information about the Reserved Instance listing.</p>
9876
- */
9877
- ReservedInstancesListings?: ReservedInstancesListing[];
9878
- }
9879
- export declare namespace DescribeReservedInstancesListingsResult {
9880
- /**
9881
- * @internal
9882
- */
9883
- const filterSensitiveLog: (obj: DescribeReservedInstancesListingsResult) => any;
9884
- }
9885
- /**
9886
- * <p>Contains the parameters for DescribeReservedInstancesModifications.</p>
9887
- */
9888
- export interface DescribeReservedInstancesModificationsRequest {
9889
- /**
9890
- * <p>One or more filters.</p>
9891
- * <ul>
9892
- * <li>
9893
- * <p>
9894
- * <code>client-token</code> - The idempotency token for the modification request.</p>
9895
- * </li>
9896
- * <li>
9897
- * <p>
9898
- * <code>create-date</code> - The time when the modification request was created.</p>
9899
- * </li>
9900
- * <li>
9901
- * <p>
9902
- * <code>effective-date</code> - The time when the modification becomes effective.</p>
9903
- * </li>
9904
- * <li>
9905
- * <p>
9906
- * <code>modification-result.reserved-instances-id</code> - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is <code>fulfilled</code>.</p>
9907
- * </li>
9908
- * <li>
9909
- * <p>
9910
- * <code>modification-result.target-configuration.availability-zone</code> - The Availability Zone for the new Reserved Instances.</p>
9911
- * </li>
9912
- * <li>
9913
- * <p>
9914
- * <code>modification-result.target-configuration.instance-count </code> - The number of new Reserved Instances.</p>
9915
- * </li>
9916
- * <li>
9917
- * <p>
9918
- * <code>modification-result.target-configuration.instance-type</code> - The instance type of the new Reserved Instances.</p>
9919
- * </li>
9920
- * <li>
9921
- * <p>
9922
- * <code>modification-result.target-configuration.platform</code> - The network platform of the new Reserved Instances (<code>EC2-Classic</code> | <code>EC2-VPC</code>).</p>
9923
- * </li>
9924
- * <li>
9925
- * <p>
9926
- * <code>reserved-instances-id</code> - The ID of the Reserved Instances modified.</p>
9927
- * </li>
9928
- * <li>
9929
- * <p>
9930
- * <code>reserved-instances-modification-id</code> - The ID of the modification request.</p>
9931
- * </li>
9932
- * <li>
9933
- * <p>
9934
- * <code>status</code> - The status of the Reserved Instances modification request
9935
- * (<code>processing</code> | <code>fulfilled</code> | <code>failed</code>).</p>
9936
- * </li>
9937
- * <li>
9938
- * <p>
9939
- * <code>status-message</code> - The reason for the status.</p>
9940
- * </li>
9941
- * <li>
9942
- * <p>
9943
- * <code>update-date</code> - The time when the modification request was last updated.</p>
9944
- * </li>
9945
- * </ul>
9946
- */
9947
- Filters?: Filter[];
9948
- /**
9949
- * <p>IDs for the submitted modification request.</p>
9950
- */
9951
- ReservedInstancesModificationIds?: string[];
9952
- /**
9953
- * <p>The token to retrieve the next page of results.</p>
9954
- */
9955
- NextToken?: string;
9956
- }
9957
- export declare namespace DescribeReservedInstancesModificationsRequest {
9958
- /**
9959
- * @internal
9960
- */
9961
- const filterSensitiveLog: (obj: DescribeReservedInstancesModificationsRequest) => any;
9962
- }
9963
- /**
9964
- * <p>Describes the configuration settings for the modified Reserved Instances.</p>
9965
- */
9966
- export interface ReservedInstancesConfiguration {
9967
- /**
9968
- * <p>The Availability Zone for the modified Reserved Instances.</p>
9969
- */
9970
- AvailabilityZone?: string;
9971
- /**
9972
- * <p>The number of modified Reserved Instances.</p>
9973
- * <note>
9974
- * <p>This is a required field for a request.</p>
9975
- * </note>
9976
- */
9977
- InstanceCount?: number;
9978
- /**
9979
- * <p>The instance type for the modified Reserved Instances.</p>
9980
- */
9981
- InstanceType?: _InstanceType | string;
9982
- /**
9983
- * <p>The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.</p>
9984
- */
9985
- Platform?: string;
9986
- /**
9987
- * <p>Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.</p>
9988
- */
9989
- Scope?: Scope | string;
9990
- }
9991
- export declare namespace ReservedInstancesConfiguration {
9992
- /**
9993
- * @internal
9994
- */
9995
- const filterSensitiveLog: (obj: ReservedInstancesConfiguration) => any;
9996
- }