@aws-sdk/client-ec2 3.696.0 → 3.697.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 (66) hide show
  1. package/dist-cjs/index.js +179 -38
  2. package/dist-es/models/models_1.js +2 -4
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_3.js +0 -6
  5. package/dist-es/models/models_4.js +6 -0
  6. package/dist-es/protocols/Aws_ec2.js +168 -26
  7. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  10. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  16. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  17. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  21. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  24. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  25. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  26. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  28. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  29. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  30. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  31. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  32. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  33. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  34. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/models/models_1.d.ts +245 -198
  38. package/dist-types/models/models_2.d.ts +199 -115
  39. package/dist-types/models/models_3.d.ts +115 -220
  40. package/dist-types/models/models_4.d.ts +222 -341
  41. package/dist-types/models/models_5.d.ts +340 -211
  42. package/dist-types/models/models_6.d.ts +228 -135
  43. package/dist-types/models/models_7.d.ts +126 -5
  44. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_1.d.ts +22 -45
  60. package/dist-types/ts3.4/models/models_2.d.ts +46 -25
  61. package/dist-types/ts3.4/models/models_3.d.ts +25 -48
  62. package/dist-types/ts3.4/models/models_4.d.ts +49 -43
  63. package/dist-types/ts3.4/models/models_5.d.ts +41 -40
  64. package/dist-types/ts3.4/models/models_6.d.ts +39 -36
  65. package/dist-types/ts3.4/models/models_7.d.ts +41 -8
  66. package/package.json +1 -1
