@aws-sdk/client-ec2 3.201.0 → 3.204.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 (96) hide show
  1. package/dist-cjs/EC2.js +15 -0
  2. package/dist-cjs/commands/CancelImageLaunchPermissionCommand.js +46 -0
  3. package/dist-cjs/commands/CreateDefaultSubnetCommand.js +2 -1
  4. package/dist-cjs/commands/CreateTagsCommand.js +2 -2
  5. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  6. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +2 -1
  7. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  8. package/dist-cjs/commands/DescribeLaunchTemplateVersionsCommand.js +3 -3
  9. package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +2 -1
  10. package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  11. package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +2 -1
  12. package/dist-cjs/commands/index.js +1 -0
  13. package/dist-cjs/models/models_0.js +10 -10
  14. package/dist-cjs/models/models_1.js +13 -13
  15. package/dist-cjs/models/models_2.js +14 -14
  16. package/dist-cjs/models/models_3.js +13 -13
  17. package/dist-cjs/models/models_4.js +14 -14
  18. package/dist-cjs/models/models_5.js +14 -14
  19. package/dist-cjs/models/models_6.js +12 -4
  20. package/dist-cjs/protocols/Aws_ec2.js +1864 -22
  21. package/dist-cjs/runtimeConfig.browser.js +0 -3
  22. package/dist-cjs/runtimeConfig.js +0 -3
  23. package/dist-cjs/runtimeConfig.shared.js +3 -0
  24. package/dist-es/EC2.js +15 -0
  25. package/dist-es/commands/CancelImageLaunchPermissionCommand.js +42 -0
  26. package/dist-es/commands/CreateDefaultSubnetCommand.js +2 -1
  27. package/dist-es/commands/CreateTagsCommand.js +1 -1
  28. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  29. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +2 -1
  30. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  31. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  32. package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +2 -1
  33. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  34. package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +2 -1
  35. package/dist-es/commands/index.js +1 -0
  36. package/dist-es/models/models_0.js +6 -6
  37. package/dist-es/models/models_1.js +6 -6
  38. package/dist-es/models/models_2.js +6 -6
  39. package/dist-es/models/models_3.js +6 -6
  40. package/dist-es/models/models_4.js +6 -6
  41. package/dist-es/models/models_5.js +6 -7
  42. package/dist-es/models/models_6.js +7 -0
  43. package/dist-es/protocols/Aws_ec2.js +1840 -0
  44. package/dist-es/runtimeConfig.browser.js +0 -3
  45. package/dist-es/runtimeConfig.js +0 -3
  46. package/dist-es/runtimeConfig.shared.js +3 -0
  47. package/dist-types/EC2.d.ts +9 -0
  48. package/dist-types/EC2Client.d.ts +3 -2
  49. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +39 -0
  50. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  51. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -2
  53. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
  54. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -2
  55. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +2 -1
  57. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -2
  58. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +2 -1
  59. package/dist-types/commands/index.d.ts +1 -0
  60. package/dist-types/models/models_0.d.ts +26 -112
  61. package/dist-types/models/models_1.d.ts +113 -47
  62. package/dist-types/models/models_2.d.ts +46 -34
  63. package/dist-types/models/models_3.d.ts +36 -149
  64. package/dist-types/models/models_4.d.ts +149 -28
  65. package/dist-types/models/models_5.d.ts +27 -18
  66. package/dist-types/models/models_6.d.ts +18 -1
  67. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  68. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  69. package/dist-types/runtimeConfig.d.ts +2 -2
  70. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  71. package/dist-types/ts3.4/EC2.d.ts +17 -0
  72. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  73. package/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +41 -0
  74. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +4 -2
  77. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
  78. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -2
  79. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +2 -4
  83. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +13 -30
  85. package/dist-types/ts3.4/models/models_1.d.ts +33 -18
  86. package/dist-types/ts3.4/models/models_2.d.ts +17 -15
  87. package/dist-types/ts3.4/models/models_3.d.ts +20 -23
  88. package/dist-types/ts3.4/models/models_4.d.ts +23 -14
  89. package/dist-types/ts3.4/models/models_5.d.ts +13 -10
  90. package/dist-types/ts3.4/models/models_6.d.ts +11 -1
  91. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  95. package/package.json +6 -5
  96. package/CHANGELOG.md +0 -3631
