@aws-sdk/client-ec2 3.171.0 → 3.174.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 (68) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  7. package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
  8. package/dist-cjs/models/models_0.js +978 -27
  9. package/dist-cjs/models/models_1.js +250 -18
  10. package/dist-cjs/models/models_2.js +152 -18
  11. package/dist-cjs/models/models_3.js +279 -18
  12. package/dist-cjs/models/models_4.js +106 -18
  13. package/dist-cjs/models/models_5.js +62 -18
  14. package/dist-cjs/models/models_6.js +46 -3
  15. package/dist-cjs/protocols/Aws_ec2.js +88 -0
  16. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
  17. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  18. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
  19. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  20. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  21. package/dist-es/commands/MonitorInstancesCommand.js +1 -1
  22. package/dist-es/models/models_0.js +966 -12
  23. package/dist-es/models/models_1.js +235 -3
  24. package/dist-es/models/models_2.js +137 -3
  25. package/dist-es/models/models_3.js +264 -3
  26. package/dist-es/models/models_4.js +91 -3
  27. package/dist-es/models/models_5.js +47 -3
  28. package/dist-es/models/models_6.js +33 -0
  29. package/dist-es/protocols/Aws_ec2.js +88 -0
  30. package/dist-types/EC2.d.ts +13 -30
  31. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
  34. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  35. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  38. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  39. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  40. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  41. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  42. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  43. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  44. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  45. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  46. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  47. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  48. package/dist-types/models/models_0.d.ts +975 -108
  49. package/dist-types/models/models_1.d.ts +288 -143
  50. package/dist-types/models/models_2.d.ts +202 -79
  51. package/dist-types/models/models_3.d.ts +291 -161
  52. package/dist-types/models/models_4.d.ts +221 -103
  53. package/dist-types/models/models_5.d.ts +102 -61
  54. package/dist-types/models/models_6.d.ts +78 -14
  55. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +935 -846
  62. package/dist-types/ts3.4/models/models_1.d.ts +216 -154
  63. package/dist-types/ts3.4/models/models_2.d.ts +145 -83
  64. package/dist-types/ts3.4/models/models_3.d.ts +248 -171
  65. package/dist-types/ts3.4/models/models_4.d.ts +104 -72
  66. package/dist-types/ts3.4/models/models_5.d.ts +61 -47
  67. package/dist-types/ts3.4/models/models_6.d.ts +47 -19
  68. package/package.json +1 -1
