@aws-sdk/client-ec2 3.1032.0 → 3.1033.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 (126) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/endpoint/bdd.js +52 -0
  3. package/dist-cjs/endpoint/endpointResolver.js +2 -2
  4. package/dist-cjs/index.js +53 -0
  5. package/dist-cjs/schemas/schemas_0.js +183 -85
  6. package/dist-es/EC2.js +6 -0
  7. package/dist-es/commands/AcceptTransitGatewayClientVpnAttachmentCommand.js +16 -0
  8. package/dist-es/commands/DeleteTransitGatewayClientVpnAttachmentCommand.js +16 -0
  9. package/dist-es/commands/RejectTransitGatewayClientVpnAttachmentCommand.js +16 -0
  10. package/dist-es/commands/index.js +3 -0
  11. package/dist-es/endpoint/bdd.js +49 -0
  12. package/dist-es/endpoint/endpointResolver.js +3 -3
  13. package/dist-es/models/enums.js +10 -0
  14. package/dist-es/schemas/schemas_0.js +120 -22
  15. package/dist-types/EC2.d.ts +21 -0
  16. package/dist-types/EC2Client.d.ts +5 -2
  17. package/dist-types/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
  18. package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  19. package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +3 -1
  20. package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  21. package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  22. package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +10 -1
  24. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -4
  28. package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -1
  32. package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
  34. package/dist-types/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
  35. package/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +2 -2
  36. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +11 -1
  39. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -0
  40. package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +6 -0
  41. package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeTagsCommand.d.ts +2 -1
  45. package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -2
  48. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  49. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  50. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  53. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  54. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +2 -1
  55. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  56. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  57. package/dist-types/commands/GetTransitGatewayMeteringPolicyEntriesCommand.d.ts +2 -2
  58. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  59. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  60. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  61. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
  62. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +9 -0
  64. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  67. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  69. package/dist-types/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
  70. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  71. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
  73. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  74. package/dist-types/commands/index.d.ts +3 -0
  75. package/dist-types/endpoint/bdd.d.ts +2 -0
  76. package/dist-types/models/enums.d.ts +18 -0
  77. package/dist-types/models/models_0.d.ts +106 -181
  78. package/dist-types/models/models_1.d.ts +179 -119
  79. package/dist-types/models/models_2.d.ts +119 -56
  80. package/dist-types/models/models_3.d.ts +126 -205
  81. package/dist-types/models/models_4.d.ts +208 -266
  82. package/dist-types/models/models_5.d.ts +267 -292
  83. package/dist-types/models/models_6.d.ts +295 -238
  84. package/dist-types/models/models_7.d.ts +263 -3
  85. package/dist-types/schemas/schemas_0.d.ts +12 -0
  86. package/dist-types/ts3.4/EC2.d.ts +69 -0
  87. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  88. package/dist-types/ts3.4/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -4
  92. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
  94. package/dist-types/ts3.4/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +4 -2
  102. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +2 -4
  103. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  111. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  112. package/dist-types/ts3.4/models/enums.d.ts +12 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +30 -36
  114. package/dist-types/ts3.4/models/models_1.d.ts +33 -33
  115. package/dist-types/ts3.4/models/models_2.d.ts +31 -15
  116. package/dist-types/ts3.4/models/models_3.d.ts +36 -33
  117. package/dist-types/ts3.4/models/models_4.d.ts +36 -44
  118. package/dist-types/ts3.4/models/models_5.d.ts +43 -48
  119. package/dist-types/ts3.4/models/models_6.d.ts +52 -51
  120. package/dist-types/ts3.4/models/models_7.d.ts +61 -0
  121. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  122. package/package.json +5 -5
  123. package/dist-cjs/endpoint/ruleset.js +0 -7
  124. package/dist-es/endpoint/ruleset.js +0 -4
  125. package/dist-types/endpoint/ruleset.d.ts +0 -2
  126. package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
