@aws-sdk/client-ec2 3.42.0 → 3.43.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostsCommand.js +1 -2
- package/dist-cjs/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeStoreImageTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
- package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -14
- package/dist-cjs/models/models_1.js +29 -26
- package/dist-cjs/models/models_2.js +27 -31
- package/dist-cjs/models/models_3.js +37 -36
- package/dist-cjs/models/models_4.js +36 -36
- package/dist-cjs/models/models_5.js +53 -5
- package/dist-cjs/protocols/Aws_ec2.js +235 -12
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-es/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-es/commands/DescribeHostsCommand.js +1 -2
- package/dist-es/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeStoreImageTasksCommand.js +1 -1
- package/dist-es/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
- package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -17
- package/dist-es/models/models_2.js +17 -19
- package/dist-es/models/models_3.js +23 -20
- package/dist-es/models/models_4.js +20 -20
- package/dist-es/models/models_5.js +32 -0
- package/dist-es/protocols/Aws_ec2.js +229 -0
- package/dist-types/EC2.d.ts +20 -12
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +35 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +99 -75
- package/dist-types/models/models_1.d.ts +127 -68
- package/dist-types/models/models_2.d.ts +120 -189
- package/dist-types/models/models_3.d.ts +195 -230
- package/dist-types/models/models_4.d.ts +236 -204
- package/dist-types/models/models_5.d.ts +310 -14
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -22
- package/dist-types/ts3.4/models/models_1.d.ts +62 -40
- package/dist-types/ts3.4/models/models_2.d.ts +38 -65
- package/dist-types/ts3.4/models/models_3.d.ts +84 -75
- package/dist-types/ts3.4/models/models_4.d.ts +76 -83
- package/dist-types/ts3.4/models/models_5.d.ts +129 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +2 -2
|
@@ -7,18 +7,18 @@ exports.serializeAws_ec2DescribeFleetsCommand = exports.serializeAws_ec2Describe
|
|
|
7
7
|
exports.serializeAws_ec2DescribeReservedInstancesModificationsCommand = exports.serializeAws_ec2DescribeReservedInstancesListingsCommand = exports.serializeAws_ec2DescribeReservedInstancesCommand = exports.serializeAws_ec2DescribeReplaceRootVolumeTasksCommand = exports.serializeAws_ec2DescribeRegionsCommand = exports.serializeAws_ec2DescribePublicIpv4PoolsCommand = exports.serializeAws_ec2DescribePrincipalIdFormatCommand = exports.serializeAws_ec2DescribePrefixListsCommand = exports.serializeAws_ec2DescribePlacementGroupsCommand = exports.serializeAws_ec2DescribeNetworkInterfacesCommand = exports.serializeAws_ec2DescribeNetworkInterfacePermissionsCommand = exports.serializeAws_ec2DescribeNetworkInterfaceAttributeCommand = exports.serializeAws_ec2DescribeNetworkInsightsPathsCommand = exports.serializeAws_ec2DescribeNetworkInsightsAnalysesCommand = exports.serializeAws_ec2DescribeNetworkAclsCommand = exports.serializeAws_ec2DescribeNatGatewaysCommand = exports.serializeAws_ec2DescribeMovingAddressesCommand = exports.serializeAws_ec2DescribeManagedPrefixListsCommand = exports.serializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand = exports.serializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsCommand = exports.serializeAws_ec2DescribeLocalGatewaysCommand = exports.serializeAws_ec2DescribeLocalGatewayRouteTableVpcAssociationsCommand = exports.serializeAws_ec2DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = exports.serializeAws_ec2DescribeLocalGatewayRouteTablesCommand = exports.serializeAws_ec2DescribeLaunchTemplateVersionsCommand = exports.serializeAws_ec2DescribeLaunchTemplatesCommand = exports.serializeAws_ec2DescribeKeyPairsCommand = exports.serializeAws_ec2DescribeIpv6PoolsCommand = exports.serializeAws_ec2DescribeInternetGatewaysCommand = exports.serializeAws_ec2DescribeInstanceTypesCommand = exports.serializeAws_ec2DescribeInstanceTypeOfferingsCommand = exports.serializeAws_ec2DescribeInstanceStatusCommand = exports.serializeAws_ec2DescribeInstancesCommand = exports.serializeAws_ec2DescribeInstanceEventWindowsCommand = exports.serializeAws_ec2DescribeInstanceEventNotificationAttributesCommand = exports.serializeAws_ec2DescribeInstanceCreditSpecificationsCommand = exports.serializeAws_ec2DescribeInstanceAttributeCommand = exports.serializeAws_ec2DescribeImportSnapshotTasksCommand = exports.serializeAws_ec2DescribeImportImageTasksCommand = exports.serializeAws_ec2DescribeImagesCommand = exports.serializeAws_ec2DescribeImageAttributeCommand = exports.serializeAws_ec2DescribeIdFormatCommand = exports.serializeAws_ec2DescribeIdentityIdFormatCommand = exports.serializeAws_ec2DescribeIamInstanceProfileAssociationsCommand = exports.serializeAws_ec2DescribeHostsCommand = exports.serializeAws_ec2DescribeHostReservationsCommand = exports.serializeAws_ec2DescribeHostReservationOfferingsCommand = exports.serializeAws_ec2DescribeFpgaImagesCommand = exports.serializeAws_ec2DescribeFpgaImageAttributeCommand = exports.serializeAws_ec2DescribeFlowLogsCommand = void 0;
|
|
8
8
|
exports.serializeAws_ec2DetachInternetGatewayCommand = exports.serializeAws_ec2DetachClassicLinkVpcCommand = exports.serializeAws_ec2DescribeVpnGatewaysCommand = exports.serializeAws_ec2DescribeVpnConnectionsCommand = exports.serializeAws_ec2DescribeVpcsCommand = exports.serializeAws_ec2DescribeVpcPeeringConnectionsCommand = exports.serializeAws_ec2DescribeVpcEndpointServicesCommand = exports.serializeAws_ec2DescribeVpcEndpointServicePermissionsCommand = exports.serializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand = exports.serializeAws_ec2DescribeVpcEndpointsCommand = exports.serializeAws_ec2DescribeVpcEndpointConnectionsCommand = exports.serializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand = exports.serializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand = exports.serializeAws_ec2DescribeVpcClassicLinkCommand = exports.serializeAws_ec2DescribeVpcAttributeCommand = exports.serializeAws_ec2DescribeVolumeStatusCommand = exports.serializeAws_ec2DescribeVolumesModificationsCommand = exports.serializeAws_ec2DescribeVolumesCommand = exports.serializeAws_ec2DescribeVolumeAttributeCommand = exports.serializeAws_ec2DescribeTrunkInterfaceAssociationsCommand = exports.serializeAws_ec2DescribeTransitGatewayVpcAttachmentsCommand = exports.serializeAws_ec2DescribeTransitGatewaysCommand = exports.serializeAws_ec2DescribeTransitGatewayRouteTablesCommand = exports.serializeAws_ec2DescribeTransitGatewayPeeringAttachmentsCommand = exports.serializeAws_ec2DescribeTransitGatewayMulticastDomainsCommand = exports.serializeAws_ec2DescribeTransitGatewayConnectsCommand = exports.serializeAws_ec2DescribeTransitGatewayConnectPeersCommand = exports.serializeAws_ec2DescribeTransitGatewayAttachmentsCommand = exports.serializeAws_ec2DescribeTrafficMirrorTargetsCommand = exports.serializeAws_ec2DescribeTrafficMirrorSessionsCommand = exports.serializeAws_ec2DescribeTrafficMirrorFiltersCommand = exports.serializeAws_ec2DescribeTagsCommand = exports.serializeAws_ec2DescribeSubnetsCommand = exports.serializeAws_ec2DescribeStoreImageTasksCommand = exports.serializeAws_ec2DescribeStaleSecurityGroupsCommand = exports.serializeAws_ec2DescribeSpotPriceHistoryCommand = exports.serializeAws_ec2DescribeSpotInstanceRequestsCommand = exports.serializeAws_ec2DescribeSpotFleetRequestsCommand = exports.serializeAws_ec2DescribeSpotFleetRequestHistoryCommand = exports.serializeAws_ec2DescribeSpotFleetInstancesCommand = exports.serializeAws_ec2DescribeSpotDatafeedSubscriptionCommand = exports.serializeAws_ec2DescribeSnapshotsCommand = exports.serializeAws_ec2DescribeSnapshotAttributeCommand = exports.serializeAws_ec2DescribeSecurityGroupsCommand = exports.serializeAws_ec2DescribeSecurityGroupRulesCommand = exports.serializeAws_ec2DescribeSecurityGroupReferencesCommand = exports.serializeAws_ec2DescribeScheduledInstancesCommand = exports.serializeAws_ec2DescribeScheduledInstanceAvailabilityCommand = exports.serializeAws_ec2DescribeRouteTablesCommand = exports.serializeAws_ec2DescribeReservedInstancesOfferingsCommand = void 0;
|
|
9
9
|
exports.serializeAws_ec2GetManagedPrefixListAssociationsCommand = exports.serializeAws_ec2GetLaunchTemplateDataCommand = exports.serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand = exports.serializeAws_ec2GetHostReservationPurchasePreviewCommand = exports.serializeAws_ec2GetGroupsForCapacityReservationCommand = exports.serializeAws_ec2GetFlowLogsIntegrationTemplateCommand = exports.serializeAws_ec2GetEbsEncryptionByDefaultCommand = exports.serializeAws_ec2GetEbsDefaultKmsKeyIdCommand = exports.serializeAws_ec2GetDefaultCreditSpecificationCommand = exports.serializeAws_ec2GetConsoleScreenshotCommand = exports.serializeAws_ec2GetConsoleOutputCommand = exports.serializeAws_ec2GetCoipPoolUsageCommand = exports.serializeAws_ec2GetCapacityReservationUsageCommand = exports.serializeAws_ec2GetAssociatedIpv6PoolCidrsCommand = exports.serializeAws_ec2GetAssociatedEnclaveCertificateIamRolesCommand = exports.serializeAws_ec2ExportTransitGatewayRoutesCommand = exports.serializeAws_ec2ExportImageCommand = exports.serializeAws_ec2ExportClientVpnClientConfigurationCommand = exports.serializeAws_ec2ExportClientVpnClientCertificateRevocationListCommand = exports.serializeAws_ec2EnableVpcClassicLinkDnsSupportCommand = exports.serializeAws_ec2EnableVpcClassicLinkCommand = exports.serializeAws_ec2EnableVolumeIOCommand = exports.serializeAws_ec2EnableVgwRoutePropagationCommand = exports.serializeAws_ec2EnableTransitGatewayRouteTablePropagationCommand = exports.serializeAws_ec2EnableSerialConsoleAccessCommand = exports.serializeAws_ec2EnableImageDeprecationCommand = exports.serializeAws_ec2EnableFastSnapshotRestoresCommand = exports.serializeAws_ec2EnableEbsEncryptionByDefaultCommand = exports.serializeAws_ec2DisassociateVpcCidrBlockCommand = exports.serializeAws_ec2DisassociateTrunkInterfaceCommand = exports.serializeAws_ec2DisassociateTransitGatewayRouteTableCommand = exports.serializeAws_ec2DisassociateTransitGatewayMulticastDomainCommand = exports.serializeAws_ec2DisassociateSubnetCidrBlockCommand = exports.serializeAws_ec2DisassociateRouteTableCommand = exports.serializeAws_ec2DisassociateInstanceEventWindowCommand = exports.serializeAws_ec2DisassociateIamInstanceProfileCommand = exports.serializeAws_ec2DisassociateEnclaveCertificateIamRoleCommand = exports.serializeAws_ec2DisassociateClientVpnTargetNetworkCommand = exports.serializeAws_ec2DisassociateAddressCommand = exports.serializeAws_ec2DisableVpcClassicLinkDnsSupportCommand = exports.serializeAws_ec2DisableVpcClassicLinkCommand = exports.serializeAws_ec2DisableVgwRoutePropagationCommand = exports.serializeAws_ec2DisableTransitGatewayRouteTablePropagationCommand = exports.serializeAws_ec2DisableSerialConsoleAccessCommand = exports.serializeAws_ec2DisableImageDeprecationCommand = exports.serializeAws_ec2DisableFastSnapshotRestoresCommand = exports.serializeAws_ec2DisableEbsEncryptionByDefaultCommand = exports.serializeAws_ec2DetachVpnGatewayCommand = exports.serializeAws_ec2DetachVolumeCommand = exports.serializeAws_ec2DetachNetworkInterfaceCommand = void 0;
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.deserializeAws_ec2WithdrawByoipCidrCommand = exports.deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand = exports.deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand = exports.deserializeAws_ec2UnmonitorInstancesCommand = exports.deserializeAws_ec2UnassignPrivateIpAddressesCommand = exports.deserializeAws_ec2UnassignIpv6AddressesCommand = exports.deserializeAws_ec2TerminateInstancesCommand = exports.deserializeAws_ec2TerminateClientVpnConnectionsCommand = exports.deserializeAws_ec2StopInstancesCommand = exports.deserializeAws_ec2StartVpcEndpointServicePrivateDnsVerificationCommand = exports.deserializeAws_ec2StartNetworkInsightsAnalysisCommand = exports.deserializeAws_ec2StartInstancesCommand = exports.deserializeAws_ec2SendDiagnosticInterruptCommand = exports.deserializeAws_ec2SearchTransitGatewayRoutesCommand = exports.deserializeAws_ec2SearchTransitGatewayMulticastGroupsCommand = exports.deserializeAws_ec2SearchLocalGatewayRoutesCommand = exports.deserializeAws_ec2RunScheduledInstancesCommand = exports.deserializeAws_ec2RunInstancesCommand = exports.deserializeAws_ec2RevokeSecurityGroupIngressCommand = exports.deserializeAws_ec2RevokeSecurityGroupEgressCommand = exports.deserializeAws_ec2RevokeClientVpnIngressCommand = exports.deserializeAws_ec2RestoreManagedPrefixListVersionCommand = exports.deserializeAws_ec2RestoreAddressToClassicCommand = exports.deserializeAws_ec2ResetSnapshotAttributeCommand = exports.deserializeAws_ec2ResetNetworkInterfaceAttributeCommand = exports.deserializeAws_ec2ResetInstanceAttributeCommand = exports.deserializeAws_ec2ResetImageAttributeCommand = exports.deserializeAws_ec2ResetFpgaImageAttributeCommand = exports.deserializeAws_ec2ResetEbsDefaultKmsKeyIdCommand = exports.deserializeAws_ec2ResetAddressAttributeCommand = exports.deserializeAws_ec2RequestSpotInstancesCommand = exports.deserializeAws_ec2RequestSpotFleetCommand = exports.deserializeAws_ec2ReportInstanceStatusCommand = exports.deserializeAws_ec2ReplaceTransitGatewayRouteCommand = exports.deserializeAws_ec2ReplaceRouteTableAssociationCommand = exports.deserializeAws_ec2ReplaceRouteCommand = exports.deserializeAws_ec2ReplaceNetworkAclEntryCommand = exports.deserializeAws_ec2ReplaceNetworkAclAssociationCommand = exports.deserializeAws_ec2ReplaceIamInstanceProfileAssociationCommand = exports.deserializeAws_ec2ReleaseHostsCommand = exports.deserializeAws_ec2ReleaseAddressCommand = exports.deserializeAws_ec2RejectVpcPeeringConnectionCommand = exports.deserializeAws_ec2RejectVpcEndpointConnectionsCommand = exports.deserializeAws_ec2RejectTransitGatewayVpcAttachmentCommand = exports.deserializeAws_ec2RejectTransitGatewayPeeringAttachmentCommand = exports.deserializeAws_ec2RejectTransitGatewayMulticastDomainAssociationsCommand = void 0;
|
|
10
|
+
exports.serializeAws_ec2ModifyTrafficMirrorFilterRuleCommand = exports.serializeAws_ec2ModifyTrafficMirrorFilterNetworkServicesCommand = exports.serializeAws_ec2ModifySubnetAttributeCommand = exports.serializeAws_ec2ModifySpotFleetRequestCommand = exports.serializeAws_ec2ModifySnapshotAttributeCommand = exports.serializeAws_ec2ModifySecurityGroupRulesCommand = exports.serializeAws_ec2ModifyReservedInstancesCommand = exports.serializeAws_ec2ModifyPrivateDnsNameOptionsCommand = exports.serializeAws_ec2ModifyNetworkInterfaceAttributeCommand = exports.serializeAws_ec2ModifyManagedPrefixListCommand = exports.serializeAws_ec2ModifyLaunchTemplateCommand = exports.serializeAws_ec2ModifyInstancePlacementCommand = exports.serializeAws_ec2ModifyInstanceMetadataOptionsCommand = exports.serializeAws_ec2ModifyInstanceEventWindowCommand = exports.serializeAws_ec2ModifyInstanceEventStartTimeCommand = exports.serializeAws_ec2ModifyInstanceCreditSpecificationCommand = exports.serializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand = exports.serializeAws_ec2ModifyInstanceAttributeCommand = exports.serializeAws_ec2ModifyImageAttributeCommand = exports.serializeAws_ec2ModifyIdFormatCommand = exports.serializeAws_ec2ModifyIdentityIdFormatCommand = exports.serializeAws_ec2ModifyHostsCommand = exports.serializeAws_ec2ModifyFpgaImageAttributeCommand = exports.serializeAws_ec2ModifyFleetCommand = exports.serializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand = exports.serializeAws_ec2ModifyDefaultCreditSpecificationCommand = exports.serializeAws_ec2ModifyClientVpnEndpointCommand = exports.serializeAws_ec2ModifyCapacityReservationFleetCommand = exports.serializeAws_ec2ModifyCapacityReservationCommand = exports.serializeAws_ec2ModifyAvailabilityZoneGroupCommand = exports.serializeAws_ec2ModifyAddressAttributeCommand = exports.serializeAws_ec2ImportVolumeCommand = exports.serializeAws_ec2ImportSnapshotCommand = exports.serializeAws_ec2ImportKeyPairCommand = exports.serializeAws_ec2ImportInstanceCommand = exports.serializeAws_ec2ImportImageCommand = exports.serializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand = exports.serializeAws_ec2GetVpnConnectionDeviceTypesCommand = exports.serializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommand = exports.serializeAws_ec2GetTransitGatewayRouteTablePropagationsCommand = exports.serializeAws_ec2GetTransitGatewayRouteTableAssociationsCommand = exports.serializeAws_ec2GetTransitGatewayPrefixListReferencesCommand = exports.serializeAws_ec2GetTransitGatewayMulticastDomainAssociationsCommand = exports.serializeAws_ec2GetTransitGatewayAttachmentPropagationsCommand = exports.serializeAws_ec2GetSubnetCidrReservationsCommand = exports.serializeAws_ec2GetSpotPlacementScoresCommand = exports.serializeAws_ec2GetSerialConsoleAccessStatusCommand = exports.serializeAws_ec2GetReservedInstancesExchangeQuoteCommand = exports.serializeAws_ec2GetPasswordDataCommand = exports.serializeAws_ec2GetManagedPrefixListEntriesCommand = void 0;
|
|
11
|
+
exports.serializeAws_ec2ResetNetworkInterfaceAttributeCommand = exports.serializeAws_ec2ResetInstanceAttributeCommand = exports.serializeAws_ec2ResetImageAttributeCommand = exports.serializeAws_ec2ResetFpgaImageAttributeCommand = exports.serializeAws_ec2ResetEbsDefaultKmsKeyIdCommand = exports.serializeAws_ec2ResetAddressAttributeCommand = exports.serializeAws_ec2RequestSpotInstancesCommand = exports.serializeAws_ec2RequestSpotFleetCommand = exports.serializeAws_ec2ReportInstanceStatusCommand = exports.serializeAws_ec2ReplaceTransitGatewayRouteCommand = exports.serializeAws_ec2ReplaceRouteTableAssociationCommand = exports.serializeAws_ec2ReplaceRouteCommand = exports.serializeAws_ec2ReplaceNetworkAclEntryCommand = exports.serializeAws_ec2ReplaceNetworkAclAssociationCommand = exports.serializeAws_ec2ReplaceIamInstanceProfileAssociationCommand = exports.serializeAws_ec2ReleaseHostsCommand = exports.serializeAws_ec2ReleaseAddressCommand = exports.serializeAws_ec2RejectVpcPeeringConnectionCommand = exports.serializeAws_ec2RejectVpcEndpointConnectionsCommand = exports.serializeAws_ec2RejectTransitGatewayVpcAttachmentCommand = exports.serializeAws_ec2RejectTransitGatewayPeeringAttachmentCommand = exports.serializeAws_ec2RejectTransitGatewayMulticastDomainAssociationsCommand = exports.serializeAws_ec2RegisterTransitGatewayMulticastGroupSourcesCommand = exports.serializeAws_ec2RegisterTransitGatewayMulticastGroupMembersCommand = exports.serializeAws_ec2RegisterInstanceEventNotificationAttributesCommand = exports.serializeAws_ec2RegisterImageCommand = exports.serializeAws_ec2RebootInstancesCommand = exports.serializeAws_ec2PurchaseScheduledInstancesCommand = exports.serializeAws_ec2PurchaseReservedInstancesOfferingCommand = exports.serializeAws_ec2PurchaseHostReservationCommand = exports.serializeAws_ec2ProvisionByoipCidrCommand = exports.serializeAws_ec2MoveAddressToVpcCommand = exports.serializeAws_ec2MonitorInstancesCommand = exports.serializeAws_ec2ModifyVpnTunnelOptionsCommand = exports.serializeAws_ec2ModifyVpnTunnelCertificateCommand = exports.serializeAws_ec2ModifyVpnConnectionOptionsCommand = exports.serializeAws_ec2ModifyVpnConnectionCommand = exports.serializeAws_ec2ModifyVpcTenancyCommand = exports.serializeAws_ec2ModifyVpcPeeringConnectionOptionsCommand = exports.serializeAws_ec2ModifyVpcEndpointServicePermissionsCommand = exports.serializeAws_ec2ModifyVpcEndpointServiceConfigurationCommand = exports.serializeAws_ec2ModifyVpcEndpointConnectionNotificationCommand = exports.serializeAws_ec2ModifyVpcEndpointCommand = exports.serializeAws_ec2ModifyVpcAttributeCommand = exports.serializeAws_ec2ModifyVolumeAttributeCommand = exports.serializeAws_ec2ModifyVolumeCommand = exports.serializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand = exports.serializeAws_ec2ModifyTransitGatewayPrefixListReferenceCommand = exports.serializeAws_ec2ModifyTransitGatewayCommand = exports.serializeAws_ec2ModifyTrafficMirrorSessionCommand = void 0;
|
|
12
|
+
exports.deserializeAws_ec2AttachInternetGatewayCommand = exports.deserializeAws_ec2AttachClassicLinkVpcCommand = exports.deserializeAws_ec2AssociateVpcCidrBlockCommand = exports.deserializeAws_ec2AssociateTrunkInterfaceCommand = exports.deserializeAws_ec2AssociateTransitGatewayRouteTableCommand = exports.deserializeAws_ec2AssociateTransitGatewayMulticastDomainCommand = exports.deserializeAws_ec2AssociateSubnetCidrBlockCommand = exports.deserializeAws_ec2AssociateRouteTableCommand = exports.deserializeAws_ec2AssociateInstanceEventWindowCommand = exports.deserializeAws_ec2AssociateIamInstanceProfileCommand = exports.deserializeAws_ec2AssociateEnclaveCertificateIamRoleCommand = exports.deserializeAws_ec2AssociateDhcpOptionsCommand = exports.deserializeAws_ec2AssociateClientVpnTargetNetworkCommand = exports.deserializeAws_ec2AssociateAddressCommand = exports.deserializeAws_ec2AssignPrivateIpAddressesCommand = exports.deserializeAws_ec2AssignIpv6AddressesCommand = exports.deserializeAws_ec2ApplySecurityGroupsToClientVpnTargetNetworkCommand = exports.deserializeAws_ec2AllocateHostsCommand = exports.deserializeAws_ec2AllocateAddressCommand = exports.deserializeAws_ec2AdvertiseByoipCidrCommand = exports.deserializeAws_ec2AcceptVpcPeeringConnectionCommand = exports.deserializeAws_ec2AcceptVpcEndpointConnectionsCommand = exports.deserializeAws_ec2AcceptTransitGatewayVpcAttachmentCommand = exports.deserializeAws_ec2AcceptTransitGatewayPeeringAttachmentCommand = exports.deserializeAws_ec2AcceptTransitGatewayMulticastDomainAssociationsCommand = exports.deserializeAws_ec2AcceptReservedInstancesExchangeQuoteCommand = exports.serializeAws_ec2WithdrawByoipCidrCommand = exports.serializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand = exports.serializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand = exports.serializeAws_ec2UnmonitorInstancesCommand = exports.serializeAws_ec2UnassignPrivateIpAddressesCommand = exports.serializeAws_ec2UnassignIpv6AddressesCommand = exports.serializeAws_ec2TerminateInstancesCommand = exports.serializeAws_ec2TerminateClientVpnConnectionsCommand = exports.serializeAws_ec2StopInstancesCommand = exports.serializeAws_ec2StartVpcEndpointServicePrivateDnsVerificationCommand = exports.serializeAws_ec2StartNetworkInsightsAnalysisCommand = exports.serializeAws_ec2StartInstancesCommand = exports.serializeAws_ec2SendDiagnosticInterruptCommand = exports.serializeAws_ec2SearchTransitGatewayRoutesCommand = exports.serializeAws_ec2SearchTransitGatewayMulticastGroupsCommand = exports.serializeAws_ec2SearchLocalGatewayRoutesCommand = exports.serializeAws_ec2RunScheduledInstancesCommand = exports.serializeAws_ec2RunInstancesCommand = exports.serializeAws_ec2RevokeSecurityGroupIngressCommand = exports.serializeAws_ec2RevokeSecurityGroupEgressCommand = exports.serializeAws_ec2RevokeClientVpnIngressCommand = exports.serializeAws_ec2RestoreManagedPrefixListVersionCommand = exports.serializeAws_ec2RestoreAddressToClassicCommand = exports.serializeAws_ec2ResetSnapshotAttributeCommand = void 0;
|
|
13
|
+
exports.deserializeAws_ec2CreatePlacementGroupCommand = exports.deserializeAws_ec2CreateNetworkInterfacePermissionCommand = exports.deserializeAws_ec2CreateNetworkInterfaceCommand = exports.deserializeAws_ec2CreateNetworkInsightsPathCommand = exports.deserializeAws_ec2CreateNetworkAclEntryCommand = exports.deserializeAws_ec2CreateNetworkAclCommand = exports.deserializeAws_ec2CreateNatGatewayCommand = exports.deserializeAws_ec2CreateManagedPrefixListCommand = exports.deserializeAws_ec2CreateLocalGatewayRouteTableVpcAssociationCommand = exports.deserializeAws_ec2CreateLocalGatewayRouteCommand = exports.deserializeAws_ec2CreateLaunchTemplateVersionCommand = exports.deserializeAws_ec2CreateLaunchTemplateCommand = exports.deserializeAws_ec2CreateKeyPairCommand = exports.deserializeAws_ec2CreateInternetGatewayCommand = exports.deserializeAws_ec2CreateInstanceExportTaskCommand = exports.deserializeAws_ec2CreateInstanceEventWindowCommand = exports.deserializeAws_ec2CreateImageCommand = exports.deserializeAws_ec2CreateFpgaImageCommand = exports.deserializeAws_ec2CreateFlowLogsCommand = exports.deserializeAws_ec2CreateFleetCommand = exports.deserializeAws_ec2CreateEgressOnlyInternetGatewayCommand = exports.deserializeAws_ec2CreateDhcpOptionsCommand = exports.deserializeAws_ec2CreateDefaultVpcCommand = exports.deserializeAws_ec2CreateDefaultSubnetCommand = exports.deserializeAws_ec2CreateCustomerGatewayCommand = exports.deserializeAws_ec2CreateClientVpnRouteCommand = exports.deserializeAws_ec2CreateClientVpnEndpointCommand = exports.deserializeAws_ec2CreateCarrierGatewayCommand = exports.deserializeAws_ec2CreateCapacityReservationFleetCommand = exports.deserializeAws_ec2CreateCapacityReservationCommand = exports.deserializeAws_ec2CopySnapshotCommand = exports.deserializeAws_ec2CopyImageCommand = exports.deserializeAws_ec2CopyFpgaImageCommand = exports.deserializeAws_ec2ConfirmProductInstanceCommand = exports.deserializeAws_ec2CancelSpotInstanceRequestsCommand = exports.deserializeAws_ec2CancelSpotFleetRequestsCommand = exports.deserializeAws_ec2CancelReservedInstancesListingCommand = exports.deserializeAws_ec2CancelImportTaskCommand = exports.deserializeAws_ec2CancelExportTaskCommand = exports.deserializeAws_ec2CancelConversionTaskCommand = exports.deserializeAws_ec2CancelCapacityReservationFleetsCommand = exports.deserializeAws_ec2CancelCapacityReservationCommand = exports.deserializeAws_ec2CancelBundleTaskCommand = exports.deserializeAws_ec2BundleInstanceCommand = exports.deserializeAws_ec2AuthorizeSecurityGroupIngressCommand = exports.deserializeAws_ec2AuthorizeSecurityGroupEgressCommand = exports.deserializeAws_ec2AuthorizeClientVpnIngressCommand = exports.deserializeAws_ec2AttachVpnGatewayCommand = exports.deserializeAws_ec2AttachVolumeCommand = exports.deserializeAws_ec2AttachNetworkInterfaceCommand = void 0;
|
|
14
|
+
exports.deserializeAws_ec2DeleteLocalGatewayRouteCommand = exports.deserializeAws_ec2DeleteLaunchTemplateVersionsCommand = exports.deserializeAws_ec2DeleteLaunchTemplateCommand = exports.deserializeAws_ec2DeleteKeyPairCommand = exports.deserializeAws_ec2DeleteInternetGatewayCommand = exports.deserializeAws_ec2DeleteInstanceEventWindowCommand = exports.deserializeAws_ec2DeleteFpgaImageCommand = exports.deserializeAws_ec2DeleteFlowLogsCommand = exports.deserializeAws_ec2DeleteFleetsCommand = exports.deserializeAws_ec2DeleteEgressOnlyInternetGatewayCommand = exports.deserializeAws_ec2DeleteDhcpOptionsCommand = exports.deserializeAws_ec2DeleteCustomerGatewayCommand = exports.deserializeAws_ec2DeleteClientVpnRouteCommand = exports.deserializeAws_ec2DeleteClientVpnEndpointCommand = exports.deserializeAws_ec2DeleteCarrierGatewayCommand = exports.deserializeAws_ec2CreateVpnGatewayCommand = exports.deserializeAws_ec2CreateVpnConnectionRouteCommand = exports.deserializeAws_ec2CreateVpnConnectionCommand = exports.deserializeAws_ec2CreateVpcPeeringConnectionCommand = exports.deserializeAws_ec2CreateVpcEndpointServiceConfigurationCommand = exports.deserializeAws_ec2CreateVpcEndpointConnectionNotificationCommand = exports.deserializeAws_ec2CreateVpcEndpointCommand = exports.deserializeAws_ec2CreateVpcCommand = exports.deserializeAws_ec2CreateVolumeCommand = exports.deserializeAws_ec2CreateTransitGatewayVpcAttachmentCommand = exports.deserializeAws_ec2CreateTransitGatewayRouteTableCommand = exports.deserializeAws_ec2CreateTransitGatewayRouteCommand = exports.deserializeAws_ec2CreateTransitGatewayPrefixListReferenceCommand = exports.deserializeAws_ec2CreateTransitGatewayPeeringAttachmentCommand = exports.deserializeAws_ec2CreateTransitGatewayMulticastDomainCommand = exports.deserializeAws_ec2CreateTransitGatewayConnectPeerCommand = exports.deserializeAws_ec2CreateTransitGatewayConnectCommand = exports.deserializeAws_ec2CreateTransitGatewayCommand = exports.deserializeAws_ec2CreateTrafficMirrorTargetCommand = exports.deserializeAws_ec2CreateTrafficMirrorSessionCommand = exports.deserializeAws_ec2CreateTrafficMirrorFilterRuleCommand = exports.deserializeAws_ec2CreateTrafficMirrorFilterCommand = exports.deserializeAws_ec2CreateTagsCommand = exports.deserializeAws_ec2CreateSubnetCidrReservationCommand = exports.deserializeAws_ec2CreateSubnetCommand = exports.deserializeAws_ec2CreateStoreImageTaskCommand = exports.deserializeAws_ec2CreateSpotDatafeedSubscriptionCommand = exports.deserializeAws_ec2CreateSnapshotsCommand = exports.deserializeAws_ec2CreateSnapshotCommand = exports.deserializeAws_ec2CreateSecurityGroupCommand = exports.deserializeAws_ec2CreateRouteTableCommand = exports.deserializeAws_ec2CreateRouteCommand = exports.deserializeAws_ec2CreateRestoreImageTaskCommand = exports.deserializeAws_ec2CreateReservedInstancesListingCommand = exports.deserializeAws_ec2CreateReplaceRootVolumeTaskCommand = void 0;
|
|
15
|
+
exports.deserializeAws_ec2DescribeAggregateIdFormatCommand = exports.deserializeAws_ec2DescribeAddressesAttributeCommand = exports.deserializeAws_ec2DescribeAddressesCommand = exports.deserializeAws_ec2DescribeAccountAttributesCommand = exports.deserializeAws_ec2DeregisterTransitGatewayMulticastGroupSourcesCommand = exports.deserializeAws_ec2DeregisterTransitGatewayMulticastGroupMembersCommand = exports.deserializeAws_ec2DeregisterInstanceEventNotificationAttributesCommand = exports.deserializeAws_ec2DeregisterImageCommand = exports.deserializeAws_ec2DeprovisionByoipCidrCommand = exports.deserializeAws_ec2DeleteVpnGatewayCommand = exports.deserializeAws_ec2DeleteVpnConnectionRouteCommand = exports.deserializeAws_ec2DeleteVpnConnectionCommand = exports.deserializeAws_ec2DeleteVpcPeeringConnectionCommand = exports.deserializeAws_ec2DeleteVpcEndpointServiceConfigurationsCommand = exports.deserializeAws_ec2DeleteVpcEndpointsCommand = exports.deserializeAws_ec2DeleteVpcEndpointConnectionNotificationsCommand = exports.deserializeAws_ec2DeleteVpcCommand = exports.deserializeAws_ec2DeleteVolumeCommand = exports.deserializeAws_ec2DeleteTransitGatewayVpcAttachmentCommand = exports.deserializeAws_ec2DeleteTransitGatewayRouteTableCommand = exports.deserializeAws_ec2DeleteTransitGatewayRouteCommand = exports.deserializeAws_ec2DeleteTransitGatewayPrefixListReferenceCommand = exports.deserializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand = exports.deserializeAws_ec2DeleteTransitGatewayMulticastDomainCommand = exports.deserializeAws_ec2DeleteTransitGatewayConnectPeerCommand = exports.deserializeAws_ec2DeleteTransitGatewayConnectCommand = exports.deserializeAws_ec2DeleteTransitGatewayCommand = exports.deserializeAws_ec2DeleteTrafficMirrorTargetCommand = exports.deserializeAws_ec2DeleteTrafficMirrorSessionCommand = exports.deserializeAws_ec2DeleteTrafficMirrorFilterRuleCommand = exports.deserializeAws_ec2DeleteTrafficMirrorFilterCommand = exports.deserializeAws_ec2DeleteTagsCommand = exports.deserializeAws_ec2DeleteSubnetCidrReservationCommand = exports.deserializeAws_ec2DeleteSubnetCommand = exports.deserializeAws_ec2DeleteSpotDatafeedSubscriptionCommand = exports.deserializeAws_ec2DeleteSnapshotCommand = exports.deserializeAws_ec2DeleteSecurityGroupCommand = exports.deserializeAws_ec2DeleteRouteTableCommand = exports.deserializeAws_ec2DeleteRouteCommand = exports.deserializeAws_ec2DeleteQueuedReservedInstancesCommand = exports.deserializeAws_ec2DeletePlacementGroupCommand = exports.deserializeAws_ec2DeleteNetworkInterfacePermissionCommand = exports.deserializeAws_ec2DeleteNetworkInterfaceCommand = exports.deserializeAws_ec2DeleteNetworkInsightsPathCommand = exports.deserializeAws_ec2DeleteNetworkInsightsAnalysisCommand = exports.deserializeAws_ec2DeleteNetworkAclEntryCommand = exports.deserializeAws_ec2DeleteNetworkAclCommand = exports.deserializeAws_ec2DeleteNatGatewayCommand = exports.deserializeAws_ec2DeleteManagedPrefixListCommand = exports.deserializeAws_ec2DeleteLocalGatewayRouteTableVpcAssociationCommand = void 0;
|
|
16
|
+
exports.deserializeAws_ec2DescribeLaunchTemplateVersionsCommand = exports.deserializeAws_ec2DescribeLaunchTemplatesCommand = exports.deserializeAws_ec2DescribeKeyPairsCommand = exports.deserializeAws_ec2DescribeIpv6PoolsCommand = exports.deserializeAws_ec2DescribeInternetGatewaysCommand = exports.deserializeAws_ec2DescribeInstanceTypesCommand = exports.deserializeAws_ec2DescribeInstanceTypeOfferingsCommand = exports.deserializeAws_ec2DescribeInstanceStatusCommand = exports.deserializeAws_ec2DescribeInstancesCommand = exports.deserializeAws_ec2DescribeInstanceEventWindowsCommand = exports.deserializeAws_ec2DescribeInstanceEventNotificationAttributesCommand = exports.deserializeAws_ec2DescribeInstanceCreditSpecificationsCommand = exports.deserializeAws_ec2DescribeInstanceAttributeCommand = exports.deserializeAws_ec2DescribeImportSnapshotTasksCommand = exports.deserializeAws_ec2DescribeImportImageTasksCommand = exports.deserializeAws_ec2DescribeImagesCommand = exports.deserializeAws_ec2DescribeImageAttributeCommand = exports.deserializeAws_ec2DescribeIdFormatCommand = exports.deserializeAws_ec2DescribeIdentityIdFormatCommand = exports.deserializeAws_ec2DescribeIamInstanceProfileAssociationsCommand = exports.deserializeAws_ec2DescribeHostsCommand = exports.deserializeAws_ec2DescribeHostReservationsCommand = exports.deserializeAws_ec2DescribeHostReservationOfferingsCommand = exports.deserializeAws_ec2DescribeFpgaImagesCommand = exports.deserializeAws_ec2DescribeFpgaImageAttributeCommand = exports.deserializeAws_ec2DescribeFlowLogsCommand = exports.deserializeAws_ec2DescribeFleetsCommand = exports.deserializeAws_ec2DescribeFleetInstancesCommand = exports.deserializeAws_ec2DescribeFleetHistoryCommand = exports.deserializeAws_ec2DescribeFastSnapshotRestoresCommand = exports.deserializeAws_ec2DescribeExportTasksCommand = exports.deserializeAws_ec2DescribeExportImageTasksCommand = exports.deserializeAws_ec2DescribeElasticGpusCommand = exports.deserializeAws_ec2DescribeEgressOnlyInternetGatewaysCommand = exports.deserializeAws_ec2DescribeDhcpOptionsCommand = exports.deserializeAws_ec2DescribeCustomerGatewaysCommand = exports.deserializeAws_ec2DescribeConversionTasksCommand = exports.deserializeAws_ec2DescribeCoipPoolsCommand = exports.deserializeAws_ec2DescribeClientVpnTargetNetworksCommand = exports.deserializeAws_ec2DescribeClientVpnRoutesCommand = exports.deserializeAws_ec2DescribeClientVpnEndpointsCommand = exports.deserializeAws_ec2DescribeClientVpnConnectionsCommand = exports.deserializeAws_ec2DescribeClientVpnAuthorizationRulesCommand = exports.deserializeAws_ec2DescribeClassicLinkInstancesCommand = exports.deserializeAws_ec2DescribeCarrierGatewaysCommand = exports.deserializeAws_ec2DescribeCapacityReservationsCommand = exports.deserializeAws_ec2DescribeCapacityReservationFleetsCommand = exports.deserializeAws_ec2DescribeByoipCidrsCommand = exports.deserializeAws_ec2DescribeBundleTasksCommand = exports.deserializeAws_ec2DescribeAvailabilityZonesCommand = void 0;
|
|
17
|
+
exports.deserializeAws_ec2DescribeTransitGatewayMulticastDomainsCommand = exports.deserializeAws_ec2DescribeTransitGatewayConnectsCommand = exports.deserializeAws_ec2DescribeTransitGatewayConnectPeersCommand = exports.deserializeAws_ec2DescribeTransitGatewayAttachmentsCommand = exports.deserializeAws_ec2DescribeTrafficMirrorTargetsCommand = exports.deserializeAws_ec2DescribeTrafficMirrorSessionsCommand = exports.deserializeAws_ec2DescribeTrafficMirrorFiltersCommand = exports.deserializeAws_ec2DescribeTagsCommand = exports.deserializeAws_ec2DescribeSubnetsCommand = exports.deserializeAws_ec2DescribeStoreImageTasksCommand = exports.deserializeAws_ec2DescribeStaleSecurityGroupsCommand = exports.deserializeAws_ec2DescribeSpotPriceHistoryCommand = exports.deserializeAws_ec2DescribeSpotInstanceRequestsCommand = exports.deserializeAws_ec2DescribeSpotFleetRequestsCommand = exports.deserializeAws_ec2DescribeSpotFleetRequestHistoryCommand = exports.deserializeAws_ec2DescribeSpotFleetInstancesCommand = exports.deserializeAws_ec2DescribeSpotDatafeedSubscriptionCommand = exports.deserializeAws_ec2DescribeSnapshotsCommand = exports.deserializeAws_ec2DescribeSnapshotAttributeCommand = exports.deserializeAws_ec2DescribeSecurityGroupsCommand = exports.deserializeAws_ec2DescribeSecurityGroupRulesCommand = exports.deserializeAws_ec2DescribeSecurityGroupReferencesCommand = exports.deserializeAws_ec2DescribeScheduledInstancesCommand = exports.deserializeAws_ec2DescribeScheduledInstanceAvailabilityCommand = exports.deserializeAws_ec2DescribeRouteTablesCommand = exports.deserializeAws_ec2DescribeReservedInstancesOfferingsCommand = exports.deserializeAws_ec2DescribeReservedInstancesModificationsCommand = exports.deserializeAws_ec2DescribeReservedInstancesListingsCommand = exports.deserializeAws_ec2DescribeReservedInstancesCommand = exports.deserializeAws_ec2DescribeReplaceRootVolumeTasksCommand = exports.deserializeAws_ec2DescribeRegionsCommand = exports.deserializeAws_ec2DescribePublicIpv4PoolsCommand = exports.deserializeAws_ec2DescribePrincipalIdFormatCommand = exports.deserializeAws_ec2DescribePrefixListsCommand = exports.deserializeAws_ec2DescribePlacementGroupsCommand = exports.deserializeAws_ec2DescribeNetworkInterfacesCommand = exports.deserializeAws_ec2DescribeNetworkInterfacePermissionsCommand = exports.deserializeAws_ec2DescribeNetworkInterfaceAttributeCommand = exports.deserializeAws_ec2DescribeNetworkInsightsPathsCommand = exports.deserializeAws_ec2DescribeNetworkInsightsAnalysesCommand = exports.deserializeAws_ec2DescribeNetworkAclsCommand = exports.deserializeAws_ec2DescribeNatGatewaysCommand = exports.deserializeAws_ec2DescribeMovingAddressesCommand = exports.deserializeAws_ec2DescribeManagedPrefixListsCommand = exports.deserializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand = exports.deserializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsCommand = exports.deserializeAws_ec2DescribeLocalGatewaysCommand = exports.deserializeAws_ec2DescribeLocalGatewayRouteTableVpcAssociationsCommand = exports.deserializeAws_ec2DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = exports.deserializeAws_ec2DescribeLocalGatewayRouteTablesCommand = void 0;
|
|
18
|
+
exports.deserializeAws_ec2EnableSerialConsoleAccessCommand = exports.deserializeAws_ec2EnableImageDeprecationCommand = exports.deserializeAws_ec2EnableFastSnapshotRestoresCommand = exports.deserializeAws_ec2EnableEbsEncryptionByDefaultCommand = exports.deserializeAws_ec2DisassociateVpcCidrBlockCommand = exports.deserializeAws_ec2DisassociateTrunkInterfaceCommand = exports.deserializeAws_ec2DisassociateTransitGatewayRouteTableCommand = exports.deserializeAws_ec2DisassociateTransitGatewayMulticastDomainCommand = exports.deserializeAws_ec2DisassociateSubnetCidrBlockCommand = exports.deserializeAws_ec2DisassociateRouteTableCommand = exports.deserializeAws_ec2DisassociateInstanceEventWindowCommand = exports.deserializeAws_ec2DisassociateIamInstanceProfileCommand = exports.deserializeAws_ec2DisassociateEnclaveCertificateIamRoleCommand = exports.deserializeAws_ec2DisassociateClientVpnTargetNetworkCommand = exports.deserializeAws_ec2DisassociateAddressCommand = exports.deserializeAws_ec2DisableVpcClassicLinkDnsSupportCommand = exports.deserializeAws_ec2DisableVpcClassicLinkCommand = exports.deserializeAws_ec2DisableVgwRoutePropagationCommand = exports.deserializeAws_ec2DisableTransitGatewayRouteTablePropagationCommand = exports.deserializeAws_ec2DisableSerialConsoleAccessCommand = exports.deserializeAws_ec2DisableImageDeprecationCommand = exports.deserializeAws_ec2DisableFastSnapshotRestoresCommand = exports.deserializeAws_ec2DisableEbsEncryptionByDefaultCommand = exports.deserializeAws_ec2DetachVpnGatewayCommand = exports.deserializeAws_ec2DetachVolumeCommand = exports.deserializeAws_ec2DetachNetworkInterfaceCommand = exports.deserializeAws_ec2DetachInternetGatewayCommand = exports.deserializeAws_ec2DetachClassicLinkVpcCommand = exports.deserializeAws_ec2DescribeVpnGatewaysCommand = exports.deserializeAws_ec2DescribeVpnConnectionsCommand = exports.deserializeAws_ec2DescribeVpcsCommand = exports.deserializeAws_ec2DescribeVpcPeeringConnectionsCommand = exports.deserializeAws_ec2DescribeVpcEndpointServicesCommand = exports.deserializeAws_ec2DescribeVpcEndpointServicePermissionsCommand = exports.deserializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand = exports.deserializeAws_ec2DescribeVpcEndpointsCommand = exports.deserializeAws_ec2DescribeVpcEndpointConnectionsCommand = exports.deserializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand = exports.deserializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand = exports.deserializeAws_ec2DescribeVpcClassicLinkCommand = exports.deserializeAws_ec2DescribeVpcAttributeCommand = exports.deserializeAws_ec2DescribeVolumeStatusCommand = exports.deserializeAws_ec2DescribeVolumesModificationsCommand = exports.deserializeAws_ec2DescribeVolumesCommand = exports.deserializeAws_ec2DescribeVolumeAttributeCommand = exports.deserializeAws_ec2DescribeTrunkInterfaceAssociationsCommand = exports.deserializeAws_ec2DescribeTransitGatewayVpcAttachmentsCommand = exports.deserializeAws_ec2DescribeTransitGatewaysCommand = exports.deserializeAws_ec2DescribeTransitGatewayRouteTablesCommand = exports.deserializeAws_ec2DescribeTransitGatewayPeeringAttachmentsCommand = void 0;
|
|
19
|
+
exports.deserializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand = exports.deserializeAws_ec2ModifyDefaultCreditSpecificationCommand = exports.deserializeAws_ec2ModifyClientVpnEndpointCommand = exports.deserializeAws_ec2ModifyCapacityReservationFleetCommand = exports.deserializeAws_ec2ModifyCapacityReservationCommand = exports.deserializeAws_ec2ModifyAvailabilityZoneGroupCommand = exports.deserializeAws_ec2ModifyAddressAttributeCommand = exports.deserializeAws_ec2ImportVolumeCommand = exports.deserializeAws_ec2ImportSnapshotCommand = exports.deserializeAws_ec2ImportKeyPairCommand = exports.deserializeAws_ec2ImportInstanceCommand = exports.deserializeAws_ec2ImportImageCommand = exports.deserializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand = exports.deserializeAws_ec2GetVpnConnectionDeviceTypesCommand = exports.deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommand = exports.deserializeAws_ec2GetTransitGatewayRouteTablePropagationsCommand = exports.deserializeAws_ec2GetTransitGatewayRouteTableAssociationsCommand = exports.deserializeAws_ec2GetTransitGatewayPrefixListReferencesCommand = exports.deserializeAws_ec2GetTransitGatewayMulticastDomainAssociationsCommand = exports.deserializeAws_ec2GetTransitGatewayAttachmentPropagationsCommand = exports.deserializeAws_ec2GetSubnetCidrReservationsCommand = exports.deserializeAws_ec2GetSpotPlacementScoresCommand = exports.deserializeAws_ec2GetSerialConsoleAccessStatusCommand = exports.deserializeAws_ec2GetReservedInstancesExchangeQuoteCommand = exports.deserializeAws_ec2GetPasswordDataCommand = exports.deserializeAws_ec2GetManagedPrefixListEntriesCommand = exports.deserializeAws_ec2GetManagedPrefixListAssociationsCommand = exports.deserializeAws_ec2GetLaunchTemplateDataCommand = exports.deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand = exports.deserializeAws_ec2GetHostReservationPurchasePreviewCommand = exports.deserializeAws_ec2GetGroupsForCapacityReservationCommand = exports.deserializeAws_ec2GetFlowLogsIntegrationTemplateCommand = exports.deserializeAws_ec2GetEbsEncryptionByDefaultCommand = exports.deserializeAws_ec2GetEbsDefaultKmsKeyIdCommand = exports.deserializeAws_ec2GetDefaultCreditSpecificationCommand = exports.deserializeAws_ec2GetConsoleScreenshotCommand = exports.deserializeAws_ec2GetConsoleOutputCommand = exports.deserializeAws_ec2GetCoipPoolUsageCommand = exports.deserializeAws_ec2GetCapacityReservationUsageCommand = exports.deserializeAws_ec2GetAssociatedIpv6PoolCidrsCommand = exports.deserializeAws_ec2GetAssociatedEnclaveCertificateIamRolesCommand = exports.deserializeAws_ec2ExportTransitGatewayRoutesCommand = exports.deserializeAws_ec2ExportImageCommand = exports.deserializeAws_ec2ExportClientVpnClientConfigurationCommand = exports.deserializeAws_ec2ExportClientVpnClientCertificateRevocationListCommand = exports.deserializeAws_ec2EnableVpcClassicLinkDnsSupportCommand = exports.deserializeAws_ec2EnableVpcClassicLinkCommand = exports.deserializeAws_ec2EnableVolumeIOCommand = exports.deserializeAws_ec2EnableVgwRoutePropagationCommand = exports.deserializeAws_ec2EnableTransitGatewayRouteTablePropagationCommand = void 0;
|
|
20
|
+
exports.deserializeAws_ec2RegisterInstanceEventNotificationAttributesCommand = exports.deserializeAws_ec2RegisterImageCommand = exports.deserializeAws_ec2RebootInstancesCommand = exports.deserializeAws_ec2PurchaseScheduledInstancesCommand = exports.deserializeAws_ec2PurchaseReservedInstancesOfferingCommand = exports.deserializeAws_ec2PurchaseHostReservationCommand = exports.deserializeAws_ec2ProvisionByoipCidrCommand = exports.deserializeAws_ec2MoveAddressToVpcCommand = exports.deserializeAws_ec2MonitorInstancesCommand = exports.deserializeAws_ec2ModifyVpnTunnelOptionsCommand = exports.deserializeAws_ec2ModifyVpnTunnelCertificateCommand = exports.deserializeAws_ec2ModifyVpnConnectionOptionsCommand = exports.deserializeAws_ec2ModifyVpnConnectionCommand = exports.deserializeAws_ec2ModifyVpcTenancyCommand = exports.deserializeAws_ec2ModifyVpcPeeringConnectionOptionsCommand = exports.deserializeAws_ec2ModifyVpcEndpointServicePermissionsCommand = exports.deserializeAws_ec2ModifyVpcEndpointServiceConfigurationCommand = exports.deserializeAws_ec2ModifyVpcEndpointConnectionNotificationCommand = exports.deserializeAws_ec2ModifyVpcEndpointCommand = exports.deserializeAws_ec2ModifyVpcAttributeCommand = exports.deserializeAws_ec2ModifyVolumeAttributeCommand = exports.deserializeAws_ec2ModifyVolumeCommand = exports.deserializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand = exports.deserializeAws_ec2ModifyTransitGatewayPrefixListReferenceCommand = exports.deserializeAws_ec2ModifyTransitGatewayCommand = exports.deserializeAws_ec2ModifyTrafficMirrorSessionCommand = exports.deserializeAws_ec2ModifyTrafficMirrorFilterRuleCommand = exports.deserializeAws_ec2ModifyTrafficMirrorFilterNetworkServicesCommand = exports.deserializeAws_ec2ModifySubnetAttributeCommand = exports.deserializeAws_ec2ModifySpotFleetRequestCommand = exports.deserializeAws_ec2ModifySnapshotAttributeCommand = exports.deserializeAws_ec2ModifySecurityGroupRulesCommand = exports.deserializeAws_ec2ModifyReservedInstancesCommand = exports.deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand = exports.deserializeAws_ec2ModifyNetworkInterfaceAttributeCommand = exports.deserializeAws_ec2ModifyManagedPrefixListCommand = exports.deserializeAws_ec2ModifyLaunchTemplateCommand = exports.deserializeAws_ec2ModifyInstancePlacementCommand = exports.deserializeAws_ec2ModifyInstanceMetadataOptionsCommand = exports.deserializeAws_ec2ModifyInstanceEventWindowCommand = exports.deserializeAws_ec2ModifyInstanceEventStartTimeCommand = exports.deserializeAws_ec2ModifyInstanceCreditSpecificationCommand = exports.deserializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand = exports.deserializeAws_ec2ModifyInstanceAttributeCommand = exports.deserializeAws_ec2ModifyImageAttributeCommand = exports.deserializeAws_ec2ModifyIdFormatCommand = exports.deserializeAws_ec2ModifyIdentityIdFormatCommand = exports.deserializeAws_ec2ModifyHostsCommand = exports.deserializeAws_ec2ModifyFpgaImageAttributeCommand = exports.deserializeAws_ec2ModifyFleetCommand = void 0;
|
|
21
|
+
exports.deserializeAws_ec2WithdrawByoipCidrCommand = exports.deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand = exports.deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand = exports.deserializeAws_ec2UnmonitorInstancesCommand = exports.deserializeAws_ec2UnassignPrivateIpAddressesCommand = exports.deserializeAws_ec2UnassignIpv6AddressesCommand = exports.deserializeAws_ec2TerminateInstancesCommand = exports.deserializeAws_ec2TerminateClientVpnConnectionsCommand = exports.deserializeAws_ec2StopInstancesCommand = exports.deserializeAws_ec2StartVpcEndpointServicePrivateDnsVerificationCommand = exports.deserializeAws_ec2StartNetworkInsightsAnalysisCommand = exports.deserializeAws_ec2StartInstancesCommand = exports.deserializeAws_ec2SendDiagnosticInterruptCommand = exports.deserializeAws_ec2SearchTransitGatewayRoutesCommand = exports.deserializeAws_ec2SearchTransitGatewayMulticastGroupsCommand = exports.deserializeAws_ec2SearchLocalGatewayRoutesCommand = exports.deserializeAws_ec2RunScheduledInstancesCommand = exports.deserializeAws_ec2RunInstancesCommand = exports.deserializeAws_ec2RevokeSecurityGroupIngressCommand = exports.deserializeAws_ec2RevokeSecurityGroupEgressCommand = exports.deserializeAws_ec2RevokeClientVpnIngressCommand = exports.deserializeAws_ec2RestoreManagedPrefixListVersionCommand = exports.deserializeAws_ec2RestoreAddressToClassicCommand = exports.deserializeAws_ec2ResetSnapshotAttributeCommand = exports.deserializeAws_ec2ResetNetworkInterfaceAttributeCommand = exports.deserializeAws_ec2ResetInstanceAttributeCommand = exports.deserializeAws_ec2ResetImageAttributeCommand = exports.deserializeAws_ec2ResetFpgaImageAttributeCommand = exports.deserializeAws_ec2ResetEbsDefaultKmsKeyIdCommand = exports.deserializeAws_ec2ResetAddressAttributeCommand = exports.deserializeAws_ec2RequestSpotInstancesCommand = exports.deserializeAws_ec2RequestSpotFleetCommand = exports.deserializeAws_ec2ReportInstanceStatusCommand = exports.deserializeAws_ec2ReplaceTransitGatewayRouteCommand = exports.deserializeAws_ec2ReplaceRouteTableAssociationCommand = exports.deserializeAws_ec2ReplaceRouteCommand = exports.deserializeAws_ec2ReplaceNetworkAclEntryCommand = exports.deserializeAws_ec2ReplaceNetworkAclAssociationCommand = exports.deserializeAws_ec2ReplaceIamInstanceProfileAssociationCommand = exports.deserializeAws_ec2ReleaseHostsCommand = exports.deserializeAws_ec2ReleaseAddressCommand = exports.deserializeAws_ec2RejectVpcPeeringConnectionCommand = exports.deserializeAws_ec2RejectVpcEndpointConnectionsCommand = exports.deserializeAws_ec2RejectTransitGatewayVpcAttachmentCommand = exports.deserializeAws_ec2RejectTransitGatewayPeeringAttachmentCommand = exports.deserializeAws_ec2RejectTransitGatewayMulticastDomainAssociationsCommand = exports.deserializeAws_ec2RegisterTransitGatewayMulticastGroupSourcesCommand = exports.deserializeAws_ec2RegisterTransitGatewayMulticastGroupMembersCommand = void 0;
|
|
22
22
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
23
23
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
24
24
|
const entities_1 = require("entities");
|
|
@@ -5120,6 +5120,19 @@ const serializeAws_ec2ModifyNetworkInterfaceAttributeCommand = async (input, con
|
|
|
5120
5120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5121
5121
|
};
|
|
5122
5122
|
exports.serializeAws_ec2ModifyNetworkInterfaceAttributeCommand = serializeAws_ec2ModifyNetworkInterfaceAttributeCommand;
|
|
5123
|
+
const serializeAws_ec2ModifyPrivateDnsNameOptionsCommand = async (input, context) => {
|
|
5124
|
+
const headers = {
|
|
5125
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5126
|
+
};
|
|
5127
|
+
let body;
|
|
5128
|
+
body = buildFormUrlencodedString({
|
|
5129
|
+
...serializeAws_ec2ModifyPrivateDnsNameOptionsRequest(input, context),
|
|
5130
|
+
Action: "ModifyPrivateDnsNameOptions",
|
|
5131
|
+
Version: "2016-11-15",
|
|
5132
|
+
});
|
|
5133
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5134
|
+
};
|
|
5135
|
+
exports.serializeAws_ec2ModifyPrivateDnsNameOptionsCommand = serializeAws_ec2ModifyPrivateDnsNameOptionsCommand;
|
|
5123
5136
|
const serializeAws_ec2ModifyReservedInstancesCommand = async (input, context) => {
|
|
5124
5137
|
const headers = {
|
|
5125
5138
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -21338,6 +21351,45 @@ const deserializeAws_ec2ModifyNetworkInterfaceAttributeCommandError = async (out
|
|
|
21338
21351
|
delete response.Message;
|
|
21339
21352
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
21340
21353
|
};
|
|
21354
|
+
const deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand = async (output, context) => {
|
|
21355
|
+
if (output.statusCode >= 300) {
|
|
21356
|
+
return deserializeAws_ec2ModifyPrivateDnsNameOptionsCommandError(output, context);
|
|
21357
|
+
}
|
|
21358
|
+
const data = await parseBody(output.body, context);
|
|
21359
|
+
let contents = {};
|
|
21360
|
+
contents = deserializeAws_ec2ModifyPrivateDnsNameOptionsResult(data, context);
|
|
21361
|
+
const response = {
|
|
21362
|
+
$metadata: deserializeMetadata(output),
|
|
21363
|
+
...contents,
|
|
21364
|
+
};
|
|
21365
|
+
return Promise.resolve(response);
|
|
21366
|
+
};
|
|
21367
|
+
exports.deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand = deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand;
|
|
21368
|
+
const deserializeAws_ec2ModifyPrivateDnsNameOptionsCommandError = async (output, context) => {
|
|
21369
|
+
const parsedOutput = {
|
|
21370
|
+
...output,
|
|
21371
|
+
body: await parseBody(output.body, context),
|
|
21372
|
+
};
|
|
21373
|
+
let response;
|
|
21374
|
+
let errorCode = "UnknownError";
|
|
21375
|
+
errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
21376
|
+
switch (errorCode) {
|
|
21377
|
+
default:
|
|
21378
|
+
const parsedBody = parsedOutput.body;
|
|
21379
|
+
errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode;
|
|
21380
|
+
response = {
|
|
21381
|
+
...parsedBody.Errors.Error,
|
|
21382
|
+
name: `${errorCode}`,
|
|
21383
|
+
message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.Message || errorCode,
|
|
21384
|
+
$fault: "client",
|
|
21385
|
+
$metadata: deserializeMetadata(output),
|
|
21386
|
+
};
|
|
21387
|
+
}
|
|
21388
|
+
const message = response.message || response.Message || errorCode;
|
|
21389
|
+
response.message = message;
|
|
21390
|
+
delete response.Message;
|
|
21391
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
21392
|
+
};
|
|
21341
21393
|
const deserializeAws_ec2ModifyReservedInstancesCommand = async (output, context) => {
|
|
21342
21394
|
if (output.statusCode >= 300) {
|
|
21343
21395
|
return deserializeAws_ec2ModifyReservedInstancesCommandError(output, context);
|
|
@@ -26188,6 +26240,9 @@ const serializeAws_ec2CreateDefaultSubnetRequest = (input, context) => {
|
|
|
26188
26240
|
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
26189
26241
|
entries["DryRun"] = input.DryRun;
|
|
26190
26242
|
}
|
|
26243
|
+
if (input.Ipv6Native !== undefined && input.Ipv6Native !== null) {
|
|
26244
|
+
entries["Ipv6Native"] = input.Ipv6Native;
|
|
26245
|
+
}
|
|
26191
26246
|
return entries;
|
|
26192
26247
|
};
|
|
26193
26248
|
const serializeAws_ec2CreateDefaultVpcRequest = (input, context) => {
|
|
@@ -27198,6 +27253,9 @@ const serializeAws_ec2CreateSubnetRequest = (input, context) => {
|
|
|
27198
27253
|
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
27199
27254
|
entries["DryRun"] = input.DryRun;
|
|
27200
27255
|
}
|
|
27256
|
+
if (input.Ipv6Native !== undefined && input.Ipv6Native !== null) {
|
|
27257
|
+
entries["Ipv6Native"] = input.Ipv6Native;
|
|
27258
|
+
}
|
|
27201
27259
|
return entries;
|
|
27202
27260
|
};
|
|
27203
27261
|
const serializeAws_ec2CreateTagsRequest = (input, context) => {
|
|
@@ -35238,6 +35296,19 @@ const serializeAws_ec2LaunchTemplatePlacementRequest = (input, context) => {
|
|
|
35238
35296
|
}
|
|
35239
35297
|
return entries;
|
|
35240
35298
|
};
|
|
35299
|
+
const serializeAws_ec2LaunchTemplatePrivateDnsNameOptionsRequest = (input, context) => {
|
|
35300
|
+
const entries = {};
|
|
35301
|
+
if (input.HostnameType !== undefined && input.HostnameType !== null) {
|
|
35302
|
+
entries["HostnameType"] = input.HostnameType;
|
|
35303
|
+
}
|
|
35304
|
+
if (input.EnableResourceNameDnsARecord !== undefined && input.EnableResourceNameDnsARecord !== null) {
|
|
35305
|
+
entries["EnableResourceNameDnsARecord"] = input.EnableResourceNameDnsARecord;
|
|
35306
|
+
}
|
|
35307
|
+
if (input.EnableResourceNameDnsAAAARecord !== undefined && input.EnableResourceNameDnsAAAARecord !== null) {
|
|
35308
|
+
entries["EnableResourceNameDnsAAAARecord"] = input.EnableResourceNameDnsAAAARecord;
|
|
35309
|
+
}
|
|
35310
|
+
return entries;
|
|
35311
|
+
};
|
|
35241
35312
|
const serializeAws_ec2LaunchTemplatesMonitoringRequest = (input, context) => {
|
|
35242
35313
|
const entries = {};
|
|
35243
35314
|
if (input.Enabled !== undefined && input.Enabled !== null) {
|
|
@@ -36166,6 +36237,25 @@ const serializeAws_ec2ModifyNetworkInterfaceAttributeRequest = (input, context)
|
|
|
36166
36237
|
}
|
|
36167
36238
|
return entries;
|
|
36168
36239
|
};
|
|
36240
|
+
const serializeAws_ec2ModifyPrivateDnsNameOptionsRequest = (input, context) => {
|
|
36241
|
+
const entries = {};
|
|
36242
|
+
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
36243
|
+
entries["DryRun"] = input.DryRun;
|
|
36244
|
+
}
|
|
36245
|
+
if (input.InstanceId !== undefined && input.InstanceId !== null) {
|
|
36246
|
+
entries["InstanceId"] = input.InstanceId;
|
|
36247
|
+
}
|
|
36248
|
+
if (input.PrivateDnsHostnameType !== undefined && input.PrivateDnsHostnameType !== null) {
|
|
36249
|
+
entries["PrivateDnsHostnameType"] = input.PrivateDnsHostnameType;
|
|
36250
|
+
}
|
|
36251
|
+
if (input.EnableResourceNameDnsARecord !== undefined && input.EnableResourceNameDnsARecord !== null) {
|
|
36252
|
+
entries["EnableResourceNameDnsARecord"] = input.EnableResourceNameDnsARecord;
|
|
36253
|
+
}
|
|
36254
|
+
if (input.EnableResourceNameDnsAAAARecord !== undefined && input.EnableResourceNameDnsAAAARecord !== null) {
|
|
36255
|
+
entries["EnableResourceNameDnsAAAARecord"] = input.EnableResourceNameDnsAAAARecord;
|
|
36256
|
+
}
|
|
36257
|
+
return entries;
|
|
36258
|
+
};
|
|
36169
36259
|
const serializeAws_ec2ModifyReservedInstancesRequest = (input, context) => {
|
|
36170
36260
|
const entries = {};
|
|
36171
36261
|
if (input.ReservedInstancesIds !== undefined && input.ReservedInstancesIds !== null) {
|
|
@@ -36303,6 +36393,24 @@ const serializeAws_ec2ModifySubnetAttributeRequest = (input, context) => {
|
|
|
36303
36393
|
entries[loc] = value;
|
|
36304
36394
|
});
|
|
36305
36395
|
}
|
|
36396
|
+
if (input.PrivateDnsHostnameTypeOnLaunch !== undefined && input.PrivateDnsHostnameTypeOnLaunch !== null) {
|
|
36397
|
+
entries["PrivateDnsHostnameTypeOnLaunch"] = input.PrivateDnsHostnameTypeOnLaunch;
|
|
36398
|
+
}
|
|
36399
|
+
if (input.EnableResourceNameDnsARecordOnLaunch !== undefined && input.EnableResourceNameDnsARecordOnLaunch !== null) {
|
|
36400
|
+
const memberEntries = serializeAws_ec2AttributeBooleanValue(input.EnableResourceNameDnsARecordOnLaunch, context);
|
|
36401
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
36402
|
+
const loc = `EnableResourceNameDnsARecordOnLaunch.${key}`;
|
|
36403
|
+
entries[loc] = value;
|
|
36404
|
+
});
|
|
36405
|
+
}
|
|
36406
|
+
if (input.EnableResourceNameDnsAAAARecordOnLaunch !== undefined &&
|
|
36407
|
+
input.EnableResourceNameDnsAAAARecordOnLaunch !== null) {
|
|
36408
|
+
const memberEntries = serializeAws_ec2AttributeBooleanValue(input.EnableResourceNameDnsAAAARecordOnLaunch, context);
|
|
36409
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
36410
|
+
const loc = `EnableResourceNameDnsAAAARecordOnLaunch.${key}`;
|
|
36411
|
+
entries[loc] = value;
|
|
36412
|
+
});
|
|
36413
|
+
}
|
|
36306
36414
|
return entries;
|
|
36307
36415
|
};
|
|
36308
36416
|
const serializeAws_ec2ModifyTrafficMirrorFilterNetworkServicesRequest = (input, context) => {
|
|
@@ -37453,6 +37561,19 @@ const serializeAws_ec2PriceScheduleSpecificationList = (input, context) => {
|
|
|
37453
37561
|
}
|
|
37454
37562
|
return entries;
|
|
37455
37563
|
};
|
|
37564
|
+
const serializeAws_ec2PrivateDnsNameOptionsRequest = (input, context) => {
|
|
37565
|
+
const entries = {};
|
|
37566
|
+
if (input.HostnameType !== undefined && input.HostnameType !== null) {
|
|
37567
|
+
entries["HostnameType"] = input.HostnameType;
|
|
37568
|
+
}
|
|
37569
|
+
if (input.EnableResourceNameDnsARecord !== undefined && input.EnableResourceNameDnsARecord !== null) {
|
|
37570
|
+
entries["EnableResourceNameDnsARecord"] = input.EnableResourceNameDnsARecord;
|
|
37571
|
+
}
|
|
37572
|
+
if (input.EnableResourceNameDnsAAAARecord !== undefined && input.EnableResourceNameDnsAAAARecord !== null) {
|
|
37573
|
+
entries["EnableResourceNameDnsAAAARecord"] = input.EnableResourceNameDnsAAAARecord;
|
|
37574
|
+
}
|
|
37575
|
+
return entries;
|
|
37576
|
+
};
|
|
37456
37577
|
const serializeAws_ec2PrivateIpAddressConfigSet = (input, context) => {
|
|
37457
37578
|
const entries = {};
|
|
37458
37579
|
let counter = 1;
|
|
@@ -38371,6 +38492,13 @@ const serializeAws_ec2RequestLaunchTemplateData = (input, context) => {
|
|
|
38371
38492
|
entries[loc] = value;
|
|
38372
38493
|
});
|
|
38373
38494
|
}
|
|
38495
|
+
if (input.PrivateDnsNameOptions !== undefined && input.PrivateDnsNameOptions !== null) {
|
|
38496
|
+
const memberEntries = serializeAws_ec2LaunchTemplatePrivateDnsNameOptionsRequest(input.PrivateDnsNameOptions, context);
|
|
38497
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38498
|
+
const loc = `PrivateDnsNameOptions.${key}`;
|
|
38499
|
+
entries[loc] = value;
|
|
38500
|
+
});
|
|
38501
|
+
}
|
|
38374
38502
|
return entries;
|
|
38375
38503
|
};
|
|
38376
38504
|
const serializeAws_ec2RequestSpotFleetRequest = (input, context) => {
|
|
@@ -39142,6 +39270,13 @@ const serializeAws_ec2RunInstancesRequest = (input, context) => {
|
|
|
39142
39270
|
entries[loc] = value;
|
|
39143
39271
|
});
|
|
39144
39272
|
}
|
|
39273
|
+
if (input.PrivateDnsNameOptions !== undefined && input.PrivateDnsNameOptions !== null) {
|
|
39274
|
+
const memberEntries = serializeAws_ec2PrivateDnsNameOptionsRequest(input.PrivateDnsNameOptions, context);
|
|
39275
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
39276
|
+
const loc = `PrivateDnsNameOptions.${key}`;
|
|
39277
|
+
entries[loc] = value;
|
|
39278
|
+
});
|
|
39279
|
+
}
|
|
39145
39280
|
return entries;
|
|
39146
39281
|
};
|
|
39147
39282
|
const serializeAws_ec2RunScheduledInstancesRequest = (input, context) => {
|
|
@@ -50923,6 +51058,8 @@ const deserializeAws_ec2Instance = (output, context) => {
|
|
|
50923
51058
|
PlatformDetails: undefined,
|
|
50924
51059
|
UsageOperation: undefined,
|
|
50925
51060
|
UsageOperationUpdateTime: undefined,
|
|
51061
|
+
PrivateDnsNameOptions: undefined,
|
|
51062
|
+
Ipv6Address: undefined,
|
|
50926
51063
|
};
|
|
50927
51064
|
if (output["amiLaunchIndex"] !== undefined) {
|
|
50928
51065
|
contents.AmiLaunchIndex = smithy_client_1.strictParseInt32(output["amiLaunchIndex"]);
|
|
@@ -51105,6 +51242,12 @@ const deserializeAws_ec2Instance = (output, context) => {
|
|
|
51105
51242
|
if (output["usageOperationUpdateTime"] !== undefined) {
|
|
51106
51243
|
contents.UsageOperationUpdateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["usageOperationUpdateTime"]));
|
|
51107
51244
|
}
|
|
51245
|
+
if (output["privateDnsNameOptions"] !== undefined) {
|
|
51246
|
+
contents.PrivateDnsNameOptions = deserializeAws_ec2PrivateDnsNameOptionsResponse(output["privateDnsNameOptions"], context);
|
|
51247
|
+
}
|
|
51248
|
+
if (output["ipv6Address"] !== undefined) {
|
|
51249
|
+
contents.Ipv6Address = smithy_client_1.expectString(output["ipv6Address"]);
|
|
51250
|
+
}
|
|
51108
51251
|
return contents;
|
|
51109
51252
|
};
|
|
51110
51253
|
const deserializeAws_ec2InstanceAttribute = (output, context) => {
|
|
@@ -53440,6 +53583,23 @@ const deserializeAws_ec2LaunchTemplatePlacement = (output, context) => {
|
|
|
53440
53583
|
}
|
|
53441
53584
|
return contents;
|
|
53442
53585
|
};
|
|
53586
|
+
const deserializeAws_ec2LaunchTemplatePrivateDnsNameOptions = (output, context) => {
|
|
53587
|
+
const contents = {
|
|
53588
|
+
HostnameType: undefined,
|
|
53589
|
+
EnableResourceNameDnsARecord: undefined,
|
|
53590
|
+
EnableResourceNameDnsAAAARecord: undefined,
|
|
53591
|
+
};
|
|
53592
|
+
if (output["hostnameType"] !== undefined) {
|
|
53593
|
+
contents.HostnameType = smithy_client_1.expectString(output["hostnameType"]);
|
|
53594
|
+
}
|
|
53595
|
+
if (output["enableResourceNameDnsARecord"] !== undefined) {
|
|
53596
|
+
contents.EnableResourceNameDnsARecord = smithy_client_1.parseBoolean(output["enableResourceNameDnsARecord"]);
|
|
53597
|
+
}
|
|
53598
|
+
if (output["enableResourceNameDnsAAAARecord"] !== undefined) {
|
|
53599
|
+
contents.EnableResourceNameDnsAAAARecord = smithy_client_1.parseBoolean(output["enableResourceNameDnsAAAARecord"]);
|
|
53600
|
+
}
|
|
53601
|
+
return contents;
|
|
53602
|
+
};
|
|
53443
53603
|
const deserializeAws_ec2LaunchTemplateSet = (output, context) => {
|
|
53444
53604
|
return (output || [])
|
|
53445
53605
|
.filter((e) => e != null)
|
|
@@ -54236,6 +54396,15 @@ const deserializeAws_ec2ModifyManagedPrefixListResult = (output, context) => {
|
|
|
54236
54396
|
}
|
|
54237
54397
|
return contents;
|
|
54238
54398
|
};
|
|
54399
|
+
const deserializeAws_ec2ModifyPrivateDnsNameOptionsResult = (output, context) => {
|
|
54400
|
+
const contents = {
|
|
54401
|
+
Return: undefined,
|
|
54402
|
+
};
|
|
54403
|
+
if (output["return"] !== undefined) {
|
|
54404
|
+
contents.Return = smithy_client_1.parseBoolean(output["return"]);
|
|
54405
|
+
}
|
|
54406
|
+
return contents;
|
|
54407
|
+
};
|
|
54239
54408
|
const deserializeAws_ec2ModifyReservedInstancesResult = (output, context) => {
|
|
54240
54409
|
const contents = {
|
|
54241
54410
|
ReservedInstancesModificationId: undefined,
|
|
@@ -54955,6 +55124,8 @@ const deserializeAws_ec2NetworkInterface = (output, context) => {
|
|
|
54955
55124
|
TagSet: undefined,
|
|
54956
55125
|
VpcId: undefined,
|
|
54957
55126
|
DenyAllIgwTraffic: undefined,
|
|
55127
|
+
Ipv6Native: undefined,
|
|
55128
|
+
Ipv6Address: undefined,
|
|
54958
55129
|
};
|
|
54959
55130
|
if (output["association"] !== undefined) {
|
|
54960
55131
|
contents.Association = deserializeAws_ec2NetworkInterfaceAssociation(output["association"], context);
|
|
@@ -55046,6 +55217,12 @@ const deserializeAws_ec2NetworkInterface = (output, context) => {
|
|
|
55046
55217
|
if (output["denyAllIgwTraffic"] !== undefined) {
|
|
55047
55218
|
contents.DenyAllIgwTraffic = smithy_client_1.parseBoolean(output["denyAllIgwTraffic"]);
|
|
55048
55219
|
}
|
|
55220
|
+
if (output["ipv6Native"] !== undefined) {
|
|
55221
|
+
contents.Ipv6Native = smithy_client_1.parseBoolean(output["ipv6Native"]);
|
|
55222
|
+
}
|
|
55223
|
+
if (output["ipv6Address"] !== undefined) {
|
|
55224
|
+
contents.Ipv6Address = smithy_client_1.expectString(output["ipv6Address"]);
|
|
55225
|
+
}
|
|
55049
55226
|
return contents;
|
|
55050
55227
|
};
|
|
55051
55228
|
const deserializeAws_ec2NetworkInterfaceAssociation = (output, context) => {
|
|
@@ -55904,6 +56081,40 @@ const deserializeAws_ec2PrivateDnsNameConfiguration = (output, context) => {
|
|
|
55904
56081
|
}
|
|
55905
56082
|
return contents;
|
|
55906
56083
|
};
|
|
56084
|
+
const deserializeAws_ec2PrivateDnsNameOptionsOnLaunch = (output, context) => {
|
|
56085
|
+
const contents = {
|
|
56086
|
+
HostnameType: undefined,
|
|
56087
|
+
EnableResourceNameDnsARecord: undefined,
|
|
56088
|
+
EnableResourceNameDnsAAAARecord: undefined,
|
|
56089
|
+
};
|
|
56090
|
+
if (output["hostnameType"] !== undefined) {
|
|
56091
|
+
contents.HostnameType = smithy_client_1.expectString(output["hostnameType"]);
|
|
56092
|
+
}
|
|
56093
|
+
if (output["enableResourceNameDnsARecord"] !== undefined) {
|
|
56094
|
+
contents.EnableResourceNameDnsARecord = smithy_client_1.parseBoolean(output["enableResourceNameDnsARecord"]);
|
|
56095
|
+
}
|
|
56096
|
+
if (output["enableResourceNameDnsAAAARecord"] !== undefined) {
|
|
56097
|
+
contents.EnableResourceNameDnsAAAARecord = smithy_client_1.parseBoolean(output["enableResourceNameDnsAAAARecord"]);
|
|
56098
|
+
}
|
|
56099
|
+
return contents;
|
|
56100
|
+
};
|
|
56101
|
+
const deserializeAws_ec2PrivateDnsNameOptionsResponse = (output, context) => {
|
|
56102
|
+
const contents = {
|
|
56103
|
+
HostnameType: undefined,
|
|
56104
|
+
EnableResourceNameDnsARecord: undefined,
|
|
56105
|
+
EnableResourceNameDnsAAAARecord: undefined,
|
|
56106
|
+
};
|
|
56107
|
+
if (output["hostnameType"] !== undefined) {
|
|
56108
|
+
contents.HostnameType = smithy_client_1.expectString(output["hostnameType"]);
|
|
56109
|
+
}
|
|
56110
|
+
if (output["enableResourceNameDnsARecord"] !== undefined) {
|
|
56111
|
+
contents.EnableResourceNameDnsARecord = smithy_client_1.parseBoolean(output["enableResourceNameDnsARecord"]);
|
|
56112
|
+
}
|
|
56113
|
+
if (output["enableResourceNameDnsAAAARecord"] !== undefined) {
|
|
56114
|
+
contents.EnableResourceNameDnsAAAARecord = smithy_client_1.parseBoolean(output["enableResourceNameDnsAAAARecord"]);
|
|
56115
|
+
}
|
|
56116
|
+
return contents;
|
|
56117
|
+
};
|
|
55907
56118
|
const deserializeAws_ec2PrivateIpAddressSpecification = (output, context) => {
|
|
55908
56119
|
const contents = {
|
|
55909
56120
|
Primary: undefined,
|
|
@@ -57039,6 +57250,7 @@ const deserializeAws_ec2ResponseLaunchTemplateData = (output, context) => {
|
|
|
57039
57250
|
MetadataOptions: undefined,
|
|
57040
57251
|
EnclaveOptions: undefined,
|
|
57041
57252
|
InstanceRequirements: undefined,
|
|
57253
|
+
PrivateDnsNameOptions: undefined,
|
|
57042
57254
|
};
|
|
57043
57255
|
if (output["kernelId"] !== undefined) {
|
|
57044
57256
|
contents.KernelId = smithy_client_1.expectString(output["kernelId"]);
|
|
@@ -57151,6 +57363,9 @@ const deserializeAws_ec2ResponseLaunchTemplateData = (output, context) => {
|
|
|
57151
57363
|
if (output["instanceRequirements"] !== undefined) {
|
|
57152
57364
|
contents.InstanceRequirements = deserializeAws_ec2InstanceRequirements(output["instanceRequirements"], context);
|
|
57153
57365
|
}
|
|
57366
|
+
if (output["privateDnsNameOptions"] !== undefined) {
|
|
57367
|
+
contents.PrivateDnsNameOptions = deserializeAws_ec2LaunchTemplatePrivateDnsNameOptions(output["privateDnsNameOptions"], context);
|
|
57368
|
+
}
|
|
57154
57369
|
return contents;
|
|
57155
57370
|
};
|
|
57156
57371
|
const deserializeAws_ec2RestoreAddressToClassicResult = (output, context) => {
|
|
@@ -59087,6 +59302,8 @@ const deserializeAws_ec2Subnet = (output, context) => {
|
|
|
59087
59302
|
SubnetArn: undefined,
|
|
59088
59303
|
OutpostArn: undefined,
|
|
59089
59304
|
EnableDns64: undefined,
|
|
59305
|
+
Ipv6Native: undefined,
|
|
59306
|
+
PrivateDnsNameOptionsOnLaunch: undefined,
|
|
59090
59307
|
};
|
|
59091
59308
|
if (output["availabilityZone"] !== undefined) {
|
|
59092
59309
|
contents.AvailabilityZone = smithy_client_1.expectString(output["availabilityZone"]);
|
|
@@ -59149,6 +59366,12 @@ const deserializeAws_ec2Subnet = (output, context) => {
|
|
|
59149
59366
|
if (output["enableDns64"] !== undefined) {
|
|
59150
59367
|
contents.EnableDns64 = smithy_client_1.parseBoolean(output["enableDns64"]);
|
|
59151
59368
|
}
|
|
59369
|
+
if (output["ipv6Native"] !== undefined) {
|
|
59370
|
+
contents.Ipv6Native = smithy_client_1.parseBoolean(output["ipv6Native"]);
|
|
59371
|
+
}
|
|
59372
|
+
if (output["privateDnsNameOptionsOnLaunch"] !== undefined) {
|
|
59373
|
+
contents.PrivateDnsNameOptionsOnLaunch = deserializeAws_ec2PrivateDnsNameOptionsOnLaunch(output["privateDnsNameOptionsOnLaunch"], context);
|
|
59374
|
+
}
|
|
59152
59375
|
return contents;
|
|
59153
59376
|
};
|
|
59154
59377
|
const deserializeAws_ec2SubnetAssociation = (output, context) => {
|
package/dist-es/EC2.js
CHANGED
|
@@ -391,6 +391,7 @@ import { ModifyInstancePlacementCommand, } from "./commands/ModifyInstancePlacem
|
|
|
391
391
|
import { ModifyLaunchTemplateCommand, } from "./commands/ModifyLaunchTemplateCommand";
|
|
392
392
|
import { ModifyManagedPrefixListCommand, } from "./commands/ModifyManagedPrefixListCommand";
|
|
393
393
|
import { ModifyNetworkInterfaceAttributeCommand, } from "./commands/ModifyNetworkInterfaceAttributeCommand";
|
|
394
|
+
import { ModifyPrivateDnsNameOptionsCommand, } from "./commands/ModifyPrivateDnsNameOptionsCommand";
|
|
394
395
|
import { ModifyReservedInstancesCommand, } from "./commands/ModifyReservedInstancesCommand";
|
|
395
396
|
import { ModifySecurityGroupRulesCommand, } from "./commands/ModifySecurityGroupRulesCommand";
|
|
396
397
|
import { ModifySnapshotAttributeCommand, } from "./commands/ModifySnapshotAttributeCommand";
|
|
@@ -5966,6 +5967,20 @@ var EC2 = (function (_super) {
|
|
|
5966
5967
|
return this.send(command, optionsOrCb);
|
|
5967
5968
|
}
|
|
5968
5969
|
};
|
|
5970
|
+
EC2.prototype.modifyPrivateDnsNameOptions = function (args, optionsOrCb, cb) {
|
|
5971
|
+
var command = new ModifyPrivateDnsNameOptionsCommand(args);
|
|
5972
|
+
if (typeof optionsOrCb === "function") {
|
|
5973
|
+
this.send(command, optionsOrCb);
|
|
5974
|
+
}
|
|
5975
|
+
else if (typeof cb === "function") {
|
|
5976
|
+
if (typeof optionsOrCb !== "object")
|
|
5977
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
5978
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5979
|
+
}
|
|
5980
|
+
else {
|
|
5981
|
+
return this.send(command, optionsOrCb);
|
|
5982
|
+
}
|
|
5983
|
+
};
|
|
5969
5984
|
EC2.prototype.modifyReservedInstances = function (args, optionsOrCb, cb) {
|
|
5970
5985
|
var command = new ModifyReservedInstancesCommand(args);
|
|
5971
5986
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateVpcEndpointConnectionNotificationRequest
|
|
4
|
+
import { CreateVpcEndpointConnectionNotificationRequest } from "../models/models_1";
|
|
5
|
+
import { CreateVpcEndpointConnectionNotificationResult } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_ec2CreateVpcEndpointConnectionNotificationCommand, serializeAws_ec2CreateVpcEndpointConnectionNotificationCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
var CreateVpcEndpointConnectionNotificationCommand = (function (_super) {
|
|
7
8
|
__extends(CreateVpcEndpointConnectionNotificationCommand, _super);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeHostReservationsRequest
|
|
4
|
+
import { DescribeHostReservationsRequest } from "../models/models_2";
|
|
5
|
+
import { DescribeHostReservationsResult } from "../models/models_3";
|
|
5
6
|
import { deserializeAws_ec2DescribeHostReservationsCommand, serializeAws_ec2DescribeHostReservationsCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
var DescribeHostReservationsCommand = (function (_super) {
|
|
7
8
|
__extends(DescribeHostReservationsCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeHostsRequest } from "../models/
|
|
5
|
-
import { DescribeHostsResult } from "../models/models_3";
|
|
4
|
+
import { DescribeHostsRequest, DescribeHostsResult } from "../models/models_3";
|
|
6
5
|
import { deserializeAws_ec2DescribeHostsCommand, serializeAws_ec2DescribeHostsCommand } from "../protocols/Aws_ec2";
|
|
7
6
|
var DescribeHostsCommand = (function (_super) {
|
|
8
7
|
__extends(DescribeHostsCommand, _super);
|