@@ -1,8 +1,47 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
- import { CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, Filter, IKEVersionsRequestListValue, IpAddressType, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
- import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
- import { AnalysisStatus, CreateVolumePermission, EnableFastSnapshotRestoreErrorItem, EnableFastSnapshotRestoreSuccessItem, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
1
+ import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
+ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorRuleAction, VolumeType } from "./models_1";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, Filter, IKEVersionsRequestListValue, IpAddressType, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
+ import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
+ import { AnalysisStatus, CreateVolumePermission, EnableFastSnapshotRestoreSuccessItem, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
6
+ /**
7
+ * <p>Describes an error that occurred when enabling fast snapshot restores.</p>
8
+ */
9
+ export interface EnableFastSnapshotRestoreStateError {
10
+ /**
11
+ * <p>The error code.</p>
12
+ */
13
+ Code?: string;
14
+ /**
15
+ * <p>The error message.</p>
16
+ */
17
+ Message?: string;
18
+ }
19
+ /**
20
+ * <p>Contains information about an error that occurred when enabling fast snapshot restores.</p>
21
+ */
22
+ export interface EnableFastSnapshotRestoreStateErrorItem {
23
+ /**
24
+ * <p>The Availability Zone.</p>
25
+ */
26
+ AvailabilityZone?: string;
27
+ /**
28
+ * <p>The error.</p>
29
+ */
30
+ Error?: EnableFastSnapshotRestoreStateError;
31
+ }
32
+ /**
33
+ * <p>Contains information about the errors that occurred when enabling fast snapshot restores.</p>
34
+ */
35
+ export interface EnableFastSnapshotRestoreErrorItem {
36
+ /**
37
+ * <p>The ID of the snapshot.</p>
38
+ */
39
+ SnapshotId?: string;
40
+ /**
41
+ * <p>The errors.</p>
42
+ */
43
+ FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
44
+ }
6
45
  export interface EnableFastSnapshotRestoresResult {
7
46
  /**
8
47
  * <p>Information about the snapshots for which fast snapshot restores were successfully enabled.</p>
@@ -173,7 +212,10 @@ export interface ExportClientVpnClientCertificateRevocationListRequest {
173
212
  */
174
213
  DryRun?: boolean;
175
214
  }
176
- export declare type ClientCertificateRevocationListStatusCode = "active" | "pending";
215
+ export declare enum ClientCertificateRevocationListStatusCode {
216
+ active = "active",
217
+ pending = "pending"
218
+ }
177
219
  /**
178
220
  * <p>Describes the state of a client certificate revocation list.</p>
179
221
  */
@@ -683,7 +725,12 @@ export interface GetConsoleScreenshotResult {
683
725
  */
684
726
  InstanceId?: string;
685
727
  }
686
- export declare type UnlimitedSupportedInstanceFamily = "t2" | "t3" | "t3a" | "t4g";
728
+ export declare enum UnlimitedSupportedInstanceFamily {
729
+ t2 = "t2",
730
+ t3 = "t3",
731
+ t3a = "t3a",
732
+ t4g = "t4g"
733
+ }
687
734
  export interface GetDefaultCreditSpecificationRequest {
688
735
  /**
689
736
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -3136,7 +3183,10 @@ export interface ModifyAddressAttributeResult {
3136
3183
  */
3137
3184
  Address?: AddressAttribute;
3138
3185
  }
3139
- export declare type ModifyAvailabilityZoneOptInStatus = "not-opted-in" | "opted-in";
3186
+ export declare enum ModifyAvailabilityZoneOptInStatus {
3187
+ not_opted_in = "not-opted-in",
3188
+ opted_in = "opted-in"
3189
+ }
3140
3190
  export interface ModifyAvailabilityZoneGroupRequest {
3141
3191
  /**
3142
3192
  * <p>The name of the Availability Zone group, Local Zone group, or Wavelength Zone
@@ -3496,7 +3546,10 @@ export interface LoadPermissionModifications {
3496
3546
  */
3497
3547
  Remove?: LoadPermissionRequest[];
3498
3548
  }
3499
- export declare type OperationType = "add" | "remove";
3549
+ export declare enum OperationType {
3550
+ add = "add",
3551
+ remove = "remove"
3552
+ }
3500
3553
  export interface ModifyFpgaImageAttributeRequest {
3501
3554
  /**
3502
3555
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -4132,13 +4185,14 @@ export interface ModifyInstanceMetadataOptionsRequest {
4132
4185
  * <p>The state of token usage for your instance metadata requests. If the parameter is not
4133
4186
  * specified in the request, the default state is <code>optional</code>.</p>
4134
4187
  * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
4135
- * with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are
4136
- * returned. If you retrieve the IAM role credentials using a valid signed
4137
- * token, the version 2.0 role credentials are returned.</p>
4138
- * <p>If the state is <code>required</code>, you must send a signed token header with any
4139
- * instance metadata retrieval requests. In this state, retrieving the IAM
4140
- * role credential always returns the version 2.0 credentials; the version 1.0 credentials
4141
- * are not available.</p>
4188
+ * with or without a session token on your request. If you retrieve the IAM
4189
+ * role credentials without a token, the version 1.0 role credentials are returned. If you
4190
+ * retrieve the IAM role credentials using a valid session token, the
4191
+ * version 2.0 role credentials are returned.</p>
4192
+ * <p>If the state is <code>required</code>, you must send a session token with any instance
4193
+ * metadata retrieval requests. In this state, retrieving the IAM role
4194
+ * credentials always returns the version 2.0 credentials; the version 1.0 credentials are
4195
+ * not available.</p>
4142
4196
  */
4143
4197
  HttpTokens?: HttpTokensState | string;
4144
4198
  /**
@@ -4187,7 +4241,10 @@ export interface ModifyInstanceMetadataOptionsResult {
4187
4241
  */
4188
4242
  InstanceMetadataOptions?: InstanceMetadataOptionsResponse;
4189
4243
  }
4190
- export declare type HostTenancy = "dedicated" | "host";
4244
+ export declare enum HostTenancy {
4245
+ dedicated = "dedicated",
4246
+ host = "host"
4247
+ }
4191
4248
  export interface ModifyInstancePlacementRequest {
4192
4249
  /**
4193
4250
  * <p>The affinity setting for the instance.</p>
@@ -4936,7 +4993,12 @@ export interface ModifyTrafficMirrorFilterNetworkServicesResult {
4936
4993
  */
4937
4994
  TrafficMirrorFilter?: TrafficMirrorFilter;
4938
4995
  }
4939
- export declare type TrafficMirrorFilterRuleField = "description" | "destination-port-range" | "protocol" | "source-port-range";
4996
+ export declare enum TrafficMirrorFilterRuleField {
4997
+ description = "description",
4998
+ destination_port_range = "destination-port-range",
4999
+ protocol = "protocol",
5000
+ source_port_range = "source-port-range"
5001
+ }
4940
5002
  export interface ModifyTrafficMirrorFilterRuleRequest {
4941
5003
  /**
4942
5004
  * <p>The ID of the Traffic Mirror rule.</p>
@@ -4997,7 +5059,11 @@ export interface ModifyTrafficMirrorFilterRuleResult {
4997
5059
  */
4998
5060
  TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
4999
5061
  }
5000
- export declare type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id";
5062
+ export declare enum TrafficMirrorSessionField {
5063
+ description = "description",
5064
+ packet_length = "packet-length",
5065
+ virtual_network_id = "virtual-network-id"
5066
+ }
5001
5067
  export interface ModifyTrafficMirrorSessionRequest {
5002
5068
  /**
5003
5069
  * <p>The ID of the Traffic Mirror session.</p>
@@ -5518,6 +5584,10 @@ export interface ModifyVpcEndpointServicePermissionsRequest {
5518
5584
  RemoveAllowedPrincipals?: string[];
5519
5585
  }
5520
5586
  export interface ModifyVpcEndpointServicePermissionsResult {
5587
+ /**
5588
+ * <p>Information about the added principals.</p>
5589
+ */
5590
+ AddedPrincipals?: AddedPrincipal[];
5521
5591
  /**
5522
5592
  * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
5523
5593
  */
@@ -5598,7 +5668,9 @@ export interface ModifyVpcPeeringConnectionOptionsResult {
5598
5668
  */
5599
5669
  RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
5600
5670
  }
5601
- export declare type VpcTenancy = "default";
5671
+ export declare enum VpcTenancy {
5672
+ default = "default"
5673
+ }
5602
5674
  export interface ModifyVpcTenancyRequest {
5603
5675
  /**
5604
5676
  * <p>The ID of the VPC.</p>
@@ -5935,37 +6007,18 @@ export interface ModifyVpnTunnelOptionsResult {
5935
6007
  */
5936
6008
  VpnConnection?: VpnConnection;
5937
6009
  }
5938
- export interface MonitorInstancesRequest {
5939
- /**
5940
- * <p>The IDs of the instances.</p>
5941
- */
5942
- InstanceIds: string[] | undefined;
5943
- /**
5944
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5945
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5946
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5947
- */
5948
- DryRun?: boolean;
5949
- }
5950
6010
  /**
5951
- * <p>Describes the monitoring of an instance.</p>
6011
+ * @internal
5952
6012
  */
5953
- export interface InstanceMonitoring {
5954
- /**
5955
- * <p>The ID of the instance.</p>
5956
- */
5957
- InstanceId?: string;
5958
- /**
5959
- * <p>The monitoring for the instance.</p>
5960
- */
5961
- Monitoring?: Monitoring;
5962
- }
5963
- export interface MonitorInstancesResult {
5964
- /**
5965
- * <p>The monitoring information.</p>
5966
- */
5967
- InstanceMonitorings?: InstanceMonitoring[];
5968
- }
6013
+ export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateError) => any;
6014
+ /**
6015
+ * @internal
6016
+ */
6017
+ export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateErrorItem) => any;
6018
+ /**
6019
+ * @internal
6020
+ */
6021
+ export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreErrorItem) => any;
5969
6022
  /**
5970
6023
  * @internal
5971
6024
  */