@@ -1,7 +1,146 @@
1
- import { _InstanceType, ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AssociationStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VpcPeeringConnection } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { _InstanceType, ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AssociationStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VpcPeeringConnection } from "./models_0";
2
+ import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { AttributeBooleanValue, EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IdFormat, PermissionGroup, ProductCode } from "./models_3";
5
+ export interface DescribeLaunchTemplateVersionsRequest {
6
+ /**
7
+ * <p>Checks whether you have the required permissions for the action, without actually
8
+ * making the request, and provides an error response. If you have the required
9
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10
+ * <code>UnauthorizedOperation</code>.</p>
11
+ */
12
+ DryRun?: boolean;
13
+ /**
14
+ * <p>The ID of the launch template.</p>
15
+ * <p>To describe one or more versions of a specified launch
16
+ * template, you must specify either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>
17
+ * <p>To describe all the latest or default launch template versions in your
18
+ * account, you must omit this parameter.</p>
19
+ */
20
+ LaunchTemplateId?: string;
21
+ /**
22
+ * <p>The name of the launch template.</p>
23
+ * <p>To describe one or more versions of a specified
24
+ * launch template, you must specify either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>
25
+ * <p>To describe all the latest or default launch template versions in
26
+ * your account, you must omit this parameter.</p>
27
+ */
28
+ LaunchTemplateName?: string;
29
+ /**
30
+ * <p>One or more versions of the launch template. Valid values depend on whether you are
31
+ * describing a specified launch template (by ID or name) or all launch templates in your
32
+ * account.</p>
33
+ * <p>To describe one or more versions of a specified launch template, valid values are
34
+ * <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
35
+ * <p>To describe all launch templates in your account that are defined as the latest
36
+ * version, the valid value is <code>$Latest</code>. To describe all launch templates in
37
+ * your account that are defined as the default version, the valid value is
38
+ * <code>$Default</code>. You can specify <code>$Latest</code> and
39
+ * <code>$Default</code> in the same request. You cannot specify numbers.</p>
40
+ */
41
+ Versions?: string[];
42
+ /**
43
+ * <p>The version number after which to describe launch template versions.</p>
44
+ */
45
+ MinVersion?: string;
46
+ /**
47
+ * <p>The version number up to which to describe launch template versions.</p>
48
+ */
49
+ MaxVersion?: string;
50
+ /**
51
+ * <p>The token to request the next page of results.</p>
52
+ */
53
+ NextToken?: string;
54
+ /**
55
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
56
+ * results, make another call with the returned <code>NextToken</code> value. This value
57
+ * can be between 1 and 200.</p>
58
+ */
59
+ MaxResults?: number;
60
+ /**
61
+ * <p>One or more filters.</p>
62
+ * <ul>
63
+ * <li>
64
+ * <p>
65
+ * <code>create-time</code> - The time the launch template version was
66
+ * created.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>ebs-optimized</code> - A boolean that indicates whether the instance is
71
+ * optimized for Amazon EBS I/O.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on
76
+ * your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
81
+ * instance metadata service is enabled (<code>enabled</code> |
82
+ * <code>disabled</code>).</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>host-resource-group-arn</code> - The ARN of the host resource group in
87
+ * which to launch the instances.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>
91
+ * <code>http-tokens</code> - The state of token usage for your instance metadata
92
+ * requests (<code>optional</code> | <code>required</code>).</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>
96
+ * <code>iam-instance-profile</code> - The ARN of the IAM instance
97
+ * profile.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>
101
+ * <code>image-id</code> - The ID of the AMI.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>
105
+ * <code>instance-type</code> - The instance type.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>
109
+ * <code>is-default-version</code> - A boolean that indicates whether the launch
110
+ * template version is the default version.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>
114
+ * <code>kernel-id</code> - The kernel ID.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>
118
+ * <code>license-configuration-arn</code> - The ARN of the license
119
+ * configuration.</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>
123
+ * <code>network-card-index</code> - The index of the network card.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>
127
+ * <code>ram-disk-id</code> - The RAM disk ID.</p>
128
+ * </li>
129
+ * </ul>
130
+ */
131
+ Filters?: Filter[];
132
+ }
133
+ export interface DescribeLaunchTemplateVersionsResult {
134
+ /**
135
+ * <p>Information about the launch template versions.</p>
136
+ */
137
+ LaunchTemplateVersions?: LaunchTemplateVersion[];
138
+ /**
139
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
140
+ * when there are no more results to return.</p>
141
+ */
142
+ NextToken?: string;
143
+ }
5
144
  export interface DescribeLocalGatewayRouteTablesRequest {
6
145
  /**
7
146
  * <p>The IDs of the local gateway route tables.</p>
@@ -8587,24 +8726,14 @@ export interface DisassociateTrunkInterfaceRequest {
8587
8726
  */
8588
8727
  DryRun?: boolean;
8589
8728
  }
