@aws-sdk/client-ec2 3.703.0 → 3.709.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 (76) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +207 -65
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyInstanceNetworkPerformanceOptionsCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +5 -14
  7. package/dist-es/models/models_2.js +14 -0
  8. package/dist-es/models/models_3.js +0 -6
  9. package/dist-es/models/models_4.js +11 -21
  10. package/dist-es/models/models_5.js +21 -0
  11. package/dist-es/models/models_6.js +0 -15
  12. package/dist-es/models/models_7.js +15 -0
  13. package/dist-es/protocols/Aws_ec2.js +114 -0
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -0
  17. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -0
  18. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteCoipCidrCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
  28. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +2 -1
  29. package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  30. package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +3 -0
  32. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +75 -0
  34. package/dist-types/commands/RunInstancesCommand.d.ts +6 -0
  35. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  38. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -2
  39. package/dist-types/commands/index.d.ts +1 -0
  40. package/dist-types/models/models_1.d.ts +69 -81
  41. package/dist-types/models/models_2.d.ts +82 -48
  42. package/dist-types/models/models_3.d.ts +48 -107
  43. package/dist-types/models/models_4.d.ts +157 -83
  44. package/dist-types/models/models_5.d.ts +70 -76
  45. package/dist-types/models/models_6.d.ts +77 -81
  46. package/dist-types/models/models_7.d.ts +168 -158
  47. package/dist-types/models/models_8.d.ts +158 -1
  48. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  49. package/dist-types/ts3.4/EC2.d.ts +23 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  51. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +4 -2
  53. package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/DeleteCoipCidrCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_1.d.ts +19 -31
  68. package/dist-types/ts3.4/models/models_2.d.ts +32 -14
  69. package/dist-types/ts3.4/models/models_3.d.ts +12 -21
  70. package/dist-types/ts3.4/models/models_4.d.ts +34 -33
  71. package/dist-types/ts3.4/models/models_5.d.ts +32 -23
  72. package/dist-types/ts3.4/models/models_6.d.ts +20 -31
  73. package/dist-types/ts3.4/models/models_7.d.ts +46 -38
  74. package/dist-types/ts3.4/models/models_8.d.ts +37 -1
  75. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  76. package/package.json +37 -37
@@ -1,10 +1,89 @@
1
1
  import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, ManagedPrefixList, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { Byoasn, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, TpmSupportValues } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
