@aws-sdk/client-ec2 3.910.0 → 3.911.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 (237) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +1541 -388
  3. package/dist-es/EC2.js +18 -0
  4. package/dist-es/commands/CreateCapacityManagerDataExportCommand.js +22 -0
  5. package/dist-es/commands/DeleteCapacityManagerDataExportCommand.js +22 -0
  6. package/dist-es/commands/DescribeCapacityManagerDataExportsCommand.js +22 -0
  7. package/dist-es/commands/DisableCapacityManagerCommand.js +22 -0
  8. package/dist-es/commands/EnableCapacityManagerCommand.js +22 -0
  9. package/dist-es/commands/GetCapacityManagerAttributesCommand.js +22 -0
  10. package/dist-es/commands/GetCapacityManagerMetricDataCommand.js +22 -0
  11. package/dist-es/commands/GetCapacityManagerMetricDimensionsCommand.js +22 -0
  12. package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -1
  13. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  14. package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
  15. package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
  16. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
  17. package/dist-es/commands/UpdateCapacityManagerOrganizationsAccessCommand.js +22 -0
  18. package/dist-es/commands/index.js +9 -0
  19. package/dist-es/models/models_0.js +1 -0
  20. package/dist-es/models/models_1.js +7 -0
  21. package/dist-es/models/models_2.js +0 -6
  22. package/dist-es/models/models_3.js +6 -5
  23. package/dist-es/models/models_4.js +18 -14
  24. package/dist-es/models/models_5.js +14 -16
  25. package/dist-es/models/models_6.js +124 -57
  26. package/dist-es/models/models_7.js +57 -33
  27. package/dist-es/models/models_8.js +33 -0
  28. package/dist-es/pagination/DescribeCapacityManagerDataExportsPaginator.js +4 -0
  29. package/dist-es/pagination/GetCapacityManagerMetricDataPaginator.js +4 -0
  30. package/dist-es/pagination/GetCapacityManagerMetricDimensionsPaginator.js +4 -0
  31. package/dist-es/pagination/index.js +4 -1
  32. package/dist-es/protocols/Aws_ec2.js +939 -107
  33. package/dist-types/EC2.d.ts +67 -0
  34. package/dist-types/EC2Client.d.ts +11 -2
  35. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  36. package/dist-types/commands/AllocateAddressCommand.d.ts +21 -5
  37. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  38. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  39. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  40. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  41. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  42. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  43. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +93 -0
  45. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  71. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  72. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  84. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  85. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  109. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  112. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  113. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  114. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  115. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +3 -2
  116. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  117. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  118. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  119. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  120. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  121. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  122. package/dist-types/commands/DeleteCapacityManagerDataExportCommand.d.ts +77 -0
  123. package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +1 -1
  124. package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +2 -1
  125. package/dist-types/commands/DescribeCapacityManagerDataExportsCommand.d.ts +109 -0
  126. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  128. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  129. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  130. package/dist-types/commands/DisableCapacityManagerCommand.d.ts +79 -0
  131. package/dist-types/commands/EnableCapacityManagerCommand.d.ts +80 -0
  132. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  133. package/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +82 -0
  134. package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +129 -0
  135. package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +119 -0
  136. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
  137. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -1
  138. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
  139. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  140. package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  141. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  142. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
  143. package/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  144. package/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -2
  145. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  146. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  147. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  148. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  149. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  150. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  151. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  152. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  153. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  154. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  155. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  156. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  157. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  158. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  159. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
  160. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -2
  161. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  162. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  163. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  164. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  165. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  166. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  167. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  168. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  169. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  170. package/dist-types/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +80 -0
  171. package/dist-types/commands/index.d.ts +9 -0
  172. package/dist-types/models/models_0.d.ts +4 -3
  173. package/dist-types/models/models_1.d.ts +106 -95
  174. package/dist-types/models/models_2.d.ts +84 -107
  175. package/dist-types/models/models_3.d.ts +140 -159
  176. package/dist-types/models/models_4.d.ts +331 -251
  177. package/dist-types/models/models_5.d.ts +244 -267
  178. package/dist-types/models/models_6.d.ts +1497 -1467
  179. package/dist-types/models/models_7.d.ts +4809 -4775
  180. package/dist-types/models/models_8.d.ts +968 -5
  181. package/dist-types/pagination/DescribeCapacityManagerDataExportsPaginator.d.ts +7 -0
  182. package/dist-types/pagination/GetCapacityManagerMetricDataPaginator.d.ts +7 -0
  183. package/dist-types/pagination/GetCapacityManagerMetricDimensionsPaginator.d.ts +7 -0
  184. package/dist-types/pagination/index.d.ts +4 -1
  185. package/dist-types/protocols/Aws_ec2.d.ts +81 -0
  186. package/dist-types/ts3.4/EC2.d.ts +175 -0
  187. package/dist-types/ts3.4/EC2Client.d.ts +54 -0
  188. package/dist-types/ts3.4/commands/CreateCapacityManagerDataExportCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +2 -4
  190. package/dist-types/ts3.4/commands/DeleteCapacityManagerDataExportCommand.d.ts +51 -0
  191. package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +2 -4
  193. package/dist-types/ts3.4/commands/DescribeCapacityManagerDataExportsCommand.d.ts +51 -0
  194. package/dist-types/ts3.4/commands/DisableCapacityManagerCommand.d.ts +51 -0
  195. package/dist-types/ts3.4/commands/EnableCapacityManagerCommand.d.ts +51 -0
  196. package/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +51 -0
  197. package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +51 -0
  198. package/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +51 -0
  199. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
  200. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -1
  201. package/dist-types/ts3.4/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +4 -2
  208. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  214. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
  217. package/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
  218. package/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
  220. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  221. package/dist-types/ts3.4/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +51 -0
  222. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  223. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  224. package/dist-types/ts3.4/models/models_1.d.ts +21 -16
  225. package/dist-types/ts3.4/models/models_2.d.ts +18 -29
  226. package/dist-types/ts3.4/models/models_3.d.ts +35 -39
  227. package/dist-types/ts3.4/models/models_4.d.ts +79 -66
  228. package/dist-types/ts3.4/models/models_5.d.ts +65 -67
  229. package/dist-types/ts3.4/models/models_6.d.ts +284 -258
  230. package/dist-types/ts3.4/models/models_7.d.ts +257 -227
  231. package/dist-types/ts3.4/models/models_8.d.ts +232 -7
  232. package/dist-types/ts3.4/pagination/DescribeCapacityManagerDataExportsPaginator.d.ts +11 -0
  233. package/dist-types/ts3.4/pagination/GetCapacityManagerMetricDataPaginator.d.ts +11 -0
  234. package/dist-types/ts3.4/pagination/GetCapacityManagerMetricDimensionsPaginator.d.ts +11 -0
  235. package/dist-types/ts3.4/pagination/index.d.ts +4 -1
  236. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +108 -0
  237. package/package.json +5 -5