@@ -7090,15 +7143,3 @@ export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (obj: Modi
7090
7143
  * @internal
7091
7144
  */
7092
7145
  export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsResult) => any;
7093
- /**
7094
- * @internal
7095
- */
7096
- export declare const MonitorInstancesRequestFilterSensitiveLog: (obj: MonitorInstancesRequest) => any;
7097
- /**
7098
- * @internal
7099
- */
7100
- export declare const InstanceMonitoringFilterSensitiveLog: (obj: InstanceMonitoring) => any;
7101
- /**
7102
- * @internal
7103
- */
7104
- export declare const MonitorInstancesResultFilterSensitiveLog: (obj: MonitorInstancesResult) => any;
@@ -1,9 +1,40 @@
1
1
  import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostnameType, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SnapshotState, SpotInstanceType } from "./models_1";
3
3
  import { Filter, InstanceTagNotificationAttribute, IpamPoolCidr, TransitGatewayRoute } from "./models_2";
4
- import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, TpmSupportValues } from "./models_3";
4
+ import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, TpmSupportValues } from "./models_3";
5
5
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { CapacityReservationSpecification, InstanceMonitoring, Purchase } from "./models_5";
6
+ import { CapacityReservationSpecification, Purchase } from "./models_5";
7
+ export interface MonitorInstancesRequest {
8
+ /**
9
+ * <p>The IDs of the instances.</p>
10
+ */
11
+ InstanceIds: string[] | undefined;
12
+ /**
13
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
14
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
15
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
16
+ */
17
+ DryRun?: boolean;
18
+ }
19
+ /**
20
+ * <p>Describes the monitoring of an instance.</p>
21
+ */
22
+ export interface InstanceMonitoring {
23
+ /**
24
+ * <p>The ID of the instance.</p>
25
+ */
26
+ InstanceId?: string;
27
+ /**
28
+ * <p>The monitoring for the instance.</p>
29
+ */
30
+ Monitoring?: Monitoring;
31
+ }
32
+ export interface MonitorInstancesResult {
33
+ /**
34
+ * <p>The monitoring information.</p>
35
+ */
36
+ InstanceMonitorings?: InstanceMonitoring[];
37
+ }
7
38
  export interface MoveAddressToVpcRequest {
8
39
  /**
9
40
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -961,8 +992,21 @@ export interface ReplaceTransitGatewayRouteResult {
961
992
  */
962
993
  Route?: TransitGatewayRoute;
963
994
  }
964
- export declare type ReportInstanceReasonCodes = "instance-stuck-in-state" | "not-accepting-credentials" | "other" | "password-not-available" | "performance-ebs-volume" | "performance-instance-store" | "performance-network" | "performance-other" | "unresponsive";
965
- export declare type ReportStatusType = "impaired" | "ok";
995
+ export declare enum ReportInstanceReasonCodes {
996
+ instance_stuck_in_state = "instance-stuck-in-state",
997
+ not_accepting_credentials = "not-accepting-credentials",
998
+ other = "other",
999
+ password_not_available = "password-not-available",
1000
+ performance_ebs_volume = "performance-ebs-volume",
1001
+ performance_instance_store = "performance-instance-store",
1002
+ performance_network = "performance-network",
1003
+ performance_other = "performance-other",
1004
+ unresponsive = "unresponsive"
1005
+ }
1006
+ export declare enum ReportStatusType {
1007
+ impaired = "impaired",
1008
+ ok = "ok"
1009
+ }
966
1010
  export interface ReportInstanceStatusRequest {
967
1011
  /**
968
1012
  * <p>Descriptive text about the health state of your instance.</p>
@@ -1291,7 +1335,9 @@ export interface ResetEbsDefaultKmsKeyIdResult {
1291
1335
  */
1292
1336
  KmsKeyId?: string;
1293
1337
  }
1294
- export declare type ResetFpgaImageAttributeName = "loadPermission";
1338
+ export declare enum ResetFpgaImageAttributeName {
1339
+ loadPermission = "loadPermission"
1340
+ }
1295
1341
  export interface ResetFpgaImageAttributeRequest {
1296
1342
  /**
1297
1343
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -1314,7 +1360,9 @@ export interface ResetFpgaImageAttributeResult {
1314
1360
  */
1315
1361
  Return?: boolean;
1316
1362
  }
1317
- export declare type ResetImageAttributeName = "launchPermission";
1363
+ export declare enum ResetImageAttributeName {
1364
+ launchPermission = "launchPermission"
1365
+ }
1318
1366
  /**
1319
1367
  * <p>Contains the parameters for ResetImageAttribute.</p>
1320
1368
  */
@@ -1885,13 +1933,14 @@ export interface InstanceMetadataOptionsRequest {
1885
1933
  /**
1886
1934
  * <p>The state of token usage for your instance metadata requests.</p>
1887
1935
  * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
1888
- * with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are
1889
- * returned. If you retrieve the IAM role credentials using a valid signed
1890
- * token, the version 2.0 role credentials are returned.</p>
1891
- * <p>If the state is <code>required</code>, you must send a signed token header with any
1892
- * instance metadata retrieval requests. In this state, retrieving the IAM
1893
- * role credentials always returns the version 2.0 credentials; the version 1.0 credentials
1894
- * are not available.</p>
1936
+ * with or without a session token on your request. If you retrieve the IAM
1937
+ * role credentials without a token, the version 1.0 role credentials are returned. If you
1938
+ * retrieve the IAM role credentials using a valid session token, the
1939
+ * version 2.0 role credentials are returned.</p>
1940
+ * <p>If the state is <code>required</code>, you must send a session token with any instance
1941
+ * metadata retrieval requests. In this state, retrieving the IAM role
1942
+ * credentials always returns the version 2.0 credentials; the version 1.0 credentials are
1943
+ * not available.</p>
1895
1944
  * <p>Default: <code>optional</code>
1896
1945
  * </p>
1897
1946
  */
@@ -2666,7 +2715,10 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
2666
2715
  */
2667
2716
  DryRun?: boolean;
2668
2717
  }
2669
- export declare type MembershipType = "igmp" | "static";
2718
+ export declare enum MembershipType {
2719
+ igmp = "igmp",
2720
+ static = "static"
2721
+ }
2670
2722
  /**
2671
2723
  * <p>Describes the transit gateway multicast group resources.</p>
2672
2724
  */
@@ -3199,6 +3251,18 @@ export interface WithdrawByoipCidrResult {
3199
3251
  */
3200
3252
  ByoipCidr?: ByoipCidr;
3201
3253
  }
3254
+ /**
3255
+ * @internal
3256
+ */
3257
+ export declare const MonitorInstancesRequestFilterSensitiveLog: (obj: MonitorInstancesRequest) => any;
3258
+ /**
3259
+ * @internal
3260
+ */
3261
+ export declare const InstanceMonitoringFilterSensitiveLog: (obj: InstanceMonitoring) => any;
3262
+ /**
3263
+ * @internal
3264
+ */
3265
+ export declare const MonitorInstancesResultFilterSensitiveLog: (obj: MonitorInstancesResult) => any;
3202
3266
  /**
3203
3267
  * @internal
3204
3268
  */
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  CreateTrafficMirrorFilterRuleRequest,
15
15
  CreateTrafficMirrorFilterRuleResult,
16
- } from "../models/models_1";
16
+ } from "../models/models_2";
17
17
  export interface CreateTrafficMirrorFilterRuleCommandInput
18
18
  extends CreateTrafficMirrorFilterRuleRequest {}
19
19
  export interface CreateTrafficMirrorFilterRuleCommandOutput
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  DescribeAddressesAttributeRequest,
15
15
  DescribeAddressesAttributeResult,
16
- } from "../models/models_2";
16
+ } from "../models/models_3";
17
17
  export interface DescribeAddressesAttributeCommandInput
18
18
  extends DescribeAddressesAttributeRequest {}
19
19
  export interface DescribeAddressesAttributeCommandOutput
@@ -10,8 +10,10 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import { DescribeAggregateIdFormatRequest } from "../models/models_2";
14
- import { DescribeAggregateIdFormatResult } from "../models/models_3";
13
+ import {
14
+ DescribeAggregateIdFormatRequest,
15
+ DescribeAggregateIdFormatResult,
16
+ } from "../models/models_3";
15
17
  export interface DescribeAggregateIdFormatCommandInput
16
18
  extends DescribeAggregateIdFormatRequest {}
17
19
  export interface DescribeAggregateIdFormatCommandOutput
@@ -10,10 +10,8 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import {
14
- DescribeLocalGatewayVirtualInterfaceGroupsRequest,
15
- DescribeLocalGatewayVirtualInterfaceGroupsResult,
16
- } from "../models/models_3";
13
+ import { DescribeLocalGatewayVirtualInterfaceGroupsRequest } from "../models/models_3";
14
+ import { DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_4";
17
15
  export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandInput
18
16
  extends DescribeLocalGatewayVirtualInterfaceGroupsRequest {}
19
17
  export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput
@@ -10,8 +10,10 @@ import {
10
10
  ServiceInputTypes,
11
11
  ServiceOutputTypes,
12
12
  } from "../EC2Client";
13
- import { DescribeLocalGatewayVirtualInterfacesRequest } from "../models/models_3";
14
- import { DescribeLocalGatewayVirtualInterfacesResult } from "../models/models_4";
13
+ import {
14
+ DescribeLocalGatewayVirtualInterfacesRequest,
15
+ DescribeLocalGatewayVirtualInterfacesResult,
16
+ } from "../models/models_4";
15
17
  export interface DescribeLocalGatewayVirtualInterfacesCommandInput
16
18
  extends DescribeLocalGatewayVirtualInterfacesRequest {}
17
19
  export interface DescribeLocalGatewayVirtualInterfacesCommandOutput
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  MonitorInstancesRequest,
15
15
  MonitorInstancesResult,
16
- } from "../models/models_5";
16
+ } from "../models/models_6";
17
17
  export interface MonitorInstancesCommandInput extends MonitorInstancesRequest {}
18
18
  export interface MonitorInstancesCommandOutput
19
19
  extends MonitorInstancesResult,