@@ -59,7 +59,7 @@ declare const SearchTransitGatewayMulticastGroupsCommand_base: {
59
59
  * // TransitGatewayAttachmentId: "STRING_VALUE",
60
60
  * // SubnetId: "STRING_VALUE",
61
61
  * // ResourceId: "STRING_VALUE",
62
- * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
62
+ * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
63
63
  * // ResourceOwnerId: "STRING_VALUE",
64
64
  * // NetworkInterfaceId: "STRING_VALUE",
65
65
  * // GroupMember: true || false,
@@ -62,7 +62,7 @@ declare const SearchTransitGatewayRoutesCommand_base: {
62
62
  * // { // TransitGatewayRouteAttachment
63
63
  * // ResourceId: "STRING_VALUE",
64
64
  * // TransitGatewayAttachmentId: "STRING_VALUE",
65
- * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function",
65
+ * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
66
66
  * // },
67
67
  * // ],
68
68
  * // Type: "static" || "propagated",
@@ -1,6 +1,7 @@
1
1
  export * from "./AcceptAddressTransferCommand";
2
2
  export * from "./AcceptCapacityReservationBillingOwnershipCommand";
3
3
  export * from "./AcceptReservedInstancesExchangeQuoteCommand";
4
+ export * from "./AcceptTransitGatewayClientVpnAttachmentCommand";
4
5
  export * from "./AcceptTransitGatewayMulticastDomainAssociationsCommand";
5
6
  export * from "./AcceptTransitGatewayPeeringAttachmentCommand";
6
7
  export * from "./AcceptTransitGatewayVpcAttachmentCommand";
@@ -226,6 +227,7 @@ export * from "./DeleteTrafficMirrorFilterCommand";
226
227
  export * from "./DeleteTrafficMirrorFilterRuleCommand";
227
228
  export * from "./DeleteTrafficMirrorSessionCommand";
228
229
  export * from "./DeleteTrafficMirrorTargetCommand";
230
+ export * from "./DeleteTransitGatewayClientVpnAttachmentCommand";
229
231
  export * from "./DeleteTransitGatewayCommand";
230
232
  export * from "./DeleteTransitGatewayConnectCommand";
231
233
  export * from "./DeleteTransitGatewayConnectPeerCommand";
@@ -696,6 +698,7 @@ export * from "./RegisterInstanceEventNotificationAttributesCommand";
696
698
  export * from "./RegisterTransitGatewayMulticastGroupMembersCommand";
697
699
  export * from "./RegisterTransitGatewayMulticastGroupSourcesCommand";
698
700
  export * from "./RejectCapacityReservationBillingOwnershipCommand";
701
+ export * from "./RejectTransitGatewayClientVpnAttachmentCommand";
699
702
  export * from "./RejectTransitGatewayMulticastDomainAssociationsCommand";
700
703
  export * from "./RejectTransitGatewayPeeringAttachmentCommand";
701
704
  export * from "./RejectTransitGatewayVpcAttachmentCommand";
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -186,11 +186,28 @@ export declare const AddressTransferStatus: {
186
186
  * @public
187
187
  */
188
188
  export type AddressTransferStatus = (typeof AddressTransferStatus)[keyof typeof AddressTransferStatus];
189
+ /**
190
+ * @public
191
+ * @enum
192
+ */
193
+ export declare const TransitGatewayAttachmentStatusType: {
194
+ readonly available: "available";
195
+ readonly deleted: "deleted";
196
+ readonly deleting: "deleting";
197
+ readonly pending: "pending";
198
+ readonly pending_acceptance: "pending-acceptance";
199
+ readonly rejected: "rejected";
200
+ };
201
+ /**
202
+ * @public
203
+ */
204
+ export type TransitGatewayAttachmentStatusType = (typeof TransitGatewayAttachmentStatusType)[keyof typeof TransitGatewayAttachmentStatusType];
189
205
  /**
190
206
  * @public
191
207
  * @enum
192
208
  */
193
209
  export declare const TransitGatewayAttachmentResourceType: {
210
+ readonly client_vpn: "client-vpn";
194
211
  readonly connect: "connect";
195
212
  readonly direct_connect_gateway: "direct-connect-gateway";
196
213
  readonly network_function: "network-function";
@@ -2600,6 +2617,7 @@ export declare const ClientVpnEndpointStatusCode: {
2600
2617
  readonly available: "available";
2601
2618
  readonly deleted: "deleted";
2602
2619
  readonly deleting: "deleting";
2620
+ readonly pending: "pending";
2603
2621
  readonly pending_associate: "pending-associate";
2604
2622
  };
2605
2623
  /**
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, AddressTransferStatus, AllocationType, ApplianceModeSupportValue, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BlockPublicAccessMode, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatusCode, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, EndpointIpAddressType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, HostMaintenance, HostnameType, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, ListingState, ListingStatus, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, NatGatewayAddressStatus, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, SelfServicePortal, ServiceManaged, SSEType, SubnetCidrBlockStateCode, SubnetState, Tenancy, TrafficIpAddressType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulitcastDomainAssociationState, TransportProtocol, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcPeeringConnectionStateReasonCode, VpcState, VpnTunnelProvisioningStatus, WeekDay } from "./enums";
1
+ import type { _InstanceType, AddressTransferStatus, AllocationType, ApplianceModeSupportValue, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BlockPublicAccessMode, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatusCode, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, EndpointIpAddressType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, HostMaintenance, HostnameType, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, ListingState, ListingStatus, NatGatewayAddressStatus, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, SelfServicePortal, ServiceManaged, SSEType, SubnetCidrBlockStateCode, SubnetState, Tenancy, TrafficIpAddressType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayAttachmentStatusType, TransitGatewayMulitcastDomainAssociationState, TransportProtocol, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcPeeringConnectionStateReasonCode, VpcState, VpnTunnelProvisioningStatus, WeekDay } from "./enums";
2
2
  /**
3
3
  * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips)
4
4
  * on an instance.</p>
@@ -268,6 +268,67 @@ export interface AcceptReservedInstancesExchangeQuoteResult {
268
268
  */
269
269
  ExchangeId?: string | undefined;
270
270
  }
271
+ /**
272
+ * @public
273
+ */
274
+ export interface AcceptTransitGatewayClientVpnAttachmentRequest {
275
+ /**
276
+ * <p>The ID of the Transit Gateway attachment.</p>
277
+ * @public
278
+ */
279
+ TransitGatewayAttachmentId: string | undefined;
280
+ /**
281
+ * <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>
282
+ * @public
283
+ */
284
+ DryRun?: boolean | undefined;
285
+ }
286
+ /**
287
+ * <p>Describes a Transit Gateway attachment for a Client VPN endpoint.</p>
288
+ * @public
289
+ */
290
+ export interface TransitGatewayClientVpnAttachment {
291
+ /**
292
+ * <p>The ID of the Transit Gateway attachment.</p>
293
+ * @public
294
+ */
295
+ TransitGatewayAttachmentId?: string | undefined;
296
+ /**
297
+ * <p>The ID of the Transit Gateway.</p>
298
+ * @public
299
+ */
300
+ TransitGatewayId?: string | undefined;
301
+ /**
302
+ * <p>The ID of the Client VPN endpoint.</p>
303
+ * @public
304
+ */
305
+ ClientVpnEndpointId?: string | undefined;
306
+ /**
307
+ * <p>The ID of the Amazon Web Services account that owns the Client VPN endpoint.</p>
308
+ * @public
309
+ */
310
+ ClientVpnOwnerId?: string | undefined;
311
+ /**
312
+ * <p>The state of the Transit Gateway attachment.</p>
313
+ * @public
314
+ */
315
+ State?: TransitGatewayAttachmentStatusType | undefined;
316
+ /**
317
+ * <p>The date and time the Transit Gateway attachment was created.</p>
318
+ * @public
319
+ */
320
+ CreationTime?: string | undefined;
321
+ }
322
+ /**
323
+ * @public
324
+ */
325
+ export interface AcceptTransitGatewayClientVpnAttachmentResult {
326
+ /**
327
+ * <p>Information about the Transit Gateway Client VPN attachment.</p>
328
+ * @public
329
+ */
330
+ TransitGatewayClientVpnAttachment?: TransitGatewayClientVpnAttachment | undefined;
331
+ }
271
332
  /**
272
333
  * @public
273
334
  */
@@ -3262,10 +3323,10 @@ export interface AssociateClientVpnTargetNetworkRequest {
3262
3323
  */
3263
3324
  ClientVpnEndpointId: string | undefined;
3264
3325
  /**
3265
- * <p>The ID of the subnet to associate with the Client VPN endpoint.</p>
3326
+ * <p>The ID of the subnet to associate with the Client VPN endpoint. Required for VPC-based endpoints. For Transit Gateway-based endpoints, use <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> instead.</p>
3266
3327
  * @public
3267
3328
  */
3268
- SubnetId: string | undefined;
3329
+ SubnetId?: string | undefined;
3269
3330
  /**
3270
3331
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
3271
3332
  * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
@@ -3277,6 +3338,16 @@ export interface AssociateClientVpnTargetNetworkRequest {
3277
3338
  * @public
3278
3339
  */
3279
3340
  DryRun?: boolean | undefined;
3341
+ /**
3342
+ * <p>The Availability Zone name for the Transit Gateway association. Required if when associating an Availability Zone with a Client VPN endpoint that uses a Transit Gateway. You cannot specify both <code>SubnetId</code> and <code>AvailabilityZone</code>.</p>
3343
+ * @public
3344
+ */
3345
+ AvailabilityZone?: string | undefined;
3346
+ /**
3347
+ * <p>The Availability Zone ID for the Transit Gateway association. Required if when associating an Availability Zone with a Client VPN endpoint that uses a Transit Gateway. You cannot specify both <code>AvailabilityZone</code> and <code>AvailabilityZoneId</code>.</p>
3348
+ * @public
3349
+ */
3350
+ AvailabilityZoneId?: string | undefined;
3280
3351
  }
3281
3352
  /**
3282
3353
  * <p>Describes the state of a target network association.</p>
@@ -8275,6 +8346,27 @@ export interface ConnectionLogOptions {
8275
8346
  */
8276
8347
  CloudwatchLogStream?: string | undefined;
8277
8348
  }
8349
+ /**
8350
+ * <p>The Transit Gateway configuration for a Client VPN endpoint.</p>
8351
+ * @public
8352
+ */
8353
+ export interface TransitGatewayConfigurationInputStructure {
8354
+ /**
8355
+ * <p>The ID of the Transit Gateway to associate with the Client VPN endpoint.</p>
8356
+ * @public
8357
+ */
8358
+ TransitGatewayId?: string | undefined;
8359
+ /**
8360
+ * <p>The Availability Zone names for the Transit Gateway association. You can specify up to the maximum number of Availability Zones supported by the Transit Gateway. You cannot specify both <code>AvailabilityZones</code> and <code>AvailabilityZoneIds</code>.</p>
8361
+ * @public
8362
+ */
8363
+ AvailabilityZones?: string[] | undefined;
8364
+ /**
8365
+ * <p>The Availability Zone IDs for the Transit Gateway association. You can specify up to the maximum number of Availability Zones supported by the Transit Gateway. You cannot specify both <code>AvailabilityZones</code> and <code>AvailabilityZoneIds</code>.</p>
8366
+ * @public
8367
+ */
8368
+ AvailabilityZoneIds?: string[] | undefined;
8369
+ }
8278
8370
  /**
8279
8371
  * @public
8280
8372
  */
@@ -8431,6 +8523,11 @@ export interface CreateClientVpnEndpointRequest {
8431
8523
  * @public
8432
8524
  */
8433
8525
  TrafficIpAddressType?: TrafficIpAddressType | undefined;
8526
+ /**
8527
+ * <p>The Transit Gateway configuration for the Client VPN endpoint. Use this parameter to associate the endpoint with a Transit Gateway instead of a VPC. You cannot specify both <code>TransitGatewayConfiguration</code> and <code>VpcId</code>/<code>SecurityGroupIds</code>.</p>
8528
+ * @public
8529
+ */
8530
+ TransitGatewayConfiguration?: TransitGatewayConfigurationInputStructure | undefined;
8434
8531
  }
8435
8532
  /**
8436
8533
  * <p>Describes the state of a Client VPN endpoint.</p>
@@ -8460,6 +8557,10 @@ export interface ClientVpnEndpointStatus {
8460
8557
  * <code>deleted</code> - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept
8461
8558
  * connections.</p>
8462
8559
  * </li>
8560
+ * <li>
8561
+ * <p>
8562
+ * <code>pending</code> - The Client VPN endpoint has been created with a Transit Gateway configuration and is waiting for the Transit Gateway attachment to be accepted. The Client VPN endpoint cannot accept connections.</p>
8563
+ * </li>
8463
8564
  * </ul>
8464
8565
  * @public
8465
8566
  */
@@ -8523,9 +8624,10 @@ export interface CreateClientVpnRouteRequest {
8523
8624
  * <p>The ID of the subnet through which you want to route traffic. The specified subnet must be
8524
8625
  * an existing target network of the Client VPN endpoint.</p>
8525
8626
  * <p>Alternatively, if you're adding a route for the local network, specify <code>local</code>.</p>
8627
+ * <p>This parameter is required for VPC-based Client VPN endpoints. For Transit Gateway-based endpoints, this parameter is not required.</p>
8526
8628
  * @public
8527
8629
  */
8528
- TargetVpcSubnetId: string | undefined;
8630
+ TargetVpcSubnetId?: string | undefined;
8529
8631
  /**
8530
8632
  * <p>A brief description of the route.</p>
8531
8633
  * @public
@@ -9279,180 +9381,3 @@ export interface CreateDefaultVpcResult {
9279
9381
  */
9280
9382
  Vpc?: Vpc | undefined;
9281
9383
  }
9282
- /**
9283
- * @public
9284
- */
9285
- export interface CreateDelegateMacVolumeOwnershipTaskRequest {
9286
- /**
9287
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
9288
- * @public
9289
- */
9290
- ClientToken?: string | undefined;
9291
- /**
9292
- * <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>
9293
- * @public
9294
- */
9295
- DryRun?: boolean | undefined;
9296
- /**
9297
- * <p>The ID of the Amazon EC2 Mac instance.</p>
9298
- * @public
9299
- */
9300
- InstanceId: string | undefined;
9301
- /**
9302
- * <p>Specifies the following credentials:</p>
9303
- * <ul>
9304
- * <li>
9305
- * <p>
9306
- * <b>Internal disk administrative user</b>
9307
- * </p>
9308
- * <ul>
9309
- * <li>
9310
- * <p>
9311
- * <b>Username</b> - Only the default administrative user
9312
- * (<code>aws-managed-user</code>) is supported and it is used by default. You can't
9313
- * specify a different administrative user.</p>
9314
- * </li>
9315
- * <li>
9316
- * <p>
9317
- * <b>Password</b> - If you did not change the default
9318
- * password for <code>aws-managed-user</code>, specify the default password, which is
9319
- * <i>blank</i>. Otherwise, specify your password.</p>
9320
- * </li>
9321
- * </ul>
9322
- * </li>
9323
- * <li>
9324
- * <p>
9325
- * <b>Amazon EBS root volume administrative user</b>
9326
- * </p>
9327
- * <ul>
9328
- * <li>
9329
- * <p>
9330
- * <b>Username</b> - If you did not change the default
9331
- * administrative user, specify <code>ec2-user</code>. Otherwise, specify the username
9332
- * for your administrative user.</p>
9333
- * </li>
9334
- * <li>
9335
- * <p>
9336
- * <b>Password</b> - Specify the password for the
9337
- * administrative user.</p>
9338
- * </li>
9339
- * </ul>
9340
- * </li>
9341
- * </ul>
9342
- * <p>The credentials must be specified in the following JSON format:</p>
9343
- * <p>
9344
- * <code>\{
9345
- * "internalDiskPassword":"<i>internal-disk-admin_password</i>",
9346
- * "rootVolumeUsername":"<i>root-volume-admin_username</i>",
9347
- * "rootVolumepassword":"<i>root-volume-admin_password</i>"
9348
- * \}</code>
9349
- * </p>
9350
- * @public
9351
- */
9352
- MacCredentials: string | undefined;
9353
- /**
9354
- * <p>The tags to assign to the volume ownership delegation task.</p>
9355
- * @public
9356
- */
9357
- TagSpecifications?: TagSpecification[] | undefined;
9358
- }
9359
- /**
9360
- * <p>Describes the configuration for a System Integrity Protection (SIP) modification task.</p>
9361
- * @public
9362
- */
9363
- export interface MacSystemIntegrityProtectionConfiguration {
9364
- /**
9365
- * <p>Indicates whether Apple Internal was enabled or disabled by the task.</p>
9366
- * @public
9367
- */
9368
- AppleInternal?: MacSystemIntegrityProtectionSettingStatus | undefined;
9369
- /**
9370
- * <p>Indicates whether Base System was enabled or disabled by the task.</p>
9371
- * @public
9372
- */
9373
- BaseSystem?: MacSystemIntegrityProtectionSettingStatus | undefined;
9374
- /**
9375
- * <p>Indicates whether Debugging Restrictions was enabled or disabled by the task.</p>
9376
- * @public
9377
- */
9378
- DebuggingRestrictions?: MacSystemIntegrityProtectionSettingStatus | undefined;
9379
- /**
9380
- * <p>Indicates whether Dtrace Restrictions was enabled or disabled by the task.</p>
9381
- * @public
9382
- */
9383
- DTraceRestrictions?: MacSystemIntegrityProtectionSettingStatus | undefined;
9384
- /**
9385
- * <p>Indicates whether Filesystem Protections was enabled or disabled by the task.</p>
9386
- * @public
9387
- */
9388
- FilesystemProtections?: MacSystemIntegrityProtectionSettingStatus | undefined;
9389
- /**
9390
- * <p>Indicates whether Kext Signing was enabled or disabled by the task.</p>
9391
- * @public
9392
- */
9393
- KextSigning?: MacSystemIntegrityProtectionSettingStatus | undefined;
9394
- /**
9395
- * <p>Indicates whether NVRAM Protections was enabled or disabled by the task.</p>
9396
- * @public
9397
- */
9398
- NvramProtections?: MacSystemIntegrityProtectionSettingStatus | undefined;
9399
- /**
9400
- * <p>Indicates SIP was enabled or disabled by the task.</p>
9401
- * @public
9402
- */
9403
- Status?: MacSystemIntegrityProtectionSettingStatus | undefined;
9404
- }
9405
- /**
9406
- * <p>Information about a System Integrity Protection (SIP) modification task or volume
9407
- * ownership delegation task for an Amazon EC2 Mac instance.</p>
9408
- * @public
9409
- */
9410
- export interface MacModificationTask {
9411
- /**
9412
- * <p>The ID of the Amazon EC2 Mac instance.</p>
9413
- * @public
9414
- */
9415
- InstanceId?: string | undefined;
9416
- /**
9417
- * <p>The ID of task.</p>
9418
- * @public
9419
- */
9420
- MacModificationTaskId?: string | undefined;
9421
- /**
9422
- * <p>[SIP modification tasks only] Information about the SIP
9423
- * configuration.</p>
9424
- * @public
9425
- */
9426
- MacSystemIntegrityProtectionConfig?: MacSystemIntegrityProtectionConfiguration | undefined;
9427
- /**
9428
- * <p>The date and time the task was created, in the UTC timezone
9429
- * (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
9430
- * @public
9431
- */
9432
- StartTime?: Date | undefined;
9433
- /**
9434
- * <p>The tags assigned to the task.</p>
9435
- * @public
9436
- */
9437
- Tags?: Tag[] | undefined;
9438
- /**
9439
- * <p>The state of the task.</p>
9440
- * @public
9441
- */
9442
- TaskState?: MacModificationTaskState | undefined;
9443
- /**
9444
- * <p>The type of task.</p>
9445
- * @public
9446
- */
9447
- TaskType?: MacModificationTaskType | undefined;
9448
- }
9449
- /**
9450
- * @public
9451
- */
9452
- export interface CreateDelegateMacVolumeOwnershipTaskResult {
9453
- /**
9454
- * <p>Information about the volume ownership delegation task.</p>
9455
- * @public
9456
- */
9457
- MacModificationTask?: MacModificationTask | undefined;
9458
- }