@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
@@ -1,11 +1,190 @@
1
- import type { _InstanceType, AccountVpcEncryptionControlMode, Affinity, AggregationStatusEnum, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationAdjustmentStatus, CapacityReservationInstancePlatform, CapacityReservationPreference, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InternetGatewayBlockMode, InternetGatewayExclusionMode, IpAddressType, IpamMeteredAccount, IpamPolicyResourceType, IpamTier, IpScopeEnum, Ipv6SupportValue, IpVersionEnum, LockMode, LockState, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, NetworkProtocolEnum, OperationType, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeState, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
1
+ import type { _InstanceType, AccountVpcEncryptionControlMode, Affinity, AggregationStatusEnum, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationAdjustmentStatus, CapacityReservationInstancePlatform, CapacityReservationPreference, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InternetGatewayBlockMode, InternetGatewayExclusionMode, IpAddressType, IpamMeteredAccount, IpamPolicyResourceType, IpamTier, IpScopeEnum, Ipv6SupportValue, IpVersionEnum, LockMode, LockState, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, NetworkProtocolEnum, OperationType, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeState, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
2
2
  import type { AccountVpcEncryptionControl, AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ApplicationStatusCheckResponseObject, ByoipCidr, CapacityReservation, CapacityReservationAdjustmentDetails, EnaSrdSpecification, HealthCheckPathRequestObject, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, OperatorResponse, Tag, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
3
- import type { AttributeValue, BlockDeviceMapping, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, RequestIpamResourceTag, TargetCapacitySpecificationRequest, TransitGatewayConfigurationInputStructure, VpcEncryptionControl } from "./models_1";
3
+ import type { AttributeValue, BlockDeviceMapping, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DevicePostureOptions, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, RequestIpamResourceTag, TargetCapacitySpecificationRequest, TransitGatewayConfigurationInputStructure, VpcEncryptionControl } from "./models_1";
4
4
  import type { DnsOptionsSpecification, IKEVersionsRequestListValue, PayerResponsibilityEntry, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RouteServer, SubnetConfiguration, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRequestPolicyRule, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { Byoasn, CapacityBlock, CapacityBlockExtension, ConversionTask, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
6
  import type { AttributeBooleanValue, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, InstanceMetadataOptionsResponse, InstanceStatusEvent, LaunchPermission, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail } from "./models_4";
7
7
  import type { CreateVolumePermission, LaunchTemplateConfig, ScheduledInstance, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
- import type { ClientData, ImageDiskContainer, ImportImageLicenseConfigurationRequest, InstanceFamilyCreditSpecification, IpamPolicyDocument, IpamResourceCidr, ManagedResourceVisibilitySettings, Purchase, UserBucket } from "./models_6";
8
+ import type { InstanceFamilyCreditSpecification, IpamPolicyDocument, IpamResourceCidr, ManagedResourceVisibilitySettings, Purchase } from "./models_6";
9
+ /**
10
+ * <p>Details for Site-to-Site VPN tunnel endpoint maintenance events.</p>
11
+ * @public
12
+ */
13
+ export interface MaintenanceDetails {
14
+ /**
15
+ * <p>Verify existence of a pending maintenance.</p>
16
+ * @public
17
+ */
18
+ PendingMaintenance?: string | undefined;
19
+ /**
20
+ * <p>The timestamp after which Amazon Web Services will automatically apply maintenance.</p>
21
+ * @public
22
+ */
23
+ MaintenanceAutoAppliedAfter?: Date | undefined;
24
+ /**
25
+ * <p>Timestamp of last applied maintenance.</p>
26
+ * @public
27
+ */
28
+ LastMaintenanceApplied?: Date | undefined;
29
+ }
30
+ /**
31
+ * @public
32
+ */
33
+ export interface GetVpnTunnelReplacementStatusResult {
34
+ /**
35
+ * <p>The ID of the Site-to-Site VPN connection. </p>
36
+ * @public
37
+ */
38
+ VpnConnectionId?: string | undefined;
39
+ /**
40
+ * <p>The ID of the transit gateway associated with the VPN connection.</p>
41
+ * @public
42
+ */
43
+ TransitGatewayId?: string | undefined;
44
+ /**
45
+ * <p>The ID of the customer gateway.</p>
46
+ * @public
47
+ */
48
+ CustomerGatewayId?: string | undefined;
49
+ /**
50
+ * <p>The ID of the virtual private gateway.</p>
51
+ * @public
52
+ */
53
+ VpnGatewayId?: string | undefined;
54
+ /**
55
+ * <p>The external IP address of the VPN tunnel.</p>
56
+ * @public
57
+ */
58
+ VpnTunnelOutsideIpAddress?: string | undefined;
59
+ /**
60
+ * <p>Get details of pending tunnel endpoint maintenance.</p>
61
+ * @public
62
+ */
63
+ MaintenanceDetails?: MaintenanceDetails | undefined;
64
+ }
65
+ /**
66
+ * @public
67
+ */
68
+ export interface ImportClientVpnClientCertificateRevocationListRequest {
69
+ /**
70
+ * <p>The ID of the Client VPN endpoint to which the client certificate revocation list applies.</p>
71
+ * @public
72
+ */
73
+ ClientVpnEndpointId: string | undefined;
74
+ /**
75
+ * <p>The client certificate revocation list file. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate">Generate a Client Certificate Revocation List</a> in the
76
+ * <i>Client VPN Administrator Guide</i>.</p>
77
+ * @public
78
+ */
79
+ CertificateRevocationList: string | undefined;
80
+ /**
81
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
82
+ * @public
83
+ */
84
+ DryRun?: boolean | undefined;
85
+ }
86
+ /**
87
+ * @public
88
+ */
89
+ export interface ImportClientVpnClientCertificateRevocationListResult {
90
+ /**
91
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
92
+ * @public
93
+ */
94
+ Return?: boolean | undefined;
95
+ }
96
+ /**
97
+ * <p>Describes the client-specific data.</p>
98
+ * @public
99
+ */
100
+ export interface ClientData {
101
+ /**
102
+ * <p>A user-defined comment about the disk upload.</p>
103
+ * @public
104
+ */
105
+ Comment?: string | undefined;
106
+ /**
107
+ * <p>The time that the disk upload ends.</p>
108
+ * @public
109
+ */
110
+ UploadEnd?: Date | undefined;
111
+ /**
112
+ * <p>The size of the uploaded disk image, in GiB.</p>
113
+ * @public
114
+ */
115
+ UploadSize?: number | undefined;
116
+ /**
117
+ * <p>The time that the disk upload starts.</p>
118
+ * @public
119
+ */
120
+ UploadStart?: Date | undefined;
121
+ }
122
+ /**
123
+ * <p>Describes the Amazon S3 bucket for the disk image.</p>
124
+ * @public
125
+ */
126
+ export interface UserBucket {
127
+ /**
128
+ * <p>The name of the Amazon S3 bucket where the disk image is located.</p>
129
+ * @public
130
+ */
131
+ S3Bucket?: string | undefined;
132
+ /**
133
+ * <p>The file name of the disk image.</p>
134
+ * @public
135
+ */
136
+ S3Key?: string | undefined;
137
+ }
138
+ /**
139
+ * <p>Describes the disk container object for an import image task.</p>
140
+ * @public
141
+ */
142
+ export interface ImageDiskContainer {
143
+ /**
144
+ * <p>The description of the disk image.</p>
145
+ * @public
146
+ */
147
+ Description?: string | undefined;
148
+ /**
149
+ * <p>The block device mapping for the disk.</p>
150
+ * @public
151
+ */
152
+ DeviceName?: string | undefined;
153
+ /**
154
+ * <p>The format of the disk image being imported.</p>
155
+ * <p>Valid values: <code>OVA</code> | <code>VHD</code> | <code>VHDX</code> | <code>VMDK</code> | <code>RAW</code>
156
+ * </p>
157
+ * @public
158
+ */
159
+ Format?: string | undefined;
160
+ /**
161
+ * <p>The ID of the EBS snapshot to be used for importing the snapshot.</p>
162
+ * @public
163
+ */
164
+ SnapshotId?: string | undefined;
165
+ /**
166
+ * <p>The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an
167
+ * Amazon S3 URL (s3://..)</p>
168
+ * @public
169
+ */
170
+ Url?: string | undefined;
171
+ /**
172
+ * <p>The S3 bucket for the disk image.</p>
173
+ * @public
174
+ */
175
+ UserBucket?: UserBucket | undefined;
176
+ }
177
+ /**
178
+ * <p>The request information of license configurations.</p>
179
+ * @public
180
+ */
181
+ export interface ImportImageLicenseConfigurationRequest {
182
+ /**
183
+ * <p>The ARN of a license configuration.</p>
184
+ * @public
185
+ */
186
+ LicenseConfigurationArn?: string | undefined;
187
+ }
9
188
  /**
10
189
  * @public
11
190
  */
@@ -1636,6 +1815,11 @@ export interface ModifyClientVpnEndpointRequest {
1636
1815
  * @public
1637
1816
  */
1638
1817
  TransitGatewayConfiguration?: TransitGatewayConfigurationInputStructure | undefined;
1818
+ /**
1819
+ * <p>The device posture options for the Client VPN endpoint. Specifying this parameter replaces the entire device posture configuration for the endpoint. To remove all device trust providers, specify an empty list.</p>
1820
+ * @public
1821
+ */
1822
+ DevicePostureOptions?: DevicePostureOptions | undefined;
1639
1823
  }
1640
1824
  /**
1641
1825
  * @public
@@ -1647,6 +1831,63 @@ export interface ModifyClientVpnEndpointResult {
1647
1831
  */
1648
1832
  Return?: boolean | undefined;
1649
1833
  }
1834
+ /**
1835
+ * @public
1836
+ */
1837
+ export interface ModifyClientVpnEndpointAuthorizationPolicyRequest {
1838
+ /**
1839
+ * <p>The ID of the Client VPN endpoint.</p>
1840
+ * @public
1841
+ */
1842
+ ClientVpnEndpointId: string | undefined;
1843
+ /**
1844
+ * <p>The authorization policy document, written in the Cedar policy language. This parameter is required when you create the authorization policy for a Client VPN endpoint that does not already have one.</p>
1845
+ * @public
1846
+ */
1847
+ PolicyDocument?: string | undefined;
1848
+ /**
1849
+ * <p>A brief description of the authorization policy.</p>
1850
+ * @public
1851
+ */
1852
+ Description?: string | undefined;
1853
+ /**
1854
+ * <p>Specifies whether the authorization policy is evaluated in shadow mode. Possible values include:</p>
1855
+ * <ul>
1856
+ * <li>
1857
+ * <p>
1858
+ * <code>enabled</code> - The authorization policy is evaluated and the results are logged, but access is not enforced.</p>
1859
+ * </li>
1860
+ * <li>
1861
+ * <p>
1862
+ * <code>disabled</code> - The authorization policy is enforced.</p>
1863
+ * </li>
1864
+ * </ul>
1865
+ * <p>The default value is <code>disabled</code>.</p>
1866
+ * @public
1867
+ */
1868
+ ShadowMode?: ClientVpnAuthorizationPolicyShadowMode | undefined;
1869
+ /**
1870
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
1871
+ * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
1872
+ * @public
1873
+ */
1874
+ ClientToken?: string | undefined;
1875
+ /**
1876
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1877
+ * @public
1878
+ */
1879
+ DryRun?: boolean | undefined;
1880
+ }
1881
+ /**
1882
+ * @public
1883
+ */
1884
+ export interface ModifyClientVpnEndpointAuthorizationPolicyResult {
1885
+ /**
1886
+ * <p>The current state of the authorization policy.</p>
1887
+ * @public
1888
+ */
1889
+ Status?: ClientVpnAuthorizationPolicyStatus | undefined;
1890
+ }
1650
1891
  /**
1651
1892
  * @public
1652
1893
  */
@@ -8290,285 +8531,3 @@ export interface CreationDateConditionRequest {
8290
8531
  */
8291
8532
  MaximumDaysSinceCreated?: number | undefined;
8292
8533
  }
8293
- /**
8294
- * <p>The maximum period since deprecation for allowed images.</p>
8295
- * @public
8296
- */
8297
- export interface DeprecationTimeConditionRequest {
8298
- /**
8299
- * <p>The maximum number of days that have elapsed since the image was deprecated. Set to
8300
- * <code>0</code> to exclude all deprecated images.</p>
8301
- * @public
8302
- */
8303
- MaximumDaysSinceDeprecated?: number | undefined;
8304
- }
8305
- /**
8306
- * <p>The watermark filter criteria for an allowed image. Each entry can specify one or more
8307
- * fields. All specified fields must match the same watermark on the image.</p>
8308
- * @public
8309
- */
8310
- export interface ImageWatermarkFilterRequest {
8311
- /**
8312
- * <p>The <code>accountId:name</code> of the watermark. Supports wildcards (<code>*</code>,
8313
- * <code>?</code>).</p>
8314
- * @public
8315
- */
8316
- WatermarkKey?: string | undefined;
8317
- /**
8318
- * <p>The Region where the watermark was originally created. Supports wildcards (<code>*</code>,
8319
- * <code>?</code>).</p>
8320
- * @public
8321
- */
8322
- SourceImageRegion?: string | undefined;
8323
- /**
8324
- * <p>The maximum number of days that have elapsed since the source image was
8325
- * created.</p>
8326
- * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
8327
- * @public
8328
- */
8329
- MaximumDaysSinceSourceImageCreated?: number | undefined;
8330
- /**
8331
- * <p>The maximum number of days that have elapsed since the watermark was attached to the
8332
- * image.</p>
8333
- * <p>Constraints: Minimum value of 0. Maximum value of 2147483647.</p>
8334
- * @public
8335
- */
8336
- MaximumDaysSinceWatermarkCreated?: number | undefined;
8337
- }
8338
- /**
8339
- * <p>The criteria that are evaluated to determine which AMIs are discoverable and usable in
8340
- * your account for the specified Amazon Web Services Region.</p>
8341
- * <p>The <code>ImageCriteria</code> can include up to:</p>
8342
- * <ul>
8343
- * <li>
8344
- * <p>10 <code>ImageCriterion</code>
8345
- * </p>
8346
- * </li>
8347
- * </ul>
8348
- * <p>Each <code>ImageCriterion</code> can include up to:</p>
8349
- * <ul>
8350
- * <li>
8351
- * <p>200 values for <code>ImageProviders</code>
8352
- * </p>
8353
- * </li>
8354
- * <li>
8355
- * <p>50 values for <code>ImageNames</code>
8356
- * </p>
8357
- * </li>
8358
- * <li>
8359
- * <p>50 values for <code>MarketplaceProductCodes</code>
8360
- * </p>
8361
- * </li>
8362
- * <li>
8363
- * <p>50 values for <code>ImageWatermarks</code>
8364
- * </p>
8365
- * </li>
8366
- * </ul>
8367
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works">How Allowed AMIs
8368
- * works</a> in the <i>Amazon EC2 User Guide</i>.</p>
8369
- * @public
8370
- */
8371
- export interface ImageCriterionRequest {
8372
- /**
8373
- * <p>The image providers whose images are allowed.</p>
8374
- * <p>Possible values:</p>
8375
- * <ul>
8376
- * <li>
8377
- * <p>
8378
- * <code>amazon</code>: Allow AMIs created by Amazon or verified providers.</p>
8379
- * </li>
8380
- * <li>
8381
- * <p>
8382
- * <code>aws-marketplace</code>: Allow AMIs created by verified providers in the Amazon Web Services
8383
- * Marketplace.</p>
8384
- * </li>
8385
- * <li>
8386
- * <p>
8387
- * <code>aws-backup-vault</code>: Allow AMIs created by Amazon Web Services Backup. </p>
8388
- * </li>
8389
- * <li>
8390
- * <p>12-digit account ID: Allow AMIs created by the specified accounts. One or more account IDs can be
8391
- * specified.</p>
8392
- * </li>
8393
- * <li>
8394
- * <p>
8395
- * <code>none</code>: Allow AMIs created by your own account only. When <code>none</code> is
8396
- * specified, no other values can be specified.</p>
8397
- * </li>
8398
- * </ul>
8399
- * <p>Maximum: 200 values</p>
8400
- * @public
8401
- */
8402
- ImageProviders?: string[] | undefined;
8403
- /**
8404
- * <p>The Amazon Web Services Marketplace product codes for allowed images.</p>
8405
- * <p>Length: 1-25 characters</p>
8406
- * <p>Valid characters: Letters (<code>A–Z, a–z</code>) and numbers (<code>0–9</code>)</p>
8407
- * <p>Maximum: 50 values</p>
8408
- * @public
8409
- */
8410
- MarketplaceProductCodes?: string[] | undefined;
8411
- /**
8412
- * <p>The names of allowed images. Names can include wildcards (<code>?</code> and
8413
- * <code>*</code>).</p>
8414
- * <p>Length: 1–128 characters. With <code>?</code>, the minimum is 3 characters.</p>
8415
- * <p>Valid characters:</p>
8416
- * <ul>
8417
- * <li>
8418
- * <p>Letters: <code>A–Z, a–z</code>
8419
- * </p>
8420
- * </li>
8421
- * <li>
8422
- * <p>Numbers: <code>0–9</code>
8423
- * </p>
8424
- * </li>
8425
- * <li>
8426
- * <p>Special characters: <code>( ) [ ] . / - ' @ _ * ?</code>
8427
- * </p>
8428
- * </li>
8429
- * <li>
8430
- * <p>Spaces</p>
8431
- * </li>
8432
- * </ul>
8433
- * <p>Maximum: 50 values</p>
8434
- * @public
8435
- */
8436
- ImageNames?: string[] | undefined;
8437
- /**
8438
- * <p>The maximum period since deprecation for allowed images.</p>
8439
- * @public
8440
- */
8441
- DeprecationTimeCondition?: DeprecationTimeConditionRequest | undefined;
8442
- /**
8443
- * <p>The maximum age for allowed images.</p>
8444
- * @public
8445
- */
8446
- CreationDateCondition?: CreationDateConditionRequest | undefined;
8447
- /**
8448
- * <p>The watermark criteria that an AMI must match to be allowed. An AMI is allowed if it
8449
- * carries at least one watermark that satisfies an ImageWatermarkFilter. A watermark satisfies a
8450
- * filter when all specified fields in the ImageWatermarkFilter match the corresponding values on
8451
- * the watermark of the AMI.</p>
8452
- * <p>Maximum: 50 values</p>
8453
- * @public
8454
- */
8455
- ImageWatermarks?: ImageWatermarkFilterRequest[] | undefined;
8456
- }
8457
- /**
8458
- * @public
8459
- */
8460
- export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
8461
- /**
8462
- * <p>The list of criteria that are evaluated to determine whether AMIs are discoverable and
8463
- * usable in the account in the specified Amazon Web Services Region.</p>
8464
- * @public
8465
- */
8466
- ImageCriteria?: ImageCriterionRequest[] | undefined;
8467
- /**
8468
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8469
- * and provides an error response. If you have the required permissions, the error response is
8470
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8471
- * @public
8472
- */
8473
- DryRun?: boolean | undefined;
8474
- }
8475
- /**
8476
- * @public
8477
- */
8478
- export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
8479
- /**
8480
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8481
- * @public
8482
- */
8483
- ReturnValue?: boolean | undefined;
8484
- }
8485
- /**
8486
- * <p>The instance type specification for an AMI, which contains lists of supported and
8487
- * unsupported instance types that define which instance types are compatible with the AMI.</p>
8488
- * @public
8489
- */
8490
- export interface InstanceTypeSpecificationRequest {
8491
- /**
8492
- * <p>The instance types that the AMI supports. You can specify instance type names or use
8493
- * wildcard patterns (for example, <code>t3.*</code>).</p>
8494
- * <p>Constraints: Maximum 100 entries. Each entry must be 1-24 characters and match the pattern
8495
- * <code>^[A-Za-z0-9_.*-]+$</code>. Consecutive wildcard characters (<code>**</code>) are not
8496
- * allowed. Entries must be unique within each list and across both lists; duplicate entries cause the request to fail.</p>
8497
- * @public
8498
- */
8499
- SupportedInstanceTypes?: string[] | undefined;
8500
- /**
8501
- * <p>The instance types that the AMI does not support. You can specify instance type names or
8502
- * use wildcard patterns (for example, <code>t3.*</code>).</p>
8503
- * <p>Constraints: Maximum 100 entries. Each entry must be 1-24 characters and match the pattern
8504
- * <code>^[A-Za-z0-9_.*-]+$</code>. Consecutive wildcard characters (<code>**</code>) are not
8505
- * allowed. Entries must be unique within each list and across both lists; duplicate entries cause the request to fail.</p>
8506
- * @public
8507
- */
8508
- UnsupportedInstanceTypes?: string[] | undefined;
8509
- }
8510
- /**
8511
- * @public
8512
- */
8513
- export interface ReplaceImageInstanceTypeSpecificationRequest {
8514
- /**
8515
- * <p>The ID of the AMI.</p>
8516
- * @public
8517
- */
8518
- ImageId: string | undefined;
8519
- /**
8520
- * <p>The instance type specification to set on the AMI. Omit this parameter to remove the
8521
- * existing instance type specification.</p>
8522
- * @public
8523
- */
8524
- InstanceTypeSpecification?: InstanceTypeSpecificationRequest | undefined;
8525
- /**
8526
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8527
- * and provides an error response. If you have the required permissions, the error response is
8528
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8529
- * @public
8530
- */
8531
- DryRun?: boolean | undefined;
8532
- }
8533
- /**
8534
- * @public
8535
- */
8536
- export interface ReplaceImageInstanceTypeSpecificationResult {
8537
- /**
8538
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8539
- * @public
8540
- */
8541
- ReturnValue?: boolean | undefined;
8542
- }
8543
- /**
8544
- * @public
8545
- */
8546
- export interface ReplaceNetworkAclAssociationRequest {
8547
- /**
8548
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8549
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8550
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8551
- * @public
8552
- */
8553
- DryRun?: boolean | undefined;
8554
- /**
8555
- * <p>The ID of the current association between the original network ACL and the subnet.</p>
8556
- * @public
8557
- */
8558
- AssociationId: string | undefined;
8559
- /**
8560
- * <p>The ID of the new network ACL to associate with the subnet.</p>
8561
- * @public
8562
- */
8563
- NetworkAclId: string | undefined;
8564
- }
8565
- /**
8566
- * @public
8567
- */
8568
- export interface ReplaceNetworkAclAssociationResult {
8569
- /**
8570
- * <p>The ID of the new association.</p>
8571
- * @public
8572
- */
8573
- NewAssociationId?: string | undefined;
8574
- }