@aws-sdk/client-ec2 3.56.0 → 3.60.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 +30 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-cjs/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
- package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
- package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +3 -3
- package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
- package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
- package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
- package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/ResetImageAttributeCommand.js +2 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +18 -17
- package/dist-cjs/models/models_1.js +34 -36
- package/dist-cjs/models/models_2.js +36 -36
- package/dist-cjs/models/models_3.js +47 -29
- package/dist-cjs/models/models_4.js +29 -48
- package/dist-cjs/models/models_5.js +60 -48
- package/dist-cjs/models/models_6.js +50 -2
- package/dist-cjs/protocols/Aws_ec2.js +226 -13
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-es/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
- package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
- package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
- package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -1
- package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
- package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
- package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
- package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
- package/dist-es/commands/ResetImageAttributeCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -11
- package/dist-es/models/models_1.js +24 -20
- package/dist-es/models/models_2.js +20 -20
- package/dist-es/models/models_3.js +29 -17
- package/dist-es/models/models_4.js +17 -28
- package/dist-es/models/models_5.js +36 -28
- package/dist-es/models/models_6.js +32 -0
- package/dist-es/protocols/Aws_ec2.js +224 -0
- package/dist-types/EC2.d.ts +91 -65
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +93 -25
- package/dist-types/models/models_1.d.ts +353 -372
- package/dist-types/models/models_2.d.ts +128 -118
- package/dist-types/models/models_3.d.ts +230 -225
- package/dist-types/models/models_4.d.ts +169 -189
- package/dist-types/models/models_5.d.ts +277 -166
- package/dist-types/models/models_6.d.ts +217 -66
- 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/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -9
- package/dist-types/ts3.4/models/models_1.d.ts +36 -68
- package/dist-types/ts3.4/models/models_2.d.ts +69 -65
- package/dist-types/ts3.4/models/models_3.d.ts +89 -53
- package/dist-types/ts3.4/models/models_4.d.ts +53 -103
- package/dist-types/ts3.4/models/models_5.d.ts +125 -74
- package/dist-types/ts3.4/models/models_6.d.ts +84 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +19 -19
|
@@ -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_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;
|
|
11
|
+
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_ec2ModifyInstanceMaintenanceOptionsCommand = 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_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 = exports.serializeAws_ec2ModifyVpcEndpointServicePermissionsCommand = void 0;
|
|
13
|
+
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 = exports.serializeAws_ec2RevokeClientVpnIngressCommand = void 0;
|
|
14
|
+
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 = exports.deserializeAws_ec2AttachVolumeCommand = void 0;
|
|
15
|
+
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 = exports.deserializeAws_ec2CreateNetworkInterfaceCommand = void 0;
|
|
16
|
+
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 = exports.deserializeAws_ec2DeleteIpamCommand = void 0;
|
|
17
|
+
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 = exports.deserializeAws_ec2DeleteVpnGatewayCommand = void 0;
|
|
18
|
+
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 = exports.deserializeAws_ec2DescribeInstanceAttributeCommand = void 0;
|
|
19
|
+
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 = exports.deserializeAws_ec2DescribeSnapshotsCommand = void 0;
|
|
20
|
+
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 = exports.deserializeAws_ec2DisableIpamOrganizationAdminAccountCommand = void 0;
|
|
21
|
+
exports.deserializeAws_ec2ModifyLaunchTemplateCommand = exports.deserializeAws_ec2ModifyIpamScopeCommand = exports.deserializeAws_ec2ModifyIpamResourceCidrCommand = exports.deserializeAws_ec2ModifyIpamPoolCommand = exports.deserializeAws_ec2ModifyIpamCommand = exports.deserializeAws_ec2ModifyInstancePlacementCommand = exports.deserializeAws_ec2ModifyInstanceMetadataOptionsCommand = exports.deserializeAws_ec2ModifyInstanceMaintenanceOptionsCommand = 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 = exports.deserializeAws_ec2GetManagedPrefixListAssociationsCommand = void 0;
|
|
22
|
+
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 = exports.deserializeAws_ec2ModifyNetworkInterfaceAttributeCommand = exports.deserializeAws_ec2ModifyManagedPrefixListCommand = 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 = exports.deserializeAws_ec2ReplaceIamInstanceProfileAssociationCommand = exports.deserializeAws_ec2ReleaseIpamPoolAllocationCommand = 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");
|
|
@@ -5487,6 +5487,19 @@ const serializeAws_ec2ModifyInstanceEventWindowCommand = async (input, context)
|
|
|
5487
5487
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5488
5488
|
};
|
|
5489
5489
|
exports.serializeAws_ec2ModifyInstanceEventWindowCommand = serializeAws_ec2ModifyInstanceEventWindowCommand;
|
|
5490
|
+
const serializeAws_ec2ModifyInstanceMaintenanceOptionsCommand = async (input, context) => {
|
|
5491
|
+
const headers = {
|
|
5492
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5493
|
+
};
|
|
5494
|
+
let body;
|
|
5495
|
+
body = buildFormUrlencodedString({
|
|
5496
|
+
...serializeAws_ec2ModifyInstanceMaintenanceOptionsRequest(input, context),
|
|
5497
|
+
Action: "ModifyInstanceMaintenanceOptions",
|
|
5498
|
+
Version: "2016-11-15",
|
|
5499
|
+
});
|
|
5500
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5501
|
+
};
|
|
5502
|
+
exports.serializeAws_ec2ModifyInstanceMaintenanceOptionsCommand = serializeAws_ec2ModifyInstanceMaintenanceOptionsCommand;
|
|
5490
5503
|
const serializeAws_ec2ModifyInstanceMetadataOptionsCommand = async (input, context) => {
|
|
5491
5504
|
const headers = {
|
|
5492
5505
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -20540,6 +20553,39 @@ const deserializeAws_ec2ModifyInstanceEventWindowCommandError = async (output, c
|
|
|
20540
20553
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Errors.Error);
|
|
20541
20554
|
}
|
|
20542
20555
|
};
|
|
20556
|
+
const deserializeAws_ec2ModifyInstanceMaintenanceOptionsCommand = async (output, context) => {
|
|
20557
|
+
if (output.statusCode >= 300) {
|
|
20558
|
+
return deserializeAws_ec2ModifyInstanceMaintenanceOptionsCommandError(output, context);
|
|
20559
|
+
}
|
|
20560
|
+
const data = await parseBody(output.body, context);
|
|
20561
|
+
let contents = {};
|
|
20562
|
+
contents = deserializeAws_ec2ModifyInstanceMaintenanceOptionsResult(data, context);
|
|
20563
|
+
const response = {
|
|
20564
|
+
$metadata: deserializeMetadata(output),
|
|
20565
|
+
...contents,
|
|
20566
|
+
};
|
|
20567
|
+
return Promise.resolve(response);
|
|
20568
|
+
};
|
|
20569
|
+
exports.deserializeAws_ec2ModifyInstanceMaintenanceOptionsCommand = deserializeAws_ec2ModifyInstanceMaintenanceOptionsCommand;
|
|
20570
|
+
const deserializeAws_ec2ModifyInstanceMaintenanceOptionsCommandError = async (output, context) => {
|
|
20571
|
+
const parsedOutput = {
|
|
20572
|
+
...output,
|
|
20573
|
+
body: await parseBody(output.body, context),
|
|
20574
|
+
};
|
|
20575
|
+
let response;
|
|
20576
|
+
let errorCode = "UnknownError";
|
|
20577
|
+
errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20578
|
+
switch (errorCode) {
|
|
20579
|
+
default:
|
|
20580
|
+
const parsedBody = parsedOutput.body;
|
|
20581
|
+
response = new EC2ServiceException_1.EC2ServiceException({
|
|
20582
|
+
name: parsedBody.Errors.Error.code || parsedBody.Errors.Error.Code || errorCode,
|
|
20583
|
+
$fault: "client",
|
|
20584
|
+
$metadata: deserializeMetadata(output),
|
|
20585
|
+
});
|
|
20586
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Errors.Error);
|
|
20587
|
+
}
|
|
20588
|
+
};
|
|
20543
20589
|
const deserializeAws_ec2ModifyInstanceMetadataOptionsCommand = async (output, context) => {
|
|
20544
20590
|
if (output.statusCode >= 300) {
|
|
20545
20591
|
return deserializeAws_ec2ModifyInstanceMetadataOptionsCommandError(output, context);
|
|
@@ -34281,6 +34327,13 @@ const serializeAws_ec2InstanceIpv6AddressRequest = (input, context) => {
|
|
|
34281
34327
|
}
|
|
34282
34328
|
return entries;
|
|
34283
34329
|
};
|
|
34330
|
+
const serializeAws_ec2InstanceMaintenanceOptionsRequest = (input, context) => {
|
|
34331
|
+
const entries = {};
|
|
34332
|
+
if (input.AutoRecovery !== undefined && input.AutoRecovery !== null) {
|
|
34333
|
+
entries["AutoRecovery"] = input.AutoRecovery;
|
|
34334
|
+
}
|
|
34335
|
+
return entries;
|
|
34336
|
+
};
|
|
34284
34337
|
const serializeAws_ec2InstanceMarketOptionsRequest = (input, context) => {
|
|
34285
34338
|
const entries = {};
|
|
34286
34339
|
if (input.MarketType !== undefined && input.MarketType !== null) {
|
|
@@ -35239,6 +35292,13 @@ const serializeAws_ec2LaunchTemplateIdStringList = (input, context) => {
|
|
|
35239
35292
|
}
|
|
35240
35293
|
return entries;
|
|
35241
35294
|
};
|
|
35295
|
+
const serializeAws_ec2LaunchTemplateInstanceMaintenanceOptionsRequest = (input, context) => {
|
|
35296
|
+
const entries = {};
|
|
35297
|
+
if (input.AutoRecovery !== undefined && input.AutoRecovery !== null) {
|
|
35298
|
+
entries["AutoRecovery"] = input.AutoRecovery;
|
|
35299
|
+
}
|
|
35300
|
+
return entries;
|
|
35301
|
+
};
|
|
35242
35302
|
const serializeAws_ec2LaunchTemplateInstanceMarketOptionsRequest = (input, context) => {
|
|
35243
35303
|
const entries = {};
|
|
35244
35304
|
if (input.MarketType !== undefined && input.MarketType !== null) {
|
|
@@ -36328,6 +36388,19 @@ const serializeAws_ec2ModifyInstanceEventWindowRequest = (input, context) => {
|
|
|
36328
36388
|
}
|
|
36329
36389
|
return entries;
|
|
36330
36390
|
};
|
|
36391
|
+
const serializeAws_ec2ModifyInstanceMaintenanceOptionsRequest = (input, context) => {
|
|
36392
|
+
const entries = {};
|
|
36393
|
+
if (input.InstanceId !== undefined && input.InstanceId !== null) {
|
|
36394
|
+
entries["InstanceId"] = input.InstanceId;
|
|
36395
|
+
}
|
|
36396
|
+
if (input.AutoRecovery !== undefined && input.AutoRecovery !== null) {
|
|
36397
|
+
entries["AutoRecovery"] = input.AutoRecovery;
|
|
36398
|
+
}
|
|
36399
|
+
if (input.DryRun !== undefined && input.DryRun !== null) {
|
|
36400
|
+
entries["DryRun"] = input.DryRun;
|
|
36401
|
+
}
|
|
36402
|
+
return entries;
|
|
36403
|
+
};
|
|
36331
36404
|
const serializeAws_ec2ModifyInstanceMetadataOptionsRequest = (input, context) => {
|
|
36332
36405
|
const entries = {};
|
|
36333
36406
|
if (input.InstanceId !== undefined && input.InstanceId !== null) {
|
|
@@ -39095,6 +39168,13 @@ const serializeAws_ec2RequestLaunchTemplateData = (input, context) => {
|
|
|
39095
39168
|
entries[loc] = value;
|
|
39096
39169
|
});
|
|
39097
39170
|
}
|
|
39171
|
+
if (input.MaintenanceOptions !== undefined && input.MaintenanceOptions !== null) {
|
|
39172
|
+
const memberEntries = serializeAws_ec2LaunchTemplateInstanceMaintenanceOptionsRequest(input.MaintenanceOptions, context);
|
|
39173
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
39174
|
+
const loc = `MaintenanceOptions.${key}`;
|
|
39175
|
+
entries[loc] = value;
|
|
39176
|
+
});
|
|
39177
|
+
}
|
|
39098
39178
|
return entries;
|
|
39099
39179
|
};
|
|
39100
39180
|
const serializeAws_ec2RequestSpotFleetRequest = (input, context) => {
|
|
@@ -39927,6 +40007,13 @@ const serializeAws_ec2RunInstancesRequest = (input, context) => {
|
|
|
39927
40007
|
entries[loc] = value;
|
|
39928
40008
|
});
|
|
39929
40009
|
}
|
|
40010
|
+
if (input.MaintenanceOptions !== undefined && input.MaintenanceOptions !== null) {
|
|
40011
|
+
const memberEntries = serializeAws_ec2InstanceMaintenanceOptionsRequest(input.MaintenanceOptions, context);
|
|
40012
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
40013
|
+
const loc = `MaintenanceOptions.${key}`;
|
|
40014
|
+
entries[loc] = value;
|
|
40015
|
+
});
|
|
40016
|
+
}
|
|
39930
40017
|
return entries;
|
|
39931
40018
|
};
|
|
39932
40019
|
const serializeAws_ec2RunScheduledInstancesRequest = (input, context) => {
|
|
@@ -42260,6 +42347,29 @@ const deserializeAws_ec2ActiveInstanceSet = (output, context) => {
|
|
|
42260
42347
|
return deserializeAws_ec2ActiveInstance(entry, context);
|
|
42261
42348
|
});
|
|
42262
42349
|
};
|
|
42350
|
+
const deserializeAws_ec2AdditionalDetail = (output, context) => {
|
|
42351
|
+
const contents = {
|
|
42352
|
+
AdditionalDetailType: undefined,
|
|
42353
|
+
Component: undefined,
|
|
42354
|
+
};
|
|
42355
|
+
if (output["additionalDetailType"] !== undefined) {
|
|
42356
|
+
contents.AdditionalDetailType = (0, smithy_client_1.expectString)(output["additionalDetailType"]);
|
|
42357
|
+
}
|
|
42358
|
+
if (output["component"] !== undefined) {
|
|
42359
|
+
contents.Component = deserializeAws_ec2AnalysisComponent(output["component"], context);
|
|
42360
|
+
}
|
|
42361
|
+
return contents;
|
|
42362
|
+
};
|
|
42363
|
+
const deserializeAws_ec2AdditionalDetailList = (output, context) => {
|
|
42364
|
+
return (output || [])
|
|
42365
|
+
.filter((e) => e != null)
|
|
42366
|
+
.map((entry) => {
|
|
42367
|
+
if (entry === null) {
|
|
42368
|
+
return null;
|
|
42369
|
+
}
|
|
42370
|
+
return deserializeAws_ec2AdditionalDetail(entry, context);
|
|
42371
|
+
});
|
|
42372
|
+
};
|
|
42263
42373
|
const deserializeAws_ec2Address = (output, context) => {
|
|
42264
42374
|
const contents = {
|
|
42265
42375
|
InstanceId: undefined,
|
|
@@ -49588,6 +49698,10 @@ const deserializeAws_ec2Explanation = (output, context) => {
|
|
|
49588
49698
|
VpcEndpoint: undefined,
|
|
49589
49699
|
VpnConnection: undefined,
|
|
49590
49700
|
VpnGateway: undefined,
|
|
49701
|
+
TransitGateway: undefined,
|
|
49702
|
+
TransitGatewayRouteTable: undefined,
|
|
49703
|
+
TransitGatewayRouteTableRoute: undefined,
|
|
49704
|
+
TransitGatewayAttachment: undefined,
|
|
49591
49705
|
};
|
|
49592
49706
|
if (output["acl"] !== undefined) {
|
|
49593
49707
|
contents.Acl = deserializeAws_ec2AnalysisComponent(output["acl"], context);
|
|
@@ -49746,6 +49860,18 @@ const deserializeAws_ec2Explanation = (output, context) => {
|
|
|
49746
49860
|
if (output["vpnGateway"] !== undefined) {
|
|
49747
49861
|
contents.VpnGateway = deserializeAws_ec2AnalysisComponent(output["vpnGateway"], context);
|
|
49748
49862
|
}
|
|
49863
|
+
if (output["transitGateway"] !== undefined) {
|
|
49864
|
+
contents.TransitGateway = deserializeAws_ec2AnalysisComponent(output["transitGateway"], context);
|
|
49865
|
+
}
|
|
49866
|
+
if (output["transitGatewayRouteTable"] !== undefined) {
|
|
49867
|
+
contents.TransitGatewayRouteTable = deserializeAws_ec2AnalysisComponent(output["transitGatewayRouteTable"], context);
|
|
49868
|
+
}
|
|
49869
|
+
if (output["transitGatewayRouteTableRoute"] !== undefined) {
|
|
49870
|
+
contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
|
|
49871
|
+
}
|
|
49872
|
+
if (output["transitGatewayAttachment"] !== undefined) {
|
|
49873
|
+
contents.TransitGatewayAttachment = deserializeAws_ec2AnalysisComponent(output["transitGatewayAttachment"], context);
|
|
49874
|
+
}
|
|
49749
49875
|
return contents;
|
|
49750
49876
|
};
|
|
49751
49877
|
const deserializeAws_ec2ExplanationList = (output, context) => {
|
|
@@ -52426,6 +52552,7 @@ const deserializeAws_ec2Instance = (output, context) => {
|
|
|
52426
52552
|
UsageOperationUpdateTime: undefined,
|
|
52427
52553
|
PrivateDnsNameOptions: undefined,
|
|
52428
52554
|
Ipv6Address: undefined,
|
|
52555
|
+
MaintenanceOptions: undefined,
|
|
52429
52556
|
};
|
|
52430
52557
|
if (output["amiLaunchIndex"] !== undefined) {
|
|
52431
52558
|
contents.AmiLaunchIndex = (0, smithy_client_1.strictParseInt32)(output["amiLaunchIndex"]);
|
|
@@ -52614,6 +52741,9 @@ const deserializeAws_ec2Instance = (output, context) => {
|
|
|
52614
52741
|
if (output["ipv6Address"] !== undefined) {
|
|
52615
52742
|
contents.Ipv6Address = (0, smithy_client_1.expectString)(output["ipv6Address"]);
|
|
52616
52743
|
}
|
|
52744
|
+
if (output["maintenanceOptions"] !== undefined) {
|
|
52745
|
+
contents.MaintenanceOptions = deserializeAws_ec2InstanceMaintenanceOptions(output["maintenanceOptions"], context);
|
|
52746
|
+
}
|
|
52617
52747
|
return contents;
|
|
52618
52748
|
};
|
|
52619
52749
|
const deserializeAws_ec2InstanceAttribute = (output, context) => {
|
|
@@ -53032,6 +53162,15 @@ const deserializeAws_ec2InstanceList = (output, context) => {
|
|
|
53032
53162
|
return deserializeAws_ec2Instance(entry, context);
|
|
53033
53163
|
});
|
|
53034
53164
|
};
|
|
53165
|
+
const deserializeAws_ec2InstanceMaintenanceOptions = (output, context) => {
|
|
53166
|
+
const contents = {
|
|
53167
|
+
AutoRecovery: undefined,
|
|
53168
|
+
};
|
|
53169
|
+
if (output["autoRecovery"] !== undefined) {
|
|
53170
|
+
contents.AutoRecovery = (0, smithy_client_1.expectString)(output["autoRecovery"]);
|
|
53171
|
+
}
|
|
53172
|
+
return contents;
|
|
53173
|
+
};
|
|
53035
53174
|
const deserializeAws_ec2InstanceMetadataOptionsResponse = (output, context) => {
|
|
53036
53175
|
const contents = {
|
|
53037
53176
|
State: undefined,
|
|
@@ -55208,6 +55347,15 @@ const deserializeAws_ec2LaunchTemplateIamInstanceProfileSpecification = (output,
|
|
|
55208
55347
|
}
|
|
55209
55348
|
return contents;
|
|
55210
55349
|
};
|
|
55350
|
+
const deserializeAws_ec2LaunchTemplateInstanceMaintenanceOptions = (output, context) => {
|
|
55351
|
+
const contents = {
|
|
55352
|
+
AutoRecovery: undefined,
|
|
55353
|
+
};
|
|
55354
|
+
if (output["autoRecovery"] !== undefined) {
|
|
55355
|
+
contents.AutoRecovery = (0, smithy_client_1.expectString)(output["autoRecovery"]);
|
|
55356
|
+
}
|
|
55357
|
+
return contents;
|
|
55358
|
+
};
|
|
55211
55359
|
const deserializeAws_ec2LaunchTemplateInstanceMarketOptions = (output, context) => {
|
|
55212
55360
|
const contents = {
|
|
55213
55361
|
MarketType: undefined,
|
|
@@ -56260,6 +56408,19 @@ const deserializeAws_ec2ModifyInstanceEventWindowResult = (output, context) => {
|
|
|
56260
56408
|
}
|
|
56261
56409
|
return contents;
|
|
56262
56410
|
};
|
|
56411
|
+
const deserializeAws_ec2ModifyInstanceMaintenanceOptionsResult = (output, context) => {
|
|
56412
|
+
const contents = {
|
|
56413
|
+
InstanceId: undefined,
|
|
56414
|
+
AutoRecovery: undefined,
|
|
56415
|
+
};
|
|
56416
|
+
if (output["instanceId"] !== undefined) {
|
|
56417
|
+
contents.InstanceId = (0, smithy_client_1.expectString)(output["instanceId"]);
|
|
56418
|
+
}
|
|
56419
|
+
if (output["autoRecovery"] !== undefined) {
|
|
56420
|
+
contents.AutoRecovery = (0, smithy_client_1.expectString)(output["autoRecovery"]);
|
|
56421
|
+
}
|
|
56422
|
+
return contents;
|
|
56423
|
+
};
|
|
56263
56424
|
const deserializeAws_ec2ModifyInstanceMetadataOptionsResult = (output, context) => {
|
|
56264
56425
|
const contents = {
|
|
56265
56426
|
InstanceId: undefined,
|
|
@@ -57625,6 +57786,9 @@ const deserializeAws_ec2PathComponent = (output, context) => {
|
|
|
57625
57786
|
SourceVpc: undefined,
|
|
57626
57787
|
Subnet: undefined,
|
|
57627
57788
|
Vpc: undefined,
|
|
57789
|
+
AdditionalDetails: undefined,
|
|
57790
|
+
TransitGateway: undefined,
|
|
57791
|
+
TransitGatewayRouteTableRoute: undefined,
|
|
57628
57792
|
};
|
|
57629
57793
|
if (output["sequenceNumber"] !== undefined) {
|
|
57630
57794
|
contents.SequenceNumber = (0, smithy_client_1.strictParseInt32)(output["sequenceNumber"]);
|
|
@@ -57662,6 +57826,18 @@ const deserializeAws_ec2PathComponent = (output, context) => {
|
|
|
57662
57826
|
if (output["vpc"] !== undefined) {
|
|
57663
57827
|
contents.Vpc = deserializeAws_ec2AnalysisComponent(output["vpc"], context);
|
|
57664
57828
|
}
|
|
57829
|
+
if (output.additionalDetailSet === "") {
|
|
57830
|
+
contents.AdditionalDetails = [];
|
|
57831
|
+
}
|
|
57832
|
+
if (output["additionalDetailSet"] !== undefined && output["additionalDetailSet"]["item"] !== undefined) {
|
|
57833
|
+
contents.AdditionalDetails = deserializeAws_ec2AdditionalDetailList((0, smithy_client_1.getArrayIfSingleItem)(output["additionalDetailSet"]["item"]), context);
|
|
57834
|
+
}
|
|
57835
|
+
if (output["transitGateway"] !== undefined) {
|
|
57836
|
+
contents.TransitGateway = deserializeAws_ec2AnalysisComponent(output["transitGateway"], context);
|
|
57837
|
+
}
|
|
57838
|
+
if (output["transitGatewayRouteTableRoute"] !== undefined) {
|
|
57839
|
+
contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
|
|
57840
|
+
}
|
|
57665
57841
|
return contents;
|
|
57666
57842
|
};
|
|
57667
57843
|
const deserializeAws_ec2PathComponentList = (output, context) => {
|
|
@@ -59484,6 +59660,7 @@ const deserializeAws_ec2ResponseLaunchTemplateData = (output, context) => {
|
|
|
59484
59660
|
EnclaveOptions: undefined,
|
|
59485
59661
|
InstanceRequirements: undefined,
|
|
59486
59662
|
PrivateDnsNameOptions: undefined,
|
|
59663
|
+
MaintenanceOptions: undefined,
|
|
59487
59664
|
};
|
|
59488
59665
|
if (output["kernelId"] !== undefined) {
|
|
59489
59666
|
contents.KernelId = (0, smithy_client_1.expectString)(output["kernelId"]);
|
|
@@ -59599,6 +59776,9 @@ const deserializeAws_ec2ResponseLaunchTemplateData = (output, context) => {
|
|
|
59599
59776
|
if (output["privateDnsNameOptions"] !== undefined) {
|
|
59600
59777
|
contents.PrivateDnsNameOptions = deserializeAws_ec2LaunchTemplatePrivateDnsNameOptions(output["privateDnsNameOptions"], context);
|
|
59601
59778
|
}
|
|
59779
|
+
if (output["maintenanceOptions"] !== undefined) {
|
|
59780
|
+
contents.MaintenanceOptions = deserializeAws_ec2LaunchTemplateInstanceMaintenanceOptions(output["maintenanceOptions"], context);
|
|
59781
|
+
}
|
|
59602
59782
|
return contents;
|
|
59603
59783
|
};
|
|
59604
59784
|
const deserializeAws_ec2RestoreAddressToClassicResult = (output, context) => {
|
|
@@ -63478,6 +63658,39 @@ const deserializeAws_ec2TransitGatewayRouteTablePropagationList = (output, conte
|
|
|
63478
63658
|
return deserializeAws_ec2TransitGatewayRouteTablePropagation(entry, context);
|
|
63479
63659
|
});
|
|
63480
63660
|
};
|
|
63661
|
+
const deserializeAws_ec2TransitGatewayRouteTableRoute = (output, context) => {
|
|
63662
|
+
const contents = {
|
|
63663
|
+
DestinationCidr: undefined,
|
|
63664
|
+
State: undefined,
|
|
63665
|
+
RouteOrigin: undefined,
|
|
63666
|
+
PrefixListId: undefined,
|
|
63667
|
+
AttachmentId: undefined,
|
|
63668
|
+
ResourceId: undefined,
|
|
63669
|
+
ResourceType: undefined,
|
|
63670
|
+
};
|
|
63671
|
+
if (output["destinationCidr"] !== undefined) {
|
|
63672
|
+
contents.DestinationCidr = (0, smithy_client_1.expectString)(output["destinationCidr"]);
|
|
63673
|
+
}
|
|
63674
|
+
if (output["state"] !== undefined) {
|
|
63675
|
+
contents.State = (0, smithy_client_1.expectString)(output["state"]);
|
|
63676
|
+
}
|
|
63677
|
+
if (output["routeOrigin"] !== undefined) {
|
|
63678
|
+
contents.RouteOrigin = (0, smithy_client_1.expectString)(output["routeOrigin"]);
|
|
63679
|
+
}
|
|
63680
|
+
if (output["prefixListId"] !== undefined) {
|
|
63681
|
+
contents.PrefixListId = (0, smithy_client_1.expectString)(output["prefixListId"]);
|
|
63682
|
+
}
|
|
63683
|
+
if (output["attachmentId"] !== undefined) {
|
|
63684
|
+
contents.AttachmentId = (0, smithy_client_1.expectString)(output["attachmentId"]);
|
|
63685
|
+
}
|
|
63686
|
+
if (output["resourceId"] !== undefined) {
|
|
63687
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(output["resourceId"]);
|
|
63688
|
+
}
|
|
63689
|
+
if (output["resourceType"] !== undefined) {
|
|
63690
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(output["resourceType"]);
|
|
63691
|
+
}
|
|
63692
|
+
return contents;
|
|
63693
|
+
};
|
|
63481
63694
|
const deserializeAws_ec2TransitGatewayVpcAttachment = (output, context) => {
|
|
63482
63695
|
const contents = {
|
|
63483
63696
|
TransitGatewayAttachmentId: undefined,
|
package/dist-es/EC2.js
CHANGED
|
@@ -419,6 +419,7 @@ import { ModifyInstanceCapacityReservationAttributesCommand, } from "./commands/
|
|
|
419
419
|
import { ModifyInstanceCreditSpecificationCommand, } from "./commands/ModifyInstanceCreditSpecificationCommand";
|
|
420
420
|
import { ModifyInstanceEventStartTimeCommand, } from "./commands/ModifyInstanceEventStartTimeCommand";
|
|
421
421
|
import { ModifyInstanceEventWindowCommand, } from "./commands/ModifyInstanceEventWindowCommand";
|
|
422
|
+
import { ModifyInstanceMaintenanceOptionsCommand, } from "./commands/ModifyInstanceMaintenanceOptionsCommand";
|
|
422
423
|
import { ModifyInstanceMetadataOptionsCommand, } from "./commands/ModifyInstanceMetadataOptionsCommand";
|
|
423
424
|
import { ModifyInstancePlacementCommand, } from "./commands/ModifyInstancePlacementCommand";
|
|
424
425
|
import { ModifyIpamCommand } from "./commands/ModifyIpamCommand";
|
|
@@ -6406,6 +6407,20 @@ var EC2 = (function (_super) {
|
|
|
6406
6407
|
return this.send(command, optionsOrCb);
|
|
6407
6408
|
}
|
|
6408
6409
|
};
|
|
6410
|
+
EC2.prototype.modifyInstanceMaintenanceOptions = function (args, optionsOrCb, cb) {
|
|
6411
|
+
var command = new ModifyInstanceMaintenanceOptionsCommand(args);
|
|
6412
|
+
if (typeof optionsOrCb === "function") {
|
|
6413
|
+
this.send(command, optionsOrCb);
|
|
6414
|
+
}
|
|
6415
|
+
else if (typeof cb === "function") {
|
|
6416
|
+
if (typeof optionsOrCb !== "object")
|
|
6417
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
6418
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
6419
|
+
}
|
|
6420
|
+
else {
|
|
6421
|
+
return this.send(command, optionsOrCb);
|
|
6422
|
+
}
|
|
6423
|
+
};
|
|
6409
6424
|
EC2.prototype.modifyInstanceMetadataOptions = function (args, optionsOrCb, cb) {
|
|
6410
6425
|
var command = new ModifyInstanceMetadataOptionsCommand(args);
|
|
6411
6426
|
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 { CreateTransitGatewayConnectRequest
|
|
4
|
+
import { CreateTransitGatewayConnectRequest } from "../models/models_1";
|
|
5
|
+
import { CreateTransitGatewayConnectResult } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_ec2CreateTransitGatewayConnectCommand, serializeAws_ec2CreateTransitGatewayConnectCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
var CreateTransitGatewayConnectCommand = (function (_super) {
|
|
7
8
|
__extends(CreateTransitGatewayConnectCommand, _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 { CreateTransitGatewayConnectPeerRequest } from "../models/
|
|
5
|
-
import { CreateTransitGatewayConnectPeerResult } from "../models/models_2";
|
|
4
|
+
import { CreateTransitGatewayConnectPeerRequest, CreateTransitGatewayConnectPeerResult } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_ec2CreateTransitGatewayConnectPeerCommand, serializeAws_ec2CreateTransitGatewayConnectPeerCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
var CreateTransitGatewayConnectPeerCommand = (function (_super) {
|
|
8
7
|
__extends(CreateTransitGatewayConnectPeerCommand, _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 { DescribeCoipPoolsRequest
|
|
4
|
+
import { DescribeCoipPoolsRequest } from "../models/models_2";
|
|
5
|
+
import { DescribeCoipPoolsResult } from "../models/models_3";
|
|
5
6
|
import { deserializeAws_ec2DescribeCoipPoolsCommand, serializeAws_ec2DescribeCoipPoolsCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
var DescribeCoipPoolsCommand = (function (_super) {
|
|
7
8
|
__extends(DescribeCoipPoolsCommand, _super);
|