@@ -1,7 +1,22 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
- import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_2";
4
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_3";
4
+ export const InitializationType = {
5
+ default: "default",
6
+ provisioned_rate: "provisioned-rate",
7
+ volume_copy: "volume-copy",
8
+ };
9
+ export const VolumeStatusName = {
10
+ initialization_state: "initialization-state",
11
+ io_enabled: "io-enabled",
12
+ io_performance: "io-performance",
13
+ };
14
+ export const VolumeStatusInfoStatus = {
15
+ impaired: "impaired",
16
+ insufficient_data: "insufficient-data",
17
+ ok: "ok",
18
+ warning: "warning",
19
+ };
5
20
  export const VpcAttributeName = {
6
21
  enableDnsHostnames: "enableDnsHostnames",
7
22
  enableDnsSupport: "enableDnsSupport",
@@ -25,6 +40,10 @@ export const VpcBlockPublicAccessState = {
25
40
  update_complete: "update-complete",
26
41
  update_in_progress: "update-in-progress",
27
42
  };
43
+ export const CapacityManagerStatus = {
44
+ DISABLED: "disabled",
45
+ ENABLED: "enabled",
46
+ };
28
47
  export const ImageBlockPublicAccessDisabledState = {
29
48
  unblocked: "unblocked",
30
49
  };
@@ -51,6 +70,110 @@ export const ClientCertificateRevocationListStatusCode = {
51
70
  active: "active",
52
71
  pending: "pending",
53
72
  };
73
+ export const IngestionStatus = {
74
+ INGESTION_COMPLETE: "ingestion-complete",
75
+ INGESTION_FAILED: "ingestion-failed",
76
+ INITIAL_INGESTION_IN_PROGRESS: "initial-ingestion-in-progress",
77
+ };
78
+ export const Comparison = {
79
+ EQUALS: "equals",
80
+ IN: "in",
81
+ };
82
+ export const FilterByDimension = {
83
+ ACCOUNT_ID: "account-id",
84
+ AVAILABILITY_ZONE_ID: "availability-zone-id",
85
+ INSTANCE_FAMILY: "instance-family",
86
+ INSTANCE_PLATFORM: "instance-platform",
87
+ INSTANCE_TYPE: "instance-type",
88
+ RESERVATION_ARN: "reservation-arn",
89
+ RESERVATION_CREATE_TIMESTAMP: "reservation-create-timestamp",
90
+ RESERVATION_END_DATE_TYPE: "reservation-end-date-type",
91
+ RESERVATION_END_TIMESTAMP: "reservation-end-timestamp",
92
+ RESERVATION_ID: "reservation-id",
93
+ RESERVATION_INSTANCE_MATCH_CRITERIA: "reservation-instance-match-criteria",
94
+ RESERVATION_START_TIMESTAMP: "reservation-start-timestamp",
95
+ RESERVATION_STATE: "reservation-state",
96
+ RESERVATION_TYPE: "reservation-type",
97
+ RESERVATION_UNUSED_FINANCIAL_OWNER: "reservation-unused-financial-owner",
98
+ RESOURCE_REGION: "resource-region",
99
+ TENANCY: "tenancy",
100
+ };
101
+ export const GroupBy = {
102
+ ACCOUNT_ID: "account-id",
103
+ AVAILABILITY_ZONE_ID: "availability-zone-id",
104
+ INSTANCE_FAMILY: "instance-family",
105
+ INSTANCE_PLATFORM: "instance-platform",
106
+ INSTANCE_TYPE: "instance-type",
107
+ RESERVATION_ARN: "reservation-arn",
108
+ RESERVATION_CREATE_TIMESTAMP: "reservation-create-timestamp",
109
+ RESERVATION_END_DATE_TYPE: "reservation-end-date-type",
110
+ RESERVATION_END_TIMESTAMP: "reservation-end-timestamp",
111
+ RESERVATION_ID: "reservation-id",
112
+ RESERVATION_INSTANCE_MATCH_CRITERIA: "reservation-instance-match-criteria",
113
+ RESERVATION_START_TIMESTAMP: "reservation-start-timestamp",
114
+ RESERVATION_STATE: "reservation-state",
115
+ RESERVATION_TYPE: "reservation-type",
116
+ RESERVATION_UNUSED_FINANCIAL_OWNER: "reservation-unused-financial-owner",
117
+ RESOURCE_REGION: "resource-region",
118
+ TENANCY: "tenancy",
119
+ };
120
+ export const Metric = {
121
+ RESERVATION_AVG_COMMITTED_SIZE_INST: "reservation-avg-committed-size-inst",
122
+ RESERVATION_AVG_COMMITTED_SIZE_VCPU: "reservation-avg-committed-size-vcpu",
123
+ RESERVATION_AVG_FUTURE_SIZE_INST: "reservation-avg-future-size-inst",
124
+ RESERVATION_AVG_FUTURE_SIZE_VCPU: "reservation-avg-future-size-vcpu",
125
+ RESERVATION_AVG_UTILIZATION_INST: "reservation-avg-utilization-inst",
126
+ RESERVATION_AVG_UTILIZATION_VCPU: "reservation-avg-utilization-vcpu",
127
+ RESERVATION_MAX_COMMITTED_SIZE_INST: "reservation-max-committed-size-inst",
128
+ RESERVATION_MAX_COMMITTED_SIZE_VCPU: "reservation-max-committed-size-vcpu",
129
+ RESERVATION_MAX_FUTURE_SIZE_INST: "reservation-max-future-size-inst",
130
+ RESERVATION_MAX_FUTURE_SIZE_VCPU: "reservation-max-future-size-vcpu",
131
+ RESERVATION_MAX_SIZE_INST: "reservation-max-size-inst",
132
+ RESERVATION_MAX_SIZE_VCPU: "reservation-max-size-vcpu",
133
+ RESERVATION_MAX_UNUSED_SIZE_INST: "reservation-max-unused-size-inst",
134
+ RESERVATION_MAX_UNUSED_SIZE_VCPU: "reservation-max-unused-size-vcpu",
135
+ RESERVATION_MAX_UTILIZATION: "reservation-max-utilization",
136
+ RESERVATION_MIN_COMMITTED_SIZE_INST: "reservation-min-committed-size-inst",
137
+ RESERVATION_MIN_COMMITTED_SIZE_VCPU: "reservation-min-committed-size-vcpu",
138
+ RESERVATION_MIN_FUTURE_SIZE_INST: "reservation-min-future-size-inst",
139
+ RESERVATION_MIN_FUTURE_SIZE_VCPU: "reservation-min-future-size-vcpu",
140
+ RESERVATION_MIN_SIZE_INST: "reservation-min-size-inst",
141
+ RESERVATION_MIN_SIZE_VCPU: "reservation-min-size-vcpu",
142
+ RESERVATION_MIN_UNUSED_SIZE_INST: "reservation-min-unused-size-inst",
143
+ RESERVATION_MIN_UNUSED_SIZE_VCPU: "reservation-min-unused-size-vcpu",
144
+ RESERVATION_MIN_UTILIZATION: "reservation-min-utilization",
145
+ RESERVATION_TOTAL_CAPACITY_HRS_INST: "reservation-total-capacity-hrs-inst",
146
+ RESERVATION_TOTAL_CAPACITY_HRS_VCPU: "reservation-total-capacity-hrs-vcpu",
147
+ RESERVATION_TOTAL_COUNT: "reservation-total-count",
148
+ RESERVATION_TOTAL_ESTIMATED_COST: "reservation-total-estimated-cost",
149
+ RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST: "reservation-unused-total-capacity-hrs-inst",
150
+ RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU: "reservation-unused-total-capacity-hrs-vcpu",
151
+ RESERVATION_UNUSED_TOTAL_ESTIMATED_COST: "reservation-unused-total-estimated-cost",
152
+ RESERVED_TOTAL_ESTIMATED_COST: "reserved-total-estimated-cost",
153
+ RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst",
154
+ RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu",
155
+ SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst",
156
+ SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst",
157
+ SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-min-run-time-before-interruption-inst",
158
+ SPOT_TOTAL_ESTIMATED_COST: "spot-total-estimated-cost",
159
+ SPOT_TOTAL_USAGE_HRS_INST: "spot-total-usage-hrs-inst",
160
+ SPOT_TOTAL_USAGE_HRS_VCPU: "spot-total-usage-hrs-vcpu",
161
+ UNRESERVED_TOTAL_ESTIMATED_COST: "unreserved-total-estimated-cost",
162
+ UNRESERVED_TOTAL_USAGE_HRS_INST: "unreserved-total-usage-hrs-inst",
163
+ UNRESERVED_TOTAL_USAGE_HRS_VCPU: "unreserved-total-usage-hrs-vcpu",
164
+ };
165
+ export const ReservationEndDateType = {
166
+ LIMITED: "limited",
167
+ UNLIMITED: "unlimited",
168
+ };
169
+ export const ReservationType = {
170
+ CAPACITY_BLOCK: "capacity-block",
171
+ ODCR: "odcr",
172
+ };
173
+ export const CapacityTenancy = {
174
+ DEDICATED: "dedicated",
175
+ DEFAULT: "default",
176
+ };
54
177
  export const UnlimitedSupportedInstanceFamily = {
55
178
  t2: "t2",
56
179
  t3: "t3",
@@ -89,56 +212,6 @@ export const IpamAddressHistoryResourceType = {
89
212
  subnet: "subnet",
90
213
  vpc: "vpc",
91
214
  };
92
- export const IpamDiscoveryFailureCode = {
93
- assume_role_failure: "assume-role-failure",
94
- throttling_failure: "throttling-failure",
95
- unauthorized_failure: "unauthorized-failure",
96
- };
97
- export const IpamPublicAddressType = {
98
- AMAZON_OWNED_CONTIG: "amazon-owned-contig",
99
- AMAZON_OWNED_EIP: "amazon-owned-eip",
100
- BYOIP: "byoip",
101
- EC2_PUBLIC_IP: "ec2-public-ip",
102
- SERVICE_MANAGED_BYOIP: "service-managed-byoip",
103
- SERVICE_MANAGED_IP: "service-managed-ip",
104
- };
105
- export const IpamPublicAddressAssociationStatus = {
106
- ASSOCIATED: "associated",
107
- DISASSOCIATED: "disassociated",
108
- };
109
- export const IpamPublicAddressAwsService = {
110
- AGA: "global-accelerator",
111
- DMS: "database-migration-service",
112
- EC2_LB: "load-balancer",
113
- ECS: "elastic-container-service",
114
- NAT_GATEWAY: "nat-gateway",
115
- OTHER: "other",
116
- RDS: "relational-database-service",
117
- REDSHIFT: "redshift",
118
- S2S_VPN: "site-to-site-vpn",
119
- };
120
- export const IpamResourceCidrIpSource = {
121
- amazon: "amazon",
122
- byoip: "byoip",
123
- none: "none",
124
- };
125
- export const IpamNetworkInterfaceAttachmentStatus = {
126
- available: "available",
127
- in_use: "in-use",
128
- };
129
- export const IpamResourceType = {
130
- eip: "eip",
131
- eni: "eni",
132
- ipv6_pool: "ipv6-pool",
133
- public_ipv4_pool: "public-ipv4-pool",
134
- subnet: "subnet",
135
- vpc: "vpc",
136
- };
137
- export const IpamManagementState = {
138
- ignored: "ignored",
139
- managed: "managed",
140
- unmanaged: "unmanaged",
141
- };
142
215
  export const DescribeVpnConnectionsResultFilterSensitiveLog = (obj) => ({
143
216
  ...obj,
144
217
  ...(obj.VpnConnections && {
@@ -165,9 +238,3 @@ export const GetInstanceTpmEkPubResultFilterSensitiveLog = (obj) => ({
165
238
  ...obj,
166
239
  ...(obj.KeyValue && { KeyValue: SENSITIVE_STRING }),
167
240
  });
168
- export const GetLaunchTemplateDataResultFilterSensitiveLog = (obj) => ({
169
- ...obj,
170
- ...(obj.LaunchTemplateData && {
171
- LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData),
172
- }),
173
- });
@@ -1,7 +1,57 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
- import { VpnConnectionFilterSensitiveLog, } from "./models_3";
3
+ import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_2";
4
4
  import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
5
+ export const IpamDiscoveryFailureCode = {
6
+ assume_role_failure: "assume-role-failure",
7
+ throttling_failure: "throttling-failure",
8
+ unauthorized_failure: "unauthorized-failure",
9
+ };
10
+ export const IpamPublicAddressType = {
11
+ AMAZON_OWNED_CONTIG: "amazon-owned-contig",
12
+ AMAZON_OWNED_EIP: "amazon-owned-eip",
13
+ BYOIP: "byoip",
14
+ EC2_PUBLIC_IP: "ec2-public-ip",
15
+ SERVICE_MANAGED_BYOIP: "service-managed-byoip",
16
+ SERVICE_MANAGED_IP: "service-managed-ip",
17
+ };
18
+ export const IpamPublicAddressAssociationStatus = {
19
+ ASSOCIATED: "associated",
20
+ DISASSOCIATED: "disassociated",
21
+ };
22
+ export const IpamPublicAddressAwsService = {
23
+ AGA: "global-accelerator",
24
+ DMS: "database-migration-service",
25
+ EC2_LB: "load-balancer",
26
+ ECS: "elastic-container-service",
27
+ NAT_GATEWAY: "nat-gateway",
28
+ OTHER: "other",
29
+ RDS: "relational-database-service",
30
+ REDSHIFT: "redshift",
31
+ S2S_VPN: "site-to-site-vpn",
32
+ };
33
+ export const IpamResourceCidrIpSource = {
34
+ amazon: "amazon",
35
+ byoip: "byoip",
36
+ none: "none",
37
+ };
38
+ export const IpamNetworkInterfaceAttachmentStatus = {
39
+ available: "available",
40
+ in_use: "in-use",
41
+ };
42
+ export const IpamResourceType = {
43
+ eip: "eip",
44
+ eni: "eni",
45
+ ipv6_pool: "ipv6-pool",
46
+ public_ipv4_pool: "public-ipv4-pool",
47
+ subnet: "subnet",
48
+ vpc: "vpc",
49
+ };
50
+ export const IpamManagementState = {
51
+ ignored: "ignored",
52
+ managed: "managed",
53
+ unmanaged: "unmanaged",
54
+ };
5
55
  export const RouteServerRouteInstallationStatus = {
6
56
  INSTALLED: "installed",
7
57
  REJECTED: "rejected",
@@ -67,14 +117,12 @@ export const TrafficMirrorSessionField = {
67
117
  packet_length: "packet-length",
68
118
  virtual_network_id: "virtual-network-id",
69
119
  };
70
- export const VpcTenancy = {
71
- default: "default",
72
- };
73
- export const Status = {
74
- inClassic: "InClassic",
75
- inVpc: "InVpc",
76
- moveInProgress: "MoveInProgress",
77
- };
120
+ export const GetLaunchTemplateDataResultFilterSensitiveLog = (obj) => ({
121
+ ...obj,
122
+ ...(obj.LaunchTemplateData && {
123
+ LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData),
124
+ }),
125
+ });
78
126
  export const GetPasswordDataResultFilterSensitiveLog = (obj) => ({
79
127
  ...obj,
80
128
  ...(obj.PasswordData && { PasswordData: SENSITIVE_STRING }),
@@ -168,27 +216,3 @@ export const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) =
168
216
  VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider),
169
217
  }),
170
218
  });
171
- export const ModifyVpnConnectionResultFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
174
- });
175
- export const ModifyVpnConnectionOptionsResultFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
178
- });
179
- export const ModifyVpnTunnelCertificateResultFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
182
- });
183
- export const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- ...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
186
- });
187
- export const ModifyVpnTunnelOptionsRequestFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- ...(obj.TunnelOptions && { TunnelOptions: SENSITIVE_STRING }),
190
- });
191
- export const ModifyVpnTunnelOptionsResultFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
194
- });
@@ -1,5 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { VpnConnectionFilterSensitiveLog, } from "./models_3";
2
3
  import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
