@aws-sdk/client-ec2 3.1065.0 → 3.1066.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 (65) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +28 -0
  3. package/dist-cjs/schemas/schemas_0.js +127 -66
  4. package/dist-es/EC2.js +4 -0
  5. package/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
  6. package/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/schemas/schemas_0.js +65 -4
  9. package/dist-types/EC2.d.ts +14 -0
  10. package/dist-types/EC2Client.d.ts +4 -2
  11. package/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
  12. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  13. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
  16. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  18. package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
  20. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -2
  22. package/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
  23. package/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  24. package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -2
  25. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
  26. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  27. package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +37 -22
  30. package/dist-types/models/models_1.d.ts +24 -100
  31. package/dist-types/models/models_2.d.ts +100 -34
  32. package/dist-types/models/models_3.d.ts +73 -120
  33. package/dist-types/models/models_4.d.ts +128 -172
  34. package/dist-types/models/models_5.d.ts +204 -183
  35. package/dist-types/models/models_6.d.ts +186 -119
  36. package/dist-types/models/models_7.d.ts +115 -1
  37. package/dist-types/schemas/schemas_0.d.ts +7 -0
  38. package/dist-types/ts3.4/EC2.d.ts +34 -0
  39. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  40. package/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
  41. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
  50. package/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +8 -6
  57. package/dist-types/ts3.4/models/models_1.d.ts +7 -20
  58. package/dist-types/ts3.4/models/models_2.d.ts +23 -9
  59. package/dist-types/ts3.4/models/models_3.d.ts +16 -26
  60. package/dist-types/ts3.4/models/models_4.d.ts +30 -26
  61. package/dist-types/ts3.4/models/models_5.d.ts +35 -37
  62. package/dist-types/ts3.4/models/models_6.d.ts +37 -29
  63. package/dist-types/ts3.4/models/models_7.d.ts +26 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  65. package/package.json +2 -2