8590
- export interface DisassociateTrunkInterfaceResult {
8591
- /**
8592
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8593
- */
8594
- Return?: boolean;
8595
- /**
8596
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
8597
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
8598
- * Idempotency</a>.</p>
8599
- */
8600
- ClientToken?: string;
8601
- }
8602
- export interface DisassociateVpcCidrBlockRequest {
8603
- /**
8604
- * <p>The association ID for the CIDR block.</p>
8605
- */
8606
- AssociationId: string | undefined;
8607
- }
8729
+ /**
8730
+ * @internal
8731
+ */
8732
+ export declare const DescribeLaunchTemplateVersionsRequestFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsRequest) => any;
8733
+ /**
8734
+ * @internal
8735
+ */
8736
+ export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsResult) => any;
8608
8737
  /**
8609
8738
  * @internal
8610
8739
  */
@@ -9705,11 +9834,3 @@ export declare const DisassociateTransitGatewayRouteTableResultFilterSensitiveLo
9705
9834
  * @internal
9706
9835
  */
9707
9836
  export declare const DisassociateTrunkInterfaceRequestFilterSensitiveLog: (obj: DisassociateTrunkInterfaceRequest) => any;
9708
- /**
9709
- * @internal
9710
- */
9711
- export declare const DisassociateTrunkInterfaceResultFilterSensitiveLog: (obj: DisassociateTrunkInterfaceResult) => any;
9712
- /**
9713
- * @internal
9714
- */
9715
- export declare const DisassociateVpcCidrBlockRequestFilterSensitiveLog: (obj: DisassociateVpcCidrBlockRequest) => any;
@@ -3,6 +3,24 @@ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarge
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, IpamPoolCidr, PayerResponsibility, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnEcmpSupportValue } from "./models_2";
4
4
  import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, CreateVolumePermission, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
6
+ export interface DisassociateTrunkInterfaceResult {
7
+ /**
8
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
9
+ */
10
+ Return?: boolean;
11
+ /**
12
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
13
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
14
+ * Idempotency</a>.</p>
15
+ */
16
+ ClientToken?: string;
17
+ }
18
+ export interface DisassociateVpcCidrBlockRequest {
19
+ /**
20
+ * <p>The association ID for the CIDR block.</p>
21
+ */
22
+ AssociationId: string | undefined;
23
+ }
6
24
  export interface DisassociateVpcCidrBlockResult {
7
25
  /**
8
26
  * <p>Information about the IPv6 CIDR block association.</p>
@@ -294,7 +312,7 @@ export interface EnableImageDeprecationRequest {
294
312
  * If you specify a value for seconds, Amazon EC2 rounds the seconds to the
295
313
  * nearest minute.</p>
296
314
  * <p>You can’t specify a date in the past. The upper limit for <code>DeprecateAt</code> is 10
297
- * years from now.</p>
315
+ * years from now, except for public AMIs, where the upper limit is 2 years from the creation date.</p>
298
316
  */
299
317
  DeprecateAt: Date | undefined;
300
318
  /**
@@ -5903,19 +5921,14 @@ export interface PeeringConnectionOptions {
5903
5921
  */
5904
5922
  AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
5905
5923
  }