- import { CapacityReservationSpecification, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, IpamResourceCidr, MetadataDefaultHttpTokensState, OperationType, Purchase } from "./models_6";
7
+ import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyInstanceMaintenanceOptionsRequest {
12
+ /**
13
+ * <p>The ID of the instance.</p>
14
+ * @public
15
+ */
16
+ InstanceId: string | undefined;
17
+ /**
18
+ * <p>Disables the automatic recovery behavior of your instance or sets it to
19
+ * default.</p>
20
+ * @public
21
+ */
22
+ AutoRecovery?: InstanceAutoRecoveryState | undefined;
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
+ /**
33
+ * @public
34
+ */
35
+ export interface ModifyInstanceMaintenanceOptionsResult {
36
+ /**
37
+ * <p>The ID of the instance.</p>
38
+ * @public
39
+ */
40
+ InstanceId?: string | undefined;
41
+ /**
42
+ * <p>Provides information on the current automatic recovery behavior of your
43
+ * instance.</p>
44
+ * @public
45
+ */
46
+ AutoRecovery?: InstanceAutoRecoveryState | undefined;
47
+ }
48
+ /**
49
+ * @public
50
+ * @enum
51
+ */
52
+ export declare const DefaultInstanceMetadataEndpointState: {
53
+ readonly disabled: "disabled";
54
+ readonly enabled: "enabled";
55
+ readonly no_preference: "no-preference";
56
+ };
57
+ /**
58
+ * @public
59
+ */
60
+ export type DefaultInstanceMetadataEndpointState = (typeof DefaultInstanceMetadataEndpointState)[keyof typeof DefaultInstanceMetadataEndpointState];
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const MetadataDefaultHttpTokensState: {
66
+ readonly no_preference: "no-preference";
67
+ readonly optional: "optional";
68
+ readonly required: "required";
69
+ };
70
+ /**
71
+ * @public
72
+ */
73
+ export type MetadataDefaultHttpTokensState = (typeof MetadataDefaultHttpTokensState)[keyof typeof MetadataDefaultHttpTokensState];
74
+ /**
75
+ * @public
76
+ * @enum
77
+ */
78
+ export declare const DefaultInstanceMetadataTagsState: {
79
+ readonly disabled: "disabled";
80
+ readonly enabled: "enabled";
81
+ readonly no_preference: "no-preference";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type DefaultInstanceMetadataTagsState = (typeof DefaultInstanceMetadataTagsState)[keyof typeof DefaultInstanceMetadataTagsState];
8
87
  /**
9
88
  * @public
10
89
  */
@@ -168,6 +247,59 @@ export interface ModifyInstanceMetadataOptionsResult {
168
247
  */
169
248
  InstanceMetadataOptions?: InstanceMetadataOptionsResponse | undefined;
170
249
  }
250
+ /**
251
+ * @public
252
+ */
253
+ export interface ModifyInstanceNetworkPerformanceRequest {
254
+ /**
255
+ * <p>The ID of the instance to update.</p>
256
+ * @public
257
+ */
258
+ InstanceId: string | undefined;
259
+ /**
260
+ * <p>Specify the bandwidth weighting option to boost the associated type of baseline bandwidth, as follows:</p>
261
+ * <dl>
262
+ * <dt>default</dt>
263
+ * <dd>
264
+ * <p>This option uses the standard bandwidth configuration for your instance type.</p>
265
+ * </dd>
266
+ * <dt>vpc-1</dt>
267
+ * <dd>
268
+ * <p>This option boosts your networking baseline bandwidth and reduces your EBS
269
+ * baseline bandwidth.</p>
270
+ * </dd>
271
+ * <dt>ebs-1</dt>
272
+ * <dd>
273
+ * <p>This option boosts your EBS baseline bandwidth and reduces your networking
274
+ * baseline bandwidth.</p>
275
+ * </dd>
276
+ * </dl>
277
+ * @public
278
+ */
279
+ BandwidthWeighting: InstanceBandwidthWeighting | undefined;
280
+ /**
281
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
282
+ * request, and provides an error response. If you have the required permissions, the error response is
283
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
284
+ * @public
285
+ */
286
+ DryRun?: boolean | undefined;
287
+ }
288
+ /**
289
+ * @public
290
+ */
291
+ export interface ModifyInstanceNetworkPerformanceResult {
292
+ /**
293
+ * <p>The instance ID that was updated.</p>
294
+ * @public
295
+ */
296
+ InstanceId?: string | undefined;
297
+ /**
298
+ * <p>Contains the updated configuration for bandwidth weighting on the specified instance.</p>
299
+ * @public
300
+ */
301
+ BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
302
+ }
171
303
  /**
172
304
  * @public
173
305
  * @enum
@@ -6528,6 +6660,35 @@ export interface InstanceMetadataOptionsRequest {
6528
6660
  */
6529
6661
  InstanceMetadataTags?: InstanceMetadataTagsState | undefined;
6530
6662
  }
6663
+ /**
6664
+ * <p>Configure network performance options for your instance that are geared towards performance
6665
+ * improvements based on the workload that it runs.</p>
6666
+ * @public
6667
+ */
6668
+ export interface InstanceNetworkPerformanceOptionsRequest {
6669
+ /**
6670
+ * <p>Specify the bandwidth weighting option to boost the associated type of baseline bandwidth,
6671
+ * as follows:</p>
6672
+ * <dl>
6673
+ * <dt>default</dt>
6674
+ * <dd>
6675
+ * <p>This option uses the standard bandwidth configuration for your instance type.</p>
6676
+ * </dd>
6677
+ * <dt>vpc-1</dt>
6678
+ * <dd>
6679
+ * <p>This option boosts your networking baseline bandwidth and reduces your EBS baseline
6680
+ * bandwidth.</p>
6681
+ * </dd>
6682
+ * <dt>ebs-1</dt>
6683
+ * <dd>
6684
+ * <p>This option boosts your EBS baseline bandwidth and reduces your networking baseline
6685
+ * bandwidth.</p>
6686
+ * </dd>
6687
+ * </dl>
6688
+ * @public
6689
+ */
6690
+ BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
6691
+ }
6531
6692
  /**
6532
6693
  * <p>Describes the options for instance hostnames.</p>
6533
6694
  * @public
@@ -6831,6 +6992,11 @@ export interface RunInstancesRequest {
6831
6992
  * @public
6832
6993
  */
6833
6994
  EnablePrimaryIpv6?: boolean | undefined;
6995
+ /**
6996
+ * <p>Contains settings for the network performance options for the instance.</p>
6997
+ * @public
6998
+ */
6999
+ NetworkPerformanceOptions?: InstanceNetworkPerformanceOptionsRequest | undefined;
6834
7000
  /**
6835
7001
  * <p>Reserved for internal use.</p>
6836
7002
  * @public
@@ -8097,162 +8263,6 @@ export interface UnlockSnapshotResult {
8097
8263
  */
8098
8264
  SnapshotId?: string | undefined;
8099
8265
  }
8100
- /**
8101
- * @public
8102
- */
8103
- export interface UnmonitorInstancesRequest {
8104
- /**
8105
- * <p>The IDs of the instances.</p>
8106
- * @public
8107
- */
8108
- InstanceIds: string[] | undefined;
8109
- /**
8110
- * <p>Checks whether you have the required permissions for the operation, without actually making the
8111
- * request, and provides an error response. If you have the required permissions, the error response is
8112
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8113
- * @public
8114
- */
8115
- DryRun?: boolean | undefined;
8116
- }
8117
- /**
8118
- * @public
8119
- */
8120
- export interface UnmonitorInstancesResult {
8121
- /**
8122
- * <p>The monitoring information.</p>
8123
- * @public
8124
- */
8125
- InstanceMonitorings?: InstanceMonitoring[] | undefined;
8126
- }
8127
- /**
8128
- * <p>Describes the description of a security group rule.</p>
8129
- * <p>You can use this when you want to update the security group rule description for either an inbound or outbound rule.</p>
8130
- * @public
8131
- */
8132
- export interface SecurityGroupRuleDescription {
8133
- /**
8134
- * <p>The ID of the security group rule.</p>
8135
- * @public
8136
- */
8137
- SecurityGroupRuleId?: string | undefined;
8138
- /**
8139
- * <p>The description of the security group rule.</p>
8140
- * @public
8141
- */
8142
- Description?: string | undefined;
8143
- }
8144
- /**
8145
- * @public
8146
- */
8147
- export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
8148
- /**
8149
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8150
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8151
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8152
- * @public
8153
- */
8154
- DryRun?: boolean | undefined;
8155
- /**
8156
- * <p>The ID of the security group. You must specify either the security group ID or the
8157
- * security group name in the request. For security groups in a nondefault VPC, you must
8158
- * specify the security group ID.</p>
8159
- * @public
8160
- */
8161
- GroupId?: string | undefined;
8162
- /**
8163
- * <p>[Default VPC] The name of the security group. You must specify either the security group
8164
- * ID or the security group name.</p>
8165
- * @public
8166
- */
8167
- GroupName?: string | undefined;
8168
- /**
8169
- * <p>The IP permissions for the security group rule. You must specify either the IP permissions
8170
- * or the description.</p>
8171
- * @public
8172
- */
8173
- IpPermissions?: IpPermission[] | undefined;
8174
- /**
8175
- * <p>The description for the egress security group rules. You must specify either the
8176
- * description or the IP permissions.</p>
8177
- * @public
8178
- */
8179
- SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[] | undefined;
8180
- }
8181
- /**
8182
- * @public
8183
- */
8184
- export interface UpdateSecurityGroupRuleDescriptionsEgressResult {
8185
- /**
8186
- * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
8187
- * @public
8188
- */
8189
- Return?: boolean | undefined;
8190
- }
8191
- /**
8192
- * @public
8193
- */
8194
- export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
8195
- /**
8196
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8197
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8198
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8199
- * @public
8200
- */
8201
- DryRun?: boolean | undefined;
8202
- /**
8203
- * <p>The ID of the security group. You must specify either the security group ID or the
8204
- * security group name in the request. For security groups in a nondefault VPC, you must
8205
- * specify the security group ID.</p>
8206
- * @public
8207
- */
8208
- GroupId?: string | undefined;
8209
- /**
8210
- * <p>[Default VPC] The name of the security group. You must specify either the
8211
- * security group ID or the security group name. For security groups in a
8212
- * nondefault VPC, you must specify the security group ID.</p>
8213
- * @public
8214
- */
8215
- GroupName?: string | undefined;
8216
- /**
8217
- * <p>The IP permissions for the security group rule. You must specify either IP permissions
8218
- * or a description.</p>
8219
- * @public
8220
- */
8221
- IpPermissions?: IpPermission[] | undefined;
8222
- /**
8223
- * <p>The description for the ingress security group rules. You must specify either
8224
- * a description or IP permissions.</p>
8225
- * @public
8226
- */
8227
- SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[] | undefined;
8228
- }
8229
- /**
8230
- * @public
8231
- */
8232
- export interface UpdateSecurityGroupRuleDescriptionsIngressResult {
8233
- /**
8234
- * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
8235
- * @public
8236
- */
8237
- Return?: boolean | undefined;
8238
- }
8239
- /**
8240
- * @public
8241
- */
8242
- export interface WithdrawByoipCidrRequest {
8243
- /**
8244
- * <p>The address range, in CIDR notation.</p>
8245
- * @public
8246
- */
8247
- Cidr: string | undefined;
8248
- /**
8249
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8250
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8251
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8252
- * @public
8253
- */
8254
- DryRun?: boolean | undefined;
8255
- }
8256
8266
  /**
8257
8267
  * @internal
8258
8268
  */
@@ -1,4 +1,161 @@
1
- import { ByoipCidr } from "./models_0";
1
+ import { ByoipCidr, IpPermission } from "./models_0";
2
+ import { InstanceMonitoring } from "./models_7";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UnmonitorInstancesRequest {
7
+ /**
8
+ * <p>The IDs of the instances.</p>
9
+ * @public
10
+ */
11
+ InstanceIds: string[] | undefined;
12
+ /**
13
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
14
+ * request, and provides an error response. If you have the required permissions, the error response is
15
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
16
+ * @public
17
+ */
18
+ DryRun?: boolean | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface UnmonitorInstancesResult {
24
+ /**
25
+ * <p>The monitoring information.</p>
26
+ * @public
27
+ */
28
+ InstanceMonitorings?: InstanceMonitoring[] | undefined;
29
+ }
30
+ /**
31
+ * <p>Describes the description of a security group rule.</p>
32
+ * <p>You can use this when you want to update the security group rule description for either an inbound or outbound rule.</p>
33
+ * @public
34
+ */
35
+ export interface SecurityGroupRuleDescription {
36
+ /**
37
+ * <p>The ID of the security group rule.</p>
38
+ * @public
39
+ */
40
+ SecurityGroupRuleId?: string | undefined;
41
+ /**
42
+ * <p>The description of the security group rule.</p>
43
+ * @public
44
+ */
45
+ Description?: string | undefined;
46
+ }
47
+ /**
48
+ * @public
49
+ */
50
+ export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
51
+ /**
52
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
53
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
54
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
55
+ * @public
56
+ */
57
+ DryRun?: boolean | undefined;
58
+ /**
59
+ * <p>The ID of the security group. You must specify either the security group ID or the
60
+ * security group name in the request. For security groups in a nondefault VPC, you must
61
+ * specify the security group ID.</p>
62
+ * @public
63
+ */
64
+ GroupId?: string | undefined;
65
+ /**
66
+ * <p>[Default VPC] The name of the security group. You must specify either the security group
67
+ * ID or the security group name.</p>
68
+ * @public
69
+ */
70
+ GroupName?: string | undefined;
71
+ /**
72
+ * <p>The IP permissions for the security group rule. You must specify either the IP permissions
73
+ * or the description.</p>
74
+ * @public
75
+ */
76
+ IpPermissions?: IpPermission[] | undefined;
77
+ /**
78
+ * <p>The description for the egress security group rules. You must specify either the
79
+ * description or the IP permissions.</p>
80
+ * @public
81
+ */
82
+ SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[] | undefined;
83
+ }
84
+ /**
85
+ * @public
86
+ */
87
+ export interface UpdateSecurityGroupRuleDescriptionsEgressResult {
88
+ /**
89
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
90
+ * @public
91
+ */
92
+ Return?: boolean | undefined;
93
+ }
94
+ /**
95
+ * @public
96
+ */
97
+ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
98
+ /**
99
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
100
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
101
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
102
+ * @public
103
+ */
104
+ DryRun?: boolean | undefined;
105
+ /**
106
+ * <p>The ID of the security group. You must specify either the security group ID or the
107
+ * security group name in the request. For security groups in a nondefault VPC, you must
108
+ * specify the security group ID.</p>
109
+ * @public
110
+ */
111
+ GroupId?: string | undefined;
112
+ /**
113
+ * <p>[Default VPC] The name of the security group. You must specify either the
114
+ * security group ID or the security group name. For security groups in a
115
+ * nondefault VPC, you must specify the security group ID.</p>
116
+ * @public
117
+ */
118
+ GroupName?: string | undefined;
119
+ /**
120
+ * <p>The IP permissions for the security group rule. You must specify either IP permissions
121
+ * or a description.</p>
122
+ * @public
123
+ */
124
+ IpPermissions?: IpPermission[] | undefined;
125
+ /**
126
+ * <p>The description for the ingress security group rules. You must specify either
127
+ * a description or IP permissions.</p>
128
+ * @public
129
+ */
130
+ SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[] | undefined;
131
+ }
132
+ /**
133
+ * @public
134
+ */
135
+ export interface UpdateSecurityGroupRuleDescriptionsIngressResult {
136
+ /**
137
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
138
+ * @public
139
+ */
140
+ Return?: boolean | undefined;
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ export interface WithdrawByoipCidrRequest {
146
+ /**
147
+ * <p>The address range, in CIDR notation.</p>
148
+ * @public
149
+ */
150
+ Cidr: string | undefined;
151
+ /**
152
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
153
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
154
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
155
+ * @public
156
+ */
157
+ DryRun?: boolean | undefined;
158
+ }
2
159
  /**
3
160
  * @public
4
161
  */
@@ -536,6 +536,7 @@ import { ModifyInstanceEventWindowCommandInput, ModifyInstanceEventWindowCommand
536
536
  import { ModifyInstanceMaintenanceOptionsCommandInput, ModifyInstanceMaintenanceOptionsCommandOutput } from "../commands/ModifyInstanceMaintenanceOptionsCommand";
537
537
  import { ModifyInstanceMetadataDefaultsCommandInput, ModifyInstanceMetadataDefaultsCommandOutput } from "../commands/ModifyInstanceMetadataDefaultsCommand";
538
538
  import { ModifyInstanceMetadataOptionsCommandInput, ModifyInstanceMetadataOptionsCommandOutput } from "../commands/ModifyInstanceMetadataOptionsCommand";
539
+ import { ModifyInstanceNetworkPerformanceOptionsCommandInput, ModifyInstanceNetworkPerformanceOptionsCommandOutput } from "../commands/ModifyInstanceNetworkPerformanceOptionsCommand";
539
540
  import { ModifyInstancePlacementCommandInput, ModifyInstancePlacementCommandOutput } from "../commands/ModifyInstancePlacementCommand";
540
541
  import { ModifyIpamCommandInput, ModifyIpamCommandOutput } from "../commands/ModifyIpamCommand";
541
542
  import { ModifyIpamPoolCommandInput, ModifyIpamPoolCommandOutput } from "../commands/ModifyIpamPoolCommand";
@@ -2801,6 +2802,10 @@ export declare const se_ModifyInstanceMetadataDefaultsCommand: (input: ModifyIns
2801
2802
  * serializeAws_ec2ModifyInstanceMetadataOptionsCommand
2802
2803
  */
2803
2804
  export declare const se_ModifyInstanceMetadataOptionsCommand: (input: ModifyInstanceMetadataOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2805
+ /**
2806
+ * serializeAws_ec2ModifyInstanceNetworkPerformanceOptionsCommand
2807
+ */
2808
+ export declare const se_ModifyInstanceNetworkPerformanceOptionsCommand: (input: ModifyInstanceNetworkPerformanceOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2804
2809
  /**
2805
2810
  * serializeAws_ec2ModifyInstancePlacementCommand
2806
2811
  */
@@ -5429,6 +5434,10 @@ export declare const de_ModifyInstanceMetadataDefaultsCommand: (output: __HttpRe
5429
5434
  * deserializeAws_ec2ModifyInstanceMetadataOptionsCommand
5430
5435
  */
5431
5436
  export declare const de_ModifyInstanceMetadataOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyInstanceMetadataOptionsCommandOutput>;
5437
+ /**
5438
+ * deserializeAws_ec2ModifyInstanceNetworkPerformanceOptionsCommand
5439
+ */
5440
+ export declare const de_ModifyInstanceNetworkPerformanceOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyInstanceNetworkPerformanceOptionsCommandOutput>;
5432
5441
  /**
5433
5442
  * deserializeAws_ec2ModifyInstancePlacementCommand
5434
5443
  */
@@ -2143,6 +2143,10 @@ import {
2143
2143
  ModifyInstanceMetadataOptionsCommandInput,
2144
2144
  ModifyInstanceMetadataOptionsCommandOutput,
2145
2145
  } from "./commands/ModifyInstanceMetadataOptionsCommand";
2146
+ import {
2147
+ ModifyInstanceNetworkPerformanceOptionsCommandInput,
2148
+ ModifyInstanceNetworkPerformanceOptionsCommandOutput,
2149
+ } from "./commands/ModifyInstanceNetworkPerformanceOptionsCommand";
2146
2150
  import {
2147
2151
  ModifyInstancePlacementCommandInput,
2148
2152
  ModifyInstancePlacementCommandOutput,
@@ -10517,6 +10521,25 @@ export interface EC2 {
10517
10521
  options: __HttpHandlerOptions,
10518
10522
  cb: (err: any, data?: ModifyInstanceMetadataOptionsCommandOutput) => void
10519
10523
  ): void;
10524
+ modifyInstanceNetworkPerformanceOptions(
10525
+ args: ModifyInstanceNetworkPerformanceOptionsCommandInput,
10526
+ options?: __HttpHandlerOptions
10527
+ ): Promise<ModifyInstanceNetworkPerformanceOptionsCommandOutput>;
10528
+ modifyInstanceNetworkPerformanceOptions(
10529
+ args: ModifyInstanceNetworkPerformanceOptionsCommandInput,
10530
+ cb: (
10531
+ err: any,
10532
+ data?: ModifyInstanceNetworkPerformanceOptionsCommandOutput
10533
+ ) => void
10534
+ ): void;
10535
+ modifyInstanceNetworkPerformanceOptions(
10536
+ args: ModifyInstanceNetworkPerformanceOptionsCommandInput,
10537
+ options: __HttpHandlerOptions,
10538
+ cb: (
10539
+ err: any,
10540
+ data?: ModifyInstanceNetworkPerformanceOptionsCommandOutput
10541
+ ) => void
10542
+ ): void;
10520
10543
  modifyInstancePlacement(
10521
10544
  args: ModifyInstancePlacementCommandInput,
10522
10545
  options?: __HttpHandlerOptions
@@ -2189,6 +2189,10 @@ import {
2189
2189
  ModifyInstanceMetadataOptionsCommandInput,
2190
2190
  ModifyInstanceMetadataOptionsCommandOutput,
2191
2191
  } from "./commands/ModifyInstanceMetadataOptionsCommand";
2192
+ import {
2193
+ ModifyInstanceNetworkPerformanceOptionsCommandInput,
2194
+ ModifyInstanceNetworkPerformanceOptionsCommandOutput,
2195
+ } from "./commands/ModifyInstanceNetworkPerformanceOptionsCommand";
2192
2196
  import {
2193
2197
  ModifyInstancePlacementCommandInput,
2194
2198
  ModifyInstancePlacementCommandOutput,
@@ -3217,6 +3221,7 @@ export type ServiceInputTypes =
3217
3221
  | ModifyInstanceMaintenanceOptionsCommandInput
3218
3222
  | ModifyInstanceMetadataDefaultsCommandInput
3219
3223
  | ModifyInstanceMetadataOptionsCommandInput
3224
+ | ModifyInstanceNetworkPerformanceOptionsCommandInput
3220
3225
  | ModifyInstancePlacementCommandInput
3221
3226
  | ModifyIpamCommandInput
3222
3227
  | ModifyIpamPoolCommandInput
@@ -3875,6 +3880,7 @@ export type ServiceOutputTypes =
3875
3880
  | ModifyInstanceMaintenanceOptionsCommandOutput
3876
3881
  | ModifyInstanceMetadataDefaultsCommandOutput
3877
3882
  | ModifyInstanceMetadataOptionsCommandOutput
3883
+ | ModifyInstanceNetworkPerformanceOptionsCommandOutput
3878
3884
  | ModifyInstancePlacementCommandOutput
3879
3885
  | ModifyIpamCommandOutput
3880
3886
  | ModifyIpamPoolCommandOutput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- CreateLocalGatewayRouteTableVpcAssociationRequest,
10
- CreateLocalGatewayRouteTableVpcAssociationResult,
11
- } from "../models/models_1";
8
+ import { CreateLocalGatewayRouteTableVpcAssociationRequest } from "../models/models_1";
9
+ import { CreateLocalGatewayRouteTableVpcAssociationResult } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateLocalGatewayRouteTableVpcAssociationCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CreateManagedPrefixListRequest } from "../models/models_1";
9
- import { CreateManagedPrefixListResult } from "../models/models_2";
8
+ import {
9
+ CreateManagedPrefixListRequest,
10
+ CreateManagedPrefixListResult,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface CreateManagedPrefixListCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DeleteClientVpnRouteRequest,
10
- DeleteClientVpnRouteResult,
11
- } from "../models/models_2";
8
+ import { DeleteClientVpnRouteRequest } from "../models/models_2";
9
+ import { DeleteClientVpnRouteResult } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DeleteClientVpnRouteCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteCoipCidrRequest,
10
10
  DeleteCoipCidrResult,
11
- } from "../models/models_2";
11
+ } from "../models/models_3";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteCoipCidrCommandInput extends DeleteCoipCidrRequest {}