@@ -1,10 +1,191 @@
1
- import type { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityManagerMonitoredTagKeyStatus, CapacityReservationPreference, CapacityReservationState, CapacityTenancy, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, GroupBy, HostMaintenance, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, Metric, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, ReservationEndDateType, ReservationState, ReservationType, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
1
+ import type { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityReservationPreference, CapacityReservationState, CapacityTenancy, Comparison, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, FilterByDimension, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, GroupBy, HostMaintenance, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, IngestionStatus, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, Metric, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, ReservationEndDateType, ReservationState, ReservationType, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
2
2
  import type { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddressAttribute, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, InstanceEventWindow, InterruptibleCapacityAllocation, InterruptionInfo, IpamPoolAllocation, OperatorResponse, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayConfigurationInputStructure, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
3
- import type { AttributeValue, CapacityReservationTarget, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacitySpecificationRequest } from "./models_1";
3
+ import type { AttributeValue, CapacityReservationTarget, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacitySpecificationRequest } from "./models_1";
4
4
  import type { SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
5
- import type { ConversionTask, Filter, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, SnapshotDetail, SnapshotTaskDetail } from "./models_3";
6
- import type { AttributeBooleanValue, InstanceMetadataOptionsResponse, InstanceStatusEvent } from "./models_4";
7
- import type { CapacityManagerCondition, RouteServerPropagation } from "./models_5";
5
+ import type { ConversionTask, Filter, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, SnapshotDetail } from "./models_3";
6
+ import type { AttributeBooleanValue, InstanceMetadataOptionsResponse, InstanceStatusEvent, SnapshotTaskDetail } from "./models_4";
7
+ import type { RouteServerPropagation } from "./models_5";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface GetCapacityManagerAttributesRequest {
12
+ /**
13
+ * <p>
14
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
15
+ * If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
16
+ * </p>
17
+ * @public
18
+ */
19
+ DryRun?: boolean | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface GetCapacityManagerAttributesResult {
25
+ /**
26
+ * <p>
27
+ * The current status of Capacity Manager.
28
+ * </p>
29
+ * @public
30
+ */
31
+ CapacityManagerStatus?: CapacityManagerStatus | undefined;
32
+ /**
33
+ * <p>
34
+ * Indicates whether Organizations access is enabled for cross-account data aggregation.
35
+ * </p>
36
+ * @public
37
+ */
38
+ OrganizationsAccess?: boolean | undefined;
39
+ /**
40
+ * <p>
41
+ * The number of active data export configurations for this account. This count includes all data exports regardless of their current delivery status.
42
+ * </p>
43
+ * @public
44
+ */
45
+ DataExportCount?: number | undefined;
46
+ /**
47
+ * <p>
48
+ * The current data ingestion status. Initial ingestion may take several hours after enabling Capacity Manager.
49
+ * </p>
50
+ * @public
51
+ */
52
+ IngestionStatus?: IngestionStatus | undefined;
53
+ /**
54
+ * <p>
55
+ * A descriptive message providing additional details about the current ingestion status. This may include error information if ingestion has
56
+ * failed or progress details during initial setup.
57
+ * </p>
58
+ * @public
59
+ */
60
+ IngestionStatusMessage?: string | undefined;
61
+ /**
62
+ * <p>
63
+ * The timestamp of the earliest data point available in Capacity Manager, in milliseconds since epoch. This indicates how far back historical data is available for queries.
64
+ * </p>
65
+ * @public
66
+ */
67
+ EarliestDatapointTimestamp?: Date | undefined;
68
+ /**
69
+ * <p>
70
+ * The timestamp of the most recent data point ingested by Capacity Manager, in milliseconds since epoch. This indicates how current your capacity data is.
71
+ * </p>
72
+ * @public
73
+ */
74
+ LatestDatapointTimestamp?: Date | undefined;
75
+ }
76
+ /**
77
+ * <p>
78
+ * Specifies a condition for filtering capacity data based on dimension values. Used to create precise filters for metric queries and dimension lookups.
79
+ * </p>
80
+ * @public
81
+ */
82
+ export interface DimensionCondition {
83
+ /**
84
+ * <p>
85
+ * The name of the dimension to filter by.
86
+ * </p>
87
+ * @public
88
+ */
89
+ Dimension?: FilterByDimension | undefined;
90
+ /**
91
+ * <p>
92
+ * The comparison operator to use for the filter.
93
+ * </p>
94
+ * @public
95
+ */
96
+ Comparison?: Comparison | undefined;
97
+ /**
98
+ * <p>
99
+ * The list of values to match against the specified dimension. For 'equals' comparison, only the first value is used. For 'in' comparison, any matching value will satisfy the condition.
100
+ * </p>
101
+ * @public
102
+ */
103
+ Values?: string[] | undefined;
104
+ }
105
+ /**
106
+ * <p>
107
+ * Represents a filter condition for Capacity Manager queries. Contains dimension-based filtering criteria used to narrow down metric data and dimension results.
108
+ * </p>
109
+ * @public
110
+ */
111
+ export interface CapacityManagerCondition {
112
+ /**
113
+ * <p>
114
+ * The dimension-based condition that specifies how to filter the data based on dimension values.
115
+ * </p>
116
+ * @public
117
+ */
118
+ DimensionCondition?: DimensionCondition | undefined;
119
+ }
120
+ /**
121
+ * @public
122
+ */
123
+ export interface GetCapacityManagerMetricDataRequest {
124
+ /**
125
+ * <p>
126
+ * The names of the metrics to retrieve. Maximum of 10 metrics per request.
127
+ * </p>
128
+ * @public
129
+ */
130
+ MetricNames: Metric[] | undefined;
131
+ /**
132
+ * <p>
133
+ * The start time for the metric data query, in ISO 8601 format. The time range (end time - start time) must be a multiple of the specified period.
134
+ * </p>
135
+ * @public
136
+ */
137
+ StartTime: Date | undefined;
138
+ /**
139
+ * <p>
140
+ * The end time for the metric data query, in ISO 8601 format. If the end time is beyond the latest ingested data, it will be automatically adjusted to the latest available data point.
141
+ * </p>
142
+ * @public
143
+ */
144
+ EndTime: Date | undefined;
145
+ /**
146
+ * <p>
147
+ * The granularity, in seconds, of the returned data points.
148
+ * </p>
149
+ * @public
150
+ */
151
+ Period: number | undefined;
152
+ /**
153
+ * <p>
154
+ * The dimensions by which to group the metric data. This determines how the data is aggregated and returned.
155
+ * </p>
156
+ * @public
157
+ */
158
+ GroupBy?: GroupBy[] | undefined;
159
+ /**
160
+ * <p>
161
+ * Conditions to filter the metric data. Each filter specifies a dimension, comparison operator ('equals', 'in'), and values to match against.
162
+ * </p>
163
+ * @public
164
+ */
165
+ FilterBy?: CapacityManagerCondition[] | undefined;
166
+ /**
167
+ * <p>
168
+ * The maximum number of data points to return. Valid range is 1 to 100,000. Use with NextToken for pagination of large result sets.
169
+ * </p>
170
+ * @public
171
+ */
172
+ MaxResults?: number | undefined;
173
+ /**
174
+ * <p>
175
+ * The token for the next page of results. Use this value in a subsequent call to retrieve additional data points.
176
+ * </p>
177
+ * @public
178
+ */
179
+ NextToken?: string | undefined;
180
+ /**
181
+ * <p>
182
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have
183
+ * the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
184
+ * </p>
185
+ * @public
186
+ */
187
+ DryRun?: boolean | undefined;
188
+ }
8
189
  /**
9
190
  * <p>
10
191
  * A key-value pair representing a tag associated with a capacity resource in Capacity Manager.
@@ -8717,117 +8898,3 @@ export interface ModifyIpamScopeRequest {
8717
8898
  */
8718
8899
  RemoveExternalAuthorityConfiguration?: boolean | undefined;
8719
8900
  }
8720
- /**
8721
- * @public
8722
- */
8723
- export interface ModifyIpamScopeResult {
8724
- /**
8725
- * <p>The results of the modification.</p>
8726
- * @public
8727
- */
8728
- IpamScope?: IpamScope | undefined;
8729
- }
8730
- /**
8731
- * @public
8732
- */
8733
- export interface ModifyLaunchTemplateRequest {
8734
- /**
8735
- * <p>Checks whether you have the required permissions for the action, without actually
8736
- * making the request, and provides an error response. If you have the required
8737
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8738
- * <code>UnauthorizedOperation</code>.</p>
8739
- * @public
8740
- */
8741
- DryRun?: boolean | undefined;
8742
- /**
8743
- * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
8744
- * request. If a client token isn't specified, a randomly generated token is used in the
8745
- * request to ensure idempotency.</p>
8746
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
8747
- * idempotency</a>.</p>
8748
- * <p>Constraint: Maximum 128 ASCII characters.</p>
8749
- * @public
8750
- */
8751
- ClientToken?: string | undefined;
8752
- /**
8753
- * <p>The ID of the launch template.</p>
8754
- * <p>You must specify either the launch template ID or the launch template name, but not
8755
- * both.</p>
8756
- * @public
8757
- */
8758
- LaunchTemplateId?: string | undefined;
8759
- /**
8760
- * <p>The name of the launch template.</p>
8761
- * <p>You must specify either the launch template ID or the launch template name, but not
8762
- * both.</p>
8763
- * @public
8764
- */
8765
- LaunchTemplateName?: string | undefined;
8766
- /**
8767
- * <p>The version number of the launch template to set as the default version.</p>
8768
- * @public
8769
- */
8770
- DefaultVersion?: string | undefined;
8771
- }
8772
- /**
8773
- * @public
8774
- */
8775
- export interface ModifyLaunchTemplateResult {
8776
- /**
8777
- * <p>Information about the launch template.</p>
8778
- * @public
8779
- */
8780
- LaunchTemplate?: LaunchTemplate | undefined;
8781
- }
8782
- /**
8783
- * @public
8784
- */
8785
- export interface ModifyLocalGatewayRouteRequest {
8786
- /**
8787
- * <p>The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.</p>
8788
- * @public
8789
- */
8790
- DestinationCidrBlock?: string | undefined;
8791
- /**
8792
- * <p>The ID of the local gateway route table.</p>
8793
- * @public
8794
- */
8795
- LocalGatewayRouteTableId: string | undefined;
8796
- /**
8797
- * <p>
8798
- * The ID of the virtual interface group.
8799
- * </p>
8800
- * @public
8801
- */
8802
- LocalGatewayVirtualInterfaceGroupId?: string | undefined;
8803
- /**
8804
- * <p>The ID of the network interface.</p>
8805
- * @public
8806
- */
8807
- NetworkInterfaceId?: string | undefined;
8808
- /**
8809
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8810
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8811
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8812
- * @public
8813
- */
8814
- DryRun?: boolean | undefined;
8815
- /**
8816
- * <p>
8817
- * The ID of the prefix list. Use a prefix list in place of <code>DestinationCidrBlock</code>. You
8818
- * cannot use <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
8819
- * </p>
8820
- * @public
8821
- */
8822
- DestinationPrefixListId?: string | undefined;
8823
- }
8824
- /**
8825
- * @public
8826
- */
8827
- export interface ModifyLocalGatewayRouteResult {
8828
- /**
8829
- * <p>Information about the local gateway route table.</p>
8830
- * @public
8831
- */
8832
- Route?: LocalGatewayRoute | undefined;
8833
- }
@@ -1,11 +1,125 @@
1
1
  import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsSupportValue, EncryptionSupportOptionValue, ExcessCapacityTerminationPolicy, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, Ipv6SupportValue, ManagedResourceDefaultVisibility, MarketType, MembershipType, NestedVirtualizationSpecification, OperationType, PayerResponsibility, PublicIpDnsOption, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RouteServerPersistRoutesAction, RuleAction, SecondaryInterfaceType, SecurityGroupReferencingSupportValue, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAttachmentResourceType, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
2
2
  import type { AddedPrincipal, AddPrefixListEntry, AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
3
- import type { AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement, RouteServer, VpcEncryptionControl } from "./models_1";
3
+ import type { AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement, RouteServer, VpcEncryptionControl } from "./models_1";
4
4
  import type { DnsOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { Byoasn, CapacityBlock, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
6
  import type { AttributeBooleanValue, CreateVolumePermission, InstanceNetworkInterfaceSpecification, InstanceState, LaunchTemplateConfig, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
7
7
  import type { VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
8
  import type { CapacityManagerMonitoredTagKey, CapacityReservationSpecification, EnclaveOptionsRequest, ManagedResourceVisibilitySettings, Purchase } from "./models_6";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface ModifyIpamScopeResult {
13
+ /**
14
+ * <p>The results of the modification.</p>
15
+ * @public
16
+ */
17
+ IpamScope?: IpamScope | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface ModifyLaunchTemplateRequest {
23
+ /**
24
+ * <p>Checks whether you have the required permissions for the action, without actually
25
+ * making the request, and provides an error response. If you have the required
26
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
27
+ * <code>UnauthorizedOperation</code>.</p>
28
+ * @public
29
+ */
30
+ DryRun?: boolean | undefined;
31
+ /**
32
+ * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
33
+ * request. If a client token isn't specified, a randomly generated token is used in the
34
+ * request to ensure idempotency.</p>
35
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
36
+ * idempotency</a>.</p>
37
+ * <p>Constraint: Maximum 128 ASCII characters.</p>
38
+ * @public
39
+ */
40
+ ClientToken?: string | undefined;
41
+ /**
42
+ * <p>The ID of the launch template.</p>
43
+ * <p>You must specify either the launch template ID or the launch template name, but not
44
+ * both.</p>
45
+ * @public
46
+ */
47
+ LaunchTemplateId?: string | undefined;
48
+ /**
49
+ * <p>The name of the launch template.</p>
50
+ * <p>You must specify either the launch template ID or the launch template name, but not
51
+ * both.</p>
52
+ * @public
53
+ */
54
+ LaunchTemplateName?: string | undefined;
55
+ /**
56
+ * <p>The version number of the launch template to set as the default version.</p>
57
+ * @public
58
+ */
59
+ DefaultVersion?: string | undefined;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface ModifyLaunchTemplateResult {
65
+ /**
66
+ * <p>Information about the launch template.</p>
67
+ * @public
68
+ */
69
+ LaunchTemplate?: LaunchTemplate | undefined;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface ModifyLocalGatewayRouteRequest {
75
+ /**
76
+ * <p>The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.</p>
77
+ * @public
78
+ */
79
+ DestinationCidrBlock?: string | undefined;
80
+ /**
81
+ * <p>The ID of the local gateway route table.</p>
82
+ * @public
83
+ */
84
+ LocalGatewayRouteTableId: string | undefined;
85
+ /**
86
+ * <p>
87
+ * The ID of the virtual interface group.
88
+ * </p>
89
+ * @public
90
+ */
91
+ LocalGatewayVirtualInterfaceGroupId?: string | undefined;
92
+ /**
93
+ * <p>The ID of the network interface.</p>
94
+ * @public
95
+ */
96
+ NetworkInterfaceId?: string | undefined;
97
+ /**
98
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
99
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
100
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
101
+ * @public
102
+ */
103
+ DryRun?: boolean | undefined;
104
+ /**
105
+ * <p>
106
+ * The ID of the prefix list. Use a prefix list in place of <code>DestinationCidrBlock</code>. You
107
+ * cannot use <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
108
+ * </p>
109
+ * @public
110
+ */
111
+ DestinationPrefixListId?: string | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ */
116
+ export interface ModifyLocalGatewayRouteResult {
117
+ /**
118
+ * <p>Information about the local gateway route table.</p>
119
+ * @public
120
+ */
121
+ Route?: LocalGatewayRoute | undefined;
122
+ }
9
123
  /**
10
124
  * <p>An entry for a prefix list.</p>
11
125
  * @public
@@ -115,6 +115,8 @@ export declare var AssociationStatus$: StaticStructureSchema;
115
115
  export declare var AthenaIntegration$: StaticStructureSchema;
116
116
  export declare var AttachClassicLinkVpcRequest$: StaticStructureSchema;
117
117
  export declare var AttachClassicLinkVpcResult$: StaticStructureSchema;
118
+ export declare var AttachImageWatermarkRequest$: StaticStructureSchema;
119
+ export declare var AttachImageWatermarkResult$: StaticStructureSchema;
118
120
  export declare var AttachInternetGatewayRequest$: StaticStructureSchema;
119
121
  export declare var AttachmentEnaSrdSpecification$: StaticStructureSchema;
120
122
  export declare var AttachmentEnaSrdUdpSpecification$: StaticStructureSchema;
@@ -1067,6 +1069,8 @@ export declare var DestinationOptionsRequest$: StaticStructureSchema;
1067
1069
  export declare var DestinationOptionsResponse$: StaticStructureSchema;
1068
1070
  export declare var DetachClassicLinkVpcRequest$: StaticStructureSchema;
1069
1071
  export declare var DetachClassicLinkVpcResult$: StaticStructureSchema;
1072
+ export declare var DetachImageWatermarkRequest$: StaticStructureSchema;
1073
+ export declare var DetachImageWatermarkResult$: StaticStructureSchema;
1070
1074
  export declare var DetachInternetGatewayRequest$: StaticStructureSchema;
1071
1075
  export declare var DetachNetworkInterfaceRequest$: StaticStructureSchema;
1072
1076
  export declare var DetachVerifiedAccessTrustProviderRequest$: StaticStructureSchema;
@@ -1468,6 +1472,7 @@ export declare var ImageUsageResourceType$: StaticStructureSchema;
1468
1472
  export declare var ImageUsageResourceTypeOption$: StaticStructureSchema;
1469
1473
  export declare var ImageUsageResourceTypeOptionRequest$: StaticStructureSchema;
1470
1474
  export declare var ImageUsageResourceTypeRequest$: StaticStructureSchema;
1475
+ export declare var ImageWatermark$: StaticStructureSchema;
1471
1476
  export declare var ImportClientVpnClientCertificateRevocationListRequest$: StaticStructureSchema;
1472
1477
  export declare var ImportClientVpnClientCertificateRevocationListResult$: StaticStructureSchema;
1473
1478
  export declare var ImportImageLicenseConfigurationRequest$: StaticStructureSchema;
@@ -2435,6 +2440,7 @@ export declare var AssociateTransitGatewayRouteTable$: StaticOperationSchema;
2435
2440
  export declare var AssociateTrunkInterface$: StaticOperationSchema;
2436
2441
  export declare var AssociateVpcCidrBlock$: StaticOperationSchema;
2437
2442
  export declare var AttachClassicLinkVpc$: StaticOperationSchema;
2443
+ export declare var AttachImageWatermark$: StaticOperationSchema;
2438
2444
  export declare var AttachInternetGateway$: StaticOperationSchema;
2439
2445
  export declare var AttachNetworkInterface$: StaticOperationSchema;
2440
2446
  export declare var AttachVerifiedAccessTrustProvider$: StaticOperationSchema;
@@ -2854,6 +2860,7 @@ export declare var DescribeVpnConcentrators$: StaticOperationSchema;
2854
2860
  export declare var DescribeVpnConnections$: StaticOperationSchema;
2855
2861
  export declare var DescribeVpnGateways$: StaticOperationSchema;
2856
2862
  export declare var DetachClassicLinkVpc$: StaticOperationSchema;
2863
+ export declare var DetachImageWatermark$: StaticOperationSchema;
2857
2864
  export declare var DetachInternetGateway$: StaticOperationSchema;
2858
2865
  export declare var DetachNetworkInterface$: StaticOperationSchema;
2859
2866
  export declare var DetachVerifiedAccessTrustProvider$: StaticOperationSchema;
@@ -153,6 +153,10 @@ import {
153
153
  AttachClassicLinkVpcCommandInput,
154
154
  AttachClassicLinkVpcCommandOutput,
155
155
  } from "./commands/AttachClassicLinkVpcCommand";
156
+ import {
157
+ AttachImageWatermarkCommandInput,
158
+ AttachImageWatermarkCommandOutput,
159
+ } from "./commands/AttachImageWatermarkCommand";
156
160
  import {
157
161
  AttachInternetGatewayCommandInput,
158
162
  AttachInternetGatewayCommandOutput,
@@ -1829,6 +1833,10 @@ import {
1829
1833
  DetachClassicLinkVpcCommandInput,
1830
1834
  DetachClassicLinkVpcCommandOutput,
1831
1835
  } from "./commands/DetachClassicLinkVpcCommand";
1836
+ import {
1837
+ DetachImageWatermarkCommandInput,
1838
+ DetachImageWatermarkCommandOutput,
1839
+ } from "./commands/DetachImageWatermarkCommand";
1832
1840
  import {
1833
1841
  DetachInternetGatewayCommandInput,
1834
1842
  DetachInternetGatewayCommandOutput,
@@ -3633,6 +3641,19 @@ export interface EC2 {
3633
3641
  options: __HttpHandlerOptions,
3634
3642
  cb: (err: any, data?: AttachClassicLinkVpcCommandOutput) => void
3635
3643
  ): void;
3644
+ attachImageWatermark(
3645
+ args: AttachImageWatermarkCommandInput,
3646
+ options?: __HttpHandlerOptions
3647
+ ): Promise<AttachImageWatermarkCommandOutput>;
3648
+ attachImageWatermark(
3649
+ args: AttachImageWatermarkCommandInput,
3650
+ cb: (err: any, data?: AttachImageWatermarkCommandOutput) => void
3651
+ ): void;
3652
+ attachImageWatermark(
3653
+ args: AttachImageWatermarkCommandInput,
3654
+ options: __HttpHandlerOptions,
3655
+ cb: (err: any, data?: AttachImageWatermarkCommandOutput) => void
3656
+ ): void;
3636
3657
  attachInternetGateway(
3637
3658
  args: AttachInternetGatewayCommandInput,
3638
3659
  options?: __HttpHandlerOptions
@@ -9830,6 +9851,19 @@ export interface EC2 {
9830
9851
  options: __HttpHandlerOptions,
9831
9852
  cb: (err: any, data?: DetachClassicLinkVpcCommandOutput) => void
9832
9853
  ): void;
9854
+ detachImageWatermark(
9855
+ args: DetachImageWatermarkCommandInput,
9856
+ options?: __HttpHandlerOptions
9857
+ ): Promise<DetachImageWatermarkCommandOutput>;
9858
+ detachImageWatermark(
9859
+ args: DetachImageWatermarkCommandInput,
9860
+ cb: (err: any, data?: DetachImageWatermarkCommandOutput) => void
9861
+ ): void;
9862
+ detachImageWatermark(
9863
+ args: DetachImageWatermarkCommandInput,
9864
+ options: __HttpHandlerOptions,
9865
+ cb: (err: any, data?: DetachImageWatermarkCommandOutput) => void
9866
+ ): void;
9833
9867
  detachInternetGateway(
9834
9868
  args: DetachInternetGatewayCommandInput,
9835
9869
  options?: __HttpHandlerOptions
@@ -184,6 +184,10 @@ import {
184
184
  AttachClassicLinkVpcCommandInput,
185
185
  AttachClassicLinkVpcCommandOutput,
186
186
  } from "./commands/AttachClassicLinkVpcCommand";
187
+ import {
188
+ AttachImageWatermarkCommandInput,
189
+ AttachImageWatermarkCommandOutput,
190
+ } from "./commands/AttachImageWatermarkCommand";
187
191
  import {
188
192
  AttachInternetGatewayCommandInput,
189
193
  AttachInternetGatewayCommandOutput,
@@ -1860,6 +1864,10 @@ import {
1860
1864
  DetachClassicLinkVpcCommandInput,
1861
1865
  DetachClassicLinkVpcCommandOutput,
1862
1866
  } from "./commands/DetachClassicLinkVpcCommand";
1867
+ import {
1868
+ DetachImageWatermarkCommandInput,
1869
+ DetachImageWatermarkCommandOutput,
1870
+ } from "./commands/DetachImageWatermarkCommand";
1863
1871
  import {
1864
1872
  DetachInternetGatewayCommandInput,
1865
1873
  DetachInternetGatewayCommandOutput,
@@ -3149,6 +3157,7 @@ export type ServiceInputTypes =
3149
3157
  | AssociateTrunkInterfaceCommandInput
3150
3158
  | AssociateVpcCidrBlockCommandInput
3151
3159
  | AttachClassicLinkVpcCommandInput
3160
+ | AttachImageWatermarkCommandInput
3152
3161
  | AttachInternetGatewayCommandInput
3153
3162
  | AttachNetworkInterfaceCommandInput
3154
3163
  | AttachVerifiedAccessTrustProviderCommandInput
@@ -3568,6 +3577,7 @@ export type ServiceInputTypes =
3568
3577
  | DescribeVpnConnectionsCommandInput
3569
3578
  | DescribeVpnGatewaysCommandInput
3570
3579
  | DetachClassicLinkVpcCommandInput
3580
+ | DetachImageWatermarkCommandInput
3571
3581
  | DetachInternetGatewayCommandInput
3572
3582
  | DetachNetworkInterfaceCommandInput
3573
3583
  | DetachVerifiedAccessTrustProviderCommandInput
@@ -3917,6 +3927,7 @@ export type ServiceOutputTypes =
3917
3927
  | AssociateTrunkInterfaceCommandOutput
3918
3928
  | AssociateVpcCidrBlockCommandOutput
3919
3929
  | AttachClassicLinkVpcCommandOutput
3930
+ | AttachImageWatermarkCommandOutput
3920
3931
  | AttachInternetGatewayCommandOutput
3921
3932
  | AttachNetworkInterfaceCommandOutput
3922
3933
  | AttachVerifiedAccessTrustProviderCommandOutput
@@ -4336,6 +4347,7 @@ export type ServiceOutputTypes =
4336
4347
  | DescribeVpnConnectionsCommandOutput
4337
4348
  | DescribeVpnGatewaysCommandOutput
4338
4349
  | DetachClassicLinkVpcCommandOutput
4350
+ | DetachImageWatermarkCommandOutput
4339
4351
  | DetachInternetGatewayCommandOutput
4340
4352
  | DetachNetworkInterfaceCommandOutput
4341
4353
  | DetachVerifiedAccessTrustProviderCommandOutput
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ AttachImageWatermarkRequest,
10
+ AttachImageWatermarkResult,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AttachImageWatermarkCommandInput
15
+ extends AttachImageWatermarkRequest {}
16
+ export interface AttachImageWatermarkCommandOutput
17
+ extends AttachImageWatermarkResult,
18
+ __MetadataBearer {}
19
+ declare const AttachImageWatermarkCommand_base: {
20
+ new (
21
+ input: AttachImageWatermarkCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ AttachImageWatermarkCommandInput,
24
+ AttachImageWatermarkCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: AttachImageWatermarkCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ AttachImageWatermarkCommandInput,
33
+ AttachImageWatermarkCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class AttachImageWatermarkCommand extends AttachImageWatermarkCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: AttachImageWatermarkRequest;
46
+ output: AttachImageWatermarkResult;
47
+ };
48
+ sdk: {
49
+ input: AttachImageWatermarkCommandInput;
50
+ output: AttachImageWatermarkCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- CreateDefaultSubnetRequest,
10
- CreateDefaultSubnetResult,
11
- } from "../models/models_0";
8
+ import { CreateDefaultSubnetRequest } from "../models/models_0";
9
+ import { CreateDefaultSubnetResult } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateDefaultSubnetCommandInput