@aws-sdk/client-ec2 3.1141.0 → 3.1143.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 (87) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +206 -43
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DeleteClientVpnEndpointAuthorizationPolicyCommand.js +4 -0
  5. package/dist-es/commands/GetClientVpnEndpointAuthorizationPolicyCommand.js +4 -0
  6. package/dist-es/commands/ModifyClientVpnEndpointAuthorizationPolicyCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +24 -0
  9. package/dist-es/schemas/schemas_0.js +149 -42
  10. package/dist-types/EC2.d.ts +21 -0
  11. package/dist-types/EC2Client.d.ts +5 -2
  12. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -0
  13. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +11 -0
  15. package/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteClientVpnEndpointAuthorizationPolicyCommand.d.ts +72 -0
  17. package/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +10 -0
  22. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeRouteServerEndpointsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeRouteServerPeersCommand.d.ts +1 -2
  28. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
  29. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  30. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  31. package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -2
  32. package/dist-types/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +2 -2
  33. package/dist-types/commands/GetClientVpnEndpointAuthorizationPolicyCommand.d.ts +76 -0
  34. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +2 -1
  35. package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  36. package/dist-types/commands/ModifyClientVpnEndpointAuthorizationPolicyCommand.d.ts +76 -0
  37. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +11 -0
  38. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  39. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  40. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  41. package/dist-types/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +1 -1
  42. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  43. package/dist-types/commands/index.d.ts +3 -0
  44. package/dist-types/models/enums.d.ts +56 -0
  45. package/dist-types/models/models_0.d.ts +22 -1
  46. package/dist-types/models/models_1.d.ts +62 -92
  47. package/dist-types/models/models_2.d.ts +151 -109
  48. package/dist-types/models/models_3.d.ts +162 -218
  49. package/dist-types/models/models_4.d.ts +219 -211
  50. package/dist-types/models/models_5.d.ts +211 -108
  51. package/dist-types/models/models_6.d.ts +160 -181
  52. package/dist-types/models/models_7.d.ts +244 -285
  53. package/dist-types/models/models_8.d.ts +283 -1
  54. package/dist-types/schemas/schemas_0.d.ts +13 -0
  55. package/dist-types/ts3.4/EC2.d.ts +51 -0
  56. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  57. package/dist-types/ts3.4/commands/DeleteClientVpnEndpointAuthorizationPolicyCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +1 -2
  61. package/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/DescribeRouteServerEndpointsCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/DescribeRouteServerPeersCommand.d.ts +4 -2
  64. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +1 -2
  68. package/dist-types/ts3.4/commands/GetClientVpnEndpointAuthorizationPolicyCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +2 -4
  70. package/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ModifyClientVpnEndpointAuthorizationPolicyCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  76. package/dist-types/ts3.4/models/enums.d.ts +32 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  78. package/dist-types/ts3.4/models/models_1.d.ts +12 -17
  79. package/dist-types/ts3.4/models/models_2.d.ts +27 -24
  80. package/dist-types/ts3.4/models/models_3.d.ts +34 -44
  81. package/dist-types/ts3.4/models/models_4.d.ts +43 -55
  82. package/dist-types/ts3.4/models/models_5.d.ts +55 -29
  83. package/dist-types/ts3.4/models/models_6.d.ts +41 -42
  84. package/dist-types/ts3.4/models/models_7.d.ts +57 -48
  85. package/dist-types/ts3.4/models/models_8.d.ts +45 -0
  86. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  87. package/package.json +1 -1