@@ -4,7 +4,6 @@ import {
4
4
  AddPrefixListEntry,
5
5
  AddressAttribute,
6
6
  Affinity,
7
- ApplianceModeSupportValue,
8
7
  AutoPlacement,
9
8
  CapacityReservationState,
10
9
  CurrencyCodeValues,
@@ -16,7 +15,6 @@ import {
16
15
  InstanceEventWindow,
17
16
  InstanceMatchCriteria,
18
17
  IpamPoolAllocation,
19
- Ipv6SupportValue,
20
18
  SecurityGroupReferencingSupportValue,
21
19
  SubnetAssociation,
22
20
  Tag,
@@ -25,7 +23,6 @@ import {
25
23
  TransitGatewayAssociationState,
26
24
  TransitGatewayAttachmentResourceType,
27
25
  TransitGatewayPolicyTableAssociation,
28
- TransitGatewayVpcAttachment,
29
26
  UnsuccessfulItem,
30
27
  } from "./models_0";
31
28
  import {
@@ -77,11 +74,11 @@ import {
77
74
  TrafficMirrorSession,
78
75
  TransitGateway,
79
76
  TransitGatewayPrefixListReference,
80
- VerifiedAccessEndpointProtocol,
81
77
  VpnEcmpSupportValue,
82
78
  } from "./models_2";
83
79
  import {
84
80
  ConversionTask,
81
+ ExportTaskS3Location,
85
82
  Filter,
86
83
  FpgaImageAttribute,
87
84
  FpgaImageAttributeName,
@@ -122,6 +119,44 @@ import {
122
119
  SnapshotBlockPublicAccessState,
123
120
  TransitGatewayPropagationState,
124
121
  } from "./models_5";
122
+ export interface ExportClientVpnClientConfigurationResult {
123
+ ClientConfiguration?: string | undefined;
124
+ }
125
+ export interface ExportTaskS3LocationRequest {
126
+ S3Bucket: string | undefined;
127
+ S3Prefix?: string | undefined;
128
+ }
129
+ export interface ExportImageRequest {
130
+ ClientToken?: string | undefined;
131
+ Description?: string | undefined;
132
+ DiskImageFormat: DiskImageFormat | undefined;
133
+ DryRun?: boolean | undefined;
134
+ ImageId: string | undefined;
135
+ S3ExportLocation: ExportTaskS3LocationRequest | undefined;
136
+ RoleName?: string | undefined;
137
+ TagSpecifications?: TagSpecification[] | undefined;
138
+ }
139
+ export interface ExportImageResult {
140
+ Description?: string | undefined;
141
+ DiskImageFormat?: DiskImageFormat | undefined;
142
+ ExportImageTaskId?: string | undefined;
143
+ ImageId?: string | undefined;
144
+ RoleName?: string | undefined;
145
+ Progress?: string | undefined;
146
+ S3ExportLocation?: ExportTaskS3Location | undefined;
147
+ Status?: string | undefined;
148
+ StatusMessage?: string | undefined;
149
+ Tags?: Tag[] | undefined;
150
+ }
151
+ export interface ExportTransitGatewayRoutesRequest {
152
+ TransitGatewayRouteTableId: string | undefined;
153
+ Filters?: Filter[] | undefined;
154
+ S3Bucket: string | undefined;
155
+ DryRun?: boolean | undefined;
156
+ }
157
+ export interface ExportTransitGatewayRoutesResult {
158
+ S3Location?: string | undefined;
159
+ }
125
160
  export interface GetAssociatedEnclaveCertificateIamRolesRequest {
126
161
  CertificateArn: string | undefined;
127
162
  DryRun?: boolean | undefined;
@@ -1874,38 +1909,6 @@ export interface ModifyTransitGatewayPrefixListReferenceRequest {
1874
1909
  Blackhole?: boolean | undefined;
1875
1910
  DryRun?: boolean | undefined;
1876
1911
  }
1877
- export interface ModifyTransitGatewayPrefixListReferenceResult {
1878
- TransitGatewayPrefixListReference?:
1879
- | TransitGatewayPrefixListReference
1880
- | undefined;
1881
- }
1882
- export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
1883
- DnsSupport?: DnsSupportValue | undefined;
1884
- SecurityGroupReferencingSupport?:
1885
- | SecurityGroupReferencingSupportValue
1886
- | undefined;
1887
- Ipv6Support?: Ipv6SupportValue | undefined;
1888
- ApplianceModeSupport?: ApplianceModeSupportValue | undefined;
1889
- }
1890
- export interface ModifyTransitGatewayVpcAttachmentRequest {
1891
- TransitGatewayAttachmentId: string | undefined;
1892
- AddSubnetIds?: string[] | undefined;
1893
- RemoveSubnetIds?: string[] | undefined;
1894
- Options?: ModifyTransitGatewayVpcAttachmentRequestOptions | undefined;
1895
- DryRun?: boolean | undefined;
1896
- }
1897
- export interface ModifyTransitGatewayVpcAttachmentResult {
1898
- TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
1899
- }
1900
- export interface ModifyVerifiedAccessEndpointLoadBalancerOptions {
1901
- SubnetIds?: string[] | undefined;
1902
- Protocol?: VerifiedAccessEndpointProtocol | undefined;
1903
- Port?: number | undefined;
1904
- }
1905
- export interface ModifyVerifiedAccessEndpointEniOptions {
1906
- Protocol?: VerifiedAccessEndpointProtocol | undefined;
1907
- Port?: number | undefined;
1908
- }
1909
1912
  export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1910
1913
  obj: GetInstanceTpmEkPubResult
1911
1914
  ) => any;
@@ -2,16 +2,20 @@ import {
2
2
  AddedPrincipal,
3
3
  AddressAttribute,
4
4
  AddressAttributeName,
5
+ ApplianceModeSupportValue,
5
6
  ByoipCidr,
6
7
  CapacityReservationInstancePlatform,
7
8
  ClientVpnAuthorizationRuleStatus,
8
9
  CurrencyCodeValues,
10
+ DnsSupportValue,
9
11
  IamInstanceProfileAssociation,
10
12
  IamInstanceProfileSpecification,
11
13
  IpPermission,
14
+ Ipv6SupportValue,
12
15
  NatGatewayAddress,
13
16
  PortRange,
14
17
  RouteTableAssociationState,
18
+ SecurityGroupReferencingSupportValue,
15
19
  TagSpecification,
16
20
  TransitGatewayAttachmentResourceType,
17
21
  TransitGatewayMulticastDomainAssociations,
@@ -30,7 +34,6 @@ import {
30
34
  CreditSpecificationRequest,
31
35
  ElasticGpuSpecification,
32
36
  HostnameType,
33
- IcmpTypeCode,
34
37
  InstanceInterruptionBehavior,
35
38
  InstanceIpv6Address,
36
39
  LocalGatewayRoute,
@@ -38,13 +41,13 @@ import {
38
41
  MarketType,
39
42
  OperatorRequest,
40
43
  Placement,
41
- RuleAction,
42
44
  ShutdownBehavior,
43
45
  SpotInstanceType,
44
46
  VolumeType,
45
47
  } from "./models_1";
46
48
  import {
47
49
  DnsOptionsSpecification,
50
+ IcmpTypeCode,
48
51
  IKEVersionsRequestListValue,
49
52
  InternetGatewayExclusionMode,
50
53
  IpAddressType,
@@ -55,11 +58,14 @@ import {
55
58
  Phase2DHGroupNumbersRequestListValue,
56
59
  Phase2EncryptionAlgorithmsRequestListValue,
57
60
  Phase2IntegrityAlgorithmsRequestListValue,
61
+ RuleAction,
58
62
  SnapshotState,
59
63
  SSEType,
60
64
  SubnetConfiguration,
65
+ TransitGatewayPrefixListReference,
61
66
  TransitGatewayRoute,
62
67
  VerifiedAccessEndpoint,
68
+ VerifiedAccessEndpointProtocol,
63
69
  VerifiedAccessGroup,
64
70
  VerifiedAccessSseSpecificationRequest,
65
71
  VpcBlockPublicAccessExclusion,
@@ -104,12 +110,39 @@ import {
104
110
  VolumeModification,
105
111
  VpcBlockPublicAccessOptions,
106
112
  } from "./models_5";
107
- import {
108
- CapacityReservationSpecification,
109
- ModifyVerifiedAccessEndpointEniOptions,
110
- ModifyVerifiedAccessEndpointLoadBalancerOptions,
111
- Purchase,
112
- } from "./models_6";
113
+ import { CapacityReservationSpecification, Purchase } from "./models_6";
114
+ export interface ModifyTransitGatewayPrefixListReferenceResult {
115
+ TransitGatewayPrefixListReference?:
116
+ | TransitGatewayPrefixListReference
117
+ | undefined;
118
+ }
119
+ export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
120
+ DnsSupport?: DnsSupportValue | undefined;
121
+ SecurityGroupReferencingSupport?:
122
+ | SecurityGroupReferencingSupportValue
123
+ | undefined;
124
+ Ipv6Support?: Ipv6SupportValue | undefined;
125
+ ApplianceModeSupport?: ApplianceModeSupportValue | undefined;
126
+ }
127
+ export interface ModifyTransitGatewayVpcAttachmentRequest {
128
+ TransitGatewayAttachmentId: string | undefined;
129
+ AddSubnetIds?: string[] | undefined;
130
+ RemoveSubnetIds?: string[] | undefined;
131
+ Options?: ModifyTransitGatewayVpcAttachmentRequestOptions | undefined;
132
+ DryRun?: boolean | undefined;
133
+ }
134
+ export interface ModifyTransitGatewayVpcAttachmentResult {
135
+ TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
136
+ }
137
+ export interface ModifyVerifiedAccessEndpointLoadBalancerOptions {
138
+ SubnetIds?: string[] | undefined;
139
+ Protocol?: VerifiedAccessEndpointProtocol | undefined;
140
+ Port?: number | undefined;
141
+ }
142
+ export interface ModifyVerifiedAccessEndpointEniOptions {
143
+ Protocol?: VerifiedAccessEndpointProtocol | undefined;
144
+ Port?: number | undefined;
145
+ }
113
146
  export interface ModifyVerifiedAccessEndpointRequest {
114
147
  VerifiedAccessEndpointId: string | undefined;
115
148
  VerifiedAccessGroupId?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.696.0",
4
+ "version": "3.697.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",