@aws-sdk/client-ec2 3.219.0 → 3.220.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/dist-cjs/EC2.js +360 -0
- package/dist-cjs/commands/AttachVerifiedAccessTrustProviderCommand.js +46 -0
- package/dist-cjs/commands/CreateCoipCidrCommand.js +2 -1
- package/dist-cjs/commands/CreateCoipPoolCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomerGatewayCommand.js +3 -3
- package/dist-cjs/commands/CreateDefaultSubnetCommand.js +1 -2
- package/dist-cjs/commands/CreateSnapshotsCommand.js +2 -1
- package/dist-cjs/commands/CreateSpotDatafeedSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateStoreImageTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateVerifiedAccessEndpointCommand.js +46 -0
- package/dist-cjs/commands/CreateVerifiedAccessGroupCommand.js +46 -0
- package/dist-cjs/commands/CreateVerifiedAccessInstanceCommand.js +46 -0
- package/dist-cjs/commands/CreateVerifiedAccessTrustProviderCommand.js +46 -0
- package/dist-cjs/commands/DeleteTransitGatewayRouteCommand.js +2 -1
- package/dist-cjs/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayRouteTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayVpcAttachmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteVerifiedAccessEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeleteVerifiedAccessGroupCommand.js +46 -0
- package/dist-cjs/commands/DeleteVerifiedAccessInstanceCommand.js +46 -0
- package/dist-cjs/commands/DeleteVerifiedAccessTrustProviderCommand.js +46 -0
- package/dist-cjs/commands/DeleteVolumeCommand.js +2 -2
- package/dist-cjs/commands/DeleteVpcCommand.js +2 -2
- package/dist-cjs/commands/DeleteVpcEndpointConnectionNotificationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteVpcEndpointServiceConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteVpcEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DeleteVpcPeeringConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteVpnConnectionCommand.js +2 -2
- package/dist-cjs/commands/DeleteVpnConnectionRouteCommand.js +2 -2
- package/dist-cjs/commands/DeleteVpnGatewayCommand.js +2 -2
- package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +3 -3
- package/dist-cjs/commands/DeprovisionIpamPoolCidrCommand.js +3 -3
- package/dist-cjs/commands/DeprovisionPublicIpv4PoolCidrCommand.js +3 -3
- package/dist-cjs/commands/DeregisterImageCommand.js +2 -2
- package/dist-cjs/commands/DescribeInstanceTypesCommand.js +2 -1
- package/dist-cjs/commands/DescribeInternetGatewaysCommand.js +3 -3
- package/dist-cjs/commands/DescribeIpamPoolsCommand.js +3 -3
- package/dist-cjs/commands/DescribeIpamsCommand.js +1 -2
- package/dist-cjs/commands/DescribeVerifiedAccessEndpointsCommand.js +46 -0
- package/dist-cjs/commands/DescribeVerifiedAccessGroupsCommand.js +46 -0
- package/dist-cjs/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/DescribeVerifiedAccessInstancesCommand.js +46 -0
- package/dist-cjs/commands/DescribeVerifiedAccessTrustProvidersCommand.js +46 -0
- package/dist-cjs/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeVpcEndpointServicePermissionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcEndpointServicesCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcPeeringConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpnConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpnGatewaysCommand.js +3 -3
- package/dist-cjs/commands/DetachClassicLinkVpcCommand.js +3 -3
- package/dist-cjs/commands/DetachInternetGatewayCommand.js +2 -2
- package/dist-cjs/commands/DetachNetworkInterfaceCommand.js +2 -2
- package/dist-cjs/commands/DetachVerifiedAccessTrustProviderCommand.js +46 -0
- package/dist-cjs/commands/DetachVolumeCommand.js +2 -2
- package/dist-cjs/commands/DetachVpnGatewayCommand.js +2 -2
- package/dist-cjs/commands/DisableAddressTransferCommand.js +3 -3
- package/dist-cjs/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DisableEbsEncryptionByDefaultCommand.js +3 -3
- package/dist-cjs/commands/DisableFastLaunchCommand.js +3 -3
- package/dist-cjs/commands/DisableFastSnapshotRestoresCommand.js +3 -3
- package/dist-cjs/commands/DisableImageDeprecationCommand.js +3 -3
- package/dist-cjs/commands/DisableIpamOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisableSerialConsoleAccessCommand.js +3 -3
- package/dist-cjs/commands/DisableTransitGatewayRouteTablePropagationCommand.js +3 -3
- package/dist-cjs/commands/DisableVgwRoutePropagationCommand.js +2 -2
- package/dist-cjs/commands/DisableVpcClassicLinkCommand.js +3 -3
- package/dist-cjs/commands/DisableVpcClassicLinkDnsSupportCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAddressCommand.js +2 -2
- package/dist-cjs/commands/DisassociateClientVpnTargetNetworkCommand.js +3 -3
- package/dist-cjs/commands/DisassociateEnclaveCertificateIamRoleCommand.js +3 -3
- package/dist-cjs/commands/DisassociateIamInstanceProfileCommand.js +1 -2
- package/dist-cjs/commands/GetVerifiedAccessEndpointPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetVerifiedAccessGroupPolicyCommand.js +46 -0
- package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
- package/dist-cjs/commands/ModifyIpamCommand.js +3 -3
- package/dist-cjs/commands/ModifyIpamPoolCommand.js +3 -3
- package/dist-cjs/commands/ModifyIpamResourceCidrCommand.js +3 -3
- package/dist-cjs/commands/ModifyIpamScopeCommand.js +3 -3
- package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
- package/dist-cjs/commands/ModifyLocalGatewayRouteCommand.js +3 -3
- package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
- package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +3 -3
- package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
- package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
- package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifySnapshotTierCommand.js +3 -3
- package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
- package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
- package/dist-cjs/commands/ModifyTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/ModifyTrafficMirrorSessionCommand.js +3 -3
- package/dist-cjs/commands/ModifyTransitGatewayCommand.js +1 -2
- package/dist-cjs/commands/ModifyVerifiedAccessEndpointCommand.js +46 -0
- package/dist-cjs/commands/ModifyVerifiedAccessEndpointPolicyCommand.js +46 -0
- package/dist-cjs/commands/ModifyVerifiedAccessGroupCommand.js +46 -0
- package/dist-cjs/commands/ModifyVerifiedAccessGroupPolicyCommand.js +46 -0
- package/dist-cjs/commands/ModifyVerifiedAccessInstanceCommand.js +46 -0
- package/dist-cjs/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/ModifyVerifiedAccessTrustProviderCommand.js +46 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/models/models_0.js +55 -47
- package/dist-cjs/models/models_1.js +47 -47
- package/dist-cjs/models/models_2.js +137 -137
- package/dist-cjs/models/models_3.js +169 -183
- package/dist-cjs/models/models_4.js +252 -233
- package/dist-cjs/models/models_5.js +257 -263
- package/dist-cjs/models/models_6.js +347 -4
- package/dist-cjs/pagination/DescribeVerifiedAccessEndpointsPaginator.js +36 -0
- package/dist-cjs/pagination/DescribeVerifiedAccessGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.js +36 -0
- package/dist-cjs/pagination/DescribeVerifiedAccessInstancesPaginator.js +36 -0
- package/dist-cjs/pagination/DescribeVerifiedAccessTrustProvidersPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_ec2.js +2714 -59
- package/dist-es/EC2.js +360 -0
- package/dist-es/commands/AttachVerifiedAccessTrustProviderCommand.js +42 -0
- package/dist-es/commands/CreateCoipCidrCommand.js +2 -1
- package/dist-es/commands/CreateCoipPoolCommand.js +1 -1
- package/dist-es/commands/CreateCustomerGatewayCommand.js +1 -1
- package/dist-es/commands/CreateDefaultSubnetCommand.js +1 -2
- package/dist-es/commands/CreateSnapshotsCommand.js +2 -1
- package/dist-es/commands/CreateSpotDatafeedSubscriptionCommand.js +1 -1
- package/dist-es/commands/CreateStoreImageTaskCommand.js +1 -1
- package/dist-es/commands/CreateVerifiedAccessEndpointCommand.js +42 -0
- package/dist-es/commands/CreateVerifiedAccessGroupCommand.js +42 -0
- package/dist-es/commands/CreateVerifiedAccessInstanceCommand.js +42 -0
- package/dist-es/commands/CreateVerifiedAccessTrustProviderCommand.js +42 -0
- package/dist-es/commands/DeleteTransitGatewayRouteCommand.js +2 -1
- package/dist-es/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayRouteTableCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayVpcAttachmentCommand.js +1 -1
- package/dist-es/commands/DeleteVerifiedAccessEndpointCommand.js +42 -0
- package/dist-es/commands/DeleteVerifiedAccessGroupCommand.js +42 -0
- package/dist-es/commands/DeleteVerifiedAccessInstanceCommand.js +42 -0
- package/dist-es/commands/DeleteVerifiedAccessTrustProviderCommand.js +42 -0
- package/dist-es/commands/DeleteVolumeCommand.js +1 -1
- package/dist-es/commands/DeleteVpcCommand.js +1 -1
- package/dist-es/commands/DeleteVpcEndpointConnectionNotificationsCommand.js +1 -1
- package/dist-es/commands/DeleteVpcEndpointServiceConfigurationsCommand.js +1 -1
- package/dist-es/commands/DeleteVpcEndpointsCommand.js +1 -1
- package/dist-es/commands/DeleteVpcPeeringConnectionCommand.js +1 -1
- package/dist-es/commands/DeleteVpnConnectionCommand.js +1 -1
- package/dist-es/commands/DeleteVpnConnectionRouteCommand.js +1 -1
- package/dist-es/commands/DeleteVpnGatewayCommand.js +1 -1
- package/dist-es/commands/DeprovisionByoipCidrCommand.js +1 -1
- package/dist-es/commands/DeprovisionIpamPoolCidrCommand.js +1 -1
- package/dist-es/commands/DeprovisionPublicIpv4PoolCidrCommand.js +1 -1
- package/dist-es/commands/DeregisterImageCommand.js +1 -1
- package/dist-es/commands/DescribeInstanceTypesCommand.js +2 -1
- package/dist-es/commands/DescribeInternetGatewaysCommand.js +1 -1
- package/dist-es/commands/DescribeIpamPoolsCommand.js +1 -1
- package/dist-es/commands/DescribeIpamsCommand.js +1 -2
- package/dist-es/commands/DescribeVerifiedAccessEndpointsCommand.js +42 -0
- package/dist-es/commands/DescribeVerifiedAccessGroupsCommand.js +42 -0
- package/dist-es/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.js +42 -0
- package/dist-es/commands/DescribeVerifiedAccessInstancesCommand.js +42 -0
- package/dist-es/commands/DescribeVerifiedAccessTrustProvidersCommand.js +42 -0
- package/dist-es/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +2 -1
- package/dist-es/commands/DescribeVpcEndpointServicePermissionsCommand.js +1 -1
- package/dist-es/commands/DescribeVpcEndpointServicesCommand.js +1 -1
- package/dist-es/commands/DescribeVpcPeeringConnectionsCommand.js +1 -1
- package/dist-es/commands/DescribeVpcsCommand.js +1 -1
- package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
- package/dist-es/commands/DescribeVpnGatewaysCommand.js +1 -1
- package/dist-es/commands/DetachClassicLinkVpcCommand.js +1 -1
- package/dist-es/commands/DetachInternetGatewayCommand.js +1 -1
- package/dist-es/commands/DetachNetworkInterfaceCommand.js +1 -1
- package/dist-es/commands/DetachVerifiedAccessTrustProviderCommand.js +42 -0
- package/dist-es/commands/DetachVolumeCommand.js +1 -1
- package/dist-es/commands/DetachVpnGatewayCommand.js +1 -1
- package/dist-es/commands/DisableAddressTransferCommand.js +1 -1
- package/dist-es/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +1 -1
- package/dist-es/commands/DisableEbsEncryptionByDefaultCommand.js +1 -1
- package/dist-es/commands/DisableFastLaunchCommand.js +1 -1
- package/dist-es/commands/DisableFastSnapshotRestoresCommand.js +1 -1
- package/dist-es/commands/DisableImageDeprecationCommand.js +1 -1
- package/dist-es/commands/DisableIpamOrganizationAdminAccountCommand.js +1 -1
- package/dist-es/commands/DisableSerialConsoleAccessCommand.js +1 -1
- package/dist-es/commands/DisableTransitGatewayRouteTablePropagationCommand.js +1 -1
- package/dist-es/commands/DisableVgwRoutePropagationCommand.js +1 -1
- package/dist-es/commands/DisableVpcClassicLinkCommand.js +1 -1
- package/dist-es/commands/DisableVpcClassicLinkDnsSupportCommand.js +1 -1
- package/dist-es/commands/DisassociateAddressCommand.js +1 -1
- package/dist-es/commands/DisassociateClientVpnTargetNetworkCommand.js +1 -1
- package/dist-es/commands/DisassociateEnclaveCertificateIamRoleCommand.js +1 -1
- package/dist-es/commands/DisassociateIamInstanceProfileCommand.js +1 -2
- package/dist-es/commands/GetVerifiedAccessEndpointPolicyCommand.js +42 -0
- package/dist-es/commands/GetVerifiedAccessGroupPolicyCommand.js +42 -0
- package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
- package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
- package/dist-es/commands/ModifyIpamCommand.js +1 -1
- package/dist-es/commands/ModifyIpamPoolCommand.js +1 -1
- package/dist-es/commands/ModifyIpamResourceCidrCommand.js +1 -1
- package/dist-es/commands/ModifyIpamScopeCommand.js +1 -1
- package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
- package/dist-es/commands/ModifyLocalGatewayRouteCommand.js +1 -1
- package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
- package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +1 -1
- package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
- package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
- package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
- package/dist-es/commands/ModifySnapshotTierCommand.js +1 -1
- package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
- package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorSessionCommand.js +1 -1
- package/dist-es/commands/ModifyTransitGatewayCommand.js +1 -2
- package/dist-es/commands/ModifyVerifiedAccessEndpointCommand.js +42 -0
- package/dist-es/commands/ModifyVerifiedAccessEndpointPolicyCommand.js +42 -0
- package/dist-es/commands/ModifyVerifiedAccessGroupCommand.js +42 -0
- package/dist-es/commands/ModifyVerifiedAccessGroupPolicyCommand.js +42 -0
- package/dist-es/commands/ModifyVerifiedAccessInstanceCommand.js +42 -0
- package/dist-es/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +42 -0
- package/dist-es/commands/index.js +24 -0
- package/dist-es/models/models_0.js +42 -33
- package/dist-es/models/models_1.js +33 -32
- package/dist-es/models/models_2.js +105 -102
- package/dist-es/models/models_3.js +126 -151
- package/dist-es/models/models_4.js +203 -171
- package/dist-es/models/models_5.js +190 -200
- package/dist-es/models/models_6.js +263 -0
- package/dist-es/pagination/DescribeVerifiedAccessEndpointsPaginator.js +32 -0
- package/dist-es/pagination/DescribeVerifiedAccessGroupsPaginator.js +32 -0
- package/dist-es/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.js +32 -0
- package/dist-es/pagination/DescribeVerifiedAccessInstancesPaginator.js +32 -0
- package/dist-es/pagination/DescribeVerifiedAccessTrustProvidersPaginator.js +32 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +2642 -36
- package/dist-types/EC2.d.ts +96 -0
- package/dist-types/EC2Client.d.ts +26 -2
- package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +20 -0
- package/dist-types/commands/CreateCoipCidrCommand.d.ts +2 -1
- package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -2
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +2 -1
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +20 -0
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +20 -0
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +20 -0
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +20 -0
- package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVerifiedAccessGroupCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/DeprovisionIpamPoolCidrCommand.d.ts +1 -1
- package/dist-types/commands/DeprovisionPublicIpv4PoolCidrCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterImageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +20 -0
- package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +20 -0
- package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
- package/dist-types/commands/DetachInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +20 -0
- package/dist-types/commands/DetachVolumeCommand.d.ts +1 -1
- package/dist-types/commands/DetachVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DisableAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +1 -1
- package/dist-types/commands/DisableFastSnapshotRestoresCommand.d.ts +1 -1
- package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
- package/dist-types/commands/DisableIpamOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -2
- package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +20 -0
- package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +20 -0
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +20 -0
- package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +20 -0
- package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +20 -0
- package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +20 -0
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +20 -0
- package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +20 -0
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +96 -211
- package/dist-types/models/models_1.d.ts +200 -203
- package/dist-types/models/models_2.d.ts +409 -437
- package/dist-types/models/models_3.d.ts +478 -704
- package/dist-types/models/models_4.d.ts +5729 -6229
- package/dist-types/models/models_5.d.ts +3774 -3776
- package/dist-types/models/models_6.d.ts +1647 -11
- package/dist-types/pagination/DescribeVerifiedAccessEndpointsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeVerifiedAccessGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeVerifiedAccessInstancesPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeVerifiedAccessTrustProvidersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_ec2.d.ts +72 -0
- package/dist-types/ts3.4/EC2.d.ts +462 -0
- package/dist-types/ts3.4/EC2Client.d.ts +144 -0
- package/dist-types/ts3.4/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateCoipCidrCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVerifiedAccessEndpointCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVerifiedAccessGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVerifiedAccessInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVerifiedAccessEndpointCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVerifiedAccessGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVerifiedAccessInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpnConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpnGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeprovisionIpamPoolCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeprovisionPublicIpv4PoolCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpamPoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstancesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetachInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DetachVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetachVpnGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableAddressTransferCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableFastLaunchCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableFastSnapshotRestoresCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableImageDeprecationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableIpamOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateIamInstanceProfileCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +87 -75
- package/dist-types/ts3.4/models/models_1.d.ts +76 -76
- package/dist-types/ts3.4/models/models_2.d.ts +275 -210
- package/dist-types/ts3.4/models/models_3.d.ts +278 -286
- package/dist-types/ts3.4/models/models_4.d.ts +429 -460
- package/dist-types/ts3.4/models/models_5.d.ts +498 -558
- package/dist-types/ts3.4/models/models_6.d.ts +724 -3
- package/dist-types/ts3.4/pagination/DescribeVerifiedAccessEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeVerifiedAccessGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeVerifiedAccessInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeVerifiedAccessTrustProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +288 -0
- package/package.json +1 -1
|
@@ -363,6 +363,18 @@ export const serializeAws_ec2AttachNetworkInterfaceCommand = async (input, conte
|
|
|
363
363
|
});
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
366
|
+
export const serializeAws_ec2AttachVerifiedAccessTrustProviderCommand = async (input, context) => {
|
|
367
|
+
const headers = {
|
|
368
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
369
|
+
};
|
|
370
|
+
let body;
|
|
371
|
+
body = buildFormUrlencodedString({
|
|
372
|
+
...serializeAws_ec2AttachVerifiedAccessTrustProviderRequest(input, context),
|
|
373
|
+
Action: "AttachVerifiedAccessTrustProvider",
|
|
374
|
+
Version: "2016-11-15",
|
|
375
|
+
});
|
|
376
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
|
+
};
|
|
366
378
|
export const serializeAws_ec2AttachVolumeCommand = async (input, context) => {
|
|
367
379
|
const headers = {
|
|
368
380
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -1407,6 +1419,54 @@ export const serializeAws_ec2CreateTransitGatewayVpcAttachmentCommand = async (i
|
|
|
1407
1419
|
});
|
|
1408
1420
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1409
1421
|
};
|
|
1422
|
+
export const serializeAws_ec2CreateVerifiedAccessEndpointCommand = async (input, context) => {
|
|
1423
|
+
const headers = {
|
|
1424
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1425
|
+
};
|
|
1426
|
+
let body;
|
|
1427
|
+
body = buildFormUrlencodedString({
|
|
1428
|
+
...serializeAws_ec2CreateVerifiedAccessEndpointRequest(input, context),
|
|
1429
|
+
Action: "CreateVerifiedAccessEndpoint",
|
|
1430
|
+
Version: "2016-11-15",
|
|
1431
|
+
});
|
|
1432
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1433
|
+
};
|
|
1434
|
+
export const serializeAws_ec2CreateVerifiedAccessGroupCommand = async (input, context) => {
|
|
1435
|
+
const headers = {
|
|
1436
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1437
|
+
};
|
|
1438
|
+
let body;
|
|
1439
|
+
body = buildFormUrlencodedString({
|
|
1440
|
+
...serializeAws_ec2CreateVerifiedAccessGroupRequest(input, context),
|
|
1441
|
+
Action: "CreateVerifiedAccessGroup",
|
|
1442
|
+
Version: "2016-11-15",
|
|
1443
|
+
});
|
|
1444
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1445
|
+
};
|
|
1446
|
+
export const serializeAws_ec2CreateVerifiedAccessInstanceCommand = async (input, context) => {
|
|
1447
|
+
const headers = {
|
|
1448
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1449
|
+
};
|
|
1450
|
+
let body;
|
|
1451
|
+
body = buildFormUrlencodedString({
|
|
1452
|
+
...serializeAws_ec2CreateVerifiedAccessInstanceRequest(input, context),
|
|
1453
|
+
Action: "CreateVerifiedAccessInstance",
|
|
1454
|
+
Version: "2016-11-15",
|
|
1455
|
+
});
|
|
1456
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1457
|
+
};
|
|
1458
|
+
export const serializeAws_ec2CreateVerifiedAccessTrustProviderCommand = async (input, context) => {
|
|
1459
|
+
const headers = {
|
|
1460
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1461
|
+
};
|
|
1462
|
+
let body;
|
|
1463
|
+
body = buildFormUrlencodedString({
|
|
1464
|
+
...serializeAws_ec2CreateVerifiedAccessTrustProviderRequest(input, context),
|
|
1465
|
+
Action: "CreateVerifiedAccessTrustProvider",
|
|
1466
|
+
Version: "2016-11-15",
|
|
1467
|
+
});
|
|
1468
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1469
|
+
};
|
|
1410
1470
|
export const serializeAws_ec2CreateVolumeCommand = async (input, context) => {
|
|
1411
1471
|
const headers = {
|
|
1412
1472
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -2223,6 +2283,54 @@ export const serializeAws_ec2DeleteTransitGatewayVpcAttachmentCommand = async (i
|
|
|
2223
2283
|
});
|
|
2224
2284
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2225
2285
|
};
|
|
2286
|
+
export const serializeAws_ec2DeleteVerifiedAccessEndpointCommand = async (input, context) => {
|
|
2287
|
+
const headers = {
|
|
2288
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
2289
|
+
};
|
|
2290
|
+
let body;
|
|
2291
|
+
body = buildFormUrlencodedString({
|
|
2292
|
+
...serializeAws_ec2DeleteVerifiedAccessEndpointRequest(input, context),
|
|
2293
|
+
Action: "DeleteVerifiedAccessEndpoint",
|
|
2294
|
+
Version: "2016-11-15",
|
|
2295
|
+
});
|
|
2296
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2297
|
+
};
|
|
2298
|
+
export const serializeAws_ec2DeleteVerifiedAccessGroupCommand = async (input, context) => {
|
|
2299
|
+
const headers = {
|
|
2300
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
2301
|
+
};
|
|
2302
|
+
let body;
|
|
2303
|
+
body = buildFormUrlencodedString({
|
|
2304
|
+
...serializeAws_ec2DeleteVerifiedAccessGroupRequest(input, context),
|
|
2305
|
+
Action: "DeleteVerifiedAccessGroup",
|
|
2306
|
+
Version: "2016-11-15",
|
|
2307
|
+
});
|
|
2308
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2309
|
+
};
|
|
2310
|
+
export const serializeAws_ec2DeleteVerifiedAccessInstanceCommand = async (input, context) => {
|
|
2311
|
+
const headers = {
|
|
2312
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
2313
|
+
};
|
|
2314
|
+
let body;
|
|
2315
|
+
body = buildFormUrlencodedString({
|
|
2316
|
+
...serializeAws_ec2DeleteVerifiedAccessInstanceRequest(input, context),
|
|
2317
|
+
Action: "DeleteVerifiedAccessInstance",
|
|
2318
|
+
Version: "2016-11-15",
|
|
2319
|
+
});
|
|
2320
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2321
|
+
};
|
|
2322
|
+
export const serializeAws_ec2DeleteVerifiedAccessTrustProviderCommand = async (input, context) => {
|
|
2323
|
+
const headers = {
|
|
2324
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
2325
|
+
};
|
|
2326
|
+
let body;
|
|
2327
|
+
body = buildFormUrlencodedString({
|
|
2328
|
+
...serializeAws_ec2DeleteVerifiedAccessTrustProviderRequest(input, context),
|
|
2329
|
+
Action: "DeleteVerifiedAccessTrustProvider",
|
|
2330
|
+
Version: "2016-11-15",
|
|
2331
|
+
});
|
|
2332
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2333
|
+
};
|
|
2226
2334
|
export const serializeAws_ec2DeleteVolumeCommand = async (input, context) => {
|
|
2227
2335
|
const headers = {
|
|
2228
2336
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -3855,6 +3963,66 @@ export const serializeAws_ec2DescribeTrunkInterfaceAssociationsCommand = async (
|
|
|
3855
3963
|
});
|
|
3856
3964
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3857
3965
|
};
|
|
3966
|
+
export const serializeAws_ec2DescribeVerifiedAccessEndpointsCommand = async (input, context) => {
|
|
3967
|
+
const headers = {
|
|
3968
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
3969
|
+
};
|
|
3970
|
+
let body;
|
|
3971
|
+
body = buildFormUrlencodedString({
|
|
3972
|
+
...serializeAws_ec2DescribeVerifiedAccessEndpointsRequest(input, context),
|
|
3973
|
+
Action: "DescribeVerifiedAccessEndpoints",
|
|
3974
|
+
Version: "2016-11-15",
|
|
3975
|
+
});
|
|
3976
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3977
|
+
};
|
|
3978
|
+
export const serializeAws_ec2DescribeVerifiedAccessGroupsCommand = async (input, context) => {
|
|
3979
|
+
const headers = {
|
|
3980
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
3981
|
+
};
|
|
3982
|
+
let body;
|
|
3983
|
+
body = buildFormUrlencodedString({
|
|
3984
|
+
...serializeAws_ec2DescribeVerifiedAccessGroupsRequest(input, context),
|
|
3985
|
+
Action: "DescribeVerifiedAccessGroups",
|
|
3986
|
+
Version: "2016-11-15",
|
|
3987
|
+
});
|
|
3988
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3989
|
+
};
|
|
3990
|
+
export const serializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = async (input, context) => {
|
|
3991
|
+
const headers = {
|
|
3992
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
3993
|
+
};
|
|
3994
|
+
let body;
|
|
3995
|
+
body = buildFormUrlencodedString({
|
|
3996
|
+
...serializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input, context),
|
|
3997
|
+
Action: "DescribeVerifiedAccessInstanceLoggingConfigurations",
|
|
3998
|
+
Version: "2016-11-15",
|
|
3999
|
+
});
|
|
4000
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4001
|
+
};
|
|
4002
|
+
export const serializeAws_ec2DescribeVerifiedAccessInstancesCommand = async (input, context) => {
|
|
4003
|
+
const headers = {
|
|
4004
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
4005
|
+
};
|
|
4006
|
+
let body;
|
|
4007
|
+
body = buildFormUrlencodedString({
|
|
4008
|
+
...serializeAws_ec2DescribeVerifiedAccessInstancesRequest(input, context),
|
|
4009
|
+
Action: "DescribeVerifiedAccessInstances",
|
|
4010
|
+
Version: "2016-11-15",
|
|
4011
|
+
});
|
|
4012
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4013
|
+
};
|
|
4014
|
+
export const serializeAws_ec2DescribeVerifiedAccessTrustProvidersCommand = async (input, context) => {
|
|
4015
|
+
const headers = {
|
|
4016
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
4017
|
+
};
|
|
4018
|
+
let body;
|
|
4019
|
+
body = buildFormUrlencodedString({
|
|
4020
|
+
...serializeAws_ec2DescribeVerifiedAccessTrustProvidersRequest(input, context),
|
|
4021
|
+
Action: "DescribeVerifiedAccessTrustProviders",
|
|
4022
|
+
Version: "2016-11-15",
|
|
4023
|
+
});
|
|
4024
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4025
|
+
};
|
|
3858
4026
|
export const serializeAws_ec2DescribeVolumeAttributeCommand = async (input, context) => {
|
|
3859
4027
|
const headers = {
|
|
3860
4028
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -4095,6 +4263,18 @@ export const serializeAws_ec2DetachNetworkInterfaceCommand = async (input, conte
|
|
|
4095
4263
|
});
|
|
4096
4264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4097
4265
|
};
|
|
4266
|
+
export const serializeAws_ec2DetachVerifiedAccessTrustProviderCommand = async (input, context) => {
|
|
4267
|
+
const headers = {
|
|
4268
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
4269
|
+
};
|
|
4270
|
+
let body;
|
|
4271
|
+
body = buildFormUrlencodedString({
|
|
4272
|
+
...serializeAws_ec2DetachVerifiedAccessTrustProviderRequest(input, context),
|
|
4273
|
+
Action: "DetachVerifiedAccessTrustProvider",
|
|
4274
|
+
Version: "2016-11-15",
|
|
4275
|
+
});
|
|
4276
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4277
|
+
};
|
|
4098
4278
|
export const serializeAws_ec2DetachVolumeCommand = async (input, context) => {
|
|
4099
4279
|
const headers = {
|
|
4100
4280
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -5055,6 +5235,30 @@ export const serializeAws_ec2GetTransitGatewayRouteTablePropagationsCommand = as
|
|
|
5055
5235
|
});
|
|
5056
5236
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5057
5237
|
};
|
|
5238
|
+
export const serializeAws_ec2GetVerifiedAccessEndpointPolicyCommand = async (input, context) => {
|
|
5239
|
+
const headers = {
|
|
5240
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5241
|
+
};
|
|
5242
|
+
let body;
|
|
5243
|
+
body = buildFormUrlencodedString({
|
|
5244
|
+
...serializeAws_ec2GetVerifiedAccessEndpointPolicyRequest(input, context),
|
|
5245
|
+
Action: "GetVerifiedAccessEndpointPolicy",
|
|
5246
|
+
Version: "2016-11-15",
|
|
5247
|
+
});
|
|
5248
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5249
|
+
};
|
|
5250
|
+
export const serializeAws_ec2GetVerifiedAccessGroupPolicyCommand = async (input, context) => {
|
|
5251
|
+
const headers = {
|
|
5252
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5253
|
+
};
|
|
5254
|
+
let body;
|
|
5255
|
+
body = buildFormUrlencodedString({
|
|
5256
|
+
...serializeAws_ec2GetVerifiedAccessGroupPolicyRequest(input, context),
|
|
5257
|
+
Action: "GetVerifiedAccessGroupPolicy",
|
|
5258
|
+
Version: "2016-11-15",
|
|
5259
|
+
});
|
|
5260
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5261
|
+
};
|
|
5058
5262
|
export const serializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommand = async (input, context) => {
|
|
5059
5263
|
const headers = {
|
|
5060
5264
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -5679,6 +5883,90 @@ export const serializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand = async (i
|
|
|
5679
5883
|
});
|
|
5680
5884
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5681
5885
|
};
|
|
5886
|
+
export const serializeAws_ec2ModifyVerifiedAccessEndpointCommand = async (input, context) => {
|
|
5887
|
+
const headers = {
|
|
5888
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5889
|
+
};
|
|
5890
|
+
let body;
|
|
5891
|
+
body = buildFormUrlencodedString({
|
|
5892
|
+
...serializeAws_ec2ModifyVerifiedAccessEndpointRequest(input, context),
|
|
5893
|
+
Action: "ModifyVerifiedAccessEndpoint",
|
|
5894
|
+
Version: "2016-11-15",
|
|
5895
|
+
});
|
|
5896
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5897
|
+
};
|
|
5898
|
+
export const serializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommand = async (input, context) => {
|
|
5899
|
+
const headers = {
|
|
5900
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5901
|
+
};
|
|
5902
|
+
let body;
|
|
5903
|
+
body = buildFormUrlencodedString({
|
|
5904
|
+
...serializeAws_ec2ModifyVerifiedAccessEndpointPolicyRequest(input, context),
|
|
5905
|
+
Action: "ModifyVerifiedAccessEndpointPolicy",
|
|
5906
|
+
Version: "2016-11-15",
|
|
5907
|
+
});
|
|
5908
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5909
|
+
};
|
|
5910
|
+
export const serializeAws_ec2ModifyVerifiedAccessGroupCommand = async (input, context) => {
|
|
5911
|
+
const headers = {
|
|
5912
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5913
|
+
};
|
|
5914
|
+
let body;
|
|
5915
|
+
body = buildFormUrlencodedString({
|
|
5916
|
+
...serializeAws_ec2ModifyVerifiedAccessGroupRequest(input, context),
|
|
5917
|
+
Action: "ModifyVerifiedAccessGroup",
|
|
5918
|
+
Version: "2016-11-15",
|
|
5919
|
+
});
|
|
5920
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5921
|
+
};
|
|
5922
|
+
export const serializeAws_ec2ModifyVerifiedAccessGroupPolicyCommand = async (input, context) => {
|
|
5923
|
+
const headers = {
|
|
5924
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5925
|
+
};
|
|
5926
|
+
let body;
|
|
5927
|
+
body = buildFormUrlencodedString({
|
|
5928
|
+
...serializeAws_ec2ModifyVerifiedAccessGroupPolicyRequest(input, context),
|
|
5929
|
+
Action: "ModifyVerifiedAccessGroupPolicy",
|
|
5930
|
+
Version: "2016-11-15",
|
|
5931
|
+
});
|
|
5932
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5933
|
+
};
|
|
5934
|
+
export const serializeAws_ec2ModifyVerifiedAccessInstanceCommand = async (input, context) => {
|
|
5935
|
+
const headers = {
|
|
5936
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5937
|
+
};
|
|
5938
|
+
let body;
|
|
5939
|
+
body = buildFormUrlencodedString({
|
|
5940
|
+
...serializeAws_ec2ModifyVerifiedAccessInstanceRequest(input, context),
|
|
5941
|
+
Action: "ModifyVerifiedAccessInstance",
|
|
5942
|
+
Version: "2016-11-15",
|
|
5943
|
+
});
|
|
5944
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5945
|
+
};
|
|
5946
|
+
export const serializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommand = async (input, context) => {
|
|
5947
|
+
const headers = {
|
|
5948
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5949
|
+
};
|
|
5950
|
+
let body;
|
|
5951
|
+
body = buildFormUrlencodedString({
|
|
5952
|
+
...serializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input, context),
|
|
5953
|
+
Action: "ModifyVerifiedAccessInstanceLoggingConfiguration",
|
|
5954
|
+
Version: "2016-11-15",
|
|
5955
|
+
});
|
|
5956
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5957
|
+
};
|
|
5958
|
+
export const serializeAws_ec2ModifyVerifiedAccessTrustProviderCommand = async (input, context) => {
|
|
5959
|
+
const headers = {
|
|
5960
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5961
|
+
};
|
|
5962
|
+
let body;
|
|
5963
|
+
body = buildFormUrlencodedString({
|
|
5964
|
+
...serializeAws_ec2ModifyVerifiedAccessTrustProviderRequest(input, context),
|
|
5965
|
+
Action: "ModifyVerifiedAccessTrustProvider",
|
|
5966
|
+
Version: "2016-11-15",
|
|
5967
|
+
});
|
|
5968
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5969
|
+
};
|
|
5682
5970
|
export const serializeAws_ec2ModifyVolumeCommand = async (input, context) => {
|
|
5683
5971
|
const headers = {
|
|
5684
5972
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -7431,6 +7719,33 @@ const deserializeAws_ec2AttachNetworkInterfaceCommandError = async (output, cont
|
|
|
7431
7719
|
errorCode,
|
|
7432
7720
|
});
|
|
7433
7721
|
};
|
|
7722
|
+
export const deserializeAws_ec2AttachVerifiedAccessTrustProviderCommand = async (output, context) => {
|
|
7723
|
+
if (output.statusCode >= 300) {
|
|
7724
|
+
return deserializeAws_ec2AttachVerifiedAccessTrustProviderCommandError(output, context);
|
|
7725
|
+
}
|
|
7726
|
+
const data = await parseBody(output.body, context);
|
|
7727
|
+
let contents = {};
|
|
7728
|
+
contents = deserializeAws_ec2AttachVerifiedAccessTrustProviderResult(data, context);
|
|
7729
|
+
const response = {
|
|
7730
|
+
$metadata: deserializeMetadata(output),
|
|
7731
|
+
...contents,
|
|
7732
|
+
};
|
|
7733
|
+
return Promise.resolve(response);
|
|
7734
|
+
};
|
|
7735
|
+
const deserializeAws_ec2AttachVerifiedAccessTrustProviderCommandError = async (output, context) => {
|
|
7736
|
+
const parsedOutput = {
|
|
7737
|
+
...output,
|
|
7738
|
+
body: await parseErrorBody(output.body, context),
|
|
7739
|
+
};
|
|
7740
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
7741
|
+
const parsedBody = parsedOutput.body;
|
|
7742
|
+
throwDefaultError({
|
|
7743
|
+
output,
|
|
7744
|
+
parsedBody: parsedBody.Errors.Error,
|
|
7745
|
+
exceptionCtor: __BaseException,
|
|
7746
|
+
errorCode,
|
|
7747
|
+
});
|
|
7748
|
+
};
|
|
7434
7749
|
export const deserializeAws_ec2AttachVolumeCommand = async (output, context) => {
|
|
7435
7750
|
if (output.statusCode >= 300) {
|
|
7436
7751
|
return deserializeAws_ec2AttachVolumeCommandError(output, context);
|
|
@@ -9768,6 +10083,114 @@ const deserializeAws_ec2CreateTransitGatewayVpcAttachmentCommandError = async (o
|
|
|
9768
10083
|
errorCode,
|
|
9769
10084
|
});
|
|
9770
10085
|
};
|
|
10086
|
+
export const deserializeAws_ec2CreateVerifiedAccessEndpointCommand = async (output, context) => {
|
|
10087
|
+
if (output.statusCode >= 300) {
|
|
10088
|
+
return deserializeAws_ec2CreateVerifiedAccessEndpointCommandError(output, context);
|
|
10089
|
+
}
|
|
10090
|
+
const data = await parseBody(output.body, context);
|
|
10091
|
+
let contents = {};
|
|
10092
|
+
contents = deserializeAws_ec2CreateVerifiedAccessEndpointResult(data, context);
|
|
10093
|
+
const response = {
|
|
10094
|
+
$metadata: deserializeMetadata(output),
|
|
10095
|
+
...contents,
|
|
10096
|
+
};
|
|
10097
|
+
return Promise.resolve(response);
|
|
10098
|
+
};
|
|
10099
|
+
const deserializeAws_ec2CreateVerifiedAccessEndpointCommandError = async (output, context) => {
|
|
10100
|
+
const parsedOutput = {
|
|
10101
|
+
...output,
|
|
10102
|
+
body: await parseErrorBody(output.body, context),
|
|
10103
|
+
};
|
|
10104
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
10105
|
+
const parsedBody = parsedOutput.body;
|
|
10106
|
+
throwDefaultError({
|
|
10107
|
+
output,
|
|
10108
|
+
parsedBody: parsedBody.Errors.Error,
|
|
10109
|
+
exceptionCtor: __BaseException,
|
|
10110
|
+
errorCode,
|
|
10111
|
+
});
|
|
10112
|
+
};
|
|
10113
|
+
export const deserializeAws_ec2CreateVerifiedAccessGroupCommand = async (output, context) => {
|
|
10114
|
+
if (output.statusCode >= 300) {
|
|
10115
|
+
return deserializeAws_ec2CreateVerifiedAccessGroupCommandError(output, context);
|
|
10116
|
+
}
|
|
10117
|
+
const data = await parseBody(output.body, context);
|
|
10118
|
+
let contents = {};
|
|
10119
|
+
contents = deserializeAws_ec2CreateVerifiedAccessGroupResult(data, context);
|
|
10120
|
+
const response = {
|
|
10121
|
+
$metadata: deserializeMetadata(output),
|
|
10122
|
+
...contents,
|
|
10123
|
+
};
|
|
10124
|
+
return Promise.resolve(response);
|
|
10125
|
+
};
|
|
10126
|
+
const deserializeAws_ec2CreateVerifiedAccessGroupCommandError = async (output, context) => {
|
|
10127
|
+
const parsedOutput = {
|
|
10128
|
+
...output,
|
|
10129
|
+
body: await parseErrorBody(output.body, context),
|
|
10130
|
+
};
|
|
10131
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
10132
|
+
const parsedBody = parsedOutput.body;
|
|
10133
|
+
throwDefaultError({
|
|
10134
|
+
output,
|
|
10135
|
+
parsedBody: parsedBody.Errors.Error,
|
|
10136
|
+
exceptionCtor: __BaseException,
|
|
10137
|
+
errorCode,
|
|
10138
|
+
});
|
|
10139
|
+
};
|
|
10140
|
+
export const deserializeAws_ec2CreateVerifiedAccessInstanceCommand = async (output, context) => {
|
|
10141
|
+
if (output.statusCode >= 300) {
|
|
10142
|
+
return deserializeAws_ec2CreateVerifiedAccessInstanceCommandError(output, context);
|
|
10143
|
+
}
|
|
10144
|
+
const data = await parseBody(output.body, context);
|
|
10145
|
+
let contents = {};
|
|
10146
|
+
contents = deserializeAws_ec2CreateVerifiedAccessInstanceResult(data, context);
|
|
10147
|
+
const response = {
|
|
10148
|
+
$metadata: deserializeMetadata(output),
|
|
10149
|
+
...contents,
|
|
10150
|
+
};
|
|
10151
|
+
return Promise.resolve(response);
|
|
10152
|
+
};
|
|
10153
|
+
const deserializeAws_ec2CreateVerifiedAccessInstanceCommandError = async (output, context) => {
|
|
10154
|
+
const parsedOutput = {
|
|
10155
|
+
...output,
|
|
10156
|
+
body: await parseErrorBody(output.body, context),
|
|
10157
|
+
};
|
|
10158
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
10159
|
+
const parsedBody = parsedOutput.body;
|
|
10160
|
+
throwDefaultError({
|
|
10161
|
+
output,
|
|
10162
|
+
parsedBody: parsedBody.Errors.Error,
|
|
10163
|
+
exceptionCtor: __BaseException,
|
|
10164
|
+
errorCode,
|
|
10165
|
+
});
|
|
10166
|
+
};
|
|
10167
|
+
export const deserializeAws_ec2CreateVerifiedAccessTrustProviderCommand = async (output, context) => {
|
|
10168
|
+
if (output.statusCode >= 300) {
|
|
10169
|
+
return deserializeAws_ec2CreateVerifiedAccessTrustProviderCommandError(output, context);
|
|
10170
|
+
}
|
|
10171
|
+
const data = await parseBody(output.body, context);
|
|
10172
|
+
let contents = {};
|
|
10173
|
+
contents = deserializeAws_ec2CreateVerifiedAccessTrustProviderResult(data, context);
|
|
10174
|
+
const response = {
|
|
10175
|
+
$metadata: deserializeMetadata(output),
|
|
10176
|
+
...contents,
|
|
10177
|
+
};
|
|
10178
|
+
return Promise.resolve(response);
|
|
10179
|
+
};
|
|
10180
|
+
const deserializeAws_ec2CreateVerifiedAccessTrustProviderCommandError = async (output, context) => {
|
|
10181
|
+
const parsedOutput = {
|
|
10182
|
+
...output,
|
|
10183
|
+
body: await parseErrorBody(output.body, context),
|
|
10184
|
+
};
|
|
10185
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
10186
|
+
const parsedBody = parsedOutput.body;
|
|
10187
|
+
throwDefaultError({
|
|
10188
|
+
output,
|
|
10189
|
+
parsedBody: parsedBody.Errors.Error,
|
|
10190
|
+
exceptionCtor: __BaseException,
|
|
10191
|
+
errorCode,
|
|
10192
|
+
});
|
|
10193
|
+
};
|
|
9771
10194
|
export const deserializeAws_ec2CreateVolumeCommand = async (output, context) => {
|
|
9772
10195
|
if (output.statusCode >= 300) {
|
|
9773
10196
|
return deserializeAws_ec2CreateVolumeCommandError(output, context);
|
|
@@ -11556,6 +11979,114 @@ const deserializeAws_ec2DeleteTransitGatewayVpcAttachmentCommandError = async (o
|
|
|
11556
11979
|
errorCode,
|
|
11557
11980
|
});
|
|
11558
11981
|
};
|
|
11982
|
+
export const deserializeAws_ec2DeleteVerifiedAccessEndpointCommand = async (output, context) => {
|
|
11983
|
+
if (output.statusCode >= 300) {
|
|
11984
|
+
return deserializeAws_ec2DeleteVerifiedAccessEndpointCommandError(output, context);
|
|
11985
|
+
}
|
|
11986
|
+
const data = await parseBody(output.body, context);
|
|
11987
|
+
let contents = {};
|
|
11988
|
+
contents = deserializeAws_ec2DeleteVerifiedAccessEndpointResult(data, context);
|
|
11989
|
+
const response = {
|
|
11990
|
+
$metadata: deserializeMetadata(output),
|
|
11991
|
+
...contents,
|
|
11992
|
+
};
|
|
11993
|
+
return Promise.resolve(response);
|
|
11994
|
+
};
|
|
11995
|
+
const deserializeAws_ec2DeleteVerifiedAccessEndpointCommandError = async (output, context) => {
|
|
11996
|
+
const parsedOutput = {
|
|
11997
|
+
...output,
|
|
11998
|
+
body: await parseErrorBody(output.body, context),
|
|
11999
|
+
};
|
|
12000
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
12001
|
+
const parsedBody = parsedOutput.body;
|
|
12002
|
+
throwDefaultError({
|
|
12003
|
+
output,
|
|
12004
|
+
parsedBody: parsedBody.Errors.Error,
|
|
12005
|
+
exceptionCtor: __BaseException,
|
|
12006
|
+
errorCode,
|
|
12007
|
+
});
|
|
12008
|
+
};
|
|
12009
|
+
export const deserializeAws_ec2DeleteVerifiedAccessGroupCommand = async (output, context) => {
|
|
12010
|
+
if (output.statusCode >= 300) {
|
|
12011
|
+
return deserializeAws_ec2DeleteVerifiedAccessGroupCommandError(output, context);
|
|
12012
|
+
}
|
|
12013
|
+
const data = await parseBody(output.body, context);
|
|
12014
|
+
let contents = {};
|
|
12015
|
+
contents = deserializeAws_ec2DeleteVerifiedAccessGroupResult(data, context);
|
|
12016
|
+
const response = {
|
|
12017
|
+
$metadata: deserializeMetadata(output),
|
|
12018
|
+
...contents,
|
|
12019
|
+
};
|
|
12020
|
+
return Promise.resolve(response);
|
|
12021
|
+
};
|
|
12022
|
+
const deserializeAws_ec2DeleteVerifiedAccessGroupCommandError = async (output, context) => {
|
|
12023
|
+
const parsedOutput = {
|
|
12024
|
+
...output,
|
|
12025
|
+
body: await parseErrorBody(output.body, context),
|
|
12026
|
+
};
|
|
12027
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
12028
|
+
const parsedBody = parsedOutput.body;
|
|
12029
|
+
throwDefaultError({
|
|
12030
|
+
output,
|
|
12031
|
+
parsedBody: parsedBody.Errors.Error,
|
|
12032
|
+
exceptionCtor: __BaseException,
|
|
12033
|
+
errorCode,
|
|
12034
|
+
});
|
|
12035
|
+
};
|
|
12036
|
+
export const deserializeAws_ec2DeleteVerifiedAccessInstanceCommand = async (output, context) => {
|
|
12037
|
+
if (output.statusCode >= 300) {
|
|
12038
|
+
return deserializeAws_ec2DeleteVerifiedAccessInstanceCommandError(output, context);
|
|
12039
|
+
}
|
|
12040
|
+
const data = await parseBody(output.body, context);
|
|
12041
|
+
let contents = {};
|
|
12042
|
+
contents = deserializeAws_ec2DeleteVerifiedAccessInstanceResult(data, context);
|
|
12043
|
+
const response = {
|
|
12044
|
+
$metadata: deserializeMetadata(output),
|
|
12045
|
+
...contents,
|
|
12046
|
+
};
|
|
12047
|
+
return Promise.resolve(response);
|
|
12048
|
+
};
|
|
12049
|
+
const deserializeAws_ec2DeleteVerifiedAccessInstanceCommandError = async (output, context) => {
|
|
12050
|
+
const parsedOutput = {
|
|
12051
|
+
...output,
|
|
12052
|
+
body: await parseErrorBody(output.body, context),
|
|
12053
|
+
};
|
|
12054
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
12055
|
+
const parsedBody = parsedOutput.body;
|
|
12056
|
+
throwDefaultError({
|
|
12057
|
+
output,
|
|
12058
|
+
parsedBody: parsedBody.Errors.Error,
|
|
12059
|
+
exceptionCtor: __BaseException,
|
|
12060
|
+
errorCode,
|
|
12061
|
+
});
|
|
12062
|
+
};
|
|
12063
|
+
export const deserializeAws_ec2DeleteVerifiedAccessTrustProviderCommand = async (output, context) => {
|
|
12064
|
+
if (output.statusCode >= 300) {
|
|
12065
|
+
return deserializeAws_ec2DeleteVerifiedAccessTrustProviderCommandError(output, context);
|
|
12066
|
+
}
|
|
12067
|
+
const data = await parseBody(output.body, context);
|
|
12068
|
+
let contents = {};
|
|
12069
|
+
contents = deserializeAws_ec2DeleteVerifiedAccessTrustProviderResult(data, context);
|
|
12070
|
+
const response = {
|
|
12071
|
+
$metadata: deserializeMetadata(output),
|
|
12072
|
+
...contents,
|
|
12073
|
+
};
|
|
12074
|
+
return Promise.resolve(response);
|
|
12075
|
+
};
|
|
12076
|
+
const deserializeAws_ec2DeleteVerifiedAccessTrustProviderCommandError = async (output, context) => {
|
|
12077
|
+
const parsedOutput = {
|
|
12078
|
+
...output,
|
|
12079
|
+
body: await parseErrorBody(output.body, context),
|
|
12080
|
+
};
|
|
12081
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
12082
|
+
const parsedBody = parsedOutput.body;
|
|
12083
|
+
throwDefaultError({
|
|
12084
|
+
output,
|
|
12085
|
+
parsedBody: parsedBody.Errors.Error,
|
|
12086
|
+
exceptionCtor: __BaseException,
|
|
12087
|
+
errorCode,
|
|
12088
|
+
});
|
|
12089
|
+
};
|
|
11559
12090
|
export const deserializeAws_ec2DeleteVolumeCommand = async (output, context) => {
|
|
11560
12091
|
if (output.statusCode >= 300) {
|
|
11561
12092
|
return deserializeAws_ec2DeleteVolumeCommandError(output, context);
|
|
@@ -15210,6 +15741,141 @@ const deserializeAws_ec2DescribeTrunkInterfaceAssociationsCommandError = async (
|
|
|
15210
15741
|
errorCode,
|
|
15211
15742
|
});
|
|
15212
15743
|
};
|
|
15744
|
+
export const deserializeAws_ec2DescribeVerifiedAccessEndpointsCommand = async (output, context) => {
|
|
15745
|
+
if (output.statusCode >= 300) {
|
|
15746
|
+
return deserializeAws_ec2DescribeVerifiedAccessEndpointsCommandError(output, context);
|
|
15747
|
+
}
|
|
15748
|
+
const data = await parseBody(output.body, context);
|
|
15749
|
+
let contents = {};
|
|
15750
|
+
contents = deserializeAws_ec2DescribeVerifiedAccessEndpointsResult(data, context);
|
|
15751
|
+
const response = {
|
|
15752
|
+
$metadata: deserializeMetadata(output),
|
|
15753
|
+
...contents,
|
|
15754
|
+
};
|
|
15755
|
+
return Promise.resolve(response);
|
|
15756
|
+
};
|
|
15757
|
+
const deserializeAws_ec2DescribeVerifiedAccessEndpointsCommandError = async (output, context) => {
|
|
15758
|
+
const parsedOutput = {
|
|
15759
|
+
...output,
|
|
15760
|
+
body: await parseErrorBody(output.body, context),
|
|
15761
|
+
};
|
|
15762
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
15763
|
+
const parsedBody = parsedOutput.body;
|
|
15764
|
+
throwDefaultError({
|
|
15765
|
+
output,
|
|
15766
|
+
parsedBody: parsedBody.Errors.Error,
|
|
15767
|
+
exceptionCtor: __BaseException,
|
|
15768
|
+
errorCode,
|
|
15769
|
+
});
|
|
15770
|
+
};
|
|
15771
|
+
export const deserializeAws_ec2DescribeVerifiedAccessGroupsCommand = async (output, context) => {
|
|
15772
|
+
if (output.statusCode >= 300) {
|
|
15773
|
+
return deserializeAws_ec2DescribeVerifiedAccessGroupsCommandError(output, context);
|
|
15774
|
+
}
|
|
15775
|
+
const data = await parseBody(output.body, context);
|
|
15776
|
+
let contents = {};
|
|
15777
|
+
contents = deserializeAws_ec2DescribeVerifiedAccessGroupsResult(data, context);
|
|
15778
|
+
const response = {
|
|
15779
|
+
$metadata: deserializeMetadata(output),
|
|
15780
|
+
...contents,
|
|
15781
|
+
};
|
|
15782
|
+
return Promise.resolve(response);
|
|
15783
|
+
};
|
|
15784
|
+
const deserializeAws_ec2DescribeVerifiedAccessGroupsCommandError = async (output, context) => {
|
|
15785
|
+
const parsedOutput = {
|
|
15786
|
+
...output,
|
|
15787
|
+
body: await parseErrorBody(output.body, context),
|
|
15788
|
+
};
|
|
15789
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
15790
|
+
const parsedBody = parsedOutput.body;
|
|
15791
|
+
throwDefaultError({
|
|
15792
|
+
output,
|
|
15793
|
+
parsedBody: parsedBody.Errors.Error,
|
|
15794
|
+
exceptionCtor: __BaseException,
|
|
15795
|
+
errorCode,
|
|
15796
|
+
});
|
|
15797
|
+
};
|
|
15798
|
+
export const deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = async (output, context) => {
|
|
15799
|
+
if (output.statusCode >= 300) {
|
|
15800
|
+
return deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommandError(output, context);
|
|
15801
|
+
}
|
|
15802
|
+
const data = await parseBody(output.body, context);
|
|
15803
|
+
let contents = {};
|
|
15804
|
+
contents = deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsResult(data, context);
|
|
15805
|
+
const response = {
|
|
15806
|
+
$metadata: deserializeMetadata(output),
|
|
15807
|
+
...contents,
|
|
15808
|
+
};
|
|
15809
|
+
return Promise.resolve(response);
|
|
15810
|
+
};
|
|
15811
|
+
const deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommandError = async (output, context) => {
|
|
15812
|
+
const parsedOutput = {
|
|
15813
|
+
...output,
|
|
15814
|
+
body: await parseErrorBody(output.body, context),
|
|
15815
|
+
};
|
|
15816
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
15817
|
+
const parsedBody = parsedOutput.body;
|
|
15818
|
+
throwDefaultError({
|
|
15819
|
+
output,
|
|
15820
|
+
parsedBody: parsedBody.Errors.Error,
|
|
15821
|
+
exceptionCtor: __BaseException,
|
|
15822
|
+
errorCode,
|
|
15823
|
+
});
|
|
15824
|
+
};
|
|
15825
|
+
export const deserializeAws_ec2DescribeVerifiedAccessInstancesCommand = async (output, context) => {
|
|
15826
|
+
if (output.statusCode >= 300) {
|
|
15827
|
+
return deserializeAws_ec2DescribeVerifiedAccessInstancesCommandError(output, context);
|
|
15828
|
+
}
|
|
15829
|
+
const data = await parseBody(output.body, context);
|
|
15830
|
+
let contents = {};
|
|
15831
|
+
contents = deserializeAws_ec2DescribeVerifiedAccessInstancesResult(data, context);
|
|
15832
|
+
const response = {
|
|
15833
|
+
$metadata: deserializeMetadata(output),
|
|
15834
|
+
...contents,
|
|
15835
|
+
};
|
|
15836
|
+
return Promise.resolve(response);
|
|
15837
|
+
};
|
|
15838
|
+
const deserializeAws_ec2DescribeVerifiedAccessInstancesCommandError = async (output, context) => {
|
|
15839
|
+
const parsedOutput = {
|
|
15840
|
+
...output,
|
|
15841
|
+
body: await parseErrorBody(output.body, context),
|
|
15842
|
+
};
|
|
15843
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
15844
|
+
const parsedBody = parsedOutput.body;
|
|
15845
|
+
throwDefaultError({
|
|
15846
|
+
output,
|
|
15847
|
+
parsedBody: parsedBody.Errors.Error,
|
|
15848
|
+
exceptionCtor: __BaseException,
|
|
15849
|
+
errorCode,
|
|
15850
|
+
});
|
|
15851
|
+
};
|
|
15852
|
+
export const deserializeAws_ec2DescribeVerifiedAccessTrustProvidersCommand = async (output, context) => {
|
|
15853
|
+
if (output.statusCode >= 300) {
|
|
15854
|
+
return deserializeAws_ec2DescribeVerifiedAccessTrustProvidersCommandError(output, context);
|
|
15855
|
+
}
|
|
15856
|
+
const data = await parseBody(output.body, context);
|
|
15857
|
+
let contents = {};
|
|
15858
|
+
contents = deserializeAws_ec2DescribeVerifiedAccessTrustProvidersResult(data, context);
|
|
15859
|
+
const response = {
|
|
15860
|
+
$metadata: deserializeMetadata(output),
|
|
15861
|
+
...contents,
|
|
15862
|
+
};
|
|
15863
|
+
return Promise.resolve(response);
|
|
15864
|
+
};
|
|
15865
|
+
const deserializeAws_ec2DescribeVerifiedAccessTrustProvidersCommandError = async (output, context) => {
|
|
15866
|
+
const parsedOutput = {
|
|
15867
|
+
...output,
|
|
15868
|
+
body: await parseErrorBody(output.body, context),
|
|
15869
|
+
};
|
|
15870
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
15871
|
+
const parsedBody = parsedOutput.body;
|
|
15872
|
+
throwDefaultError({
|
|
15873
|
+
output,
|
|
15874
|
+
parsedBody: parsedBody.Errors.Error,
|
|
15875
|
+
exceptionCtor: __BaseException,
|
|
15876
|
+
errorCode,
|
|
15877
|
+
});
|
|
15878
|
+
};
|
|
15213
15879
|
export const deserializeAws_ec2DescribeVolumeAttributeCommand = async (output, context) => {
|
|
15214
15880
|
if (output.statusCode >= 300) {
|
|
15215
15881
|
return deserializeAws_ec2DescribeVolumeAttributeCommandError(output, context);
|
|
@@ -15744,6 +16410,33 @@ const deserializeAws_ec2DetachNetworkInterfaceCommandError = async (output, cont
|
|
|
15744
16410
|
errorCode,
|
|
15745
16411
|
});
|
|
15746
16412
|
};
|
|
16413
|
+
export const deserializeAws_ec2DetachVerifiedAccessTrustProviderCommand = async (output, context) => {
|
|
16414
|
+
if (output.statusCode >= 300) {
|
|
16415
|
+
return deserializeAws_ec2DetachVerifiedAccessTrustProviderCommandError(output, context);
|
|
16416
|
+
}
|
|
16417
|
+
const data = await parseBody(output.body, context);
|
|
16418
|
+
let contents = {};
|
|
16419
|
+
contents = deserializeAws_ec2DetachVerifiedAccessTrustProviderResult(data, context);
|
|
16420
|
+
const response = {
|
|
16421
|
+
$metadata: deserializeMetadata(output),
|
|
16422
|
+
...contents,
|
|
16423
|
+
};
|
|
16424
|
+
return Promise.resolve(response);
|
|
16425
|
+
};
|
|
16426
|
+
const deserializeAws_ec2DetachVerifiedAccessTrustProviderCommandError = async (output, context) => {
|
|
16427
|
+
const parsedOutput = {
|
|
16428
|
+
...output,
|
|
16429
|
+
body: await parseErrorBody(output.body, context),
|
|
16430
|
+
};
|
|
16431
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
16432
|
+
const parsedBody = parsedOutput.body;
|
|
16433
|
+
throwDefaultError({
|
|
16434
|
+
output,
|
|
16435
|
+
parsedBody: parsedBody.Errors.Error,
|
|
16436
|
+
exceptionCtor: __BaseException,
|
|
16437
|
+
errorCode,
|
|
16438
|
+
});
|
|
16439
|
+
};
|
|
15747
16440
|
export const deserializeAws_ec2DetachVolumeCommand = async (output, context) => {
|
|
15748
16441
|
if (output.statusCode >= 300) {
|
|
15749
16442
|
return deserializeAws_ec2DetachVolumeCommandError(output, context);
|
|
@@ -17886,6 +18579,60 @@ const deserializeAws_ec2GetTransitGatewayRouteTablePropagationsCommandError = as
|
|
|
17886
18579
|
errorCode,
|
|
17887
18580
|
});
|
|
17888
18581
|
};
|
|
18582
|
+
export const deserializeAws_ec2GetVerifiedAccessEndpointPolicyCommand = async (output, context) => {
|
|
18583
|
+
if (output.statusCode >= 300) {
|
|
18584
|
+
return deserializeAws_ec2GetVerifiedAccessEndpointPolicyCommandError(output, context);
|
|
18585
|
+
}
|
|
18586
|
+
const data = await parseBody(output.body, context);
|
|
18587
|
+
let contents = {};
|
|
18588
|
+
contents = deserializeAws_ec2GetVerifiedAccessEndpointPolicyResult(data, context);
|
|
18589
|
+
const response = {
|
|
18590
|
+
$metadata: deserializeMetadata(output),
|
|
18591
|
+
...contents,
|
|
18592
|
+
};
|
|
18593
|
+
return Promise.resolve(response);
|
|
18594
|
+
};
|
|
18595
|
+
const deserializeAws_ec2GetVerifiedAccessEndpointPolicyCommandError = async (output, context) => {
|
|
18596
|
+
const parsedOutput = {
|
|
18597
|
+
...output,
|
|
18598
|
+
body: await parseErrorBody(output.body, context),
|
|
18599
|
+
};
|
|
18600
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
18601
|
+
const parsedBody = parsedOutput.body;
|
|
18602
|
+
throwDefaultError({
|
|
18603
|
+
output,
|
|
18604
|
+
parsedBody: parsedBody.Errors.Error,
|
|
18605
|
+
exceptionCtor: __BaseException,
|
|
18606
|
+
errorCode,
|
|
18607
|
+
});
|
|
18608
|
+
};
|
|
18609
|
+
export const deserializeAws_ec2GetVerifiedAccessGroupPolicyCommand = async (output, context) => {
|
|
18610
|
+
if (output.statusCode >= 300) {
|
|
18611
|
+
return deserializeAws_ec2GetVerifiedAccessGroupPolicyCommandError(output, context);
|
|
18612
|
+
}
|
|
18613
|
+
const data = await parseBody(output.body, context);
|
|
18614
|
+
let contents = {};
|
|
18615
|
+
contents = deserializeAws_ec2GetVerifiedAccessGroupPolicyResult(data, context);
|
|
18616
|
+
const response = {
|
|
18617
|
+
$metadata: deserializeMetadata(output),
|
|
18618
|
+
...contents,
|
|
18619
|
+
};
|
|
18620
|
+
return Promise.resolve(response);
|
|
18621
|
+
};
|
|
18622
|
+
const deserializeAws_ec2GetVerifiedAccessGroupPolicyCommandError = async (output, context) => {
|
|
18623
|
+
const parsedOutput = {
|
|
18624
|
+
...output,
|
|
18625
|
+
body: await parseErrorBody(output.body, context),
|
|
18626
|
+
};
|
|
18627
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
18628
|
+
const parsedBody = parsedOutput.body;
|
|
18629
|
+
throwDefaultError({
|
|
18630
|
+
output,
|
|
18631
|
+
parsedBody: parsedBody.Errors.Error,
|
|
18632
|
+
exceptionCtor: __BaseException,
|
|
18633
|
+
errorCode,
|
|
18634
|
+
});
|
|
18635
|
+
};
|
|
17889
18636
|
export const deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommand = async (output, context) => {
|
|
17890
18637
|
if (output.statusCode >= 300) {
|
|
17891
18638
|
return deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommandError(output, context);
|
|
@@ -19269,6 +20016,195 @@ const deserializeAws_ec2ModifyTransitGatewayVpcAttachmentCommandError = async (o
|
|
|
19269
20016
|
errorCode,
|
|
19270
20017
|
});
|
|
19271
20018
|
};
|
|
20019
|
+
export const deserializeAws_ec2ModifyVerifiedAccessEndpointCommand = async (output, context) => {
|
|
20020
|
+
if (output.statusCode >= 300) {
|
|
20021
|
+
return deserializeAws_ec2ModifyVerifiedAccessEndpointCommandError(output, context);
|
|
20022
|
+
}
|
|
20023
|
+
const data = await parseBody(output.body, context);
|
|
20024
|
+
let contents = {};
|
|
20025
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessEndpointResult(data, context);
|
|
20026
|
+
const response = {
|
|
20027
|
+
$metadata: deserializeMetadata(output),
|
|
20028
|
+
...contents,
|
|
20029
|
+
};
|
|
20030
|
+
return Promise.resolve(response);
|
|
20031
|
+
};
|
|
20032
|
+
const deserializeAws_ec2ModifyVerifiedAccessEndpointCommandError = async (output, context) => {
|
|
20033
|
+
const parsedOutput = {
|
|
20034
|
+
...output,
|
|
20035
|
+
body: await parseErrorBody(output.body, context),
|
|
20036
|
+
};
|
|
20037
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20038
|
+
const parsedBody = parsedOutput.body;
|
|
20039
|
+
throwDefaultError({
|
|
20040
|
+
output,
|
|
20041
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20042
|
+
exceptionCtor: __BaseException,
|
|
20043
|
+
errorCode,
|
|
20044
|
+
});
|
|
20045
|
+
};
|
|
20046
|
+
export const deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommand = async (output, context) => {
|
|
20047
|
+
if (output.statusCode >= 300) {
|
|
20048
|
+
return deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommandError(output, context);
|
|
20049
|
+
}
|
|
20050
|
+
const data = await parseBody(output.body, context);
|
|
20051
|
+
let contents = {};
|
|
20052
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyResult(data, context);
|
|
20053
|
+
const response = {
|
|
20054
|
+
$metadata: deserializeMetadata(output),
|
|
20055
|
+
...contents,
|
|
20056
|
+
};
|
|
20057
|
+
return Promise.resolve(response);
|
|
20058
|
+
};
|
|
20059
|
+
const deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommandError = async (output, context) => {
|
|
20060
|
+
const parsedOutput = {
|
|
20061
|
+
...output,
|
|
20062
|
+
body: await parseErrorBody(output.body, context),
|
|
20063
|
+
};
|
|
20064
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20065
|
+
const parsedBody = parsedOutput.body;
|
|
20066
|
+
throwDefaultError({
|
|
20067
|
+
output,
|
|
20068
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20069
|
+
exceptionCtor: __BaseException,
|
|
20070
|
+
errorCode,
|
|
20071
|
+
});
|
|
20072
|
+
};
|
|
20073
|
+
export const deserializeAws_ec2ModifyVerifiedAccessGroupCommand = async (output, context) => {
|
|
20074
|
+
if (output.statusCode >= 300) {
|
|
20075
|
+
return deserializeAws_ec2ModifyVerifiedAccessGroupCommandError(output, context);
|
|
20076
|
+
}
|
|
20077
|
+
const data = await parseBody(output.body, context);
|
|
20078
|
+
let contents = {};
|
|
20079
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessGroupResult(data, context);
|
|
20080
|
+
const response = {
|
|
20081
|
+
$metadata: deserializeMetadata(output),
|
|
20082
|
+
...contents,
|
|
20083
|
+
};
|
|
20084
|
+
return Promise.resolve(response);
|
|
20085
|
+
};
|
|
20086
|
+
const deserializeAws_ec2ModifyVerifiedAccessGroupCommandError = async (output, context) => {
|
|
20087
|
+
const parsedOutput = {
|
|
20088
|
+
...output,
|
|
20089
|
+
body: await parseErrorBody(output.body, context),
|
|
20090
|
+
};
|
|
20091
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20092
|
+
const parsedBody = parsedOutput.body;
|
|
20093
|
+
throwDefaultError({
|
|
20094
|
+
output,
|
|
20095
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20096
|
+
exceptionCtor: __BaseException,
|
|
20097
|
+
errorCode,
|
|
20098
|
+
});
|
|
20099
|
+
};
|
|
20100
|
+
export const deserializeAws_ec2ModifyVerifiedAccessGroupPolicyCommand = async (output, context) => {
|
|
20101
|
+
if (output.statusCode >= 300) {
|
|
20102
|
+
return deserializeAws_ec2ModifyVerifiedAccessGroupPolicyCommandError(output, context);
|
|
20103
|
+
}
|
|
20104
|
+
const data = await parseBody(output.body, context);
|
|
20105
|
+
let contents = {};
|
|
20106
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessGroupPolicyResult(data, context);
|
|
20107
|
+
const response = {
|
|
20108
|
+
$metadata: deserializeMetadata(output),
|
|
20109
|
+
...contents,
|
|
20110
|
+
};
|
|
20111
|
+
return Promise.resolve(response);
|
|
20112
|
+
};
|
|
20113
|
+
const deserializeAws_ec2ModifyVerifiedAccessGroupPolicyCommandError = async (output, context) => {
|
|
20114
|
+
const parsedOutput = {
|
|
20115
|
+
...output,
|
|
20116
|
+
body: await parseErrorBody(output.body, context),
|
|
20117
|
+
};
|
|
20118
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20119
|
+
const parsedBody = parsedOutput.body;
|
|
20120
|
+
throwDefaultError({
|
|
20121
|
+
output,
|
|
20122
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20123
|
+
exceptionCtor: __BaseException,
|
|
20124
|
+
errorCode,
|
|
20125
|
+
});
|
|
20126
|
+
};
|
|
20127
|
+
export const deserializeAws_ec2ModifyVerifiedAccessInstanceCommand = async (output, context) => {
|
|
20128
|
+
if (output.statusCode >= 300) {
|
|
20129
|
+
return deserializeAws_ec2ModifyVerifiedAccessInstanceCommandError(output, context);
|
|
20130
|
+
}
|
|
20131
|
+
const data = await parseBody(output.body, context);
|
|
20132
|
+
let contents = {};
|
|
20133
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessInstanceResult(data, context);
|
|
20134
|
+
const response = {
|
|
20135
|
+
$metadata: deserializeMetadata(output),
|
|
20136
|
+
...contents,
|
|
20137
|
+
};
|
|
20138
|
+
return Promise.resolve(response);
|
|
20139
|
+
};
|
|
20140
|
+
const deserializeAws_ec2ModifyVerifiedAccessInstanceCommandError = async (output, context) => {
|
|
20141
|
+
const parsedOutput = {
|
|
20142
|
+
...output,
|
|
20143
|
+
body: await parseErrorBody(output.body, context),
|
|
20144
|
+
};
|
|
20145
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20146
|
+
const parsedBody = parsedOutput.body;
|
|
20147
|
+
throwDefaultError({
|
|
20148
|
+
output,
|
|
20149
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20150
|
+
exceptionCtor: __BaseException,
|
|
20151
|
+
errorCode,
|
|
20152
|
+
});
|
|
20153
|
+
};
|
|
20154
|
+
export const deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommand = async (output, context) => {
|
|
20155
|
+
if (output.statusCode >= 300) {
|
|
20156
|
+
return deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommandError(output, context);
|
|
20157
|
+
}
|
|
20158
|
+
const data = await parseBody(output.body, context);
|
|
20159
|
+
let contents = {};
|
|
20160
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationResult(data, context);
|
|
20161
|
+
const response = {
|
|
20162
|
+
$metadata: deserializeMetadata(output),
|
|
20163
|
+
...contents,
|
|
20164
|
+
};
|
|
20165
|
+
return Promise.resolve(response);
|
|
20166
|
+
};
|
|
20167
|
+
const deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommandError = async (output, context) => {
|
|
20168
|
+
const parsedOutput = {
|
|
20169
|
+
...output,
|
|
20170
|
+
body: await parseErrorBody(output.body, context),
|
|
20171
|
+
};
|
|
20172
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20173
|
+
const parsedBody = parsedOutput.body;
|
|
20174
|
+
throwDefaultError({
|
|
20175
|
+
output,
|
|
20176
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20177
|
+
exceptionCtor: __BaseException,
|
|
20178
|
+
errorCode,
|
|
20179
|
+
});
|
|
20180
|
+
};
|
|
20181
|
+
export const deserializeAws_ec2ModifyVerifiedAccessTrustProviderCommand = async (output, context) => {
|
|
20182
|
+
if (output.statusCode >= 300) {
|
|
20183
|
+
return deserializeAws_ec2ModifyVerifiedAccessTrustProviderCommandError(output, context);
|
|
20184
|
+
}
|
|
20185
|
+
const data = await parseBody(output.body, context);
|
|
20186
|
+
let contents = {};
|
|
20187
|
+
contents = deserializeAws_ec2ModifyVerifiedAccessTrustProviderResult(data, context);
|
|
20188
|
+
const response = {
|
|
20189
|
+
$metadata: deserializeMetadata(output),
|
|
20190
|
+
...contents,
|
|
20191
|
+
};
|
|
20192
|
+
return Promise.resolve(response);
|
|
20193
|
+
};
|
|
20194
|
+
const deserializeAws_ec2ModifyVerifiedAccessTrustProviderCommandError = async (output, context) => {
|
|
20195
|
+
const parsedOutput = {
|
|
20196
|
+
...output,
|
|
20197
|
+
body: await parseErrorBody(output.body, context),
|
|
20198
|
+
};
|
|
20199
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
20200
|
+
const parsedBody = parsedOutput.body;
|
|
20201
|
+
throwDefaultError({
|
|
20202
|
+
output,
|
|
20203
|
+
parsedBody: parsedBody.Errors.Error,
|
|
20204
|
+
exceptionCtor: __BaseException,
|
|
20205
|
+
errorCode,
|
|
20206
|
+
});
|
|
20207
|
+
};
|
|
19272
20208
|
export const deserializeAws_ec2ModifyVolumeCommand = async (output, context) => {
|
|
19273
20209
|
if (output.statusCode >= 300) {
|
|
19274
20210
|
return deserializeAws_ec2ModifyVolumeCommandError(output, context);
|
|
@@ -22271,6 +23207,25 @@ const serializeAws_ec2AttachNetworkInterfaceRequest = (input, context) => {
|
|
|
22271
23207
|
}
|
|
22272
23208
|
return entries;
|
|
22273
23209
|
};
|
|
23210
|
+
const serializeAws_ec2AttachVerifiedAccessTrustProviderRequest = (input, context) => {
|
|
23211
|
+
const entries = {};
|
|
23212
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
23213
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
23214
|
+
}
|
|
23215
|
+
if (input.VerifiedAccessTrustProviderId != null) {
|
|
23216
|
+
entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
|
|
23217
|
+
}
|
|
23218
|
+
if (input.ClientToken === undefined) {
|
|
23219
|
+
input.ClientToken = generateIdempotencyToken();
|
|
23220
|
+
}
|
|
23221
|
+
if (input.ClientToken != null) {
|
|
23222
|
+
entries["ClientToken"] = input.ClientToken;
|
|
23223
|
+
}
|
|
23224
|
+
if (input.DryRun != null) {
|
|
23225
|
+
entries["DryRun"] = input.DryRun;
|
|
23226
|
+
}
|
|
23227
|
+
return entries;
|
|
23228
|
+
};
|
|
22274
23229
|
const serializeAws_ec2AttachVolumeRequest = (input, context) => {
|
|
22275
23230
|
const entries = {};
|
|
22276
23231
|
if (input.Device != null) {
|
|
@@ -25364,6 +26319,267 @@ const serializeAws_ec2CreateTransitGatewayVpcAttachmentRequestOptions = (input,
|
|
|
25364
26319
|
}
|
|
25365
26320
|
return entries;
|
|
25366
26321
|
};
|
|
26322
|
+
const serializeAws_ec2CreateVerifiedAccessEndpointEniOptions = (input, context) => {
|
|
26323
|
+
const entries = {};
|
|
26324
|
+
if (input.NetworkInterfaceId != null) {
|
|
26325
|
+
entries["NetworkInterfaceId"] = input.NetworkInterfaceId;
|
|
26326
|
+
}
|
|
26327
|
+
if (input.Protocol != null) {
|
|
26328
|
+
entries["Protocol"] = input.Protocol;
|
|
26329
|
+
}
|
|
26330
|
+
if (input.Port != null) {
|
|
26331
|
+
entries["Port"] = input.Port;
|
|
26332
|
+
}
|
|
26333
|
+
return entries;
|
|
26334
|
+
};
|
|
26335
|
+
const serializeAws_ec2CreateVerifiedAccessEndpointLoadBalancerOptions = (input, context) => {
|
|
26336
|
+
const entries = {};
|
|
26337
|
+
if (input.Protocol != null) {
|
|
26338
|
+
entries["Protocol"] = input.Protocol;
|
|
26339
|
+
}
|
|
26340
|
+
if (input.Port != null) {
|
|
26341
|
+
entries["Port"] = input.Port;
|
|
26342
|
+
}
|
|
26343
|
+
if (input.LoadBalancerArn != null) {
|
|
26344
|
+
entries["LoadBalancerArn"] = input.LoadBalancerArn;
|
|
26345
|
+
}
|
|
26346
|
+
if (input.SubnetIds != null) {
|
|
26347
|
+
const memberEntries = serializeAws_ec2CreateVerifiedAccessEndpointSubnetIdList(input.SubnetIds, context);
|
|
26348
|
+
if (input.SubnetIds?.length === 0) {
|
|
26349
|
+
entries.SubnetId = [];
|
|
26350
|
+
}
|
|
26351
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26352
|
+
const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`;
|
|
26353
|
+
entries[loc] = value;
|
|
26354
|
+
});
|
|
26355
|
+
}
|
|
26356
|
+
return entries;
|
|
26357
|
+
};
|
|
26358
|
+
const serializeAws_ec2CreateVerifiedAccessEndpointRequest = (input, context) => {
|
|
26359
|
+
const entries = {};
|
|
26360
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
26361
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
26362
|
+
}
|
|
26363
|
+
if (input.EndpointType != null) {
|
|
26364
|
+
entries["EndpointType"] = input.EndpointType;
|
|
26365
|
+
}
|
|
26366
|
+
if (input.AttachmentType != null) {
|
|
26367
|
+
entries["AttachmentType"] = input.AttachmentType;
|
|
26368
|
+
}
|
|
26369
|
+
if (input.DomainCertificateArn != null) {
|
|
26370
|
+
entries["DomainCertificateArn"] = input.DomainCertificateArn;
|
|
26371
|
+
}
|
|
26372
|
+
if (input.ApplicationDomain != null) {
|
|
26373
|
+
entries["ApplicationDomain"] = input.ApplicationDomain;
|
|
26374
|
+
}
|
|
26375
|
+
if (input.EndpointDomainPrefix != null) {
|
|
26376
|
+
entries["EndpointDomainPrefix"] = input.EndpointDomainPrefix;
|
|
26377
|
+
}
|
|
26378
|
+
if (input.SecurityGroupIds != null) {
|
|
26379
|
+
const memberEntries = serializeAws_ec2SecurityGroupIdList(input.SecurityGroupIds, context);
|
|
26380
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
26381
|
+
entries.SecurityGroupId = [];
|
|
26382
|
+
}
|
|
26383
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26384
|
+
const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`;
|
|
26385
|
+
entries[loc] = value;
|
|
26386
|
+
});
|
|
26387
|
+
}
|
|
26388
|
+
if (input.LoadBalancerOptions != null) {
|
|
26389
|
+
const memberEntries = serializeAws_ec2CreateVerifiedAccessEndpointLoadBalancerOptions(input.LoadBalancerOptions, context);
|
|
26390
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26391
|
+
const loc = `LoadBalancerOptions.${key}`;
|
|
26392
|
+
entries[loc] = value;
|
|
26393
|
+
});
|
|
26394
|
+
}
|
|
26395
|
+
if (input.NetworkInterfaceOptions != null) {
|
|
26396
|
+
const memberEntries = serializeAws_ec2CreateVerifiedAccessEndpointEniOptions(input.NetworkInterfaceOptions, context);
|
|
26397
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26398
|
+
const loc = `NetworkInterfaceOptions.${key}`;
|
|
26399
|
+
entries[loc] = value;
|
|
26400
|
+
});
|
|
26401
|
+
}
|
|
26402
|
+
if (input.Description != null) {
|
|
26403
|
+
entries["Description"] = input.Description;
|
|
26404
|
+
}
|
|
26405
|
+
if (input.PolicyDocument != null) {
|
|
26406
|
+
entries["PolicyDocument"] = input.PolicyDocument;
|
|
26407
|
+
}
|
|
26408
|
+
if (input.TagSpecifications != null) {
|
|
26409
|
+
const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
|
|
26410
|
+
if (input.TagSpecifications?.length === 0) {
|
|
26411
|
+
entries.TagSpecification = [];
|
|
26412
|
+
}
|
|
26413
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26414
|
+
const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
|
|
26415
|
+
entries[loc] = value;
|
|
26416
|
+
});
|
|
26417
|
+
}
|
|
26418
|
+
if (input.ClientToken === undefined) {
|
|
26419
|
+
input.ClientToken = generateIdempotencyToken();
|
|
26420
|
+
}
|
|
26421
|
+
if (input.ClientToken != null) {
|
|
26422
|
+
entries["ClientToken"] = input.ClientToken;
|
|
26423
|
+
}
|
|
26424
|
+
if (input.DryRun != null) {
|
|
26425
|
+
entries["DryRun"] = input.DryRun;
|
|
26426
|
+
}
|
|
26427
|
+
return entries;
|
|
26428
|
+
};
|
|
26429
|
+
const serializeAws_ec2CreateVerifiedAccessEndpointSubnetIdList = (input, context) => {
|
|
26430
|
+
const entries = {};
|
|
26431
|
+
let counter = 1;
|
|
26432
|
+
for (const entry of input) {
|
|
26433
|
+
if (entry === null) {
|
|
26434
|
+
continue;
|
|
26435
|
+
}
|
|
26436
|
+
entries[`Item.${counter}`] = entry;
|
|
26437
|
+
counter++;
|
|
26438
|
+
}
|
|
26439
|
+
return entries;
|
|
26440
|
+
};
|
|
26441
|
+
const serializeAws_ec2CreateVerifiedAccessGroupRequest = (input, context) => {
|
|
26442
|
+
const entries = {};
|
|
26443
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
26444
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
26445
|
+
}
|
|
26446
|
+
if (input.Description != null) {
|
|
26447
|
+
entries["Description"] = input.Description;
|
|
26448
|
+
}
|
|
26449
|
+
if (input.PolicyDocument != null) {
|
|
26450
|
+
entries["PolicyDocument"] = input.PolicyDocument;
|
|
26451
|
+
}
|
|
26452
|
+
if (input.TagSpecifications != null) {
|
|
26453
|
+
const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
|
|
26454
|
+
if (input.TagSpecifications?.length === 0) {
|
|
26455
|
+
entries.TagSpecification = [];
|
|
26456
|
+
}
|
|
26457
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26458
|
+
const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
|
|
26459
|
+
entries[loc] = value;
|
|
26460
|
+
});
|
|
26461
|
+
}
|
|
26462
|
+
if (input.ClientToken === undefined) {
|
|
26463
|
+
input.ClientToken = generateIdempotencyToken();
|
|
26464
|
+
}
|
|
26465
|
+
if (input.ClientToken != null) {
|
|
26466
|
+
entries["ClientToken"] = input.ClientToken;
|
|
26467
|
+
}
|
|
26468
|
+
if (input.DryRun != null) {
|
|
26469
|
+
entries["DryRun"] = input.DryRun;
|
|
26470
|
+
}
|
|
26471
|
+
return entries;
|
|
26472
|
+
};
|
|
26473
|
+
const serializeAws_ec2CreateVerifiedAccessInstanceRequest = (input, context) => {
|
|
26474
|
+
const entries = {};
|
|
26475
|
+
if (input.Description != null) {
|
|
26476
|
+
entries["Description"] = input.Description;
|
|
26477
|
+
}
|
|
26478
|
+
if (input.TagSpecifications != null) {
|
|
26479
|
+
const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
|
|
26480
|
+
if (input.TagSpecifications?.length === 0) {
|
|
26481
|
+
entries.TagSpecification = [];
|
|
26482
|
+
}
|
|
26483
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26484
|
+
const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
|
|
26485
|
+
entries[loc] = value;
|
|
26486
|
+
});
|
|
26487
|
+
}
|
|
26488
|
+
if (input.ClientToken === undefined) {
|
|
26489
|
+
input.ClientToken = generateIdempotencyToken();
|
|
26490
|
+
}
|
|
26491
|
+
if (input.ClientToken != null) {
|
|
26492
|
+
entries["ClientToken"] = input.ClientToken;
|
|
26493
|
+
}
|
|
26494
|
+
if (input.DryRun != null) {
|
|
26495
|
+
entries["DryRun"] = input.DryRun;
|
|
26496
|
+
}
|
|
26497
|
+
return entries;
|
|
26498
|
+
};
|
|
26499
|
+
const serializeAws_ec2CreateVerifiedAccessTrustProviderDeviceOptions = (input, context) => {
|
|
26500
|
+
const entries = {};
|
|
26501
|
+
if (input.TenantId != null) {
|
|
26502
|
+
entries["TenantId"] = input.TenantId;
|
|
26503
|
+
}
|
|
26504
|
+
return entries;
|
|
26505
|
+
};
|
|
26506
|
+
const serializeAws_ec2CreateVerifiedAccessTrustProviderOidcOptions = (input, context) => {
|
|
26507
|
+
const entries = {};
|
|
26508
|
+
if (input.Issuer != null) {
|
|
26509
|
+
entries["Issuer"] = input.Issuer;
|
|
26510
|
+
}
|
|
26511
|
+
if (input.AuthorizationEndpoint != null) {
|
|
26512
|
+
entries["AuthorizationEndpoint"] = input.AuthorizationEndpoint;
|
|
26513
|
+
}
|
|
26514
|
+
if (input.TokenEndpoint != null) {
|
|
26515
|
+
entries["TokenEndpoint"] = input.TokenEndpoint;
|
|
26516
|
+
}
|
|
26517
|
+
if (input.UserInfoEndpoint != null) {
|
|
26518
|
+
entries["UserInfoEndpoint"] = input.UserInfoEndpoint;
|
|
26519
|
+
}
|
|
26520
|
+
if (input.ClientId != null) {
|
|
26521
|
+
entries["ClientId"] = input.ClientId;
|
|
26522
|
+
}
|
|
26523
|
+
if (input.ClientSecret != null) {
|
|
26524
|
+
entries["ClientSecret"] = input.ClientSecret;
|
|
26525
|
+
}
|
|
26526
|
+
if (input.Scope != null) {
|
|
26527
|
+
entries["Scope"] = input.Scope;
|
|
26528
|
+
}
|
|
26529
|
+
return entries;
|
|
26530
|
+
};
|
|
26531
|
+
const serializeAws_ec2CreateVerifiedAccessTrustProviderRequest = (input, context) => {
|
|
26532
|
+
const entries = {};
|
|
26533
|
+
if (input.TrustProviderType != null) {
|
|
26534
|
+
entries["TrustProviderType"] = input.TrustProviderType;
|
|
26535
|
+
}
|
|
26536
|
+
if (input.UserTrustProviderType != null) {
|
|
26537
|
+
entries["UserTrustProviderType"] = input.UserTrustProviderType;
|
|
26538
|
+
}
|
|
26539
|
+
if (input.DeviceTrustProviderType != null) {
|
|
26540
|
+
entries["DeviceTrustProviderType"] = input.DeviceTrustProviderType;
|
|
26541
|
+
}
|
|
26542
|
+
if (input.OidcOptions != null) {
|
|
26543
|
+
const memberEntries = serializeAws_ec2CreateVerifiedAccessTrustProviderOidcOptions(input.OidcOptions, context);
|
|
26544
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26545
|
+
const loc = `OidcOptions.${key}`;
|
|
26546
|
+
entries[loc] = value;
|
|
26547
|
+
});
|
|
26548
|
+
}
|
|
26549
|
+
if (input.DeviceOptions != null) {
|
|
26550
|
+
const memberEntries = serializeAws_ec2CreateVerifiedAccessTrustProviderDeviceOptions(input.DeviceOptions, context);
|
|
26551
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26552
|
+
const loc = `DeviceOptions.${key}`;
|
|
26553
|
+
entries[loc] = value;
|
|
26554
|
+
});
|
|
26555
|
+
}
|
|
26556
|
+
if (input.PolicyReferenceName != null) {
|
|
26557
|
+
entries["PolicyReferenceName"] = input.PolicyReferenceName;
|
|
26558
|
+
}
|
|
26559
|
+
if (input.Description != null) {
|
|
26560
|
+
entries["Description"] = input.Description;
|
|
26561
|
+
}
|
|
26562
|
+
if (input.TagSpecifications != null) {
|
|
26563
|
+
const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
|
|
26564
|
+
if (input.TagSpecifications?.length === 0) {
|
|
26565
|
+
entries.TagSpecification = [];
|
|
26566
|
+
}
|
|
26567
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
26568
|
+
const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
|
|
26569
|
+
entries[loc] = value;
|
|
26570
|
+
});
|
|
26571
|
+
}
|
|
26572
|
+
if (input.ClientToken === undefined) {
|
|
26573
|
+
input.ClientToken = generateIdempotencyToken();
|
|
26574
|
+
}
|
|
26575
|
+
if (input.ClientToken != null) {
|
|
26576
|
+
entries["ClientToken"] = input.ClientToken;
|
|
26577
|
+
}
|
|
26578
|
+
if (input.DryRun != null) {
|
|
26579
|
+
entries["DryRun"] = input.DryRun;
|
|
26580
|
+
}
|
|
26581
|
+
return entries;
|
|
26582
|
+
};
|
|
25367
26583
|
const serializeAws_ec2CreateVolumePermission = (input, context) => {
|
|
25368
26584
|
const entries = {};
|
|
25369
26585
|
if (input.Group != null) {
|
|
@@ -26547,6 +27763,70 @@ const serializeAws_ec2DeleteTransitGatewayVpcAttachmentRequest = (input, context
|
|
|
26547
27763
|
}
|
|
26548
27764
|
return entries;
|
|
26549
27765
|
};
|
|
27766
|
+
const serializeAws_ec2DeleteVerifiedAccessEndpointRequest = (input, context) => {
|
|
27767
|
+
const entries = {};
|
|
27768
|
+
if (input.VerifiedAccessEndpointId != null) {
|
|
27769
|
+
entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
|
|
27770
|
+
}
|
|
27771
|
+
if (input.ClientToken === undefined) {
|
|
27772
|
+
input.ClientToken = generateIdempotencyToken();
|
|
27773
|
+
}
|
|
27774
|
+
if (input.ClientToken != null) {
|
|
27775
|
+
entries["ClientToken"] = input.ClientToken;
|
|
27776
|
+
}
|
|
27777
|
+
if (input.DryRun != null) {
|
|
27778
|
+
entries["DryRun"] = input.DryRun;
|
|
27779
|
+
}
|
|
27780
|
+
return entries;
|
|
27781
|
+
};
|
|
27782
|
+
const serializeAws_ec2DeleteVerifiedAccessGroupRequest = (input, context) => {
|
|
27783
|
+
const entries = {};
|
|
27784
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
27785
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
27786
|
+
}
|
|
27787
|
+
if (input.ClientToken === undefined) {
|
|
27788
|
+
input.ClientToken = generateIdempotencyToken();
|
|
27789
|
+
}
|
|
27790
|
+
if (input.ClientToken != null) {
|
|
27791
|
+
entries["ClientToken"] = input.ClientToken;
|
|
27792
|
+
}
|
|
27793
|
+
if (input.DryRun != null) {
|
|
27794
|
+
entries["DryRun"] = input.DryRun;
|
|
27795
|
+
}
|
|
27796
|
+
return entries;
|
|
27797
|
+
};
|
|
27798
|
+
const serializeAws_ec2DeleteVerifiedAccessInstanceRequest = (input, context) => {
|
|
27799
|
+
const entries = {};
|
|
27800
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
27801
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
27802
|
+
}
|
|
27803
|
+
if (input.DryRun != null) {
|
|
27804
|
+
entries["DryRun"] = input.DryRun;
|
|
27805
|
+
}
|
|
27806
|
+
if (input.ClientToken === undefined) {
|
|
27807
|
+
input.ClientToken = generateIdempotencyToken();
|
|
27808
|
+
}
|
|
27809
|
+
if (input.ClientToken != null) {
|
|
27810
|
+
entries["ClientToken"] = input.ClientToken;
|
|
27811
|
+
}
|
|
27812
|
+
return entries;
|
|
27813
|
+
};
|
|
27814
|
+
const serializeAws_ec2DeleteVerifiedAccessTrustProviderRequest = (input, context) => {
|
|
27815
|
+
const entries = {};
|
|
27816
|
+
if (input.VerifiedAccessTrustProviderId != null) {
|
|
27817
|
+
entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
|
|
27818
|
+
}
|
|
27819
|
+
if (input.DryRun != null) {
|
|
27820
|
+
entries["DryRun"] = input.DryRun;
|
|
27821
|
+
}
|
|
27822
|
+
if (input.ClientToken === undefined) {
|
|
27823
|
+
input.ClientToken = generateIdempotencyToken();
|
|
27824
|
+
}
|
|
27825
|
+
if (input.ClientToken != null) {
|
|
27826
|
+
entries["ClientToken"] = input.ClientToken;
|
|
27827
|
+
}
|
|
27828
|
+
return entries;
|
|
27829
|
+
};
|
|
26550
27830
|
const serializeAws_ec2DeleteVolumeRequest = (input, context) => {
|
|
26551
27831
|
const entries = {};
|
|
26552
27832
|
if (input.VolumeId != null) {
|
|
@@ -30275,18 +31555,120 @@ const serializeAws_ec2DescribeTransitGatewayRouteTableAnnouncementsRequest = (in
|
|
|
30275
31555
|
}
|
|
30276
31556
|
return entries;
|
|
30277
31557
|
};
|
|
30278
|
-
const serializeAws_ec2DescribeTransitGatewayRouteTablesRequest = (input, context) => {
|
|
31558
|
+
const serializeAws_ec2DescribeTransitGatewayRouteTablesRequest = (input, context) => {
|
|
31559
|
+
const entries = {};
|
|
31560
|
+
if (input.TransitGatewayRouteTableIds != null) {
|
|
31561
|
+
const memberEntries = serializeAws_ec2TransitGatewayRouteTableIdStringList(input.TransitGatewayRouteTableIds, context);
|
|
31562
|
+
if (input.TransitGatewayRouteTableIds?.length === 0) {
|
|
31563
|
+
entries.TransitGatewayRouteTableIds = [];
|
|
31564
|
+
}
|
|
31565
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31566
|
+
const loc = `TransitGatewayRouteTableIds.${key.substring(key.indexOf(".") + 1)}`;
|
|
31567
|
+
entries[loc] = value;
|
|
31568
|
+
});
|
|
31569
|
+
}
|
|
31570
|
+
if (input.Filters != null) {
|
|
31571
|
+
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
31572
|
+
if (input.Filters?.length === 0) {
|
|
31573
|
+
entries.Filter = [];
|
|
31574
|
+
}
|
|
31575
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31576
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
31577
|
+
entries[loc] = value;
|
|
31578
|
+
});
|
|
31579
|
+
}
|
|
31580
|
+
if (input.MaxResults != null) {
|
|
31581
|
+
entries["MaxResults"] = input.MaxResults;
|
|
31582
|
+
}
|
|
31583
|
+
if (input.NextToken != null) {
|
|
31584
|
+
entries["NextToken"] = input.NextToken;
|
|
31585
|
+
}
|
|
31586
|
+
if (input.DryRun != null) {
|
|
31587
|
+
entries["DryRun"] = input.DryRun;
|
|
31588
|
+
}
|
|
31589
|
+
return entries;
|
|
31590
|
+
};
|
|
31591
|
+
const serializeAws_ec2DescribeTransitGatewaysRequest = (input, context) => {
|
|
31592
|
+
const entries = {};
|
|
31593
|
+
if (input.TransitGatewayIds != null) {
|
|
31594
|
+
const memberEntries = serializeAws_ec2TransitGatewayIdStringList(input.TransitGatewayIds, context);
|
|
31595
|
+
if (input.TransitGatewayIds?.length === 0) {
|
|
31596
|
+
entries.TransitGatewayIds = [];
|
|
31597
|
+
}
|
|
31598
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31599
|
+
const loc = `TransitGatewayIds.${key.substring(key.indexOf(".") + 1)}`;
|
|
31600
|
+
entries[loc] = value;
|
|
31601
|
+
});
|
|
31602
|
+
}
|
|
31603
|
+
if (input.Filters != null) {
|
|
31604
|
+
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
31605
|
+
if (input.Filters?.length === 0) {
|
|
31606
|
+
entries.Filter = [];
|
|
31607
|
+
}
|
|
31608
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31609
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
31610
|
+
entries[loc] = value;
|
|
31611
|
+
});
|
|
31612
|
+
}
|
|
31613
|
+
if (input.MaxResults != null) {
|
|
31614
|
+
entries["MaxResults"] = input.MaxResults;
|
|
31615
|
+
}
|
|
31616
|
+
if (input.NextToken != null) {
|
|
31617
|
+
entries["NextToken"] = input.NextToken;
|
|
31618
|
+
}
|
|
31619
|
+
if (input.DryRun != null) {
|
|
31620
|
+
entries["DryRun"] = input.DryRun;
|
|
31621
|
+
}
|
|
31622
|
+
return entries;
|
|
31623
|
+
};
|
|
31624
|
+
const serializeAws_ec2DescribeTransitGatewayVpcAttachmentsRequest = (input, context) => {
|
|
31625
|
+
const entries = {};
|
|
31626
|
+
if (input.TransitGatewayAttachmentIds != null) {
|
|
31627
|
+
const memberEntries = serializeAws_ec2TransitGatewayAttachmentIdStringList(input.TransitGatewayAttachmentIds, context);
|
|
31628
|
+
if (input.TransitGatewayAttachmentIds?.length === 0) {
|
|
31629
|
+
entries.TransitGatewayAttachmentIds = [];
|
|
31630
|
+
}
|
|
31631
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31632
|
+
const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`;
|
|
31633
|
+
entries[loc] = value;
|
|
31634
|
+
});
|
|
31635
|
+
}
|
|
31636
|
+
if (input.Filters != null) {
|
|
31637
|
+
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
31638
|
+
if (input.Filters?.length === 0) {
|
|
31639
|
+
entries.Filter = [];
|
|
31640
|
+
}
|
|
31641
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31642
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
31643
|
+
entries[loc] = value;
|
|
31644
|
+
});
|
|
31645
|
+
}
|
|
31646
|
+
if (input.MaxResults != null) {
|
|
31647
|
+
entries["MaxResults"] = input.MaxResults;
|
|
31648
|
+
}
|
|
31649
|
+
if (input.NextToken != null) {
|
|
31650
|
+
entries["NextToken"] = input.NextToken;
|
|
31651
|
+
}
|
|
31652
|
+
if (input.DryRun != null) {
|
|
31653
|
+
entries["DryRun"] = input.DryRun;
|
|
31654
|
+
}
|
|
31655
|
+
return entries;
|
|
31656
|
+
};
|
|
31657
|
+
const serializeAws_ec2DescribeTrunkInterfaceAssociationsRequest = (input, context) => {
|
|
30279
31658
|
const entries = {};
|
|
30280
|
-
if (input.
|
|
30281
|
-
const memberEntries =
|
|
30282
|
-
if (input.
|
|
30283
|
-
entries.
|
|
31659
|
+
if (input.AssociationIds != null) {
|
|
31660
|
+
const memberEntries = serializeAws_ec2TrunkInterfaceAssociationIdList(input.AssociationIds, context);
|
|
31661
|
+
if (input.AssociationIds?.length === 0) {
|
|
31662
|
+
entries.AssociationId = [];
|
|
30284
31663
|
}
|
|
30285
31664
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
30286
|
-
const loc = `
|
|
31665
|
+
const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`;
|
|
30287
31666
|
entries[loc] = value;
|
|
30288
31667
|
});
|
|
30289
31668
|
}
|
|
31669
|
+
if (input.DryRun != null) {
|
|
31670
|
+
entries["DryRun"] = input.DryRun;
|
|
31671
|
+
}
|
|
30290
31672
|
if (input.Filters != null) {
|
|
30291
31673
|
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
30292
31674
|
if (input.Filters?.length === 0) {
|
|
@@ -30297,29 +31679,38 @@ const serializeAws_ec2DescribeTransitGatewayRouteTablesRequest = (input, context
|
|
|
30297
31679
|
entries[loc] = value;
|
|
30298
31680
|
});
|
|
30299
31681
|
}
|
|
30300
|
-
if (input.MaxResults != null) {
|
|
30301
|
-
entries["MaxResults"] = input.MaxResults;
|
|
30302
|
-
}
|
|
30303
31682
|
if (input.NextToken != null) {
|
|
30304
31683
|
entries["NextToken"] = input.NextToken;
|
|
30305
31684
|
}
|
|
30306
|
-
if (input.
|
|
30307
|
-
entries["
|
|
31685
|
+
if (input.MaxResults != null) {
|
|
31686
|
+
entries["MaxResults"] = input.MaxResults;
|
|
30308
31687
|
}
|
|
30309
31688
|
return entries;
|
|
30310
31689
|
};
|
|
30311
|
-
const
|
|
31690
|
+
const serializeAws_ec2DescribeVerifiedAccessEndpointsRequest = (input, context) => {
|
|
30312
31691
|
const entries = {};
|
|
30313
|
-
if (input.
|
|
30314
|
-
const memberEntries =
|
|
30315
|
-
if (input.
|
|
30316
|
-
entries.
|
|
31692
|
+
if (input.VerifiedAccessEndpointIds != null) {
|
|
31693
|
+
const memberEntries = serializeAws_ec2VerifiedAccessEndpointIdList(input.VerifiedAccessEndpointIds, context);
|
|
31694
|
+
if (input.VerifiedAccessEndpointIds?.length === 0) {
|
|
31695
|
+
entries.VerifiedAccessEndpointId = [];
|
|
30317
31696
|
}
|
|
30318
31697
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
30319
|
-
const loc = `
|
|
31698
|
+
const loc = `VerifiedAccessEndpointId.${key.substring(key.indexOf(".") + 1)}`;
|
|
30320
31699
|
entries[loc] = value;
|
|
30321
31700
|
});
|
|
30322
31701
|
}
|
|
31702
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
31703
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
31704
|
+
}
|
|
31705
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
31706
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
31707
|
+
}
|
|
31708
|
+
if (input.MaxResults != null) {
|
|
31709
|
+
entries["MaxResults"] = input.MaxResults;
|
|
31710
|
+
}
|
|
31711
|
+
if (input.NextToken != null) {
|
|
31712
|
+
entries["NextToken"] = input.NextToken;
|
|
31713
|
+
}
|
|
30323
31714
|
if (input.Filters != null) {
|
|
30324
31715
|
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
30325
31716
|
if (input.Filters?.length === 0) {
|
|
@@ -30330,29 +31721,65 @@ const serializeAws_ec2DescribeTransitGatewaysRequest = (input, context) => {
|
|
|
30330
31721
|
entries[loc] = value;
|
|
30331
31722
|
});
|
|
30332
31723
|
}
|
|
31724
|
+
if (input.DryRun != null) {
|
|
31725
|
+
entries["DryRun"] = input.DryRun;
|
|
31726
|
+
}
|
|
31727
|
+
return entries;
|
|
31728
|
+
};
|
|
31729
|
+
const serializeAws_ec2DescribeVerifiedAccessGroupsRequest = (input, context) => {
|
|
31730
|
+
const entries = {};
|
|
31731
|
+
if (input.VerifiedAccessGroupIds != null) {
|
|
31732
|
+
const memberEntries = serializeAws_ec2VerifiedAccessGroupIdList(input.VerifiedAccessGroupIds, context);
|
|
31733
|
+
if (input.VerifiedAccessGroupIds?.length === 0) {
|
|
31734
|
+
entries.VerifiedAccessGroupId = [];
|
|
31735
|
+
}
|
|
31736
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31737
|
+
const loc = `VerifiedAccessGroupId.${key.substring(key.indexOf(".") + 1)}`;
|
|
31738
|
+
entries[loc] = value;
|
|
31739
|
+
});
|
|
31740
|
+
}
|
|
31741
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
31742
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
31743
|
+
}
|
|
30333
31744
|
if (input.MaxResults != null) {
|
|
30334
31745
|
entries["MaxResults"] = input.MaxResults;
|
|
30335
31746
|
}
|
|
30336
31747
|
if (input.NextToken != null) {
|
|
30337
31748
|
entries["NextToken"] = input.NextToken;
|
|
30338
31749
|
}
|
|
31750
|
+
if (input.Filters != null) {
|
|
31751
|
+
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
31752
|
+
if (input.Filters?.length === 0) {
|
|
31753
|
+
entries.Filter = [];
|
|
31754
|
+
}
|
|
31755
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31756
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
31757
|
+
entries[loc] = value;
|
|
31758
|
+
});
|
|
31759
|
+
}
|
|
30339
31760
|
if (input.DryRun != null) {
|
|
30340
31761
|
entries["DryRun"] = input.DryRun;
|
|
30341
31762
|
}
|
|
30342
31763
|
return entries;
|
|
30343
31764
|
};
|
|
30344
|
-
const
|
|
31765
|
+
const serializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsRequest = (input, context) => {
|
|
30345
31766
|
const entries = {};
|
|
30346
|
-
if (input.
|
|
30347
|
-
const memberEntries =
|
|
30348
|
-
if (input.
|
|
30349
|
-
entries.
|
|
31767
|
+
if (input.VerifiedAccessInstanceIds != null) {
|
|
31768
|
+
const memberEntries = serializeAws_ec2VerifiedAccessInstanceIdList(input.VerifiedAccessInstanceIds, context);
|
|
31769
|
+
if (input.VerifiedAccessInstanceIds?.length === 0) {
|
|
31770
|
+
entries.VerifiedAccessInstanceId = [];
|
|
30350
31771
|
}
|
|
30351
31772
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
30352
|
-
const loc = `
|
|
31773
|
+
const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`;
|
|
30353
31774
|
entries[loc] = value;
|
|
30354
31775
|
});
|
|
30355
31776
|
}
|
|
31777
|
+
if (input.MaxResults != null) {
|
|
31778
|
+
entries["MaxResults"] = input.MaxResults;
|
|
31779
|
+
}
|
|
31780
|
+
if (input.NextToken != null) {
|
|
31781
|
+
entries["NextToken"] = input.NextToken;
|
|
31782
|
+
}
|
|
30356
31783
|
if (input.Filters != null) {
|
|
30357
31784
|
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
30358
31785
|
if (input.Filters?.length === 0) {
|
|
@@ -30363,31 +31790,61 @@ const serializeAws_ec2DescribeTransitGatewayVpcAttachmentsRequest = (input, cont
|
|
|
30363
31790
|
entries[loc] = value;
|
|
30364
31791
|
});
|
|
30365
31792
|
}
|
|
31793
|
+
if (input.DryRun != null) {
|
|
31794
|
+
entries["DryRun"] = input.DryRun;
|
|
31795
|
+
}
|
|
31796
|
+
return entries;
|
|
31797
|
+
};
|
|
31798
|
+
const serializeAws_ec2DescribeVerifiedAccessInstancesRequest = (input, context) => {
|
|
31799
|
+
const entries = {};
|
|
31800
|
+
if (input.VerifiedAccessInstanceIds != null) {
|
|
31801
|
+
const memberEntries = serializeAws_ec2VerifiedAccessInstanceIdList(input.VerifiedAccessInstanceIds, context);
|
|
31802
|
+
if (input.VerifiedAccessInstanceIds?.length === 0) {
|
|
31803
|
+
entries.VerifiedAccessInstanceId = [];
|
|
31804
|
+
}
|
|
31805
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31806
|
+
const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`;
|
|
31807
|
+
entries[loc] = value;
|
|
31808
|
+
});
|
|
31809
|
+
}
|
|
30366
31810
|
if (input.MaxResults != null) {
|
|
30367
31811
|
entries["MaxResults"] = input.MaxResults;
|
|
30368
31812
|
}
|
|
30369
31813
|
if (input.NextToken != null) {
|
|
30370
31814
|
entries["NextToken"] = input.NextToken;
|
|
30371
31815
|
}
|
|
31816
|
+
if (input.Filters != null) {
|
|
31817
|
+
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
31818
|
+
if (input.Filters?.length === 0) {
|
|
31819
|
+
entries.Filter = [];
|
|
31820
|
+
}
|
|
31821
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
31822
|
+
const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
|
|
31823
|
+
entries[loc] = value;
|
|
31824
|
+
});
|
|
31825
|
+
}
|
|
30372
31826
|
if (input.DryRun != null) {
|
|
30373
31827
|
entries["DryRun"] = input.DryRun;
|
|
30374
31828
|
}
|
|
30375
31829
|
return entries;
|
|
30376
31830
|
};
|
|
30377
|
-
const
|
|
31831
|
+
const serializeAws_ec2DescribeVerifiedAccessTrustProvidersRequest = (input, context) => {
|
|
30378
31832
|
const entries = {};
|
|
30379
|
-
if (input.
|
|
30380
|
-
const memberEntries =
|
|
30381
|
-
if (input.
|
|
30382
|
-
entries.
|
|
31833
|
+
if (input.VerifiedAccessTrustProviderIds != null) {
|
|
31834
|
+
const memberEntries = serializeAws_ec2VerifiedAccessTrustProviderIdList(input.VerifiedAccessTrustProviderIds, context);
|
|
31835
|
+
if (input.VerifiedAccessTrustProviderIds?.length === 0) {
|
|
31836
|
+
entries.VerifiedAccessTrustProviderId = [];
|
|
30383
31837
|
}
|
|
30384
31838
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
30385
|
-
const loc = `
|
|
31839
|
+
const loc = `VerifiedAccessTrustProviderId.${key.substring(key.indexOf(".") + 1)}`;
|
|
30386
31840
|
entries[loc] = value;
|
|
30387
31841
|
});
|
|
30388
31842
|
}
|
|
30389
|
-
if (input.
|
|
30390
|
-
entries["
|
|
31843
|
+
if (input.MaxResults != null) {
|
|
31844
|
+
entries["MaxResults"] = input.MaxResults;
|
|
31845
|
+
}
|
|
31846
|
+
if (input.NextToken != null) {
|
|
31847
|
+
entries["NextToken"] = input.NextToken;
|
|
30391
31848
|
}
|
|
30392
31849
|
if (input.Filters != null) {
|
|
30393
31850
|
const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
|
|
@@ -30399,11 +31856,8 @@ const serializeAws_ec2DescribeTrunkInterfaceAssociationsRequest = (input, contex
|
|
|
30399
31856
|
entries[loc] = value;
|
|
30400
31857
|
});
|
|
30401
31858
|
}
|
|
30402
|
-
if (input.
|
|
30403
|
-
entries["
|
|
30404
|
-
}
|
|
30405
|
-
if (input.MaxResults != null) {
|
|
30406
|
-
entries["MaxResults"] = input.MaxResults;
|
|
31859
|
+
if (input.DryRun != null) {
|
|
31860
|
+
entries["DryRun"] = input.DryRun;
|
|
30407
31861
|
}
|
|
30408
31862
|
return entries;
|
|
30409
31863
|
};
|
|
@@ -30925,6 +32379,25 @@ const serializeAws_ec2DetachNetworkInterfaceRequest = (input, context) => {
|
|
|
30925
32379
|
}
|
|
30926
32380
|
return entries;
|
|
30927
32381
|
};
|
|
32382
|
+
const serializeAws_ec2DetachVerifiedAccessTrustProviderRequest = (input, context) => {
|
|
32383
|
+
const entries = {};
|
|
32384
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
32385
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
32386
|
+
}
|
|
32387
|
+
if (input.VerifiedAccessTrustProviderId != null) {
|
|
32388
|
+
entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
|
|
32389
|
+
}
|
|
32390
|
+
if (input.ClientToken === undefined) {
|
|
32391
|
+
input.ClientToken = generateIdempotencyToken();
|
|
32392
|
+
}
|
|
32393
|
+
if (input.ClientToken != null) {
|
|
32394
|
+
entries["ClientToken"] = input.ClientToken;
|
|
32395
|
+
}
|
|
32396
|
+
if (input.DryRun != null) {
|
|
32397
|
+
entries["DryRun"] = input.DryRun;
|
|
32398
|
+
}
|
|
32399
|
+
return entries;
|
|
32400
|
+
};
|
|
30928
32401
|
const serializeAws_ec2DetachVolumeRequest = (input, context) => {
|
|
30929
32402
|
const entries = {};
|
|
30930
32403
|
if (input.Device != null) {
|
|
@@ -32862,6 +34335,26 @@ const serializeAws_ec2GetTransitGatewayRouteTablePropagationsRequest = (input, c
|
|
|
32862
34335
|
}
|
|
32863
34336
|
return entries;
|
|
32864
34337
|
};
|
|
34338
|
+
const serializeAws_ec2GetVerifiedAccessEndpointPolicyRequest = (input, context) => {
|
|
34339
|
+
const entries = {};
|
|
34340
|
+
if (input.VerifiedAccessEndpointId != null) {
|
|
34341
|
+
entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
|
|
34342
|
+
}
|
|
34343
|
+
if (input.DryRun != null) {
|
|
34344
|
+
entries["DryRun"] = input.DryRun;
|
|
34345
|
+
}
|
|
34346
|
+
return entries;
|
|
34347
|
+
};
|
|
34348
|
+
const serializeAws_ec2GetVerifiedAccessGroupPolicyRequest = (input, context) => {
|
|
34349
|
+
const entries = {};
|
|
34350
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
34351
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
34352
|
+
}
|
|
34353
|
+
if (input.DryRun != null) {
|
|
34354
|
+
entries["DryRun"] = input.DryRun;
|
|
34355
|
+
}
|
|
34356
|
+
return entries;
|
|
34357
|
+
};
|
|
32865
34358
|
const serializeAws_ec2GetVpnConnectionDeviceSampleConfigurationRequest = (input, context) => {
|
|
32866
34359
|
const entries = {};
|
|
32867
34360
|
if (input.VpnConnectionId != null) {
|
|
@@ -36721,6 +38214,225 @@ const serializeAws_ec2ModifyTransitGatewayVpcAttachmentRequestOptions = (input,
|
|
|
36721
38214
|
}
|
|
36722
38215
|
return entries;
|
|
36723
38216
|
};
|
|
38217
|
+
const serializeAws_ec2ModifyVerifiedAccessEndpointEniOptions = (input, context) => {
|
|
38218
|
+
const entries = {};
|
|
38219
|
+
if (input.Protocol != null) {
|
|
38220
|
+
entries["Protocol"] = input.Protocol;
|
|
38221
|
+
}
|
|
38222
|
+
if (input.Port != null) {
|
|
38223
|
+
entries["Port"] = input.Port;
|
|
38224
|
+
}
|
|
38225
|
+
return entries;
|
|
38226
|
+
};
|
|
38227
|
+
const serializeAws_ec2ModifyVerifiedAccessEndpointLoadBalancerOptions = (input, context) => {
|
|
38228
|
+
const entries = {};
|
|
38229
|
+
if (input.SubnetIds != null) {
|
|
38230
|
+
const memberEntries = serializeAws_ec2ModifyVerifiedAccessEndpointSubnetIdList(input.SubnetIds, context);
|
|
38231
|
+
if (input.SubnetIds?.length === 0) {
|
|
38232
|
+
entries.SubnetId = [];
|
|
38233
|
+
}
|
|
38234
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38235
|
+
const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`;
|
|
38236
|
+
entries[loc] = value;
|
|
38237
|
+
});
|
|
38238
|
+
}
|
|
38239
|
+
if (input.Protocol != null) {
|
|
38240
|
+
entries["Protocol"] = input.Protocol;
|
|
38241
|
+
}
|
|
38242
|
+
if (input.Port != null) {
|
|
38243
|
+
entries["Port"] = input.Port;
|
|
38244
|
+
}
|
|
38245
|
+
return entries;
|
|
38246
|
+
};
|
|
38247
|
+
const serializeAws_ec2ModifyVerifiedAccessEndpointPolicyRequest = (input, context) => {
|
|
38248
|
+
const entries = {};
|
|
38249
|
+
if (input.VerifiedAccessEndpointId != null) {
|
|
38250
|
+
entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
|
|
38251
|
+
}
|
|
38252
|
+
if (input.PolicyEnabled != null) {
|
|
38253
|
+
entries["PolicyEnabled"] = input.PolicyEnabled;
|
|
38254
|
+
}
|
|
38255
|
+
if (input.PolicyDocument != null) {
|
|
38256
|
+
entries["PolicyDocument"] = input.PolicyDocument;
|
|
38257
|
+
}
|
|
38258
|
+
if (input.ClientToken === undefined) {
|
|
38259
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38260
|
+
}
|
|
38261
|
+
if (input.ClientToken != null) {
|
|
38262
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38263
|
+
}
|
|
38264
|
+
if (input.DryRun != null) {
|
|
38265
|
+
entries["DryRun"] = input.DryRun;
|
|
38266
|
+
}
|
|
38267
|
+
return entries;
|
|
38268
|
+
};
|
|
38269
|
+
const serializeAws_ec2ModifyVerifiedAccessEndpointRequest = (input, context) => {
|
|
38270
|
+
const entries = {};
|
|
38271
|
+
if (input.VerifiedAccessEndpointId != null) {
|
|
38272
|
+
entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
|
|
38273
|
+
}
|
|
38274
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
38275
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
38276
|
+
}
|
|
38277
|
+
if (input.LoadBalancerOptions != null) {
|
|
38278
|
+
const memberEntries = serializeAws_ec2ModifyVerifiedAccessEndpointLoadBalancerOptions(input.LoadBalancerOptions, context);
|
|
38279
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38280
|
+
const loc = `LoadBalancerOptions.${key}`;
|
|
38281
|
+
entries[loc] = value;
|
|
38282
|
+
});
|
|
38283
|
+
}
|
|
38284
|
+
if (input.NetworkInterfaceOptions != null) {
|
|
38285
|
+
const memberEntries = serializeAws_ec2ModifyVerifiedAccessEndpointEniOptions(input.NetworkInterfaceOptions, context);
|
|
38286
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38287
|
+
const loc = `NetworkInterfaceOptions.${key}`;
|
|
38288
|
+
entries[loc] = value;
|
|
38289
|
+
});
|
|
38290
|
+
}
|
|
38291
|
+
if (input.Description != null) {
|
|
38292
|
+
entries["Description"] = input.Description;
|
|
38293
|
+
}
|
|
38294
|
+
if (input.ClientToken === undefined) {
|
|
38295
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38296
|
+
}
|
|
38297
|
+
if (input.ClientToken != null) {
|
|
38298
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38299
|
+
}
|
|
38300
|
+
if (input.DryRun != null) {
|
|
38301
|
+
entries["DryRun"] = input.DryRun;
|
|
38302
|
+
}
|
|
38303
|
+
return entries;
|
|
38304
|
+
};
|
|
38305
|
+
const serializeAws_ec2ModifyVerifiedAccessEndpointSubnetIdList = (input, context) => {
|
|
38306
|
+
const entries = {};
|
|
38307
|
+
let counter = 1;
|
|
38308
|
+
for (const entry of input) {
|
|
38309
|
+
if (entry === null) {
|
|
38310
|
+
continue;
|
|
38311
|
+
}
|
|
38312
|
+
entries[`Item.${counter}`] = entry;
|
|
38313
|
+
counter++;
|
|
38314
|
+
}
|
|
38315
|
+
return entries;
|
|
38316
|
+
};
|
|
38317
|
+
const serializeAws_ec2ModifyVerifiedAccessGroupPolicyRequest = (input, context) => {
|
|
38318
|
+
const entries = {};
|
|
38319
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
38320
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
38321
|
+
}
|
|
38322
|
+
if (input.PolicyEnabled != null) {
|
|
38323
|
+
entries["PolicyEnabled"] = input.PolicyEnabled;
|
|
38324
|
+
}
|
|
38325
|
+
if (input.PolicyDocument != null) {
|
|
38326
|
+
entries["PolicyDocument"] = input.PolicyDocument;
|
|
38327
|
+
}
|
|
38328
|
+
if (input.ClientToken === undefined) {
|
|
38329
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38330
|
+
}
|
|
38331
|
+
if (input.ClientToken != null) {
|
|
38332
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38333
|
+
}
|
|
38334
|
+
if (input.DryRun != null) {
|
|
38335
|
+
entries["DryRun"] = input.DryRun;
|
|
38336
|
+
}
|
|
38337
|
+
return entries;
|
|
38338
|
+
};
|
|
38339
|
+
const serializeAws_ec2ModifyVerifiedAccessGroupRequest = (input, context) => {
|
|
38340
|
+
const entries = {};
|
|
38341
|
+
if (input.VerifiedAccessGroupId != null) {
|
|
38342
|
+
entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
|
|
38343
|
+
}
|
|
38344
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
38345
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
38346
|
+
}
|
|
38347
|
+
if (input.Description != null) {
|
|
38348
|
+
entries["Description"] = input.Description;
|
|
38349
|
+
}
|
|
38350
|
+
if (input.ClientToken === undefined) {
|
|
38351
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38352
|
+
}
|
|
38353
|
+
if (input.ClientToken != null) {
|
|
38354
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38355
|
+
}
|
|
38356
|
+
if (input.DryRun != null) {
|
|
38357
|
+
entries["DryRun"] = input.DryRun;
|
|
38358
|
+
}
|
|
38359
|
+
return entries;
|
|
38360
|
+
};
|
|
38361
|
+
const serializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationRequest = (input, context) => {
|
|
38362
|
+
const entries = {};
|
|
38363
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
38364
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
38365
|
+
}
|
|
38366
|
+
if (input.AccessLogs != null) {
|
|
38367
|
+
const memberEntries = serializeAws_ec2VerifiedAccessLogOptions(input.AccessLogs, context);
|
|
38368
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38369
|
+
const loc = `AccessLogs.${key}`;
|
|
38370
|
+
entries[loc] = value;
|
|
38371
|
+
});
|
|
38372
|
+
}
|
|
38373
|
+
if (input.DryRun != null) {
|
|
38374
|
+
entries["DryRun"] = input.DryRun;
|
|
38375
|
+
}
|
|
38376
|
+
if (input.ClientToken === undefined) {
|
|
38377
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38378
|
+
}
|
|
38379
|
+
if (input.ClientToken != null) {
|
|
38380
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38381
|
+
}
|
|
38382
|
+
return entries;
|
|
38383
|
+
};
|
|
38384
|
+
const serializeAws_ec2ModifyVerifiedAccessInstanceRequest = (input, context) => {
|
|
38385
|
+
const entries = {};
|
|
38386
|
+
if (input.VerifiedAccessInstanceId != null) {
|
|
38387
|
+
entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
|
|
38388
|
+
}
|
|
38389
|
+
if (input.Description != null) {
|
|
38390
|
+
entries["Description"] = input.Description;
|
|
38391
|
+
}
|
|
38392
|
+
if (input.DryRun != null) {
|
|
38393
|
+
entries["DryRun"] = input.DryRun;
|
|
38394
|
+
}
|
|
38395
|
+
if (input.ClientToken === undefined) {
|
|
38396
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38397
|
+
}
|
|
38398
|
+
if (input.ClientToken != null) {
|
|
38399
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38400
|
+
}
|
|
38401
|
+
return entries;
|
|
38402
|
+
};
|
|
38403
|
+
const serializeAws_ec2ModifyVerifiedAccessTrustProviderOidcOptions = (input, context) => {
|
|
38404
|
+
const entries = {};
|
|
38405
|
+
if (input.Scope != null) {
|
|
38406
|
+
entries["Scope"] = input.Scope;
|
|
38407
|
+
}
|
|
38408
|
+
return entries;
|
|
38409
|
+
};
|
|
38410
|
+
const serializeAws_ec2ModifyVerifiedAccessTrustProviderRequest = (input, context) => {
|
|
38411
|
+
const entries = {};
|
|
38412
|
+
if (input.VerifiedAccessTrustProviderId != null) {
|
|
38413
|
+
entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
|
|
38414
|
+
}
|
|
38415
|
+
if (input.OidcOptions != null) {
|
|
38416
|
+
const memberEntries = serializeAws_ec2ModifyVerifiedAccessTrustProviderOidcOptions(input.OidcOptions, context);
|
|
38417
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38418
|
+
const loc = `OidcOptions.${key}`;
|
|
38419
|
+
entries[loc] = value;
|
|
38420
|
+
});
|
|
38421
|
+
}
|
|
38422
|
+
if (input.Description != null) {
|
|
38423
|
+
entries["Description"] = input.Description;
|
|
38424
|
+
}
|
|
38425
|
+
if (input.DryRun != null) {
|
|
38426
|
+
entries["DryRun"] = input.DryRun;
|
|
38427
|
+
}
|
|
38428
|
+
if (input.ClientToken === undefined) {
|
|
38429
|
+
input.ClientToken = generateIdempotencyToken();
|
|
38430
|
+
}
|
|
38431
|
+
if (input.ClientToken != null) {
|
|
38432
|
+
entries["ClientToken"] = input.ClientToken;
|
|
38433
|
+
}
|
|
38434
|
+
return entries;
|
|
38435
|
+
};
|
|
36724
38436
|
const serializeAws_ec2ModifyVolumeAttributeRequest = (input, context) => {
|
|
36725
38437
|
const entries = {};
|
|
36726
38438
|
if (input.AutoEnableIO != null) {
|
|
@@ -40419,6 +42131,18 @@ const serializeAws_ec2SearchTransitGatewayRoutesRequest = (input, context) => {
|
|
|
40419
42131
|
}
|
|
40420
42132
|
return entries;
|
|
40421
42133
|
};
|
|
42134
|
+
const serializeAws_ec2SecurityGroupIdList = (input, context) => {
|
|
42135
|
+
const entries = {};
|
|
42136
|
+
let counter = 1;
|
|
42137
|
+
for (const entry of input) {
|
|
42138
|
+
if (entry === null) {
|
|
42139
|
+
continue;
|
|
42140
|
+
}
|
|
42141
|
+
entries[`Item.${counter}`] = entry;
|
|
42142
|
+
counter++;
|
|
42143
|
+
}
|
|
42144
|
+
return entries;
|
|
42145
|
+
};
|
|
40422
42146
|
const serializeAws_ec2SecurityGroupIdStringList = (input, context) => {
|
|
40423
42147
|
const entries = {};
|
|
40424
42148
|
let counter = 1;
|
|
@@ -41843,6 +43567,115 @@ const serializeAws_ec2VCpuCountRangeRequest = (input, context) => {
|
|
|
41843
43567
|
}
|
|
41844
43568
|
return entries;
|
|
41845
43569
|
};
|
|
43570
|
+
const serializeAws_ec2VerifiedAccessEndpointIdList = (input, context) => {
|
|
43571
|
+
const entries = {};
|
|
43572
|
+
let counter = 1;
|
|
43573
|
+
for (const entry of input) {
|
|
43574
|
+
if (entry === null) {
|
|
43575
|
+
continue;
|
|
43576
|
+
}
|
|
43577
|
+
entries[`Item.${counter}`] = entry;
|
|
43578
|
+
counter++;
|
|
43579
|
+
}
|
|
43580
|
+
return entries;
|
|
43581
|
+
};
|
|
43582
|
+
const serializeAws_ec2VerifiedAccessGroupIdList = (input, context) => {
|
|
43583
|
+
const entries = {};
|
|
43584
|
+
let counter = 1;
|
|
43585
|
+
for (const entry of input) {
|
|
43586
|
+
if (entry === null) {
|
|
43587
|
+
continue;
|
|
43588
|
+
}
|
|
43589
|
+
entries[`Item.${counter}`] = entry;
|
|
43590
|
+
counter++;
|
|
43591
|
+
}
|
|
43592
|
+
return entries;
|
|
43593
|
+
};
|
|
43594
|
+
const serializeAws_ec2VerifiedAccessInstanceIdList = (input, context) => {
|
|
43595
|
+
const entries = {};
|
|
43596
|
+
let counter = 1;
|
|
43597
|
+
for (const entry of input) {
|
|
43598
|
+
if (entry === null) {
|
|
43599
|
+
continue;
|
|
43600
|
+
}
|
|
43601
|
+
entries[`Item.${counter}`] = entry;
|
|
43602
|
+
counter++;
|
|
43603
|
+
}
|
|
43604
|
+
return entries;
|
|
43605
|
+
};
|
|
43606
|
+
const serializeAws_ec2VerifiedAccessLogCloudWatchLogsDestinationOptions = (input, context) => {
|
|
43607
|
+
const entries = {};
|
|
43608
|
+
if (input.Enabled != null) {
|
|
43609
|
+
entries["Enabled"] = input.Enabled;
|
|
43610
|
+
}
|
|
43611
|
+
if (input.LogGroup != null) {
|
|
43612
|
+
entries["LogGroup"] = input.LogGroup;
|
|
43613
|
+
}
|
|
43614
|
+
return entries;
|
|
43615
|
+
};
|
|
43616
|
+
const serializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestinationOptions = (input, context) => {
|
|
43617
|
+
const entries = {};
|
|
43618
|
+
if (input.Enabled != null) {
|
|
43619
|
+
entries["Enabled"] = input.Enabled;
|
|
43620
|
+
}
|
|
43621
|
+
if (input.DeliveryStream != null) {
|
|
43622
|
+
entries["DeliveryStream"] = input.DeliveryStream;
|
|
43623
|
+
}
|
|
43624
|
+
return entries;
|
|
43625
|
+
};
|
|
43626
|
+
const serializeAws_ec2VerifiedAccessLogOptions = (input, context) => {
|
|
43627
|
+
const entries = {};
|
|
43628
|
+
if (input.S3 != null) {
|
|
43629
|
+
const memberEntries = serializeAws_ec2VerifiedAccessLogS3DestinationOptions(input.S3, context);
|
|
43630
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
43631
|
+
const loc = `S3.${key}`;
|
|
43632
|
+
entries[loc] = value;
|
|
43633
|
+
});
|
|
43634
|
+
}
|
|
43635
|
+
if (input.CloudWatchLogs != null) {
|
|
43636
|
+
const memberEntries = serializeAws_ec2VerifiedAccessLogCloudWatchLogsDestinationOptions(input.CloudWatchLogs, context);
|
|
43637
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
43638
|
+
const loc = `CloudWatchLogs.${key}`;
|
|
43639
|
+
entries[loc] = value;
|
|
43640
|
+
});
|
|
43641
|
+
}
|
|
43642
|
+
if (input.KinesisDataFirehose != null) {
|
|
43643
|
+
const memberEntries = serializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestinationOptions(input.KinesisDataFirehose, context);
|
|
43644
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
43645
|
+
const loc = `KinesisDataFirehose.${key}`;
|
|
43646
|
+
entries[loc] = value;
|
|
43647
|
+
});
|
|
43648
|
+
}
|
|
43649
|
+
return entries;
|
|
43650
|
+
};
|
|
43651
|
+
const serializeAws_ec2VerifiedAccessLogS3DestinationOptions = (input, context) => {
|
|
43652
|
+
const entries = {};
|
|
43653
|
+
if (input.Enabled != null) {
|
|
43654
|
+
entries["Enabled"] = input.Enabled;
|
|
43655
|
+
}
|
|
43656
|
+
if (input.BucketName != null) {
|
|
43657
|
+
entries["BucketName"] = input.BucketName;
|
|
43658
|
+
}
|
|
43659
|
+
if (input.Prefix != null) {
|
|
43660
|
+
entries["Prefix"] = input.Prefix;
|
|
43661
|
+
}
|
|
43662
|
+
if (input.BucketOwner != null) {
|
|
43663
|
+
entries["BucketOwner"] = input.BucketOwner;
|
|
43664
|
+
}
|
|
43665
|
+
return entries;
|
|
43666
|
+
};
|
|
43667
|
+
const serializeAws_ec2VerifiedAccessTrustProviderIdList = (input, context) => {
|
|
43668
|
+
const entries = {};
|
|
43669
|
+
let counter = 1;
|
|
43670
|
+
for (const entry of input) {
|
|
43671
|
+
if (entry === null) {
|
|
43672
|
+
continue;
|
|
43673
|
+
}
|
|
43674
|
+
entries[`Item.${counter}`] = entry;
|
|
43675
|
+
counter++;
|
|
43676
|
+
}
|
|
43677
|
+
return entries;
|
|
43678
|
+
};
|
|
41846
43679
|
const serializeAws_ec2VersionStringList = (input, context) => {
|
|
41847
43680
|
const entries = {};
|
|
41848
43681
|
let counter = 1;
|
|
@@ -43308,6 +45141,19 @@ const deserializeAws_ec2AttachNetworkInterfaceResult = (output, context) => {
|
|
|
43308
45141
|
}
|
|
43309
45142
|
return contents;
|
|
43310
45143
|
};
|
|
45144
|
+
const deserializeAws_ec2AttachVerifiedAccessTrustProviderResult = (output, context) => {
|
|
45145
|
+
const contents = {
|
|
45146
|
+
VerifiedAccessTrustProvider: undefined,
|
|
45147
|
+
VerifiedAccessInstance: undefined,
|
|
45148
|
+
};
|
|
45149
|
+
if (output["verifiedAccessTrustProvider"] !== undefined) {
|
|
45150
|
+
contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
|
|
45151
|
+
}
|
|
45152
|
+
if (output["verifiedAccessInstance"] !== undefined) {
|
|
45153
|
+
contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
|
|
45154
|
+
}
|
|
45155
|
+
return contents;
|
|
45156
|
+
};
|
|
43311
45157
|
const deserializeAws_ec2AttachVpnGatewayResult = (output, context) => {
|
|
43312
45158
|
const contents = {
|
|
43313
45159
|
VpcAttachment: undefined,
|
|
@@ -45682,6 +47528,42 @@ const deserializeAws_ec2CreateTransitGatewayVpcAttachmentResult = (output, conte
|
|
|
45682
47528
|
}
|
|
45683
47529
|
return contents;
|
|
45684
47530
|
};
|
|
47531
|
+
const deserializeAws_ec2CreateVerifiedAccessEndpointResult = (output, context) => {
|
|
47532
|
+
const contents = {
|
|
47533
|
+
VerifiedAccessEndpoint: undefined,
|
|
47534
|
+
};
|
|
47535
|
+
if (output["verifiedAccessEndpoint"] !== undefined) {
|
|
47536
|
+
contents.VerifiedAccessEndpoint = deserializeAws_ec2VerifiedAccessEndpoint(output["verifiedAccessEndpoint"], context);
|
|
47537
|
+
}
|
|
47538
|
+
return contents;
|
|
47539
|
+
};
|
|
47540
|
+
const deserializeAws_ec2CreateVerifiedAccessGroupResult = (output, context) => {
|
|
47541
|
+
const contents = {
|
|
47542
|
+
VerifiedAccessGroup: undefined,
|
|
47543
|
+
};
|
|
47544
|
+
if (output["verifiedAccessGroup"] !== undefined) {
|
|
47545
|
+
contents.VerifiedAccessGroup = deserializeAws_ec2VerifiedAccessGroup(output["verifiedAccessGroup"], context);
|
|
47546
|
+
}
|
|
47547
|
+
return contents;
|
|
47548
|
+
};
|
|
47549
|
+
const deserializeAws_ec2CreateVerifiedAccessInstanceResult = (output, context) => {
|
|
47550
|
+
const contents = {
|
|
47551
|
+
VerifiedAccessInstance: undefined,
|
|
47552
|
+
};
|
|
47553
|
+
if (output["verifiedAccessInstance"] !== undefined) {
|
|
47554
|
+
contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
|
|
47555
|
+
}
|
|
47556
|
+
return contents;
|
|
47557
|
+
};
|
|
47558
|
+
const deserializeAws_ec2CreateVerifiedAccessTrustProviderResult = (output, context) => {
|
|
47559
|
+
const contents = {
|
|
47560
|
+
VerifiedAccessTrustProvider: undefined,
|
|
47561
|
+
};
|
|
47562
|
+
if (output["verifiedAccessTrustProvider"] !== undefined) {
|
|
47563
|
+
contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
|
|
47564
|
+
}
|
|
47565
|
+
return contents;
|
|
47566
|
+
};
|
|
45685
47567
|
const deserializeAws_ec2CreateVolumePermission = (output, context) => {
|
|
45686
47568
|
const contents = {
|
|
45687
47569
|
Group: undefined,
|
|
@@ -46443,6 +48325,42 @@ const deserializeAws_ec2DeleteTransitGatewayVpcAttachmentResult = (output, conte
|
|
|
46443
48325
|
}
|
|
46444
48326
|
return contents;
|
|
46445
48327
|
};
|
|
48328
|
+
const deserializeAws_ec2DeleteVerifiedAccessEndpointResult = (output, context) => {
|
|
48329
|
+
const contents = {
|
|
48330
|
+
VerifiedAccessEndpoint: undefined,
|
|
48331
|
+
};
|
|
48332
|
+
if (output["verifiedAccessEndpoint"] !== undefined) {
|
|
48333
|
+
contents.VerifiedAccessEndpoint = deserializeAws_ec2VerifiedAccessEndpoint(output["verifiedAccessEndpoint"], context);
|
|
48334
|
+
}
|
|
48335
|
+
return contents;
|
|
48336
|
+
};
|
|
48337
|
+
const deserializeAws_ec2DeleteVerifiedAccessGroupResult = (output, context) => {
|
|
48338
|
+
const contents = {
|
|
48339
|
+
VerifiedAccessGroup: undefined,
|
|
48340
|
+
};
|
|
48341
|
+
if (output["verifiedAccessGroup"] !== undefined) {
|
|
48342
|
+
contents.VerifiedAccessGroup = deserializeAws_ec2VerifiedAccessGroup(output["verifiedAccessGroup"], context);
|
|
48343
|
+
}
|
|
48344
|
+
return contents;
|
|
48345
|
+
};
|
|
48346
|
+
const deserializeAws_ec2DeleteVerifiedAccessInstanceResult = (output, context) => {
|
|
48347
|
+
const contents = {
|
|
48348
|
+
VerifiedAccessInstance: undefined,
|
|
48349
|
+
};
|
|
48350
|
+
if (output["verifiedAccessInstance"] !== undefined) {
|
|
48351
|
+
contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
|
|
48352
|
+
}
|
|
48353
|
+
return contents;
|
|
48354
|
+
};
|
|
48355
|
+
const deserializeAws_ec2DeleteVerifiedAccessTrustProviderResult = (output, context) => {
|
|
48356
|
+
const contents = {
|
|
48357
|
+
VerifiedAccessTrustProvider: undefined,
|
|
48358
|
+
};
|
|
48359
|
+
if (output["verifiedAccessTrustProvider"] !== undefined) {
|
|
48360
|
+
contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
|
|
48361
|
+
}
|
|
48362
|
+
return contents;
|
|
48363
|
+
};
|
|
46446
48364
|
const deserializeAws_ec2DeleteVpcEndpointConnectionNotificationsResult = (output, context) => {
|
|
46447
48365
|
const contents = {
|
|
46448
48366
|
Unsuccessful: undefined,
|
|
@@ -48625,6 +50543,90 @@ const deserializeAws_ec2DescribeTrunkInterfaceAssociationsResult = (output, cont
|
|
|
48625
50543
|
}
|
|
48626
50544
|
return contents;
|
|
48627
50545
|
};
|
|
50546
|
+
const deserializeAws_ec2DescribeVerifiedAccessEndpointsResult = (output, context) => {
|
|
50547
|
+
const contents = {
|
|
50548
|
+
VerifiedAccessEndpoints: undefined,
|
|
50549
|
+
NextToken: undefined,
|
|
50550
|
+
};
|
|
50551
|
+
if (output.verifiedAccessEndpointSet === "") {
|
|
50552
|
+
contents.VerifiedAccessEndpoints = [];
|
|
50553
|
+
}
|
|
50554
|
+
else if (output["verifiedAccessEndpointSet"] !== undefined &&
|
|
50555
|
+
output["verifiedAccessEndpointSet"]["item"] !== undefined) {
|
|
50556
|
+
contents.VerifiedAccessEndpoints = deserializeAws_ec2VerifiedAccessEndpointList(__getArrayIfSingleItem(output["verifiedAccessEndpointSet"]["item"]), context);
|
|
50557
|
+
}
|
|
50558
|
+
if (output["nextToken"] !== undefined) {
|
|
50559
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
50560
|
+
}
|
|
50561
|
+
return contents;
|
|
50562
|
+
};
|
|
50563
|
+
const deserializeAws_ec2DescribeVerifiedAccessGroupsResult = (output, context) => {
|
|
50564
|
+
const contents = {
|
|
50565
|
+
VerifiedAccessGroups: undefined,
|
|
50566
|
+
NextToken: undefined,
|
|
50567
|
+
};
|
|
50568
|
+
if (output.verifiedAccessGroupSet === "") {
|
|
50569
|
+
contents.VerifiedAccessGroups = [];
|
|
50570
|
+
}
|
|
50571
|
+
else if (output["verifiedAccessGroupSet"] !== undefined && output["verifiedAccessGroupSet"]["item"] !== undefined) {
|
|
50572
|
+
contents.VerifiedAccessGroups = deserializeAws_ec2VerifiedAccessGroupList(__getArrayIfSingleItem(output["verifiedAccessGroupSet"]["item"]), context);
|
|
50573
|
+
}
|
|
50574
|
+
if (output["nextToken"] !== undefined) {
|
|
50575
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
50576
|
+
}
|
|
50577
|
+
return contents;
|
|
50578
|
+
};
|
|
50579
|
+
const deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsResult = (output, context) => {
|
|
50580
|
+
const contents = {
|
|
50581
|
+
LoggingConfigurations: undefined,
|
|
50582
|
+
NextToken: undefined,
|
|
50583
|
+
};
|
|
50584
|
+
if (output.loggingConfigurationSet === "") {
|
|
50585
|
+
contents.LoggingConfigurations = [];
|
|
50586
|
+
}
|
|
50587
|
+
else if (output["loggingConfigurationSet"] !== undefined &&
|
|
50588
|
+
output["loggingConfigurationSet"]["item"] !== undefined) {
|
|
50589
|
+
contents.LoggingConfigurations = deserializeAws_ec2VerifiedAccessInstanceLoggingConfigurationList(__getArrayIfSingleItem(output["loggingConfigurationSet"]["item"]), context);
|
|
50590
|
+
}
|
|
50591
|
+
if (output["nextToken"] !== undefined) {
|
|
50592
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
50593
|
+
}
|
|
50594
|
+
return contents;
|
|
50595
|
+
};
|
|
50596
|
+
const deserializeAws_ec2DescribeVerifiedAccessInstancesResult = (output, context) => {
|
|
50597
|
+
const contents = {
|
|
50598
|
+
VerifiedAccessInstances: undefined,
|
|
50599
|
+
NextToken: undefined,
|
|
50600
|
+
};
|
|
50601
|
+
if (output.verifiedAccessInstanceSet === "") {
|
|
50602
|
+
contents.VerifiedAccessInstances = [];
|
|
50603
|
+
}
|
|
50604
|
+
else if (output["verifiedAccessInstanceSet"] !== undefined &&
|
|
50605
|
+
output["verifiedAccessInstanceSet"]["item"] !== undefined) {
|
|
50606
|
+
contents.VerifiedAccessInstances = deserializeAws_ec2VerifiedAccessInstanceList(__getArrayIfSingleItem(output["verifiedAccessInstanceSet"]["item"]), context);
|
|
50607
|
+
}
|
|
50608
|
+
if (output["nextToken"] !== undefined) {
|
|
50609
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
50610
|
+
}
|
|
50611
|
+
return contents;
|
|
50612
|
+
};
|
|
50613
|
+
const deserializeAws_ec2DescribeVerifiedAccessTrustProvidersResult = (output, context) => {
|
|
50614
|
+
const contents = {
|
|
50615
|
+
VerifiedAccessTrustProviders: undefined,
|
|
50616
|
+
NextToken: undefined,
|
|
50617
|
+
};
|
|
50618
|
+
if (output.verifiedAccessTrustProviderSet === "") {
|
|
50619
|
+
contents.VerifiedAccessTrustProviders = [];
|
|
50620
|
+
}
|
|
50621
|
+
else if (output["verifiedAccessTrustProviderSet"] !== undefined &&
|
|
50622
|
+
output["verifiedAccessTrustProviderSet"]["item"] !== undefined) {
|
|
50623
|
+
contents.VerifiedAccessTrustProviders = deserializeAws_ec2VerifiedAccessTrustProviderList(__getArrayIfSingleItem(output["verifiedAccessTrustProviderSet"]["item"]), context);
|
|
50624
|
+
}
|
|
50625
|
+
if (output["nextToken"] !== undefined) {
|
|
50626
|
+
contents.NextToken = __expectString(output["nextToken"]);
|
|
50627
|
+
}
|
|
50628
|
+
return contents;
|
|
50629
|
+
};
|
|
48628
50630
|
const deserializeAws_ec2DescribeVolumeAttributeResult = (output, context) => {
|
|
48629
50631
|
const contents = {
|
|
48630
50632
|
AutoEnableIO: undefined,
|
|
@@ -48931,6 +50933,28 @@ const deserializeAws_ec2DetachClassicLinkVpcResult = (output, context) => {
|
|
|
48931
50933
|
}
|
|
48932
50934
|
return contents;
|
|
48933
50935
|
};
|
|
50936
|
+
const deserializeAws_ec2DetachVerifiedAccessTrustProviderResult = (output, context) => {
|
|
50937
|
+
const contents = {
|
|
50938
|
+
VerifiedAccessTrustProvider: undefined,
|
|
50939
|
+
VerifiedAccessInstance: undefined,
|
|
50940
|
+
};
|
|
50941
|
+
if (output["verifiedAccessTrustProvider"] !== undefined) {
|
|
50942
|
+
contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
|
|
50943
|
+
}
|
|
50944
|
+
if (output["verifiedAccessInstance"] !== undefined) {
|
|
50945
|
+
contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
|
|
50946
|
+
}
|
|
50947
|
+
return contents;
|
|
50948
|
+
};
|
|
50949
|
+
const deserializeAws_ec2DeviceOptions = (output, context) => {
|
|
50950
|
+
const contents = {
|
|
50951
|
+
TenantId: undefined,
|
|
50952
|
+
};
|
|
50953
|
+
if (output["tenantId"] !== undefined) {
|
|
50954
|
+
contents.TenantId = __expectString(output["tenantId"]);
|
|
50955
|
+
}
|
|
50956
|
+
return contents;
|
|
50957
|
+
};
|
|
48934
50958
|
const deserializeAws_ec2DhcpConfiguration = (output, context) => {
|
|
48935
50959
|
const contents = {
|
|
48936
50960
|
Key: undefined,
|
|
@@ -51692,6 +53716,32 @@ const deserializeAws_ec2GetTransitGatewayRouteTablePropagationsResult = (output,
|
|
|
51692
53716
|
}
|
|
51693
53717
|
return contents;
|
|
51694
53718
|
};
|
|
53719
|
+
const deserializeAws_ec2GetVerifiedAccessEndpointPolicyResult = (output, context) => {
|
|
53720
|
+
const contents = {
|
|
53721
|
+
PolicyEnabled: undefined,
|
|
53722
|
+
PolicyDocument: undefined,
|
|
53723
|
+
};
|
|
53724
|
+
if (output["policyEnabled"] !== undefined) {
|
|
53725
|
+
contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
|
|
53726
|
+
}
|
|
53727
|
+
if (output["policyDocument"] !== undefined) {
|
|
53728
|
+
contents.PolicyDocument = __expectString(output["policyDocument"]);
|
|
53729
|
+
}
|
|
53730
|
+
return contents;
|
|
53731
|
+
};
|
|
53732
|
+
const deserializeAws_ec2GetVerifiedAccessGroupPolicyResult = (output, context) => {
|
|
53733
|
+
const contents = {
|
|
53734
|
+
PolicyEnabled: undefined,
|
|
53735
|
+
PolicyDocument: undefined,
|
|
53736
|
+
};
|
|
53737
|
+
if (output["policyEnabled"] !== undefined) {
|
|
53738
|
+
contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
|
|
53739
|
+
}
|
|
53740
|
+
if (output["policyDocument"] !== undefined) {
|
|
53741
|
+
contents.PolicyDocument = __expectString(output["policyDocument"]);
|
|
53742
|
+
}
|
|
53743
|
+
return contents;
|
|
53744
|
+
};
|
|
51695
53745
|
const deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationResult = (output, context) => {
|
|
51696
53746
|
const contents = {
|
|
51697
53747
|
VpnConnectionDeviceSampleConfiguration: undefined,
|
|
@@ -56851,6 +58901,77 @@ const deserializeAws_ec2ModifyTransitGatewayVpcAttachmentResult = (output, conte
|
|
|
56851
58901
|
}
|
|
56852
58902
|
return contents;
|
|
56853
58903
|
};
|
|
58904
|
+
const deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyResult = (output, context) => {
|
|
58905
|
+
const contents = {
|
|
58906
|
+
PolicyEnabled: undefined,
|
|
58907
|
+
PolicyDocument: undefined,
|
|
58908
|
+
};
|
|
58909
|
+
if (output["policyEnabled"] !== undefined) {
|
|
58910
|
+
contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
|
|
58911
|
+
}
|
|
58912
|
+
if (output["policyDocument"] !== undefined) {
|
|
58913
|
+
contents.PolicyDocument = __expectString(output["policyDocument"]);
|
|
58914
|
+
}
|
|
58915
|
+
return contents;
|
|
58916
|
+
};
|
|
58917
|
+
const deserializeAws_ec2ModifyVerifiedAccessEndpointResult = (output, context) => {
|
|
58918
|
+
const contents = {
|
|
58919
|
+
VerifiedAccessEndpoint: undefined,
|
|
58920
|
+
};
|
|
58921
|
+
if (output["verifiedAccessEndpoint"] !== undefined) {
|
|
58922
|
+
contents.VerifiedAccessEndpoint = deserializeAws_ec2VerifiedAccessEndpoint(output["verifiedAccessEndpoint"], context);
|
|
58923
|
+
}
|
|
58924
|
+
return contents;
|
|
58925
|
+
};
|
|
58926
|
+
const deserializeAws_ec2ModifyVerifiedAccessGroupPolicyResult = (output, context) => {
|
|
58927
|
+
const contents = {
|
|
58928
|
+
PolicyEnabled: undefined,
|
|
58929
|
+
PolicyDocument: undefined,
|
|
58930
|
+
};
|
|
58931
|
+
if (output["policyEnabled"] !== undefined) {
|
|
58932
|
+
contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
|
|
58933
|
+
}
|
|
58934
|
+
if (output["policyDocument"] !== undefined) {
|
|
58935
|
+
contents.PolicyDocument = __expectString(output["policyDocument"]);
|
|
58936
|
+
}
|
|
58937
|
+
return contents;
|
|
58938
|
+
};
|
|
58939
|
+
const deserializeAws_ec2ModifyVerifiedAccessGroupResult = (output, context) => {
|
|
58940
|
+
const contents = {
|
|
58941
|
+
VerifiedAccessGroup: undefined,
|
|
58942
|
+
};
|
|
58943
|
+
if (output["verifiedAccessGroup"] !== undefined) {
|
|
58944
|
+
contents.VerifiedAccessGroup = deserializeAws_ec2VerifiedAccessGroup(output["verifiedAccessGroup"], context);
|
|
58945
|
+
}
|
|
58946
|
+
return contents;
|
|
58947
|
+
};
|
|
58948
|
+
const deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationResult = (output, context) => {
|
|
58949
|
+
const contents = {
|
|
58950
|
+
LoggingConfiguration: undefined,
|
|
58951
|
+
};
|
|
58952
|
+
if (output["loggingConfiguration"] !== undefined) {
|
|
58953
|
+
contents.LoggingConfiguration = deserializeAws_ec2VerifiedAccessInstanceLoggingConfiguration(output["loggingConfiguration"], context);
|
|
58954
|
+
}
|
|
58955
|
+
return contents;
|
|
58956
|
+
};
|
|
58957
|
+
const deserializeAws_ec2ModifyVerifiedAccessInstanceResult = (output, context) => {
|
|
58958
|
+
const contents = {
|
|
58959
|
+
VerifiedAccessInstance: undefined,
|
|
58960
|
+
};
|
|
58961
|
+
if (output["verifiedAccessInstance"] !== undefined) {
|
|
58962
|
+
contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
|
|
58963
|
+
}
|
|
58964
|
+
return contents;
|
|
58965
|
+
};
|
|
58966
|
+
const deserializeAws_ec2ModifyVerifiedAccessTrustProviderResult = (output, context) => {
|
|
58967
|
+
const contents = {
|
|
58968
|
+
VerifiedAccessTrustProvider: undefined,
|
|
58969
|
+
};
|
|
58970
|
+
if (output["verifiedAccessTrustProvider"] !== undefined) {
|
|
58971
|
+
contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
|
|
58972
|
+
}
|
|
58973
|
+
return contents;
|
|
58974
|
+
};
|
|
56854
58975
|
const deserializeAws_ec2ModifyVolumeResult = (output, context) => {
|
|
56855
58976
|
const contents = {
|
|
56856
58977
|
VolumeModification: undefined,
|
|
@@ -57943,6 +60064,39 @@ const deserializeAws_ec2OccurrenceDaySet = (output, context) => {
|
|
|
57943
60064
|
return __strictParseInt32(entry);
|
|
57944
60065
|
});
|
|
57945
60066
|
};
|
|
60067
|
+
const deserializeAws_ec2OidcOptions = (output, context) => {
|
|
60068
|
+
const contents = {
|
|
60069
|
+
Issuer: undefined,
|
|
60070
|
+
AuthorizationEndpoint: undefined,
|
|
60071
|
+
TokenEndpoint: undefined,
|
|
60072
|
+
UserInfoEndpoint: undefined,
|
|
60073
|
+
ClientId: undefined,
|
|
60074
|
+
ClientSecret: undefined,
|
|
60075
|
+
Scope: undefined,
|
|
60076
|
+
};
|
|
60077
|
+
if (output["issuer"] !== undefined) {
|
|
60078
|
+
contents.Issuer = __expectString(output["issuer"]);
|
|
60079
|
+
}
|
|
60080
|
+
if (output["authorizationEndpoint"] !== undefined) {
|
|
60081
|
+
contents.AuthorizationEndpoint = __expectString(output["authorizationEndpoint"]);
|
|
60082
|
+
}
|
|
60083
|
+
if (output["tokenEndpoint"] !== undefined) {
|
|
60084
|
+
contents.TokenEndpoint = __expectString(output["tokenEndpoint"]);
|
|
60085
|
+
}
|
|
60086
|
+
if (output["userInfoEndpoint"] !== undefined) {
|
|
60087
|
+
contents.UserInfoEndpoint = __expectString(output["userInfoEndpoint"]);
|
|
60088
|
+
}
|
|
60089
|
+
if (output["clientId"] !== undefined) {
|
|
60090
|
+
contents.ClientId = __expectString(output["clientId"]);
|
|
60091
|
+
}
|
|
60092
|
+
if (output["clientSecret"] !== undefined) {
|
|
60093
|
+
contents.ClientSecret = __expectString(output["clientSecret"]);
|
|
60094
|
+
}
|
|
60095
|
+
if (output["scope"] !== undefined) {
|
|
60096
|
+
contents.Scope = __expectString(output["scope"]);
|
|
60097
|
+
}
|
|
60098
|
+
return contents;
|
|
60099
|
+
};
|
|
57946
60100
|
const deserializeAws_ec2OnDemandOptions = (output, context) => {
|
|
57947
60101
|
const contents = {
|
|
57948
60102
|
AllocationStrategy: undefined,
|
|
@@ -60591,6 +62745,13 @@ const deserializeAws_ec2SecurityGroupIdentifier = (output, context) => {
|
|
|
60591
62745
|
}
|
|
60592
62746
|
return contents;
|
|
60593
62747
|
};
|
|
62748
|
+
const deserializeAws_ec2SecurityGroupIdList = (output, context) => {
|
|
62749
|
+
return (output || [])
|
|
62750
|
+
.filter((e) => e != null)
|
|
62751
|
+
.map((entry) => {
|
|
62752
|
+
return __expectString(entry);
|
|
62753
|
+
});
|
|
62754
|
+
};
|
|
60594
62755
|
const deserializeAws_ec2SecurityGroupIdStringList = (output, context) => {
|
|
60595
62756
|
return (output || [])
|
|
60596
62757
|
.filter((e) => e != null)
|
|
@@ -64460,6 +66621,451 @@ const deserializeAws_ec2VCpuInfo = (output, context) => {
|
|
|
64460
66621
|
}
|
|
64461
66622
|
return contents;
|
|
64462
66623
|
};
|
|
66624
|
+
const deserializeAws_ec2VerifiedAccessEndpoint = (output, context) => {
|
|
66625
|
+
const contents = {
|
|
66626
|
+
VerifiedAccessInstanceId: undefined,
|
|
66627
|
+
VerifiedAccessGroupId: undefined,
|
|
66628
|
+
VerifiedAccessEndpointId: undefined,
|
|
66629
|
+
ApplicationDomain: undefined,
|
|
66630
|
+
EndpointType: undefined,
|
|
66631
|
+
AttachmentType: undefined,
|
|
66632
|
+
DomainCertificateArn: undefined,
|
|
66633
|
+
EndpointDomain: undefined,
|
|
66634
|
+
DeviceValidationDomain: undefined,
|
|
66635
|
+
SecurityGroupIds: undefined,
|
|
66636
|
+
LoadBalancerOptions: undefined,
|
|
66637
|
+
NetworkInterfaceOptions: undefined,
|
|
66638
|
+
Status: undefined,
|
|
66639
|
+
Description: undefined,
|
|
66640
|
+
CreationTime: undefined,
|
|
66641
|
+
LastUpdatedTime: undefined,
|
|
66642
|
+
DeletionTime: undefined,
|
|
66643
|
+
Tags: undefined,
|
|
66644
|
+
};
|
|
66645
|
+
if (output["verifiedAccessInstanceId"] !== undefined) {
|
|
66646
|
+
contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
|
|
66647
|
+
}
|
|
66648
|
+
if (output["verifiedAccessGroupId"] !== undefined) {
|
|
66649
|
+
contents.VerifiedAccessGroupId = __expectString(output["verifiedAccessGroupId"]);
|
|
66650
|
+
}
|
|
66651
|
+
if (output["verifiedAccessEndpointId"] !== undefined) {
|
|
66652
|
+
contents.VerifiedAccessEndpointId = __expectString(output["verifiedAccessEndpointId"]);
|
|
66653
|
+
}
|
|
66654
|
+
if (output["applicationDomain"] !== undefined) {
|
|
66655
|
+
contents.ApplicationDomain = __expectString(output["applicationDomain"]);
|
|
66656
|
+
}
|
|
66657
|
+
if (output["endpointType"] !== undefined) {
|
|
66658
|
+
contents.EndpointType = __expectString(output["endpointType"]);
|
|
66659
|
+
}
|
|
66660
|
+
if (output["attachmentType"] !== undefined) {
|
|
66661
|
+
contents.AttachmentType = __expectString(output["attachmentType"]);
|
|
66662
|
+
}
|
|
66663
|
+
if (output["domainCertificateArn"] !== undefined) {
|
|
66664
|
+
contents.DomainCertificateArn = __expectString(output["domainCertificateArn"]);
|
|
66665
|
+
}
|
|
66666
|
+
if (output["endpointDomain"] !== undefined) {
|
|
66667
|
+
contents.EndpointDomain = __expectString(output["endpointDomain"]);
|
|
66668
|
+
}
|
|
66669
|
+
if (output["deviceValidationDomain"] !== undefined) {
|
|
66670
|
+
contents.DeviceValidationDomain = __expectString(output["deviceValidationDomain"]);
|
|
66671
|
+
}
|
|
66672
|
+
if (output.securityGroupIdSet === "") {
|
|
66673
|
+
contents.SecurityGroupIds = [];
|
|
66674
|
+
}
|
|
66675
|
+
else if (output["securityGroupIdSet"] !== undefined && output["securityGroupIdSet"]["item"] !== undefined) {
|
|
66676
|
+
contents.SecurityGroupIds = deserializeAws_ec2SecurityGroupIdList(__getArrayIfSingleItem(output["securityGroupIdSet"]["item"]), context);
|
|
66677
|
+
}
|
|
66678
|
+
if (output["loadBalancerOptions"] !== undefined) {
|
|
66679
|
+
contents.LoadBalancerOptions = deserializeAws_ec2VerifiedAccessEndpointLoadBalancerOptions(output["loadBalancerOptions"], context);
|
|
66680
|
+
}
|
|
66681
|
+
if (output["networkInterfaceOptions"] !== undefined) {
|
|
66682
|
+
contents.NetworkInterfaceOptions = deserializeAws_ec2VerifiedAccessEndpointEniOptions(output["networkInterfaceOptions"], context);
|
|
66683
|
+
}
|
|
66684
|
+
if (output["status"] !== undefined) {
|
|
66685
|
+
contents.Status = deserializeAws_ec2VerifiedAccessEndpointStatus(output["status"], context);
|
|
66686
|
+
}
|
|
66687
|
+
if (output["description"] !== undefined) {
|
|
66688
|
+
contents.Description = __expectString(output["description"]);
|
|
66689
|
+
}
|
|
66690
|
+
if (output["creationTime"] !== undefined) {
|
|
66691
|
+
contents.CreationTime = __expectString(output["creationTime"]);
|
|
66692
|
+
}
|
|
66693
|
+
if (output["lastUpdatedTime"] !== undefined) {
|
|
66694
|
+
contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
|
|
66695
|
+
}
|
|
66696
|
+
if (output["deletionTime"] !== undefined) {
|
|
66697
|
+
contents.DeletionTime = __expectString(output["deletionTime"]);
|
|
66698
|
+
}
|
|
66699
|
+
if (output.tagSet === "") {
|
|
66700
|
+
contents.Tags = [];
|
|
66701
|
+
}
|
|
66702
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
66703
|
+
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
66704
|
+
}
|
|
66705
|
+
return contents;
|
|
66706
|
+
};
|
|
66707
|
+
const deserializeAws_ec2VerifiedAccessEndpointEniOptions = (output, context) => {
|
|
66708
|
+
const contents = {
|
|
66709
|
+
NetworkInterfaceId: undefined,
|
|
66710
|
+
Protocol: undefined,
|
|
66711
|
+
Port: undefined,
|
|
66712
|
+
};
|
|
66713
|
+
if (output["networkInterfaceId"] !== undefined) {
|
|
66714
|
+
contents.NetworkInterfaceId = __expectString(output["networkInterfaceId"]);
|
|
66715
|
+
}
|
|
66716
|
+
if (output["protocol"] !== undefined) {
|
|
66717
|
+
contents.Protocol = __expectString(output["protocol"]);
|
|
66718
|
+
}
|
|
66719
|
+
if (output["port"] !== undefined) {
|
|
66720
|
+
contents.Port = __strictParseInt32(output["port"]);
|
|
66721
|
+
}
|
|
66722
|
+
return contents;
|
|
66723
|
+
};
|
|
66724
|
+
const deserializeAws_ec2VerifiedAccessEndpointList = (output, context) => {
|
|
66725
|
+
return (output || [])
|
|
66726
|
+
.filter((e) => e != null)
|
|
66727
|
+
.map((entry) => {
|
|
66728
|
+
return deserializeAws_ec2VerifiedAccessEndpoint(entry, context);
|
|
66729
|
+
});
|
|
66730
|
+
};
|
|
66731
|
+
const deserializeAws_ec2VerifiedAccessEndpointLoadBalancerOptions = (output, context) => {
|
|
66732
|
+
const contents = {
|
|
66733
|
+
Protocol: undefined,
|
|
66734
|
+
Port: undefined,
|
|
66735
|
+
LoadBalancerArn: undefined,
|
|
66736
|
+
SubnetIds: undefined,
|
|
66737
|
+
};
|
|
66738
|
+
if (output["protocol"] !== undefined) {
|
|
66739
|
+
contents.Protocol = __expectString(output["protocol"]);
|
|
66740
|
+
}
|
|
66741
|
+
if (output["port"] !== undefined) {
|
|
66742
|
+
contents.Port = __strictParseInt32(output["port"]);
|
|
66743
|
+
}
|
|
66744
|
+
if (output["loadBalancerArn"] !== undefined) {
|
|
66745
|
+
contents.LoadBalancerArn = __expectString(output["loadBalancerArn"]);
|
|
66746
|
+
}
|
|
66747
|
+
if (output.subnetIdSet === "") {
|
|
66748
|
+
contents.SubnetIds = [];
|
|
66749
|
+
}
|
|
66750
|
+
else if (output["subnetIdSet"] !== undefined && output["subnetIdSet"]["item"] !== undefined) {
|
|
66751
|
+
contents.SubnetIds = deserializeAws_ec2VerifiedAccessEndpointSubnetIdList(__getArrayIfSingleItem(output["subnetIdSet"]["item"]), context);
|
|
66752
|
+
}
|
|
66753
|
+
return contents;
|
|
66754
|
+
};
|
|
66755
|
+
const deserializeAws_ec2VerifiedAccessEndpointStatus = (output, context) => {
|
|
66756
|
+
const contents = {
|
|
66757
|
+
Code: undefined,
|
|
66758
|
+
Message: undefined,
|
|
66759
|
+
};
|
|
66760
|
+
if (output["code"] !== undefined) {
|
|
66761
|
+
contents.Code = __expectString(output["code"]);
|
|
66762
|
+
}
|
|
66763
|
+
if (output["message"] !== undefined) {
|
|
66764
|
+
contents.Message = __expectString(output["message"]);
|
|
66765
|
+
}
|
|
66766
|
+
return contents;
|
|
66767
|
+
};
|
|
66768
|
+
const deserializeAws_ec2VerifiedAccessEndpointSubnetIdList = (output, context) => {
|
|
66769
|
+
return (output || [])
|
|
66770
|
+
.filter((e) => e != null)
|
|
66771
|
+
.map((entry) => {
|
|
66772
|
+
return __expectString(entry);
|
|
66773
|
+
});
|
|
66774
|
+
};
|
|
66775
|
+
const deserializeAws_ec2VerifiedAccessGroup = (output, context) => {
|
|
66776
|
+
const contents = {
|
|
66777
|
+
VerifiedAccessGroupId: undefined,
|
|
66778
|
+
VerifiedAccessInstanceId: undefined,
|
|
66779
|
+
Description: undefined,
|
|
66780
|
+
Owner: undefined,
|
|
66781
|
+
VerifiedAccessGroupArn: undefined,
|
|
66782
|
+
CreationTime: undefined,
|
|
66783
|
+
LastUpdatedTime: undefined,
|
|
66784
|
+
DeletionTime: undefined,
|
|
66785
|
+
Tags: undefined,
|
|
66786
|
+
};
|
|
66787
|
+
if (output["verifiedAccessGroupId"] !== undefined) {
|
|
66788
|
+
contents.VerifiedAccessGroupId = __expectString(output["verifiedAccessGroupId"]);
|
|
66789
|
+
}
|
|
66790
|
+
if (output["verifiedAccessInstanceId"] !== undefined) {
|
|
66791
|
+
contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
|
|
66792
|
+
}
|
|
66793
|
+
if (output["description"] !== undefined) {
|
|
66794
|
+
contents.Description = __expectString(output["description"]);
|
|
66795
|
+
}
|
|
66796
|
+
if (output["owner"] !== undefined) {
|
|
66797
|
+
contents.Owner = __expectString(output["owner"]);
|
|
66798
|
+
}
|
|
66799
|
+
if (output["verifiedAccessGroupArn"] !== undefined) {
|
|
66800
|
+
contents.VerifiedAccessGroupArn = __expectString(output["verifiedAccessGroupArn"]);
|
|
66801
|
+
}
|
|
66802
|
+
if (output["creationTime"] !== undefined) {
|
|
66803
|
+
contents.CreationTime = __expectString(output["creationTime"]);
|
|
66804
|
+
}
|
|
66805
|
+
if (output["lastUpdatedTime"] !== undefined) {
|
|
66806
|
+
contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
|
|
66807
|
+
}
|
|
66808
|
+
if (output["deletionTime"] !== undefined) {
|
|
66809
|
+
contents.DeletionTime = __expectString(output["deletionTime"]);
|
|
66810
|
+
}
|
|
66811
|
+
if (output.tagSet === "") {
|
|
66812
|
+
contents.Tags = [];
|
|
66813
|
+
}
|
|
66814
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
66815
|
+
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
66816
|
+
}
|
|
66817
|
+
return contents;
|
|
66818
|
+
};
|
|
66819
|
+
const deserializeAws_ec2VerifiedAccessGroupList = (output, context) => {
|
|
66820
|
+
return (output || [])
|
|
66821
|
+
.filter((e) => e != null)
|
|
66822
|
+
.map((entry) => {
|
|
66823
|
+
return deserializeAws_ec2VerifiedAccessGroup(entry, context);
|
|
66824
|
+
});
|
|
66825
|
+
};
|
|
66826
|
+
const deserializeAws_ec2VerifiedAccessInstance = (output, context) => {
|
|
66827
|
+
const contents = {
|
|
66828
|
+
VerifiedAccessInstanceId: undefined,
|
|
66829
|
+
Description: undefined,
|
|
66830
|
+
VerifiedAccessTrustProviders: undefined,
|
|
66831
|
+
CreationTime: undefined,
|
|
66832
|
+
LastUpdatedTime: undefined,
|
|
66833
|
+
Tags: undefined,
|
|
66834
|
+
};
|
|
66835
|
+
if (output["verifiedAccessInstanceId"] !== undefined) {
|
|
66836
|
+
contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
|
|
66837
|
+
}
|
|
66838
|
+
if (output["description"] !== undefined) {
|
|
66839
|
+
contents.Description = __expectString(output["description"]);
|
|
66840
|
+
}
|
|
66841
|
+
if (output.verifiedAccessTrustProviderSet === "") {
|
|
66842
|
+
contents.VerifiedAccessTrustProviders = [];
|
|
66843
|
+
}
|
|
66844
|
+
else if (output["verifiedAccessTrustProviderSet"] !== undefined &&
|
|
66845
|
+
output["verifiedAccessTrustProviderSet"]["item"] !== undefined) {
|
|
66846
|
+
contents.VerifiedAccessTrustProviders = deserializeAws_ec2VerifiedAccessTrustProviderCondensedList(__getArrayIfSingleItem(output["verifiedAccessTrustProviderSet"]["item"]), context);
|
|
66847
|
+
}
|
|
66848
|
+
if (output["creationTime"] !== undefined) {
|
|
66849
|
+
contents.CreationTime = __expectString(output["creationTime"]);
|
|
66850
|
+
}
|
|
66851
|
+
if (output["lastUpdatedTime"] !== undefined) {
|
|
66852
|
+
contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
|
|
66853
|
+
}
|
|
66854
|
+
if (output.tagSet === "") {
|
|
66855
|
+
contents.Tags = [];
|
|
66856
|
+
}
|
|
66857
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
66858
|
+
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
66859
|
+
}
|
|
66860
|
+
return contents;
|
|
66861
|
+
};
|
|
66862
|
+
const deserializeAws_ec2VerifiedAccessInstanceList = (output, context) => {
|
|
66863
|
+
return (output || [])
|
|
66864
|
+
.filter((e) => e != null)
|
|
66865
|
+
.map((entry) => {
|
|
66866
|
+
return deserializeAws_ec2VerifiedAccessInstance(entry, context);
|
|
66867
|
+
});
|
|
66868
|
+
};
|
|
66869
|
+
const deserializeAws_ec2VerifiedAccessInstanceLoggingConfiguration = (output, context) => {
|
|
66870
|
+
const contents = {
|
|
66871
|
+
VerifiedAccessInstanceId: undefined,
|
|
66872
|
+
AccessLogs: undefined,
|
|
66873
|
+
};
|
|
66874
|
+
if (output["verifiedAccessInstanceId"] !== undefined) {
|
|
66875
|
+
contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
|
|
66876
|
+
}
|
|
66877
|
+
if (output["accessLogs"] !== undefined) {
|
|
66878
|
+
contents.AccessLogs = deserializeAws_ec2VerifiedAccessLogs(output["accessLogs"], context);
|
|
66879
|
+
}
|
|
66880
|
+
return contents;
|
|
66881
|
+
};
|
|
66882
|
+
const deserializeAws_ec2VerifiedAccessInstanceLoggingConfigurationList = (output, context) => {
|
|
66883
|
+
return (output || [])
|
|
66884
|
+
.filter((e) => e != null)
|
|
66885
|
+
.map((entry) => {
|
|
66886
|
+
return deserializeAws_ec2VerifiedAccessInstanceLoggingConfiguration(entry, context);
|
|
66887
|
+
});
|
|
66888
|
+
};
|
|
66889
|
+
const deserializeAws_ec2VerifiedAccessLogCloudWatchLogsDestination = (output, context) => {
|
|
66890
|
+
const contents = {
|
|
66891
|
+
Enabled: undefined,
|
|
66892
|
+
DeliveryStatus: undefined,
|
|
66893
|
+
LogGroup: undefined,
|
|
66894
|
+
};
|
|
66895
|
+
if (output["enabled"] !== undefined) {
|
|
66896
|
+
contents.Enabled = __parseBoolean(output["enabled"]);
|
|
66897
|
+
}
|
|
66898
|
+
if (output["deliveryStatus"] !== undefined) {
|
|
66899
|
+
contents.DeliveryStatus = deserializeAws_ec2VerifiedAccessLogDeliveryStatus(output["deliveryStatus"], context);
|
|
66900
|
+
}
|
|
66901
|
+
if (output["logGroup"] !== undefined) {
|
|
66902
|
+
contents.LogGroup = __expectString(output["logGroup"]);
|
|
66903
|
+
}
|
|
66904
|
+
return contents;
|
|
66905
|
+
};
|
|
66906
|
+
const deserializeAws_ec2VerifiedAccessLogDeliveryStatus = (output, context) => {
|
|
66907
|
+
const contents = {
|
|
66908
|
+
Code: undefined,
|
|
66909
|
+
Message: undefined,
|
|
66910
|
+
};
|
|
66911
|
+
if (output["code"] !== undefined) {
|
|
66912
|
+
contents.Code = __expectString(output["code"]);
|
|
66913
|
+
}
|
|
66914
|
+
if (output["message"] !== undefined) {
|
|
66915
|
+
contents.Message = __expectString(output["message"]);
|
|
66916
|
+
}
|
|
66917
|
+
return contents;
|
|
66918
|
+
};
|
|
66919
|
+
const deserializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestination = (output, context) => {
|
|
66920
|
+
const contents = {
|
|
66921
|
+
Enabled: undefined,
|
|
66922
|
+
DeliveryStatus: undefined,
|
|
66923
|
+
DeliveryStream: undefined,
|
|
66924
|
+
};
|
|
66925
|
+
if (output["enabled"] !== undefined) {
|
|
66926
|
+
contents.Enabled = __parseBoolean(output["enabled"]);
|
|
66927
|
+
}
|
|
66928
|
+
if (output["deliveryStatus"] !== undefined) {
|
|
66929
|
+
contents.DeliveryStatus = deserializeAws_ec2VerifiedAccessLogDeliveryStatus(output["deliveryStatus"], context);
|
|
66930
|
+
}
|
|
66931
|
+
if (output["deliveryStream"] !== undefined) {
|
|
66932
|
+
contents.DeliveryStream = __expectString(output["deliveryStream"]);
|
|
66933
|
+
}
|
|
66934
|
+
return contents;
|
|
66935
|
+
};
|
|
66936
|
+
const deserializeAws_ec2VerifiedAccessLogs = (output, context) => {
|
|
66937
|
+
const contents = {
|
|
66938
|
+
S3: undefined,
|
|
66939
|
+
CloudWatchLogs: undefined,
|
|
66940
|
+
KinesisDataFirehose: undefined,
|
|
66941
|
+
};
|
|
66942
|
+
if (output["s3"] !== undefined) {
|
|
66943
|
+
contents.S3 = deserializeAws_ec2VerifiedAccessLogS3Destination(output["s3"], context);
|
|
66944
|
+
}
|
|
66945
|
+
if (output["cloudWatchLogs"] !== undefined) {
|
|
66946
|
+
contents.CloudWatchLogs = deserializeAws_ec2VerifiedAccessLogCloudWatchLogsDestination(output["cloudWatchLogs"], context);
|
|
66947
|
+
}
|
|
66948
|
+
if (output["kinesisDataFirehose"] !== undefined) {
|
|
66949
|
+
contents.KinesisDataFirehose = deserializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestination(output["kinesisDataFirehose"], context);
|
|
66950
|
+
}
|
|
66951
|
+
return contents;
|
|
66952
|
+
};
|
|
66953
|
+
const deserializeAws_ec2VerifiedAccessLogS3Destination = (output, context) => {
|
|
66954
|
+
const contents = {
|
|
66955
|
+
Enabled: undefined,
|
|
66956
|
+
DeliveryStatus: undefined,
|
|
66957
|
+
BucketName: undefined,
|
|
66958
|
+
Prefix: undefined,
|
|
66959
|
+
BucketOwner: undefined,
|
|
66960
|
+
};
|
|
66961
|
+
if (output["enabled"] !== undefined) {
|
|
66962
|
+
contents.Enabled = __parseBoolean(output["enabled"]);
|
|
66963
|
+
}
|
|
66964
|
+
if (output["deliveryStatus"] !== undefined) {
|
|
66965
|
+
contents.DeliveryStatus = deserializeAws_ec2VerifiedAccessLogDeliveryStatus(output["deliveryStatus"], context);
|
|
66966
|
+
}
|
|
66967
|
+
if (output["bucketName"] !== undefined) {
|
|
66968
|
+
contents.BucketName = __expectString(output["bucketName"]);
|
|
66969
|
+
}
|
|
66970
|
+
if (output["prefix"] !== undefined) {
|
|
66971
|
+
contents.Prefix = __expectString(output["prefix"]);
|
|
66972
|
+
}
|
|
66973
|
+
if (output["bucketOwner"] !== undefined) {
|
|
66974
|
+
contents.BucketOwner = __expectString(output["bucketOwner"]);
|
|
66975
|
+
}
|
|
66976
|
+
return contents;
|
|
66977
|
+
};
|
|
66978
|
+
const deserializeAws_ec2VerifiedAccessTrustProvider = (output, context) => {
|
|
66979
|
+
const contents = {
|
|
66980
|
+
VerifiedAccessTrustProviderId: undefined,
|
|
66981
|
+
Description: undefined,
|
|
66982
|
+
TrustProviderType: undefined,
|
|
66983
|
+
UserTrustProviderType: undefined,
|
|
66984
|
+
DeviceTrustProviderType: undefined,
|
|
66985
|
+
OidcOptions: undefined,
|
|
66986
|
+
DeviceOptions: undefined,
|
|
66987
|
+
PolicyReferenceName: undefined,
|
|
66988
|
+
CreationTime: undefined,
|
|
66989
|
+
LastUpdatedTime: undefined,
|
|
66990
|
+
Tags: undefined,
|
|
66991
|
+
};
|
|
66992
|
+
if (output["verifiedAccessTrustProviderId"] !== undefined) {
|
|
66993
|
+
contents.VerifiedAccessTrustProviderId = __expectString(output["verifiedAccessTrustProviderId"]);
|
|
66994
|
+
}
|
|
66995
|
+
if (output["description"] !== undefined) {
|
|
66996
|
+
contents.Description = __expectString(output["description"]);
|
|
66997
|
+
}
|
|
66998
|
+
if (output["trustProviderType"] !== undefined) {
|
|
66999
|
+
contents.TrustProviderType = __expectString(output["trustProviderType"]);
|
|
67000
|
+
}
|
|
67001
|
+
if (output["userTrustProviderType"] !== undefined) {
|
|
67002
|
+
contents.UserTrustProviderType = __expectString(output["userTrustProviderType"]);
|
|
67003
|
+
}
|
|
67004
|
+
if (output["deviceTrustProviderType"] !== undefined) {
|
|
67005
|
+
contents.DeviceTrustProviderType = __expectString(output["deviceTrustProviderType"]);
|
|
67006
|
+
}
|
|
67007
|
+
if (output["oidcOptions"] !== undefined) {
|
|
67008
|
+
contents.OidcOptions = deserializeAws_ec2OidcOptions(output["oidcOptions"], context);
|
|
67009
|
+
}
|
|
67010
|
+
if (output["deviceOptions"] !== undefined) {
|
|
67011
|
+
contents.DeviceOptions = deserializeAws_ec2DeviceOptions(output["deviceOptions"], context);
|
|
67012
|
+
}
|
|
67013
|
+
if (output["policyReferenceName"] !== undefined) {
|
|
67014
|
+
contents.PolicyReferenceName = __expectString(output["policyReferenceName"]);
|
|
67015
|
+
}
|
|
67016
|
+
if (output["creationTime"] !== undefined) {
|
|
67017
|
+
contents.CreationTime = __expectString(output["creationTime"]);
|
|
67018
|
+
}
|
|
67019
|
+
if (output["lastUpdatedTime"] !== undefined) {
|
|
67020
|
+
contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
|
|
67021
|
+
}
|
|
67022
|
+
if (output.tagSet === "") {
|
|
67023
|
+
contents.Tags = [];
|
|
67024
|
+
}
|
|
67025
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67026
|
+
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
67027
|
+
}
|
|
67028
|
+
return contents;
|
|
67029
|
+
};
|
|
67030
|
+
const deserializeAws_ec2VerifiedAccessTrustProviderCondensed = (output, context) => {
|
|
67031
|
+
const contents = {
|
|
67032
|
+
VerifiedAccessTrustProviderId: undefined,
|
|
67033
|
+
Description: undefined,
|
|
67034
|
+
TrustProviderType: undefined,
|
|
67035
|
+
UserTrustProviderType: undefined,
|
|
67036
|
+
DeviceTrustProviderType: undefined,
|
|
67037
|
+
};
|
|
67038
|
+
if (output["verifiedAccessTrustProviderId"] !== undefined) {
|
|
67039
|
+
contents.VerifiedAccessTrustProviderId = __expectString(output["verifiedAccessTrustProviderId"]);
|
|
67040
|
+
}
|
|
67041
|
+
if (output["description"] !== undefined) {
|
|
67042
|
+
contents.Description = __expectString(output["description"]);
|
|
67043
|
+
}
|
|
67044
|
+
if (output["trustProviderType"] !== undefined) {
|
|
67045
|
+
contents.TrustProviderType = __expectString(output["trustProviderType"]);
|
|
67046
|
+
}
|
|
67047
|
+
if (output["userTrustProviderType"] !== undefined) {
|
|
67048
|
+
contents.UserTrustProviderType = __expectString(output["userTrustProviderType"]);
|
|
67049
|
+
}
|
|
67050
|
+
if (output["deviceTrustProviderType"] !== undefined) {
|
|
67051
|
+
contents.DeviceTrustProviderType = __expectString(output["deviceTrustProviderType"]);
|
|
67052
|
+
}
|
|
67053
|
+
return contents;
|
|
67054
|
+
};
|
|
67055
|
+
const deserializeAws_ec2VerifiedAccessTrustProviderCondensedList = (output, context) => {
|
|
67056
|
+
return (output || [])
|
|
67057
|
+
.filter((e) => e != null)
|
|
67058
|
+
.map((entry) => {
|
|
67059
|
+
return deserializeAws_ec2VerifiedAccessTrustProviderCondensed(entry, context);
|
|
67060
|
+
});
|
|
67061
|
+
};
|
|
67062
|
+
const deserializeAws_ec2VerifiedAccessTrustProviderList = (output, context) => {
|
|
67063
|
+
return (output || [])
|
|
67064
|
+
.filter((e) => e != null)
|
|
67065
|
+
.map((entry) => {
|
|
67066
|
+
return deserializeAws_ec2VerifiedAccessTrustProvider(entry, context);
|
|
67067
|
+
});
|
|
67068
|
+
};
|
|
64463
67069
|
const deserializeAws_ec2VgwTelemetry = (output, context) => {
|
|
64464
67070
|
const contents = {
|
|
64465
67071
|
AcceptedRouteCount: undefined,
|