5906
- export interface ModifyVpcPeeringConnectionOptionsResult {
5907
- /**
5908
- * <p>Information about the VPC peering connection options for the accepter VPC.</p>
5909
- */
5910
- AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
5911
- /**
5912
- * <p>Information about the VPC peering connection options for the requester VPC.</p>
5913
- */
5914
- RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
5915
- }
5916
- export declare enum VpcTenancy {
5917
- default = "default"
5918
- }
5924
+ /**
5925
+ * @internal
5926
+ */
5927
+ export declare const DisassociateTrunkInterfaceResultFilterSensitiveLog: (obj: DisassociateTrunkInterfaceResult) => any;
5928
+ /**
5929
+ * @internal
5930
+ */
5931
+ export declare const DisassociateVpcCidrBlockRequestFilterSensitiveLog: (obj: DisassociateVpcCidrBlockRequest) => any;
5919
5932
  /**
5920
5933
  * @internal
5921
5934
  */
@@ -7048,7 +7061,3 @@ export declare const ModifyVpcPeeringConnectionOptionsRequestFilterSensitiveLog:
7048
7061
  * @internal
7049
7062
  */
7050
7063
  export declare const PeeringConnectionOptionsFilterSensitiveLog: (obj: PeeringConnectionOptions) => any;
7051
- /**
7052
- * @internal
7053
- */
7054
- export declare const ModifyVpcPeeringConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsResult) => any;
@@ -3,7 +3,20 @@ import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification
3
3
  import { IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayRoute, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, HttpTokensState, ImdsSupportValues, 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, Purchase, VpcTenancy } from "./models_5";
6
+ import { CapacityReservationSpecification, PeeringConnectionOptions, Purchase } from "./models_5";
7
+ export interface ModifyVpcPeeringConnectionOptionsResult {
8
+ /**
9
+ * <p>Information about the VPC peering connection options for the accepter VPC.</p>
10
+ */
11
+ AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
12
+ /**
13
+ * <p>Information about the VPC peering connection options for the requester VPC.</p>
14
+ */
15
+ RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
16
+ }
17
+ export declare enum VpcTenancy {
18
+ default = "default"
19
+ }
7
20
  export interface ModifyVpcTenancyRequest {
8
21
  /**
9
22
  * <p>The ID of the VPC.</p>
@@ -3600,6 +3613,10 @@ export interface WithdrawByoipCidrResult {
3600
3613
  */
3601
3614
  ByoipCidr?: ByoipCidr;
3602
3615
  }
3616
+ /**
3617
+ * @internal
3618
+ */
3619
+ export declare const ModifyVpcPeeringConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsResult) => any;
3603
3620
  /**
3604
3621
  * @internal
3605
3622
  */