4
+ export const VpcTenancy = {
5
+ default: "default",
6
+ };
7
+ export const Status = {
8
+ inClassic: "InClassic",
9
+ inVpc: "InVpc",
10
+ moveInProgress: "MoveInProgress",
11
+ };
3
12
  export const VerificationMethod = {
4
13
  dns_token: "dns-token",
5
14
  remarks_x509: "remarks-x509",
@@ -29,6 +38,30 @@ export const MembershipType = {
29
38
  igmp: "igmp",
30
39
  static: "static",
31
40
  };
41
+ export const ModifyVpnConnectionResultFilterSensitiveLog = (obj) => ({
42
+ ...obj,
43
+ ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
44
+ });
45
+ export const ModifyVpnConnectionOptionsResultFilterSensitiveLog = (obj) => ({
46
+ ...obj,
47
+ ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
48
+ });
49
+ export const ModifyVpnTunnelCertificateResultFilterSensitiveLog = (obj) => ({
50
+ ...obj,
51
+ ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
52
+ });
53
+ export const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
54
+ ...obj,
55
+ ...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
56
+ });
57
+ export const ModifyVpnTunnelOptionsRequestFilterSensitiveLog = (obj) => ({
58
+ ...obj,
59
+ ...(obj.TunnelOptions && { TunnelOptions: SENSITIVE_STRING }),
60
+ });
61
+ export const ModifyVpnTunnelOptionsResultFilterSensitiveLog = (obj) => ({
62
+ ...obj,
63
+ ...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
64
+ });
32
65
  export const ReportInstanceStatusRequestFilterSensitiveLog = (obj) => ({
33
66
  ...obj,
34
67
  ...(obj.Description && { Description: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeCapacityManagerDataExportsCommand, } from "../commands/DescribeCapacityManagerDataExportsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeCapacityManagerDataExports = createPaginator(EC2Client, DescribeCapacityManagerDataExportsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetCapacityManagerMetricDataCommand, } from "../commands/GetCapacityManagerMetricDataCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateGetCapacityManagerMetricData = createPaginator(EC2Client, GetCapacityManagerMetricDataCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetCapacityManagerMetricDimensionsCommand, } from "../commands/GetCapacityManagerMetricDimensionsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateGetCapacityManagerMetricDimensions = createPaginator(EC2Client, GetCapacityManagerMetricDimensionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -7,8 +7,9 @@ export * from "./DescribeCapacityBlockExtensionOfferingsPaginator";
7
7
  export * from "./DescribeCapacityBlockOfferingsPaginator";
8
8
  export * from "./DescribeCapacityBlockStatusPaginator";
9
9
  export * from "./DescribeCapacityBlocksPaginator";
10
- export * from "./DescribeCapacityReservationBillingRequestsPaginator";
10
+ export * from "./DescribeCapacityManagerDataExportsPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./DescribeCapacityReservationBillingRequestsPaginator";
12
13
  export * from "./DescribeCapacityReservationFleetsPaginator";
13
14
  export * from "./DescribeCapacityReservationsPaginator";
14
15
  export * from "./DescribeCarrierGatewaysPaginator";
@@ -129,6 +130,8 @@ export * from "./DescribeVpcPeeringConnectionsPaginator";
129
130
  export * from "./DescribeVpcsPaginator";
130
131
  export * from "./GetAssociatedIpv6PoolCidrsPaginator";
131
132
  export * from "./GetAwsNetworkPerformanceDataPaginator";
133
+ export * from "./GetCapacityManagerMetricDataPaginator";
134
+ export * from "./GetCapacityManagerMetricDimensionsPaginator";
132
135
  export * from "./GetGroupsForCapacityReservationPaginator";
133
136
  export * from "./GetInstanceTypesFromInstanceRequirementsPaginator";
134
137
  export * from "./GetIpamAddressHistoryPaginator";