@@ -53,6 +53,7 @@ import {
53
53
  InstanceAutoRecoveryState,
54
54
  InstanceBandwidthWeighting,
55
55
  InstanceBootModeValues,
56
+ InstanceLifecycle,
56
57
  InstanceLifecycleType,
57
58
  InstanceMetadataEndpointState,
58
59
  InstanceMetadataOptionsState,
@@ -109,6 +110,7 @@ import {
109
110
  VirtualizationType,
110
111
  } from "./enums";
111
112
  import {
113
+ ActiveInstance,
112
114
  AlternatePathHint,
113
115
  Explanation,
114
116
  IamInstanceProfile,
@@ -126,6 +128,8 @@ import {
126
128
  BlockDeviceMapping,
127
129
  CapacityReservationTargetResponse,
128
130
  Ec2InstanceConnectEndpoint,
131
+ FleetLaunchTemplateOverrides,
132
+ FleetLaunchTemplateSpecification,
129
133
  InstanceIpv6Address,
130
134
  InternetGateway,
131
135
  Ipam,
@@ -138,6 +142,7 @@ import {
138
142
  IpamResourceDiscovery,
139
143
  IpamScope,
140
144
  LaunchTemplate,
145
+ LaunchTemplateAndOverridesResponse,
141
146
  LaunchTemplateVersion,
142
147
  LocalGatewayRouteTable,
143
148
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
@@ -150,27 +155,54 @@ import {
150
155
  NetworkAcl,
151
156
  NetworkInsightsAccessScope,
152
157
  NetworkInsightsPath,
153
- NetworkInterfaceAttachment,
154
158
  Placement,
155
159
  StateReason,
156
160
  } from "./models_1";
157
161
  import {
158
162
  GroupIdentifier,
159
163
  NetworkInterface,
164
+ NetworkInterfaceAttachment,
160
165
  NetworkInterfacePermission,
161
166
  PlacementGroup,
162
167
  ReplaceRootVolumeTask,
163
- RouteServerEndpoint,
164
168
  } from "./models_2";
165
- import {
166
- Byoasn,
167
- DescribeFleetError,
168
- DescribeFleetsInstances,
169
- Filter,
170
- FleetLaunchTemplateConfig,
171
- IdFormat,
172
- InstanceTagNotificationAttribute,
173
- } from "./models_3";
169
+ import { Byoasn, Filter, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
170
+ export interface DescribeFleetInstancesRequest {
171
+ DryRun?: boolean | undefined;
172
+ MaxResults?: number | undefined;
173
+ NextToken?: string | undefined;
174
+ FleetId: string | undefined;
175
+ Filters?: Filter[] | undefined;
176
+ }
177
+ export interface DescribeFleetInstancesResult {
178
+ ActiveInstances?: ActiveInstance[] | undefined;
179
+ NextToken?: string | undefined;
180
+ FleetId?: string | undefined;
181
+ }
182
+ export interface DescribeFleetsRequest {
183
+ DryRun?: boolean | undefined;
184
+ MaxResults?: number | undefined;
185
+ NextToken?: string | undefined;
186
+ FleetIds?: string[] | undefined;
187
+ Filters?: Filter[] | undefined;
188
+ }
189
+ export interface DescribeFleetError {
190
+ LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
191
+ Lifecycle?: InstanceLifecycle | undefined;
192
+ ErrorCode?: string | undefined;
193
+ ErrorMessage?: string | undefined;
194
+ }
195
+ export interface DescribeFleetsInstances {
196
+ LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
197
+ Lifecycle?: InstanceLifecycle | undefined;
198
+ InstanceIds?: string[] | undefined;
199
+ InstanceType?: _InstanceType | undefined;
200
+ Platform?: PlatformValues | undefined;
201
+ }
202
+ export interface FleetLaunchTemplateConfig {
203
+ LaunchTemplateSpecification?: FleetLaunchTemplateSpecification | undefined;
204
+ Overrides?: FleetLaunchTemplateOverrides[] | undefined;
205
+ }
174
206
  export interface CapacityReservationOptions {
175
207
  UsageStrategy?: FleetCapacityReservationUsageStrategy | undefined;
176
208
  }
@@ -2121,47 +2153,3 @@ export interface DescribeReservedInstancesOfferingsRequest {
2121
2153
  NextToken?: string | undefined;
2122
2154
  MaxResults?: number | undefined;
2123
2155
  }
2124
- export interface PricingDetail {
2125
- Count?: number | undefined;
2126
- Price?: number | undefined;
2127
- }
2128
- export interface ReservedInstancesOffering {
2129
- CurrencyCode?: CurrencyCodeValues | undefined;
2130
- InstanceTenancy?: Tenancy | undefined;
2131
- Marketplace?: boolean | undefined;
2132
- OfferingClass?: OfferingClassType | undefined;
2133
- OfferingType?: OfferingTypeValues | undefined;
2134
- PricingDetails?: PricingDetail[] | undefined;
2135
- RecurringCharges?: RecurringCharge[] | undefined;
2136
- Scope?: Scope | undefined;
2137
- AvailabilityZoneId?: string | undefined;
2138
- ReservedInstancesOfferingId?: string | undefined;
2139
- InstanceType?: _InstanceType | undefined;
2140
- AvailabilityZone?: string | undefined;
2141
- Duration?: number | undefined;
2142
- UsagePrice?: number | undefined;
2143
- FixedPrice?: number | undefined;
2144
- ProductDescription?: RIProductDescription | undefined;
2145
- }
2146
- export interface DescribeReservedInstancesOfferingsResult {
2147
- NextToken?: string | undefined;
2148
- ReservedInstancesOfferings?: ReservedInstancesOffering[] | undefined;
2149
- }
2150
- export interface DescribeRouteServerEndpointsRequest {
2151
- RouteServerEndpointIds?: string[] | undefined;
2152
- NextToken?: string | undefined;
2153
- MaxResults?: number | undefined;
2154
- Filters?: Filter[] | undefined;
2155
- DryRun?: boolean | undefined;
2156
- }
2157
- export interface DescribeRouteServerEndpointsResult {
2158
- RouteServerEndpoints?: RouteServerEndpoint[] | undefined;
2159
- NextToken?: string | undefined;
2160
- }
2161
- export interface DescribeRouteServerPeersRequest {
2162
- RouteServerPeerIds?: string[] | undefined;
2163
- NextToken?: string | undefined;
2164
- MaxResults?: number | undefined;
2165
- Filters?: Filter[] | undefined;
2166
- DryRun?: boolean | undefined;
2167
- }
@@ -6,6 +6,7 @@ import {
6
6
  AttachmentStatus,
7
7
  BatchState,
8
8
  CapacityManagerStatus,
9
+ CurrencyCodeValues,
9
10
  DnsNameState,
10
11
  EventType,
11
12
  ExcessCapacityTerminationPolicy,
@@ -20,6 +21,8 @@ import {
20
21
  IpAddressType,
21
22
  ManagedBy,
22
23
  MetricType,
24
+ OfferingClassType,
25
+ OfferingTypeValues,
23
26
  OnDemandAllocationStrategy,
24
27
  PayerResponsibility,
25
28
  PermissionGroup,
@@ -27,6 +30,7 @@ import {
27
30
  ResourceType,
28
31
  RIProductDescription,
29
32
  RouteServerPropagationState,
33
+ Scope,
30
34
  SecondaryInterfaceStatus,
31
35
  SecondaryInterfaceType,
32
36
  SecondaryNetworkType,
@@ -78,7 +82,6 @@ import {
78
82
  SuccessfulAssociationResponseObject,
79
83
  Tag,
80
84
  TagSpecification,
81
- TransitGatewayAssociation,
82
85
  TransitGatewayMulticastDomainAssociations,
83
86
  TransitGatewayPeeringAttachment,
84
87
  TransitGatewayPolicyTableAssociation,
@@ -89,8 +92,6 @@ import {
89
92
  VerifiedAccessInstance,
90
93
  VerifiedAccessTrustProvider,
91
94
  Volume,
92
- VpcCidrBlockAssociation,
93
- VpcIpv6CidrBlockAssociation,
94
95
  VpcPeeringConnection,
95
96
  } from "./models_0";
96
97
  import {
@@ -113,6 +114,7 @@ import {
113
114
  GroupIdentifier,
114
115
  PayerResponsibilityEntry,
115
116
  RouteServer,
117
+ RouteServerEndpoint,
116
118
  RouteServerPeer,
117
119
  RouteTable,
118
120
  SecondaryNetwork,
@@ -148,7 +150,56 @@ import {
148
150
  FastLaunchSnapshotConfigurationResponse,
149
151
  Filter,
150
152
  } from "./models_3";
151
- import { AttributeBooleanValue, ProductCode, RegisteredInstance } from "./models_4";
153
+ import {
154
+ AttributeBooleanValue,
155
+ ProductCode,
156
+ RecurringCharge,
157
+ RegisteredInstance,
158
+ } from "./models_4";
159
+ export interface PricingDetail {
160
+ Count?: number | undefined;
161
+ Price?: number | undefined;
162
+ }
163
+ export interface ReservedInstancesOffering {
164
+ CurrencyCode?: CurrencyCodeValues | undefined;
165
+ InstanceTenancy?: Tenancy | undefined;
166
+ Marketplace?: boolean | undefined;
167
+ OfferingClass?: OfferingClassType | undefined;
168
+ OfferingType?: OfferingTypeValues | undefined;
169
+ PricingDetails?: PricingDetail[] | undefined;
170
+ RecurringCharges?: RecurringCharge[] | undefined;
171
+ Scope?: Scope | undefined;
172
+ AvailabilityZoneId?: string | undefined;
173
+ ReservedInstancesOfferingId?: string | undefined;
174
+ InstanceType?: _InstanceType | undefined;
175
+ AvailabilityZone?: string | undefined;
176
+ Duration?: number | undefined;
177
+ UsagePrice?: number | undefined;
178
+ FixedPrice?: number | undefined;
179
+ ProductDescription?: RIProductDescription | undefined;
180
+ }
181
+ export interface DescribeReservedInstancesOfferingsResult {
182
+ NextToken?: string | undefined;
183
+ ReservedInstancesOfferings?: ReservedInstancesOffering[] | undefined;
184
+ }
185
+ export interface DescribeRouteServerEndpointsRequest {
186
+ RouteServerEndpointIds?: string[] | undefined;
187
+ NextToken?: string | undefined;
188
+ MaxResults?: number | undefined;
189
+ Filters?: Filter[] | undefined;
190
+ DryRun?: boolean | undefined;
191
+ }
192
+ export interface DescribeRouteServerEndpointsResult {
193
+ RouteServerEndpoints?: RouteServerEndpoint[] | undefined;
194
+ NextToken?: string | undefined;
195
+ }
196
+ export interface DescribeRouteServerPeersRequest {
197
+ RouteServerPeerIds?: string[] | undefined;
198
+ NextToken?: string | undefined;
199
+ MaxResults?: number | undefined;
200
+ Filters?: Filter[] | undefined;
201
+ DryRun?: boolean | undefined;
202
+ }
152
203
  export interface DescribeRouteServerPeersResult {
153
204
  RouteServerPeers?: RouteServerPeer[] | undefined;
154
205
  NextToken?: string | undefined;
@@ -1840,28 +1891,3 @@ export interface DisassociateTransitGatewayRouteTableRequest {
1840
1891
  TransitGatewayAttachmentId: string | undefined;
1841
1892
  DryRun?: boolean | undefined;
1842
1893
  }
1843
- export interface DisassociateTransitGatewayRouteTableResult {
1844
- Association?: TransitGatewayAssociation | undefined;
1845
- }
1846
- export interface DisassociateTrunkInterfaceRequest {
1847
- AssociationId: string | undefined;
1848
- ClientToken?: string | undefined;
1849
- DryRun?: boolean | undefined;
1850
- }
1851
- export interface DisassociateTrunkInterfaceResult {
1852
- Return?: boolean | undefined;
1853
- ClientToken?: string | undefined;
1854
- }
1855
- export interface DisassociateVpcCidrBlockRequest {
1856
- AssociationId: string | undefined;
1857
- }
1858
- export interface DisassociateVpcCidrBlockResult {
1859
- Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation | undefined;
1860
- CidrBlockAssociation?: VpcCidrBlockAssociation | undefined;
1861
- VpcId?: string | undefined;
1862
- }
1863
- export interface EnableAddressTransferRequest {
1864
- AllocationId: string | undefined;
1865
- TransferAccountId: string | undefined;
1866
- DryRun?: boolean | undefined;
1867
- }
@@ -8,6 +8,8 @@ import {
8
8
  CapacityTenancy,
9
9
  ChronologicalOrder,
10
10
  ClientCertificateRevocationListStatusCode,
11
+ ClientVpnAuthorizationPolicyShadowMode,
12
+ ClientVpnAuthorizationPolicyStatus,
11
13
  Comparison,
12
14
  CurrencyCodeValues,
13
15
  DeviceTrustProviderType,
@@ -81,7 +83,10 @@ import {
81
83
  Tag,
82
84
  TagSpecification,
83
85
  TargetConfigurationRequest,
86
+ TransitGatewayAssociation,
84
87
  TransitGatewayPolicyTableAssociation,
88
+ VpcCidrBlockAssociation,
89
+ VpcIpv6CidrBlockAssociation,
85
90
  } from "./models_0";
86
91
  import {
87
92
  InstanceRequirementsRequest,
@@ -111,6 +116,31 @@ import {
111
116
  TransitGatewayPropagation,
112
117
  UnsuccessfulSuppressionResponseObject,
113
118
  } from "./models_5";
119
+ export interface DisassociateTransitGatewayRouteTableResult {
120
+ Association?: TransitGatewayAssociation | undefined;
121
+ }
122
+ export interface DisassociateTrunkInterfaceRequest {
123
+ AssociationId: string | undefined;
124
+ ClientToken?: string | undefined;
125
+ DryRun?: boolean | undefined;
126
+ }
127
+ export interface DisassociateTrunkInterfaceResult {
128
+ Return?: boolean | undefined;
129
+ ClientToken?: string | undefined;
130
+ }
131
+ export interface DisassociateVpcCidrBlockRequest {
132
+ AssociationId: string | undefined;
133
+ }
134
+ export interface DisassociateVpcCidrBlockResult {
135
+ Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation | undefined;
136
+ CidrBlockAssociation?: VpcCidrBlockAssociation | undefined;
137
+ VpcId?: string | undefined;
138
+ }
139
+ export interface EnableAddressTransferRequest {
140
+ AllocationId: string | undefined;
141
+ TransferAccountId: string | undefined;
142
+ DryRun?: boolean | undefined;
143
+ }
114
144
  export interface EnableAddressTransferResult {
115
145
  AddressTransfer?: AddressTransfer | undefined;
116
146
  }
@@ -648,6 +678,17 @@ export interface GetCapacityReservationUsageResult {
648
678
  InterruptibleCapacityAllocation?: InterruptibleCapacityAllocation | undefined;
649
679
  InterruptionInfo?: InterruptionInfo | undefined;
650
680
  }
681
+ export interface GetClientVpnEndpointAuthorizationPolicyRequest {
682
+ ClientVpnEndpointId: string | undefined;
683
+ DryRun?: boolean | undefined;
684
+ }
685
+ export interface GetClientVpnEndpointAuthorizationPolicyResult {
686
+ ClientVpnEndpointId?: string | undefined;
687
+ PolicyDocument?: string | undefined;
688
+ Description?: string | undefined;
689
+ ShadowMode?: ClientVpnAuthorizationPolicyShadowMode | undefined;
690
+ Status?: ClientVpnAuthorizationPolicyStatus | undefined;
691
+ }
651
692
  export interface GetCoipPoolUsageRequest {
652
693
  PoolId: string | undefined;
653
694
  Filters?: Filter[] | undefined;
@@ -1696,45 +1737,3 @@ export interface GetVpnTunnelReplacementStatusRequest {
1696
1737
  VpnTunnelOutsideIpAddress: string | undefined;
1697
1738
  DryRun?: boolean | undefined;
1698
1739
  }
1699
- export interface MaintenanceDetails {
1700
- PendingMaintenance?: string | undefined;
1701
- MaintenanceAutoAppliedAfter?: Date | undefined;
1702
- LastMaintenanceApplied?: Date | undefined;
1703
- }
1704
- export interface GetVpnTunnelReplacementStatusResult {
1705
- VpnConnectionId?: string | undefined;
1706
- TransitGatewayId?: string | undefined;
1707
- CustomerGatewayId?: string | undefined;
1708
- VpnGatewayId?: string | undefined;
1709
- VpnTunnelOutsideIpAddress?: string | undefined;
1710
- MaintenanceDetails?: MaintenanceDetails | undefined;
1711
- }
1712
- export interface ImportClientVpnClientCertificateRevocationListRequest {
1713
- ClientVpnEndpointId: string | undefined;
1714
- CertificateRevocationList: string | undefined;
1715
- DryRun?: boolean | undefined;
1716
- }
1717
- export interface ImportClientVpnClientCertificateRevocationListResult {
1718
- Return?: boolean | undefined;
1719
- }
1720
- export interface ClientData {
1721
- Comment?: string | undefined;
1722
- UploadEnd?: Date | undefined;
1723
- UploadSize?: number | undefined;
1724
- UploadStart?: Date | undefined;
1725
- }
1726
- export interface UserBucket {
1727
- S3Bucket?: string | undefined;
1728
- S3Key?: string | undefined;
1729
- }
1730
- export interface ImageDiskContainer {
1731
- Description?: string | undefined;
1732
- DeviceName?: string | undefined;
1733
- Format?: string | undefined;
1734
- SnapshotId?: string | undefined;
1735
- Url?: string | undefined;
1736
- UserBucket?: UserBucket | undefined;
1737
- }
1738
- export interface ImportImageLicenseConfigurationRequest {
1739
- LicenseConfigurationArn?: string | undefined;
1740
- }
@@ -11,6 +11,8 @@ import {
11
11
  CapacityReservationAdjustmentStatus,
12
12
  CapacityReservationInstancePlatform,
13
13
  CapacityReservationPreference,
14
+ ClientVpnAuthorizationPolicyShadowMode,
15
+ ClientVpnAuthorizationPolicyStatus,
14
16
  CurrencyCodeValues,
15
17
  DefaultHttpTokensEnforcedState,
16
18
  DefaultInstanceMetadataEndpointState,
@@ -125,6 +127,7 @@ import {
125
127
  ClientRouteEnforcementOptions,
126
128
  ConnectionLogOptions,
127
129
  ConnectionTrackingSpecificationRequest,
130
+ DevicePostureOptions,
128
131
  ExternalAuthorityConfiguration,
129
132
  FleetLaunchTemplateConfigRequest,
130
133
  InstanceEventWindowTimeRangeRequest,
@@ -202,16 +205,54 @@ import {
202
205
  VpcBlockPublicAccessOptions,
203
206
  } from "./models_5";
204
207
  import {
205
- ClientData,
206
- ImageDiskContainer,
207
- ImportImageLicenseConfigurationRequest,
208
208
  InstanceFamilyCreditSpecification,
209
209
  IpamPolicyDocument,
210
210
  IpamResourceCidr,
211
211
  ManagedResourceVisibilitySettings,
212
212
  Purchase,
213
- UserBucket,
214
213
  } from "./models_6";
214
+ export interface MaintenanceDetails {
215
+ PendingMaintenance?: string | undefined;
216
+ MaintenanceAutoAppliedAfter?: Date | undefined;
217
+ LastMaintenanceApplied?: Date | undefined;
218
+ }
219
+ export interface GetVpnTunnelReplacementStatusResult {
220
+ VpnConnectionId?: string | undefined;
221
+ TransitGatewayId?: string | undefined;
222
+ CustomerGatewayId?: string | undefined;
223
+ VpnGatewayId?: string | undefined;
224
+ VpnTunnelOutsideIpAddress?: string | undefined;
225
+ MaintenanceDetails?: MaintenanceDetails | undefined;
226
+ }
227
+ export interface ImportClientVpnClientCertificateRevocationListRequest {
228
+ ClientVpnEndpointId: string | undefined;
229
+ CertificateRevocationList: string | undefined;
230
+ DryRun?: boolean | undefined;
231
+ }
232
+ export interface ImportClientVpnClientCertificateRevocationListResult {
233
+ Return?: boolean | undefined;
234
+ }
235
+ export interface ClientData {
236
+ Comment?: string | undefined;
237
+ UploadEnd?: Date | undefined;
238
+ UploadSize?: number | undefined;
239
+ UploadStart?: Date | undefined;
240
+ }
241
+ export interface UserBucket {
242
+ S3Bucket?: string | undefined;
243
+ S3Key?: string | undefined;
244
+ }
245
+ export interface ImageDiskContainer {
246
+ Description?: string | undefined;
247
+ DeviceName?: string | undefined;
248
+ Format?: string | undefined;
249
+ SnapshotId?: string | undefined;
250
+ Url?: string | undefined;
251
+ UserBucket?: UserBucket | undefined;
252
+ }
253
+ export interface ImportImageLicenseConfigurationRequest {
254
+ LicenseConfigurationArn?: string | undefined;
255
+ }
215
256
  export interface ImportImageRequest {
216
257
  Architecture?: string | undefined;
217
258
  ClientData?: ClientData | undefined;
@@ -515,10 +556,22 @@ export interface ModifyClientVpnEndpointRequest {
515
556
  ClientRouteEnforcementOptions?: ClientRouteEnforcementOptions | undefined;
516
557
  DisconnectOnSessionTimeout?: boolean | undefined;
517
558
  TransitGatewayConfiguration?: TransitGatewayConfigurationInputStructure | undefined;
559
+ DevicePostureOptions?: DevicePostureOptions | undefined;
518
560
  }
519
561
  export interface ModifyClientVpnEndpointResult {
520
562
  Return?: boolean | undefined;
521
563
  }
564
+ export interface ModifyClientVpnEndpointAuthorizationPolicyRequest {
565
+ ClientVpnEndpointId: string | undefined;
566
+ PolicyDocument?: string | undefined;
567
+ Description?: string | undefined;
568
+ ShadowMode?: ClientVpnAuthorizationPolicyShadowMode | undefined;
569
+ ClientToken?: string | undefined;
570
+ DryRun?: boolean | undefined;
571
+ }
572
+ export interface ModifyClientVpnEndpointAuthorizationPolicyResult {
573
+ Status?: ClientVpnAuthorizationPolicyStatus | undefined;
574
+ }
522
575
  export interface ModifyDefaultCreditSpecificationRequest {
523
576
  DryRun?: boolean | undefined;
524
577
  InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
@@ -1853,47 +1906,3 @@ export interface ReplaceIamInstanceProfileAssociationResult {
1853
1906
  export interface CreationDateConditionRequest {
1854
1907
  MaximumDaysSinceCreated?: number | undefined;
1855
1908
  }
1856
- export interface DeprecationTimeConditionRequest {
1857
- MaximumDaysSinceDeprecated?: number | undefined;
1858
- }
1859
- export interface ImageWatermarkFilterRequest {
1860
- WatermarkKey?: string | undefined;
1861
- SourceImageRegion?: string | undefined;
1862
- MaximumDaysSinceSourceImageCreated?: number | undefined;
1863
- MaximumDaysSinceWatermarkCreated?: number | undefined;
1864
- }
1865
- export interface ImageCriterionRequest {
1866
- ImageProviders?: string[] | undefined;
1867
- MarketplaceProductCodes?: string[] | undefined;
1868
- ImageNames?: string[] | undefined;
1869
- DeprecationTimeCondition?: DeprecationTimeConditionRequest | undefined;
1870
- CreationDateCondition?: CreationDateConditionRequest | undefined;
1871
- ImageWatermarks?: ImageWatermarkFilterRequest[] | undefined;
1872
- }
1873
- export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
1874
- ImageCriteria?: ImageCriterionRequest[] | undefined;
1875
- DryRun?: boolean | undefined;
1876
- }
1877
- export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
1878
- ReturnValue?: boolean | undefined;
1879
- }
1880
- export interface InstanceTypeSpecificationRequest {
1881
- SupportedInstanceTypes?: string[] | undefined;
1882
- UnsupportedInstanceTypes?: string[] | undefined;
1883
- }
1884
- export interface ReplaceImageInstanceTypeSpecificationRequest {
1885
- ImageId: string | undefined;
1886
- InstanceTypeSpecification?: InstanceTypeSpecificationRequest | undefined;
1887
- DryRun?: boolean | undefined;
1888
- }
1889
- export interface ReplaceImageInstanceTypeSpecificationResult {
1890
- ReturnValue?: boolean | undefined;
1891
- }
1892
- export interface ReplaceNetworkAclAssociationRequest {
1893
- DryRun?: boolean | undefined;
1894
- AssociationId: string | undefined;
1895
- NetworkAclId: string | undefined;
1896
- }
1897
- export interface ReplaceNetworkAclAssociationResult {
1898
- NewAssociationId?: string | undefined;
1899
- }
@@ -71,9 +71,54 @@ import {
71
71
  import { CapacityManagerMonitoredTagKey } from "./models_6";
72
72
  import {
73
73
  CapacityReservationSpecification,
74
+ CreationDateConditionRequest,
74
75
  EnclaveOptionsRequest,
75
76
  InstanceMonitoring,
76
77
  } from "./models_7";
78
+ export interface DeprecationTimeConditionRequest {
79
+ MaximumDaysSinceDeprecated?: number | undefined;
80
+ }
81
+ export interface ImageWatermarkFilterRequest {
82
+ WatermarkKey?: string | undefined;
83
+ SourceImageRegion?: string | undefined;
84
+ MaximumDaysSinceSourceImageCreated?: number | undefined;
85
+ MaximumDaysSinceWatermarkCreated?: number | undefined;
86
+ }
87
+ export interface ImageCriterionRequest {
88
+ ImageProviders?: string[] | undefined;
89
+ MarketplaceProductCodes?: string[] | undefined;
90
+ ImageNames?: string[] | undefined;
91
+ DeprecationTimeCondition?: DeprecationTimeConditionRequest | undefined;
92
+ CreationDateCondition?: CreationDateConditionRequest | undefined;
93
+ ImageWatermarks?: ImageWatermarkFilterRequest[] | undefined;
94
+ }
95
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
96
+ ImageCriteria?: ImageCriterionRequest[] | undefined;
97
+ DryRun?: boolean | undefined;
98
+ }
99
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
100
+ ReturnValue?: boolean | undefined;
101
+ }
102
+ export interface InstanceTypeSpecificationRequest {
103
+ SupportedInstanceTypes?: string[] | undefined;
104
+ UnsupportedInstanceTypes?: string[] | undefined;
105
+ }
106
+ export interface ReplaceImageInstanceTypeSpecificationRequest {
107
+ ImageId: string | undefined;
108
+ InstanceTypeSpecification?: InstanceTypeSpecificationRequest | undefined;
109
+ DryRun?: boolean | undefined;
110
+ }
111
+ export interface ReplaceImageInstanceTypeSpecificationResult {
112
+ ReturnValue?: boolean | undefined;
113
+ }
114
+ export interface ReplaceNetworkAclAssociationRequest {
115
+ DryRun?: boolean | undefined;
116
+ AssociationId: string | undefined;
117
+ NetworkAclId: string | undefined;
118
+ }
119
+ export interface ReplaceNetworkAclAssociationResult {
120
+ NewAssociationId?: string | undefined;
121
+ }
77
122
  export interface ReplaceNetworkAclEntryRequest {
78
123
  DryRun?: boolean | undefined;
79
124
  NetworkAclId: string | undefined;
@@ -248,6 +248,8 @@ export declare var ClientVpnEndpointAttributeStatus$: StaticStructureSchema;
248
248
  export declare var ClientVpnEndpointStatus$: StaticStructureSchema;
249
249
  export declare var ClientVpnRoute$: StaticStructureSchema;
250
250
  export declare var ClientVpnRouteStatus$: StaticStructureSchema;
251
+ export declare var ClientVpnTrustProvider$: StaticStructureSchema;
252
+ export declare var ClientVpnTrustProviderRequest$: StaticStructureSchema;
251
253
  export declare var CloudWatchLogOptions$: StaticStructureSchema;
252
254
  export declare var CloudWatchLogOptionsSpecification$: StaticStructureSchema;
253
255
  export declare var CoipAddressUsage$: StaticStructureSchema;
@@ -522,6 +524,8 @@ export declare var DeleteCapacityManagerDataExportRequest$: StaticStructureSchem
522
524
  export declare var DeleteCapacityManagerDataExportResult$: StaticStructureSchema;
523
525
  export declare var DeleteCarrierGatewayRequest$: StaticStructureSchema;
524
526
  export declare var DeleteCarrierGatewayResult$: StaticStructureSchema;
527
+ export declare var DeleteClientVpnEndpointAuthorizationPolicyRequest$: StaticStructureSchema;
528
+ export declare var DeleteClientVpnEndpointAuthorizationPolicyResult$: StaticStructureSchema;
525
529
  export declare var DeleteClientVpnEndpointRequest$: StaticStructureSchema;
526
530
  export declare var DeleteClientVpnEndpointResult$: StaticStructureSchema;
527
531
  export declare var DeleteClientVpnRouteRequest$: StaticStructureSchema;
@@ -1119,6 +1123,8 @@ export declare var DetachVerifiedAccessTrustProviderResult$: StaticStructureSche
1119
1123
  export declare var DetachVolumeRequest$: StaticStructureSchema;
1120
1124
  export declare var DetachVpnGatewayRequest$: StaticStructureSchema;
1121
1125
  export declare var DeviceOptions$: StaticStructureSchema;
1126
+ export declare var DevicePostureOptions$: StaticStructureSchema;
1127
+ export declare var DevicePostureResponseOptions$: StaticStructureSchema;
1122
1128
  export declare var DhcpConfiguration$: StaticStructureSchema;
1123
1129
  export declare var DhcpOptions$: StaticStructureSchema;
1124
1130
  export declare var DimensionCondition$: StaticStructureSchema;
@@ -1369,6 +1375,8 @@ export declare var GetCapacityManagerMonitoredTagKeysRequest$: StaticStructureSc
1369
1375
  export declare var GetCapacityManagerMonitoredTagKeysResult$: StaticStructureSchema;
1370
1376
  export declare var GetCapacityReservationUsageRequest$: StaticStructureSchema;
1371
1377
  export declare var GetCapacityReservationUsageResult$: StaticStructureSchema;
1378
+ export declare var GetClientVpnEndpointAuthorizationPolicyRequest$: StaticStructureSchema;
1379
+ export declare var GetClientVpnEndpointAuthorizationPolicyResult$: StaticStructureSchema;
1372
1380
  export declare var GetCoipPoolUsageRequest$: StaticStructureSchema;
1373
1381
  export declare var GetCoipPoolUsageResult$: StaticStructureSchema;
1374
1382
  export declare var GetConsoleOutputRequest$: StaticStructureSchema;
@@ -1813,6 +1821,8 @@ export declare var ModifyCapacityReservationFleetRequest$: StaticStructureSchema
1813
1821
  export declare var ModifyCapacityReservationFleetResult$: StaticStructureSchema;
1814
1822
  export declare var ModifyCapacityReservationRequest$: StaticStructureSchema;
1815
1823
  export declare var ModifyCapacityReservationResult$: StaticStructureSchema;
1824
+ export declare var ModifyClientVpnEndpointAuthorizationPolicyRequest$: StaticStructureSchema;
1825
+ export declare var ModifyClientVpnEndpointAuthorizationPolicyResult$: StaticStructureSchema;
1816
1826
  export declare var ModifyClientVpnEndpointRequest$: StaticStructureSchema;
1817
1827
  export declare var ModifyClientVpnEndpointResult$: StaticStructureSchema;
1818
1828
  export declare var ModifyDefaultCreditSpecificationRequest$: StaticStructureSchema;
@@ -2699,6 +2709,7 @@ export declare var DeleteApplicationStatusCheck$: StaticOperationSchema;
2699
2709
  export declare var DeleteCapacityManagerDataExport$: StaticOperationSchema;
2700
2710
  export declare var DeleteCarrierGateway$: StaticOperationSchema;
2701
2711
  export declare var DeleteClientVpnEndpoint$: StaticOperationSchema;
2712
+ export declare var DeleteClientVpnEndpointAuthorizationPolicy$: StaticOperationSchema;
2702
2713
  export declare var DeleteClientVpnRoute$: StaticOperationSchema;
2703
2714
  export declare var DeleteCoipCidr$: StaticOperationSchema;
2704
2715
  export declare var DeleteCoipPool$: StaticOperationSchema;
@@ -3081,6 +3092,7 @@ export declare var GetCapacityManagerMetricData$: StaticOperationSchema;
3081
3092
  export declare var GetCapacityManagerMetricDimensions$: StaticOperationSchema;
3082
3093
  export declare var GetCapacityManagerMonitoredTagKeys$: StaticOperationSchema;
3083
3094
  export declare var GetCapacityReservationUsage$: StaticOperationSchema;
3095
+ export declare var GetClientVpnEndpointAuthorizationPolicy$: StaticOperationSchema;
3084
3096
  export declare var GetCoipPoolUsage$: StaticOperationSchema;
3085
3097
  export declare var GetConsoleOutput$: StaticOperationSchema;
3086
3098
  export declare var GetConsoleScreenshot$: StaticOperationSchema;
@@ -3165,6 +3177,7 @@ export declare var ModifyAvailabilityZoneGroup$: StaticOperationSchema;
3165
3177
  export declare var ModifyCapacityReservation$: StaticOperationSchema;
3166
3178
  export declare var ModifyCapacityReservationFleet$: StaticOperationSchema;
3167
3179
  export declare var ModifyClientVpnEndpoint$: StaticOperationSchema;
3180
+ export declare var ModifyClientVpnEndpointAuthorizationPolicy$: StaticOperationSchema;
3168
3181
  export declare var ModifyDefaultCreditSpecification$: StaticOperationSchema;
3169
3182
  export declare var ModifyEbsDefaultKmsKeyId$: StaticOperationSchema;
3170
3183
  export declare var ModifyFleet$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
- "version": "3.1141.0",
3
+ "version": "3.1143.0",
4
4
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
6
6
  "license": "Apache-2.0",