@@ -41,6 +41,7 @@ import { CancelCapacityReservationCommandInput, CancelCapacityReservationCommand
41
41
  import { CancelCapacityReservationFleetsCommandInput, CancelCapacityReservationFleetsCommandOutput } from "../commands/CancelCapacityReservationFleetsCommand";
42
42
  import { CancelConversionTaskCommandInput, CancelConversionTaskCommandOutput } from "../commands/CancelConversionTaskCommand";
43
43
  import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "../commands/CancelExportTaskCommand";
44
+ import { CancelImageLaunchPermissionCommandInput, CancelImageLaunchPermissionCommandOutput } from "../commands/CancelImageLaunchPermissionCommand";
44
45
  import { CancelImportTaskCommandInput, CancelImportTaskCommandOutput } from "../commands/CancelImportTaskCommand";
45
46
  import { CancelReservedInstancesListingCommandInput, CancelReservedInstancesListingCommandOutput } from "../commands/CancelReservedInstancesListingCommand";
46
47
  import { CancelSpotFleetRequestsCommandInput, CancelSpotFleetRequestsCommandOutput } from "../commands/CancelSpotFleetRequestsCommand";
@@ -587,6 +588,7 @@ export declare const serializeAws_ec2CancelCapacityReservationCommand: (input: C
587
588
  export declare const serializeAws_ec2CancelCapacityReservationFleetsCommand: (input: CancelCapacityReservationFleetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
588
589
  export declare const serializeAws_ec2CancelConversionTaskCommand: (input: CancelConversionTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
589
590
  export declare const serializeAws_ec2CancelExportTaskCommand: (input: CancelExportTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
591
+ export declare const serializeAws_ec2CancelImageLaunchPermissionCommand: (input: CancelImageLaunchPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
590
592
  export declare const serializeAws_ec2CancelImportTaskCommand: (input: CancelImportTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
591
593
  export declare const serializeAws_ec2CancelReservedInstancesListingCommand: (input: CancelReservedInstancesListingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
592
594
  export declare const serializeAws_ec2CancelSpotFleetRequestsCommand: (input: CancelSpotFleetRequestsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1133,6 +1135,7 @@ export declare const deserializeAws_ec2CancelCapacityReservationCommand: (output
1133
1135
  export declare const deserializeAws_ec2CancelCapacityReservationFleetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelCapacityReservationFleetsCommandOutput>;
1134
1136
  export declare const deserializeAws_ec2CancelConversionTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelConversionTaskCommandOutput>;
1135
1137
  export declare const deserializeAws_ec2CancelExportTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelExportTaskCommandOutput>;
1138
+ export declare const deserializeAws_ec2CancelImageLaunchPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelImageLaunchPermissionCommandOutput>;
1136
1139
  export declare const deserializeAws_ec2CancelImportTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelImportTaskCommandOutput>;
1137
1140
  export declare const deserializeAws_ec2CancelReservedInstancesListingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelReservedInstancesListingCommandOutput>;
1138
1141
  export declare const deserializeAws_ec2CancelSpotFleetRequestsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelSpotFleetRequestsCommandOutput>;
@@ -6,8 +6,6 @@ import { EC2ClientConfig } from "./EC2Client";
6
6
  export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
- base64Decoder: import("@aws-sdk/types").Decoder;
10
- base64Encoder: import("@aws-sdk/types").Encoder;
11
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
23
21
  utf8Encoder: import("@aws-sdk/types").Encoder;
24
22
  apiVersion: string;
25
23
  urlParser: import("@aws-sdk/types").UrlParser;
24
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
@@ -6,8 +6,6 @@ import { EC2ClientConfig } from "./EC2Client";
6
6
  export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
- base64Decoder: import("@aws-sdk/types").Decoder;
10
- base64Encoder: import("@aws-sdk/types").Encoder;
11
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
23
21
  utf8Encoder: import("@aws-sdk/types").Encoder;
24
22
  apiVersion: string;
25
23
  urlParser: import("@aws-sdk/types").UrlParser;
24
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
@@ -5,6 +5,8 @@ import { EC2ClientConfig } from "./EC2Client";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
7
7
  apiVersion: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
8
10
  disableHostPrefix: boolean;
9
11
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
12
  logger?: __Logger | undefined;
@@ -163,6 +163,10 @@ import {
163
163
  CancelExportTaskCommandInput,
164
164
  CancelExportTaskCommandOutput,
165
165
  } from "./commands/CancelExportTaskCommand";
166
+ import {
167
+ CancelImageLaunchPermissionCommandInput,
168
+ CancelImageLaunchPermissionCommandOutput,
169
+ } from "./commands/CancelImageLaunchPermissionCommand";
166
170
  import {
167
171
  CancelImportTaskCommandInput,
168
172
  CancelImportTaskCommandOutput,
@@ -2772,6 +2776,19 @@ export declare class EC2 extends EC2Client {
2772
2776
  options: __HttpHandlerOptions,
2773
2777
  cb: (err: any, data?: CancelExportTaskCommandOutput) => void
2774
2778
  ): void;
2779
+ cancelImageLaunchPermission(
2780
+ args: CancelImageLaunchPermissionCommandInput,
2781
+ options?: __HttpHandlerOptions
2782
+ ): Promise<CancelImageLaunchPermissionCommandOutput>;
2783
+ cancelImageLaunchPermission(
2784
+ args: CancelImageLaunchPermissionCommandInput,
2785
+ cb: (err: any, data?: CancelImageLaunchPermissionCommandOutput) => void
2786
+ ): void;
2787
+ cancelImageLaunchPermission(
2788
+ args: CancelImageLaunchPermissionCommandInput,
2789
+ options: __HttpHandlerOptions,
2790
+ cb: (err: any, data?: CancelImageLaunchPermissionCommandOutput) => void
2791
+ ): void;
2775
2792
  cancelImportTask(
2776
2793
  args: CancelImportTaskCommandInput,
2777
2794
  options?: __HttpHandlerOptions
@@ -207,6 +207,10 @@ import {
207
207
  CancelExportTaskCommandInput,
208
208
  CancelExportTaskCommandOutput,
209
209
  } from "./commands/CancelExportTaskCommand";
210
+ import {
211
+ CancelImageLaunchPermissionCommandInput,
212
+ CancelImageLaunchPermissionCommandOutput,
213
+ } from "./commands/CancelImageLaunchPermissionCommand";
210
214
  import {
211
215
  CancelImportTaskCommandInput,
212
216
  CancelImportTaskCommandOutput,
@@ -2274,6 +2278,7 @@ export declare type ServiceInputTypes =
2274
2278
  | CancelCapacityReservationFleetsCommandInput
2275
2279
  | CancelConversionTaskCommandInput
2276
2280
  | CancelExportTaskCommandInput
2281
+ | CancelImageLaunchPermissionCommandInput
2277
2282
  | CancelImportTaskCommandInput
2278
2283
  | CancelReservedInstancesListingCommandInput
2279
2284
  | CancelSpotFleetRequestsCommandInput
@@ -2821,6 +2826,7 @@ export declare type ServiceOutputTypes =
2821
2826
  | CancelCapacityReservationFleetsCommandOutput
2822
2827
  | CancelConversionTaskCommandOutput
2823
2828
  | CancelExportTaskCommandOutput
2829
+ | CancelImageLaunchPermissionCommandOutput
2824
2830
  | CancelImportTaskCommandOutput
2825
2831
  | CancelReservedInstancesListingCommandOutput
2826
2832
  | CancelSpotFleetRequestsCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import {
15
+ CancelImageLaunchPermissionRequest,
16
+ CancelImageLaunchPermissionResult,
17
+ } from "../models/models_0";
18
+ export interface CancelImageLaunchPermissionCommandInput
19
+ extends CancelImageLaunchPermissionRequest {}
20
+ export interface CancelImageLaunchPermissionCommandOutput
21
+ extends CancelImageLaunchPermissionResult,
22
+ __MetadataBearer {}
23
+ export declare class CancelImageLaunchPermissionCommand extends $Command<
24
+ CancelImageLaunchPermissionCommandInput,
25
+ CancelImageLaunchPermissionCommandOutput,
26
+ EC2ClientResolvedConfig
27
+ > {
28
+ readonly input: CancelImageLaunchPermissionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CancelImageLaunchPermissionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: EC2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CancelImageLaunchPermissionCommandInput,
37
+ CancelImageLaunchPermissionCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- CreateDefaultSubnetRequest,
16
- CreateDefaultSubnetResult,
17
- } from "../models/models_0";
14
+ import { CreateDefaultSubnetRequest } from "../models/models_0";
15
+ import { CreateDefaultSubnetResult } from "../models/models_1";
18
16
  export interface CreateDefaultSubnetCommandInput
19
17
  extends CreateDefaultSubnetRequest {}
20
18
  export interface CreateDefaultSubnetCommandOutput
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { CreateTagsRequest } from "../models/models_1";
14
+ import { CreateTagsRequest } from "../models/models_2";
15
15
  export interface CreateTagsCommandInput extends CreateTagsRequest {}
16
16
  export interface CreateTagsCommandOutput extends __MetadataBearer {}
17
17
  export declare class CreateTagsCommand extends $Command<
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { CreateTrafficMirrorFilterRequest } from "../models/models_1";
15
- import { CreateTrafficMirrorFilterResult } from "../models/models_2";
14
+ import {
15
+ CreateTrafficMirrorFilterRequest,
16
+ CreateTrafficMirrorFilterResult,
17
+ } from "../models/models_2";
16
18
  export interface CreateTrafficMirrorFilterCommandInput
17
19
  extends CreateTrafficMirrorFilterRequest {}
18
20
  export interface CreateTrafficMirrorFilterCommandOutput
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- DeregisterTransitGatewayMulticastGroupMembersRequest,
16
- DeregisterTransitGatewayMulticastGroupMembersResult,
17
- } from "../models/models_2";
14
+ import { DeregisterTransitGatewayMulticastGroupMembersRequest } from "../models/models_2";
15
+ import { DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/models_3";
18
16
  export interface DeregisterTransitGatewayMulticastGroupMembersCommandInput
19
17
  extends DeregisterTransitGatewayMulticastGroupMembersRequest {}
20
18
  export interface DeregisterTransitGatewayMulticastGroupMembersCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DeregisterTransitGatewayMulticastGroupSourcesRequest } from "../models/models_2";
15
- import { DeregisterTransitGatewayMulticastGroupSourcesResult } from "../models/models_3";
14
+ import {
15
+ DeregisterTransitGatewayMulticastGroupSourcesRequest,
16
+ DeregisterTransitGatewayMulticastGroupSourcesResult,
17
+ } from "../models/models_3";
16
18
  export interface DeregisterTransitGatewayMulticastGroupSourcesCommandInput
17
19
  extends DeregisterTransitGatewayMulticastGroupSourcesRequest {}
18
20
  export interface DeregisterTransitGatewayMulticastGroupSourcesCommandOutput
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeLaunchTemplateVersionsRequest,
16
16
  DescribeLaunchTemplateVersionsResult,
17
- } from "../models/models_3";
17
+ } from "../models/models_4";
18
18
  export interface DescribeLaunchTemplateVersionsCommandInput
19
19
  extends DescribeLaunchTemplateVersionsRequest {}
20
20
  export interface DescribeLaunchTemplateVersionsCommandOutput
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- DisassociateTrunkInterfaceRequest,
16
- DisassociateTrunkInterfaceResult,
17
- } from "../models/models_4";
14
+ import { DisassociateTrunkInterfaceRequest } from "../models/models_4";
15
+ import { DisassociateTrunkInterfaceResult } from "../models/models_5";
18
16
  export interface DisassociateTrunkInterfaceCommandInput
19
17
  extends DisassociateTrunkInterfaceRequest {}
20
18
  export interface DisassociateTrunkInterfaceCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DisassociateVpcCidrBlockRequest } from "../models/models_4";
15
- import { DisassociateVpcCidrBlockResult } from "../models/models_5";
14
+ import {
15
+ DisassociateVpcCidrBlockRequest,
16
+ DisassociateVpcCidrBlockResult,
17
+ } from "../models/models_5";
16
18
  export interface DisassociateVpcCidrBlockCommandInput
17
19
  extends DisassociateVpcCidrBlockRequest {}
18
20
  export interface DisassociateVpcCidrBlockCommandOutput
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- ModifyVpcPeeringConnectionOptionsRequest,
16
- ModifyVpcPeeringConnectionOptionsResult,
17
- } from "../models/models_5";
14
+ import { ModifyVpcPeeringConnectionOptionsRequest } from "../models/models_5";
15
+ import { ModifyVpcPeeringConnectionOptionsResult } from "../models/models_6";
18
16
  export interface ModifyVpcPeeringConnectionOptionsCommandInput
19
17
  extends ModifyVpcPeeringConnectionOptionsRequest {}
20
18
  export interface ModifyVpcPeeringConnectionOptionsCommandOutput
@@ -39,6 +39,7 @@ export * from "./CancelCapacityReservationCommand";
39
39
  export * from "./CancelCapacityReservationFleetsCommand";
40
40
  export * from "./CancelConversionTaskCommand";
41
41
  export * from "./CancelExportTaskCommand";
42
+ export * from "./CancelImageLaunchPermissionCommand";
42
43
  export * from "./CancelImportTaskCommand";
43
44
  export * from "./CancelReservedInstancesListingCommand";
44
45
  export * from "./CancelSpotFleetRequestsCommand";