@aws-sdk/client-ec2 3.48.0 → 3.52.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 +41 -0
- package/dist-cjs/EC2.js +30 -0
- package/dist-cjs/commands/ListImagesInRecycleBinCommand.js +36 -0
- package/dist-cjs/commands/ResetInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ResetNetworkInterfaceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ResetSnapshotAttributeCommand.js +2 -2
- package/dist-cjs/commands/RestoreImageFromRecycleBinCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_5.js +23 -23
- package/dist-cjs/models/models_6.js +32 -2
- package/dist-cjs/pagination/ListImagesInRecycleBinPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_ec2.js +207 -13
- package/dist-es/EC2.js +30 -0
- package/dist-es/commands/ListImagesInRecycleBinCommand.js +39 -0
- package/dist-es/commands/ResetInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ResetNetworkInterfaceAttributeCommand.js +1 -1
- package/dist-es/commands/ResetSnapshotAttributeCommand.js +1 -1
- package/dist-es/commands/RestoreImageFromRecycleBinCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_5.js +12 -12
- package/dist-es/models/models_6.js +20 -0
- package/dist-es/pagination/ListImagesInRecycleBinPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +199 -0
- package/dist-types/EC2.d.ts +47 -12
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterImageCommand.d.ts +12 -4
- package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +3 -0
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +3 -0
- package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +37 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +30 -2
- package/dist-types/models/models_1.d.ts +16 -14
- package/dist-types/models/models_2.d.ts +35 -10
- package/dist-types/models/models_3.d.ts +104 -22
- package/dist-types/models/models_4.d.ts +6 -20
- package/dist-types/models/models_5.d.ts +90 -75
- package/dist-types/models/models_6.d.ts +135 -2
- package/dist-types/pagination/ListImagesInRecycleBinPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/ts3.4/EC2.d.ts +10 -0
- package/dist-types/ts3.4/EC2Client.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/models/models_2.d.ts +5 -0
- package/dist-types/ts3.4/models/models_5.d.ts +43 -37
- package/dist-types/ts3.4/models/models_6.d.ts +57 -2
- package/dist-types/ts3.4/pagination/ListImagesInRecycleBinPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
- package/package.json +42 -36
|
@@ -8,19 +8,19 @@ exports.serializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand = exports.s
|
|
|
8
8
|
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_ec2DescribeSnapshotTierStatusCommand = 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 = 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_ec2DescribeNetworkInsightsAccessScopesCommand = exports.serializeAws_ec2DescribeNetworkInsightsAccessScopeAnalysesCommand = exports.serializeAws_ec2DescribeNetworkAclsCommand = exports.serializeAws_ec2DescribeNatGatewaysCommand = exports.serializeAws_ec2DescribeMovingAddressesCommand = exports.serializeAws_ec2DescribeManagedPrefixListsCommand = void 0;
|
|
9
9
|
exports.serializeAws_ec2EnableIpamOrganizationAdminAccountCommand = exports.serializeAws_ec2EnableImageDeprecationCommand = exports.serializeAws_ec2EnableFastSnapshotRestoresCommand = exports.serializeAws_ec2EnableFastLaunchCommand = 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_ec2DisableIpamOrganizationAdminAccountCommand = exports.serializeAws_ec2DisableImageDeprecationCommand = exports.serializeAws_ec2DisableFastSnapshotRestoresCommand = exports.serializeAws_ec2DisableFastLaunchCommand = exports.serializeAws_ec2DisableEbsEncryptionByDefaultCommand = exports.serializeAws_ec2DetachVpnGatewayCommand = exports.serializeAws_ec2DetachVolumeCommand = exports.serializeAws_ec2DetachNetworkInterfaceCommand = 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 = void 0;
|
|
10
10
|
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_ec2GetNetworkInsightsAccessScopeContentCommand = exports.serializeAws_ec2GetNetworkInsightsAccessScopeAnalysisFindingsCommand = exports.serializeAws_ec2GetManagedPrefixListEntriesCommand = exports.serializeAws_ec2GetManagedPrefixListAssociationsCommand = exports.serializeAws_ec2GetLaunchTemplateDataCommand = exports.serializeAws_ec2GetIpamResourceCidrsCommand = exports.serializeAws_ec2GetIpamPoolCidrsCommand = exports.serializeAws_ec2GetIpamPoolAllocationsCommand = exports.serializeAws_ec2GetIpamAddressHistoryCommand = 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 = void 0;
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
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_ec2StartNetworkInsightsAccessScopeAnalysisCommand = 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_ec2RestoreSnapshotTierCommand = exports.deserializeAws_ec2RestoreSnapshotFromRecycleBinCommand = 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 = void 0;
|
|
11
|
+
exports.serializeAws_ec2ModifyVpcEndpointServicePermissionsCommand = exports.serializeAws_ec2ModifyVpcEndpointServicePayerResponsibilityCommand = 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 = exports.serializeAws_ec2ModifyTrafficMirrorFilterRuleCommand = exports.serializeAws_ec2ModifyTrafficMirrorFilterNetworkServicesCommand = exports.serializeAws_ec2ModifySubnetAttributeCommand = exports.serializeAws_ec2ModifySpotFleetRequestCommand = exports.serializeAws_ec2ModifySnapshotTierCommand = exports.serializeAws_ec2ModifySnapshotAttributeCommand = exports.serializeAws_ec2ModifySecurityGroupRulesCommand = exports.serializeAws_ec2ModifyReservedInstancesCommand = exports.serializeAws_ec2ModifyPrivateDnsNameOptionsCommand = exports.serializeAws_ec2ModifyNetworkInterfaceAttributeCommand = exports.serializeAws_ec2ModifyManagedPrefixListCommand = exports.serializeAws_ec2ModifyLaunchTemplateCommand = exports.serializeAws_ec2ModifyIpamScopeCommand = exports.serializeAws_ec2ModifyIpamResourceCidrCommand = exports.serializeAws_ec2ModifyIpamPoolCommand = exports.serializeAws_ec2ModifyIpamCommand = 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_ec2ListSnapshotsInRecycleBinCommand = exports.serializeAws_ec2ListImagesInRecycleBinCommand = void 0;
|
|
12
|
+
exports.serializeAws_ec2RevokeClientVpnIngressCommand = exports.serializeAws_ec2RestoreSnapshotTierCommand = exports.serializeAws_ec2RestoreSnapshotFromRecycleBinCommand = exports.serializeAws_ec2RestoreManagedPrefixListVersionCommand = exports.serializeAws_ec2RestoreImageFromRecycleBinCommand = exports.serializeAws_ec2RestoreAddressToClassicCommand = exports.serializeAws_ec2ResetSnapshotAttributeCommand = 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_ec2ReleaseIpamPoolAllocationCommand = 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_ec2ProvisionPublicIpv4PoolCidrCommand = exports.serializeAws_ec2ProvisionIpamPoolCidrCommand = exports.serializeAws_ec2ProvisionByoipCidrCommand = exports.serializeAws_ec2MoveByoipCidrToIpamCommand = exports.serializeAws_ec2MoveAddressToVpcCommand = exports.serializeAws_ec2MonitorInstancesCommand = exports.serializeAws_ec2ModifyVpnTunnelOptionsCommand = exports.serializeAws_ec2ModifyVpnTunnelCertificateCommand = exports.serializeAws_ec2ModifyVpnConnectionOptionsCommand = exports.serializeAws_ec2ModifyVpnConnectionCommand = exports.serializeAws_ec2ModifyVpcTenancyCommand = exports.serializeAws_ec2ModifyVpcPeeringConnectionOptionsCommand = void 0;
|
|
13
|
+
exports.deserializeAws_ec2AttachVolumeCommand = exports.deserializeAws_ec2AttachNetworkInterfaceCommand = 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_ec2AllocateIpamPoolCidrCommand = 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_ec2StartNetworkInsightsAccessScopeAnalysisCommand = 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 = void 0;
|
|
14
|
+
exports.deserializeAws_ec2CreateNetworkInterfaceCommand = exports.deserializeAws_ec2CreateNetworkInsightsPathCommand = exports.deserializeAws_ec2CreateNetworkInsightsAccessScopeCommand = 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_ec2CreateIpamScopeCommand = exports.deserializeAws_ec2CreateIpamPoolCommand = exports.deserializeAws_ec2CreateIpamCommand = 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 = void 0;
|
|
15
|
+
exports.deserializeAws_ec2DeleteIpamCommand = 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 = exports.deserializeAws_ec2CreatePublicIpv4PoolCommand = exports.deserializeAws_ec2CreatePlacementGroupCommand = exports.deserializeAws_ec2CreateNetworkInterfacePermissionCommand = void 0;
|
|
16
|
+
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_ec2DeletePublicIpv4PoolCommand = exports.deserializeAws_ec2DeletePlacementGroupCommand = exports.deserializeAws_ec2DeleteNetworkInterfacePermissionCommand = exports.deserializeAws_ec2DeleteNetworkInterfaceCommand = exports.deserializeAws_ec2DeleteNetworkInsightsPathCommand = exports.deserializeAws_ec2DeleteNetworkInsightsAnalysisCommand = exports.deserializeAws_ec2DeleteNetworkInsightsAccessScopeAnalysisCommand = exports.deserializeAws_ec2DeleteNetworkInsightsAccessScopeCommand = exports.deserializeAws_ec2DeleteNetworkAclEntryCommand = exports.deserializeAws_ec2DeleteNetworkAclCommand = exports.deserializeAws_ec2DeleteNatGatewayCommand = exports.deserializeAws_ec2DeleteManagedPrefixListCommand = exports.deserializeAws_ec2DeleteLocalGatewayRouteTableVpcAssociationCommand = exports.deserializeAws_ec2DeleteLocalGatewayRouteCommand = exports.deserializeAws_ec2DeleteLaunchTemplateVersionsCommand = exports.deserializeAws_ec2DeleteLaunchTemplateCommand = exports.deserializeAws_ec2DeleteKeyPairCommand = exports.deserializeAws_ec2DeleteIpamScopeCommand = exports.deserializeAws_ec2DeleteIpamPoolCommand = void 0;
|
|
17
|
+
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_ec2DescribeFastLaunchImagesCommand = 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 = 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_ec2DeprovisionPublicIpv4PoolCidrCommand = exports.deserializeAws_ec2DeprovisionIpamPoolCidrCommand = exports.deserializeAws_ec2DeprovisionByoipCidrCommand = void 0;
|
|
18
|
+
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_ec2DescribeNetworkInsightsAccessScopesCommand = exports.deserializeAws_ec2DescribeNetworkInsightsAccessScopeAnalysesCommand = 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 = exports.deserializeAws_ec2DescribeLaunchTemplateVersionsCommand = exports.deserializeAws_ec2DescribeLaunchTemplatesCommand = exports.deserializeAws_ec2DescribeKeyPairsCommand = exports.deserializeAws_ec2DescribeIpv6PoolsCommand = exports.deserializeAws_ec2DescribeIpamScopesCommand = exports.deserializeAws_ec2DescribeIpamsCommand = exports.deserializeAws_ec2DescribeIpamPoolsCommand = exports.deserializeAws_ec2DescribeInternetGatewaysCommand = exports.deserializeAws_ec2DescribeInstanceTypesCommand = exports.deserializeAws_ec2DescribeInstanceTypeOfferingsCommand = exports.deserializeAws_ec2DescribeInstanceStatusCommand = exports.deserializeAws_ec2DescribeInstancesCommand = exports.deserializeAws_ec2DescribeInstanceEventWindowsCommand = exports.deserializeAws_ec2DescribeInstanceEventNotificationAttributesCommand = exports.deserializeAws_ec2DescribeInstanceCreditSpecificationsCommand = void 0;
|
|
19
|
+
exports.deserializeAws_ec2DisableIpamOrganizationAdminAccountCommand = exports.deserializeAws_ec2DisableImageDeprecationCommand = exports.deserializeAws_ec2DisableFastSnapshotRestoresCommand = exports.deserializeAws_ec2DisableFastLaunchCommand = 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 = 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_ec2DescribeSnapshotTierStatusCommand = void 0;
|
|
20
|
+
exports.deserializeAws_ec2GetManagedPrefixListAssociationsCommand = exports.deserializeAws_ec2GetLaunchTemplateDataCommand = exports.deserializeAws_ec2GetIpamResourceCidrsCommand = exports.deserializeAws_ec2GetIpamPoolCidrsCommand = exports.deserializeAws_ec2GetIpamPoolAllocationsCommand = exports.deserializeAws_ec2GetIpamAddressHistoryCommand = 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 = exports.deserializeAws_ec2EnableSerialConsoleAccessCommand = exports.deserializeAws_ec2EnableIpamOrganizationAdminAccountCommand = exports.deserializeAws_ec2EnableImageDeprecationCommand = exports.deserializeAws_ec2EnableFastSnapshotRestoresCommand = exports.deserializeAws_ec2EnableFastLaunchCommand = 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 = void 0;
|
|
21
|
+
exports.deserializeAws_ec2ModifyNetworkInterfaceAttributeCommand = exports.deserializeAws_ec2ModifyManagedPrefixListCommand = exports.deserializeAws_ec2ModifyLaunchTemplateCommand = exports.deserializeAws_ec2ModifyIpamScopeCommand = exports.deserializeAws_ec2ModifyIpamResourceCidrCommand = exports.deserializeAws_ec2ModifyIpamPoolCommand = exports.deserializeAws_ec2ModifyIpamCommand = 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 = exports.deserializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand = exports.deserializeAws_ec2ModifyDefaultCreditSpecificationCommand = exports.deserializeAws_ec2ModifyClientVpnEndpointCommand = exports.deserializeAws_ec2ModifyCapacityReservationFleetCommand = exports.deserializeAws_ec2ModifyCapacityReservationCommand = exports.deserializeAws_ec2ModifyAvailabilityZoneGroupCommand = exports.deserializeAws_ec2ModifyAddressAttributeCommand = exports.deserializeAws_ec2ListSnapshotsInRecycleBinCommand = exports.deserializeAws_ec2ListImagesInRecycleBinCommand = 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_ec2GetNetworkInsightsAccessScopeContentCommand = exports.deserializeAws_ec2GetNetworkInsightsAccessScopeAnalysisFindingsCommand = exports.deserializeAws_ec2GetManagedPrefixListEntriesCommand = void 0;
|
|
22
|
+
exports.deserializeAws_ec2ReplaceIamInstanceProfileAssociationCommand = exports.deserializeAws_ec2ReleaseIpamPoolAllocationCommand = 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 = exports.deserializeAws_ec2RegisterInstanceEventNotificationAttributesCommand = exports.deserializeAws_ec2RegisterImageCommand = exports.deserializeAws_ec2RebootInstancesCommand = exports.deserializeAws_ec2PurchaseScheduledInstancesCommand = exports.deserializeAws_ec2PurchaseReservedInstancesOfferingCommand = exports.deserializeAws_ec2PurchaseHostReservationCommand = exports.deserializeAws_ec2ProvisionPublicIpv4PoolCidrCommand = exports.deserializeAws_ec2ProvisionIpamPoolCidrCommand = exports.deserializeAws_ec2ProvisionByoipCidrCommand = exports.deserializeAws_ec2MoveByoipCidrToIpamCommand = 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_ec2ModifyVpcEndpointServicePayerResponsibilityCommand = 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_ec2ModifySnapshotTierCommand = exports.deserializeAws_ec2ModifySnapshotAttributeCommand = exports.deserializeAws_ec2ModifySecurityGroupRulesCommand = exports.deserializeAws_ec2ModifyReservedInstancesCommand = exports.deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand = void 0;
|
|
23
|
+
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_ec2StartNetworkInsightsAccessScopeAnalysisCommand = 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_ec2RestoreSnapshotTierCommand = exports.deserializeAws_ec2RestoreSnapshotFromRecycleBinCommand = exports.deserializeAws_ec2RestoreManagedPrefixListVersionCommand = exports.deserializeAws_ec2RestoreImageFromRecycleBinCommand = 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 = void 0;
|
|
24
24
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
25
25
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
26
26
|
const entities_1 = require("entities");
|
|
@@ -5226,6 +5226,19 @@ const serializeAws_ec2ImportVolumeCommand = async (input, context) => {
|
|
|
5226
5226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5227
5227
|
};
|
|
5228
5228
|
exports.serializeAws_ec2ImportVolumeCommand = serializeAws_ec2ImportVolumeCommand;
|
|
5229
|
+
const serializeAws_ec2ListImagesInRecycleBinCommand = async (input, context) => {
|
|
5230
|
+
const headers = {
|
|
5231
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5232
|
+
};
|
|
5233
|
+
let body;
|
|
5234
|
+
body = buildFormUrlencodedString({
|
|
5235
|
+
...serializeAws_ec2ListImagesInRecycleBinRequest(input, context),
|
|
5236
|
+
Action: "ListImagesInRecycleBin",
|
|
5237
|
+
Version: "2016-11-15",
|
|
5238
|
+
});
|
|
5239
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5240
|
+
};
|
|
5241
|
+
exports.serializeAws_ec2ListImagesInRecycleBinCommand = serializeAws_ec2ListImagesInRecycleBinCommand;
|
|
5229
5242
|
const serializeAws_ec2ListSnapshotsInRecycleBinCommand = async (input, context) => {
|
|
5230
5243
|
const headers = {
|
|
5231
5244
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -6448,6 +6461,19 @@ const serializeAws_ec2RestoreAddressToClassicCommand = async (input, context) =>
|
|
|
6448
6461
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
6449
6462
|
};
|
|
6450
6463
|
exports.serializeAws_ec2RestoreAddressToClassicCommand = serializeAws_ec2RestoreAddressToClassicCommand;
|
|
6464
|
+
const serializeAws_ec2RestoreImageFromRecycleBinCommand = async (input, context) => {
|
|
6465
|
+
const headers = {
|
|
6466
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
6467
|
+
};
|
|
6468
|
+
let body;
|
|
6469
|
+
body = buildFormUrlencodedString({
|
|
6470
|
+
...serializeAws_ec2RestoreImageFromRecycleBinRequest(input, context),
|
|
6471
|
+
Action: "RestoreImageFromRecycleBin",
|
|
6472
|
+
Version: "2016-11-15",
|
|
6473
|
+
});
|
|
6474
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
6475
|
+
};
|
|
6476
|
+
exports.serializeAws_ec2RestoreImageFromRecycleBinCommand = serializeAws_ec2RestoreImageFromRecycleBinCommand;
|
|
6451
6477
|
const serializeAws_ec2RestoreManagedPrefixListVersionCommand = async (input, context) => {
|
|
6452
6478
|
const headers = {
|
|
6453
6479
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -22265,6 +22291,45 @@ const deserializeAws_ec2ImportVolumeCommandError = async (output, context) => {
|
|
|
22265
22291
|
delete response.Message;
|
|
22266
22292
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
22267
22293
|
};
|
|
22294
|
+
const deserializeAws_ec2ListImagesInRecycleBinCommand = async (output, context) => {
|
|
22295
|
+
if (output.statusCode >= 300) {
|
|
22296
|
+
return deserializeAws_ec2ListImagesInRecycleBinCommandError(output, context);
|
|
22297
|
+
}
|
|
22298
|
+
const data = await parseBody(output.body, context);
|
|
22299
|
+
let contents = {};
|
|
22300
|
+
contents = deserializeAws_ec2ListImagesInRecycleBinResult(data, context);
|
|
22301
|
+
const response = {
|
|
22302
|
+
$metadata: deserializeMetadata(output),
|
|
22303
|
+
...contents,
|
|
22304
|
+
};
|
|
22305
|
+
return Promise.resolve(response);
|
|
22306
|
+
};
|
|
22307
|
+
exports.deserializeAws_ec2ListImagesInRecycleBinCommand = deserializeAws_ec2ListImagesInRecycleBinCommand;
|
|
22308
|
+
const deserializeAws_ec2ListImagesInRecycleBinCommandError = async (output, context) => {
|
|
22309
|
+
const parsedOutput = {
|
|
22310
|
+
...output,
|
|
22311
|
+
body: await parseBody(output.body, context),
|
|
22312
|
+
};
|
|
22313
|
+
let response;
|
|
22314
|
+
let errorCode = "UnknownError";
|
|
22315
|
+
errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
22316
|
+
switch (errorCode) {
|
|
22317
|
+
default:
|
|
22318
|
+
const parsedBody = parsedOutput.body;
|
|
22319
|
+
errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode;
|
|
22320
|
+
response = {
|
|
22321
|
+
...parsedBody.Errors.Error,
|
|
22322
|
+
name: `${errorCode}`,
|
|
22323
|
+
message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.Message || errorCode,
|
|
22324
|
+
$fault: "client",
|
|
22325
|
+
$metadata: deserializeMetadata(output),
|
|
22326
|
+
};
|
|
22327
|
+
}
|
|
22328
|
+
const message = response.message || response.Message || errorCode;
|
|
22329
|
+
response.message = message;
|
|
22330
|
+
delete response.Message;
|
|
22331
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
22332
|
+
};
|
|
22268
22333
|
const deserializeAws_ec2ListSnapshotsInRecycleBinCommand = async (output, context) => {
|
|
22269
22334
|
if (output.statusCode >= 300) {
|
|
22270
22335
|
return deserializeAws_ec2ListSnapshotsInRecycleBinCommandError(output, context);
|
|
@@ -25877,6 +25942,45 @@ const deserializeAws_ec2RestoreAddressToClassicCommandError = async (output, con
|
|
|
25877
25942
|
delete response.Message;
|
|
25878
25943
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
25879
25944
|
};
|
|
25945
|
+
const deserializeAws_ec2RestoreImageFromRecycleBinCommand = async (output, context) => {
|
|
25946
|
+
if (output.statusCode >= 300) {
|
|
25947
|
+
return deserializeAws_ec2RestoreImageFromRecycleBinCommandError(output, context);
|
|
25948
|
+
}
|
|
25949
|
+
const data = await parseBody(output.body, context);
|
|
25950
|
+
let contents = {};
|
|
25951
|
+
contents = deserializeAws_ec2RestoreImageFromRecycleBinResult(data, context);
|
|
25952
|
+
const response = {
|
|
25953
|
+
$metadata: deserializeMetadata(output),
|
|
25954
|
+
...contents,
|
|
25955
|
+
};
|
|
25956
|
+
return Promise.resolve(response);
|
|
25957
|
+
};
|
|
25958
|
+
exports.deserializeAws_ec2RestoreImageFromRecycleBinCommand = deserializeAws_ec2RestoreImageFromRecycleBinCommand;
|
|
25959
|
+
const deserializeAws_ec2RestoreImageFromRecycleBinCommandError = async (output, context) => {
|
|
25960
|
+
const parsedOutput = {
|
|
25961
|
+
...output,
|
|
25962
|
+
body: await parseBody(output.body, context),
|
|
25963
|
+
};
|
|
25964
|
+
let response;
|
|
25965
|
+
let errorCode = "UnknownError";
|
|
25966
|
+
errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
25967
|
+
switch (errorCode) {
|
|
25968
|
+
default:
|
|
25969
|
+
const parsedBody = parsedOutput.body;
|
|
25970
|
+
errorCode = parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode;
|
|
25971
|
+
response = {
|
|
25972
|
+
...parsedBody.Errors.Error,
|
|
25973
|
+
name: `${errorCode}`,
|
|
25974
|
+
message: parsedBody.Errors.Error.message || parsedBody.Errors.Error.Message || errorCode,
|
|
25975
|
+
$fault: "client",
|
|
25976
|
+
$metadata: deserializeMetadata(output),
|
|
25977
|
+
};
|
|
25978
|
+
}
|
|
25979
|
+
const message = response.message || response.Message || errorCode;
|
|
25980
|
+
response.message = message;
|
|
25981
|
+
delete response.Message;
|
|
25982
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
25983
|
+
};
|
|
25880
25984
|
const deserializeAws_ec2RestoreManagedPrefixListVersionCommand = async (output, context) => {
|
|
25881
25985
|
if (output.statusCode >= 300) {
|
|
25882
25986
|
return deserializeAws_ec2RestoreManagedPrefixListVersionCommandError(output, context);
|
|
@@ -38595,6 +38699,26 @@ const serializeAws_ec2LicenseSpecificationListRequest = (input, context) => {
|
|
|
38595
38699
|
}
|
|
38596
38700
|
return entries;
|
|
38597
38701
|
};
|
|
38702
|
+
const serializeAws_ec2ListImagesInRecycleBinRequest = (input, context) => {
|
|
38703
|
+
const entries = {};
|
|
38704
|
+
if (input.ImageIds !== undefined && input.ImageIds !== null) {
|
|
38705
|
+
const memberEntries = serializeAws_ec2ImageIdStringList(input.ImageIds, context);
|
|
38706
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38707
|
+
const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`;
|
|
38708
|
+
entries[loc] = value;
|
|
38709
|
+
});
|
|
38710
|
+
}
|
|
38711
|
+
if (input.NextToken !== undefined && input.NextToken !== null) {
|
|
38712
|
+
entries["NextToken"] = input.NextToken;
|
|
38713
|
+
}
|
|
38714
|
+
if (input.MaxResults !== undefined && input.MaxResults !== null) {
|
|
38715
|
+
entries["MaxResults"] = input.MaxResults;
|
|
38716
|
+
}
|
|
38717
|
+
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
38718
|
+
entries["DryRun"] = input.DryRun;
|
|
38719
|
+
}
|
|
38720
|
+
return entries;
|
|
38721
|
+
};
|
|
38598
38722
|
const serializeAws_ec2ListSnapshotsInRecycleBinRequest = (input, context) => {
|
|
38599
38723
|
const entries = {};
|
|
38600
38724
|
if (input.MaxResults !== undefined && input.MaxResults !== null) {
|
|
@@ -42545,6 +42669,16 @@ const serializeAws_ec2RestoreAddressToClassicRequest = (input, context) => {
|
|
|
42545
42669
|
}
|
|
42546
42670
|
return entries;
|
|
42547
42671
|
};
|
|
42672
|
+
const serializeAws_ec2RestoreImageFromRecycleBinRequest = (input, context) => {
|
|
42673
|
+
const entries = {};
|
|
42674
|
+
if (input.ImageId !== undefined && input.ImageId !== null) {
|
|
42675
|
+
entries["ImageId"] = input.ImageId;
|
|
42676
|
+
}
|
|
42677
|
+
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
42678
|
+
entries["DryRun"] = input.DryRun;
|
|
42679
|
+
}
|
|
42680
|
+
return entries;
|
|
42681
|
+
};
|
|
42548
42682
|
const serializeAws_ec2RestoreManagedPrefixListVersionRequest = (input, context) => {
|
|
42549
42683
|
const entries = {};
|
|
42550
42684
|
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
@@ -54880,6 +55014,41 @@ const deserializeAws_ec2ImageList = (output, context) => {
|
|
|
54880
55014
|
return deserializeAws_ec2Image(entry, context);
|
|
54881
55015
|
});
|
|
54882
55016
|
};
|
|
55017
|
+
const deserializeAws_ec2ImageRecycleBinInfo = (output, context) => {
|
|
55018
|
+
const contents = {
|
|
55019
|
+
ImageId: undefined,
|
|
55020
|
+
Name: undefined,
|
|
55021
|
+
Description: undefined,
|
|
55022
|
+
RecycleBinEnterTime: undefined,
|
|
55023
|
+
RecycleBinExitTime: undefined,
|
|
55024
|
+
};
|
|
55025
|
+
if (output["imageId"] !== undefined) {
|
|
55026
|
+
contents.ImageId = smithy_client_1.expectString(output["imageId"]);
|
|
55027
|
+
}
|
|
55028
|
+
if (output["name"] !== undefined) {
|
|
55029
|
+
contents.Name = smithy_client_1.expectString(output["name"]);
|
|
55030
|
+
}
|
|
55031
|
+
if (output["description"] !== undefined) {
|
|
55032
|
+
contents.Description = smithy_client_1.expectString(output["description"]);
|
|
55033
|
+
}
|
|
55034
|
+
if (output["recycleBinEnterTime"] !== undefined) {
|
|
55035
|
+
contents.RecycleBinEnterTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["recycleBinEnterTime"]));
|
|
55036
|
+
}
|
|
55037
|
+
if (output["recycleBinExitTime"] !== undefined) {
|
|
55038
|
+
contents.RecycleBinExitTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["recycleBinExitTime"]));
|
|
55039
|
+
}
|
|
55040
|
+
return contents;
|
|
55041
|
+
};
|
|
55042
|
+
const deserializeAws_ec2ImageRecycleBinInfoList = (output, context) => {
|
|
55043
|
+
return (output || [])
|
|
55044
|
+
.filter((e) => e != null)
|
|
55045
|
+
.map((entry) => {
|
|
55046
|
+
if (entry === null) {
|
|
55047
|
+
return null;
|
|
55048
|
+
}
|
|
55049
|
+
return deserializeAws_ec2ImageRecycleBinInfo(entry, context);
|
|
55050
|
+
});
|
|
55051
|
+
};
|
|
54883
55052
|
const deserializeAws_ec2ImportClientVpnClientCertificateRevocationListResult = (output, context) => {
|
|
54884
55053
|
const contents = {
|
|
54885
55054
|
Return: undefined,
|
|
@@ -58557,6 +58726,22 @@ const deserializeAws_ec2LicenseList = (output, context) => {
|
|
|
58557
58726
|
return deserializeAws_ec2LicenseConfiguration(entry, context);
|
|
58558
58727
|
});
|
|
58559
58728
|
};
|
|
58729
|
+
const deserializeAws_ec2ListImagesInRecycleBinResult = (output, context) => {
|
|
58730
|
+
const contents = {
|
|
58731
|
+
Images: undefined,
|
|
58732
|
+
NextToken: undefined,
|
|
58733
|
+
};
|
|
58734
|
+
if (output.imageSet === "") {
|
|
58735
|
+
contents.Images = [];
|
|
58736
|
+
}
|
|
58737
|
+
if (output["imageSet"] !== undefined && output["imageSet"]["item"] !== undefined) {
|
|
58738
|
+
contents.Images = deserializeAws_ec2ImageRecycleBinInfoList(smithy_client_1.getArrayIfSingleItem(output["imageSet"]["item"]), context);
|
|
58739
|
+
}
|
|
58740
|
+
if (output["nextToken"] !== undefined) {
|
|
58741
|
+
contents.NextToken = smithy_client_1.expectString(output["nextToken"]);
|
|
58742
|
+
}
|
|
58743
|
+
return contents;
|
|
58744
|
+
};
|
|
58560
58745
|
const deserializeAws_ec2ListSnapshotsInRecycleBinResult = (output, context) => {
|
|
58561
58746
|
const contents = {
|
|
58562
58747
|
Snapshots: undefined,
|
|
@@ -62547,6 +62732,15 @@ const deserializeAws_ec2RestoreAddressToClassicResult = (output, context) => {
|
|
|
62547
62732
|
}
|
|
62548
62733
|
return contents;
|
|
62549
62734
|
};
|
|
62735
|
+
const deserializeAws_ec2RestoreImageFromRecycleBinResult = (output, context) => {
|
|
62736
|
+
const contents = {
|
|
62737
|
+
Return: undefined,
|
|
62738
|
+
};
|
|
62739
|
+
if (output["return"] !== undefined) {
|
|
62740
|
+
contents.Return = smithy_client_1.parseBoolean(output["return"]);
|
|
62741
|
+
}
|
|
62742
|
+
return contents;
|
|
62743
|
+
};
|
|
62550
62744
|
const deserializeAws_ec2RestoreManagedPrefixListVersionResult = (output, context) => {
|
|
62551
62745
|
const contents = {
|
|
62552
62746
|
PrefixList: undefined,
|
package/dist-es/EC2.js
CHANGED
|
@@ -399,6 +399,7 @@ import { ImportInstanceCommand, } from "./commands/ImportInstanceCommand";
|
|
|
399
399
|
import { ImportKeyPairCommand, } from "./commands/ImportKeyPairCommand";
|
|
400
400
|
import { ImportSnapshotCommand, } from "./commands/ImportSnapshotCommand";
|
|
401
401
|
import { ImportVolumeCommand, } from "./commands/ImportVolumeCommand";
|
|
402
|
+
import { ListImagesInRecycleBinCommand, } from "./commands/ListImagesInRecycleBinCommand";
|
|
402
403
|
import { ListSnapshotsInRecycleBinCommand, } from "./commands/ListSnapshotsInRecycleBinCommand";
|
|
403
404
|
import { ModifyAddressAttributeCommand, } from "./commands/ModifyAddressAttributeCommand";
|
|
404
405
|
import { ModifyAvailabilityZoneGroupCommand, } from "./commands/ModifyAvailabilityZoneGroupCommand";
|
|
@@ -493,6 +494,7 @@ import { ResetInstanceAttributeCommand, } from "./commands/ResetInstanceAttribut
|
|
|
493
494
|
import { ResetNetworkInterfaceAttributeCommand, } from "./commands/ResetNetworkInterfaceAttributeCommand";
|
|
494
495
|
import { ResetSnapshotAttributeCommand, } from "./commands/ResetSnapshotAttributeCommand";
|
|
495
496
|
import { RestoreAddressToClassicCommand, } from "./commands/RestoreAddressToClassicCommand";
|
|
497
|
+
import { RestoreImageFromRecycleBinCommand, } from "./commands/RestoreImageFromRecycleBinCommand";
|
|
496
498
|
import { RestoreManagedPrefixListVersionCommand, } from "./commands/RestoreManagedPrefixListVersionCommand";
|
|
497
499
|
import { RestoreSnapshotFromRecycleBinCommand, } from "./commands/RestoreSnapshotFromRecycleBinCommand";
|
|
498
500
|
import { RestoreSnapshotTierCommand, } from "./commands/RestoreSnapshotTierCommand";
|
|
@@ -6124,6 +6126,20 @@ var EC2 = (function (_super) {
|
|
|
6124
6126
|
return this.send(command, optionsOrCb);
|
|
6125
6127
|
}
|
|
6126
6128
|
};
|
|
6129
|
+
EC2.prototype.listImagesInRecycleBin = function (args, optionsOrCb, cb) {
|
|
6130
|
+
var command = new ListImagesInRecycleBinCommand(args);
|
|
6131
|
+
if (typeof optionsOrCb === "function") {
|
|
6132
|
+
this.send(command, optionsOrCb);
|
|
6133
|
+
}
|
|
6134
|
+
else if (typeof cb === "function") {
|
|
6135
|
+
if (typeof optionsOrCb !== "object")
|
|
6136
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
6137
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
6138
|
+
}
|
|
6139
|
+
else {
|
|
6140
|
+
return this.send(command, optionsOrCb);
|
|
6141
|
+
}
|
|
6142
|
+
};
|
|
6127
6143
|
EC2.prototype.listSnapshotsInRecycleBin = function (args, optionsOrCb, cb) {
|
|
6128
6144
|
var command = new ListSnapshotsInRecycleBinCommand(args);
|
|
6129
6145
|
if (typeof optionsOrCb === "function") {
|
|
@@ -7440,6 +7456,20 @@ var EC2 = (function (_super) {
|
|
|
7440
7456
|
return this.send(command, optionsOrCb);
|
|
7441
7457
|
}
|
|
7442
7458
|
};
|
|
7459
|
+
EC2.prototype.restoreImageFromRecycleBin = function (args, optionsOrCb, cb) {
|
|
7460
|
+
var command = new RestoreImageFromRecycleBinCommand(args);
|
|
7461
|
+
if (typeof optionsOrCb === "function") {
|
|
7462
|
+
this.send(command, optionsOrCb);
|
|
7463
|
+
}
|
|
7464
|
+
else if (typeof cb === "function") {
|
|
7465
|
+
if (typeof optionsOrCb !== "object")
|
|
7466
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
7467
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
7468
|
+
}
|
|
7469
|
+
else {
|
|
7470
|
+
return this.send(command, optionsOrCb);
|
|
7471
|
+
}
|
|
7472
|
+
};
|
|
7443
7473
|
EC2.prototype.restoreManagedPrefixListVersion = function (args, optionsOrCb, cb) {
|
|
7444
7474
|
var command = new RestoreManagedPrefixListVersionCommand(args);
|
|
7445
7475
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListImagesInRecycleBinRequest, ListImagesInRecycleBinResult } from "../models/models_5";
|
|
5
|
+
import { deserializeAws_ec2ListImagesInRecycleBinCommand, serializeAws_ec2ListImagesInRecycleBinCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
var ListImagesInRecycleBinCommand = (function (_super) {
|
|
7
|
+
__extends(ListImagesInRecycleBinCommand, _super);
|
|
8
|
+
function ListImagesInRecycleBinCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListImagesInRecycleBinCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EC2Client";
|
|
18
|
+
var commandName = "ListImagesInRecycleBinCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListImagesInRecycleBinRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListImagesInRecycleBinResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListImagesInRecycleBinCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_ec2ListImagesInRecycleBinCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListImagesInRecycleBinCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_ec2ListImagesInRecycleBinCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListImagesInRecycleBinCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListImagesInRecycleBinCommand };
|
|
@@ -1,7 +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 { ResetInstanceAttributeRequest } from "../models/
|
|
4
|
+
import { ResetInstanceAttributeRequest } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ResetInstanceAttributeCommand, serializeAws_ec2ResetInstanceAttributeCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
var ResetInstanceAttributeCommand = (function (_super) {
|
|
7
7
|
__extends(ResetInstanceAttributeCommand, _super);
|
|
@@ -1,7 +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 { ResetNetworkInterfaceAttributeRequest } from "../models/
|
|
4
|
+
import { ResetNetworkInterfaceAttributeRequest } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ResetNetworkInterfaceAttributeCommand, serializeAws_ec2ResetNetworkInterfaceAttributeCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
var ResetNetworkInterfaceAttributeCommand = (function (_super) {
|
|
7
7
|
__extends(ResetNetworkInterfaceAttributeCommand, _super);
|
|
@@ -1,7 +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 { ResetSnapshotAttributeRequest } from "../models/
|
|
4
|
+
import { ResetSnapshotAttributeRequest } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ResetSnapshotAttributeCommand, serializeAws_ec2ResetSnapshotAttributeCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
var ResetSnapshotAttributeCommand = (function (_super) {
|
|
7
7
|
__extends(ResetSnapshotAttributeCommand, _super);
|