From 3a11b1be1bd9aacd8b696a73e604995265a772fe Mon Sep 17 00:00:00 2001 From: Jason Del Ponte <961963+jasdel@users.noreply.github.com> Date: Thu, 6 May 2021 11:01:16 -0700 Subject: [PATCH] service/ec2: Fix generation of number and bool struct members to be pointers (#1195) Adds a backfill customization to the Amazon EC2 API model so that all unboxed number and boolean shapes are correctly decorated as boxed. The API does not handle unboxed members. This causes the API client generated from the model to be unusable in many cases. The generated API client will contain breaking changes, but these breaking changes are here to fix the API client that was unusable in many ways. --- ....ec2-announcement-1616786271582723000.json | 9 + ...ervice.ec2-bugfix-1616785668377831000.json | 9 + .../BackfillEc2UnboxedToBoxedShapes.java | 101 + ...mithy.go.codegen.integration.GoIntegration | 1 + internal/repotools/cmd/eachmodule/cmd.go | 19 +- internal/repotools/cmd/eachmodule/main.go | 6 +- ...op_AcceptReservedInstancesExchangeQuote.go | 2 +- ...ansitGatewayMulticastDomainAssociations.go | 2 +- ...p_AcceptTransitGatewayPeeringAttachment.go | 2 +- ...pi_op_AcceptTransitGatewayVpcAttachment.go | 2 +- .../api_op_AcceptVpcEndpointConnections.go | 2 +- .../ec2/api_op_AcceptVpcPeeringConnection.go | 2 +- service/ec2/api_op_AdvertiseByoipCidr.go | 2 +- service/ec2/api_op_AllocateAddress.go | 2 +- service/ec2/api_op_AllocateHosts.go | 2 +- ...ySecurityGroupsToClientVpnTargetNetwork.go | 2 +- service/ec2/api_op_AssignIpv6Addresses.go | 2 +- .../ec2/api_op_AssignPrivateIpAddresses.go | 4 +- service/ec2/api_op_AssociateAddress.go | 4 +- .../api_op_AssociateClientVpnTargetNetwork.go | 2 +- service/ec2/api_op_AssociateDhcpOptions.go | 2 +- ...i_op_AssociateEnclaveCertificateIamRole.go | 2 +- service/ec2/api_op_AssociateRouteTable.go | 2 +- ..._AssociateTransitGatewayMulticastDomain.go | 2 +- ...pi_op_AssociateTransitGatewayRouteTable.go | 2 +- service/ec2/api_op_AssociateVpcCidrBlock.go | 2 +- service/ec2/api_op_AttachClassicLinkVpc.go | 4 +- service/ec2/api_op_AttachInternetGateway.go | 2 +- service/ec2/api_op_AttachNetworkInterface.go | 8 +- service/ec2/api_op_AttachVolume.go | 4 +- service/ec2/api_op_AttachVpnGateway.go | 2 +- .../ec2/api_op_AuthorizeClientVpnIngress.go | 4 +- .../api_op_AuthorizeSecurityGroupEgress.go | 6 +- .../api_op_AuthorizeSecurityGroupIngress.go | 6 +- service/ec2/api_op_BundleInstance.go | 2 +- service/ec2/api_op_CancelBundleTask.go | 2 +- .../ec2/api_op_CancelCapacityReservation.go | 4 +- service/ec2/api_op_CancelConversionTask.go | 2 +- service/ec2/api_op_CancelImportTask.go | 2 +- service/ec2/api_op_CancelSpotFleetRequests.go | 4 +- .../ec2/api_op_CancelSpotInstanceRequests.go | 2 +- service/ec2/api_op_ConfirmProductInstance.go | 4 +- service/ec2/api_op_CopyFpgaImage.go | 2 +- service/ec2/api_op_CopyImage.go | 4 +- service/ec2/api_op_CopySnapshot.go | 4 +- .../ec2/api_op_CreateCapacityReservation.go | 8 +- service/ec2/api_op_CreateCarrierGateway.go | 2 +- service/ec2/api_op_CreateClientVpnEndpoint.go | 6 +- service/ec2/api_op_CreateClientVpnRoute.go | 2 +- service/ec2/api_op_CreateCustomerGateway.go | 4 +- service/ec2/api_op_CreateDefaultSubnet.go | 2 +- service/ec2/api_op_CreateDefaultVpc.go | 2 +- service/ec2/api_op_CreateDhcpOptions.go | 2 +- .../api_op_CreateEgressOnlyInternetGateway.go | 2 +- service/ec2/api_op_CreateFleet.go | 6 +- service/ec2/api_op_CreateFlowLogs.go | 4 +- service/ec2/api_op_CreateFpgaImage.go | 2 +- service/ec2/api_op_CreateImage.go | 4 +- service/ec2/api_op_CreateInternetGateway.go | 2 +- service/ec2/api_op_CreateKeyPair.go | 2 +- service/ec2/api_op_CreateLaunchTemplate.go | 2 +- .../ec2/api_op_CreateLaunchTemplateVersion.go | 2 +- service/ec2/api_op_CreateLocalGatewayRoute.go | 2 +- ...ateLocalGatewayRouteTableVpcAssociation.go | 2 +- service/ec2/api_op_CreateManagedPrefixList.go | 4 +- service/ec2/api_op_CreateNatGateway.go | 2 +- service/ec2/api_op_CreateNetworkAcl.go | 2 +- service/ec2/api_op_CreateNetworkAclEntry.go | 6 +- .../ec2/api_op_CreateNetworkInsightsPath.go | 4 +- service/ec2/api_op_CreateNetworkInterface.go | 6 +- ...api_op_CreateNetworkInterfacePermission.go | 2 +- service/ec2/api_op_CreatePlacementGroup.go | 4 +- .../ec2/api_op_CreateReplaceRootVolumeTask.go | 2 +- .../api_op_CreateReservedInstancesListing.go | 2 +- service/ec2/api_op_CreateRestoreImageTask.go | 2 +- service/ec2/api_op_CreateRoute.go | 4 +- service/ec2/api_op_CreateRouteTable.go | 2 +- service/ec2/api_op_CreateSecurityGroup.go | 2 +- service/ec2/api_op_CreateSnapshot.go | 6 +- service/ec2/api_op_CreateSnapshots.go | 2 +- .../api_op_CreateSpotDatafeedSubscription.go | 2 +- service/ec2/api_op_CreateStoreImageTask.go | 2 +- service/ec2/api_op_CreateSubnet.go | 2 +- service/ec2/api_op_CreateTags.go | 2 +- .../ec2/api_op_CreateTrafficMirrorFilter.go | 2 +- .../api_op_CreateTrafficMirrorFilterRule.go | 6 +- .../ec2/api_op_CreateTrafficMirrorSession.go | 8 +- .../ec2/api_op_CreateTrafficMirrorTarget.go | 2 +- service/ec2/api_op_CreateTransitGateway.go | 2 +- .../ec2/api_op_CreateTransitGatewayConnect.go | 2 +- .../api_op_CreateTransitGatewayConnectPeer.go | 2 +- ..._op_CreateTransitGatewayMulticastDomain.go | 2 +- ...p_CreateTransitGatewayPeeringAttachment.go | 2 +- ...CreateTransitGatewayPrefixListReference.go | 4 +- .../ec2/api_op_CreateTransitGatewayRoute.go | 4 +- .../api_op_CreateTransitGatewayRouteTable.go | 2 +- ...pi_op_CreateTransitGatewayVpcAttachment.go | 2 +- service/ec2/api_op_CreateVolume.go | 24 +- service/ec2/api_op_CreateVpc.go | 4 +- service/ec2/api_op_CreateVpcEndpoint.go | 4 +- ...CreateVpcEndpointConnectionNotification.go | 2 +- ...p_CreateVpcEndpointServiceConfiguration.go | 4 +- .../ec2/api_op_CreateVpcPeeringConnection.go | 2 +- service/ec2/api_op_CreateVpnConnection.go | 2 +- service/ec2/api_op_CreateVpnGateway.go | 4 +- service/ec2/api_op_DeleteCarrierGateway.go | 2 +- service/ec2/api_op_DeleteClientVpnEndpoint.go | 2 +- service/ec2/api_op_DeleteClientVpnRoute.go | 2 +- service/ec2/api_op_DeleteCustomerGateway.go | 2 +- service/ec2/api_op_DeleteDhcpOptions.go | 2 +- .../api_op_DeleteEgressOnlyInternetGateway.go | 4 +- service/ec2/api_op_DeleteFleets.go | 4 +- service/ec2/api_op_DeleteFlowLogs.go | 2 +- service/ec2/api_op_DeleteFpgaImage.go | 4 +- service/ec2/api_op_DeleteInternetGateway.go | 2 +- service/ec2/api_op_DeleteKeyPair.go | 2 +- service/ec2/api_op_DeleteLaunchTemplate.go | 2 +- .../api_op_DeleteLaunchTemplateVersions.go | 2 +- service/ec2/api_op_DeleteLocalGatewayRoute.go | 2 +- ...eteLocalGatewayRouteTableVpcAssociation.go | 2 +- service/ec2/api_op_DeleteManagedPrefixList.go | 2 +- service/ec2/api_op_DeleteNatGateway.go | 2 +- service/ec2/api_op_DeleteNetworkAcl.go | 2 +- service/ec2/api_op_DeleteNetworkAclEntry.go | 6 +- .../api_op_DeleteNetworkInsightsAnalysis.go | 2 +- .../ec2/api_op_DeleteNetworkInsightsPath.go | 2 +- service/ec2/api_op_DeleteNetworkInterface.go | 2 +- ...api_op_DeleteNetworkInterfacePermission.go | 6 +- service/ec2/api_op_DeletePlacementGroup.go | 2 +- .../api_op_DeleteQueuedReservedInstances.go | 2 +- service/ec2/api_op_DeleteRoute.go | 2 +- service/ec2/api_op_DeleteRouteTable.go | 2 +- service/ec2/api_op_DeleteSecurityGroup.go | 2 +- service/ec2/api_op_DeleteSnapshot.go | 2 +- .../api_op_DeleteSpotDatafeedSubscription.go | 2 +- service/ec2/api_op_DeleteSubnet.go | 2 +- service/ec2/api_op_DeleteTags.go | 2 +- .../ec2/api_op_DeleteTrafficMirrorFilter.go | 2 +- .../api_op_DeleteTrafficMirrorFilterRule.go | 2 +- .../ec2/api_op_DeleteTrafficMirrorSession.go | 2 +- .../ec2/api_op_DeleteTrafficMirrorTarget.go | 2 +- service/ec2/api_op_DeleteTransitGateway.go | 2 +- .../ec2/api_op_DeleteTransitGatewayConnect.go | 2 +- .../api_op_DeleteTransitGatewayConnectPeer.go | 2 +- ..._op_DeleteTransitGatewayMulticastDomain.go | 2 +- ...p_DeleteTransitGatewayPeeringAttachment.go | 2 +- ...DeleteTransitGatewayPrefixListReference.go | 2 +- .../ec2/api_op_DeleteTransitGatewayRoute.go | 2 +- .../api_op_DeleteTransitGatewayRouteTable.go | 2 +- ...pi_op_DeleteTransitGatewayVpcAttachment.go | 2 +- service/ec2/api_op_DeleteVolume.go | 2 +- service/ec2/api_op_DeleteVpc.go | 2 +- ...eleteVpcEndpointConnectionNotifications.go | 2 +- ..._DeleteVpcEndpointServiceConfigurations.go | 2 +- service/ec2/api_op_DeleteVpcEndpoints.go | 2 +- .../ec2/api_op_DeleteVpcPeeringConnection.go | 4 +- service/ec2/api_op_DeleteVpnConnection.go | 2 +- service/ec2/api_op_DeleteVpnGateway.go | 2 +- service/ec2/api_op_DeprovisionByoipCidr.go | 2 +- service/ec2/api_op_DeregisterImage.go | 2 +- ...sterInstanceEventNotificationAttributes.go | 2 +- ...sterTransitGatewayMulticastGroupMembers.go | 2 +- ...sterTransitGatewayMulticastGroupSources.go | 2 +- .../ec2/api_op_DescribeAccountAttributes.go | 2 +- service/ec2/api_op_DescribeAddresses.go | 2 +- .../ec2/api_op_DescribeAddressesAttribute.go | 14 +- .../ec2/api_op_DescribeAggregateIdFormat.go | 4 +- .../ec2/api_op_DescribeAvailabilityZones.go | 4 +- service/ec2/api_op_DescribeBundleTasks.go | 2 +- service/ec2/api_op_DescribeByoipCidrs.go | 14 +- .../api_op_DescribeCapacityReservations.go | 14 +- service/ec2/api_op_DescribeCarrierGateways.go | 14 +- .../api_op_DescribeClassicLinkInstances.go | 14 +- ..._op_DescribeClientVpnAuthorizationRules.go | 14 +- .../api_op_DescribeClientVpnConnections.go | 14 +- .../ec2/api_op_DescribeClientVpnEndpoints.go | 14 +- service/ec2/api_op_DescribeClientVpnRoutes.go | 14 +- .../api_op_DescribeClientVpnTargetNetworks.go | 14 +- service/ec2/api_op_DescribeCoipPools.go | 14 +- service/ec2/api_op_DescribeConversionTasks.go | 2 +- .../ec2/api_op_DescribeCustomerGateways.go | 2 +- service/ec2/api_op_DescribeDhcpOptions.go | 14 +- ...i_op_DescribeEgressOnlyInternetGateways.go | 14 +- service/ec2/api_op_DescribeElasticGpus.go | 6 +- .../ec2/api_op_DescribeExportImageTasks.go | 14 +- .../api_op_DescribeFastSnapshotRestores.go | 2 +- service/ec2/api_op_DescribeFleetHistory.go | 4 +- service/ec2/api_op_DescribeFleetInstances.go | 4 +- service/ec2/api_op_DescribeFleets.go | 14 +- service/ec2/api_op_DescribeFlowLogs.go | 14 +- .../ec2/api_op_DescribeFpgaImageAttribute.go | 2 +- service/ec2/api_op_DescribeFpgaImages.go | 14 +- ...api_op_DescribeHostReservationOfferings.go | 16 +- .../ec2/api_op_DescribeHostReservations.go | 12 +- service/ec2/api_op_DescribeHosts.go | 12 +- ..._DescribeIamInstanceProfileAssociations.go | 12 +- service/ec2/api_op_DescribeImageAttribute.go | 2 +- service/ec2/api_op_DescribeImages.go | 2 +- .../ec2/api_op_DescribeImportImageTasks.go | 14 +- .../ec2/api_op_DescribeImportSnapshotTasks.go | 14 +- .../ec2/api_op_DescribeInstanceAttribute.go | 2 +- ...op_DescribeInstanceCreditSpecifications.go | 14 +- ...ribeInstanceEventNotificationAttributes.go | 2 +- service/ec2/api_op_DescribeInstanceStatus.go | 16 +- .../api_op_DescribeInstanceTypeOfferings.go | 2 +- service/ec2/api_op_DescribeInstanceTypes.go | 2 +- service/ec2/api_op_DescribeInstances.go | 14 +- .../ec2/api_op_DescribeInternetGateways.go | 14 +- service/ec2/api_op_DescribeIpv6Pools.go | 14 +- service/ec2/api_op_DescribeKeyPairs.go | 2 +- .../api_op_DescribeLaunchTemplateVersions.go | 14 +- service/ec2/api_op_DescribeLaunchTemplates.go | 14 +- ...eTableVirtualInterfaceGroupAssociations.go | 14 +- ...beLocalGatewayRouteTableVpcAssociations.go | 14 +- .../api_op_DescribeLocalGatewayRouteTables.go | 14 +- ...cribeLocalGatewayVirtualInterfaceGroups.go | 14 +- ...p_DescribeLocalGatewayVirtualInterfaces.go | 14 +- service/ec2/api_op_DescribeLocalGateways.go | 14 +- .../ec2/api_op_DescribeManagedPrefixLists.go | 14 +- service/ec2/api_op_DescribeMovingAddresses.go | 14 +- service/ec2/api_op_DescribeNatGateways.go | 14 +- service/ec2/api_op_DescribeNetworkAcls.go | 14 +- .../api_op_DescribeNetworkInsightsAnalyses.go | 14 +- .../api_op_DescribeNetworkInsightsPaths.go | 14 +- ...pi_op_DescribeNetworkInterfaceAttribute.go | 2 +- ..._op_DescribeNetworkInterfacePermissions.go | 12 +- .../ec2/api_op_DescribeNetworkInterfaces.go | 14 +- service/ec2/api_op_DescribePlacementGroups.go | 2 +- service/ec2/api_op_DescribePrefixLists.go | 14 +- .../ec2/api_op_DescribePrincipalIdFormat.go | 14 +- service/ec2/api_op_DescribePublicIpv4Pools.go | 12 +- service/ec2/api_op_DescribeRegions.go | 4 +- .../api_op_DescribeReplaceRootVolumeTasks.go | 14 +- .../ec2/api_op_DescribeReservedInstances.go | 2 +- ...i_op_DescribeReservedInstancesOfferings.go | 22 +- service/ec2/api_op_DescribeRouteTables.go | 14 +- ...p_DescribeScheduledInstanceAvailability.go | 18 +- .../ec2/api_op_DescribeScheduledInstances.go | 14 +- .../api_op_DescribeSecurityGroupReferences.go | 2 +- service/ec2/api_op_DescribeSecurityGroups.go | 14 +- .../ec2/api_op_DescribeSnapshotAttribute.go | 2 +- service/ec2/api_op_DescribeSnapshots.go | 14 +- ...api_op_DescribeSpotDatafeedSubscription.go | 2 +- .../ec2/api_op_DescribeSpotFleetInstances.go | 4 +- .../api_op_DescribeSpotFleetRequestHistory.go | 4 +- .../ec2/api_op_DescribeSpotFleetRequests.go | 14 +- .../api_op_DescribeSpotInstanceRequests.go | 14 +- .../ec2/api_op_DescribeSpotPriceHistory.go | 14 +- .../ec2/api_op_DescribeStaleSecurityGroups.go | 14 +- service/ec2/api_op_DescribeStoreImageTasks.go | 14 +- service/ec2/api_op_DescribeSubnets.go | 14 +- service/ec2/api_op_DescribeTags.go | 14 +- .../api_op_DescribeTrafficMirrorFilters.go | 14 +- .../api_op_DescribeTrafficMirrorSessions.go | 14 +- .../api_op_DescribeTrafficMirrorTargets.go | 14 +- ...pi_op_DescribeTransitGatewayAttachments.go | 14 +- ...i_op_DescribeTransitGatewayConnectPeers.go | 14 +- .../api_op_DescribeTransitGatewayConnects.go | 14 +- ..._DescribeTransitGatewayMulticastDomains.go | 14 +- ...escribeTransitGatewayPeeringAttachments.go | 14 +- ...pi_op_DescribeTransitGatewayRouteTables.go | 14 +- ...op_DescribeTransitGatewayVpcAttachments.go | 14 +- service/ec2/api_op_DescribeTransitGateways.go | 14 +- service/ec2/api_op_DescribeVolumeAttribute.go | 2 +- service/ec2/api_op_DescribeVolumeStatus.go | 14 +- service/ec2/api_op_DescribeVolumes.go | 14 +- .../api_op_DescribeVolumesModifications.go | 14 +- service/ec2/api_op_DescribeVpcAttribute.go | 2 +- service/ec2/api_op_DescribeVpcClassicLink.go | 2 +- ...api_op_DescribeVpcClassicLinkDnsSupport.go | 12 +- ...cribeVpcEndpointConnectionNotifications.go | 14 +- .../api_op_DescribeVpcEndpointConnections.go | 14 +- ...escribeVpcEndpointServiceConfigurations.go | 14 +- ...p_DescribeVpcEndpointServicePermissions.go | 14 +- .../ec2/api_op_DescribeVpcEndpointServices.go | 4 +- service/ec2/api_op_DescribeVpcEndpoints.go | 14 +- .../api_op_DescribeVpcPeeringConnections.go | 14 +- service/ec2/api_op_DescribeVpcs.go | 14 +- service/ec2/api_op_DescribeVpnConnections.go | 2 +- service/ec2/api_op_DescribeVpnGateways.go | 2 +- service/ec2/api_op_DetachClassicLinkVpc.go | 4 +- service/ec2/api_op_DetachInternetGateway.go | 2 +- service/ec2/api_op_DetachNetworkInterface.go | 4 +- service/ec2/api_op_DetachVolume.go | 6 +- service/ec2/api_op_DetachVpnGateway.go | 2 +- .../api_op_DisableEbsEncryptionByDefault.go | 4 +- .../ec2/api_op_DisableFastSnapshotRestores.go | 2 +- .../ec2/api_op_DisableSerialConsoleAccess.go | 4 +- ...ableTransitGatewayRouteTablePropagation.go | 2 +- .../ec2/api_op_DisableVgwRoutePropagation.go | 2 +- service/ec2/api_op_DisableVpcClassicLink.go | 4 +- .../api_op_DisableVpcClassicLinkDnsSupport.go | 2 +- service/ec2/api_op_DisassociateAddress.go | 2 +- ...i_op_DisassociateClientVpnTargetNetwork.go | 2 +- ...p_DisassociateEnclaveCertificateIamRole.go | 4 +- service/ec2/api_op_DisassociateRouteTable.go | 2 +- ...sassociateTransitGatewayMulticastDomain.go | 2 +- ...op_DisassociateTransitGatewayRouteTable.go | 2 +- .../api_op_EnableEbsEncryptionByDefault.go | 4 +- .../ec2/api_op_EnableFastSnapshotRestores.go | 2 +- .../ec2/api_op_EnableSerialConsoleAccess.go | 4 +- ...ableTransitGatewayRouteTablePropagation.go | 2 +- .../ec2/api_op_EnableVgwRoutePropagation.go | 2 +- service/ec2/api_op_EnableVolumeIO.go | 2 +- service/ec2/api_op_EnableVpcClassicLink.go | 4 +- .../api_op_EnableVpcClassicLinkDnsSupport.go | 2 +- ...lientVpnClientCertificateRevocationList.go | 2 +- ...i_op_ExportClientVpnClientConfiguration.go | 2 +- service/ec2/api_op_ExportImage.go | 2 +- .../ec2/api_op_ExportTransitGatewayRoutes.go | 2 +- ...GetAssociatedEnclaveCertificateIamRoles.go | 2 +- .../ec2/api_op_GetAssociatedIpv6PoolCidrs.go | 14 +- .../ec2/api_op_GetCapacityReservationUsage.go | 8 +- service/ec2/api_op_GetCoipPoolUsage.go | 4 +- service/ec2/api_op_GetConsoleOutput.go | 4 +- service/ec2/api_op_GetConsoleScreenshot.go | 4 +- .../api_op_GetDefaultCreditSpecification.go | 2 +- service/ec2/api_op_GetEbsDefaultKmsKeyId.go | 2 +- .../ec2/api_op_GetEbsEncryptionByDefault.go | 4 +- .../api_op_GetFlowLogsIntegrationTemplate.go | 2 +- .../api_op_GetGroupsForCapacityReservation.go | 14 +- service/ec2/api_op_GetLaunchTemplateData.go | 2 +- ...api_op_GetManagedPrefixListAssociations.go | 14 +- .../ec2/api_op_GetManagedPrefixListEntries.go | 16 +- service/ec2/api_op_GetPasswordData.go | 2 +- ...pi_op_GetReservedInstancesExchangeQuote.go | 4 +- .../api_op_GetSerialConsoleAccessStatus.go | 4 +- ...GetTransitGatewayAttachmentPropagations.go | 14 +- ...ansitGatewayMulticastDomainAssociations.go | 14 +- ...p_GetTransitGatewayPrefixListReferences.go | 14 +- ...GetTransitGatewayRouteTableAssociations.go | 14 +- ...GetTransitGatewayRouteTablePropagations.go | 14 +- ...lientVpnClientCertificateRevocationList.go | 4 +- service/ec2/api_op_ImportImage.go | 6 +- service/ec2/api_op_ImportInstance.go | 2 +- service/ec2/api_op_ImportKeyPair.go | 2 +- service/ec2/api_op_ImportSnapshot.go | 4 +- service/ec2/api_op_ImportVolume.go | 2 +- service/ec2/api_op_ModifyAddressAttribute.go | 2 +- .../ec2/api_op_ModifyAvailabilityZoneGroup.go | 4 +- .../ec2/api_op_ModifyCapacityReservation.go | 8 +- service/ec2/api_op_ModifyClientVpnEndpoint.go | 8 +- ...api_op_ModifyDefaultCreditSpecification.go | 2 +- .../ec2/api_op_ModifyEbsDefaultKmsKeyId.go | 2 +- service/ec2/api_op_ModifyFleet.go | 4 +- .../ec2/api_op_ModifyFpgaImageAttribute.go | 2 +- service/ec2/api_op_ModifyIdFormat.go | 2 +- service/ec2/api_op_ModifyIdentityIdFormat.go | 2 +- service/ec2/api_op_ModifyImageAttribute.go | 2 +- service/ec2/api_op_ModifyInstanceAttribute.go | 2 +- ...fyInstanceCapacityReservationAttributes.go | 4 +- ...pi_op_ModifyInstanceCreditSpecification.go | 2 +- .../api_op_ModifyInstanceEventStartTime.go | 2 +- .../api_op_ModifyInstanceMetadataOptions.go | 4 +- service/ec2/api_op_ModifyInstancePlacement.go | 4 +- service/ec2/api_op_ModifyLaunchTemplate.go | 2 +- service/ec2/api_op_ModifyManagedPrefixList.go | 4 +- .../api_op_ModifyNetworkInterfaceAttribute.go | 2 +- service/ec2/api_op_ModifySnapshotAttribute.go | 2 +- service/ec2/api_op_ModifySpotFleetRequest.go | 6 +- ...odifyTrafficMirrorFilterNetworkServices.go | 2 +- .../api_op_ModifyTrafficMirrorFilterRule.go | 6 +- .../ec2/api_op_ModifyTrafficMirrorSession.go | 8 +- service/ec2/api_op_ModifyTransitGateway.go | 2 +- ...ModifyTransitGatewayPrefixListReference.go | 4 +- ...pi_op_ModifyTransitGatewayVpcAttachment.go | 2 +- service/ec2/api_op_ModifyVolume.go | 10 +- service/ec2/api_op_ModifyVolumeAttribute.go | 2 +- service/ec2/api_op_ModifyVpcEndpoint.go | 8 +- ...ModifyVpcEndpointConnectionNotification.go | 4 +- ...p_ModifyVpcEndpointServiceConfiguration.go | 8 +- ..._op_ModifyVpcEndpointServicePermissions.go | 4 +- ...pi_op_ModifyVpcPeeringConnectionOptions.go | 2 +- service/ec2/api_op_ModifyVpcTenancy.go | 4 +- service/ec2/api_op_ModifyVpnConnection.go | 2 +- .../ec2/api_op_ModifyVpnConnectionOptions.go | 2 +- .../ec2/api_op_ModifyVpnTunnelCertificate.go | 2 +- service/ec2/api_op_ModifyVpnTunnelOptions.go | 2 +- service/ec2/api_op_MonitorInstances.go | 2 +- service/ec2/api_op_MoveAddressToVpc.go | 2 +- service/ec2/api_op_ProvisionByoipCidr.go | 4 +- ...pi_op_PurchaseReservedInstancesOffering.go | 4 +- .../ec2/api_op_PurchaseScheduledInstances.go | 2 +- service/ec2/api_op_RebootInstances.go | 2 +- service/ec2/api_op_RegisterImage.go | 4 +- ...sterInstanceEventNotificationAttributes.go | 2 +- ...sterTransitGatewayMulticastGroupMembers.go | 2 +- ...sterTransitGatewayMulticastGroupSources.go | 2 +- ...ansitGatewayMulticastDomainAssociations.go | 2 +- ...p_RejectTransitGatewayPeeringAttachment.go | 2 +- ...pi_op_RejectTransitGatewayVpcAttachment.go | 2 +- .../api_op_RejectVpcEndpointConnections.go | 2 +- .../ec2/api_op_RejectVpcPeeringConnection.go | 4 +- service/ec2/api_op_ReleaseAddress.go | 2 +- .../api_op_ReplaceNetworkAclAssociation.go | 2 +- service/ec2/api_op_ReplaceNetworkAclEntry.go | 6 +- service/ec2/api_op_ReplaceRoute.go | 4 +- .../api_op_ReplaceRouteTableAssociation.go | 2 +- .../ec2/api_op_ReplaceTransitGatewayRoute.go | 4 +- service/ec2/api_op_ReportInstanceStatus.go | 2 +- service/ec2/api_op_RequestSpotFleet.go | 2 +- service/ec2/api_op_RequestSpotInstances.go | 6 +- service/ec2/api_op_ResetAddressAttribute.go | 2 +- service/ec2/api_op_ResetEbsDefaultKmsKeyId.go | 2 +- service/ec2/api_op_ResetFpgaImageAttribute.go | 4 +- service/ec2/api_op_ResetImageAttribute.go | 2 +- service/ec2/api_op_ResetInstanceAttribute.go | 2 +- .../api_op_ResetNetworkInterfaceAttribute.go | 2 +- service/ec2/api_op_ResetSnapshotAttribute.go | 2 +- service/ec2/api_op_RestoreAddressToClassic.go | 2 +- .../api_op_RestoreManagedPrefixListVersion.go | 6 +- service/ec2/api_op_RevokeClientVpnIngress.go | 4 +- .../ec2/api_op_RevokeSecurityGroupEgress.go | 8 +- .../ec2/api_op_RevokeSecurityGroupIngress.go | 8 +- service/ec2/api_op_RunInstances.go | 12 +- service/ec2/api_op_RunScheduledInstances.go | 4 +- .../ec2/api_op_SearchLocalGatewayRoutes.go | 2 +- ..._op_SearchTransitGatewayMulticastGroups.go | 14 +- .../ec2/api_op_SearchTransitGatewayRoutes.go | 6 +- service/ec2/api_op_SendDiagnosticInterrupt.go | 2 +- service/ec2/api_op_StartInstances.go | 2 +- .../api_op_StartNetworkInsightsAnalysis.go | 2 +- ...pcEndpointServicePrivateDnsVerification.go | 4 +- service/ec2/api_op_StopInstances.go | 6 +- .../api_op_TerminateClientVpnConnections.go | 2 +- service/ec2/api_op_TerminateInstances.go | 2 +- service/ec2/api_op_UnmonitorInstances.go | 2 +- ...dateSecurityGroupRuleDescriptionsEgress.go | 4 +- ...ateSecurityGroupRuleDescriptionsIngress.go | 4 +- service/ec2/api_op_WithdrawByoipCidr.go | 2 +- service/ec2/deserializers.go | 640 ++-- .../ec2/internal/customizations/unit_test.go | 2 +- service/ec2/serializers.go | 3044 ++++++++--------- service/ec2/types/types.go | 718 ++-- service/ec2/validators.go | 90 + service/internal/integrationtest/go.mod | 2 +- service/internal/integrationtest/go.sum | 3 +- 437 files changed, 3770 insertions(+), 3178 deletions(-) create mode 100644 .changes/next-release/service.ec2-announcement-1616786271582723000.json create mode 100644 .changes/next-release/service.ec2-bugfix-1616785668377831000.json create mode 100644 codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/BackfillEc2UnboxedToBoxedShapes.java diff --git a/.changes/next-release/service.ec2-announcement-1616786271582723000.json b/.changes/next-release/service.ec2-announcement-1616786271582723000.json new file mode 100644 index 00000000000..52cbc436282 --- /dev/null +++ b/.changes/next-release/service.ec2-announcement-1616786271582723000.json @@ -0,0 +1,9 @@ +{ + "ID": "service.ec2-announcement-1616786271582723000", + "SchemaVersion": 1, + "Module": "service/ec2", + "Type": "announcement", + "Description": "This release contains a breaking change to the Amazon EC2 API client. API number(int/int64/etc) and boolean members were changed from value, to pointer type. Your applications using the EC2 API client will fail to compile after upgrading for all members that were updated. To migrate to this module you'll need to update your application to use pointers for all number and boolean members in the API client module. The SDK provides helper utilities to convert between value and pointer types. For example the [aws.Bool](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws#Bool) function to get the address from a bool literal. Similar utilities are available for all other primative types in the [aws](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws) package.", + "MinVersion": "", + "AffectedModules": null +} \ No newline at end of file diff --git a/.changes/next-release/service.ec2-bugfix-1616785668377831000.json b/.changes/next-release/service.ec2-bugfix-1616785668377831000.json new file mode 100644 index 00000000000..278ad75351b --- /dev/null +++ b/.changes/next-release/service.ec2-bugfix-1616785668377831000.json @@ -0,0 +1,9 @@ +{ + "ID": "service.ec2-bugfix-1616785668377831000", + "SchemaVersion": 1, + "Module": "service/ec2", + "Type": "bugfix", + "Description": "Fix incorrectly modeled Amazon EC2 number and boolean members in structures. The Amazon EC2 API client has been updated with a breaking change to fix all structure number and boolean members to be pointer types instead of value types. Fixes [#1107](https://github.com/aws/aws-sdk-go-v2/issues/1107), [#1178](https://github.com/aws/aws-sdk-go-v2/issues/1178), and [#1190](https://github.com/aws/aws-sdk-go-v2/issues/1190). This breaking change is made within the major version of the client' module, because the client operations failed and were unusable with value type number and boolean members with the EC2 API.", + "MinVersion": "v1.6.0", + "AffectedModules": null +} diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/BackfillEc2UnboxedToBoxedShapes.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/BackfillEc2UnboxedToBoxedShapes.java new file mode 100644 index 00000000000..06eb34b0acd --- /dev/null +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/BackfillEc2UnboxedToBoxedShapes.java @@ -0,0 +1,101 @@ +package software.amazon.smithy.aws.go.codegen.customization; + +import java.util.Set; +import java.util.logging.Logger; +import software.amazon.smithy.codegen.core.CodegenException; +import software.amazon.smithy.go.codegen.CodegenUtils; +import software.amazon.smithy.go.codegen.GoSettings; +import software.amazon.smithy.go.codegen.integration.GoIntegration; +import software.amazon.smithy.model.Model; +import software.amazon.smithy.model.shapes.Shape; +import software.amazon.smithy.model.shapes.ShapeId; +import software.amazon.smithy.model.shapes.ShapeType; +import software.amazon.smithy.model.traits.BoxTrait; +import software.amazon.smithy.utils.SetUtils; + +public class BackfillEc2UnboxedToBoxedShapes implements GoIntegration { + private static final Logger LOGGER = Logger.getLogger(BackfillEc2UnboxedToBoxedShapes.class.getName()); + + /** + * Map of service shape to Set of operation shapes that need to have this + * presigned url auto fill customization. + */ + public static final Set SERVICE_SET = SetUtils.of( + ShapeId.from("com.amazonaws.ec2#AmazonEC2") + ); + + /** + * /** + * Updates the API model to customize all number and boolean unboxed shapes to be boxed. + * + * @param model API model + * @param settings Go codegen settings + * @return updated API model + */ + @Override + public Model preprocessModel(Model model, GoSettings settings) { + ShapeId serviceId = settings.getService(); + if (!SERVICE_SET.contains(serviceId)) { + return model; + } + + Model.Builder builder = model.toBuilder(); + + for (Shape shape : model.toSet()) { + // Only consider number and boolean shapes that are unboxed + if (shape.isMemberShape()) { + continue; + } + if (!(CodegenUtils.isNumber(shape) || shape.getType() == ShapeType.BOOLEAN)) { + continue; + } + if (shape.hasTrait(BoxTrait.class)) { + continue; + } + + switch (shape.getType()) { + case BYTE: + shape = shape.asByteShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + case SHORT: + shape = shape.asShortShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + case INTEGER: + shape = shape.asIntegerShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + case LONG: + shape = shape.asLongShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + case FLOAT: + shape = shape.asFloatShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + case DOUBLE: + shape = shape.asDoubleShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + case BOOLEAN: + shape = shape.asBooleanShape().get().toBuilder() + .addTrait(new BoxTrait()) + .build(); + break; + default: + throw new CodegenException("unexpected shape type for " + shape.getId() + ", " + shape.getType()); + } + + builder.addShape(shape); + } + + return builder.build(); + } +} diff --git a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration index bc28b07af84..5256c73cd37 100644 --- a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration +++ b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration @@ -36,3 +36,4 @@ software.amazon.smithy.aws.go.codegen.ResolveClientConfig software.amazon.smithy.aws.go.codegen.customization.S3GetBucketLocation software.amazon.smithy.aws.go.codegen.RequestResponseLogging software.amazon.smithy.aws.go.codegen.customization.S3AddPutObjectUnseekableBodyDoc +software.amazon.smithy.aws.go.codegen.customization.BackfillEc2UnboxedToBoxedShapes diff --git a/internal/repotools/cmd/eachmodule/cmd.go b/internal/repotools/cmd/eachmodule/cmd.go index 94ab2e94a26..bd4d9b9c8fd 100644 --- a/internal/repotools/cmd/eachmodule/cmd.go +++ b/internal/repotools/cmd/eachmodule/cmd.go @@ -23,8 +23,9 @@ type WorkLog struct { Output io.Reader } -// CommandWorker provides a consumer of work jobs and posts results to the worklog -func CommandWorker(ctx context.Context, jobs <-chan Work, results chan<- WorkLog, outWriter io.ReadWriter) { +// CommandWorker provides a consumer of work jobs and posts results to the +// worklog. +func CommandWorker(ctx context.Context, jobs <-chan Work, results chan<- WorkLog, streamOut io.Writer) { for { var result WorkLog @@ -35,9 +36,12 @@ func CommandWorker(ctx context.Context, jobs <-chan Work, results chan<- WorkLog if !ok { return } - if outWriter == nil { - outWriter = bytes.NewBuffer(nil) - result.Output = outWriter + + outBuffer := bytes.NewBuffer(nil) + outWriter := io.Writer(outBuffer) + + if streamOut != nil { + outWriter = io.MultiWriter(outWriter, streamOut) } result.Path = w.Path @@ -52,6 +56,11 @@ func CommandWorker(ctx context.Context, jobs <-chan Work, results chan<- WorkLog if err := cmd.Run(); err != nil { result.Err = fmt.Errorf("failed to run command, %v", err) } + + if streamOut == nil { + outReader := bytes.NewReader(outBuffer.Bytes()) + result.Output = outReader + } } select { diff --git a/internal/repotools/cmd/eachmodule/main.go b/internal/repotools/cmd/eachmodule/main.go index c4043feaf03..eb3d1ce96ca 100644 --- a/internal/repotools/cmd/eachmodule/main.go +++ b/internal/repotools/cmd/eachmodule/main.go @@ -170,11 +170,11 @@ func run() (err error) { for i := 0; i < atOnce; i++ { go func() { defer jobWG.Done() - var output io.ReadWriter + var streamOut io.Writer if atOnce == 1 { - output = os.Stdout + streamOut = os.Stdout } - CommandWorker(ctx, jobs, results, output) + CommandWorker(ctx, jobs, results, streamOut) }() } diff --git a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go index 776c60da82d..c1bcafac2af 100644 --- a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go @@ -41,7 +41,7 @@ type AcceptReservedInstancesExchangeQuoteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The configuration of the target Convertible Reserved Instance to exchange for // your current Convertible Reserved Instances. diff --git a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go index 2a85e0d5009..63e7e0dea40 100644 --- a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go @@ -33,7 +33,7 @@ type AcceptTransitGatewayMulticastDomainAssociationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of the subnets to associate with the transit gateway multicast domain. SubnetIds []string diff --git a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go index e54ad260f04..b344578fc7e 100644 --- a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go @@ -39,7 +39,7 @@ type AcceptTransitGatewayPeeringAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AcceptTransitGatewayPeeringAttachmentOutput struct { diff --git a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go index 85698ae1000..07c6eeb343c 100644 --- a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go @@ -41,7 +41,7 @@ type AcceptTransitGatewayVpcAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AcceptTransitGatewayVpcAttachmentOutput struct { diff --git a/service/ec2/api_op_AcceptVpcEndpointConnections.go b/service/ec2/api_op_AcceptVpcEndpointConnections.go index 77042f8ac5d..55d7bfd6ae6 100644 --- a/service/ec2/api_op_AcceptVpcEndpointConnections.go +++ b/service/ec2/api_op_AcceptVpcEndpointConnections.go @@ -44,7 +44,7 @@ type AcceptVpcEndpointConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AcceptVpcEndpointConnectionsOutput struct { diff --git a/service/ec2/api_op_AcceptVpcPeeringConnection.go b/service/ec2/api_op_AcceptVpcPeeringConnection.go index c393fdf20ea..c9f04cc5a5f 100644 --- a/service/ec2/api_op_AcceptVpcPeeringConnection.go +++ b/service/ec2/api_op_AcceptVpcPeeringConnection.go @@ -37,7 +37,7 @@ type AcceptVpcPeeringConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the VPC peering connection. You must specify this parameter in the // request. diff --git a/service/ec2/api_op_AdvertiseByoipCidr.go b/service/ec2/api_op_AdvertiseByoipCidr.go index 179eb8cbdf8..a2275a55fd4 100644 --- a/service/ec2/api_op_AdvertiseByoipCidr.go +++ b/service/ec2/api_op_AdvertiseByoipCidr.go @@ -48,7 +48,7 @@ type AdvertiseByoipCidrInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AdvertiseByoipCidrOutput struct { diff --git a/service/ec2/api_op_AllocateAddress.go b/service/ec2/api_op_AllocateAddress.go index 6832e33fdc0..3180c0d3845 100644 --- a/service/ec2/api_op_AllocateAddress.go +++ b/service/ec2/api_op_AllocateAddress.go @@ -69,7 +69,7 @@ type AllocateAddressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // A unique set of Availability Zones, Local Zones, or Wavelength Zones from which // AWS advertises IP addresses. Use this parameter to limit the IP address to this diff --git a/service/ec2/api_op_AllocateHosts.go b/service/ec2/api_op_AllocateHosts.go index a793b648c50..c772cfa4c50 100644 --- a/service/ec2/api_op_AllocateHosts.go +++ b/service/ec2/api_op_AllocateHosts.go @@ -39,7 +39,7 @@ type AllocateHostsInput struct { // The number of Dedicated Hosts to allocate to your account with these parameters. // // This member is required. - Quantity int32 + Quantity *int32 // Indicates whether the host accepts any untargeted instance launches that match // its instance type configuration, or if it only accepts Host tenancy instance diff --git a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go index f46bed461f9..bd6c03a93f1 100644 --- a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go +++ b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go @@ -50,7 +50,7 @@ type ApplySecurityGroupsToClientVpnTargetNetworkInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ApplySecurityGroupsToClientVpnTargetNetworkOutput struct { diff --git a/service/ec2/api_op_AssignIpv6Addresses.go b/service/ec2/api_op_AssignIpv6Addresses.go index 2b99097f18b..0744dc210ce 100644 --- a/service/ec2/api_op_AssignIpv6Addresses.go +++ b/service/ec2/api_op_AssignIpv6Addresses.go @@ -46,7 +46,7 @@ type AssignIpv6AddressesInput struct { // addresses that are already assigned to the network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't use // this option if specifying specific IPv6 addresses. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // One or more specific IPv6 addresses to be assigned to the network interface. You // can't use this option if you're specifying a number of IPv6 addresses. diff --git a/service/ec2/api_op_AssignPrivateIpAddresses.go b/service/ec2/api_op_AssignPrivateIpAddresses.go index 8ab803bcba8..ec9c692a04a 100644 --- a/service/ec2/api_op_AssignPrivateIpAddresses.go +++ b/service/ec2/api_op_AssignPrivateIpAddresses.go @@ -54,7 +54,7 @@ type AssignPrivateIpAddressesInput struct { // Indicates whether to allow an IP address that is already assigned to another // network interface or instance to be reassigned to the specified network // interface. - AllowReassignment bool + AllowReassignment *bool // One or more IP addresses to be assigned as a secondary private IP address to the // network interface. You can't specify this parameter when also specifying a @@ -64,7 +64,7 @@ type AssignPrivateIpAddressesInput struct { // The number of secondary IP addresses to assign to the network interface. You // can't specify this parameter when also specifying private IP addresses. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 } type AssignPrivateIpAddressesOutput struct { diff --git a/service/ec2/api_op_AssociateAddress.go b/service/ec2/api_op_AssociateAddress.go index a9230213306..366dbee51ec 100644 --- a/service/ec2/api_op_AssociateAddress.go +++ b/service/ec2/api_op_AssociateAddress.go @@ -61,13 +61,13 @@ type AssociateAddressInput struct { // operation fails. In a VPC in an EC2-VPC-only account, reassociation is // automatic, therefore you can specify false to ensure the operation fails if the // Elastic IP address is already associated with another resource. - AllowReassociation bool + AllowReassociation *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the instance. The instance must have exactly one attached network // interface. For EC2-VPC, you can specify either the instance ID or the network diff --git a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go index 968d344eef0..2b0c8924c16 100644 --- a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go @@ -57,7 +57,7 @@ type AssociateClientVpnTargetNetworkInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AssociateClientVpnTargetNetworkOutput struct { diff --git a/service/ec2/api_op_AssociateDhcpOptions.go b/service/ec2/api_op_AssociateDhcpOptions.go index aa6861eecd9..47aba454c4a 100644 --- a/service/ec2/api_op_AssociateDhcpOptions.go +++ b/service/ec2/api_op_AssociateDhcpOptions.go @@ -52,7 +52,7 @@ type AssociateDhcpOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AssociateDhcpOptionsOutput struct { diff --git a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go index ec1dde2ff5d..5510f1bd75c 100644 --- a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go @@ -51,7 +51,7 @@ type AssociateEnclaveCertificateIamRoleInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ARN of the IAM role to associate with the ACM certificate. You can associate // up to 16 IAM roles with an ACM certificate. diff --git a/service/ec2/api_op_AssociateRouteTable.go b/service/ec2/api_op_AssociateRouteTable.go index 0dd54d411ac..c23e89d0b88 100644 --- a/service/ec2/api_op_AssociateRouteTable.go +++ b/service/ec2/api_op_AssociateRouteTable.go @@ -45,7 +45,7 @@ type AssociateRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the internet gateway or virtual private gateway. GatewayId *string diff --git a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go index 768c8b2f844..d5007a8428b 100644 --- a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go @@ -38,7 +38,7 @@ type AssociateTransitGatewayMulticastDomainInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of the subnets to associate with the transit gateway multicast domain. SubnetIds []string diff --git a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go index c4d832e5703..30bcfd66793 100644 --- a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go @@ -44,7 +44,7 @@ type AssociateTransitGatewayRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AssociateTransitGatewayRouteTableOutput struct { diff --git a/service/ec2/api_op_AssociateVpcCidrBlock.go b/service/ec2/api_op_AssociateVpcCidrBlock.go index 9026f4f81df..e203e23968f 100644 --- a/service/ec2/api_op_AssociateVpcCidrBlock.go +++ b/service/ec2/api_op_AssociateVpcCidrBlock.go @@ -46,7 +46,7 @@ type AssociateVpcCidrBlockInput struct { // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the // VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR // block. - AmazonProvidedIpv6CidrBlock bool + AmazonProvidedIpv6CidrBlock *bool // An IPv4 CIDR block to associate with the VPC. CidrBlock *string diff --git a/service/ec2/api_op_AttachClassicLinkVpc.go b/service/ec2/api_op_AttachClassicLinkVpc.go index 1f064675ecc..99477f7f885 100644 --- a/service/ec2/api_op_AttachClassicLinkVpc.go +++ b/service/ec2/api_op_AttachClassicLinkVpc.go @@ -56,13 +56,13 @@ type AttachClassicLinkVpcInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AttachClassicLinkVpcOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_AttachInternetGateway.go b/service/ec2/api_op_AttachInternetGateway.go index 35836b86730..60120fe64a1 100644 --- a/service/ec2/api_op_AttachInternetGateway.go +++ b/service/ec2/api_op_AttachInternetGateway.go @@ -45,7 +45,7 @@ type AttachInternetGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AttachInternetGatewayOutput struct { diff --git a/service/ec2/api_op_AttachNetworkInterface.go b/service/ec2/api_op_AttachNetworkInterface.go index 8cbcf46c66b..664f06daab8 100644 --- a/service/ec2/api_op_AttachNetworkInterface.go +++ b/service/ec2/api_op_AttachNetworkInterface.go @@ -32,7 +32,7 @@ type AttachNetworkInterfaceInput struct { // The index of the device for the network interface attachment. // // This member is required. - DeviceIndex int32 + DeviceIndex *int32 // The ID of the instance. // @@ -48,12 +48,12 @@ type AttachNetworkInterfaceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The index of the network card. Some instance types support multiple network // cards. The primary network interface must be assigned to network card index 0. // The default is network card index 0. - NetworkCardIndex int32 + NetworkCardIndex *int32 } // Contains the output of AttachNetworkInterface. @@ -63,7 +63,7 @@ type AttachNetworkInterfaceOutput struct { AttachmentId *string // The index of the network card. - NetworkCardIndex int32 + NetworkCardIndex *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_AttachVolume.go b/service/ec2/api_op_AttachVolume.go index 7db1ceb96fd..9e676237f8a 100644 --- a/service/ec2/api_op_AttachVolume.go +++ b/service/ec2/api_op_AttachVolume.go @@ -76,7 +76,7 @@ type AttachVolumeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Describes volume attachment details. @@ -86,7 +86,7 @@ type AttachVolumeOutput struct { AttachTime *time.Time // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // The device name. Device *string diff --git a/service/ec2/api_op_AttachVpnGateway.go b/service/ec2/api_op_AttachVpnGateway.go index 383df700267..58578ca73c1 100644 --- a/service/ec2/api_op_AttachVpnGateway.go +++ b/service/ec2/api_op_AttachVpnGateway.go @@ -47,7 +47,7 @@ type AttachVpnGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of AttachVpnGateway. diff --git a/service/ec2/api_op_AuthorizeClientVpnIngress.go b/service/ec2/api_op_AuthorizeClientVpnIngress.go index 5ec94629b28..f61d7ada0e6 100644 --- a/service/ec2/api_op_AuthorizeClientVpnIngress.go +++ b/service/ec2/api_op_AuthorizeClientVpnIngress.go @@ -52,7 +52,7 @@ type AuthorizeClientVpnIngressInput struct { // Indicates whether to grant access to all clients. Specify true to grant all // clients who successfully establish a VPN connection access to the network. Must // be set to true if AccessGroupId is not specified. - AuthorizeAllGroups bool + AuthorizeAllGroups *bool // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency @@ -66,7 +66,7 @@ type AuthorizeClientVpnIngressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type AuthorizeClientVpnIngressOutput struct { diff --git a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go index 448e8c33f66..2855e00ad23 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go @@ -51,10 +51,10 @@ type AuthorizeSecurityGroupEgressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Not supported. Use a set of IP permissions to specify the port. - FromPort int32 + FromPort *int32 // The sets of IP permissions. You can't specify a destination security group and a // CIDR IP address range in the same set of permissions. @@ -73,7 +73,7 @@ type AuthorizeSecurityGroupEgressInput struct { SourceSecurityGroupOwnerId *string // Not supported. Use a set of IP permissions to specify the port. - ToPort int32 + ToPort *int32 } type AuthorizeSecurityGroupEgressOutput struct { diff --git a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go index c895d01bbba..ba4281d7053 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go @@ -48,13 +48,13 @@ type AuthorizeSecurityGroupIngressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The start of port range for the TCP and UDP protocols, or an ICMP type number. // For the ICMP type number, use -1 to specify all types. If you specify all ICMP // types, you must specify all codes. Alternatively, use a set of IP permissions to // specify multiple rules and a description for the rule. - FromPort int32 + FromPort *int32 // The ID of the security group. You must specify either the security group ID or // the security group name in the request. For security groups in a nondefault VPC, @@ -97,7 +97,7 @@ type AuthorizeSecurityGroupIngressInput struct { // the ICMP code number, use -1 to specify all codes. If you specify all ICMP // types, you must specify all codes. Alternatively, use a set of IP permissions to // specify multiple rules and a description for the rule. - ToPort int32 + ToPort *int32 } type AuthorizeSecurityGroupIngressOutput struct { diff --git a/service/ec2/api_op_BundleInstance.go b/service/ec2/api_op_BundleInstance.go index 4c3606a9963..82be36416eb 100644 --- a/service/ec2/api_op_BundleInstance.go +++ b/service/ec2/api_op_BundleInstance.go @@ -49,7 +49,7 @@ type BundleInstanceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of BundleInstance. diff --git a/service/ec2/api_op_CancelBundleTask.go b/service/ec2/api_op_CancelBundleTask.go index e29f5b424c3..13a8116f257 100644 --- a/service/ec2/api_op_CancelBundleTask.go +++ b/service/ec2/api_op_CancelBundleTask.go @@ -39,7 +39,7 @@ type CancelBundleTaskInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of CancelBundleTask. diff --git a/service/ec2/api_op_CancelCapacityReservation.go b/service/ec2/api_op_CancelCapacityReservation.go index 21bfe5fa018..50af619dc13 100644 --- a/service/ec2/api_op_CancelCapacityReservation.go +++ b/service/ec2/api_op_CancelCapacityReservation.go @@ -43,13 +43,13 @@ type CancelCapacityReservationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type CancelCapacityReservationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_CancelConversionTask.go b/service/ec2/api_op_CancelConversionTask.go index 269815ff46e..5dc767ab3cb 100644 --- a/service/ec2/api_op_CancelConversionTask.go +++ b/service/ec2/api_op_CancelConversionTask.go @@ -43,7 +43,7 @@ type CancelConversionTaskInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The reason for canceling the conversion task. ReasonMessage *string diff --git a/service/ec2/api_op_CancelImportTask.go b/service/ec2/api_op_CancelImportTask.go index 93c72228973..a75c78225d7 100644 --- a/service/ec2/api_op_CancelImportTask.go +++ b/service/ec2/api_op_CancelImportTask.go @@ -35,7 +35,7 @@ type CancelImportTaskInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the import image or import snapshot task to be canceled. ImportTaskId *string diff --git a/service/ec2/api_op_CancelSpotFleetRequests.go b/service/ec2/api_op_CancelSpotFleetRequests.go index 58cbef62b26..ca2d298c855 100644 --- a/service/ec2/api_op_CancelSpotFleetRequests.go +++ b/service/ec2/api_op_CancelSpotFleetRequests.go @@ -45,13 +45,13 @@ type CancelSpotFleetRequestsInput struct { // canceled successfully. // // This member is required. - TerminateInstances bool + TerminateInstances *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of CancelSpotFleetRequests. diff --git a/service/ec2/api_op_CancelSpotInstanceRequests.go b/service/ec2/api_op_CancelSpotInstanceRequests.go index 4462835cf5b..78fd53abcca 100644 --- a/service/ec2/api_op_CancelSpotInstanceRequests.go +++ b/service/ec2/api_op_CancelSpotInstanceRequests.go @@ -40,7 +40,7 @@ type CancelSpotInstanceRequestsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of CancelSpotInstanceRequests. diff --git a/service/ec2/api_op_ConfirmProductInstance.go b/service/ec2/api_op_ConfirmProductInstance.go index 5c695aa0614..5c4f6245744 100644 --- a/service/ec2/api_op_ConfirmProductInstance.go +++ b/service/ec2/api_op_ConfirmProductInstance.go @@ -44,7 +44,7 @@ type ConfirmProductInstanceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ConfirmProductInstanceOutput struct { @@ -55,7 +55,7 @@ type ConfirmProductInstanceOutput struct { // The return value of the request. Returns true if the specified product code is // owned by the requester and associated with the specified instance. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_CopyFpgaImage.go b/service/ec2/api_op_CopyFpgaImage.go index 521e6c5e1b1..ae8b892838c 100644 --- a/service/ec2/api_op_CopyFpgaImage.go +++ b/service/ec2/api_op_CopyFpgaImage.go @@ -50,7 +50,7 @@ type CopyFpgaImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The name for the new AFI. The default is the name of the source AFI. Name *string diff --git a/service/ec2/api_op_CopyImage.go b/service/ec2/api_op_CopyImage.go index f6d2c49501f..957427e0ec6 100644 --- a/service/ec2/api_op_CopyImage.go +++ b/service/ec2/api_op_CopyImage.go @@ -92,7 +92,7 @@ type CopyImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specifies whether the destination snapshots of the copied image should be // encrypted. You can encrypt a copy of an unencrypted snapshot, but you cannot @@ -101,7 +101,7 @@ type CopyImageInput struct { // using KmsKeyId. For more information, see Amazon EBS Encryption // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the // Amazon Elastic Compute Cloud User Guide. - Encrypted bool + Encrypted *bool // The identifier of the symmetric AWS Key Management Service (AWS KMS) customer // master key (CMK) to use when creating encrypted volumes. If this parameter is diff --git a/service/ec2/api_op_CopySnapshot.go b/service/ec2/api_op_CopySnapshot.go index ccf79d2db27..3e3e92a2b92 100644 --- a/service/ec2/api_op_CopySnapshot.go +++ b/service/ec2/api_op_CopySnapshot.go @@ -78,7 +78,7 @@ type CopySnapshotInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // To encrypt a copy of an unencrypted snapshot if encryption by default is not // enabled, enable encryption using this parameter. Otherwise, omit this parameter. @@ -87,7 +87,7 @@ type CopySnapshotInput struct { // For more information, see Amazon EBS encryption // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the // Amazon Elastic Compute Cloud User Guide. - Encrypted bool + Encrypted *bool // The identifier of the AWS Key Management Service (AWS KMS) customer master key // (CMK) to use for Amazon EBS encryption. If this parameter is not specified, your diff --git a/service/ec2/api_op_CreateCapacityReservation.go b/service/ec2/api_op_CreateCapacityReservation.go index 4458c946a87..fb9191c5eb7 100644 --- a/service/ec2/api_op_CreateCapacityReservation.go +++ b/service/ec2/api_op_CreateCapacityReservation.go @@ -53,7 +53,7 @@ type CreateCapacityReservationInput struct { // The number of instances for which to reserve capacity. // // This member is required. - InstanceCount int32 + InstanceCount *int32 // The type of operating system for which to reserve capacity. // @@ -83,14 +83,14 @@ type CreateCapacityReservationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Indicates whether the Capacity Reservation supports EBS-optimized instances. // This optimization provides dedicated throughput to Amazon EBS and an optimized // configuration stack to provide optimal I/O performance. This optimization isn't // available with all instance types. Additional usage charges apply when using an // EBS- optimized instance. - EbsOptimized bool + EbsOptimized *bool // The date and time at which the Capacity Reservation expires. When a Capacity // Reservation expires, the reserved capacity is released and you can no longer @@ -117,7 +117,7 @@ type CreateCapacityReservationInput struct { // Indicates whether the Capacity Reservation supports instances with temporary, // block-level storage. - EphemeralStorage bool + EphemeralStorage *bool // Indicates the type of instance launches that the Capacity Reservation accepts. // The options include: diff --git a/service/ec2/api_op_CreateCarrierGateway.go b/service/ec2/api_op_CreateCarrierGateway.go index 36311f321fc..02ea0ac19e0 100644 --- a/service/ec2/api_op_CreateCarrierGateway.go +++ b/service/ec2/api_op_CreateCarrierGateway.go @@ -47,7 +47,7 @@ type CreateCarrierGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to associate with the carrier gateway. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateClientVpnEndpoint.go b/service/ec2/api_op_CreateClientVpnEndpoint.go index 43f19b3c4d5..16f138068fa 100644 --- a/service/ec2/api_op_CreateClientVpnEndpoint.go +++ b/service/ec2/api_op_CreateClientVpnEndpoint.go @@ -90,7 +90,7 @@ type CreateClientVpnEndpointInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of one or more security groups to apply to the target network. You must // also specify the ID of the VPC that contains the security groups. @@ -105,7 +105,7 @@ type CreateClientVpnEndpointInput struct { // split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint // (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) // in the AWS Client VPN Administrator Guide. - SplitTunnel bool + SplitTunnel *bool // The tags to apply to the Client VPN endpoint during creation. TagSpecifications []types.TagSpecification @@ -120,7 +120,7 @@ type CreateClientVpnEndpointInput struct { // The port number to assign to the Client VPN endpoint for TCP and UDP traffic. // Valid Values: 443 | 1194 Default Value: 443 - VpnPort int32 + VpnPort *int32 } type CreateClientVpnEndpointOutput struct { diff --git a/service/ec2/api_op_CreateClientVpnRoute.go b/service/ec2/api_op_CreateClientVpnRoute.go index f71516513a4..3a36889e391 100644 --- a/service/ec2/api_op_CreateClientVpnRoute.go +++ b/service/ec2/api_op_CreateClientVpnRoute.go @@ -74,7 +74,7 @@ type CreateClientVpnRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type CreateClientVpnRouteOutput struct { diff --git a/service/ec2/api_op_CreateCustomerGateway.go b/service/ec2/api_op_CreateCustomerGateway.go index 4ab9c61205d..dd60dc3fa40 100644 --- a/service/ec2/api_op_CreateCustomerGateway.go +++ b/service/ec2/api_op_CreateCustomerGateway.go @@ -60,7 +60,7 @@ type CreateCustomerGatewayInput struct { // For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 // // This member is required. - BgpAsn int32 + BgpAsn *int32 // The type of VPN connection that this customer gateway supports (ipsec.1). // @@ -78,7 +78,7 @@ type CreateCustomerGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Internet-routable IP address for the customer gateway's outside interface. // The address must be static. diff --git a/service/ec2/api_op_CreateDefaultSubnet.go b/service/ec2/api_op_CreateDefaultSubnet.go index 660ba34ba6a..f28ffa68315 100644 --- a/service/ec2/api_op_CreateDefaultSubnet.go +++ b/service/ec2/api_op_CreateDefaultSubnet.go @@ -42,7 +42,7 @@ type CreateDefaultSubnetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type CreateDefaultSubnetOutput struct { diff --git a/service/ec2/api_op_CreateDefaultVpc.go b/service/ec2/api_op_CreateDefaultVpc.go index a1694947e3f..f9db2c5f1e4 100644 --- a/service/ec2/api_op_CreateDefaultVpc.go +++ b/service/ec2/api_op_CreateDefaultVpc.go @@ -44,7 +44,7 @@ type CreateDefaultVpcInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type CreateDefaultVpcOutput struct { diff --git a/service/ec2/api_op_CreateDhcpOptions.go b/service/ec2/api_op_CreateDhcpOptions.go index c331fff754a..0e6d5345c39 100644 --- a/service/ec2/api_op_CreateDhcpOptions.go +++ b/service/ec2/api_op_CreateDhcpOptions.go @@ -81,7 +81,7 @@ type CreateDhcpOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the DHCP option. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go index d1787247471..07ff56590a3 100644 --- a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go @@ -46,7 +46,7 @@ type CreateEgressOnlyInternetGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the egress-only internet gateway. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateFleet.go b/service/ec2/api_op_CreateFleet.go index 47479169205..901f6b85f95 100644 --- a/service/ec2/api_op_CreateFleet.go +++ b/service/ec2/api_op_CreateFleet.go @@ -53,7 +53,7 @@ type CreateFleetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Indicates whether running instances should be terminated if the total target // capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet. @@ -67,7 +67,7 @@ type CreateFleetInput struct { // checks // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) // in the Amazon EC2 User Guide. - ReplaceUnhealthyInstances bool + ReplaceUnhealthyInstances *bool // Describes the configuration of Spot Instances in an EC2 Fleet. SpotOptions *types.SpotOptionsRequest @@ -82,7 +82,7 @@ type CreateFleetInput struct { // Indicates whether running instances should be terminated when the EC2 Fleet // expires. - TerminateInstancesWithExpiration bool + TerminateInstancesWithExpiration *bool // The type of request. The default value is maintain. // diff --git a/service/ec2/api_op_CreateFlowLogs.go b/service/ec2/api_op_CreateFlowLogs.go index 6d2e8214adb..ea82c50cc8b 100644 --- a/service/ec2/api_op_CreateFlowLogs.go +++ b/service/ec2/api_op_CreateFlowLogs.go @@ -74,7 +74,7 @@ type CreateFlowLogsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specifies the destination to which the flow log data is to be published. Flow // log data can be published to a CloudWatch Logs log group or an Amazon S3 bucket. @@ -120,7 +120,7 @@ type CreateFlowLogsInput struct { // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances), // the aggregation interval is always 60 seconds or less, regardless of the value // that you specify. Default: 600 - MaxAggregationInterval int32 + MaxAggregationInterval *int32 // The tags to apply to the flow logs. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateFpgaImage.go b/service/ec2/api_op_CreateFpgaImage.go index 39f7e3be1b8..0adb9d073e4 100644 --- a/service/ec2/api_op_CreateFpgaImage.go +++ b/service/ec2/api_op_CreateFpgaImage.go @@ -52,7 +52,7 @@ type CreateFpgaImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The location in Amazon S3 for the output logs. LogsStorageLocation *types.StorageLocation diff --git a/service/ec2/api_op_CreateImage.go b/service/ec2/api_op_CreateImage.go index 61c3558486b..330599caa72 100644 --- a/service/ec2/api_op_CreateImage.go +++ b/service/ec2/api_op_CreateImage.go @@ -61,13 +61,13 @@ type CreateImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // By default, Amazon EC2 attempts to shut down and reboot the instance before // creating the image. If the No Reboot option is set, Amazon EC2 doesn't shut down // the instance before creating the image. When this option is used, file system // integrity on the created image can't be guaranteed. - NoReboot bool + NoReboot *bool // The tags to apply to the AMI and snapshots on creation. You can tag the AMI, the // snapshots, or both. diff --git a/service/ec2/api_op_CreateInternetGateway.go b/service/ec2/api_op_CreateInternetGateway.go index cf48e8eed75..0e897e8d286 100644 --- a/service/ec2/api_op_CreateInternetGateway.go +++ b/service/ec2/api_op_CreateInternetGateway.go @@ -36,7 +36,7 @@ type CreateInternetGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the internet gateway. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateKeyPair.go b/service/ec2/api_op_CreateKeyPair.go index 0501e4ee013..443cc9b2bd1 100644 --- a/service/ec2/api_op_CreateKeyPair.go +++ b/service/ec2/api_op_CreateKeyPair.go @@ -47,7 +47,7 @@ type CreateKeyPairInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the new key pair. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateLaunchTemplate.go b/service/ec2/api_op_CreateLaunchTemplate.go index c7fdaf36c63..49bbff4e546 100644 --- a/service/ec2/api_op_CreateLaunchTemplate.go +++ b/service/ec2/api_op_CreateLaunchTemplate.go @@ -54,7 +54,7 @@ type CreateLaunchTemplateInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the launch template during creation. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateLaunchTemplateVersion.go b/service/ec2/api_op_CreateLaunchTemplateVersion.go index b1f9eb6b402..9ca10369d34 100644 --- a/service/ec2/api_op_CreateLaunchTemplateVersion.go +++ b/service/ec2/api_op_CreateLaunchTemplateVersion.go @@ -50,7 +50,7 @@ type CreateLaunchTemplateVersionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the launch template. You must specify either the launch template ID or // launch template name in the request. diff --git a/service/ec2/api_op_CreateLocalGatewayRoute.go b/service/ec2/api_op_CreateLocalGatewayRoute.go index 88db3adc133..06e2a523f2b 100644 --- a/service/ec2/api_op_CreateLocalGatewayRoute.go +++ b/service/ec2/api_op_CreateLocalGatewayRoute.go @@ -49,7 +49,7 @@ type CreateLocalGatewayRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type CreateLocalGatewayRouteOutput struct { diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go index 97608d22804..29eb8726784 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go @@ -43,7 +43,7 @@ type CreateLocalGatewayRouteTableVpcAssociationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the local gateway route table VPC association. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateManagedPrefixList.go b/service/ec2/api_op_CreateManagedPrefixList.go index 55b0b7a977a..52762152ddf 100644 --- a/service/ec2/api_op_CreateManagedPrefixList.go +++ b/service/ec2/api_op_CreateManagedPrefixList.go @@ -41,7 +41,7 @@ type CreateManagedPrefixListInput struct { // The maximum number of entries for the prefix list. // // This member is required. - MaxEntries int32 + MaxEntries *int32 // A name for the prefix list. Constraints: Up to 255 characters in length. The // name cannot start with com.amazonaws. @@ -59,7 +59,7 @@ type CreateManagedPrefixListInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more entries for the prefix list. Entries []types.AddPrefixListEntry diff --git a/service/ec2/api_op_CreateNatGateway.go b/service/ec2/api_op_CreateNatGateway.go index efc6740aad6..50e641fd487 100644 --- a/service/ec2/api_op_CreateNatGateway.go +++ b/service/ec2/api_op_CreateNatGateway.go @@ -58,7 +58,7 @@ type CreateNatGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the NAT gateway. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateNetworkAcl.go b/service/ec2/api_op_CreateNetworkAcl.go index 4e71b84649a..228a29c5c6a 100644 --- a/service/ec2/api_op_CreateNetworkAcl.go +++ b/service/ec2/api_op_CreateNetworkAcl.go @@ -42,7 +42,7 @@ type CreateNetworkAclInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the network ACL. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateNetworkAclEntry.go b/service/ec2/api_op_CreateNetworkAclEntry.go index 998a67b7c18..198e5771a45 100644 --- a/service/ec2/api_op_CreateNetworkAclEntry.go +++ b/service/ec2/api_op_CreateNetworkAclEntry.go @@ -46,7 +46,7 @@ type CreateNetworkAclEntryInput struct { // subnet). // // This member is required. - Egress bool + Egress *bool // The ID of the network ACL. // @@ -74,7 +74,7 @@ type CreateNetworkAclEntryInput struct { // The range 32767 to 65535 is reserved for internal use. // // This member is required. - RuleNumber int32 + RuleNumber *int32 // The IPv4 network range to allow or deny, in CIDR notation (for example // 172.16.0.0/24). We modify the specified CIDR block to its canonical form; for @@ -85,7 +85,7 @@ type CreateNetworkAclEntryInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol // 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. diff --git a/service/ec2/api_op_CreateNetworkInsightsPath.go b/service/ec2/api_op_CreateNetworkInsightsPath.go index 20392a75b32..4dae6c0cde8 100644 --- a/service/ec2/api_op_CreateNetworkInsightsPath.go +++ b/service/ec2/api_op_CreateNetworkInsightsPath.go @@ -59,13 +59,13 @@ type CreateNetworkInsightsPathInput struct { DestinationIp *string // The destination port. - DestinationPort int32 + DestinationPort *int32 // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IP address of the AWS resource that is the source of the path. SourceIp *string diff --git a/service/ec2/api_op_CreateNetworkInterface.go b/service/ec2/api_op_CreateNetworkInterface.go index cae398e796a..86a1b92b015 100644 --- a/service/ec2/api_op_CreateNetworkInterface.go +++ b/service/ec2/api_op_CreateNetworkInterface.go @@ -45,7 +45,7 @@ type CreateNetworkInterfaceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of one or more security groups. Groups []string @@ -61,7 +61,7 @@ type CreateNetworkInterfaceInput struct { // this option if specifying specific IPv6 addresses. If your subnet has the // AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override // this setting. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. You can't use this option if you're specifying a number of IPv6 @@ -86,7 +86,7 @@ type CreateNetworkInterfaceInput struct { // type. For more information, see IP Addresses Per ENI Per Instance Type // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) // in the Amazon Virtual Private Cloud User Guide. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 // The tags to apply to the new network interface. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateNetworkInterfacePermission.go b/service/ec2/api_op_CreateNetworkInterfacePermission.go index 442f17a1145..b5cc7c50918 100644 --- a/service/ec2/api_op_CreateNetworkInterfacePermission.go +++ b/service/ec2/api_op_CreateNetworkInterfacePermission.go @@ -52,7 +52,7 @@ type CreateNetworkInterfacePermissionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of CreateNetworkInterfacePermission. diff --git a/service/ec2/api_op_CreatePlacementGroup.go b/service/ec2/api_op_CreatePlacementGroup.go index 61b3651b210..8a73daddfa8 100644 --- a/service/ec2/api_op_CreatePlacementGroup.go +++ b/service/ec2/api_op_CreatePlacementGroup.go @@ -42,14 +42,14 @@ type CreatePlacementGroupInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // A name for the placement group. Must be unique within the scope of your account // for the Region. Constraints: Up to 255 ASCII characters GroupName *string // The number of partitions. Valid only when Strategy is set to partition. - PartitionCount int32 + PartitionCount *int32 // The placement strategy. Strategy types.PlacementStrategy diff --git a/service/ec2/api_op_CreateReplaceRootVolumeTask.go b/service/ec2/api_op_CreateReplaceRootVolumeTask.go index 945da7cb9b1..dc7d10f2ca3 100644 --- a/service/ec2/api_op_CreateReplaceRootVolumeTask.go +++ b/service/ec2/api_op_CreateReplaceRootVolumeTask.go @@ -49,7 +49,7 @@ type CreateReplaceRootVolumeTaskInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the snapshot from which to restore the replacement root volume. If you // want to restore the volume to the initial launch state, omit this parameter. diff --git a/service/ec2/api_op_CreateReservedInstancesListing.go b/service/ec2/api_op_CreateReservedInstancesListing.go index e7c020e729a..d8fca00fd8b 100644 --- a/service/ec2/api_op_CreateReservedInstancesListing.go +++ b/service/ec2/api_op_CreateReservedInstancesListing.go @@ -62,7 +62,7 @@ type CreateReservedInstancesListingInput struct { // in this call. // // This member is required. - InstanceCount int32 + InstanceCount *int32 // A list specifying the price of the Standard Reserved Instance for each month // remaining in the Reserved Instance term. diff --git a/service/ec2/api_op_CreateRestoreImageTask.go b/service/ec2/api_op_CreateRestoreImageTask.go index 9189f86a01a..a7d9faa6e88 100644 --- a/service/ec2/api_op_CreateRestoreImageTask.go +++ b/service/ec2/api_op_CreateRestoreImageTask.go @@ -52,7 +52,7 @@ type CreateRestoreImageTaskInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The name for the restored AMI. The name must be unique for AMIs in the Region // for this account. If you do not provide a name, the new AMI gets the same name diff --git a/service/ec2/api_op_CreateRoute.go b/service/ec2/api_op_CreateRoute.go index c1e3864f4fb..311969483cd 100644 --- a/service/ec2/api_op_CreateRoute.go +++ b/service/ec2/api_op_CreateRoute.go @@ -72,7 +72,7 @@ type CreateRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // [IPv6 traffic only] The ID of an egress-only internet gateway. EgressOnlyInternetGatewayId *string @@ -106,7 +106,7 @@ type CreateRouteInput struct { type CreateRouteOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_CreateRouteTable.go b/service/ec2/api_op_CreateRouteTable.go index f0d554bce4c..3e92f402948 100644 --- a/service/ec2/api_op_CreateRouteTable.go +++ b/service/ec2/api_op_CreateRouteTable.go @@ -42,7 +42,7 @@ type CreateRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the route table. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateSecurityGroup.go b/service/ec2/api_op_CreateSecurityGroup.go index e590d23bdb8..acb59f9e8f0 100644 --- a/service/ec2/api_op_CreateSecurityGroup.go +++ b/service/ec2/api_op_CreateSecurityGroup.go @@ -67,7 +67,7 @@ type CreateSecurityGroupInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to the security group. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateSnapshot.go b/service/ec2/api_op_CreateSnapshot.go index 30a9ae7c888..75e9b947c94 100644 --- a/service/ec2/api_op_CreateSnapshot.go +++ b/service/ec2/api_op_CreateSnapshot.go @@ -72,7 +72,7 @@ type CreateSnapshotInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Amazon Resource Name (ARN) of the AWS Outpost on which to create a local // snapshot. @@ -114,7 +114,7 @@ type CreateSnapshotOutput struct { Description *string // Indicates whether the snapshot is encrypted. - Encrypted bool + Encrypted *bool // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption key for @@ -163,7 +163,7 @@ type CreateSnapshotOutput struct { VolumeId *string // The size of the volume, in GiB. - VolumeSize int32 + VolumeSize *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_CreateSnapshots.go b/service/ec2/api_op_CreateSnapshots.go index 6fed94326e9..bc2c5beb752 100644 --- a/service/ec2/api_op_CreateSnapshots.go +++ b/service/ec2/api_op_CreateSnapshots.go @@ -52,7 +52,7 @@ type CreateSnapshotsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Amazon Resource Name (ARN) of the AWS Outpost on which to create the local // snapshots. diff --git a/service/ec2/api_op_CreateSpotDatafeedSubscription.go b/service/ec2/api_op_CreateSpotDatafeedSubscription.go index d21d9d97ac9..99396000607 100644 --- a/service/ec2/api_op_CreateSpotDatafeedSubscription.go +++ b/service/ec2/api_op_CreateSpotDatafeedSubscription.go @@ -46,7 +46,7 @@ type CreateSpotDatafeedSubscriptionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The prefix for the data feed file names. Prefix *string diff --git a/service/ec2/api_op_CreateStoreImageTask.go b/service/ec2/api_op_CreateStoreImageTask.go index 7a37cad9e1c..96d79c0d99e 100644 --- a/service/ec2/api_op_CreateStoreImageTask.go +++ b/service/ec2/api_op_CreateStoreImageTask.go @@ -52,7 +52,7 @@ type CreateStoreImageTaskInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the AMI object that will be stored in the S3 bucket. S3ObjectTags []types.S3ObjectTag diff --git a/service/ec2/api_op_CreateSubnet.go b/service/ec2/api_op_CreateSubnet.go index 770496b5853..2b5aa08a8b5 100644 --- a/service/ec2/api_op_CreateSubnet.go +++ b/service/ec2/api_op_CreateSubnet.go @@ -73,7 +73,7 @@ type CreateSubnetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IPv6 network range for the subnet, in CIDR notation. The subnet size must // use a /64 prefix length. diff --git a/service/ec2/api_op_CreateTags.go b/service/ec2/api_op_CreateTags.go index c07b5208953..839a2ae132d 100644 --- a/service/ec2/api_op_CreateTags.go +++ b/service/ec2/api_op_CreateTags.go @@ -56,7 +56,7 @@ type CreateTagsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type CreateTagsOutput struct { diff --git a/service/ec2/api_op_CreateTrafficMirrorFilter.go b/service/ec2/api_op_CreateTrafficMirrorFilter.go index c5aa2a78679..2784c7200b9 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilter.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilter.go @@ -49,7 +49,7 @@ type CreateTrafficMirrorFilterInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to assign to a Traffic Mirror filter. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go index d14bffe3ddd..16fda3c13d0 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go @@ -47,7 +47,7 @@ type CreateTrafficMirrorFilterRuleInput struct { // order by rule number. // // This member is required. - RuleNumber int32 + RuleNumber *int32 // The source CIDR block to assign to the Traffic Mirror rule. // @@ -79,13 +79,13 @@ type CreateTrafficMirrorFilterRuleInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The protocol, for example UDP, to assign to the Traffic Mirror rule. For // information about the protocol value, see Protocol Numbers // (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) on // the Internet Assigned Numbers Authority (IANA) website. - Protocol int32 + Protocol *int32 // The source port range. SourcePortRange *types.TrafficMirrorPortRangeRequest diff --git a/service/ec2/api_op_CreateTrafficMirrorSession.go b/service/ec2/api_op_CreateTrafficMirrorSession.go index 6ae79b6a96b..b63d6c6cbbc 100644 --- a/service/ec2/api_op_CreateTrafficMirrorSession.go +++ b/service/ec2/api_op_CreateTrafficMirrorSession.go @@ -48,7 +48,7 @@ type CreateTrafficMirrorSessionInput struct { // is the one that mirrors the packets. Valid values are 1-32766. // // This member is required. - SessionNumber int32 + SessionNumber *int32 // The ID of the Traffic Mirror filter. // @@ -72,7 +72,7 @@ type CreateTrafficMirrorSessionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The number of bytes in each packet to mirror. These are bytes after the VXLAN // header. Do not specify this parameter when you want to mirror the entire packet. @@ -81,7 +81,7 @@ type CreateTrafficMirrorSessionInput struct { // bytes that meet the filter criteria are copied to the target. If you do not want // to mirror the entire packet, use the PacketLength parameter to specify the // number of bytes in each packet to mirror. - PacketLength int32 + PacketLength *int32 // The tags to assign to a Traffic Mirror session. TagSpecifications []types.TagSpecification @@ -89,7 +89,7 @@ type CreateTrafficMirrorSessionInput struct { // The VXLAN ID for the Traffic Mirror session. For more information about the // VXLAN protocol, see RFC 7348 (https://tools.ietf.org/html/rfc7348). If you do // not specify a VirtualNetworkId, an account-wide unique id is chosen at random. - VirtualNetworkId int32 + VirtualNetworkId *int32 } type CreateTrafficMirrorSessionOutput struct { diff --git a/service/ec2/api_op_CreateTrafficMirrorTarget.go b/service/ec2/api_op_CreateTrafficMirrorTarget.go index 724b8f40ff0..67d61995a3e 100644 --- a/service/ec2/api_op_CreateTrafficMirrorTarget.go +++ b/service/ec2/api_op_CreateTrafficMirrorTarget.go @@ -48,7 +48,7 @@ type CreateTrafficMirrorTargetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The network interface ID that is associated with the target. NetworkInterfaceId *string diff --git a/service/ec2/api_op_CreateTransitGateway.go b/service/ec2/api_op_CreateTransitGateway.go index 77177556fc6..6acae488482 100644 --- a/service/ec2/api_op_CreateTransitGateway.go +++ b/service/ec2/api_op_CreateTransitGateway.go @@ -51,7 +51,7 @@ type CreateTransitGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The transit gateway options. Options *types.TransitGatewayRequestOptions diff --git a/service/ec2/api_op_CreateTransitGatewayConnect.go b/service/ec2/api_op_CreateTransitGatewayConnect.go index 25907320c6c..6b0bf5f11f5 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnect.go +++ b/service/ec2/api_op_CreateTransitGatewayConnect.go @@ -48,7 +48,7 @@ type CreateTransitGatewayConnectInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the Connect attachment. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go index 2ec92aa1c33..34b7a46b16a 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go @@ -60,7 +60,7 @@ type CreateTransitGatewayConnectPeerInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the Connect peer. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go index 91ede349b53..74a94cf66db 100644 --- a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go @@ -42,7 +42,7 @@ type CreateTransitGatewayMulticastDomainInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The options for the transit gateway multicast domain. Options *types.CreateTransitGatewayMulticastDomainRequestOptions diff --git a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go index c035bf2158d..89cfd6e2af7 100644 --- a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go @@ -57,7 +57,7 @@ type CreateTransitGatewayPeeringAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the transit gateway peering attachment. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go index e5757279401..7d3898c8475 100644 --- a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go @@ -41,13 +41,13 @@ type CreateTransitGatewayPrefixListReferenceInput struct { TransitGatewayRouteTableId *string // Indicates whether to drop traffic that matches this route. - Blackhole bool + Blackhole *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the attachment to which traffic is routed. TransitGatewayAttachmentId *string diff --git a/service/ec2/api_op_CreateTransitGatewayRoute.go b/service/ec2/api_op_CreateTransitGatewayRoute.go index 7d36b43b3b5..6b1fccccdc3 100644 --- a/service/ec2/api_op_CreateTransitGatewayRoute.go +++ b/service/ec2/api_op_CreateTransitGatewayRoute.go @@ -41,13 +41,13 @@ type CreateTransitGatewayRouteInput struct { TransitGatewayRouteTableId *string // Indicates whether to drop traffic that matches this route. - Blackhole bool + Blackhole *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the attachment. TransitGatewayAttachmentId *string diff --git a/service/ec2/api_op_CreateTransitGatewayRouteTable.go b/service/ec2/api_op_CreateTransitGatewayRouteTable.go index dbacb317f5f..5eec2aec371 100644 --- a/service/ec2/api_op_CreateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_CreateTransitGatewayRouteTable.go @@ -38,7 +38,7 @@ type CreateTransitGatewayRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the transit gateway route table. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go index 94b5501a789..f6cf488394b 100644 --- a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go @@ -55,7 +55,7 @@ type CreateTransitGatewayVpcAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The VPC attachment options. Options *types.CreateTransitGatewayVpcAttachmentRequestOptions diff --git a/service/ec2/api_op_CreateVolume.go b/service/ec2/api_op_CreateVolume.go index af40a083785..692ede1173b 100644 --- a/service/ec2/api_op_CreateVolume.go +++ b/service/ec2/api_op_CreateVolume.go @@ -53,7 +53,7 @@ type CreateVolumeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Indicates whether the volume should be encrypted. The effect of setting the // encryption state to true depends on the volume origin (new or from a snapshot), @@ -64,7 +64,7 @@ type CreateVolumeInput struct { // must be attached to instances that support Amazon EBS encryption. For more // information, see Supported instance types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances). - Encrypted bool + Encrypted *bool // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, // this represents the number of IOPS that are provisioned for the volume. For gp2 @@ -85,7 +85,7 @@ type CreateVolumeInput struct { // Other instance families guarantee performance up to 32,000 IOPS. This parameter // is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS. // This parameter is not supported for gp2, st1, sc1, or standard volumes. - Iops int32 + Iops *int32 // The identifier of the AWS Key Management Service (AWS KMS) customer master key // (CMK) to use for Amazon EBS encryption. If this parameter is not specified, your @@ -117,7 +117,7 @@ type CreateVolumeInput struct { // volumes only. For more information, see Amazon EBS Multi-Attach // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html) in // the Amazon Elastic Compute Cloud User Guide. - MultiAttachEnabled bool + MultiAttachEnabled *bool // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string @@ -136,7 +136,7 @@ type CreateVolumeInput struct { // // * standard: // 1-1,024 - Size int32 + Size *int32 // The snapshot from which to create the volume. You must specify either a snapshot // ID or a volume size. @@ -148,7 +148,7 @@ type CreateVolumeInput struct { // The throughput to provision for a volume, with a maximum of 1,000 MiB/s. This // parameter is valid only for gp3 volumes. Valid Range: Minimum value of 125. // Maximum value of 1000. - Throughput int32 + Throughput *int32 // The volume type. This parameter can be one of the following values: // @@ -184,16 +184,16 @@ type CreateVolumeOutput struct { CreateTime *time.Time // Indicates whether the volume is encrypted. - Encrypted bool + Encrypted *bool // Indicates whether the volume was created using fast snapshot restore. - FastRestored bool + FastRestored *bool // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, // this represents the number of IOPS that are provisioned for the volume. For gp2 // volumes, this represents the baseline performance of the volume and the rate at // which the volume accumulates I/O credits for bursting. - Iops int32 + Iops *int32 // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption key for @@ -201,13 +201,13 @@ type CreateVolumeOutput struct { KmsKeyId *string // Indicates whether Amazon EBS Multi-Attach is enabled. - MultiAttachEnabled bool + MultiAttachEnabled *bool // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string // The size of the volume, in GiBs. - Size int32 + Size *int32 // The snapshot from which the volume was created, if applicable. SnapshotId *string @@ -219,7 +219,7 @@ type CreateVolumeOutput struct { Tags []types.Tag // The throughput that the volume supports, in MiB/s. - Throughput int32 + Throughput *int32 // The ID of the volume. VolumeId *string diff --git a/service/ec2/api_op_CreateVpc.go b/service/ec2/api_op_CreateVpc.go index de5ec97cd70..00f14445838 100644 --- a/service/ec2/api_op_CreateVpc.go +++ b/service/ec2/api_op_CreateVpc.go @@ -57,13 +57,13 @@ type CreateVpcInput struct { // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the // VPC. You cannot specify the range of IP addresses, or the size of the CIDR // block. - AmazonProvidedIpv6CidrBlock bool + AmazonProvidedIpv6CidrBlock *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tenancy options for instances launched into the VPC. For default, instances // are launched with shared tenancy by default. You can launch instances with any diff --git a/service/ec2/api_op_CreateVpcEndpoint.go b/service/ec2/api_op_CreateVpcEndpoint.go index a593e1f0a74..cd471446467 100644 --- a/service/ec2/api_op_CreateVpcEndpoint.go +++ b/service/ec2/api_op_CreateVpcEndpoint.go @@ -66,7 +66,7 @@ type CreateVpcEndpointInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // (Interface and gateway endpoints) A policy to attach to the endpoint that // controls access to the service. The policy must be in valid JSON format. If this @@ -84,7 +84,7 @@ type CreateVpcEndpointInput struct { // zone, you must set the following VPC attributes to true: enableDnsHostnames and // enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes. Default: // true - PrivateDnsEnabled bool + PrivateDnsEnabled *bool // (Gateway endpoint) One or more route table IDs. RouteTableIds []string diff --git a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go index db25817a285..704e22bfa70 100644 --- a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go @@ -54,7 +54,7 @@ type CreateVpcEndpointConnectionNotificationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the endpoint service. ServiceId *string diff --git a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go index 9ca3ef26f40..9b2084b2be2 100644 --- a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go @@ -52,7 +52,7 @@ type CreateVpcEndpointServiceConfigurationInput struct { // Indicates whether requests from service consumers to create an endpoint to your // service must be accepted. To accept a request, use AcceptVpcEndpointConnections. - AcceptanceRequired bool + AcceptanceRequired *bool // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency @@ -63,7 +63,7 @@ type CreateVpcEndpointServiceConfigurationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers. GatewayLoadBalancerArns []string diff --git a/service/ec2/api_op_CreateVpcPeeringConnection.go b/service/ec2/api_op_CreateVpcPeeringConnection.go index c7daf9d7765..e38f5f09b49 100644 --- a/service/ec2/api_op_CreateVpcPeeringConnection.go +++ b/service/ec2/api_op_CreateVpcPeeringConnection.go @@ -44,7 +44,7 @@ type CreateVpcPeeringConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The AWS account ID of the owner of the accepter VPC. Default: Your AWS account // ID diff --git a/service/ec2/api_op_CreateVpnConnection.go b/service/ec2/api_op_CreateVpnConnection.go index 207abd053a9..87377edaf54 100644 --- a/service/ec2/api_op_CreateVpnConnection.go +++ b/service/ec2/api_op_CreateVpnConnection.go @@ -56,7 +56,7 @@ type CreateVpnConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The options for the VPN connection. Options *types.VpnConnectionOptionsSpecification diff --git a/service/ec2/api_op_CreateVpnGateway.go b/service/ec2/api_op_CreateVpnGateway.go index a8ecc39653d..7b469548a3e 100644 --- a/service/ec2/api_op_CreateVpnGateway.go +++ b/service/ec2/api_op_CreateVpnGateway.go @@ -43,7 +43,7 @@ type CreateVpnGatewayInput struct { // If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're // using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range. Default: // 64512 - AmazonSideAsn int64 + AmazonSideAsn *int64 // The Availability Zone for the virtual private gateway. AvailabilityZone *string @@ -52,7 +52,7 @@ type CreateVpnGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the virtual private gateway. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_DeleteCarrierGateway.go b/service/ec2/api_op_DeleteCarrierGateway.go index e6cf5116710..2c6cb790693 100644 --- a/service/ec2/api_op_DeleteCarrierGateway.go +++ b/service/ec2/api_op_DeleteCarrierGateway.go @@ -41,7 +41,7 @@ type DeleteCarrierGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteCarrierGatewayOutput struct { diff --git a/service/ec2/api_op_DeleteClientVpnEndpoint.go b/service/ec2/api_op_DeleteClientVpnEndpoint.go index a1e9b2186a6..cc71e5886b1 100644 --- a/service/ec2/api_op_DeleteClientVpnEndpoint.go +++ b/service/ec2/api_op_DeleteClientVpnEndpoint.go @@ -39,7 +39,7 @@ type DeleteClientVpnEndpointInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteClientVpnEndpointOutput struct { diff --git a/service/ec2/api_op_DeleteClientVpnRoute.go b/service/ec2/api_op_DeleteClientVpnRoute.go index 66671540849..9fa98798f9b 100644 --- a/service/ec2/api_op_DeleteClientVpnRoute.go +++ b/service/ec2/api_op_DeleteClientVpnRoute.go @@ -47,7 +47,7 @@ type DeleteClientVpnRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the target subnet used by the route. TargetVpcSubnetId *string diff --git a/service/ec2/api_op_DeleteCustomerGateway.go b/service/ec2/api_op_DeleteCustomerGateway.go index 33734a5b80d..f99bf74b4d1 100644 --- a/service/ec2/api_op_DeleteCustomerGateway.go +++ b/service/ec2/api_op_DeleteCustomerGateway.go @@ -39,7 +39,7 @@ type DeleteCustomerGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteCustomerGatewayOutput struct { diff --git a/service/ec2/api_op_DeleteDhcpOptions.go b/service/ec2/api_op_DeleteDhcpOptions.go index c59abd57fc2..f9081cc038c 100644 --- a/service/ec2/api_op_DeleteDhcpOptions.go +++ b/service/ec2/api_op_DeleteDhcpOptions.go @@ -40,7 +40,7 @@ type DeleteDhcpOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteDhcpOptionsOutput struct { diff --git a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go index 1f8e859be3a..3181f44e2a7 100644 --- a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go @@ -37,13 +37,13 @@ type DeleteEgressOnlyInternetGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteEgressOnlyInternetGatewayOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - ReturnCode bool + ReturnCode *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DeleteFleets.go b/service/ec2/api_op_DeleteFleets.go index 4962e24d65f..1dc6d093c27 100644 --- a/service/ec2/api_op_DeleteFleets.go +++ b/service/ec2/api_op_DeleteFleets.go @@ -62,13 +62,13 @@ type DeleteFleetsInput struct { // supported. // // This member is required. - TerminateInstances bool + TerminateInstances *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteFleetsOutput struct { diff --git a/service/ec2/api_op_DeleteFlowLogs.go b/service/ec2/api_op_DeleteFlowLogs.go index b1849b7ddd4..ca5703b7763 100644 --- a/service/ec2/api_op_DeleteFlowLogs.go +++ b/service/ec2/api_op_DeleteFlowLogs.go @@ -38,7 +38,7 @@ type DeleteFlowLogsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteFlowLogsOutput struct { diff --git a/service/ec2/api_op_DeleteFpgaImage.go b/service/ec2/api_op_DeleteFpgaImage.go index 8f0fa919654..1d851ac167e 100644 --- a/service/ec2/api_op_DeleteFpgaImage.go +++ b/service/ec2/api_op_DeleteFpgaImage.go @@ -37,13 +37,13 @@ type DeleteFpgaImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteFpgaImageOutput struct { // Is true if the request succeeds, and an error otherwise. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DeleteInternetGateway.go b/service/ec2/api_op_DeleteInternetGateway.go index 9e83d8ad54a..761ba55cfe5 100644 --- a/service/ec2/api_op_DeleteInternetGateway.go +++ b/service/ec2/api_op_DeleteInternetGateway.go @@ -38,7 +38,7 @@ type DeleteInternetGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteInternetGatewayOutput struct { diff --git a/service/ec2/api_op_DeleteKeyPair.go b/service/ec2/api_op_DeleteKeyPair.go index 19264239171..95a359fd145 100644 --- a/service/ec2/api_op_DeleteKeyPair.go +++ b/service/ec2/api_op_DeleteKeyPair.go @@ -32,7 +32,7 @@ type DeleteKeyPairInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The name of the key pair. KeyName *string diff --git a/service/ec2/api_op_DeleteLaunchTemplate.go b/service/ec2/api_op_DeleteLaunchTemplate.go index 112c24c8071..4e5f047c071 100644 --- a/service/ec2/api_op_DeleteLaunchTemplate.go +++ b/service/ec2/api_op_DeleteLaunchTemplate.go @@ -34,7 +34,7 @@ type DeleteLaunchTemplateInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the launch template. You must specify either the launch template ID or // launch template name in the request. diff --git a/service/ec2/api_op_DeleteLaunchTemplateVersions.go b/service/ec2/api_op_DeleteLaunchTemplateVersions.go index 1dc4c1337e2..297cf63f4a6 100644 --- a/service/ec2/api_op_DeleteLaunchTemplateVersions.go +++ b/service/ec2/api_op_DeleteLaunchTemplateVersions.go @@ -41,7 +41,7 @@ type DeleteLaunchTemplateVersionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the launch template. You must specify either the launch template ID or // launch template name in the request. diff --git a/service/ec2/api_op_DeleteLocalGatewayRoute.go b/service/ec2/api_op_DeleteLocalGatewayRoute.go index 2eb48442560..65ef8faa39d 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRoute.go +++ b/service/ec2/api_op_DeleteLocalGatewayRoute.go @@ -43,7 +43,7 @@ type DeleteLocalGatewayRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteLocalGatewayRouteOutput struct { diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go index 2961e90fd22..0929f97b554 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go @@ -38,7 +38,7 @@ type DeleteLocalGatewayRouteTableVpcAssociationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteLocalGatewayRouteTableVpcAssociationOutput struct { diff --git a/service/ec2/api_op_DeleteManagedPrefixList.go b/service/ec2/api_op_DeleteManagedPrefixList.go index 38f4f43d91f..87af37517fb 100644 --- a/service/ec2/api_op_DeleteManagedPrefixList.go +++ b/service/ec2/api_op_DeleteManagedPrefixList.go @@ -39,7 +39,7 @@ type DeleteManagedPrefixListInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteManagedPrefixListOutput struct { diff --git a/service/ec2/api_op_DeleteNatGateway.go b/service/ec2/api_op_DeleteNatGateway.go index b00161a8979..21a9284420d 100644 --- a/service/ec2/api_op_DeleteNatGateway.go +++ b/service/ec2/api_op_DeleteNatGateway.go @@ -39,7 +39,7 @@ type DeleteNatGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteNatGatewayOutput struct { diff --git a/service/ec2/api_op_DeleteNetworkAcl.go b/service/ec2/api_op_DeleteNetworkAcl.go index 4aa7e4433e0..769f5856c5c 100644 --- a/service/ec2/api_op_DeleteNetworkAcl.go +++ b/service/ec2/api_op_DeleteNetworkAcl.go @@ -38,7 +38,7 @@ type DeleteNetworkAclInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteNetworkAclOutput struct { diff --git a/service/ec2/api_op_DeleteNetworkAclEntry.go b/service/ec2/api_op_DeleteNetworkAclEntry.go index b176b9c43d3..fb46a325cb3 100644 --- a/service/ec2/api_op_DeleteNetworkAclEntry.go +++ b/service/ec2/api_op_DeleteNetworkAclEntry.go @@ -32,7 +32,7 @@ type DeleteNetworkAclEntryInput struct { // Indicates whether the rule is an egress rule. // // This member is required. - Egress bool + Egress *bool // The ID of the network ACL. // @@ -42,13 +42,13 @@ type DeleteNetworkAclEntryInput struct { // The rule number of the entry to delete. // // This member is required. - RuleNumber int32 + RuleNumber *int32 // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteNetworkAclEntryOutput struct { diff --git a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go index 867bc0a1e36..453a0f05f32 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go @@ -37,7 +37,7 @@ type DeleteNetworkInsightsAnalysisInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteNetworkInsightsAnalysisOutput struct { diff --git a/service/ec2/api_op_DeleteNetworkInsightsPath.go b/service/ec2/api_op_DeleteNetworkInsightsPath.go index dacdbfc8436..45706e7ccde 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsPath.go +++ b/service/ec2/api_op_DeleteNetworkInsightsPath.go @@ -37,7 +37,7 @@ type DeleteNetworkInsightsPathInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteNetworkInsightsPathOutput struct { diff --git a/service/ec2/api_op_DeleteNetworkInterface.go b/service/ec2/api_op_DeleteNetworkInterface.go index aafb66bc2b7..70a7c8bded0 100644 --- a/service/ec2/api_op_DeleteNetworkInterface.go +++ b/service/ec2/api_op_DeleteNetworkInterface.go @@ -39,7 +39,7 @@ type DeleteNetworkInterfaceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteNetworkInterfaceOutput struct { diff --git a/service/ec2/api_op_DeleteNetworkInterfacePermission.go b/service/ec2/api_op_DeleteNetworkInterfacePermission.go index 3f24c77929c..45a343fc554 100644 --- a/service/ec2/api_op_DeleteNetworkInterfacePermission.go +++ b/service/ec2/api_op_DeleteNetworkInterfacePermission.go @@ -41,18 +41,18 @@ type DeleteNetworkInterfacePermissionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specify true to remove the permission even if the network interface is attached // to an instance. - Force bool + Force *bool } // Contains the output for DeleteNetworkInterfacePermission. type DeleteNetworkInterfacePermissionOutput struct { // Returns true if the request succeeds, otherwise returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DeletePlacementGroup.go b/service/ec2/api_op_DeletePlacementGroup.go index 749d3bb0d31..d8ea57e7398 100644 --- a/service/ec2/api_op_DeletePlacementGroup.go +++ b/service/ec2/api_op_DeletePlacementGroup.go @@ -41,7 +41,7 @@ type DeletePlacementGroupInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeletePlacementGroupOutput struct { diff --git a/service/ec2/api_op_DeleteQueuedReservedInstances.go b/service/ec2/api_op_DeleteQueuedReservedInstances.go index 2e3b87d9083..a11571332e1 100644 --- a/service/ec2/api_op_DeleteQueuedReservedInstances.go +++ b/service/ec2/api_op_DeleteQueuedReservedInstances.go @@ -38,7 +38,7 @@ type DeleteQueuedReservedInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteQueuedReservedInstancesOutput struct { diff --git a/service/ec2/api_op_DeleteRoute.go b/service/ec2/api_op_DeleteRoute.go index c4018b15419..5c53a0e12c6 100644 --- a/service/ec2/api_op_DeleteRoute.go +++ b/service/ec2/api_op_DeleteRoute.go @@ -48,7 +48,7 @@ type DeleteRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteRouteOutput struct { diff --git a/service/ec2/api_op_DeleteRouteTable.go b/service/ec2/api_op_DeleteRouteTable.go index 4e576629da6..1f8d2ed3e96 100644 --- a/service/ec2/api_op_DeleteRouteTable.go +++ b/service/ec2/api_op_DeleteRouteTable.go @@ -38,7 +38,7 @@ type DeleteRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteRouteTableOutput struct { diff --git a/service/ec2/api_op_DeleteSecurityGroup.go b/service/ec2/api_op_DeleteSecurityGroup.go index 992115ec194..7c06fe3906a 100644 --- a/service/ec2/api_op_DeleteSecurityGroup.go +++ b/service/ec2/api_op_DeleteSecurityGroup.go @@ -35,7 +35,7 @@ type DeleteSecurityGroupInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the security group. Required for a nondefault VPC. GroupId *string diff --git a/service/ec2/api_op_DeleteSnapshot.go b/service/ec2/api_op_DeleteSnapshot.go index dc31407884f..9b79c6740df 100644 --- a/service/ec2/api_op_DeleteSnapshot.go +++ b/service/ec2/api_op_DeleteSnapshot.go @@ -47,7 +47,7 @@ type DeleteSnapshotInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteSnapshotOutput struct { diff --git a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go index 25e204a34ed..63c3184defb 100644 --- a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go @@ -33,7 +33,7 @@ type DeleteSpotDatafeedSubscriptionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteSpotDatafeedSubscriptionOutput struct { diff --git a/service/ec2/api_op_DeleteSubnet.go b/service/ec2/api_op_DeleteSubnet.go index b5523b2aea0..fb4c4f79220 100644 --- a/service/ec2/api_op_DeleteSubnet.go +++ b/service/ec2/api_op_DeleteSubnet.go @@ -38,7 +38,7 @@ type DeleteSubnetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteSubnetOutput struct { diff --git a/service/ec2/api_op_DeleteTags.go b/service/ec2/api_op_DeleteTags.go index d2ab70e46e0..180bdd82407 100644 --- a/service/ec2/api_op_DeleteTags.go +++ b/service/ec2/api_op_DeleteTags.go @@ -43,7 +43,7 @@ type DeleteTagsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to delete. Specify a tag key and an optional tag value to delete // specific tags. If you specify a tag key without a tag value, we delete any tag diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilter.go b/service/ec2/api_op_DeleteTrafficMirrorFilter.go index 87b2b94bf1e..6c33a9203b1 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilter.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilter.go @@ -38,7 +38,7 @@ type DeleteTrafficMirrorFilterInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTrafficMirrorFilterOutput struct { diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go index cbba09c2042..eb4f4b47efb 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go @@ -37,7 +37,7 @@ type DeleteTrafficMirrorFilterRuleInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTrafficMirrorFilterRuleOutput struct { diff --git a/service/ec2/api_op_DeleteTrafficMirrorSession.go b/service/ec2/api_op_DeleteTrafficMirrorSession.go index 9e4d62831a9..8c1925f1ffe 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorSession.go +++ b/service/ec2/api_op_DeleteTrafficMirrorSession.go @@ -37,7 +37,7 @@ type DeleteTrafficMirrorSessionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTrafficMirrorSessionOutput struct { diff --git a/service/ec2/api_op_DeleteTrafficMirrorTarget.go b/service/ec2/api_op_DeleteTrafficMirrorTarget.go index 9a282de7153..9473ac79ddb 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorTarget.go +++ b/service/ec2/api_op_DeleteTrafficMirrorTarget.go @@ -38,7 +38,7 @@ type DeleteTrafficMirrorTargetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTrafficMirrorTargetOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGateway.go b/service/ec2/api_op_DeleteTransitGateway.go index c5ac368ea66..fed068cf5e2 100644 --- a/service/ec2/api_op_DeleteTransitGateway.go +++ b/service/ec2/api_op_DeleteTransitGateway.go @@ -38,7 +38,7 @@ type DeleteTransitGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayConnect.go b/service/ec2/api_op_DeleteTransitGatewayConnect.go index f92294d738d..b950c10ccca 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnect.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnect.go @@ -39,7 +39,7 @@ type DeleteTransitGatewayConnectInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayConnectOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go index 2b3e1cb2175..8872a5c4521 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go @@ -38,7 +38,7 @@ type DeleteTransitGatewayConnectPeerInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayConnectPeerOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go index 8dcf5bcd884..1dfc4481291 100644 --- a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go @@ -38,7 +38,7 @@ type DeleteTransitGatewayMulticastDomainInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayMulticastDomainOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go index d249cea4ae0..5dcbc8cbb3c 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go @@ -38,7 +38,7 @@ type DeleteTransitGatewayPeeringAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayPeeringAttachmentOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go index 0a01affca1d..92d37b83662 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go @@ -44,7 +44,7 @@ type DeleteTransitGatewayPrefixListReferenceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayPrefixListReferenceOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayRoute.go b/service/ec2/api_op_DeleteTransitGatewayRoute.go index bf41f3c4b9a..55d0ce30b4e 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRoute.go +++ b/service/ec2/api_op_DeleteTransitGatewayRoute.go @@ -43,7 +43,7 @@ type DeleteTransitGatewayRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayRouteOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go index fb7ddd0095d..0e4aff0485a 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go @@ -39,7 +39,7 @@ type DeleteTransitGatewayRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayRouteTableOutput struct { diff --git a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go index 8b1ef6811fc..295c3aa6833 100644 --- a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go @@ -38,7 +38,7 @@ type DeleteTransitGatewayVpcAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteTransitGatewayVpcAttachmentOutput struct { diff --git a/service/ec2/api_op_DeleteVolume.go b/service/ec2/api_op_DeleteVolume.go index 42d9e9bde27..f2cfcbdffc9 100644 --- a/service/ec2/api_op_DeleteVolume.go +++ b/service/ec2/api_op_DeleteVolume.go @@ -41,7 +41,7 @@ type DeleteVolumeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVolumeOutput struct { diff --git a/service/ec2/api_op_DeleteVpc.go b/service/ec2/api_op_DeleteVpc.go index 5e59e8c4b86..5061285875e 100644 --- a/service/ec2/api_op_DeleteVpc.go +++ b/service/ec2/api_op_DeleteVpc.go @@ -41,7 +41,7 @@ type DeleteVpcInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVpcOutput struct { diff --git a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go index 409322fe9f0..fe2ed3692b2 100644 --- a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go @@ -38,7 +38,7 @@ type DeleteVpcEndpointConnectionNotificationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVpcEndpointConnectionNotificationsOutput struct { diff --git a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go index a06492a228f..424fccdf9f0 100644 --- a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go @@ -41,7 +41,7 @@ type DeleteVpcEndpointServiceConfigurationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVpcEndpointServiceConfigurationsOutput struct { diff --git a/service/ec2/api_op_DeleteVpcEndpoints.go b/service/ec2/api_op_DeleteVpcEndpoints.go index 52900f85828..0d432712eba 100644 --- a/service/ec2/api_op_DeleteVpcEndpoints.go +++ b/service/ec2/api_op_DeleteVpcEndpoints.go @@ -61,7 +61,7 @@ type DeleteVpcEndpointsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of DeleteVpcEndpoints. diff --git a/service/ec2/api_op_DeleteVpcPeeringConnection.go b/service/ec2/api_op_DeleteVpcPeeringConnection.go index e074494c729..9e9428d2f4a 100644 --- a/service/ec2/api_op_DeleteVpcPeeringConnection.go +++ b/service/ec2/api_op_DeleteVpcPeeringConnection.go @@ -41,13 +41,13 @@ type DeleteVpcPeeringConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVpcPeeringConnectionOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DeleteVpnConnection.go b/service/ec2/api_op_DeleteVpnConnection.go index 3d518c8a8b7..13dbb2c99b8 100644 --- a/service/ec2/api_op_DeleteVpnConnection.go +++ b/service/ec2/api_op_DeleteVpnConnection.go @@ -48,7 +48,7 @@ type DeleteVpnConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVpnConnectionOutput struct { diff --git a/service/ec2/api_op_DeleteVpnGateway.go b/service/ec2/api_op_DeleteVpnGateway.go index 5aba37c2a3d..e7b76d740fb 100644 --- a/service/ec2/api_op_DeleteVpnGateway.go +++ b/service/ec2/api_op_DeleteVpnGateway.go @@ -41,7 +41,7 @@ type DeleteVpnGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeleteVpnGatewayOutput struct { diff --git a/service/ec2/api_op_DeprovisionByoipCidr.go b/service/ec2/api_op_DeprovisionByoipCidr.go index c6336fb663a..0588c482149 100644 --- a/service/ec2/api_op_DeprovisionByoipCidr.go +++ b/service/ec2/api_op_DeprovisionByoipCidr.go @@ -43,7 +43,7 @@ type DeprovisionByoipCidrInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeprovisionByoipCidrOutput struct { diff --git a/service/ec2/api_op_DeregisterImage.go b/service/ec2/api_op_DeregisterImage.go index ebf86a17a35..c1e031d81a1 100644 --- a/service/ec2/api_op_DeregisterImage.go +++ b/service/ec2/api_op_DeregisterImage.go @@ -45,7 +45,7 @@ type DeregisterImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DeregisterImageOutput struct { diff --git a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go index 879de9bc475..7d741fca29c 100644 --- a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go @@ -34,7 +34,7 @@ type DeregisterInstanceEventNotificationAttributesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Information about the tag keys to deregister. InstanceTagAttribute *types.DeregisterInstanceTagAttributeRequest diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go index b66f8a629ed..784d5e65795 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go @@ -34,7 +34,7 @@ type DeregisterTransitGatewayMulticastGroupMembersInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IP address assigned to the transit gateway multicast group. GroupIpAddress *string diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go index 378d526d835..9227fcf0a94 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go @@ -34,7 +34,7 @@ type DeregisterTransitGatewayMulticastGroupSourcesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IP address assigned to the transit gateway multicast group. GroupIpAddress *string diff --git a/service/ec2/api_op_DescribeAccountAttributes.go b/service/ec2/api_op_DescribeAccountAttributes.go index 164f81fed6e..aba655cd123 100644 --- a/service/ec2/api_op_DescribeAccountAttributes.go +++ b/service/ec2/api_op_DescribeAccountAttributes.go @@ -61,7 +61,7 @@ type DescribeAccountAttributesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeAccountAttributesOutput struct { diff --git a/service/ec2/api_op_DescribeAddresses.go b/service/ec2/api_op_DescribeAddresses.go index fb312f49232..ebd805abfb4 100644 --- a/service/ec2/api_op_DescribeAddresses.go +++ b/service/ec2/api_op_DescribeAddresses.go @@ -40,7 +40,7 @@ type DescribeAddressesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // diff --git a/service/ec2/api_op_DescribeAddressesAttribute.go b/service/ec2/api_op_DescribeAddressesAttribute.go index b9e3438bd8c..7f38b247ba9 100644 --- a/service/ec2/api_op_DescribeAddressesAttribute.go +++ b/service/ec2/api_op_DescribeAddressesAttribute.go @@ -42,11 +42,11 @@ type DescribeAddressesAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -163,8 +163,8 @@ func NewDescribeAddressesAttributePaginator(client DescribeAddressesAttributeAPI } options := DescribeAddressesAttributePaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -193,7 +193,11 @@ func (p *DescribeAddressesAttributePaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeAddressesAttribute(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeAggregateIdFormat.go b/service/ec2/api_op_DescribeAggregateIdFormat.go index ed04dc3da14..e81b963064e 100644 --- a/service/ec2/api_op_DescribeAggregateIdFormat.go +++ b/service/ec2/api_op_DescribeAggregateIdFormat.go @@ -44,7 +44,7 @@ type DescribeAggregateIdFormatInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeAggregateIdFormatOutput struct { @@ -55,7 +55,7 @@ type DescribeAggregateIdFormatOutput struct { // Indicates whether all resource types in the Region are configured to use longer // IDs. This value is only true if all users are configured to use longer IDs for // all resources types in the Region. - UseLongIdsAggregated bool + UseLongIdsAggregated *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DescribeAvailabilityZones.go b/service/ec2/api_op_DescribeAvailabilityZones.go index ae51584a149..9e5c378f9b9 100644 --- a/service/ec2/api_op_DescribeAvailabilityZones.go +++ b/service/ec2/api_op_DescribeAvailabilityZones.go @@ -38,13 +38,13 @@ type DescribeAvailabilityZonesInput struct { // Include all Availability Zones, Local Zones, and Wavelength Zones regardless of // your opt-in status. If you do not use this parameter, the results include only // the zones for the Regions where you have chosen the option to opt in. - AllAvailabilityZones bool + AllAvailabilityZones *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // diff --git a/service/ec2/api_op_DescribeBundleTasks.go b/service/ec2/api_op_DescribeBundleTasks.go index 6d24a9d0dfe..74e236ce7cd 100644 --- a/service/ec2/api_op_DescribeBundleTasks.go +++ b/service/ec2/api_op_DescribeBundleTasks.go @@ -45,7 +45,7 @@ type DescribeBundleTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // diff --git a/service/ec2/api_op_DescribeByoipCidrs.go b/service/ec2/api_op_DescribeByoipCidrs.go index a444057671a..ece19ef7941 100644 --- a/service/ec2/api_op_DescribeByoipCidrs.go +++ b/service/ec2/api_op_DescribeByoipCidrs.go @@ -37,13 +37,13 @@ type DescribeByoipCidrsInput struct { // remaining results, make another call with the returned nextToken value. // // This member is required. - MaxResults int32 + MaxResults *int32 // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The token for the next page of results. NextToken *string @@ -161,8 +161,8 @@ func NewDescribeByoipCidrsPaginator(client DescribeByoipCidrsAPIClient, params * } options := DescribeByoipCidrsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -191,7 +191,11 @@ func (p *DescribeByoipCidrsPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeByoipCidrs(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeCapacityReservations.go b/service/ec2/api_op_DescribeCapacityReservations.go index d6b1f3a3b52..5a5fa7845fb 100644 --- a/service/ec2/api_op_DescribeCapacityReservations.go +++ b/service/ec2/api_op_DescribeCapacityReservations.go @@ -38,7 +38,7 @@ type DescribeCapacityReservationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -129,7 +129,7 @@ type DescribeCapacityReservationsInput struct { // remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given a // larger value than 500, you receive an error. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next page of results. NextToken *string @@ -248,8 +248,8 @@ func NewDescribeCapacityReservationsPaginator(client DescribeCapacityReservation } options := DescribeCapacityReservationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -278,7 +278,11 @@ func (p *DescribeCapacityReservationsPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeCapacityReservations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeCarrierGateways.go b/service/ec2/api_op_DescribeCarrierGateways.go index 0a2b7799bb3..e7b826e1527 100644 --- a/service/ec2/api_op_DescribeCarrierGateways.go +++ b/service/ec2/api_op_DescribeCarrierGateways.go @@ -37,7 +37,7 @@ type DescribeCarrierGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -65,7 +65,7 @@ type DescribeCarrierGatewaysInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -181,8 +181,8 @@ func NewDescribeCarrierGatewaysPaginator(client DescribeCarrierGatewaysAPIClient } options := DescribeCarrierGatewaysPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -211,7 +211,11 @@ func (p *DescribeCarrierGatewaysPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeCarrierGateways(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeClassicLinkInstances.go b/service/ec2/api_op_DescribeClassicLinkInstances.go index f3ad0b790a7..df9ba144a27 100644 --- a/service/ec2/api_op_DescribeClassicLinkInstances.go +++ b/service/ec2/api_op_DescribeClassicLinkInstances.go @@ -37,7 +37,7 @@ type DescribeClassicLinkInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -67,7 +67,7 @@ type DescribeClassicLinkInstancesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. // Constraint: If the value is greater than 1000, we return only 1000 items. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -185,8 +185,8 @@ func NewDescribeClassicLinkInstancesPaginator(client DescribeClassicLinkInstance } options := DescribeClassicLinkInstancesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *DescribeClassicLinkInstancesPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeClassicLinkInstances(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go index 00725f0eb94..538398ad19a 100644 --- a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go +++ b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go @@ -39,7 +39,7 @@ type DescribeClientVpnAuthorizationRulesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // @@ -56,7 +56,7 @@ type DescribeClientVpnAuthorizationRulesInput struct { // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the nextToken // value. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -177,8 +177,8 @@ func NewDescribeClientVpnAuthorizationRulesPaginator(client DescribeClientVpnAut } options := DescribeClientVpnAuthorizationRulesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -207,7 +207,11 @@ func (p *DescribeClientVpnAuthorizationRulesPaginator) NextPage(ctx context.Cont params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeClientVpnAuthorizationRules(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnConnections.go b/service/ec2/api_op_DescribeClientVpnConnections.go index 389cea14511..a6c574160b9 100644 --- a/service/ec2/api_op_DescribeClientVpnConnections.go +++ b/service/ec2/api_op_DescribeClientVpnConnections.go @@ -40,7 +40,7 @@ type DescribeClientVpnConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // @@ -55,7 +55,7 @@ type DescribeClientVpnConnectionsInput struct { // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the nextToken // value. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewDescribeClientVpnConnectionsPaginator(client DescribeClientVpnConnection } options := DescribeClientVpnConnectionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *DescribeClientVpnConnectionsPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeClientVpnConnections(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnEndpoints.go b/service/ec2/api_op_DescribeClientVpnEndpoints.go index 155d697fc5c..b3077978512 100644 --- a/service/ec2/api_op_DescribeClientVpnEndpoints.go +++ b/service/ec2/api_op_DescribeClientVpnEndpoints.go @@ -37,7 +37,7 @@ type DescribeClientVpnEndpointsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // @@ -51,7 +51,7 @@ type DescribeClientVpnEndpointsInput struct { // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the nextToken // value. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -169,8 +169,8 @@ func NewDescribeClientVpnEndpointsPaginator(client DescribeClientVpnEndpointsAPI } options := DescribeClientVpnEndpointsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -199,7 +199,11 @@ func (p *DescribeClientVpnEndpointsPaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeClientVpnEndpoints(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnRoutes.go b/service/ec2/api_op_DescribeClientVpnRoutes.go index 892b088ceae..e549929d467 100644 --- a/service/ec2/api_op_DescribeClientVpnRoutes.go +++ b/service/ec2/api_op_DescribeClientVpnRoutes.go @@ -39,7 +39,7 @@ type DescribeClientVpnRoutesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // @@ -56,7 +56,7 @@ type DescribeClientVpnRoutesInput struct { // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the nextToken // value. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewDescribeClientVpnRoutesPaginator(client DescribeClientVpnRoutesAPIClient } options := DescribeClientVpnRoutesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *DescribeClientVpnRoutesPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeClientVpnRoutes(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go index 3b8e38fbcef..16d17939242 100644 --- a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go +++ b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go @@ -42,7 +42,7 @@ type DescribeClientVpnTargetNetworksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // @@ -59,7 +59,7 @@ type DescribeClientVpnTargetNetworksInput struct { // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the nextToken // value. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -180,8 +180,8 @@ func NewDescribeClientVpnTargetNetworksPaginator(client DescribeClientVpnTargetN } options := DescribeClientVpnTargetNetworksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *DescribeClientVpnTargetNetworksPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeClientVpnTargetNetworks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeCoipPools.go b/service/ec2/api_op_DescribeCoipPools.go index 02a16de133d..3346b84f019 100644 --- a/service/ec2/api_op_DescribeCoipPools.go +++ b/service/ec2/api_op_DescribeCoipPools.go @@ -35,7 +35,7 @@ type DescribeCoipPoolsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. The following are the possible values: // @@ -47,7 +47,7 @@ type DescribeCoipPoolsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -164,8 +164,8 @@ func NewDescribeCoipPoolsPaginator(client DescribeCoipPoolsAPIClient, params *De } options := DescribeCoipPoolsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -194,7 +194,11 @@ func (p *DescribeCoipPoolsPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeCoipPools(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeConversionTasks.go b/service/ec2/api_op_DescribeConversionTasks.go index 5012541dbab..11025635ef5 100644 --- a/service/ec2/api_op_DescribeConversionTasks.go +++ b/service/ec2/api_op_DescribeConversionTasks.go @@ -45,7 +45,7 @@ type DescribeConversionTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeConversionTasksOutput struct { diff --git a/service/ec2/api_op_DescribeCustomerGateways.go b/service/ec2/api_op_DescribeCustomerGateways.go index d68e28be846..dd53d7e35a3 100644 --- a/service/ec2/api_op_DescribeCustomerGateways.go +++ b/service/ec2/api_op_DescribeCustomerGateways.go @@ -45,7 +45,7 @@ type DescribeCustomerGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // diff --git a/service/ec2/api_op_DescribeDhcpOptions.go b/service/ec2/api_op_DescribeDhcpOptions.go index f28a0b4a562..39280b2c5e0 100644 --- a/service/ec2/api_op_DescribeDhcpOptions.go +++ b/service/ec2/api_op_DescribeDhcpOptions.go @@ -41,7 +41,7 @@ type DescribeDhcpOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -69,7 +69,7 @@ type DescribeDhcpOptionsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -184,8 +184,8 @@ func NewDescribeDhcpOptionsPaginator(client DescribeDhcpOptionsAPIClient, params } options := DescribeDhcpOptionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -214,7 +214,11 @@ func (p *DescribeDhcpOptionsPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeDhcpOptions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go index 21a0bf606b6..fa7d5c08c71 100644 --- a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go +++ b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go @@ -34,7 +34,7 @@ type DescribeEgressOnlyInternetGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more egress-only internet gateway IDs. EgressOnlyInternetGatewayIds []string @@ -54,7 +54,7 @@ type DescribeEgressOnlyInternetGatewaysInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -171,8 +171,8 @@ func NewDescribeEgressOnlyInternetGatewaysPaginator(client DescribeEgressOnlyInt } options := DescribeEgressOnlyInternetGatewaysPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *DescribeEgressOnlyInternetGatewaysPaginator) NextPage(ctx context.Conte params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeEgressOnlyInternetGateways(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeElasticGpus.go b/service/ec2/api_op_DescribeElasticGpus.go index f9b6ae30014..17a9e949b93 100644 --- a/service/ec2/api_op_DescribeElasticGpus.go +++ b/service/ec2/api_op_DescribeElasticGpus.go @@ -35,7 +35,7 @@ type DescribeElasticGpusInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Elastic Graphics accelerator IDs. ElasticGpuIds []string @@ -61,7 +61,7 @@ type DescribeElasticGpusInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -75,7 +75,7 @@ type DescribeElasticGpusOutput struct { // The total number of items to return. If the total number of items available is // more than the value specified in max-items then a Next-Token will be provided in // the output that you can use to resume pagination. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. diff --git a/service/ec2/api_op_DescribeExportImageTasks.go b/service/ec2/api_op_DescribeExportImageTasks.go index c6eafb73703..31b8c92c75f 100644 --- a/service/ec2/api_op_DescribeExportImageTasks.go +++ b/service/ec2/api_op_DescribeExportImageTasks.go @@ -34,7 +34,7 @@ type DescribeExportImageTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of the export image tasks. ExportImageTaskIds []string @@ -44,7 +44,7 @@ type DescribeExportImageTasksInput struct { Filters []types.Filter // The maximum number of results to return in a single call. - MaxResults int32 + MaxResults *int32 // A token that indicates the next page of results. NextToken *string @@ -159,8 +159,8 @@ func NewDescribeExportImageTasksPaginator(client DescribeExportImageTasksAPIClie } options := DescribeExportImageTasksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -189,7 +189,11 @@ func (p *DescribeExportImageTasksPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeExportImageTasks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeFastSnapshotRestores.go b/service/ec2/api_op_DescribeFastSnapshotRestores.go index 301dc12ffbe..d1cb55a3578 100644 --- a/service/ec2/api_op_DescribeFastSnapshotRestores.go +++ b/service/ec2/api_op_DescribeFastSnapshotRestores.go @@ -34,7 +34,7 @@ type DescribeFastSnapshotRestoresInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. The possible values are: // diff --git a/service/ec2/api_op_DescribeFleetHistory.go b/service/ec2/api_op_DescribeFleetHistory.go index 06d521f39ae..24836dc9c2d 100644 --- a/service/ec2/api_op_DescribeFleetHistory.go +++ b/service/ec2/api_op_DescribeFleetHistory.go @@ -51,7 +51,7 @@ type DescribeFleetHistoryInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The type of events to describe. By default, all events are described. EventType types.FleetEventType @@ -59,7 +59,7 @@ type DescribeFleetHistoryInput struct { // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string diff --git a/service/ec2/api_op_DescribeFleetInstances.go b/service/ec2/api_op_DescribeFleetInstances.go index 3c8556ee62e..e3f75bac58e 100644 --- a/service/ec2/api_op_DescribeFleetInstances.go +++ b/service/ec2/api_op_DescribeFleetInstances.go @@ -41,7 +41,7 @@ type DescribeFleetInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -51,7 +51,7 @@ type DescribeFleetInstancesInput struct { // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string diff --git a/service/ec2/api_op_DescribeFleets.go b/service/ec2/api_op_DescribeFleets.go index 08667e1be2e..1fd055e7fac 100644 --- a/service/ec2/api_op_DescribeFleets.go +++ b/service/ec2/api_op_DescribeFleets.go @@ -37,7 +37,7 @@ type DescribeFleetsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -66,7 +66,7 @@ type DescribeFleetsInput struct { // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string @@ -180,8 +180,8 @@ func NewDescribeFleetsPaginator(client DescribeFleetsAPIClient, params *Describe } options := DescribeFleetsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *DescribeFleetsPaginator) NextPage(ctx context.Context, optFns ...func(* params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeFleets(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeFlowLogs.go b/service/ec2/api_op_DescribeFlowLogs.go index 3d0b420bd12..bc8908a6213 100644 --- a/service/ec2/api_op_DescribeFlowLogs.go +++ b/service/ec2/api_op_DescribeFlowLogs.go @@ -36,7 +36,7 @@ type DescribeFlowLogsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -73,7 +73,7 @@ type DescribeFlowLogsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -187,8 +187,8 @@ func NewDescribeFlowLogsPaginator(client DescribeFlowLogsAPIClient, params *Desc } options := DescribeFlowLogsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -217,7 +217,11 @@ func (p *DescribeFlowLogsPaginator) NextPage(ctx context.Context, optFns ...func params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeFlowLogs(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeFpgaImageAttribute.go b/service/ec2/api_op_DescribeFpgaImageAttribute.go index d0d5408a405..9aff5103f9e 100644 --- a/service/ec2/api_op_DescribeFpgaImageAttribute.go +++ b/service/ec2/api_op_DescribeFpgaImageAttribute.go @@ -43,7 +43,7 @@ type DescribeFpgaImageAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeFpgaImageAttributeOutput struct { diff --git a/service/ec2/api_op_DescribeFpgaImages.go b/service/ec2/api_op_DescribeFpgaImages.go index e1c8a6f094a..7e1d5fdc86e 100644 --- a/service/ec2/api_op_DescribeFpgaImages.go +++ b/service/ec2/api_op_DescribeFpgaImages.go @@ -36,7 +36,7 @@ type DescribeFpgaImagesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -79,7 +79,7 @@ type DescribeFpgaImagesInput struct { FpgaImageIds []string // The maximum number of results to return in a single call. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -198,8 +198,8 @@ func NewDescribeFpgaImagesPaginator(client DescribeFpgaImagesAPIClient, params * } options := DescribeFpgaImagesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -228,7 +228,11 @@ func (p *DescribeFpgaImagesPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeFpgaImages(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeHostReservationOfferings.go b/service/ec2/api_op_DescribeHostReservationOfferings.go index ebf47c8ebf5..f9f2cd9a0a7 100644 --- a/service/ec2/api_op_DescribeHostReservationOfferings.go +++ b/service/ec2/api_op_DescribeHostReservationOfferings.go @@ -52,20 +52,20 @@ type DescribeHostReservationOfferingsInput struct { // of seconds specified must be the number of seconds in a year (365x24x60x60) // times one of the supported durations (1 or 3). For example, specify 94608000 for // three years. - MaxDuration int32 + MaxDuration *int32 // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given a // larger value than 500, you receive an error. - MaxResults int32 + MaxResults *int32 // This is the minimum duration of the reservation you'd like to purchase, // specified in seconds. Reservations are available in one-year and three-year // terms. The number of seconds specified must be the number of seconds in a year // (365x24x60x60) times one of the supported durations (1 or 3). For example, // specify 31536000 for one year. - MinDuration int32 + MinDuration *int32 // The token to use to retrieve the next page of results. NextToken *string @@ -187,8 +187,8 @@ func NewDescribeHostReservationOfferingsPaginator(client DescribeHostReservation } options := DescribeHostReservationOfferingsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -217,7 +217,11 @@ func (p *DescribeHostReservationOfferingsPaginator) NextPage(ctx context.Context params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeHostReservationOfferings(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeHostReservations.go b/service/ec2/api_op_DescribeHostReservations.go index 08f71a95b7d..bbf15b628fd 100644 --- a/service/ec2/api_op_DescribeHostReservations.go +++ b/service/ec2/api_op_DescribeHostReservations.go @@ -59,7 +59,7 @@ type DescribeHostReservationsInput struct { // remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given a // larger value than 500, you receive an error. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next page of results. NextToken *string @@ -177,8 +177,8 @@ func NewDescribeHostReservationsPaginator(client DescribeHostReservationsAPIClie } options := DescribeHostReservationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -207,7 +207,11 @@ func (p *DescribeHostReservationsPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeHostReservations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeHosts.go b/service/ec2/api_op_DescribeHosts.go index 5075b4fb70d..1142387ffe7 100644 --- a/service/ec2/api_op_DescribeHosts.go +++ b/service/ec2/api_op_DescribeHosts.go @@ -67,7 +67,7 @@ type DescribeHostsInput struct { // nextToken value. This value can be between 5 and 500. If maxResults is given a // larger value than 500, you receive an error. You cannot specify this parameter // and the host IDs parameter in the same request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next page of results. NextToken *string @@ -183,8 +183,8 @@ func NewDescribeHostsPaginator(client DescribeHostsAPIClient, params *DescribeHo } options := DescribeHostsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -213,7 +213,11 @@ func (p *DescribeHostsPaginator) NextPage(ctx context.Context, optFns ...func(*O params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeHosts(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go index d1a00491999..7bc472ad670 100644 --- a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go +++ b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go @@ -43,7 +43,7 @@ type DescribeIamInstanceProfileAssociationsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -160,8 +160,8 @@ func NewDescribeIamInstanceProfileAssociationsPaginator(client DescribeIamInstan } options := DescribeIamInstanceProfileAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -190,7 +190,11 @@ func (p *DescribeIamInstanceProfileAssociationsPaginator) NextPage(ctx context.C params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeIamInstanceProfileAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeImageAttribute.go b/service/ec2/api_op_DescribeImageAttribute.go index d2490f00b8e..ded45a567ee 100644 --- a/service/ec2/api_op_DescribeImageAttribute.go +++ b/service/ec2/api_op_DescribeImageAttribute.go @@ -47,7 +47,7 @@ type DescribeImageAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Describes an image attribute. diff --git a/service/ec2/api_op_DescribeImages.go b/service/ec2/api_op_DescribeImages.go index 88f7a5d017e..953644ca8fa 100644 --- a/service/ec2/api_op_DescribeImages.go +++ b/service/ec2/api_op_DescribeImages.go @@ -45,7 +45,7 @@ type DescribeImagesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Scopes the images by users with explicit launch permissions. Specify an AWS // account ID, self (the sender of the request), or all (public AMIs). diff --git a/service/ec2/api_op_DescribeImportImageTasks.go b/service/ec2/api_op_DescribeImportImageTasks.go index 3064129fcd2..d2ea62ba338 100644 --- a/service/ec2/api_op_DescribeImportImageTasks.go +++ b/service/ec2/api_op_DescribeImportImageTasks.go @@ -35,7 +35,7 @@ type DescribeImportImageTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Filter tasks using the task-state filter and one of the following values: // active, completed, deleting, or deleted. @@ -45,7 +45,7 @@ type DescribeImportImageTasksInput struct { ImportTaskIds []string // The maximum number of results to return in a single call. - MaxResults int32 + MaxResults *int32 // A token that indicates the next page of results. NextToken *string @@ -161,8 +161,8 @@ func NewDescribeImportImageTasksPaginator(client DescribeImportImageTasksAPIClie } options := DescribeImportImageTasksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -191,7 +191,11 @@ func (p *DescribeImportImageTasksPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeImportImageTasks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeImportSnapshotTasks.go b/service/ec2/api_op_DescribeImportSnapshotTasks.go index 8802ebc600c..4271f340004 100644 --- a/service/ec2/api_op_DescribeImportSnapshotTasks.go +++ b/service/ec2/api_op_DescribeImportSnapshotTasks.go @@ -34,7 +34,7 @@ type DescribeImportSnapshotTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. Filters []types.Filter @@ -44,7 +44,7 @@ type DescribeImportSnapshotTasksInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // A token that indicates the next page of results. NextToken *string @@ -162,8 +162,8 @@ func NewDescribeImportSnapshotTasksPaginator(client DescribeImportSnapshotTasksA } options := DescribeImportSnapshotTasksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -192,7 +192,11 @@ func (p *DescribeImportSnapshotTasksPaginator) NextPage(ctx context.Context, opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeImportSnapshotTasks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeInstanceAttribute.go b/service/ec2/api_op_DescribeInstanceAttribute.go index 571c4613ed2..0d200309b79 100644 --- a/service/ec2/api_op_DescribeInstanceAttribute.go +++ b/service/ec2/api_op_DescribeInstanceAttribute.go @@ -48,7 +48,7 @@ type DescribeInstanceAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Describes an instance attribute. diff --git a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go index 8194489deb7..bdffd375e05 100644 --- a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go +++ b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go @@ -51,7 +51,7 @@ type DescribeInstanceCreditSpecificationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -66,7 +66,7 @@ type DescribeInstanceCreditSpecificationsInput struct { // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. You cannot specify this parameter and the // instance IDs parameter in the same call. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -185,8 +185,8 @@ func NewDescribeInstanceCreditSpecificationsPaginator(client DescribeInstanceCre } options := DescribeInstanceCreditSpecificationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *DescribeInstanceCreditSpecificationsPaginator) NextPage(ctx context.Con params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeInstanceCreditSpecifications(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go index 4b3e3dfb18b..2df3565ad73 100644 --- a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go @@ -34,7 +34,7 @@ type DescribeInstanceEventNotificationAttributesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeInstanceEventNotificationAttributesOutput struct { diff --git a/service/ec2/api_op_DescribeInstanceStatus.go b/service/ec2/api_op_DescribeInstanceStatus.go index 6c2408866eb..392ae12183b 100644 --- a/service/ec2/api_op_DescribeInstanceStatus.go +++ b/service/ec2/api_op_DescribeInstanceStatus.go @@ -62,7 +62,7 @@ type DescribeInstanceStatusInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -117,7 +117,7 @@ type DescribeInstanceStatusInput struct { // When true, includes the health status for all instances. When false, includes // the health status for running instances only. Default: false - IncludeAllInstances bool + IncludeAllInstances *bool // The instance IDs. Default: Describes all your instances. Constraints: Maximum // 100 explicitly specified instance IDs. @@ -127,7 +127,7 @@ type DescribeInstanceStatusInput struct { // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. You cannot specify this parameter and the // instance IDs parameter in the same call. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -244,8 +244,8 @@ func NewDescribeInstanceStatusPaginator(client DescribeInstanceStatusAPIClient, } options := DescribeInstanceStatusPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -274,7 +274,11 @@ func (p *DescribeInstanceStatusPaginator) NextPage(ctx context.Context, optFns . params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeInstanceStatus(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeInstanceTypeOfferings.go b/service/ec2/api_op_DescribeInstanceTypeOfferings.go index 48b5d74d5b3..1fc11055d22 100644 --- a/service/ec2/api_op_DescribeInstanceTypeOfferings.go +++ b/service/ec2/api_op_DescribeInstanceTypeOfferings.go @@ -36,7 +36,7 @@ type DescribeInstanceTypeOfferingsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // diff --git a/service/ec2/api_op_DescribeInstanceTypes.go b/service/ec2/api_op_DescribeInstanceTypes.go index d6ff9cd7842..0ee5ca20c3c 100644 --- a/service/ec2/api_op_DescribeInstanceTypes.go +++ b/service/ec2/api_op_DescribeInstanceTypes.go @@ -35,7 +35,7 @@ type DescribeInstanceTypesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filter names and values are case-sensitive. // diff --git a/service/ec2/api_op_DescribeInstances.go b/service/ec2/api_op_DescribeInstances.go index 9444af0ed37..7d149d4cd71 100644 --- a/service/ec2/api_op_DescribeInstances.go +++ b/service/ec2/api_op_DescribeInstances.go @@ -51,7 +51,7 @@ type DescribeInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -367,7 +367,7 @@ type DescribeInstancesInput struct { // remaining results, make another call with the returned NextToken value. This // value can be between 5 and 1000. You cannot specify this parameter and the // instance IDs parameter in the same call. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -483,8 +483,8 @@ func NewDescribeInstancesPaginator(client DescribeInstancesAPIClient, params *De } options := DescribeInstancesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -513,7 +513,11 @@ func (p *DescribeInstancesPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeInstances(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeInternetGateways.go b/service/ec2/api_op_DescribeInternetGateways.go index 1b39a9ccf79..b7d441da56a 100644 --- a/service/ec2/api_op_DescribeInternetGateways.go +++ b/service/ec2/api_op_DescribeInternetGateways.go @@ -34,7 +34,7 @@ type DescribeInternetGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -66,7 +66,7 @@ type DescribeInternetGatewaysInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -182,8 +182,8 @@ func NewDescribeInternetGatewaysPaginator(client DescribeInternetGatewaysAPIClie } options := DescribeInternetGatewaysPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -212,7 +212,11 @@ func (p *DescribeInternetGatewaysPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeInternetGateways(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeIpv6Pools.go b/service/ec2/api_op_DescribeIpv6Pools.go index 7c87880bcf3..6e16ab1de53 100644 --- a/service/ec2/api_op_DescribeIpv6Pools.go +++ b/service/ec2/api_op_DescribeIpv6Pools.go @@ -34,7 +34,7 @@ type DescribeIpv6PoolsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -51,7 +51,7 @@ type DescribeIpv6PoolsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -168,8 +168,8 @@ func NewDescribeIpv6PoolsPaginator(client DescribeIpv6PoolsAPIClient, params *De } options := DescribeIpv6PoolsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -198,7 +198,11 @@ func (p *DescribeIpv6PoolsPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeIpv6Pools(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeKeyPairs.go b/service/ec2/api_op_DescribeKeyPairs.go index 969000acf98..a1954262d25 100644 --- a/service/ec2/api_op_DescribeKeyPairs.go +++ b/service/ec2/api_op_DescribeKeyPairs.go @@ -36,7 +36,7 @@ type DescribeKeyPairsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // diff --git a/service/ec2/api_op_DescribeLaunchTemplateVersions.go b/service/ec2/api_op_DescribeLaunchTemplateVersions.go index 82cfdff9ed3..6cf5c00b2e8 100644 --- a/service/ec2/api_op_DescribeLaunchTemplateVersions.go +++ b/service/ec2/api_op_DescribeLaunchTemplateVersions.go @@ -37,7 +37,7 @@ type DescribeLaunchTemplateVersionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -79,7 +79,7 @@ type DescribeLaunchTemplateVersionsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 1 and 200. - MaxResults int32 + MaxResults *int32 // The version number up to which to describe launch template versions. MaxVersion *string @@ -213,8 +213,8 @@ func NewDescribeLaunchTemplateVersionsPaginator(client DescribeLaunchTemplateVer } options := DescribeLaunchTemplateVersionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -243,7 +243,11 @@ func (p *DescribeLaunchTemplateVersionsPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLaunchTemplateVersions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLaunchTemplates.go b/service/ec2/api_op_DescribeLaunchTemplates.go index 4af2833b44d..a4e243de626 100644 --- a/service/ec2/api_op_DescribeLaunchTemplates.go +++ b/service/ec2/api_op_DescribeLaunchTemplates.go @@ -34,7 +34,7 @@ type DescribeLaunchTemplatesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -63,7 +63,7 @@ type DescribeLaunchTemplatesInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. This // value can be between 1 and 200. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -180,8 +180,8 @@ func NewDescribeLaunchTemplatesPaginator(client DescribeLaunchTemplatesAPIClient } options := DescribeLaunchTemplatesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *DescribeLaunchTemplatesPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLaunchTemplates(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go index 5a99c981056..979d5844acd 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go @@ -35,7 +35,7 @@ type DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput struct // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -59,7 +59,7 @@ type DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput struct // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -179,8 +179,8 @@ func NewDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator } options := DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginato params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go index 061b1469775..8ed69e7be98 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go @@ -35,7 +35,7 @@ type DescribeLocalGatewayRouteTableVpcAssociationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -58,7 +58,7 @@ type DescribeLocalGatewayRouteTableVpcAssociationsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -175,8 +175,8 @@ func NewDescribeLocalGatewayRouteTableVpcAssociationsPaginator(client DescribeLo } options := DescribeLocalGatewayRouteTableVpcAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -205,7 +205,11 @@ func (p *DescribeLocalGatewayRouteTableVpcAssociationsPaginator) NextPage(ctx co params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLocalGatewayRouteTableVpcAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go index 07e3c0d9149..8a0a7779cb9 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go @@ -35,7 +35,7 @@ type DescribeLocalGatewayRouteTablesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -56,7 +56,7 @@ type DescribeLocalGatewayRouteTablesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -173,8 +173,8 @@ func NewDescribeLocalGatewayRouteTablesPaginator(client DescribeLocalGatewayRout } options := DescribeLocalGatewayRouteTablesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -203,7 +203,11 @@ func (p *DescribeLocalGatewayRouteTablesPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLocalGatewayRouteTables(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go index 2fe5f92206b..54e7e072b13 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go @@ -34,7 +34,7 @@ type DescribeLocalGatewayVirtualInterfaceGroupsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -53,7 +53,7 @@ type DescribeLocalGatewayVirtualInterfaceGroupsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -170,8 +170,8 @@ func NewDescribeLocalGatewayVirtualInterfaceGroupsPaginator(client DescribeLocal } options := DescribeLocalGatewayVirtualInterfaceGroupsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *DescribeLocalGatewayVirtualInterfaceGroupsPaginator) NextPage(ctx conte params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLocalGatewayVirtualInterfaceGroups(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go index 3eaabd8f483..0a895c351c0 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go @@ -34,7 +34,7 @@ type DescribeLocalGatewayVirtualInterfacesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filters []types.Filter @@ -44,7 +44,7 @@ type DescribeLocalGatewayVirtualInterfacesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -161,8 +161,8 @@ func NewDescribeLocalGatewayVirtualInterfacesPaginator(client DescribeLocalGatew } options := DescribeLocalGatewayVirtualInterfacesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -191,7 +191,11 @@ func (p *DescribeLocalGatewayVirtualInterfacesPaginator) NextPage(ctx context.Co params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLocalGatewayVirtualInterfaces(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeLocalGateways.go b/service/ec2/api_op_DescribeLocalGateways.go index fdfe98c269e..96aeb0c127d 100644 --- a/service/ec2/api_op_DescribeLocalGateways.go +++ b/service/ec2/api_op_DescribeLocalGateways.go @@ -35,7 +35,7 @@ type DescribeLocalGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. Filters []types.Filter @@ -62,7 +62,7 @@ type DescribeLocalGatewaysInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -177,8 +177,8 @@ func NewDescribeLocalGatewaysPaginator(client DescribeLocalGatewaysAPIClient, pa } options := DescribeLocalGatewaysPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -207,7 +207,11 @@ func (p *DescribeLocalGatewaysPaginator) NextPage(ctx context.Context, optFns .. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeLocalGateways(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeManagedPrefixLists.go b/service/ec2/api_op_DescribeManagedPrefixLists.go index 401a1f1ff9a..3ad27e79b10 100644 --- a/service/ec2/api_op_DescribeManagedPrefixLists.go +++ b/service/ec2/api_op_DescribeManagedPrefixLists.go @@ -35,7 +35,7 @@ type DescribeManagedPrefixListsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -50,7 +50,7 @@ type DescribeManagedPrefixListsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -170,8 +170,8 @@ func NewDescribeManagedPrefixListsPaginator(client DescribeManagedPrefixListsAPI } options := DescribeManagedPrefixListsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *DescribeManagedPrefixListsPaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeManagedPrefixLists(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeMovingAddresses.go b/service/ec2/api_op_DescribeMovingAddresses.go index 64acdabcaee..43bb6408335 100644 --- a/service/ec2/api_op_DescribeMovingAddresses.go +++ b/service/ec2/api_op_DescribeMovingAddresses.go @@ -37,7 +37,7 @@ type DescribeMovingAddressesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -50,7 +50,7 @@ type DescribeMovingAddressesInput struct { // with the returned NextToken value. This value can be between 5 and 1000; if // MaxResults is given a value outside of this range, an error is returned. // Default: If no value is provided, the default is 1000. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -172,8 +172,8 @@ func NewDescribeMovingAddressesPaginator(client DescribeMovingAddressesAPIClient } options := DescribeMovingAddressesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -202,7 +202,11 @@ func (p *DescribeMovingAddressesPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeMovingAddresses(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeNatGateways.go b/service/ec2/api_op_DescribeNatGateways.go index 4a020ccac6b..1561f1a3261 100644 --- a/service/ec2/api_op_DescribeNatGateways.go +++ b/service/ec2/api_op_DescribeNatGateways.go @@ -34,7 +34,7 @@ type DescribeNatGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -62,7 +62,7 @@ type DescribeNatGatewaysInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // One or more NAT gateway IDs. NatGatewayIds []string @@ -180,8 +180,8 @@ func NewDescribeNatGatewaysPaginator(client DescribeNatGatewaysAPIClient, params } options := DescribeNatGatewaysPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *DescribeNatGatewaysPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeNatGateways(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeNetworkAcls.go b/service/ec2/api_op_DescribeNetworkAcls.go index 22347771f23..58b8bc5706f 100644 --- a/service/ec2/api_op_DescribeNetworkAcls.go +++ b/service/ec2/api_op_DescribeNetworkAcls.go @@ -36,7 +36,7 @@ type DescribeNetworkAclsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -100,7 +100,7 @@ type DescribeNetworkAclsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // One or more network ACL IDs. Default: Describes all your network ACLs. NetworkAclIds []string @@ -218,8 +218,8 @@ func NewDescribeNetworkAclsPaginator(client DescribeNetworkAclsAPIClient, params } options := DescribeNetworkAclsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -248,7 +248,11 @@ func (p *DescribeNetworkAclsPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeNetworkAcls(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go index bd934c451c2..f686e6cbdf0 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go @@ -41,7 +41,7 @@ type DescribeNetworkInsightsAnalysesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. The following are possible values: // @@ -54,7 +54,7 @@ type DescribeNetworkInsightsAnalysesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The ID of the network insights analyses. You must specify either analysis IDs or // a path ID. @@ -178,8 +178,8 @@ func NewDescribeNetworkInsightsAnalysesPaginator(client DescribeNetworkInsightsA } options := DescribeNetworkInsightsAnalysesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -208,7 +208,11 @@ func (p *DescribeNetworkInsightsAnalysesPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeNetworkInsightsAnalyses(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInsightsPaths.go b/service/ec2/api_op_DescribeNetworkInsightsPaths.go index 30a7bac09a3..762df07eb16 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsPaths.go +++ b/service/ec2/api_op_DescribeNetworkInsightsPaths.go @@ -34,7 +34,7 @@ type DescribeNetworkInsightsPathsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. The following are possible values: // @@ -53,7 +53,7 @@ type DescribeNetworkInsightsPathsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The IDs of the paths. NetworkInsightsPathIds []string @@ -173,8 +173,8 @@ func NewDescribeNetworkInsightsPathsPaginator(client DescribeNetworkInsightsPath } options := DescribeNetworkInsightsPathsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -203,7 +203,11 @@ func (p *DescribeNetworkInsightsPathsPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeNetworkInsightsPaths(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go index 27658a9b735..6fe6fa10fa2 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go @@ -43,7 +43,7 @@ type DescribeNetworkInterfaceAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of DescribeNetworkInterfaceAttribute. diff --git a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go index b1aeb2ac5c4..2f720e01a73 100644 --- a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go +++ b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go @@ -53,7 +53,7 @@ type DescribeNetworkInterfacePermissionsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. If this // parameter is not specified, up to 50 results are returned by default. - MaxResults int32 + MaxResults *int32 // One or more network interface permission IDs. NetworkInterfacePermissionIds []string @@ -174,8 +174,8 @@ func NewDescribeNetworkInterfacePermissionsPaginator(client DescribeNetworkInter } options := DescribeNetworkInterfacePermissionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -204,7 +204,11 @@ func (p *DescribeNetworkInterfacePermissionsPaginator) NextPage(ctx context.Cont params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeNetworkInterfacePermissions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInterfaces.go b/service/ec2/api_op_DescribeNetworkInterfaces.go index 6293f9bba1d..1f080012ada 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaces.go +++ b/service/ec2/api_op_DescribeNetworkInterfaces.go @@ -35,7 +35,7 @@ type DescribeNetworkInterfacesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -161,7 +161,7 @@ type DescribeNetworkInterfacesInput struct { // token that you can specify in a subsequent call to get the next set of results. // You cannot specify this parameter and the network interface IDs parameter in the // same request. - MaxResults int32 + MaxResults *int32 // One or more network interface IDs. Default: Describes all your network // interfaces. @@ -284,8 +284,8 @@ func NewDescribeNetworkInterfacesPaginator(client DescribeNetworkInterfacesAPICl } options := DescribeNetworkInterfacesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -314,7 +314,11 @@ func (p *DescribeNetworkInterfacesPaginator) NextPage(ctx context.Context, optFn params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeNetworkInterfaces(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribePlacementGroups.go b/service/ec2/api_op_DescribePlacementGroups.go index 05e89a5ed22..a3603e1ba75 100644 --- a/service/ec2/api_op_DescribePlacementGroups.go +++ b/service/ec2/api_op_DescribePlacementGroups.go @@ -36,7 +36,7 @@ type DescribePlacementGroupsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // diff --git a/service/ec2/api_op_DescribePrefixLists.go b/service/ec2/api_op_DescribePrefixLists.go index 7a8b0be1d4f..b8b1118017a 100644 --- a/service/ec2/api_op_DescribePrefixLists.go +++ b/service/ec2/api_op_DescribePrefixLists.go @@ -36,7 +36,7 @@ type DescribePrefixListsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -48,7 +48,7 @@ type DescribePrefixListsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -166,8 +166,8 @@ func NewDescribePrefixListsPaginator(client DescribePrefixListsAPIClient, params } options := DescribePrefixListsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -196,7 +196,11 @@ func (p *DescribePrefixListsPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribePrefixLists(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribePrincipalIdFormat.go b/service/ec2/api_op_DescribePrincipalIdFormat.go index 6cd6e4acfbe..afcc0d82ae4 100644 --- a/service/ec2/api_op_DescribePrincipalIdFormat.go +++ b/service/ec2/api_op_DescribePrincipalIdFormat.go @@ -46,11 +46,11 @@ type DescribePrincipalIdFormatInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewDescribePrincipalIdFormatPaginator(client DescribePrincipalIdFormatAPICl } options := DescribePrincipalIdFormatPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *DescribePrincipalIdFormatPaginator) NextPage(ctx context.Context, optFn params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribePrincipalIdFormat(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribePublicIpv4Pools.go b/service/ec2/api_op_DescribePublicIpv4Pools.go index 92c5e864ad7..9f6f965fd9a 100644 --- a/service/ec2/api_op_DescribePublicIpv4Pools.go +++ b/service/ec2/api_op_DescribePublicIpv4Pools.go @@ -45,7 +45,7 @@ type DescribePublicIpv4PoolsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -164,8 +164,8 @@ func NewDescribePublicIpv4PoolsPaginator(client DescribePublicIpv4PoolsAPIClient } options := DescribePublicIpv4PoolsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -194,7 +194,11 @@ func (p *DescribePublicIpv4PoolsPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribePublicIpv4Pools(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeRegions.go b/service/ec2/api_op_DescribeRegions.go index 55f7300737c..6ed379cbc0b 100644 --- a/service/ec2/api_op_DescribeRegions.go +++ b/service/ec2/api_op_DescribeRegions.go @@ -36,13 +36,13 @@ type DescribeRegionsInput struct { // Indicates whether to display all Regions, including Regions that are disabled // for your account. - AllRegions bool + AllRegions *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // diff --git a/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go b/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go index a052a7e479e..50f02c428b2 100644 --- a/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go +++ b/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go @@ -36,7 +36,7 @@ type DescribeReplaceRootVolumeTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Filter to use: // @@ -46,7 +46,7 @@ type DescribeReplaceRootVolumeTasksInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -166,8 +166,8 @@ func NewDescribeReplaceRootVolumeTasksPaginator(client DescribeReplaceRootVolume } options := DescribeReplaceRootVolumeTasksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -196,7 +196,11 @@ func (p *DescribeReplaceRootVolumeTasksPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeReplaceRootVolumeTasks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeReservedInstances.go b/service/ec2/api_op_DescribeReservedInstances.go index 976bfeafb5e..8b1d8bb77d1 100644 --- a/service/ec2/api_op_DescribeReservedInstances.go +++ b/service/ec2/api_op_DescribeReservedInstances.go @@ -37,7 +37,7 @@ type DescribeReservedInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // diff --git a/service/ec2/api_op_DescribeReservedInstancesOfferings.go b/service/ec2/api_op_DescribeReservedInstancesOfferings.go index 02f54540f04..60712062a1b 100644 --- a/service/ec2/api_op_DescribeReservedInstancesOfferings.go +++ b/service/ec2/api_op_DescribeReservedInstancesOfferings.go @@ -47,7 +47,7 @@ type DescribeReservedInstancesOfferingsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -90,7 +90,7 @@ type DescribeReservedInstancesOfferingsInput struct { Filters []types.Filter // Include Reserved Instance Marketplace offerings in the response. - IncludeMarketplace bool + IncludeMarketplace *bool // The tenancy of the instances covered by the reservation. A Reserved Instance // with a tenancy of dedicated is applied to instances that run in a VPC on @@ -107,20 +107,20 @@ type DescribeReservedInstancesOfferingsInput struct { // The maximum duration (in seconds) to filter when searching for offerings. // Default: 94608000 (3 years) - MaxDuration int64 + MaxDuration *int64 // The maximum number of instances to filter when searching for offerings. Default: // 20 - MaxInstanceCount int32 + MaxInstanceCount *int32 // The maximum number of results to return for the request in a single page. The // remaining results of the initial request can be seen by sending another request // with the returned NextToken value. The maximum is 100. Default: 100 - MaxResults int32 + MaxResults *int32 // The minimum duration (in seconds) to filter when searching for offerings. // Default: 2592000 (1 month) - MinDuration int64 + MinDuration *int64 // The token to retrieve the next page of results. NextToken *string @@ -254,8 +254,8 @@ func NewDescribeReservedInstancesOfferingsPaginator(client DescribeReservedInsta } options := DescribeReservedInstancesOfferingsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -284,7 +284,11 @@ func (p *DescribeReservedInstancesOfferingsPaginator) NextPage(ctx context.Conte params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeReservedInstancesOfferings(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeRouteTables.go b/service/ec2/api_op_DescribeRouteTables.go index 86464cc5b77..ac3ebbf793f 100644 --- a/service/ec2/api_op_DescribeRouteTables.go +++ b/service/ec2/api_op_DescribeRouteTables.go @@ -40,7 +40,7 @@ type DescribeRouteTablesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -119,7 +119,7 @@ type DescribeRouteTablesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -238,8 +238,8 @@ func NewDescribeRouteTablesPaginator(client DescribeRouteTablesAPIClient, params } options := DescribeRouteTablesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -268,7 +268,11 @@ func (p *DescribeRouteTablesPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeRouteTables(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go index e54eed95d9b..1824f9c1a82 100644 --- a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go +++ b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go @@ -51,7 +51,7 @@ type DescribeScheduledInstanceAvailabilityInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -70,16 +70,16 @@ type DescribeScheduledInstanceAvailabilityInput struct { // The maximum number of results to return in a single call. This value can be // between 5 and 300. The default value is 300. To retrieve the remaining results, // make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The maximum available duration, in hours. This value must be greater than // MinSlotDurationInHours and less than 1,720. - MaxSlotDurationInHours int32 + MaxSlotDurationInHours *int32 // The minimum available duration, in hours. The minimum required duration is 1,200 // hours per year. For example, the minimum daily schedule is 4 hours, the minimum // weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours. - MinSlotDurationInHours int32 + MinSlotDurationInHours *int32 // The token for the next set of results. NextToken *string @@ -201,8 +201,8 @@ func NewDescribeScheduledInstanceAvailabilityPaginator(client DescribeScheduledI } options := DescribeScheduledInstanceAvailabilityPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -231,7 +231,11 @@ func (p *DescribeScheduledInstanceAvailabilityPaginator) NextPage(ctx context.Co params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeScheduledInstanceAvailability(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeScheduledInstances.go b/service/ec2/api_op_DescribeScheduledInstances.go index c6c58443bbc..aa078e5620f 100644 --- a/service/ec2/api_op_DescribeScheduledInstances.go +++ b/service/ec2/api_op_DescribeScheduledInstances.go @@ -35,7 +35,7 @@ type DescribeScheduledInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -54,7 +54,7 @@ type DescribeScheduledInstancesInput struct { // The maximum number of results to return in a single call. This value can be // between 5 and 300. The default value is 100. To retrieve the remaining results, // make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string @@ -179,8 +179,8 @@ func NewDescribeScheduledInstancesPaginator(client DescribeScheduledInstancesAPI } options := DescribeScheduledInstancesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -209,7 +209,11 @@ func (p *DescribeScheduledInstancesPaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeScheduledInstances(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeSecurityGroupReferences.go b/service/ec2/api_op_DescribeSecurityGroupReferences.go index 9fa9a536e48..7bea9ec4ba2 100644 --- a/service/ec2/api_op_DescribeSecurityGroupReferences.go +++ b/service/ec2/api_op_DescribeSecurityGroupReferences.go @@ -39,7 +39,7 @@ type DescribeSecurityGroupReferencesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeSecurityGroupReferencesOutput struct { diff --git a/service/ec2/api_op_DescribeSecurityGroups.go b/service/ec2/api_op_DescribeSecurityGroups.go index 2770f46a878..b7e0c950333 100644 --- a/service/ec2/api_op_DescribeSecurityGroups.go +++ b/service/ec2/api_op_DescribeSecurityGroups.go @@ -40,7 +40,7 @@ type DescribeSecurityGroupsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. If using multiple filters for rules, the results include security // groups for which any combination of rules - not necessarily a single rule - @@ -149,7 +149,7 @@ type DescribeSecurityGroupsInput struct { // remaining results, make another request with the returned NextToken value. This // value can be between 5 and 1000. If this parameter is not specified, then all // results are returned. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -266,8 +266,8 @@ func NewDescribeSecurityGroupsPaginator(client DescribeSecurityGroupsAPIClient, } options := DescribeSecurityGroupsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -296,7 +296,11 @@ func (p *DescribeSecurityGroupsPaginator) NextPage(ctx context.Context, optFns . params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeSecurityGroups(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeSnapshotAttribute.go b/service/ec2/api_op_DescribeSnapshotAttribute.go index 7e059b37f9d..9379eb798b4 100644 --- a/service/ec2/api_op_DescribeSnapshotAttribute.go +++ b/service/ec2/api_op_DescribeSnapshotAttribute.go @@ -47,7 +47,7 @@ type DescribeSnapshotAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeSnapshotAttributeOutput struct { diff --git a/service/ec2/api_op_DescribeSnapshots.go b/service/ec2/api_op_DescribeSnapshots.go index 500a9286ffa..21b84830959 100644 --- a/service/ec2/api_op_DescribeSnapshots.go +++ b/service/ec2/api_op_DescribeSnapshots.go @@ -79,7 +79,7 @@ type DescribeSnapshotsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -133,7 +133,7 @@ type DescribeSnapshotsInput struct { // 1,000 results are returned. If this parameter is not used, then // DescribeSnapshots returns all results. You cannot specify this parameter and the // snapshot IDs parameter in the same request. - MaxResults int32 + MaxResults *int32 // The NextToken value returned from a previous paginated DescribeSnapshots request // where MaxResults was used and the results exceeded the value of that parameter. @@ -270,8 +270,8 @@ func NewDescribeSnapshotsPaginator(client DescribeSnapshotsAPIClient, params *De } options := DescribeSnapshotsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -300,7 +300,11 @@ func (p *DescribeSnapshotsPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeSnapshots(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go index 82bd85c8d5d..294be039f84 100644 --- a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go @@ -37,7 +37,7 @@ type DescribeSpotDatafeedSubscriptionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of DescribeSpotDatafeedSubscription. diff --git a/service/ec2/api_op_DescribeSpotFleetInstances.go b/service/ec2/api_op_DescribeSpotFleetInstances.go index 019ab5f6342..8def6ce9d6f 100644 --- a/service/ec2/api_op_DescribeSpotFleetInstances.go +++ b/service/ec2/api_op_DescribeSpotFleetInstances.go @@ -39,12 +39,12 @@ type DescribeSpotFleetInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string diff --git a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go index c01ac64ef4f..a97e7bc59a3 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go +++ b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go @@ -49,7 +49,7 @@ type DescribeSpotFleetRequestHistoryInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The type of events to describe. By default, all events are described. EventType types.EventType @@ -57,7 +57,7 @@ type DescribeSpotFleetRequestHistoryInput struct { // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string diff --git a/service/ec2/api_op_DescribeSpotFleetRequests.go b/service/ec2/api_op_DescribeSpotFleetRequests.go index dfe38ac701a..b0285e237ec 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequests.go +++ b/service/ec2/api_op_DescribeSpotFleetRequests.go @@ -36,12 +36,12 @@ type DescribeSpotFleetRequestsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string @@ -162,8 +162,8 @@ func NewDescribeSpotFleetRequestsPaginator(client DescribeSpotFleetRequestsAPICl } options := DescribeSpotFleetRequestsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -192,7 +192,11 @@ func (p *DescribeSpotFleetRequestsPaginator) NextPage(ctx context.Context, optFn params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeSpotFleetRequests(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeSpotInstanceRequests.go b/service/ec2/api_op_DescribeSpotInstanceRequests.go index e722c9c3609..0b0e023cacb 100644 --- a/service/ec2/api_op_DescribeSpotInstanceRequests.go +++ b/service/ec2/api_op_DescribeSpotInstanceRequests.go @@ -48,7 +48,7 @@ type DescribeSpotInstanceRequestsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -184,7 +184,7 @@ type DescribeSpotInstanceRequestsInput struct { // The maximum number of results to return in a single call. Specify a value // between 5 and 1000. To retrieve the remaining results, make another call with // the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token to request the next set of results. This value is null when there are // no more results to return. @@ -307,8 +307,8 @@ func NewDescribeSpotInstanceRequestsPaginator(client DescribeSpotInstanceRequest } options := DescribeSpotInstanceRequestsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -337,7 +337,11 @@ func (p *DescribeSpotInstanceRequestsPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeSpotInstanceRequests(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeSpotPriceHistory.go b/service/ec2/api_op_DescribeSpotPriceHistory.go index 96596a812bd..09a03049841 100644 --- a/service/ec2/api_op_DescribeSpotPriceHistory.go +++ b/service/ec2/api_op_DescribeSpotPriceHistory.go @@ -45,7 +45,7 @@ type DescribeSpotPriceHistoryInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The date and time, up to the current date, from which to stop retrieving the // price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). @@ -79,7 +79,7 @@ type DescribeSpotPriceHistoryInput struct { // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining // results, make another call with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. NextToken *string @@ -204,8 +204,8 @@ func NewDescribeSpotPriceHistoryPaginator(client DescribeSpotPriceHistoryAPIClie } options := DescribeSpotPriceHistoryPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -234,7 +234,11 @@ func (p *DescribeSpotPriceHistoryPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeSpotPriceHistory(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeStaleSecurityGroups.go b/service/ec2/api_op_DescribeStaleSecurityGroups.go index b9dd9503611..43d32109cdf 100644 --- a/service/ec2/api_op_DescribeStaleSecurityGroups.go +++ b/service/ec2/api_op_DescribeStaleSecurityGroups.go @@ -42,11 +42,11 @@ type DescribeStaleSecurityGroupsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of items to return for this request. The request returns a // token that you can specify in a subsequent call to get the next set of results. - MaxResults int32 + MaxResults *int32 // The token for the next set of items to return. (You received this token from a // prior call.) @@ -167,8 +167,8 @@ func NewDescribeStaleSecurityGroupsPaginator(client DescribeStaleSecurityGroupsA } options := DescribeStaleSecurityGroupsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -197,7 +197,11 @@ func (p *DescribeStaleSecurityGroupsPaginator) NextPage(ctx context.Context, opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeStaleSecurityGroups(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeStoreImageTasks.go b/service/ec2/api_op_DescribeStoreImageTasks.go index 291ee370bba..a6cb20a7836 100644 --- a/service/ec2/api_op_DescribeStoreImageTasks.go +++ b/service/ec2/api_op_DescribeStoreImageTasks.go @@ -46,7 +46,7 @@ type DescribeStoreImageTasksInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -65,7 +65,7 @@ type DescribeStoreImageTasksInput struct { // remaining results, make another call with the returned NextToken value. This // value can be between 1 and 200. You cannot specify this parameter and the // ImageIDs parameter in the same call. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -183,8 +183,8 @@ func NewDescribeStoreImageTasksPaginator(client DescribeStoreImageTasksAPIClient } options := DescribeStoreImageTasksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -213,7 +213,11 @@ func (p *DescribeStoreImageTasksPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeStoreImageTasks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeSubnets.go b/service/ec2/api_op_DescribeSubnets.go index f9742dbb9a9..d5b3f26a090 100644 --- a/service/ec2/api_op_DescribeSubnets.go +++ b/service/ec2/api_op_DescribeSubnets.go @@ -40,7 +40,7 @@ type DescribeSubnetsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -102,7 +102,7 @@ type DescribeSubnetsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -219,8 +219,8 @@ func NewDescribeSubnetsPaginator(client DescribeSubnetsAPIClient, params *Descri } options := DescribeSubnetsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -249,7 +249,11 @@ func (p *DescribeSubnetsPaginator) NextPage(ctx context.Context, optFns ...func( params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeSubnets(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTags.go b/service/ec2/api_op_DescribeTags.go index 48131c01fca..0bd8f6353b5 100644 --- a/service/ec2/api_op_DescribeTags.go +++ b/service/ec2/api_op_DescribeTags.go @@ -37,7 +37,7 @@ type DescribeTagsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -64,7 +64,7 @@ type DescribeTagsInput struct { // The maximum number of results to return in a single call. This value can be // between 5 and 1000. To retrieve the remaining results, make another call with // the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -178,8 +178,8 @@ func NewDescribeTagsPaginator(client DescribeTagsAPIClient, params *DescribeTags } options := DescribeTagsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -208,7 +208,11 @@ func (p *DescribeTagsPaginator) NextPage(ctx context.Context, optFns ...func(*Op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTags(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTrafficMirrorFilters.go b/service/ec2/api_op_DescribeTrafficMirrorFilters.go index 0351c2073fd..0af1d45c39b 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorFilters.go +++ b/service/ec2/api_op_DescribeTrafficMirrorFilters.go @@ -34,7 +34,7 @@ type DescribeTrafficMirrorFiltersInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -47,7 +47,7 @@ type DescribeTrafficMirrorFiltersInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -167,8 +167,8 @@ func NewDescribeTrafficMirrorFiltersPaginator(client DescribeTrafficMirrorFilter } options := DescribeTrafficMirrorFiltersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -197,7 +197,11 @@ func (p *DescribeTrafficMirrorFiltersPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTrafficMirrorFilters(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTrafficMirrorSessions.go b/service/ec2/api_op_DescribeTrafficMirrorSessions.go index 722c5b1421d..f112b202384 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorSessions.go +++ b/service/ec2/api_op_DescribeTrafficMirrorSessions.go @@ -35,7 +35,7 @@ type DescribeTrafficMirrorSessionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -68,7 +68,7 @@ type DescribeTrafficMirrorSessionsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -189,8 +189,8 @@ func NewDescribeTrafficMirrorSessionsPaginator(client DescribeTrafficMirrorSessi } options := DescribeTrafficMirrorSessionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -219,7 +219,11 @@ func (p *DescribeTrafficMirrorSessionsPaginator) NextPage(ctx context.Context, o params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTrafficMirrorSessions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTrafficMirrorTargets.go b/service/ec2/api_op_DescribeTrafficMirrorTargets.go index 409c2860a75..9631d116afd 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorTargets.go +++ b/service/ec2/api_op_DescribeTrafficMirrorTargets.go @@ -34,7 +34,7 @@ type DescribeTrafficMirrorTargetsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -56,7 +56,7 @@ type DescribeTrafficMirrorTargetsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewDescribeTrafficMirrorTargetsPaginator(client DescribeTrafficMirrorTarget } options := DescribeTrafficMirrorTargetsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *DescribeTrafficMirrorTargetsPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTrafficMirrorTargets(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayAttachments.go b/service/ec2/api_op_DescribeTransitGatewayAttachments.go index f58e11a642b..4594ebe7076 100644 --- a/service/ec2/api_op_DescribeTransitGatewayAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayAttachments.go @@ -36,7 +36,7 @@ type DescribeTransitGatewayAttachmentsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -72,7 +72,7 @@ type DescribeTransitGatewayAttachmentsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -192,8 +192,8 @@ func NewDescribeTransitGatewayAttachmentsPaginator(client DescribeTransitGateway } options := DescribeTransitGatewayAttachmentsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -222,7 +222,11 @@ func (p *DescribeTransitGatewayAttachmentsPaginator) NextPage(ctx context.Contex params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayAttachments(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go index eb6123b5b65..56c94d5da4c 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go @@ -34,7 +34,7 @@ type DescribeTransitGatewayConnectPeersInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -50,7 +50,7 @@ type DescribeTransitGatewayConnectPeersInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -170,8 +170,8 @@ func NewDescribeTransitGatewayConnectPeersPaginator(client DescribeTransitGatewa } options := DescribeTransitGatewayConnectPeersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *DescribeTransitGatewayConnectPeersPaginator) NextPage(ctx context.Conte params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayConnectPeers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayConnects.go b/service/ec2/api_op_DescribeTransitGatewayConnects.go index a0e371a9564..f1c38943663 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnects.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnects.go @@ -34,7 +34,7 @@ type DescribeTransitGatewayConnectsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -58,7 +58,7 @@ type DescribeTransitGatewayConnectsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -178,8 +178,8 @@ func NewDescribeTransitGatewayConnectsPaginator(client DescribeTransitGatewayCon } options := DescribeTransitGatewayConnectsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -208,7 +208,11 @@ func (p *DescribeTransitGatewayConnectsPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayConnects(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go index d0a2833dd2e..c501e8813b4 100644 --- a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go +++ b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go @@ -34,7 +34,7 @@ type DescribeTransitGatewayMulticastDomainsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -51,7 +51,7 @@ type DescribeTransitGatewayMulticastDomainsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -171,8 +171,8 @@ func NewDescribeTransitGatewayMulticastDomainsPaginator(client DescribeTransitGa } options := DescribeTransitGatewayMulticastDomainsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *DescribeTransitGatewayMulticastDomainsPaginator) NextPage(ctx context.C params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayMulticastDomains(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go index 979476a1db4..943a76813fd 100644 --- a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go @@ -34,7 +34,7 @@ type DescribeTransitGatewayPeeringAttachmentsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -67,7 +67,7 @@ type DescribeTransitGatewayPeeringAttachmentsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -187,8 +187,8 @@ func NewDescribeTransitGatewayPeeringAttachmentsPaginator(client DescribeTransit } options := DescribeTransitGatewayPeeringAttachmentsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -217,7 +217,11 @@ func (p *DescribeTransitGatewayPeeringAttachmentsPaginator) NextPage(ctx context params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayPeeringAttachments(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go index 1558a74dfd2..cb3398617cf 100644 --- a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go @@ -35,7 +35,7 @@ type DescribeTransitGatewayRouteTablesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -58,7 +58,7 @@ type DescribeTransitGatewayRouteTablesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -178,8 +178,8 @@ func NewDescribeTransitGatewayRouteTablesPaginator(client DescribeTransitGateway } options := DescribeTransitGatewayRouteTablesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -208,7 +208,11 @@ func (p *DescribeTransitGatewayRouteTablesPaginator) NextPage(ctx context.Contex params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayRouteTables(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go index 16d2917fb81..a81c64d08fa 100644 --- a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go @@ -35,7 +35,7 @@ type DescribeTransitGatewayVpcAttachmentsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -55,7 +55,7 @@ type DescribeTransitGatewayVpcAttachmentsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -175,8 +175,8 @@ func NewDescribeTransitGatewayVpcAttachmentsPaginator(client DescribeTransitGate } options := DescribeTransitGatewayVpcAttachmentsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -205,7 +205,11 @@ func (p *DescribeTransitGatewayVpcAttachmentsPaginator) NextPage(ctx context.Con params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGatewayVpcAttachments(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeTransitGateways.go b/service/ec2/api_op_DescribeTransitGateways.go index b2b5952707f..43f95993781 100644 --- a/service/ec2/api_op_DescribeTransitGateways.go +++ b/service/ec2/api_op_DescribeTransitGateways.go @@ -35,7 +35,7 @@ type DescribeTransitGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -80,7 +80,7 @@ type DescribeTransitGatewaysInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -199,8 +199,8 @@ func NewDescribeTransitGatewaysPaginator(client DescribeTransitGatewaysAPIClient } options := DescribeTransitGatewaysPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -229,7 +229,11 @@ func (p *DescribeTransitGatewaysPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeTransitGateways(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVolumeAttribute.go b/service/ec2/api_op_DescribeVolumeAttribute.go index 2e4cde0a8ba..13aba0b87bf 100644 --- a/service/ec2/api_op_DescribeVolumeAttribute.go +++ b/service/ec2/api_op_DescribeVolumeAttribute.go @@ -46,7 +46,7 @@ type DescribeVolumeAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeVolumeAttributeOutput struct { diff --git a/service/ec2/api_op_DescribeVolumeStatus.go b/service/ec2/api_op_DescribeVolumeStatus.go index 83e38d4c973..8152ab11828 100644 --- a/service/ec2/api_op_DescribeVolumeStatus.go +++ b/service/ec2/api_op_DescribeVolumeStatus.go @@ -62,7 +62,7 @@ type DescribeVolumeStatusInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -113,7 +113,7 @@ type DescribeVolumeStatusInput struct { // If this parameter is not used, then DescribeVolumeStatus returns all results. // You cannot specify this parameter and the volume IDs parameter in the same // request. - MaxResults int32 + MaxResults *int32 // The NextToken value to include in a future DescribeVolumeStatus request. When // the results of the request exceed MaxResults, this value can be used to retrieve @@ -241,8 +241,8 @@ func NewDescribeVolumeStatusPaginator(client DescribeVolumeStatusAPIClient, para } options := DescribeVolumeStatusPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -271,7 +271,11 @@ func (p *DescribeVolumeStatusPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVolumeStatus(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVolumes.go b/service/ec2/api_op_DescribeVolumes.go index d014a17318d..872b3112330 100644 --- a/service/ec2/api_op_DescribeVolumes.go +++ b/service/ec2/api_op_DescribeVolumes.go @@ -46,7 +46,7 @@ type DescribeVolumesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -114,7 +114,7 @@ type DescribeVolumesInput struct { // if MaxResults is given a value larger than 500, only 500 results are returned. // If this parameter is not used, then DescribeVolumes returns all results. You // cannot specify this parameter and the volume IDs parameter in the same request. - MaxResults int32 + MaxResults *int32 // The NextToken value returned from a previous paginated DescribeVolumes request // where MaxResults was used and the results exceeded the value of that parameter. @@ -242,8 +242,8 @@ func NewDescribeVolumesPaginator(client DescribeVolumesAPIClient, params *Descri } options := DescribeVolumesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -272,7 +272,11 @@ func (p *DescribeVolumesPaginator) NextPage(ctx context.Context, optFns ...func( params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVolumes(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVolumesModifications.go b/service/ec2/api_op_DescribeVolumesModifications.go index b0f4b550116..20ebab7b8fb 100644 --- a/service/ec2/api_op_DescribeVolumesModifications.go +++ b/service/ec2/api_op_DescribeVolumesModifications.go @@ -43,7 +43,7 @@ type DescribeVolumesModificationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. // @@ -82,7 +82,7 @@ type DescribeVolumesModificationsInput struct { // The maximum number of results (up to a limit of 500) to be returned in a // paginated request. - MaxResults int32 + MaxResults *int32 // The nextToken value returned by a previous paginated request. NextToken *string @@ -201,8 +201,8 @@ func NewDescribeVolumesModificationsPaginator(client DescribeVolumesModification } options := DescribeVolumesModificationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -231,7 +231,11 @@ func (p *DescribeVolumesModificationsPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVolumesModifications(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcAttribute.go b/service/ec2/api_op_DescribeVpcAttribute.go index 8c3722b3dea..3567f34eddf 100644 --- a/service/ec2/api_op_DescribeVpcAttribute.go +++ b/service/ec2/api_op_DescribeVpcAttribute.go @@ -44,7 +44,7 @@ type DescribeVpcAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DescribeVpcAttributeOutput struct { diff --git a/service/ec2/api_op_DescribeVpcClassicLink.go b/service/ec2/api_op_DescribeVpcClassicLink.go index 9e66c4c55b6..5898393045a 100644 --- a/service/ec2/api_op_DescribeVpcClassicLink.go +++ b/service/ec2/api_op_DescribeVpcClassicLink.go @@ -33,7 +33,7 @@ type DescribeVpcClassicLinkInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // diff --git a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go index 5578289dd86..48d7de61540 100644 --- a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go @@ -39,7 +39,7 @@ type DescribeVpcClassicLinkDnsSupportInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -159,8 +159,8 @@ func NewDescribeVpcClassicLinkDnsSupportPaginator(client DescribeVpcClassicLinkD } options := DescribeVpcClassicLinkDnsSupportPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -189,7 +189,11 @@ func (p *DescribeVpcClassicLinkDnsSupportPaginator) NextPage(ctx context.Context params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcClassicLinkDnsSupport(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go index 5b7d78a5ffc..75e228cf4d8 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go @@ -38,7 +38,7 @@ type DescribeVpcEndpointConnectionNotificationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -62,7 +62,7 @@ type DescribeVpcEndpointConnectionNotificationsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another request with the returned NextToken value. - MaxResults int32 + MaxResults *int32 // The token to request the next page of results. NextToken *string @@ -179,8 +179,8 @@ func NewDescribeVpcEndpointConnectionNotificationsPaginator(client DescribeVpcEn } options := DescribeVpcEndpointConnectionNotificationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -209,7 +209,11 @@ func (p *DescribeVpcEndpointConnectionNotificationsPaginator) NextPage(ctx conte params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcEndpointConnectionNotifications(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointConnections.go b/service/ec2/api_op_DescribeVpcEndpointConnections.go index 8b6fffc468c..7d6123b23f2 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnections.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnections.go @@ -35,7 +35,7 @@ type DescribeVpcEndpointConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -56,7 +56,7 @@ type DescribeVpcEndpointConnectionsInput struct { // remaining results of the initial request can be seen by sending another request // with the returned NextToken value. This value can be between 5 and 1,000; if // MaxResults is given a value larger than 1,000, only 1,000 results are returned. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -175,8 +175,8 @@ func NewDescribeVpcEndpointConnectionsPaginator(client DescribeVpcEndpointConnec } options := DescribeVpcEndpointConnectionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -205,7 +205,11 @@ func (p *DescribeVpcEndpointConnectionsPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcEndpointConnections(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go index 113a0a94509..450dda8146d 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go @@ -35,7 +35,7 @@ type DescribeVpcEndpointServiceConfigurationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -62,7 +62,7 @@ type DescribeVpcEndpointServiceConfigurationsInput struct { // remaining results of the initial request can be seen by sending another request // with the returned NextToken value. This value can be between 5 and 1,000; if // MaxResults is given a value larger than 1,000, only 1,000 results are returned. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -184,8 +184,8 @@ func NewDescribeVpcEndpointServiceConfigurationsPaginator(client DescribeVpcEndp } options := DescribeVpcEndpointServiceConfigurationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -214,7 +214,11 @@ func (p *DescribeVpcEndpointServiceConfigurationsPaginator) NextPage(ctx context params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcEndpointServiceConfigurations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go index 11c90a87f46..a38ef5195d2 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go @@ -40,7 +40,7 @@ type DescribeVpcEndpointServicePermissionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -54,7 +54,7 @@ type DescribeVpcEndpointServicePermissionsInput struct { // remaining results of the initial request can be seen by sending another request // with the returned NextToken value. This value can be between 5 and 1,000; if // MaxResults is given a value larger than 1,000, only 1,000 results are returned. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewDescribeVpcEndpointServicePermissionsPaginator(client DescribeVpcEndpoin } options := DescribeVpcEndpointServicePermissionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *DescribeVpcEndpointServicePermissionsPaginator) NextPage(ctx context.Co params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcEndpointServicePermissions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointServices.go b/service/ec2/api_op_DescribeVpcEndpointServices.go index 95bbd3aad73..9726d1f25eb 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServices.go +++ b/service/ec2/api_op_DescribeVpcEndpointServices.go @@ -40,7 +40,7 @@ type DescribeVpcEndpointServicesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -63,7 +63,7 @@ type DescribeVpcEndpointServicesInput struct { // The maximum number of items to return for this request. The request returns a // token that you can specify in a subsequent call to get the next set of results. // Constraint: If the value is greater than 1,000, we return only 1,000 items. - MaxResults int32 + MaxResults *int32 // The token for the next set of items to return. (You received this token from a // prior call.) diff --git a/service/ec2/api_op_DescribeVpcEndpoints.go b/service/ec2/api_op_DescribeVpcEndpoints.go index 7e7d50d2242..a041e1152aa 100644 --- a/service/ec2/api_op_DescribeVpcEndpoints.go +++ b/service/ec2/api_op_DescribeVpcEndpoints.go @@ -35,7 +35,7 @@ type DescribeVpcEndpointsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -68,7 +68,7 @@ type DescribeVpcEndpointsInput struct { // The maximum number of items to return for this request. The request returns a // token that you can specify in a subsequent call to get the next set of results. // Constraint: If the value is greater than 1,000, we return only 1,000 items. - MaxResults int32 + MaxResults *int32 // The token for the next set of items to return. (You received this token from a // prior call.) @@ -189,8 +189,8 @@ func NewDescribeVpcEndpointsPaginator(client DescribeVpcEndpointsAPIClient, para } options := DescribeVpcEndpointsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -219,7 +219,11 @@ func (p *DescribeVpcEndpointsPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcEndpoints(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcPeeringConnections.go b/service/ec2/api_op_DescribeVpcPeeringConnections.go index 3373ed93d61..0ee78be319c 100644 --- a/service/ec2/api_op_DescribeVpcPeeringConnections.go +++ b/service/ec2/api_op_DescribeVpcPeeringConnections.go @@ -34,7 +34,7 @@ type DescribeVpcPeeringConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -82,7 +82,7 @@ type DescribeVpcPeeringConnectionsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -203,8 +203,8 @@ func NewDescribeVpcPeeringConnectionsPaginator(client DescribeVpcPeeringConnecti } options := DescribeVpcPeeringConnectionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -233,7 +233,11 @@ func (p *DescribeVpcPeeringConnectionsPaginator) NextPage(ctx context.Context, o params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcPeeringConnections(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpcs.go b/service/ec2/api_op_DescribeVpcs.go index ca21e3cb6cb..70a7c8ff20f 100644 --- a/service/ec2/api_op_DescribeVpcs.go +++ b/service/ec2/api_op_DescribeVpcs.go @@ -38,7 +38,7 @@ type DescribeVpcsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // @@ -97,7 +97,7 @@ type DescribeVpcsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -213,8 +213,8 @@ func NewDescribeVpcsPaginator(client DescribeVpcsAPIClient, params *DescribeVpcs } options := DescribeVpcsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -243,7 +243,11 @@ func (p *DescribeVpcsPaginator) NextPage(ctx context.Context, optFns ...func(*Op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeVpcs(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_DescribeVpnConnections.go b/service/ec2/api_op_DescribeVpnConnections.go index 46efcb548b8..d9b3bbbfb97 100644 --- a/service/ec2/api_op_DescribeVpnConnections.go +++ b/service/ec2/api_op_DescribeVpnConnections.go @@ -41,7 +41,7 @@ type DescribeVpnConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // diff --git a/service/ec2/api_op_DescribeVpnGateways.go b/service/ec2/api_op_DescribeVpnGateways.go index dc73a601c71..8ddd5e62156 100644 --- a/service/ec2/api_op_DescribeVpnGateways.go +++ b/service/ec2/api_op_DescribeVpnGateways.go @@ -37,7 +37,7 @@ type DescribeVpnGatewaysInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. // diff --git a/service/ec2/api_op_DetachClassicLinkVpc.go b/service/ec2/api_op_DetachClassicLinkVpc.go index ddaf884d213..da5f1ee8de8 100644 --- a/service/ec2/api_op_DetachClassicLinkVpc.go +++ b/service/ec2/api_op_DetachClassicLinkVpc.go @@ -44,13 +44,13 @@ type DetachClassicLinkVpcInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DetachClassicLinkVpcOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DetachInternetGateway.go b/service/ec2/api_op_DetachInternetGateway.go index e721f6e4e64..4bdc4f04db4 100644 --- a/service/ec2/api_op_DetachInternetGateway.go +++ b/service/ec2/api_op_DetachInternetGateway.go @@ -44,7 +44,7 @@ type DetachInternetGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DetachInternetGatewayOutput struct { diff --git a/service/ec2/api_op_DetachNetworkInterface.go b/service/ec2/api_op_DetachNetworkInterface.go index f3fabe1f8ea..9da1e73f141 100644 --- a/service/ec2/api_op_DetachNetworkInterface.go +++ b/service/ec2/api_op_DetachNetworkInterface.go @@ -38,7 +38,7 @@ type DetachNetworkInterfaceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specifies whether to force a detachment. // @@ -56,7 +56,7 @@ type DetachNetworkInterfaceInput struct { // might not get updated. This means that the attributes associated with the // detached network interface might still be visible. The instance metadata will // get updated when you stop and start the instance. - Force bool + Force *bool } type DetachNetworkInterfaceOutput struct { diff --git a/service/ec2/api_op_DetachVolume.go b/service/ec2/api_op_DetachVolume.go index 3a086e07aaf..15b9038bc46 100644 --- a/service/ec2/api_op_DetachVolume.go +++ b/service/ec2/api_op_DetachVolume.go @@ -53,7 +53,7 @@ type DetachVolumeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Forces detachment if the previous detachment attempt did not occur cleanly (for // example, logging into an instance, unmounting the volume, and detaching @@ -62,7 +62,7 @@ type DetachVolumeInput struct { // instance won't have an opportunity to flush file system caches or file system // metadata. If you use this option, you must perform file system check and repair // procedures. - Force bool + Force *bool // The ID of the instance. If you are detaching a Multi-Attach enabled volume, you // must specify an instance ID. @@ -76,7 +76,7 @@ type DetachVolumeOutput struct { AttachTime *time.Time // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // The device name. Device *string diff --git a/service/ec2/api_op_DetachVpnGateway.go b/service/ec2/api_op_DetachVpnGateway.go index 8725139f86f..399239d4958 100644 --- a/service/ec2/api_op_DetachVpnGateway.go +++ b/service/ec2/api_op_DetachVpnGateway.go @@ -49,7 +49,7 @@ type DetachVpnGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DetachVpnGatewayOutput struct { diff --git a/service/ec2/api_op_DisableEbsEncryptionByDefault.go b/service/ec2/api_op_DisableEbsEncryptionByDefault.go index 5b3678fcd89..4b816c999d0 100644 --- a/service/ec2/api_op_DisableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_DisableEbsEncryptionByDefault.go @@ -38,13 +38,13 @@ type DisableEbsEncryptionByDefaultInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisableEbsEncryptionByDefaultOutput struct { // The updated status of encryption by default. - EbsEncryptionByDefault bool + EbsEncryptionByDefault *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DisableFastSnapshotRestores.go b/service/ec2/api_op_DisableFastSnapshotRestores.go index 841aa81dac2..622adc29adf 100644 --- a/service/ec2/api_op_DisableFastSnapshotRestores.go +++ b/service/ec2/api_op_DisableFastSnapshotRestores.go @@ -44,7 +44,7 @@ type DisableFastSnapshotRestoresInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisableFastSnapshotRestoresOutput struct { diff --git a/service/ec2/api_op_DisableSerialConsoleAccess.go b/service/ec2/api_op_DisableSerialConsoleAccess.go index 2d761109203..663e4de179b 100644 --- a/service/ec2/api_op_DisableSerialConsoleAccess.go +++ b/service/ec2/api_op_DisableSerialConsoleAccess.go @@ -36,7 +36,7 @@ type DisableSerialConsoleAccessInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisableSerialConsoleAccessOutput struct { @@ -44,7 +44,7 @@ type DisableSerialConsoleAccessOutput struct { // If true, access to the EC2 serial console of all instances is enabled for your // account. If false, access to the EC2 serial console of all instances is disabled // for your account. - SerialConsoleAccessEnabled bool + SerialConsoleAccessEnabled *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go index 07e7743f31e..bd0ee6b941e 100644 --- a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go @@ -44,7 +44,7 @@ type DisableTransitGatewayRouteTablePropagationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisableTransitGatewayRouteTablePropagationOutput struct { diff --git a/service/ec2/api_op_DisableVgwRoutePropagation.go b/service/ec2/api_op_DisableVgwRoutePropagation.go index acbf1ed6960..e004afe5092 100644 --- a/service/ec2/api_op_DisableVgwRoutePropagation.go +++ b/service/ec2/api_op_DisableVgwRoutePropagation.go @@ -44,7 +44,7 @@ type DisableVgwRoutePropagationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisableVgwRoutePropagationOutput struct { diff --git a/service/ec2/api_op_DisableVpcClassicLink.go b/service/ec2/api_op_DisableVpcClassicLink.go index 88655293acc..570bdc2f411 100644 --- a/service/ec2/api_op_DisableVpcClassicLink.go +++ b/service/ec2/api_op_DisableVpcClassicLink.go @@ -38,13 +38,13 @@ type DisableVpcClassicLinkInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisableVpcClassicLinkOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go index 973a1bb62e7..e660917b453 100644 --- a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go @@ -40,7 +40,7 @@ type DisableVpcClassicLinkDnsSupportInput struct { type DisableVpcClassicLinkDnsSupportOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DisassociateAddress.go b/service/ec2/api_op_DisassociateAddress.go index 6a0dfc0ee99..f85ae2cde41 100644 --- a/service/ec2/api_op_DisassociateAddress.go +++ b/service/ec2/api_op_DisassociateAddress.go @@ -40,7 +40,7 @@ type DisassociateAddressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // [EC2-Classic] The Elastic IP address. Required for EC2-Classic. PublicIp *string diff --git a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go index c746c618c95..4178a6c6acf 100644 --- a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go @@ -55,7 +55,7 @@ type DisassociateClientVpnTargetNetworkInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisassociateClientVpnTargetNetworkOutput struct { diff --git a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go index 12da32db93f..55d3aff72e7 100644 --- a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go @@ -41,7 +41,7 @@ type DisassociateEnclaveCertificateIamRoleInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ARN of the IAM role to disassociate. RoleArn *string @@ -50,7 +50,7 @@ type DisassociateEnclaveCertificateIamRoleInput struct { type DisassociateEnclaveCertificateIamRoleOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_DisassociateRouteTable.go b/service/ec2/api_op_DisassociateRouteTable.go index f182c20ad55..500a51843f7 100644 --- a/service/ec2/api_op_DisassociateRouteTable.go +++ b/service/ec2/api_op_DisassociateRouteTable.go @@ -43,7 +43,7 @@ type DisassociateRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisassociateRouteTableOutput struct { diff --git a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go index 11891189132..e25b14f87ac 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go @@ -33,7 +33,7 @@ type DisassociateTransitGatewayMulticastDomainInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of the subnets; SubnetIds []string diff --git a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go index 398c6cf4d0b..cf065a41c57 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go @@ -43,7 +43,7 @@ type DisassociateTransitGatewayRouteTableInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type DisassociateTransitGatewayRouteTableOutput struct { diff --git a/service/ec2/api_op_EnableEbsEncryptionByDefault.go b/service/ec2/api_op_EnableEbsEncryptionByDefault.go index 4c9ec0c3a93..eb805e36387 100644 --- a/service/ec2/api_op_EnableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_EnableEbsEncryptionByDefault.go @@ -43,13 +43,13 @@ type EnableEbsEncryptionByDefaultInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableEbsEncryptionByDefaultOutput struct { // The updated status of encryption by default. - EbsEncryptionByDefault bool + EbsEncryptionByDefault *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_EnableFastSnapshotRestores.go b/service/ec2/api_op_EnableFastSnapshotRestores.go index 09d9bf3a468..879206ca77b 100644 --- a/service/ec2/api_op_EnableFastSnapshotRestores.go +++ b/service/ec2/api_op_EnableFastSnapshotRestores.go @@ -51,7 +51,7 @@ type EnableFastSnapshotRestoresInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableFastSnapshotRestoresOutput struct { diff --git a/service/ec2/api_op_EnableSerialConsoleAccess.go b/service/ec2/api_op_EnableSerialConsoleAccess.go index 1a1ae376dc1..359b2e0e212 100644 --- a/service/ec2/api_op_EnableSerialConsoleAccess.go +++ b/service/ec2/api_op_EnableSerialConsoleAccess.go @@ -36,7 +36,7 @@ type EnableSerialConsoleAccessInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableSerialConsoleAccessOutput struct { @@ -44,7 +44,7 @@ type EnableSerialConsoleAccessOutput struct { // If true, access to the EC2 serial console of all instances is enabled for your // account. If false, access to the EC2 serial console of all instances is disabled // for your account. - SerialConsoleAccessEnabled bool + SerialConsoleAccessEnabled *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go index 5e34afbf558..76de8ea8248 100644 --- a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go @@ -44,7 +44,7 @@ type EnableTransitGatewayRouteTablePropagationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableTransitGatewayRouteTablePropagationOutput struct { diff --git a/service/ec2/api_op_EnableVgwRoutePropagation.go b/service/ec2/api_op_EnableVgwRoutePropagation.go index ae37f937517..79b49b1e7b3 100644 --- a/service/ec2/api_op_EnableVgwRoutePropagation.go +++ b/service/ec2/api_op_EnableVgwRoutePropagation.go @@ -47,7 +47,7 @@ type EnableVgwRoutePropagationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableVgwRoutePropagationOutput struct { diff --git a/service/ec2/api_op_EnableVolumeIO.go b/service/ec2/api_op_EnableVolumeIO.go index ea20be99cf3..e72f0aab4cb 100644 --- a/service/ec2/api_op_EnableVolumeIO.go +++ b/service/ec2/api_op_EnableVolumeIO.go @@ -38,7 +38,7 @@ type EnableVolumeIOInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableVolumeIOOutput struct { diff --git a/service/ec2/api_op_EnableVpcClassicLink.go b/service/ec2/api_op_EnableVpcClassicLink.go index 13d8965e2ff..e10680263c3 100644 --- a/service/ec2/api_op_EnableVpcClassicLink.go +++ b/service/ec2/api_op_EnableVpcClassicLink.go @@ -44,13 +44,13 @@ type EnableVpcClassicLinkInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type EnableVpcClassicLinkOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go index d3ffd0732c3..300363c07eb 100644 --- a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go @@ -43,7 +43,7 @@ type EnableVpcClassicLinkDnsSupportInput struct { type EnableVpcClassicLinkDnsSupportOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go index e1691455038..adde567a806 100644 --- a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go @@ -39,7 +39,7 @@ type ExportClientVpnClientCertificateRevocationListInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ExportClientVpnClientCertificateRevocationListOutput struct { diff --git a/service/ec2/api_op_ExportClientVpnClientConfiguration.go b/service/ec2/api_op_ExportClientVpnClientConfiguration.go index 7a9af5f5692..f3495cced2a 100644 --- a/service/ec2/api_op_ExportClientVpnClientConfiguration.go +++ b/service/ec2/api_op_ExportClientVpnClientConfiguration.go @@ -40,7 +40,7 @@ type ExportClientVpnClientConfigurationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ExportClientVpnClientConfigurationOutput struct { diff --git a/service/ec2/api_op_ExportImage.go b/service/ec2/api_op_ExportImage.go index a3687f18129..775558326bd 100644 --- a/service/ec2/api_op_ExportImage.go +++ b/service/ec2/api_op_ExportImage.go @@ -60,7 +60,7 @@ type ExportImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The name of the role that grants VM Import/Export permission to export images to // your Amazon S3 bucket. If this parameter is not specified, the default role is diff --git a/service/ec2/api_op_ExportTransitGatewayRoutes.go b/service/ec2/api_op_ExportTransitGatewayRoutes.go index 706c2216a22..22643bca5e8 100644 --- a/service/ec2/api_op_ExportTransitGatewayRoutes.go +++ b/service/ec2/api_op_ExportTransitGatewayRoutes.go @@ -48,7 +48,7 @@ type ExportTransitGatewayRoutesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // diff --git a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go index d432213a235..bfd71da112a 100644 --- a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go +++ b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go @@ -41,7 +41,7 @@ type GetAssociatedEnclaveCertificateIamRolesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetAssociatedEnclaveCertificateIamRolesOutput struct { diff --git a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go index ca38141b59f..f77aec59966 100644 --- a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go +++ b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go @@ -40,11 +40,11 @@ type GetAssociatedIpv6PoolCidrsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -164,8 +164,8 @@ func NewGetAssociatedIpv6PoolCidrsPaginator(client GetAssociatedIpv6PoolCidrsAPI } options := GetAssociatedIpv6PoolCidrsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -194,7 +194,11 @@ func (p *GetAssociatedIpv6PoolCidrsPaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetAssociatedIpv6PoolCidrs(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetCapacityReservationUsage.go b/service/ec2/api_op_GetCapacityReservationUsage.go index 50be4cfa8cc..4a95fe3bd1e 100644 --- a/service/ec2/api_op_GetCapacityReservationUsage.go +++ b/service/ec2/api_op_GetCapacityReservationUsage.go @@ -41,14 +41,14 @@ type GetCapacityReservationUsageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given a // larger value than 500, you receive an error. Valid range: Minimum value of 1. // Maximum value of 1000. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next page of results. NextToken *string @@ -58,7 +58,7 @@ type GetCapacityReservationUsageOutput struct { // The remaining capacity. Indicates the number of instances that can be launched // in the Capacity Reservation. - AvailableInstanceCount int32 + AvailableInstanceCount *int32 // The ID of the Capacity Reservation. CapacityReservationId *string @@ -97,7 +97,7 @@ type GetCapacityReservationUsageOutput struct { State types.CapacityReservationState // The number of instances for which the Capacity Reservation reserves capacity. - TotalInstanceCount int32 + TotalInstanceCount *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_GetCoipPoolUsage.go b/service/ec2/api_op_GetCoipPoolUsage.go index b26cd0b99a7..0c623be0c8b 100644 --- a/service/ec2/api_op_GetCoipPoolUsage.go +++ b/service/ec2/api_op_GetCoipPoolUsage.go @@ -38,7 +38,7 @@ type GetCoipPoolUsageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The filters. The following are the possible values: // @@ -55,7 +55,7 @@ type GetCoipPoolUsageInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string diff --git a/service/ec2/api_op_GetConsoleOutput.go b/service/ec2/api_op_GetConsoleOutput.go index bb53dab4b42..f2f5385566c 100644 --- a/service/ec2/api_op_GetConsoleOutput.go +++ b/service/ec2/api_op_GetConsoleOutput.go @@ -50,11 +50,11 @@ type GetConsoleOutputInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // When enabled, retrieves the latest console output for the instance. Default: // disabled (false) - Latest bool + Latest *bool } type GetConsoleOutputOutput struct { diff --git a/service/ec2/api_op_GetConsoleScreenshot.go b/service/ec2/api_op_GetConsoleScreenshot.go index 14a4cf4e7f6..43f94eaddb6 100644 --- a/service/ec2/api_op_GetConsoleScreenshot.go +++ b/service/ec2/api_op_GetConsoleScreenshot.go @@ -38,11 +38,11 @@ type GetConsoleScreenshotInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // When set to true, acts as keystroke input and wakes up an instance that's in // standby or "sleep" mode. - WakeUp bool + WakeUp *bool } type GetConsoleScreenshotOutput struct { diff --git a/service/ec2/api_op_GetDefaultCreditSpecification.go b/service/ec2/api_op_GetDefaultCreditSpecification.go index 64092fe17f5..7ea85ad66a9 100644 --- a/service/ec2/api_op_GetDefaultCreditSpecification.go +++ b/service/ec2/api_op_GetDefaultCreditSpecification.go @@ -41,7 +41,7 @@ type GetDefaultCreditSpecificationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetDefaultCreditSpecificationOutput struct { diff --git a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go index aff326ba168..484ea213415 100644 --- a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go @@ -37,7 +37,7 @@ type GetEbsDefaultKmsKeyIdInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetEbsDefaultKmsKeyIdOutput struct { diff --git a/service/ec2/api_op_GetEbsEncryptionByDefault.go b/service/ec2/api_op_GetEbsEncryptionByDefault.go index 77dc15180c4..e6e15c61087 100644 --- a/service/ec2/api_op_GetEbsEncryptionByDefault.go +++ b/service/ec2/api_op_GetEbsEncryptionByDefault.go @@ -35,13 +35,13 @@ type GetEbsEncryptionByDefaultInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetEbsEncryptionByDefaultOutput struct { // Indicates whether encryption by default is enabled. - EbsEncryptionByDefault bool + EbsEncryptionByDefault *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go b/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go index c4c695d2cd6..326133eb589 100644 --- a/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go +++ b/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go @@ -65,7 +65,7 @@ type GetFlowLogsIntegrationTemplateInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetFlowLogsIntegrationTemplateOutput struct { diff --git a/service/ec2/api_op_GetGroupsForCapacityReservation.go b/service/ec2/api_op_GetGroupsForCapacityReservation.go index 37cc182fa2b..730cd4e4867 100644 --- a/service/ec2/api_op_GetGroupsForCapacityReservation.go +++ b/service/ec2/api_op_GetGroupsForCapacityReservation.go @@ -39,13 +39,13 @@ type GetGroupsForCapacityReservationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return for the request in a single page. The // remaining results can be seen by sending another request with the returned // nextToken value. This value can be between 5 and 500. If maxResults is given a // larger value than 500, you receive an error. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next page of results. NextToken *string @@ -168,8 +168,8 @@ func NewGetGroupsForCapacityReservationPaginator(client GetGroupsForCapacityRese } options := GetGroupsForCapacityReservationPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -198,7 +198,11 @@ func (p *GetGroupsForCapacityReservationPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetGroupsForCapacityReservation(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetLaunchTemplateData.go b/service/ec2/api_op_GetLaunchTemplateData.go index d8aad3655bd..12bf333fe06 100644 --- a/service/ec2/api_op_GetLaunchTemplateData.go +++ b/service/ec2/api_op_GetLaunchTemplateData.go @@ -44,7 +44,7 @@ type GetLaunchTemplateDataInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetLaunchTemplateDataOutput struct { diff --git a/service/ec2/api_op_GetManagedPrefixListAssociations.go b/service/ec2/api_op_GetManagedPrefixListAssociations.go index e2c922978ac..239ee4f92fe 100644 --- a/service/ec2/api_op_GetManagedPrefixListAssociations.go +++ b/service/ec2/api_op_GetManagedPrefixListAssociations.go @@ -40,11 +40,11 @@ type GetManagedPrefixListAssociationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -164,8 +164,8 @@ func NewGetManagedPrefixListAssociationsPaginator(client GetManagedPrefixListAss } options := GetManagedPrefixListAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -194,7 +194,11 @@ func (p *GetManagedPrefixListAssociationsPaginator) NextPage(ctx context.Context params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetManagedPrefixListAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetManagedPrefixListEntries.go b/service/ec2/api_op_GetManagedPrefixListEntries.go index 38273e32b5a..3262a98f5ca 100644 --- a/service/ec2/api_op_GetManagedPrefixListEntries.go +++ b/service/ec2/api_op_GetManagedPrefixListEntries.go @@ -39,18 +39,18 @@ type GetManagedPrefixListEntriesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string // The version of the prefix list for which to return the entries. The default is // the current version. - TargetVersion int64 + TargetVersion *int64 } type GetManagedPrefixListEntriesOutput struct { @@ -167,8 +167,8 @@ func NewGetManagedPrefixListEntriesPaginator(client GetManagedPrefixListEntriesA } options := GetManagedPrefixListEntriesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -197,7 +197,11 @@ func (p *GetManagedPrefixListEntriesPaginator) NextPage(ctx context.Context, opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetManagedPrefixListEntries(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetPasswordData.go b/service/ec2/api_op_GetPasswordData.go index 6a87ae5e6d0..d378b3b1eae 100644 --- a/service/ec2/api_op_GetPasswordData.go +++ b/service/ec2/api_op_GetPasswordData.go @@ -57,7 +57,7 @@ type GetPasswordDataInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetPasswordDataOutput struct { diff --git a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go index 050adaa1236..7923c549407 100644 --- a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go @@ -43,7 +43,7 @@ type GetReservedInstancesExchangeQuoteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The configuration of the target Convertible Reserved Instance to exchange for // your current Convertible Reserved Instances. @@ -57,7 +57,7 @@ type GetReservedInstancesExchangeQuoteOutput struct { CurrencyCode *string // If true, the exchange is valid. If false, the exchange cannot be completed. - IsValidExchange bool + IsValidExchange *bool // The new end date of the reservation term. OutputReservedInstancesWillExpireAt *time.Time diff --git a/service/ec2/api_op_GetSerialConsoleAccessStatus.go b/service/ec2/api_op_GetSerialConsoleAccessStatus.go index 21e69bef413..fa0c4392b82 100644 --- a/service/ec2/api_op_GetSerialConsoleAccessStatus.go +++ b/service/ec2/api_op_GetSerialConsoleAccessStatus.go @@ -37,7 +37,7 @@ type GetSerialConsoleAccessStatusInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type GetSerialConsoleAccessStatusOutput struct { @@ -45,7 +45,7 @@ type GetSerialConsoleAccessStatusOutput struct { // If true, access to the EC2 serial console of all instances is enabled for your // account. If false, access to the EC2 serial console of all instances is disabled // for your account. - SerialConsoleAccessEnabled bool + SerialConsoleAccessEnabled *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go index 826a3f30f71..9992c9d7216 100644 --- a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go +++ b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go @@ -40,7 +40,7 @@ type GetTransitGatewayAttachmentPropagationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -50,7 +50,7 @@ type GetTransitGatewayAttachmentPropagationsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -170,8 +170,8 @@ func NewGetTransitGatewayAttachmentPropagationsPaginator(client GetTransitGatewa } options := GetTransitGatewayAttachmentPropagationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *GetTransitGatewayAttachmentPropagationsPaginator) NextPage(ctx context. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetTransitGatewayAttachmentPropagations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go index 6b7749f00d5..c3503591f5e 100644 --- a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go @@ -35,7 +35,7 @@ type GetTransitGatewayMulticastDomainAssociationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -57,7 +57,7 @@ type GetTransitGatewayMulticastDomainAssociationsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -177,8 +177,8 @@ func NewGetTransitGatewayMulticastDomainAssociationsPaginator(client GetTransitG } options := GetTransitGatewayMulticastDomainAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -207,7 +207,11 @@ func (p *GetTransitGatewayMulticastDomainAssociationsPaginator) NextPage(ctx con params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetTransitGatewayMulticastDomainAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go index 6ef97c53185..5bcfcc5a972 100644 --- a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go +++ b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go @@ -40,7 +40,7 @@ type GetTransitGatewayPrefixListReferencesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -68,7 +68,7 @@ type GetTransitGatewayPrefixListReferencesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -188,8 +188,8 @@ func NewGetTransitGatewayPrefixListReferencesPaginator(client GetTransitGatewayP } options := GetTransitGatewayPrefixListReferencesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -218,7 +218,11 @@ func (p *GetTransitGatewayPrefixListReferencesPaginator) NextPage(ctx context.Co params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetTransitGatewayPrefixListReferences(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go index cad64ffbc97..922a2f47b5c 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go @@ -40,7 +40,7 @@ type GetTransitGatewayRouteTableAssociationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -56,7 +56,7 @@ type GetTransitGatewayRouteTableAssociationsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewGetTransitGatewayRouteTableAssociationsPaginator(client GetTransitGatewa } options := GetTransitGatewayRouteTableAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *GetTransitGatewayRouteTableAssociationsPaginator) NextPage(ctx context. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetTransitGatewayRouteTableAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go index 36b54e908e9..c83f50ee65a 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go @@ -40,7 +40,7 @@ type GetTransitGatewayRouteTablePropagationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -56,7 +56,7 @@ type GetTransitGatewayRouteTablePropagationsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -176,8 +176,8 @@ func NewGetTransitGatewayRouteTablePropagationsPaginator(client GetTransitGatewa } options := GetTransitGatewayRouteTablePropagationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *GetTransitGatewayRouteTablePropagationsPaginator) NextPage(ctx context. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetTransitGatewayRouteTablePropagations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go index 80091f273dc..c11b133e3ea 100644 --- a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go @@ -49,13 +49,13 @@ type ImportClientVpnClientCertificateRevocationListInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ImportClientVpnClientCertificateRevocationListOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ImportImage.go b/service/ec2/api_op_ImportImage.go index 0713e79612b..3296f654883 100644 --- a/service/ec2/api_op_ImportImage.go +++ b/service/ec2/api_op_ImportImage.go @@ -52,7 +52,7 @@ type ImportImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specifies whether the destination AMI of the imported image should be encrypted. // The default CMK for EBS is used unless you specify a non-default AWS Key @@ -60,7 +60,7 @@ type ImportImageInput struct { // Amazon EBS Encryption // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the // Amazon Elastic Compute Cloud User Guide. - Encrypted bool + Encrypted *bool // The target hypervisor platform. Valid values: xen Hypervisor *string @@ -131,7 +131,7 @@ type ImportImageOutput struct { Description *string // Indicates whether the AMI is encrypted. - Encrypted bool + Encrypted *bool // The target hypervisor of the import task. Hypervisor *string diff --git a/service/ec2/api_op_ImportInstance.go b/service/ec2/api_op_ImportInstance.go index 8d954eb3629..ee992934889 100644 --- a/service/ec2/api_op_ImportInstance.go +++ b/service/ec2/api_op_ImportInstance.go @@ -52,7 +52,7 @@ type ImportInstanceInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The launch specification. LaunchSpecification *types.ImportInstanceLaunchSpecification diff --git a/service/ec2/api_op_ImportKeyPair.go b/service/ec2/api_op_ImportKeyPair.go index be8a4a2523d..a358805bce7 100644 --- a/service/ec2/api_op_ImportKeyPair.go +++ b/service/ec2/api_op_ImportKeyPair.go @@ -51,7 +51,7 @@ type ImportKeyPairInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the imported key pair. TagSpecifications []types.TagSpecification diff --git a/service/ec2/api_op_ImportSnapshot.go b/service/ec2/api_op_ImportSnapshot.go index 3c621d810d4..454a5a7cf23 100644 --- a/service/ec2/api_op_ImportSnapshot.go +++ b/service/ec2/api_op_ImportSnapshot.go @@ -48,7 +48,7 @@ type ImportSnapshotInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specifies whether the destination snapshot of the imported image should be // encrypted. The default CMK for EBS is used unless you specify a non-default AWS @@ -56,7 +56,7 @@ type ImportSnapshotInput struct { // Amazon EBS Encryption // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) in the // Amazon Elastic Compute Cloud User Guide. - Encrypted bool + Encrypted *bool // An identifier for the symmetric AWS Key Management Service (AWS KMS) customer // master key (CMK) to use when creating the encrypted snapshot. This parameter is diff --git a/service/ec2/api_op_ImportVolume.go b/service/ec2/api_op_ImportVolume.go index ae323e69997..5f653c41d18 100644 --- a/service/ec2/api_op_ImportVolume.go +++ b/service/ec2/api_op_ImportVolume.go @@ -60,7 +60,7 @@ type ImportVolumeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ImportVolumeOutput struct { diff --git a/service/ec2/api_op_ModifyAddressAttribute.go b/service/ec2/api_op_ModifyAddressAttribute.go index 1a2619b5757..877172058e6 100644 --- a/service/ec2/api_op_ModifyAddressAttribute.go +++ b/service/ec2/api_op_ModifyAddressAttribute.go @@ -43,7 +43,7 @@ type ModifyAddressAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyAddressAttributeOutput struct { diff --git a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go index 3c3a3b98312..750fee78e9e 100644 --- a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go +++ b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go @@ -50,13 +50,13 @@ type ModifyAvailabilityZoneGroupInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyAvailabilityZoneGroupOutput struct { // Is true if the request succeeds, and an error otherwise. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyCapacityReservation.go b/service/ec2/api_op_ModifyCapacityReservation.go index fde95b2df30..cc5cd2d6c06 100644 --- a/service/ec2/api_op_ModifyCapacityReservation.go +++ b/service/ec2/api_op_ModifyCapacityReservation.go @@ -41,13 +41,13 @@ type ModifyCapacityReservationInput struct { CapacityReservationId *string // Reserved. Capacity Reservations you have created are accepted by default. - Accept bool + Accept *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The date and time at which the Capacity Reservation expires. When a Capacity // Reservation expires, the reserved capacity is released and you can no longer @@ -72,13 +72,13 @@ type ModifyCapacityReservationInput struct { EndDateType types.EndDateType // The number of instances for which to reserve capacity. - InstanceCount int32 + InstanceCount *int32 } type ModifyCapacityReservationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyClientVpnEndpoint.go b/service/ec2/api_op_ModifyClientVpnEndpoint.go index ce855d09dce..27e3367f668 100644 --- a/service/ec2/api_op_ModifyClientVpnEndpoint.go +++ b/service/ec2/api_op_ModifyClientVpnEndpoint.go @@ -65,7 +65,7 @@ type ModifyClientVpnEndpointInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of one or more security groups to apply to the target network. SecurityGroupIds []string @@ -81,20 +81,20 @@ type ModifyClientVpnEndpointInput struct { // VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint // (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) // in the AWS Client VPN Administrator Guide. - SplitTunnel bool + SplitTunnel *bool // The ID of the VPC to associate with the Client VPN endpoint. VpcId *string // The port number to assign to the Client VPN endpoint for TCP and UDP traffic. // Valid Values: 443 | 1194 Default Value: 443 - VpnPort int32 + VpnPort *int32 } type ModifyClientVpnEndpointOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyDefaultCreditSpecification.go b/service/ec2/api_op_ModifyDefaultCreditSpecification.go index 50f250afc98..ff7f56b282b 100644 --- a/service/ec2/api_op_ModifyDefaultCreditSpecification.go +++ b/service/ec2/api_op_ModifyDefaultCreditSpecification.go @@ -56,7 +56,7 @@ type ModifyDefaultCreditSpecificationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyDefaultCreditSpecificationOutput struct { diff --git a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go index 4c3c84c5b22..e52fc49ce04 100644 --- a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go @@ -67,7 +67,7 @@ type ModifyEbsDefaultKmsKeyIdInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyEbsDefaultKmsKeyIdOutput struct { diff --git a/service/ec2/api_op_ModifyFleet.go b/service/ec2/api_op_ModifyFleet.go index 22996703401..5b23e3c76ef 100644 --- a/service/ec2/api_op_ModifyFleet.go +++ b/service/ec2/api_op_ModifyFleet.go @@ -60,7 +60,7 @@ type ModifyFleetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Indicates whether running instances should be terminated if the total target // capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet. @@ -76,7 +76,7 @@ type ModifyFleetInput struct { type ModifyFleetOutput struct { // Is true if the request succeeds, and an error otherwise. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyFpgaImageAttribute.go b/service/ec2/api_op_ModifyFpgaImageAttribute.go index 7733b4830c0..e2fadaea203 100644 --- a/service/ec2/api_op_ModifyFpgaImageAttribute.go +++ b/service/ec2/api_op_ModifyFpgaImageAttribute.go @@ -44,7 +44,7 @@ type ModifyFpgaImageAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The load permission for the AFI. LoadPermission *types.LoadPermissionModifications diff --git a/service/ec2/api_op_ModifyIdFormat.go b/service/ec2/api_op_ModifyIdFormat.go index f0c4b0c3a78..4a05cfb387d 100644 --- a/service/ec2/api_op_ModifyIdFormat.go +++ b/service/ec2/api_op_ModifyIdFormat.go @@ -64,7 +64,7 @@ type ModifyIdFormatInput struct { // Indicate whether the resource should use longer IDs (17-character IDs). // // This member is required. - UseLongIds bool + UseLongIds *bool } type ModifyIdFormatOutput struct { diff --git a/service/ec2/api_op_ModifyIdentityIdFormat.go b/service/ec2/api_op_ModifyIdentityIdFormat.go index da2cfbe32a0..0189cf4cd72 100644 --- a/service/ec2/api_op_ModifyIdentityIdFormat.go +++ b/service/ec2/api_op_ModifyIdentityIdFormat.go @@ -69,7 +69,7 @@ type ModifyIdentityIdFormatInput struct { // Indicates whether the resource should use longer IDs (17-character IDs) // // This member is required. - UseLongIds bool + UseLongIds *bool } type ModifyIdentityIdFormatOutput struct { diff --git a/service/ec2/api_op_ModifyImageAttribute.go b/service/ec2/api_op_ModifyImageAttribute.go index 52f9a1428a2..8b8ac0cbeb2 100644 --- a/service/ec2/api_op_ModifyImageAttribute.go +++ b/service/ec2/api_op_ModifyImageAttribute.go @@ -52,7 +52,7 @@ type ModifyImageAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // A new launch permission for the AMI. LaunchPermission *types.LaunchPermissionModifications diff --git a/service/ec2/api_op_ModifyInstanceAttribute.go b/service/ec2/api_op_ModifyInstanceAttribute.go index cca794043c0..de40221e8c0 100644 --- a/service/ec2/api_op_ModifyInstanceAttribute.go +++ b/service/ec2/api_op_ModifyInstanceAttribute.go @@ -65,7 +65,7 @@ type ModifyInstanceAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specifies whether the instance is optimized for Amazon EBS I/O. This // optimization provides dedicated throughput to Amazon EBS and an optimized diff --git a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go index fdcea51b7db..7ccf454ffb7 100644 --- a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go +++ b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go @@ -46,13 +46,13 @@ type ModifyInstanceCapacityReservationAttributesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyInstanceCapacityReservationAttributesOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyInstanceCreditSpecification.go b/service/ec2/api_op_ModifyInstanceCreditSpecification.go index 71d8730b9af..127dea5cdaf 100644 --- a/service/ec2/api_op_ModifyInstanceCreditSpecification.go +++ b/service/ec2/api_op_ModifyInstanceCreditSpecification.go @@ -47,7 +47,7 @@ type ModifyInstanceCreditSpecificationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyInstanceCreditSpecificationOutput struct { diff --git a/service/ec2/api_op_ModifyInstanceEventStartTime.go b/service/ec2/api_op_ModifyInstanceEventStartTime.go index 7caeecd5b7b..5dd94fb6959 100644 --- a/service/ec2/api_op_ModifyInstanceEventStartTime.go +++ b/service/ec2/api_op_ModifyInstanceEventStartTime.go @@ -49,7 +49,7 @@ type ModifyInstanceEventStartTimeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyInstanceEventStartTimeOutput struct { diff --git a/service/ec2/api_op_ModifyInstanceMetadataOptions.go b/service/ec2/api_op_ModifyInstanceMetadataOptions.go index 5258d477d0f..49cb1f6bc07 100644 --- a/service/ec2/api_op_ModifyInstanceMetadataOptions.go +++ b/service/ec2/api_op_ModifyInstanceMetadataOptions.go @@ -46,7 +46,7 @@ type ModifyInstanceMetadataOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // This parameter enables or disables the HTTP metadata endpoint on your instances. // If the parameter is not specified, the existing state is maintained. If you @@ -58,7 +58,7 @@ type ModifyInstanceMetadataOptionsInput struct { // larger the number, the further instance metadata requests can travel. If no // parameter is specified, the existing state is maintained. Possible values: // Integers from 1 to 64 - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. If the parameter // is not specified in the request, the default state is optional. If the state is diff --git a/service/ec2/api_op_ModifyInstancePlacement.go b/service/ec2/api_op_ModifyInstancePlacement.go index 6c0e9992bd3..10c155be157 100644 --- a/service/ec2/api_op_ModifyInstancePlacement.go +++ b/service/ec2/api_op_ModifyInstancePlacement.go @@ -75,7 +75,7 @@ type ModifyInstancePlacementInput struct { HostResourceGroupArn *string // Reserved for future use. - PartitionNumber int32 + PartitionNumber *int32 // The tenancy for the instance. Tenancy types.HostTenancy @@ -84,7 +84,7 @@ type ModifyInstancePlacementInput struct { type ModifyInstancePlacementOutput struct { // Is true if the request succeeds, and an error otherwise. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyLaunchTemplate.go b/service/ec2/api_op_ModifyLaunchTemplate.go index 6569524a650..0c15847c170 100644 --- a/service/ec2/api_op_ModifyLaunchTemplate.go +++ b/service/ec2/api_op_ModifyLaunchTemplate.go @@ -44,7 +44,7 @@ type ModifyLaunchTemplateInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the launch template. You must specify either the launch template ID or // launch template name in the request. diff --git a/service/ec2/api_op_ModifyManagedPrefixList.go b/service/ec2/api_op_ModifyManagedPrefixList.go index 8f71a4e21dc..ff682c7c929 100644 --- a/service/ec2/api_op_ModifyManagedPrefixList.go +++ b/service/ec2/api_op_ModifyManagedPrefixList.go @@ -41,13 +41,13 @@ type ModifyManagedPrefixListInput struct { AddEntries []types.AddPrefixListEntry // The current version of the prefix list. - CurrentVersion int64 + CurrentVersion *int64 // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // A name for the prefix list. PrefixListName *string diff --git a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go index 904443ac45f..327c2ecc835 100644 --- a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go @@ -48,7 +48,7 @@ type ModifyNetworkInterfaceAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Changes the security groups for the network interface. The new set of groups you // specify replaces the current set. You must specify at least one group, even if diff --git a/service/ec2/api_op_ModifySnapshotAttribute.go b/service/ec2/api_op_ModifySnapshotAttribute.go index d25165d2982..e210d7c66c7 100644 --- a/service/ec2/api_op_ModifySnapshotAttribute.go +++ b/service/ec2/api_op_ModifySnapshotAttribute.go @@ -55,7 +55,7 @@ type ModifySnapshotAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The group to modify for the snapshot. GroupNames []string diff --git a/service/ec2/api_op_ModifySpotFleetRequest.go b/service/ec2/api_op_ModifySpotFleetRequest.go index c6c78df0372..c68b5a89266 100644 --- a/service/ec2/api_op_ModifySpotFleetRequest.go +++ b/service/ec2/api_op_ModifySpotFleetRequest.go @@ -69,17 +69,17 @@ type ModifySpotFleetRequestInput struct { LaunchTemplateConfigs []types.LaunchTemplateConfig // The number of On-Demand Instances in the fleet. - OnDemandTargetCapacity int32 + OnDemandTargetCapacity *int32 // The size of the fleet. - TargetCapacity int32 + TargetCapacity *int32 } // Contains the output of ModifySpotFleetRequest. type ModifySpotFleetRequestOutput struct { // Is true if the request succeeds, and an error otherwise. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go index 2f14b939c1b..3ea198c6ed5 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go @@ -49,7 +49,7 @@ type ModifyTrafficMirrorFilterNetworkServicesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The network service, for example Amazon DNS, that you no longer want to mirror. RemoveNetworkServices []types.TrafficMirrorNetworkService diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go index 54fe90f6380..1b8f8cc3845 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go @@ -48,10 +48,10 @@ type ModifyTrafficMirrorFilterRuleInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The protocol, for example TCP, to assign to the Traffic Mirror rule. - Protocol int32 + Protocol *int32 // The properties that you want to remove from the Traffic Mirror filter rule. When // you remove a property from a Traffic Mirror filter rule, the property is set to @@ -64,7 +64,7 @@ type ModifyTrafficMirrorFilterRuleInput struct { // The number of the Traffic Mirror rule. This number must be unique for each // Traffic Mirror rule in a given direction. The rules are processed in ascending // order by rule number. - RuleNumber int32 + RuleNumber *int32 // The source CIDR block to assign to the Traffic Mirror rule. SourceCidrBlock *string diff --git a/service/ec2/api_op_ModifyTrafficMirrorSession.go b/service/ec2/api_op_ModifyTrafficMirrorSession.go index 666f63bf3b3..26e84c1e6e5 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorSession.go +++ b/service/ec2/api_op_ModifyTrafficMirrorSession.go @@ -41,14 +41,14 @@ type ModifyTrafficMirrorSessionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The number of bytes in each packet to mirror. These are bytes after the VXLAN // header. To mirror a subset, set this to the length (in bytes) to mirror. For // example, if you set this value to 100, then the first 100 bytes that meet the // filter criteria are copied to the target. Do not specify this parameter when you // want to mirror the entire packet. - PacketLength int32 + PacketLength *int32 // The properties that you want to remove from the Traffic Mirror session. When you // remove a property from a Traffic Mirror session, the property is set to the @@ -58,7 +58,7 @@ type ModifyTrafficMirrorSessionInput struct { // The session number determines the order in which sessions are evaluated when an // interface is used by multiple sessions. The first session with a matching filter // is the one that mirrors the packets. Valid values are 1-32766. - SessionNumber int32 + SessionNumber *int32 // The ID of the Traffic Mirror filter. TrafficMirrorFilterId *string @@ -68,7 +68,7 @@ type ModifyTrafficMirrorSessionInput struct { TrafficMirrorTargetId *string // The virtual network ID of the Traffic Mirror session. - VirtualNetworkId int32 + VirtualNetworkId *int32 } type ModifyTrafficMirrorSessionOutput struct { diff --git a/service/ec2/api_op_ModifyTransitGateway.go b/service/ec2/api_op_ModifyTransitGateway.go index b62ba4c3ec3..4c9f58512b4 100644 --- a/service/ec2/api_op_ModifyTransitGateway.go +++ b/service/ec2/api_op_ModifyTransitGateway.go @@ -43,7 +43,7 @@ type ModifyTransitGatewayInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The options to modify. Options *types.ModifyTransitGatewayOptions diff --git a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go index 13d1f6647c0..6a44ea4a5ac 100644 --- a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go @@ -41,13 +41,13 @@ type ModifyTransitGatewayPrefixListReferenceInput struct { TransitGatewayRouteTableId *string // Indicates whether to drop traffic that matches this route. - Blackhole bool + Blackhole *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the attachment to which traffic is routed. TransitGatewayAttachmentId *string diff --git a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go index b2955c53233..0fdbc32dc9a 100644 --- a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go @@ -42,7 +42,7 @@ type ModifyTransitGatewayVpcAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The new VPC attachment options. You cannot modify the IPv6 options. Options *types.ModifyTransitGatewayVpcAttachmentRequestOptions diff --git a/service/ec2/api_op_ModifyVolume.go b/service/ec2/api_op_ModifyVolume.go index e56d603bf58..aeb13730bda 100644 --- a/service/ec2/api_op_ModifyVolume.go +++ b/service/ec2/api_op_ModifyVolume.go @@ -71,7 +71,7 @@ type ModifyVolumeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The target IOPS rate of the volume. This parameter is valid only for gp3, io1, // and io2 volumes. The following are the supported values for each volume type: @@ -86,7 +86,7 @@ type ModifyVolumeInput struct { // Default: // If no IOPS value is specified, the existing value is retained, unless a volume // type is modified that supports different values. - Iops int32 + Iops *int32 // Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, // you can attach the volume to up to 16 Nitro-based instances @@ -95,7 +95,7 @@ type ModifyVolumeInput struct { // volumes only. For more information, see Amazon EBS Multi-Attach // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html) in // the Amazon Elastic Compute Cloud User Guide. - MultiAttachEnabled bool + MultiAttachEnabled *bool // The target size of the volume, in GiB. The target volume size must be greater // than or equal to the existing size of the volume. The following are the @@ -112,13 +112,13 @@ type ModifyVolumeInput struct { // // Default: If // no size is specified, the existing size is retained. - Size int32 + Size *int32 // The target throughput of the volume, in MiB/s. This parameter is valid only for // gp3 volumes. The maximum value is 1,000. Default: If no throughput value is // specified, the existing value is retained. Valid Range: Minimum value of 125. // Maximum value of 1000. - Throughput int32 + Throughput *int32 // The target EBS volume type of the volume. For more information, see Amazon EBS // volume types diff --git a/service/ec2/api_op_ModifyVolumeAttribute.go b/service/ec2/api_op_ModifyVolumeAttribute.go index b98d2b51ea2..139825ae086 100644 --- a/service/ec2/api_op_ModifyVolumeAttribute.go +++ b/service/ec2/api_op_ModifyVolumeAttribute.go @@ -47,7 +47,7 @@ type ModifyVolumeAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyVolumeAttributeOutput struct { diff --git a/service/ec2/api_op_ModifyVpcEndpoint.go b/service/ec2/api_op_ModifyVpcEndpoint.go index ee131f9f5a2..e52e9db9763 100644 --- a/service/ec2/api_op_ModifyVpcEndpoint.go +++ b/service/ec2/api_op_ModifyVpcEndpoint.go @@ -54,7 +54,7 @@ type ModifyVpcEndpointInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // (Interface and gateway endpoints) A policy to attach to the endpoint that // controls access to the service. The policy must be in valid JSON format. @@ -62,7 +62,7 @@ type ModifyVpcEndpointInput struct { // (Interface endpoint) Indicates whether a private hosted zone is associated with // the VPC. - PrivateDnsEnabled bool + PrivateDnsEnabled *bool // (Gateway endpoint) One or more route table IDs to disassociate from the // endpoint. @@ -77,13 +77,13 @@ type ModifyVpcEndpointInput struct { // (Gateway endpoint) Specify true to reset the policy document to the default // policy. The default policy allows full access to the service. - ResetPolicy bool + ResetPolicy *bool } type ModifyVpcEndpointOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go index e9b9830265f..ff0f9e1f2c6 100644 --- a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go @@ -46,13 +46,13 @@ type ModifyVpcEndpointConnectionNotificationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyVpcEndpointConnectionNotificationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - ReturnValue bool + ReturnValue *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go index f390ce424ce..a28879e6d1e 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go @@ -42,7 +42,7 @@ type ModifyVpcEndpointServiceConfigurationInput struct { // Indicates whether requests to create an endpoint to your service must be // accepted. - AcceptanceRequired bool + AcceptanceRequired *bool // The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your // service configuration. @@ -56,7 +56,7 @@ type ModifyVpcEndpointServiceConfigurationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // (Interface endpoint configuration) The private DNS name to assign to the // endpoint service. @@ -72,13 +72,13 @@ type ModifyVpcEndpointServiceConfigurationInput struct { // (Interface endpoint configuration) Removes the private DNS name of the endpoint // service. - RemovePrivateDnsName bool + RemovePrivateDnsName *bool } type ModifyVpcEndpointServiceConfigurationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go index 68f26918f64..8319d723dd9 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go @@ -48,7 +48,7 @@ type ModifyVpcEndpointServicePermissionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Amazon Resource Names (ARN) of one or more principals. Permissions are // revoked for principals in this list. @@ -58,7 +58,7 @@ type ModifyVpcEndpointServicePermissionsInput struct { type ModifyVpcEndpointServicePermissionsOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - ReturnValue bool + ReturnValue *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go index 48062a14089..56dd879bbcd 100644 --- a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go @@ -66,7 +66,7 @@ type ModifyVpcPeeringConnectionOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The VPC peering connection options for the requester VPC. RequesterPeeringConnectionOptions *types.PeeringConnectionOptionsRequest diff --git a/service/ec2/api_op_ModifyVpcTenancy.go b/service/ec2/api_op_ModifyVpcTenancy.go index 7e48ecff313..30806c0bcff 100644 --- a/service/ec2/api_op_ModifyVpcTenancy.go +++ b/service/ec2/api_op_ModifyVpcTenancy.go @@ -51,13 +51,13 @@ type ModifyVpcTenancyInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyVpcTenancyOutput struct { // Returns true if the request succeeds; otherwise, returns an error. - ReturnValue bool + ReturnValue *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ModifyVpnConnection.go b/service/ec2/api_op_ModifyVpnConnection.go index eea487ec6f2..064c505abcc 100644 --- a/service/ec2/api_op_ModifyVpnConnection.go +++ b/service/ec2/api_op_ModifyVpnConnection.go @@ -75,7 +75,7 @@ type ModifyVpnConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the transit gateway. TransitGatewayId *string diff --git a/service/ec2/api_op_ModifyVpnConnectionOptions.go b/service/ec2/api_op_ModifyVpnConnectionOptions.go index 3be36592fb2..5c59cfed063 100644 --- a/service/ec2/api_op_ModifyVpnConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpnConnectionOptions.go @@ -41,7 +41,7 @@ type ModifyVpnConnectionOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. // Default: 0.0.0.0/0 diff --git a/service/ec2/api_op_ModifyVpnTunnelCertificate.go b/service/ec2/api_op_ModifyVpnTunnelCertificate.go index 49e8c6bf94b..f44df13c03a 100644 --- a/service/ec2/api_op_ModifyVpnTunnelCertificate.go +++ b/service/ec2/api_op_ModifyVpnTunnelCertificate.go @@ -43,7 +43,7 @@ type ModifyVpnTunnelCertificateInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyVpnTunnelCertificateOutput struct { diff --git a/service/ec2/api_op_ModifyVpnTunnelOptions.go b/service/ec2/api_op_ModifyVpnTunnelOptions.go index ca070b4ffdb..48bce8fa4de 100644 --- a/service/ec2/api_op_ModifyVpnTunnelOptions.go +++ b/service/ec2/api_op_ModifyVpnTunnelOptions.go @@ -53,7 +53,7 @@ type ModifyVpnTunnelOptionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ModifyVpnTunnelOptionsOutput struct { diff --git a/service/ec2/api_op_MonitorInstances.go b/service/ec2/api_op_MonitorInstances.go index 1619a679442..d1f3eb75240 100644 --- a/service/ec2/api_op_MonitorInstances.go +++ b/service/ec2/api_op_MonitorInstances.go @@ -41,7 +41,7 @@ type MonitorInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type MonitorInstancesOutput struct { diff --git a/service/ec2/api_op_MoveAddressToVpc.go b/service/ec2/api_op_MoveAddressToVpc.go index 4b72b35550d..b5427b2bc79 100644 --- a/service/ec2/api_op_MoveAddressToVpc.go +++ b/service/ec2/api_op_MoveAddressToVpc.go @@ -44,7 +44,7 @@ type MoveAddressToVpcInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type MoveAddressToVpcOutput struct { diff --git a/service/ec2/api_op_ProvisionByoipCidr.go b/service/ec2/api_op_ProvisionByoipCidr.go index f8500a86ff2..5fa4bcf4f9f 100644 --- a/service/ec2/api_op_ProvisionByoipCidr.go +++ b/service/ec2/api_op_ProvisionByoipCidr.go @@ -63,14 +63,14 @@ type ProvisionByoipCidrInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The tags to apply to the address pool. PoolTagSpecifications []types.TagSpecification // (IPv6 only) Indicate whether the address range will be publicly advertised to // the internet. Default: true - PubliclyAdvertisable bool + PubliclyAdvertisable *bool } type ProvisionByoipCidrOutput struct { diff --git a/service/ec2/api_op_PurchaseReservedInstancesOffering.go b/service/ec2/api_op_PurchaseReservedInstancesOffering.go index 28db2a88a97..97e6b3aa217 100644 --- a/service/ec2/api_op_PurchaseReservedInstancesOffering.go +++ b/service/ec2/api_op_PurchaseReservedInstancesOffering.go @@ -45,7 +45,7 @@ type PurchaseReservedInstancesOfferingInput struct { // The number of Reserved Instances to purchase. // // This member is required. - InstanceCount int32 + InstanceCount *int32 // The ID of the Reserved Instance offering to purchase. // @@ -56,7 +56,7 @@ type PurchaseReservedInstancesOfferingInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Specified for Reserved Instance Marketplace offerings to limit the total order // and ensure that the Reserved Instances are not purchased at unexpected prices. diff --git a/service/ec2/api_op_PurchaseScheduledInstances.go b/service/ec2/api_op_PurchaseScheduledInstances.go index ec00de6b1b3..b959fce5962 100644 --- a/service/ec2/api_op_PurchaseScheduledInstances.go +++ b/service/ec2/api_op_PurchaseScheduledInstances.go @@ -51,7 +51,7 @@ type PurchaseScheduledInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of PurchaseScheduledInstances. diff --git a/service/ec2/api_op_RebootInstances.go b/service/ec2/api_op_RebootInstances.go index 33d8cbb1917..1b96f8e3b61 100644 --- a/service/ec2/api_op_RebootInstances.go +++ b/service/ec2/api_op_RebootInstances.go @@ -44,7 +44,7 @@ type RebootInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RebootInstancesOutput struct { diff --git a/service/ec2/api_op_RegisterImage.go b/service/ec2/api_op_RegisterImage.go index 3724521ce36..93067ae37e8 100644 --- a/service/ec2/api_op_RegisterImage.go +++ b/service/ec2/api_op_RegisterImage.go @@ -112,13 +112,13 @@ type RegisterImageInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Set to true to enable enhanced networking with ENA for the AMI and any instances // that you launch from the AMI. This option is supported only for HVM AMIs. // Specifying this option with a PV AMI can make instances launched from the AMI // unreachable. - EnaSupport bool + EnaSupport *bool // The full path to your AMI manifest in Amazon S3 storage. The specified bucket // must have the aws-exec-read canned access control list (ACL) to ensure that it diff --git a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go index 9846b32511c..ad207f10a86 100644 --- a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go @@ -34,7 +34,7 @@ type RegisterInstanceEventNotificationAttributesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Information about the tag keys to register. InstanceTagAttribute *types.RegisterInstanceTagAttributeRequest diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go index cec3c27c41b..0b37a3cd32d 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go @@ -41,7 +41,7 @@ type RegisterTransitGatewayMulticastGroupMembersInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IP address assigned to the transit gateway multicast group. GroupIpAddress *string diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go index 632d4350351..1b4eb8bfe4f 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go @@ -41,7 +41,7 @@ type RegisterTransitGatewayMulticastGroupSourcesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IP address assigned to the transit gateway multicast group. GroupIpAddress *string diff --git a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go index ba5433e3df2..23adefd47d6 100644 --- a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go @@ -34,7 +34,7 @@ type RejectTransitGatewayMulticastDomainAssociationsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The IDs of the subnets to associate with the transit gateway multicast domain. SubnetIds []string diff --git a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go index 93dbe10460a..0d9b3c6daac 100644 --- a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go @@ -38,7 +38,7 @@ type RejectTransitGatewayPeeringAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RejectTransitGatewayPeeringAttachmentOutput struct { diff --git a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go index 8c773afe710..9017386c8fd 100644 --- a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go @@ -41,7 +41,7 @@ type RejectTransitGatewayVpcAttachmentInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RejectTransitGatewayVpcAttachmentOutput struct { diff --git a/service/ec2/api_op_RejectVpcEndpointConnections.go b/service/ec2/api_op_RejectVpcEndpointConnections.go index 25e0475d3c7..ec933651d9c 100644 --- a/service/ec2/api_op_RejectVpcEndpointConnections.go +++ b/service/ec2/api_op_RejectVpcEndpointConnections.go @@ -44,7 +44,7 @@ type RejectVpcEndpointConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RejectVpcEndpointConnectionsOutput struct { diff --git a/service/ec2/api_op_RejectVpcPeeringConnection.go b/service/ec2/api_op_RejectVpcPeeringConnection.go index 16cecff541f..83ccb5a5dc7 100644 --- a/service/ec2/api_op_RejectVpcPeeringConnection.go +++ b/service/ec2/api_op_RejectVpcPeeringConnection.go @@ -41,13 +41,13 @@ type RejectVpcPeeringConnectionInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RejectVpcPeeringConnectionOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ReleaseAddress.go b/service/ec2/api_op_ReleaseAddress.go index 52c65d79600..0630fed0390 100644 --- a/service/ec2/api_op_ReleaseAddress.go +++ b/service/ec2/api_op_ReleaseAddress.go @@ -46,7 +46,7 @@ type ReleaseAddressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS // advertises IP addresses. If you provide an incorrect network border group, you diff --git a/service/ec2/api_op_ReplaceNetworkAclAssociation.go b/service/ec2/api_op_ReplaceNetworkAclAssociation.go index db45337a678..d5ec8e5d1ee 100644 --- a/service/ec2/api_op_ReplaceNetworkAclAssociation.go +++ b/service/ec2/api_op_ReplaceNetworkAclAssociation.go @@ -47,7 +47,7 @@ type ReplaceNetworkAclAssociationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ReplaceNetworkAclAssociationOutput struct { diff --git a/service/ec2/api_op_ReplaceNetworkAclEntry.go b/service/ec2/api_op_ReplaceNetworkAclEntry.go index 37ccd83ff0d..518be28498e 100644 --- a/service/ec2/api_op_ReplaceNetworkAclEntry.go +++ b/service/ec2/api_op_ReplaceNetworkAclEntry.go @@ -35,7 +35,7 @@ type ReplaceNetworkAclEntryInput struct { // we replace the ingress rule. // // This member is required. - Egress bool + Egress *bool // The ID of the ACL. // @@ -61,7 +61,7 @@ type ReplaceNetworkAclEntryInput struct { // The rule number of the entry to replace. // // This member is required. - RuleNumber int32 + RuleNumber *int32 // The IPv4 network range to allow or deny, in CIDR notation (for example // 172.16.0.0/24). @@ -71,7 +71,7 @@ type ReplaceNetworkAclEntryInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol // 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. diff --git a/service/ec2/api_op_ReplaceRoute.go b/service/ec2/api_op_ReplaceRoute.go index af6b5c13e55..298f505f15b 100644 --- a/service/ec2/api_op_ReplaceRoute.go +++ b/service/ec2/api_op_ReplaceRoute.go @@ -56,7 +56,7 @@ type ReplaceRouteInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // [IPv6 traffic only] The ID of an egress-only internet gateway. EgressOnlyInternetGatewayId *string @@ -71,7 +71,7 @@ type ReplaceRouteInput struct { LocalGatewayId *string // Specifies whether to reset the local route to its default target (local). - LocalTarget bool + LocalTarget *bool // [IPv4 traffic only] The ID of a NAT gateway. NatGatewayId *string diff --git a/service/ec2/api_op_ReplaceRouteTableAssociation.go b/service/ec2/api_op_ReplaceRouteTableAssociation.go index e78530ac625..fad31a8e98d 100644 --- a/service/ec2/api_op_ReplaceRouteTableAssociation.go +++ b/service/ec2/api_op_ReplaceRouteTableAssociation.go @@ -50,7 +50,7 @@ type ReplaceRouteTableAssociationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ReplaceRouteTableAssociationOutput struct { diff --git a/service/ec2/api_op_ReplaceTransitGatewayRoute.go b/service/ec2/api_op_ReplaceTransitGatewayRoute.go index c2372000be2..5ff84cc6af4 100644 --- a/service/ec2/api_op_ReplaceTransitGatewayRoute.go +++ b/service/ec2/api_op_ReplaceTransitGatewayRoute.go @@ -41,13 +41,13 @@ type ReplaceTransitGatewayRouteInput struct { TransitGatewayRouteTableId *string // Indicates whether traffic matching this route is to be dropped. - Blackhole bool + Blackhole *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the attachment. TransitGatewayAttachmentId *string diff --git a/service/ec2/api_op_ReportInstanceStatus.go b/service/ec2/api_op_ReportInstanceStatus.go index 87f9031d6df..4d12b03e41d 100644 --- a/service/ec2/api_op_ReportInstanceStatus.go +++ b/service/ec2/api_op_ReportInstanceStatus.go @@ -85,7 +85,7 @@ type ReportInstanceStatusInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The time at which the reported instance health state ended. EndTime *time.Time diff --git a/service/ec2/api_op_RequestSpotFleet.go b/service/ec2/api_op_RequestSpotFleet.go index 32345bc83da..80a1abef211 100644 --- a/service/ec2/api_op_RequestSpotFleet.go +++ b/service/ec2/api_op_RequestSpotFleet.go @@ -56,7 +56,7 @@ type RequestSpotFleetInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } // Contains the output of RequestSpotFleet. diff --git a/service/ec2/api_op_RequestSpotInstances.go b/service/ec2/api_op_RequestSpotInstances.go index 1ac4fe700b4..8245020ca23 100644 --- a/service/ec2/api_op_RequestSpotInstances.go +++ b/service/ec2/api_op_RequestSpotInstances.go @@ -61,7 +61,7 @@ type RequestSpotInstancesInput struct { // Availability Zone group or a launch group if you specify a duration. New // accounts or accounts with no previous billing history with AWS are not eligible // for Spot Instances with a defined duration (also known as Spot blocks). - BlockDurationMinutes int32 + BlockDurationMinutes *int32 // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency @@ -73,10 +73,10 @@ type RequestSpotInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of Spot Instances to launch. Default: 1 - InstanceCount int32 + InstanceCount *int32 // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior types.InstanceInterruptionBehavior diff --git a/service/ec2/api_op_ResetAddressAttribute.go b/service/ec2/api_op_ResetAddressAttribute.go index 1e847cc7dee..92dfb85dc99 100644 --- a/service/ec2/api_op_ResetAddressAttribute.go +++ b/service/ec2/api_op_ResetAddressAttribute.go @@ -45,7 +45,7 @@ type ResetAddressAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ResetAddressAttributeOutput struct { diff --git a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go index 3d009cdc640..67653ad036e 100644 --- a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go @@ -38,7 +38,7 @@ type ResetEbsDefaultKmsKeyIdInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ResetEbsDefaultKmsKeyIdOutput struct { diff --git a/service/ec2/api_op_ResetFpgaImageAttribute.go b/service/ec2/api_op_ResetFpgaImageAttribute.go index 1c44d85942d..8c70f14e970 100644 --- a/service/ec2/api_op_ResetFpgaImageAttribute.go +++ b/service/ec2/api_op_ResetFpgaImageAttribute.go @@ -42,13 +42,13 @@ type ResetFpgaImageAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ResetFpgaImageAttributeOutput struct { // Is true if the request succeeds, and an error otherwise. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_ResetImageAttribute.go b/service/ec2/api_op_ResetImageAttribute.go index f2fc8349164..6b98882891d 100644 --- a/service/ec2/api_op_ResetImageAttribute.go +++ b/service/ec2/api_op_ResetImageAttribute.go @@ -46,7 +46,7 @@ type ResetImageAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ResetImageAttributeOutput struct { diff --git a/service/ec2/api_op_ResetInstanceAttribute.go b/service/ec2/api_op_ResetInstanceAttribute.go index 1458c2556cc..0acdf32640b 100644 --- a/service/ec2/api_op_ResetInstanceAttribute.go +++ b/service/ec2/api_op_ResetInstanceAttribute.go @@ -52,7 +52,7 @@ type ResetInstanceAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ResetInstanceAttributeOutput struct { diff --git a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go index d19c711c22b..08ba26d6116 100644 --- a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go @@ -39,7 +39,7 @@ type ResetNetworkInterfaceAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The source/destination checking attribute. Resets the value to true. SourceDestCheck *string diff --git a/service/ec2/api_op_ResetSnapshotAttribute.go b/service/ec2/api_op_ResetSnapshotAttribute.go index 484d0862419..a93e76f8e4e 100644 --- a/service/ec2/api_op_ResetSnapshotAttribute.go +++ b/service/ec2/api_op_ResetSnapshotAttribute.go @@ -47,7 +47,7 @@ type ResetSnapshotAttributeInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type ResetSnapshotAttributeOutput struct { diff --git a/service/ec2/api_op_RestoreAddressToClassic.go b/service/ec2/api_op_RestoreAddressToClassic.go index 9f1737a25b5..6f73ea80add 100644 --- a/service/ec2/api_op_RestoreAddressToClassic.go +++ b/service/ec2/api_op_RestoreAddressToClassic.go @@ -41,7 +41,7 @@ type RestoreAddressToClassicInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RestoreAddressToClassicOutput struct { diff --git a/service/ec2/api_op_RestoreManagedPrefixListVersion.go b/service/ec2/api_op_RestoreManagedPrefixListVersion.go index 3851edb14f2..83293b7afa3 100644 --- a/service/ec2/api_op_RestoreManagedPrefixListVersion.go +++ b/service/ec2/api_op_RestoreManagedPrefixListVersion.go @@ -33,7 +33,7 @@ type RestoreManagedPrefixListVersionInput struct { // The current version number for the prefix list. // // This member is required. - CurrentVersion int64 + CurrentVersion *int64 // The ID of the prefix list. // @@ -43,13 +43,13 @@ type RestoreManagedPrefixListVersionInput struct { // The version to restore. // // This member is required. - PreviousVersion int64 + PreviousVersion *int64 // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type RestoreManagedPrefixListVersionOutput struct { diff --git a/service/ec2/api_op_RevokeClientVpnIngress.go b/service/ec2/api_op_RevokeClientVpnIngress.go index 7fecb7f8e50..1c229a61c2c 100644 --- a/service/ec2/api_op_RevokeClientVpnIngress.go +++ b/service/ec2/api_op_RevokeClientVpnIngress.go @@ -48,10 +48,10 @@ type RevokeClientVpnIngressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Indicates whether access should be revoked for all clients. - RevokeAllGroups bool + RevokeAllGroups *bool } type RevokeClientVpnIngressOutput struct { diff --git a/service/ec2/api_op_RevokeSecurityGroupEgress.go b/service/ec2/api_op_RevokeSecurityGroupEgress.go index e03aa6f93c5..d82a65bf3f5 100644 --- a/service/ec2/api_op_RevokeSecurityGroupEgress.go +++ b/service/ec2/api_op_RevokeSecurityGroupEgress.go @@ -54,10 +54,10 @@ type RevokeSecurityGroupEgressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Not supported. Use a set of IP permissions to specify the port. - FromPort int32 + FromPort *int32 // The sets of IP permissions. You can't specify a destination security group and a // CIDR IP address range in the same set of permissions. @@ -76,13 +76,13 @@ type RevokeSecurityGroupEgressInput struct { SourceSecurityGroupOwnerId *string // Not supported. Use a set of IP permissions to specify the port. - ToPort int32 + ToPort *int32 } type RevokeSecurityGroupEgressOutput struct { // Returns true if the request succeeds; otherwise, returns an error. - Return bool + Return *bool // The outbound rules that were unknown to the service. In some cases, // unknownIpPermissionSet might be in a different format from the request diff --git a/service/ec2/api_op_RevokeSecurityGroupIngress.go b/service/ec2/api_op_RevokeSecurityGroupIngress.go index 3f381a86cea..392a723f11d 100644 --- a/service/ec2/api_op_RevokeSecurityGroupIngress.go +++ b/service/ec2/api_op_RevokeSecurityGroupIngress.go @@ -48,11 +48,11 @@ type RevokeSecurityGroupIngressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The start of port range for the TCP and UDP protocols, or an ICMP type number. // For the ICMP type number, use -1 to specify all ICMP types. - FromPort int32 + FromPort *int32 // The ID of the security group. You must specify either the security group ID or // the security group name in the request. For security groups in a nondefault VPC, @@ -90,13 +90,13 @@ type RevokeSecurityGroupIngressInput struct { // The end of port range for the TCP and UDP protocols, or an ICMP code number. For // the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. - ToPort int32 + ToPort *int32 } type RevokeSecurityGroupIngressOutput struct { // Returns true if the request succeeds; otherwise, returns an error. - Return bool + Return *bool // The inbound rules that were unknown to the service. In some cases, // unknownIpPermissionSet might be in a different format from the request diff --git a/service/ec2/api_op_RunInstances.go b/service/ec2/api_op_RunInstances.go index 82bc7ac206f..4fc7b6bc1e4 100644 --- a/service/ec2/api_op_RunInstances.go +++ b/service/ec2/api_op_RunInstances.go @@ -95,7 +95,7 @@ type RunInstancesInput struct { // the Amazon EC2 FAQ. // // This member is required. - MaxCount int32 + MaxCount *int32 // The minimum number of instances to launch. If you specify a minimum that is more // instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 @@ -107,7 +107,7 @@ type RunInstancesInput struct { // the Amazon EC2 General FAQ. // // This member is required. - MinCount int32 + MinCount *int32 // Reserved. AdditionalInfo *string @@ -152,20 +152,20 @@ type RunInstancesInput struct { // Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you // can terminate the instance by running the shutdown command from the instance. // Default: false - DisableApiTermination bool + DisableApiTermination *bool // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Indicates whether the instance is optimized for Amazon EBS I/O. This // optimization provides dedicated throughput to Amazon EBS and an optimized // configuration stack to provide optimal Amazon EBS I/O performance. This // optimization isn't available with all instance types. Additional usage charges // apply when using an EBS-optimized instance. Default: false - EbsOptimized bool + EbsOptimized *bool // An elastic GPU to associate with the instance. An Elastic GPU is a GPU resource // that you can attach to your Windows instance to accelerate the graphics @@ -223,7 +223,7 @@ type RunInstancesInput struct { // in the same request. You can specify this option if you've specified a minimum // number of instances to launch. You cannot specify this option and the network // interfaces option in the same request. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // [EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the // primary network interface. You cannot specify this option and the option to diff --git a/service/ec2/api_op_RunScheduledInstances.go b/service/ec2/api_op_RunScheduledInstances.go index 71f3e2e567a..2c3b8acfc24 100644 --- a/service/ec2/api_op_RunScheduledInstances.go +++ b/service/ec2/api_op_RunScheduledInstances.go @@ -59,10 +59,10 @@ type RunScheduledInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The number of instances. Default: 1 - InstanceCount int32 + InstanceCount *int32 } // Contains the output of RunScheduledInstances. diff --git a/service/ec2/api_op_SearchLocalGatewayRoutes.go b/service/ec2/api_op_SearchLocalGatewayRoutes.go index 021d1990cfe..d98d6968a78 100644 --- a/service/ec2/api_op_SearchLocalGatewayRoutes.go +++ b/service/ec2/api_op_SearchLocalGatewayRoutes.go @@ -44,7 +44,7 @@ type SearchLocalGatewayRoutesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. diff --git a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go index 6601d7c9638..34fa9ac12d4 100644 --- a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go +++ b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go @@ -35,7 +35,7 @@ type SearchTransitGatewayMulticastGroupsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // One or more filters. The possible values are: // @@ -72,7 +72,7 @@ type SearchTransitGatewayMulticastGroupsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. - MaxResults int32 + MaxResults *int32 // The token for the next page of results. NextToken *string @@ -192,8 +192,8 @@ func NewSearchTransitGatewayMulticastGroupsPaginator(client SearchTransitGateway } options := SearchTransitGatewayMulticastGroupsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -222,7 +222,11 @@ func (p *SearchTransitGatewayMulticastGroupsPaginator) NextPage(ctx context.Cont params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.SearchTransitGatewayMulticastGroups(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/ec2/api_op_SearchTransitGatewayRoutes.go b/service/ec2/api_op_SearchTransitGatewayRoutes.go index 50d17c4ab05..8a526037514 100644 --- a/service/ec2/api_op_SearchTransitGatewayRoutes.go +++ b/service/ec2/api_op_SearchTransitGatewayRoutes.go @@ -76,16 +76,16 @@ type SearchTransitGatewayRoutesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The maximum number of routes to return. - MaxResults int32 + MaxResults *int32 } type SearchTransitGatewayRoutesOutput struct { // Indicates whether there are additional routes available. - AdditionalRoutesAvailable bool + AdditionalRoutesAvailable *bool // Information about the routes. Routes []types.TransitGatewayRoute diff --git a/service/ec2/api_op_SendDiagnosticInterrupt.go b/service/ec2/api_op_SendDiagnosticInterrupt.go index 50e81ee8bf6..d311ee2f2d1 100644 --- a/service/ec2/api_op_SendDiagnosticInterrupt.go +++ b/service/ec2/api_op_SendDiagnosticInterrupt.go @@ -51,7 +51,7 @@ type SendDiagnosticInterruptInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type SendDiagnosticInterruptOutput struct { diff --git a/service/ec2/api_op_StartInstances.go b/service/ec2/api_op_StartInstances.go index 2defa683786..7dde22bb99c 100644 --- a/service/ec2/api_op_StartInstances.go +++ b/service/ec2/api_op_StartInstances.go @@ -58,7 +58,7 @@ type StartInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type StartInstancesOutput struct { diff --git a/service/ec2/api_op_StartNetworkInsightsAnalysis.go b/service/ec2/api_op_StartNetworkInsightsAnalysis.go index 775c8e611a7..ba55ad5e7d8 100644 --- a/service/ec2/api_op_StartNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_StartNetworkInsightsAnalysis.go @@ -47,7 +47,7 @@ type StartNetworkInsightsAnalysisInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The Amazon Resource Names (ARN) of the resources that the path must traverse. FilterInArns []string diff --git a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go index b81cb63fd4e..3e15923b5d7 100644 --- a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go +++ b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go @@ -44,13 +44,13 @@ type StartVpcEndpointServicePrivateDnsVerificationInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type StartVpcEndpointServicePrivateDnsVerificationOutput struct { // Returns true if the request succeeds; otherwise, it returns an error. - ReturnValue bool + ReturnValue *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_StopInstances.go b/service/ec2/api_op_StopInstances.go index d4772f05614..25ea659b06c 100644 --- a/service/ec2/api_op_StopInstances.go +++ b/service/ec2/api_op_StopInstances.go @@ -77,20 +77,20 @@ type StopInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // Forces the instances to stop. The instances do not have an opportunity to flush // file system caches or file system metadata. If you use this option, you must // perform file system check and repair procedures. This option is not recommended // for Windows instances. Default: false - Force bool + Force *bool // Hibernates the instance if the instance was enabled for hibernation at launch. // If the instance cannot hibernate successfully, a normal shutdown occurs. For // more information, see Hibernate your instance // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the // Amazon EC2 User Guide. Default: false - Hibernate bool + Hibernate *bool } type StopInstancesOutput struct { diff --git a/service/ec2/api_op_TerminateClientVpnConnections.go b/service/ec2/api_op_TerminateClientVpnConnections.go index b0c64a4171f..cb62970c371 100644 --- a/service/ec2/api_op_TerminateClientVpnConnections.go +++ b/service/ec2/api_op_TerminateClientVpnConnections.go @@ -43,7 +43,7 @@ type TerminateClientVpnConnectionsInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The name of the user who initiated the connection. Use this option to terminate // all active connections for the specified user. This option can only be used if diff --git a/service/ec2/api_op_TerminateInstances.go b/service/ec2/api_op_TerminateInstances.go index 90ddbe7ecb9..79ff9ab841f 100644 --- a/service/ec2/api_op_TerminateInstances.go +++ b/service/ec2/api_op_TerminateInstances.go @@ -57,7 +57,7 @@ type TerminateInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type TerminateInstancesOutput struct { diff --git a/service/ec2/api_op_UnmonitorInstances.go b/service/ec2/api_op_UnmonitorInstances.go index 680b300bc54..b19d26453af 100644 --- a/service/ec2/api_op_UnmonitorInstances.go +++ b/service/ec2/api_op_UnmonitorInstances.go @@ -41,7 +41,7 @@ type UnmonitorInstancesInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type UnmonitorInstancesOutput struct { diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go index f1bafd9fb74..255670ce1bd 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go @@ -42,7 +42,7 @@ type UpdateSecurityGroupRuleDescriptionsEgressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the security group. You must specify either the security group ID or // the security group name in the request. For security groups in a nondefault VPC, @@ -57,7 +57,7 @@ type UpdateSecurityGroupRuleDescriptionsEgressInput struct { type UpdateSecurityGroupRuleDescriptionsEgressOutput struct { // Returns true if the request succeeds; otherwise, returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go index fa4ab462279..a17d3924a34 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go @@ -42,7 +42,7 @@ type UpdateSecurityGroupRuleDescriptionsIngressInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool // The ID of the security group. You must specify either the security group ID or // the security group name in the request. For security groups in a nondefault VPC, @@ -57,7 +57,7 @@ type UpdateSecurityGroupRuleDescriptionsIngressInput struct { type UpdateSecurityGroupRuleDescriptionsIngressOutput struct { // Returns true if the request succeeds; otherwise, returns an error. - Return bool + Return *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/ec2/api_op_WithdrawByoipCidr.go b/service/ec2/api_op_WithdrawByoipCidr.go index 8445558ab60..6ffd11aebbd 100644 --- a/service/ec2/api_op_WithdrawByoipCidr.go +++ b/service/ec2/api_op_WithdrawByoipCidr.go @@ -41,7 +41,7 @@ type WithdrawByoipCidrInput struct { // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation. Otherwise, it is // UnauthorizedOperation. - DryRun bool + DryRun *bool } type WithdrawByoipCidrOutput struct { diff --git a/service/ec2/deserializers.go b/service/ec2/deserializers.go index 30276a8110b..a3f66f3e443 100644 --- a/service/ec2/deserializers.go +++ b/service/ec2/deserializers.go @@ -40681,7 +40681,7 @@ func awsEc2query_deserializeDocumentAnalysisAclRule(v **types.AnalysisAclRule, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Egress = xtv + sv.Egress = ptr.Bool(xtv) } case strings.EqualFold("portRange", t.Name.Local): @@ -40730,7 +40730,7 @@ func awsEc2query_deserializeDocumentAnalysisAclRule(v **types.AnalysisAclRule, d if err != nil { return err } - sv.RuleNumber = int32(i64) + sv.RuleNumber = ptr.Int32(int32(i64)) } default: @@ -40913,7 +40913,7 @@ func awsEc2query_deserializeDocumentAnalysisLoadBalancerListener(v **types.Analy if err != nil { return err } - sv.InstancePort = int32(i64) + sv.InstancePort = ptr.Int32(int32(i64)) } case strings.EqualFold("loadBalancerPort", t.Name.Local): @@ -40930,7 +40930,7 @@ func awsEc2query_deserializeDocumentAnalysisLoadBalancerListener(v **types.Analy if err != nil { return err } - sv.LoadBalancerPort = int32(i64) + sv.LoadBalancerPort = ptr.Int32(int32(i64)) } default: @@ -41015,7 +41015,7 @@ func awsEc2query_deserializeDocumentAnalysisLoadBalancerTarget(v **types.Analysi if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -42038,7 +42038,7 @@ func awsEc2query_deserializeDocumentAttributeBooleanValue(v **types.AttributeBoo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Value = xtv + sv.Value = ptr.Bool(xtv) } default: @@ -42139,7 +42139,7 @@ func awsEc2query_deserializeDocumentAuthorizationRule(v **types.AuthorizationRul if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AccessAll = xtv + sv.AccessAll = ptr.Bool(xtv) } case strings.EqualFold("clientVpnEndpointId", t.Name.Local): @@ -42681,7 +42681,7 @@ func awsEc2query_deserializeDocumentAvailableCapacity(v **types.AvailableCapacit if err != nil { return err } - sv.AvailableVCpus = int32(i64) + sv.AvailableVCpus = ptr.Int32(int32(i64)) } default: @@ -43935,7 +43935,7 @@ func awsEc2query_deserializeDocumentCapacityReservation(v **types.CapacityReserv if err != nil { return err } - sv.AvailableInstanceCount = int32(i64) + sv.AvailableInstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("capacityReservationArn", t.Name.Local): @@ -43994,7 +43994,7 @@ func awsEc2query_deserializeDocumentCapacityReservation(v **types.CapacityReserv if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsOptimized = xtv + sv.EbsOptimized = ptr.Bool(xtv) } case strings.EqualFold("endDate", t.Name.Local): @@ -44040,7 +44040,7 @@ func awsEc2query_deserializeDocumentCapacityReservation(v **types.CapacityReserv if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EphemeralStorage = xtv + sv.EphemeralStorage = ptr.Bool(xtv) } case strings.EqualFold("instanceMatchCriteria", t.Name.Local): @@ -44158,7 +44158,7 @@ func awsEc2query_deserializeDocumentCapacityReservation(v **types.CapacityReserv if err != nil { return err } - sv.TotalInstanceCount = int32(i64) + sv.TotalInstanceCount = ptr.Int32(int32(i64)) } default: @@ -44902,7 +44902,7 @@ func awsEc2query_deserializeDocumentClassicLinkDnsSupport(v **types.ClassicLinkD if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ClassicLinkDnsSupported = xtv + sv.ClassicLinkDnsSupported = ptr.Bool(xtv) } case strings.EqualFold("vpcId", t.Name.Local): @@ -45398,7 +45398,7 @@ func awsEc2query_deserializeDocumentClientConnectResponseOptions(v **types.Clien if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } case strings.EqualFold("lambdaFunctionArn", t.Name.Local): @@ -46140,7 +46140,7 @@ func awsEc2query_deserializeDocumentClientVpnEndpoint(v **types.ClientVpnEndpoin if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SplitTunnel = xtv + sv.SplitTunnel = ptr.Bool(xtv) } case strings.EqualFold("status", t.Name.Local): @@ -46195,7 +46195,7 @@ func awsEc2query_deserializeDocumentClientVpnEndpoint(v **types.ClientVpnEndpoin if err != nil { return err } - sv.VpnPort = int32(i64) + sv.VpnPort = ptr.Int32(int32(i64)) } case strings.EqualFold("vpnProtocol", t.Name.Local): @@ -47051,7 +47051,7 @@ func awsEc2query_deserializeDocumentConnectionLogResponseOptions(v **types.Conne if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } default: @@ -47486,7 +47486,7 @@ func awsEc2query_deserializeDocumentCpuOptions(v **types.CpuOptions, decoder smi if err != nil { return err } - sv.CoreCount = int32(i64) + sv.CoreCount = ptr.Int32(int32(i64)) } case strings.EqualFold("threadsPerCore", t.Name.Local): @@ -47503,7 +47503,7 @@ func awsEc2query_deserializeDocumentCpuOptions(v **types.CpuOptions, decoder smi if err != nil { return err } - sv.ThreadsPerCore = int32(i64) + sv.ThreadsPerCore = ptr.Int32(int32(i64)) } default: @@ -48600,7 +48600,7 @@ func awsEc2query_deserializeDocumentDeleteLaunchTemplateVersionsResponseErrorIte if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -48747,7 +48747,7 @@ func awsEc2query_deserializeDocumentDeleteLaunchTemplateVersionsResponseSuccessI if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -50565,7 +50565,7 @@ func awsEc2query_deserializeDocumentDiskImageDescription(v **types.DiskImageDesc if err != nil { return err } - sv.Size = i64 + sv.Size = ptr.Int64(i64) } default: @@ -50631,7 +50631,7 @@ func awsEc2query_deserializeDocumentDiskImageVolumeDescription(v **types.DiskIma if err != nil { return err } - sv.Size = i64 + sv.Size = ptr.Int64(i64) } default: @@ -50964,7 +50964,7 @@ func awsEc2query_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, dec if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("encrypted", t.Name.Local): @@ -50980,7 +50980,7 @@ func awsEc2query_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, dec if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("iops", t.Name.Local): @@ -50997,7 +50997,7 @@ func awsEc2query_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, dec if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case strings.EqualFold("KmsKeyId", t.Name.Local): @@ -51053,7 +51053,7 @@ func awsEc2query_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, dec if err != nil { return err } - sv.Throughput = int32(i64) + sv.Throughput = ptr.Int32(int32(i64)) } case strings.EqualFold("volumeSize", t.Name.Local): @@ -51070,7 +51070,7 @@ func awsEc2query_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, dec if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } case strings.EqualFold("volumeType", t.Name.Local): @@ -51233,7 +51233,7 @@ func awsEc2query_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstance if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("status", t.Name.Local): @@ -52869,7 +52869,7 @@ func awsEc2query_deserializeDocumentEnclaveOptions(v **types.EnclaveOptions, dec if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } default: @@ -53269,7 +53269,7 @@ func awsEc2query_deserializeDocumentExplanation(v **types.Explanation, decoder s if err != nil { return err } - sv.LoadBalancerListenerPort = int32(i64) + sv.LoadBalancerListenerPort = ptr.Int32(int32(i64)) } case strings.EqualFold("loadBalancerTarget", t.Name.Local): @@ -53304,7 +53304,7 @@ func awsEc2query_deserializeDocumentExplanation(v **types.Explanation, decoder s if err != nil { return err } - sv.LoadBalancerTargetPort = int32(i64) + sv.LoadBalancerTargetPort = ptr.Int32(int32(i64)) } case strings.EqualFold("missingComponent", t.Name.Local): @@ -53359,7 +53359,7 @@ func awsEc2query_deserializeDocumentExplanation(v **types.Explanation, decoder s if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("portRangeSet", t.Name.Local): @@ -54380,7 +54380,7 @@ func awsEc2query_deserializeDocumentFleetData(v **types.FleetData, decoder smith if err != nil { return err } - sv.FulfilledCapacity = f64 + sv.FulfilledCapacity = ptr.Float64(f64) } case strings.EqualFold("fulfilledOnDemandCapacity", t.Name.Local): @@ -54397,7 +54397,7 @@ func awsEc2query_deserializeDocumentFleetData(v **types.FleetData, decoder smith if err != nil { return err } - sv.FulfilledOnDemandCapacity = f64 + sv.FulfilledOnDemandCapacity = ptr.Float64(f64) } case strings.EqualFold("fleetInstanceSet", t.Name.Local): @@ -54431,7 +54431,7 @@ func awsEc2query_deserializeDocumentFleetData(v **types.FleetData, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReplaceUnhealthyInstances = xtv + sv.ReplaceUnhealthyInstances = ptr.Bool(xtv) } case strings.EqualFold("spotOptions", t.Name.Local): @@ -54465,7 +54465,7 @@ func awsEc2query_deserializeDocumentFleetData(v **types.FleetData, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.TerminateInstancesWithExpiration = xtv + sv.TerminateInstancesWithExpiration = ptr.Bool(xtv) } case strings.EqualFold("type", t.Name.Local): @@ -54726,7 +54726,7 @@ func awsEc2query_deserializeDocumentFleetLaunchTemplateOverrides(v **types.Fleet if err != nil { return err } - sv.Priority = f64 + sv.Priority = ptr.Float64(f64) } case strings.EqualFold("subnetId", t.Name.Local): @@ -54756,7 +54756,7 @@ func awsEc2query_deserializeDocumentFleetLaunchTemplateOverrides(v **types.Fleet if err != nil { return err } - sv.WeightedCapacity = f64 + sv.WeightedCapacity = ptr.Float64(f64) } default: @@ -55245,7 +55245,7 @@ func awsEc2query_deserializeDocumentFlowLog(v **types.FlowLog, decoder smithyxml if err != nil { return err } - sv.MaxAggregationInterval = int32(i64) + sv.MaxAggregationInterval = ptr.Int32(int32(i64)) } case strings.EqualFold("resourceId", t.Name.Local): @@ -55620,7 +55620,7 @@ func awsEc2query_deserializeDocumentFpgaImage(v **types.FpgaImage, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DataRetentionSupport = xtv + sv.DataRetentionSupport = ptr.Bool(xtv) } case strings.EqualFold("description", t.Name.Local): @@ -55726,7 +55726,7 @@ func awsEc2query_deserializeDocumentFpgaImage(v **types.FpgaImage, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Public = xtv + sv.Public = ptr.Bool(xtv) } case strings.EqualFold("shellVersion", t.Name.Local): @@ -56639,7 +56639,7 @@ func awsEc2query_deserializeDocumentHibernationOptions(v **types.HibernationOpti if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Configured = xtv + sv.Configured = ptr.Bool(xtv) } default: @@ -57110,7 +57110,7 @@ func awsEc2query_deserializeDocumentHost(v **types.Host, decoder smithyxml.NodeD if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MemberOfServiceLinkedResourceGroup = xtv + sv.MemberOfServiceLinkedResourceGroup = ptr.Bool(xtv) } case strings.EqualFold("ownerId", t.Name.Local): @@ -57436,7 +57436,7 @@ func awsEc2query_deserializeDocumentHostOffering(v **types.HostOffering, decoder if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("hourlyPrice", t.Name.Local): @@ -57622,7 +57622,7 @@ func awsEc2query_deserializeDocumentHostProperties(v **types.HostProperties, dec if err != nil { return err } - sv.Cores = int32(i64) + sv.Cores = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceFamily", t.Name.Local): @@ -57665,7 +57665,7 @@ func awsEc2query_deserializeDocumentHostProperties(v **types.HostProperties, dec if err != nil { return err } - sv.Sockets = int32(i64) + sv.Sockets = ptr.Int32(int32(i64)) } case strings.EqualFold("totalVCpus", t.Name.Local): @@ -57682,7 +57682,7 @@ func awsEc2query_deserializeDocumentHostProperties(v **types.HostProperties, dec if err != nil { return err } - sv.TotalVCpus = int32(i64) + sv.TotalVCpus = ptr.Int32(int32(i64)) } default: @@ -57735,7 +57735,7 @@ func awsEc2query_deserializeDocumentHostReservation(v **types.HostReservation, d if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case strings.EqualFold("currencyCode", t.Name.Local): @@ -57765,7 +57765,7 @@ func awsEc2query_deserializeDocumentHostReservation(v **types.HostReservation, d if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("end", t.Name.Local): @@ -58313,7 +58313,7 @@ func awsEc2query_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, decoder if err != nil { return err } - sv.Code = int32(i64) + sv.Code = ptr.Int32(int32(i64)) } case strings.EqualFold("type", t.Name.Local): @@ -58330,7 +58330,7 @@ func awsEc2query_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, decoder if err != nil { return err } - sv.Type = int32(i64) + sv.Type = ptr.Int32(int32(i64)) } default: @@ -58412,7 +58412,7 @@ func awsEc2query_deserializeDocumentIdFormat(v **types.IdFormat, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.UseLongIds = xtv + sv.UseLongIds = ptr.Bool(xtv) } default: @@ -58707,7 +58707,7 @@ func awsEc2query_deserializeDocumentImage(v **types.Image, decoder smithyxml.Nod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EnaSupport = xtv + sv.EnaSupport = ptr.Bool(xtv) } case strings.EqualFold("hypervisor", t.Name.Local): @@ -58859,7 +58859,7 @@ func awsEc2query_deserializeDocumentImage(v **types.Image, decoder smithyxml.Nod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Public = xtv + sv.Public = ptr.Bool(xtv) } case strings.EqualFold("ramdiskId", t.Name.Local): @@ -59225,7 +59225,7 @@ func awsEc2query_deserializeDocumentImportImageTask(v **types.ImportImageTask, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("hypervisor", t.Name.Local): @@ -59575,7 +59575,7 @@ func awsEc2query_deserializeDocumentImportInstanceVolumeDetailItem(v **types.Imp if err != nil { return err } - sv.BytesConverted = i64 + sv.BytesConverted = ptr.Int64(i64) } case strings.EqualFold("description", t.Name.Local): @@ -59902,7 +59902,7 @@ func awsEc2query_deserializeDocumentImportVolumeTaskDetails(v **types.ImportVolu if err != nil { return err } - sv.BytesConverted = i64 + sv.BytesConverted = ptr.Int64(i64) } case strings.EqualFold("description", t.Name.Local): @@ -60249,7 +60249,7 @@ func awsEc2query_deserializeDocumentInstance(v **types.Instance, decoder smithyx if err != nil { return err } - sv.AmiLaunchIndex = int32(i64) + sv.AmiLaunchIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("architecture", t.Name.Local): @@ -60335,7 +60335,7 @@ func awsEc2query_deserializeDocumentInstance(v **types.Instance, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsOptimized = xtv + sv.EbsOptimized = ptr.Bool(xtv) } case strings.EqualFold("elasticGpuAssociationSet", t.Name.Local): @@ -60363,7 +60363,7 @@ func awsEc2query_deserializeDocumentInstance(v **types.Instance, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EnaSupport = xtv + sv.EnaSupport = ptr.Bool(xtv) } case strings.EqualFold("enclaveOptions", t.Name.Local): @@ -60664,7 +60664,7 @@ func awsEc2query_deserializeDocumentInstance(v **types.Instance, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SourceDestCheck = xtv + sv.SourceDestCheck = ptr.Bool(xtv) } case strings.EqualFold("spotInstanceRequestId", t.Name.Local): @@ -60936,7 +60936,7 @@ func awsEc2query_deserializeDocumentInstanceCapacity(v **types.InstanceCapacity, if err != nil { return err } - sv.AvailableCapacity = int32(i64) + sv.AvailableCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceType", t.Name.Local): @@ -60966,7 +60966,7 @@ func awsEc2query_deserializeDocumentInstanceCapacity(v **types.InstanceCapacity, if err != nil { return err } - sv.TotalCapacity = int32(i64) + sv.TotalCapacity = ptr.Int32(int32(i64)) } default: @@ -61019,7 +61019,7 @@ func awsEc2query_deserializeDocumentInstanceCount(v **types.InstanceCount, decod if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("state", t.Name.Local): @@ -61765,7 +61765,7 @@ func awsEc2query_deserializeDocumentInstanceMetadataOptionsResponse(v **types.In if err != nil { return err } - sv.HttpPutResponseHopLimit = int32(i64) + sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } case strings.EqualFold("httpTokens", t.Name.Local): @@ -62087,7 +62087,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterface(v **types.InstanceN if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SourceDestCheck = xtv + sv.SourceDestCheck = ptr.Bool(xtv) } case strings.EqualFold("status", t.Name.Local): @@ -62296,7 +62296,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceAttachment(v **types if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("deviceIndex", t.Name.Local): @@ -62313,7 +62313,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceAttachment(v **types if err != nil { return err } - sv.DeviceIndex = int32(i64) + sv.DeviceIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("networkCardIndex", t.Name.Local): @@ -62330,7 +62330,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceAttachment(v **types if err != nil { return err } - sv.NetworkCardIndex = int32(i64) + sv.NetworkCardIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("status", t.Name.Local): @@ -62463,7 +62463,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AssociateCarrierIpAddress = xtv + sv.AssociateCarrierIpAddress = ptr.Bool(xtv) } case strings.EqualFold("associatePublicIpAddress", t.Name.Local): @@ -62479,7 +62479,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AssociatePublicIpAddress = xtv + sv.AssociatePublicIpAddress = ptr.Bool(xtv) } case strings.EqualFold("deleteOnTermination", t.Name.Local): @@ -62495,7 +62495,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("description", t.Name.Local): @@ -62525,7 +62525,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return err } - sv.DeviceIndex = int32(i64) + sv.DeviceIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("SecurityGroupId", t.Name.Local): @@ -62561,7 +62561,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return err } - sv.Ipv6AddressCount = int32(i64) + sv.Ipv6AddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("ipv6AddressesSet", t.Name.Local): @@ -62584,7 +62584,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return err } - sv.NetworkCardIndex = int32(i64) + sv.NetworkCardIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("networkInterfaceId", t.Name.Local): @@ -62633,7 +62633,7 @@ func awsEc2query_deserializeDocumentInstanceNetworkInterfaceSpecification(v **ty if err != nil { return err } - sv.SecondaryPrivateIpAddressCount = int32(i64) + sv.SecondaryPrivateIpAddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("subnetId", t.Name.Local): @@ -62772,7 +62772,7 @@ func awsEc2query_deserializeDocumentInstancePrivateIpAddress(v **types.InstanceP if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Primary = xtv + sv.Primary = ptr.Bool(xtv) } case strings.EqualFold("privateDnsName", t.Name.Local): @@ -62919,7 +62919,7 @@ func awsEc2query_deserializeDocumentInstanceState(v **types.InstanceState, decod if err != nil { return err } - sv.Code = int32(i64) + sv.Code = ptr.Int32(int32(i64)) } case strings.EqualFold("name", t.Name.Local): @@ -63828,7 +63828,7 @@ func awsEc2query_deserializeDocumentInstanceTagNotificationAttribute(v **types.I if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IncludeAllTagsOfInstance = xtv + sv.IncludeAllTagsOfInstance = ptr.Bool(xtv) } case strings.EqualFold("instanceTagKeySet", t.Name.Local): @@ -64385,7 +64385,7 @@ func awsEc2query_deserializeDocumentInstanceUsage(v **types.InstanceUsage, decod if err != nil { return err } - sv.UsedInstanceCount = int32(i64) + sv.UsedInstanceCount = ptr.Int32(int32(i64)) } default: @@ -64858,7 +64858,7 @@ func awsEc2query_deserializeDocumentIpPermission(v **types.IpPermission, decoder if err != nil { return err } - sv.FromPort = int32(i64) + sv.FromPort = ptr.Int32(int32(i64)) } case strings.EqualFold("ipProtocol", t.Name.Local): @@ -64906,7 +64906,7 @@ func awsEc2query_deserializeDocumentIpPermission(v **types.IpPermission, decoder if err != nil { return err } - sv.ToPort = int32(i64) + sv.ToPort = ptr.Int32(int32(i64)) } case strings.EqualFold("groups", t.Name.Local): @@ -66201,7 +66201,7 @@ func awsEc2query_deserializeDocumentLaunchSpecification(v **types.LaunchSpecific if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsOptimized = xtv + sv.EbsOptimized = ptr.Bool(xtv) } case strings.EqualFold("iamInstanceProfile", t.Name.Local): @@ -66473,7 +66473,7 @@ func awsEc2query_deserializeDocumentLaunchTemplate(v **types.LaunchTemplate, dec if err != nil { return err } - sv.DefaultVersionNumber = i64 + sv.DefaultVersionNumber = ptr.Int64(i64) } case strings.EqualFold("latestVersionNumber", t.Name.Local): @@ -66490,7 +66490,7 @@ func awsEc2query_deserializeDocumentLaunchTemplate(v **types.LaunchTemplate, dec if err != nil { return err } - sv.LatestVersionNumber = i64 + sv.LatestVersionNumber = ptr.Int64(i64) } case strings.EqualFold("launchTemplateId", t.Name.Local): @@ -66943,7 +66943,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateCpuOptions(v **types.LaunchTem if err != nil { return err } - sv.CoreCount = int32(i64) + sv.CoreCount = ptr.Int32(int32(i64)) } case strings.EqualFold("threadsPerCore", t.Name.Local): @@ -66960,7 +66960,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateCpuOptions(v **types.LaunchTem if err != nil { return err } - sv.ThreadsPerCore = int32(i64) + sv.ThreadsPerCore = ptr.Int32(int32(i64)) } default: @@ -67012,7 +67012,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateEbsBlockDevice(v **types.Launc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("encrypted", t.Name.Local): @@ -67028,7 +67028,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateEbsBlockDevice(v **types.Launc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("iops", t.Name.Local): @@ -67045,7 +67045,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateEbsBlockDevice(v **types.Launc if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case strings.EqualFold("kmsKeyId", t.Name.Local): @@ -67088,7 +67088,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateEbsBlockDevice(v **types.Launc if err != nil { return err } - sv.Throughput = int32(i64) + sv.Throughput = ptr.Int32(int32(i64)) } case strings.EqualFold("volumeSize", t.Name.Local): @@ -67105,7 +67105,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateEbsBlockDevice(v **types.Launc if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } case strings.EqualFold("volumeType", t.Name.Local): @@ -67171,7 +67171,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateElasticInferenceAcceleratorRes if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case strings.EqualFold("type", t.Name.Local): @@ -67304,7 +67304,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateEnclaveOptions(v **types.Launc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } default: @@ -67356,7 +67356,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateHibernationOptions(v **types.L if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Configured = xtv + sv.Configured = ptr.Bool(xtv) } default: @@ -67539,7 +67539,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceMetadataOptions(v **ty if err != nil { return err } - sv.HttpPutResponseHopLimit = int32(i64) + sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } case strings.EqualFold("httpTokens", t.Name.Local): @@ -67617,7 +67617,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AssociateCarrierIpAddress = xtv + sv.AssociateCarrierIpAddress = ptr.Bool(xtv) } case strings.EqualFold("associatePublicIpAddress", t.Name.Local): @@ -67633,7 +67633,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AssociatePublicIpAddress = xtv + sv.AssociatePublicIpAddress = ptr.Bool(xtv) } case strings.EqualFold("deleteOnTermination", t.Name.Local): @@ -67649,7 +67649,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("description", t.Name.Local): @@ -67679,7 +67679,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return err } - sv.DeviceIndex = int32(i64) + sv.DeviceIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("groupSet", t.Name.Local): @@ -67715,7 +67715,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return err } - sv.Ipv6AddressCount = int32(i64) + sv.Ipv6AddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("ipv6AddressesSet", t.Name.Local): @@ -67738,7 +67738,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return err } - sv.NetworkCardIndex = int32(i64) + sv.NetworkCardIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("networkInterfaceId", t.Name.Local): @@ -67787,7 +67787,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecif if err != nil { return err } - sv.SecondaryPrivateIpAddressCount = int32(i64) + sv.SecondaryPrivateIpAddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("subnetId", t.Name.Local): @@ -68064,7 +68064,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateOverrides(v **types.LaunchTemp if err != nil { return err } - sv.Priority = f64 + sv.Priority = ptr.Float64(f64) } case strings.EqualFold("spotPrice", t.Name.Local): @@ -68107,7 +68107,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateOverrides(v **types.LaunchTemp if err != nil { return err } - sv.WeightedCapacity = f64 + sv.WeightedCapacity = ptr.Float64(f64) } default: @@ -68293,7 +68293,7 @@ func awsEc2query_deserializeDocumentLaunchTemplatePlacement(v **types.LaunchTemp if err != nil { return err } - sv.PartitionNumber = int32(i64) + sv.PartitionNumber = ptr.Int32(int32(i64)) } case strings.EqualFold("spreadDomain", t.Name.Local): @@ -68439,7 +68439,7 @@ func awsEc2query_deserializeDocumentLaunchTemplatesMonitoring(v **types.LaunchTe if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } default: @@ -68492,7 +68492,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateSpotMarketOptions(v **types.La if err != nil { return err } - sv.BlockDurationMinutes = int32(i64) + sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceInterruptionBehavior", t.Name.Local): @@ -68753,7 +68753,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateVersion(v **types.LaunchTempla if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DefaultVersion = xtv + sv.DefaultVersion = ptr.Bool(xtv) } case strings.EqualFold("launchTemplateData", t.Name.Local): @@ -68815,7 +68815,7 @@ func awsEc2query_deserializeDocumentLaunchTemplateVersion(v **types.LaunchTempla if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -70191,7 +70191,7 @@ func awsEc2query_deserializeDocumentLocalGatewayVirtualInterface(v **types.Local if err != nil { return err } - sv.LocalBgpAsn = int32(i64) + sv.LocalBgpAsn = ptr.Int32(int32(i64)) } case strings.EqualFold("localGatewayId", t.Name.Local): @@ -70260,7 +70260,7 @@ func awsEc2query_deserializeDocumentLocalGatewayVirtualInterface(v **types.Local if err != nil { return err } - sv.PeerBgpAsn = int32(i64) + sv.PeerBgpAsn = ptr.Int32(int32(i64)) } case strings.EqualFold("tagSet", t.Name.Local): @@ -70283,7 +70283,7 @@ func awsEc2query_deserializeDocumentLocalGatewayVirtualInterface(v **types.Local if err != nil { return err } - sv.Vlan = int32(i64) + sv.Vlan = ptr.Int32(int32(i64)) } default: @@ -70652,7 +70652,7 @@ func awsEc2query_deserializeDocumentManagedPrefixList(v **types.ManagedPrefixLis if err != nil { return err } - sv.MaxEntries = int32(i64) + sv.MaxEntries = ptr.Int32(int32(i64)) } case strings.EqualFold("ownerId", t.Name.Local): @@ -70753,7 +70753,7 @@ func awsEc2query_deserializeDocumentManagedPrefixList(v **types.ManagedPrefixLis if err != nil { return err } - sv.Version = i64 + sv.Version = ptr.Int64(i64) } default: @@ -71507,7 +71507,7 @@ func awsEc2query_deserializeDocumentNetworkAcl(v **types.NetworkAcl, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsDefault = xtv + sv.IsDefault = ptr.Bool(xtv) } case strings.EqualFold("networkAclId", t.Name.Local): @@ -71760,7 +71760,7 @@ func awsEc2query_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Egress = xtv + sv.Egress = ptr.Bool(xtv) } case strings.EqualFold("icmpTypeCode", t.Name.Local): @@ -71828,7 +71828,7 @@ func awsEc2query_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, d if err != nil { return err } - sv.RuleNumber = int32(i64) + sv.RuleNumber = ptr.Int32(int32(i64)) } default: @@ -72421,7 +72421,7 @@ func awsEc2query_deserializeDocumentNetworkInsightsAnalysis(v **types.NetworkIns if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.NetworkPathFound = xtv + sv.NetworkPathFound = ptr.Bool(xtv) } case strings.EqualFold("returnPathComponentSet", t.Name.Local): @@ -72640,7 +72640,7 @@ func awsEc2query_deserializeDocumentNetworkInsightsPath(v **types.NetworkInsight if err != nil { return err } - sv.DestinationPort = int32(i64) + sv.DestinationPort = ptr.Int32(int32(i64)) } case strings.EqualFold("networkInsightsPathArn", t.Name.Local): @@ -72991,7 +72991,7 @@ func awsEc2query_deserializeDocumentNetworkInterface(v **types.NetworkInterface, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.RequesterManaged = xtv + sv.RequesterManaged = ptr.Bool(xtv) } case strings.EqualFold("sourceDestCheck", t.Name.Local): @@ -73007,7 +73007,7 @@ func awsEc2query_deserializeDocumentNetworkInterface(v **types.NetworkInterface, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SourceDestCheck = xtv + sv.SourceDestCheck = ptr.Bool(xtv) } case strings.EqualFold("status", t.Name.Local): @@ -73261,7 +73261,7 @@ func awsEc2query_deserializeDocumentNetworkInterfaceAttachment(v **types.Network if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("deviceIndex", t.Name.Local): @@ -73278,7 +73278,7 @@ func awsEc2query_deserializeDocumentNetworkInterfaceAttachment(v **types.Network if err != nil { return err } - sv.DeviceIndex = int32(i64) + sv.DeviceIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceId", t.Name.Local): @@ -73321,7 +73321,7 @@ func awsEc2query_deserializeDocumentNetworkInterfaceAttachment(v **types.Network if err != nil { return err } - sv.NetworkCardIndex = int32(i64) + sv.NetworkCardIndex = ptr.Int32(int32(i64)) } case strings.EqualFold("status", t.Name.Local): @@ -73814,7 +73814,7 @@ func awsEc2query_deserializeDocumentNetworkInterfacePrivateIpAddress(v **types.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Primary = xtv + sv.Primary = ptr.Bool(xtv) } case strings.EqualFold("privateDnsName", t.Name.Local): @@ -74081,7 +74081,7 @@ func awsEc2query_deserializeDocumentOnDemandOptions(v **types.OnDemandOptions, d if err != nil { return err } - sv.MinTargetCapacity = int32(i64) + sv.MinTargetCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("singleAvailabilityZone", t.Name.Local): @@ -74097,7 +74097,7 @@ func awsEc2query_deserializeDocumentOnDemandOptions(v **types.OnDemandOptions, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SingleAvailabilityZone = xtv + sv.SingleAvailabilityZone = ptr.Bool(xtv) } case strings.EqualFold("singleInstanceType", t.Name.Local): @@ -74113,7 +74113,7 @@ func awsEc2query_deserializeDocumentOnDemandOptions(v **types.OnDemandOptions, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SingleInstanceType = xtv + sv.SingleInstanceType = ptr.Bool(xtv) } default: @@ -74208,7 +74208,7 @@ func awsEc2query_deserializeDocumentPathComponent(v **types.PathComponent, decod if err != nil { return err } - sv.SequenceNumber = int32(i64) + sv.SequenceNumber = ptr.Int32(int32(i64)) } case strings.EqualFold("sourceVpc", t.Name.Local): @@ -74496,7 +74496,7 @@ func awsEc2query_deserializeDocumentPeeringConnectionOptions(v **types.PeeringCo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowDnsResolutionFromRemoteVpc = xtv + sv.AllowDnsResolutionFromRemoteVpc = ptr.Bool(xtv) } case strings.EqualFold("allowEgressFromLocalClassicLinkToRemoteVpc", t.Name.Local): @@ -74512,7 +74512,7 @@ func awsEc2query_deserializeDocumentPeeringConnectionOptions(v **types.PeeringCo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowEgressFromLocalClassicLinkToRemoteVpc = xtv + sv.AllowEgressFromLocalClassicLinkToRemoteVpc = ptr.Bool(xtv) } case strings.EqualFold("allowEgressFromLocalVpcToRemoteClassicLink", t.Name.Local): @@ -74528,7 +74528,7 @@ func awsEc2query_deserializeDocumentPeeringConnectionOptions(v **types.PeeringCo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowEgressFromLocalVpcToRemoteClassicLink = xtv + sv.AllowEgressFromLocalVpcToRemoteClassicLink = ptr.Bool(xtv) } default: @@ -74724,7 +74724,7 @@ func awsEc2query_deserializeDocumentPhase1DHGroupNumbersListValue(v **types.Phas if err != nil { return err } - sv.Value = int32(i64) + sv.Value = ptr.Int32(int32(i64)) } default: @@ -75079,7 +75079,7 @@ func awsEc2query_deserializeDocumentPhase2DHGroupNumbersListValue(v **types.Phas if err != nil { return err } - sv.Value = int32(i64) + sv.Value = ptr.Int32(int32(i64)) } default: @@ -75431,7 +75431,7 @@ func awsEc2query_deserializeDocumentPlacement(v **types.Placement, decoder smith if err != nil { return err } - sv.PartitionNumber = int32(i64) + sv.PartitionNumber = ptr.Int32(int32(i64)) } case strings.EqualFold("spreadDomain", t.Name.Local): @@ -75536,7 +75536,7 @@ func awsEc2query_deserializeDocumentPlacementGroup(v **types.PlacementGroup, dec if err != nil { return err } - sv.PartitionCount = int32(i64) + sv.PartitionCount = ptr.Int32(int32(i64)) } case strings.EqualFold("state", t.Name.Local): @@ -75977,7 +75977,7 @@ func awsEc2query_deserializeDocumentPortRange(v **types.PortRange, decoder smith if err != nil { return err } - sv.From = int32(i64) + sv.From = ptr.Int32(int32(i64)) } case strings.EqualFold("to", t.Name.Local): @@ -75994,7 +75994,7 @@ func awsEc2query_deserializeDocumentPortRange(v **types.PortRange, decoder smith if err != nil { return err } - sv.To = int32(i64) + sv.To = ptr.Int32(int32(i64)) } default: @@ -76720,7 +76720,7 @@ func awsEc2query_deserializeDocumentPriceSchedule(v **types.PriceSchedule, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Active = xtv + sv.Active = ptr.Bool(xtv) } case strings.EqualFold("currencyCode", t.Name.Local): @@ -76750,7 +76750,7 @@ func awsEc2query_deserializeDocumentPriceSchedule(v **types.PriceSchedule, decod if err != nil { return err } - sv.Price = f64 + sv.Price = ptr.Float64(f64) } case strings.EqualFold("term", t.Name.Local): @@ -76767,7 +76767,7 @@ func awsEc2query_deserializeDocumentPriceSchedule(v **types.PriceSchedule, decod if err != nil { return err } - sv.Term = i64 + sv.Term = ptr.Int64(i64) } default: @@ -76888,7 +76888,7 @@ func awsEc2query_deserializeDocumentPricingDetail(v **types.PricingDetail, decod if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case strings.EqualFold("price", t.Name.Local): @@ -76905,7 +76905,7 @@ func awsEc2query_deserializeDocumentPricingDetail(v **types.PricingDetail, decod if err != nil { return err } - sv.Price = f64 + sv.Price = ptr.Float64(f64) } default: @@ -77353,7 +77353,7 @@ func awsEc2query_deserializeDocumentPrivateIpAddressSpecification(v **types.Priv if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Primary = xtv + sv.Primary = ptr.Bool(xtv) } case strings.EqualFold("privateIpAddress", t.Name.Local): @@ -78028,7 +78028,7 @@ func awsEc2query_deserializeDocumentPublicIpv4Pool(v **types.PublicIpv4Pool, dec if err != nil { return err } - sv.TotalAddressCount = int32(i64) + sv.TotalAddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("totalAvailableAddressCount", t.Name.Local): @@ -78045,7 +78045,7 @@ func awsEc2query_deserializeDocumentPublicIpv4Pool(v **types.PublicIpv4Pool, dec if err != nil { return err } - sv.TotalAvailableAddressCount = int32(i64) + sv.TotalAvailableAddressCount = ptr.Int32(int32(i64)) } default: @@ -78098,7 +78098,7 @@ func awsEc2query_deserializeDocumentPublicIpv4PoolRange(v **types.PublicIpv4Pool if err != nil { return err } - sv.AddressCount = int32(i64) + sv.AddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("availableAddressCount", t.Name.Local): @@ -78115,7 +78115,7 @@ func awsEc2query_deserializeDocumentPublicIpv4PoolRange(v **types.PublicIpv4Pool if err != nil { return err } - sv.AvailableAddressCount = int32(i64) + sv.AvailableAddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("firstAddress", t.Name.Local): @@ -78343,7 +78343,7 @@ func awsEc2query_deserializeDocumentPurchase(v **types.Purchase, decoder smithyx if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("hostIdSet", t.Name.Local): @@ -78603,7 +78603,7 @@ func awsEc2query_deserializeDocumentRecurringCharge(v **types.RecurringCharge, d if err != nil { return err } - sv.Amount = f64 + sv.Amount = ptr.Float64(f64) } case strings.EqualFold("frequency", t.Name.Local): @@ -79434,7 +79434,7 @@ func awsEc2query_deserializeDocumentReservedInstances(v **types.ReservedInstance if err != nil { return err } - sv.Duration = i64 + sv.Duration = ptr.Int64(i64) } case strings.EqualFold("end", t.Name.Local): @@ -79468,7 +79468,7 @@ func awsEc2query_deserializeDocumentReservedInstances(v **types.ReservedInstance if err != nil { return err } - sv.FixedPrice = float32(f64) + sv.FixedPrice = ptr.Float32(float32(f64)) } case strings.EqualFold("instanceCount", t.Name.Local): @@ -79485,7 +79485,7 @@ func awsEc2query_deserializeDocumentReservedInstances(v **types.ReservedInstance if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceTenancy", t.Name.Local): @@ -79635,7 +79635,7 @@ func awsEc2query_deserializeDocumentReservedInstances(v **types.ReservedInstance if err != nil { return err } - sv.UsagePrice = float32(f64) + sv.UsagePrice = ptr.Float32(float32(f64)) } default: @@ -79701,7 +79701,7 @@ func awsEc2query_deserializeDocumentReservedInstancesConfiguration(v **types.Res if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceType", t.Name.Local): @@ -80499,7 +80499,7 @@ func awsEc2query_deserializeDocumentReservedInstancesOffering(v **types.Reserved if err != nil { return err } - sv.Duration = i64 + sv.Duration = ptr.Int64(i64) } case strings.EqualFold("fixedPrice", t.Name.Local): @@ -80516,7 +80516,7 @@ func awsEc2query_deserializeDocumentReservedInstancesOffering(v **types.Reserved if err != nil { return err } - sv.FixedPrice = float32(f64) + sv.FixedPrice = ptr.Float32(float32(f64)) } case strings.EqualFold("instanceTenancy", t.Name.Local): @@ -80558,7 +80558,7 @@ func awsEc2query_deserializeDocumentReservedInstancesOffering(v **types.Reserved if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Marketplace = xtv + sv.Marketplace = ptr.Bool(xtv) } case strings.EqualFold("offeringClass", t.Name.Local): @@ -80652,7 +80652,7 @@ func awsEc2query_deserializeDocumentReservedInstancesOffering(v **types.Reserved if err != nil { return err } - sv.UsagePrice = float32(f64) + sv.UsagePrice = ptr.Float32(float32(f64)) } default: @@ -81086,7 +81086,7 @@ func awsEc2query_deserializeDocumentResponseLaunchTemplateData(v **types.Respons if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DisableApiTermination = xtv + sv.DisableApiTermination = ptr.Bool(xtv) } case strings.EqualFold("ebsOptimized", t.Name.Local): @@ -81102,7 +81102,7 @@ func awsEc2query_deserializeDocumentResponseLaunchTemplateData(v **types.Respons if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsOptimized = xtv + sv.EbsOptimized = ptr.Bool(xtv) } case strings.EqualFold("elasticGpuSpecificationSet", t.Name.Local): @@ -81826,7 +81826,7 @@ func awsEc2query_deserializeDocumentRouteTableAssociation(v **types.RouteTableAs if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Main = xtv + sv.Main = ptr.Bool(xtv) } case strings.EqualFold("routeTableAssociationId", t.Name.Local): @@ -82115,7 +82115,7 @@ func awsEc2query_deserializeDocumentRunInstancesMonitoringEnabled(v **types.RunI if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } default: @@ -82317,7 +82317,7 @@ func awsEc2query_deserializeDocumentScheduledInstance(v **types.ScheduledInstanc if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("instanceType", t.Name.Local): @@ -82426,7 +82426,7 @@ func awsEc2query_deserializeDocumentScheduledInstance(v **types.ScheduledInstanc if err != nil { return err } - sv.SlotDurationInHours = int32(i64) + sv.SlotDurationInHours = ptr.Int32(int32(i64)) } case strings.EqualFold("termEndDate", t.Name.Local): @@ -82477,7 +82477,7 @@ func awsEc2query_deserializeDocumentScheduledInstance(v **types.ScheduledInstanc if err != nil { return err } - sv.TotalScheduledInstanceHours = int32(i64) + sv.TotalScheduledInstanceHours = ptr.Int32(int32(i64)) } default: @@ -82543,7 +82543,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceAvailability(v **types.Sche if err != nil { return err } - sv.AvailableInstanceCount = int32(i64) + sv.AvailableInstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("firstSlotStartTime", t.Name.Local): @@ -82603,7 +82603,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceAvailability(v **types.Sche if err != nil { return err } - sv.MaxTermDurationInDays = int32(i64) + sv.MaxTermDurationInDays = ptr.Int32(int32(i64)) } case strings.EqualFold("minTermDurationInDays", t.Name.Local): @@ -82620,7 +82620,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceAvailability(v **types.Sche if err != nil { return err } - sv.MinTermDurationInDays = int32(i64) + sv.MinTermDurationInDays = ptr.Int32(int32(i64)) } case strings.EqualFold("networkPlatform", t.Name.Local): @@ -82682,7 +82682,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceAvailability(v **types.Sche if err != nil { return err } - sv.SlotDurationInHours = int32(i64) + sv.SlotDurationInHours = ptr.Int32(int32(i64)) } case strings.EqualFold("totalScheduledInstanceHours", t.Name.Local): @@ -82699,7 +82699,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceAvailability(v **types.Sche if err != nil { return err } - sv.TotalScheduledInstanceHours = int32(i64) + sv.TotalScheduledInstanceHours = ptr.Int32(int32(i64)) } default: @@ -82833,7 +82833,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceRecurrence(v **types.Schedu if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case strings.EqualFold("occurrenceDaySet", t.Name.Local): @@ -82855,7 +82855,7 @@ func awsEc2query_deserializeDocumentScheduledInstanceRecurrence(v **types.Schedu if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.OccurrenceRelativeToEnd = xtv + sv.OccurrenceRelativeToEnd = ptr.Bool(xtv) } case strings.EqualFold("occurrenceUnit", t.Name.Local): @@ -83460,7 +83460,7 @@ func awsEc2query_deserializeDocumentServiceConfiguration(v **types.ServiceConfig if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AcceptanceRequired = xtv + sv.AcceptanceRequired = ptr.Bool(xtv) } case strings.EqualFold("availabilityZoneSet", t.Name.Local): @@ -83494,7 +83494,7 @@ func awsEc2query_deserializeDocumentServiceConfiguration(v **types.ServiceConfig if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ManagesVpcEndpoints = xtv + sv.ManagesVpcEndpoints = ptr.Bool(xtv) } case strings.EqualFold("networkLoadBalancerArnSet", t.Name.Local): @@ -83690,7 +83690,7 @@ func awsEc2query_deserializeDocumentServiceDetail(v **types.ServiceDetail, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AcceptanceRequired = xtv + sv.AcceptanceRequired = ptr.Bool(xtv) } case strings.EqualFold("availabilityZoneSet", t.Name.Local): @@ -83718,7 +83718,7 @@ func awsEc2query_deserializeDocumentServiceDetail(v **types.ServiceDetail, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ManagesVpcEndpoints = xtv + sv.ManagesVpcEndpoints = ptr.Bool(xtv) } case strings.EqualFold("owner", t.Name.Local): @@ -83817,7 +83817,7 @@ func awsEc2query_deserializeDocumentServiceDetail(v **types.ServiceDetail, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.VpcEndpointPolicySupported = xtv + sv.VpcEndpointPolicySupported = ptr.Bool(xtv) } default: @@ -84080,7 +84080,7 @@ func awsEc2query_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("kmsKeyId", t.Name.Local): @@ -84237,7 +84237,7 @@ func awsEc2query_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } default: @@ -84316,7 +84316,7 @@ func awsEc2query_deserializeDocumentSnapshotDetail(v **types.SnapshotDetail, dec if err != nil { return err } - sv.DiskImageSize = f64 + sv.DiskImageSize = ptr.Float64(f64) } case strings.EqualFold("format", t.Name.Local): @@ -84533,7 +84533,7 @@ func awsEc2query_deserializeDocumentSnapshotInfo(v **types.SnapshotInfo, decoder if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("outpostArn", t.Name.Local): @@ -84651,7 +84651,7 @@ func awsEc2query_deserializeDocumentSnapshotInfo(v **types.SnapshotInfo, decoder if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } default: @@ -84853,7 +84853,7 @@ func awsEc2query_deserializeDocumentSnapshotTaskDetail(v **types.SnapshotTaskDet if err != nil { return err } - sv.DiskImageSize = f64 + sv.DiskImageSize = ptr.Float64(f64) } case strings.EqualFold("encrypted", t.Name.Local): @@ -84869,7 +84869,7 @@ func awsEc2query_deserializeDocumentSnapshotTaskDetail(v **types.SnapshotTaskDet if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("format", t.Name.Local): @@ -85180,7 +85180,7 @@ func awsEc2query_deserializeDocumentSpotFleetLaunchSpecification(v **types.SpotF if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsOptimized = xtv + sv.EbsOptimized = ptr.Bool(xtv) } case strings.EqualFold("iamInstanceProfile", t.Name.Local): @@ -85337,7 +85337,7 @@ func awsEc2query_deserializeDocumentSpotFleetLaunchSpecification(v **types.SpotF if err != nil { return err } - sv.WeightedCapacity = f64 + sv.WeightedCapacity = ptr.Float64(f64) } default: @@ -85389,7 +85389,7 @@ func awsEc2query_deserializeDocumentSpotFleetMonitoring(v **types.SpotFleetMonit if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } default: @@ -85585,7 +85585,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return err } - sv.FulfilledCapacity = f64 + sv.FulfilledCapacity = ptr.Float64(f64) } case strings.EqualFold("iamFleetRole", t.Name.Local): @@ -85628,7 +85628,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return err } - sv.InstancePoolsToUseCount = int32(i64) + sv.InstancePoolsToUseCount = ptr.Int32(int32(i64)) } case strings.EqualFold("launchSpecifications", t.Name.Local): @@ -85676,7 +85676,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return err } - sv.OnDemandFulfilledCapacity = f64 + sv.OnDemandFulfilledCapacity = ptr.Float64(f64) } case strings.EqualFold("onDemandMaxTotalPrice", t.Name.Local): @@ -85706,7 +85706,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return err } - sv.OnDemandTargetCapacity = int32(i64) + sv.OnDemandTargetCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("replaceUnhealthyInstances", t.Name.Local): @@ -85722,7 +85722,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReplaceUnhealthyInstances = xtv + sv.ReplaceUnhealthyInstances = ptr.Bool(xtv) } case strings.EqualFold("spotMaintenanceStrategies", t.Name.Local): @@ -85777,7 +85777,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return err } - sv.TargetCapacity = int32(i64) + sv.TargetCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("terminateInstancesWithExpiration", t.Name.Local): @@ -85793,7 +85793,7 @@ func awsEc2query_deserializeDocumentSpotFleetRequestConfigData(v **types.SpotFle if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.TerminateInstancesWithExpiration = xtv + sv.TerminateInstancesWithExpiration = ptr.Bool(xtv) } case strings.EqualFold("type", t.Name.Local): @@ -86110,7 +86110,7 @@ func awsEc2query_deserializeDocumentSpotInstanceRequest(v **types.SpotInstanceRe if err != nil { return err } - sv.BlockDurationMinutes = int32(i64) + sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } case strings.EqualFold("createTime", t.Name.Local): @@ -86632,7 +86632,7 @@ func awsEc2query_deserializeDocumentSpotOptions(v **types.SpotOptions, decoder s if err != nil { return err } - sv.InstancePoolsToUseCount = int32(i64) + sv.InstancePoolsToUseCount = ptr.Int32(int32(i64)) } case strings.EqualFold("maintenanceStrategies", t.Name.Local): @@ -86668,7 +86668,7 @@ func awsEc2query_deserializeDocumentSpotOptions(v **types.SpotOptions, decoder s if err != nil { return err } - sv.MinTargetCapacity = int32(i64) + sv.MinTargetCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("singleAvailabilityZone", t.Name.Local): @@ -86684,7 +86684,7 @@ func awsEc2query_deserializeDocumentSpotOptions(v **types.SpotOptions, decoder s if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SingleAvailabilityZone = xtv + sv.SingleAvailabilityZone = ptr.Bool(xtv) } case strings.EqualFold("singleInstanceType", t.Name.Local): @@ -86700,7 +86700,7 @@ func awsEc2query_deserializeDocumentSpotOptions(v **types.SpotOptions, decoder s if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SingleInstanceType = xtv + sv.SingleInstanceType = ptr.Bool(xtv) } default: @@ -87001,7 +87001,7 @@ func awsEc2query_deserializeDocumentStaleIpPermission(v **types.StaleIpPermissio if err != nil { return err } - sv.FromPort = int32(i64) + sv.FromPort = ptr.Int32(int32(i64)) } case strings.EqualFold("ipProtocol", t.Name.Local): @@ -87043,7 +87043,7 @@ func awsEc2query_deserializeDocumentStaleIpPermission(v **types.StaleIpPermissio if err != nil { return err } - sv.ToPort = int32(i64) + sv.ToPort = ptr.Int32(int32(i64)) } case strings.EqualFold("groups", t.Name.Local): @@ -87468,7 +87468,7 @@ func awsEc2query_deserializeDocumentStoreImageTaskResult(v **types.StoreImageTas if err != nil { return err } - sv.ProgressPercentage = int32(i64) + sv.ProgressPercentage = ptr.Int32(int32(i64)) } case strings.EqualFold("s3objectKey", t.Name.Local): @@ -87724,7 +87724,7 @@ func awsEc2query_deserializeDocumentSubnet(v **types.Subnet, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AssignIpv6AddressOnCreation = xtv + sv.AssignIpv6AddressOnCreation = ptr.Bool(xtv) } case strings.EqualFold("availabilityZone", t.Name.Local): @@ -87767,7 +87767,7 @@ func awsEc2query_deserializeDocumentSubnet(v **types.Subnet, decoder smithyxml.N if err != nil { return err } - sv.AvailableIpAddressCount = int32(i64) + sv.AvailableIpAddressCount = ptr.Int32(int32(i64)) } case strings.EqualFold("cidrBlock", t.Name.Local): @@ -87809,7 +87809,7 @@ func awsEc2query_deserializeDocumentSubnet(v **types.Subnet, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DefaultForAz = xtv + sv.DefaultForAz = ptr.Bool(xtv) } case strings.EqualFold("ipv6CidrBlockAssociationSet", t.Name.Local): @@ -87831,7 +87831,7 @@ func awsEc2query_deserializeDocumentSubnet(v **types.Subnet, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MapCustomerOwnedIpOnLaunch = xtv + sv.MapCustomerOwnedIpOnLaunch = ptr.Bool(xtv) } case strings.EqualFold("mapPublicIpOnLaunch", t.Name.Local): @@ -87847,7 +87847,7 @@ func awsEc2query_deserializeDocumentSubnet(v **types.Subnet, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MapPublicIpOnLaunch = xtv + sv.MapPublicIpOnLaunch = ptr.Bool(xtv) } case strings.EqualFold("outpostArn", t.Name.Local): @@ -89036,7 +89036,7 @@ func awsEc2query_deserializeDocumentTargetCapacitySpecification(v **types.Target if err != nil { return err } - sv.OnDemandTargetCapacity = int32(i64) + sv.OnDemandTargetCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("spotTargetCapacity", t.Name.Local): @@ -89053,7 +89053,7 @@ func awsEc2query_deserializeDocumentTargetCapacitySpecification(v **types.Target if err != nil { return err } - sv.SpotTargetCapacity = int32(i64) + sv.SpotTargetCapacity = ptr.Int32(int32(i64)) } case strings.EqualFold("totalTargetCapacity", t.Name.Local): @@ -89070,7 +89070,7 @@ func awsEc2query_deserializeDocumentTargetCapacitySpecification(v **types.Target if err != nil { return err } - sv.TotalTargetCapacity = int32(i64) + sv.TotalTargetCapacity = ptr.Int32(int32(i64)) } default: @@ -89123,7 +89123,7 @@ func awsEc2query_deserializeDocumentTargetConfiguration(v **types.TargetConfigur if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("offeringId", t.Name.Local): @@ -89967,7 +89967,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorFilterRule(v **types.TrafficMir if err != nil { return err } - sv.Protocol = int32(i64) + sv.Protocol = ptr.Int32(int32(i64)) } case strings.EqualFold("ruleAction", t.Name.Local): @@ -89997,7 +89997,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorFilterRule(v **types.TrafficMir if err != nil { return err } - sv.RuleNumber = int32(i64) + sv.RuleNumber = ptr.Int32(int32(i64)) } case strings.EqualFold("sourceCidrBlock", t.Name.Local): @@ -90324,7 +90324,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorPortRange(v **types.TrafficMirr if err != nil { return err } - sv.FromPort = int32(i64) + sv.FromPort = ptr.Int32(int32(i64)) } case strings.EqualFold("toPort", t.Name.Local): @@ -90341,7 +90341,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorPortRange(v **types.TrafficMirr if err != nil { return err } - sv.ToPort = int32(i64) + sv.ToPort = ptr.Int32(int32(i64)) } default: @@ -90433,7 +90433,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorSession(v **types.TrafficMirror if err != nil { return err } - sv.PacketLength = int32(i64) + sv.PacketLength = ptr.Int32(int32(i64)) } case strings.EqualFold("sessionNumber", t.Name.Local): @@ -90450,7 +90450,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorSession(v **types.TrafficMirror if err != nil { return err } - sv.SessionNumber = int32(i64) + sv.SessionNumber = ptr.Int32(int32(i64)) } case strings.EqualFold("tagSet", t.Name.Local): @@ -90512,7 +90512,7 @@ func awsEc2query_deserializeDocumentTrafficMirrorSession(v **types.TrafficMirror if err != nil { return err } - sv.VirtualNetworkId = int32(i64) + sv.VirtualNetworkId = ptr.Int32(int32(i64)) } default: @@ -91296,7 +91296,7 @@ func awsEc2query_deserializeDocumentTransitGatewayAttachmentBgpConfiguration(v * if err != nil { return err } - sv.PeerAsn = i64 + sv.PeerAsn = ptr.Int64(i64) } case strings.EqualFold("transitGatewayAddress", t.Name.Local): @@ -91326,7 +91326,7 @@ func awsEc2query_deserializeDocumentTransitGatewayAttachmentBgpConfiguration(v * if err != nil { return err } - sv.TransitGatewayAsn = i64 + sv.TransitGatewayAsn = ptr.Int64(i64) } default: @@ -92896,7 +92896,7 @@ func awsEc2query_deserializeDocumentTransitGatewayMulticastGroup(v **types.Trans if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.GroupMember = xtv + sv.GroupMember = ptr.Bool(xtv) } case strings.EqualFold("groupSource", t.Name.Local): @@ -92912,7 +92912,7 @@ func awsEc2query_deserializeDocumentTransitGatewayMulticastGroup(v **types.Trans if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.GroupSource = xtv + sv.GroupSource = ptr.Bool(xtv) } case strings.EqualFold("memberType", t.Name.Local): @@ -93273,7 +93273,7 @@ func awsEc2query_deserializeDocumentTransitGatewayOptions(v **types.TransitGatew if err != nil { return err } - sv.AmazonSideAsn = i64 + sv.AmazonSideAsn = ptr.Int64(i64) } case strings.EqualFold("associationDefaultRouteTableId", t.Name.Local): @@ -93681,7 +93681,7 @@ func awsEc2query_deserializeDocumentTransitGatewayPrefixListReference(v **types. if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Blackhole = xtv + sv.Blackhole = ptr.Bool(xtv) } case strings.EqualFold("prefixListId", t.Name.Local): @@ -94282,7 +94282,7 @@ func awsEc2query_deserializeDocumentTransitGatewayRouteTable(v **types.TransitGa if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DefaultAssociationRouteTable = xtv + sv.DefaultAssociationRouteTable = ptr.Bool(xtv) } case strings.EqualFold("defaultPropagationRouteTable", t.Name.Local): @@ -94298,7 +94298,7 @@ func awsEc2query_deserializeDocumentTransitGatewayRouteTable(v **types.TransitGa if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DefaultPropagationRouteTable = xtv + sv.DefaultPropagationRouteTable = ptr.Bool(xtv) } case strings.EqualFold("state", t.Name.Local): @@ -95068,7 +95068,7 @@ func awsEc2query_deserializeDocumentTunnelOption(v **types.TunnelOption, decoder if err != nil { return err } - sv.DpdTimeoutSeconds = int32(i64) + sv.DpdTimeoutSeconds = ptr.Int32(int32(i64)) } case strings.EqualFold("ikeVersionSet", t.Name.Local): @@ -95122,7 +95122,7 @@ func awsEc2query_deserializeDocumentTunnelOption(v **types.TunnelOption, decoder if err != nil { return err } - sv.Phase1LifetimeSeconds = int32(i64) + sv.Phase1LifetimeSeconds = ptr.Int32(int32(i64)) } case strings.EqualFold("phase2DHGroupNumberSet", t.Name.Local): @@ -95157,7 +95157,7 @@ func awsEc2query_deserializeDocumentTunnelOption(v **types.TunnelOption, decoder if err != nil { return err } - sv.Phase2LifetimeSeconds = int32(i64) + sv.Phase2LifetimeSeconds = ptr.Int32(int32(i64)) } case strings.EqualFold("preSharedKey", t.Name.Local): @@ -95187,7 +95187,7 @@ func awsEc2query_deserializeDocumentTunnelOption(v **types.TunnelOption, decoder if err != nil { return err } - sv.RekeyFuzzPercentage = int32(i64) + sv.RekeyFuzzPercentage = ptr.Int32(int32(i64)) } case strings.EqualFold("rekeyMarginTimeSeconds", t.Name.Local): @@ -95204,7 +95204,7 @@ func awsEc2query_deserializeDocumentTunnelOption(v **types.TunnelOption, decoder if err != nil { return err } - sv.RekeyMarginTimeSeconds = int32(i64) + sv.RekeyMarginTimeSeconds = ptr.Int32(int32(i64)) } case strings.EqualFold("replayWindowSize", t.Name.Local): @@ -95221,7 +95221,7 @@ func awsEc2query_deserializeDocumentTunnelOption(v **types.TunnelOption, decoder if err != nil { return err } - sv.ReplayWindowSize = int32(i64) + sv.ReplayWindowSize = ptr.Int32(int32(i64)) } case strings.EqualFold("startupAction", t.Name.Local): @@ -96507,7 +96507,7 @@ func awsEc2query_deserializeDocumentVgwTelemetry(v **types.VgwTelemetry, decoder if err != nil { return err } - sv.AcceptedRouteCount = int32(i64) + sv.AcceptedRouteCount = ptr.Int32(int32(i64)) } case strings.EqualFold("certificateArn", t.Name.Local): @@ -96812,7 +96812,7 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("fastRestored", t.Name.Local): @@ -96828,7 +96828,7 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.FastRestored = xtv + sv.FastRestored = ptr.Bool(xtv) } case strings.EqualFold("iops", t.Name.Local): @@ -96845,7 +96845,7 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case strings.EqualFold("kmsKeyId", t.Name.Local): @@ -96874,7 +96874,7 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAttachEnabled = xtv + sv.MultiAttachEnabled = ptr.Bool(xtv) } case strings.EqualFold("outpostArn", t.Name.Local): @@ -96904,7 +96904,7 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N if err != nil { return err } - sv.Size = int32(i64) + sv.Size = ptr.Int32(int32(i64)) } case strings.EqualFold("snapshotId", t.Name.Local): @@ -96953,7 +96953,7 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N if err != nil { return err } - sv.Throughput = int32(i64) + sv.Throughput = ptr.Int32(int32(i64)) } case strings.EqualFold("volumeId", t.Name.Local): @@ -97048,7 +97048,7 @@ func awsEc2query_deserializeDocumentVolumeAttachment(v **types.VolumeAttachment, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("device", t.Name.Local): @@ -97319,7 +97319,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.OriginalIops = int32(i64) + sv.OriginalIops = ptr.Int32(int32(i64)) } case strings.EqualFold("originalMultiAttachEnabled", t.Name.Local): @@ -97335,7 +97335,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.OriginalMultiAttachEnabled = xtv + sv.OriginalMultiAttachEnabled = ptr.Bool(xtv) } case strings.EqualFold("originalSize", t.Name.Local): @@ -97352,7 +97352,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.OriginalSize = int32(i64) + sv.OriginalSize = ptr.Int32(int32(i64)) } case strings.EqualFold("originalThroughput", t.Name.Local): @@ -97369,7 +97369,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.OriginalThroughput = int32(i64) + sv.OriginalThroughput = ptr.Int32(int32(i64)) } case strings.EqualFold("originalVolumeType", t.Name.Local): @@ -97399,7 +97399,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.Progress = i64 + sv.Progress = ptr.Int64(i64) } case strings.EqualFold("startTime", t.Name.Local): @@ -97446,7 +97446,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.TargetIops = int32(i64) + sv.TargetIops = ptr.Int32(int32(i64)) } case strings.EqualFold("targetMultiAttachEnabled", t.Name.Local): @@ -97462,7 +97462,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.TargetMultiAttachEnabled = xtv + sv.TargetMultiAttachEnabled = ptr.Bool(xtv) } case strings.EqualFold("targetSize", t.Name.Local): @@ -97479,7 +97479,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.TargetSize = int32(i64) + sv.TargetSize = ptr.Int32(int32(i64)) } case strings.EqualFold("targetThroughput", t.Name.Local): @@ -97496,7 +97496,7 @@ func awsEc2query_deserializeDocumentVolumeModification(v **types.VolumeModificat if err != nil { return err } - sv.TargetThroughput = int32(i64) + sv.TargetThroughput = ptr.Int32(int32(i64)) } case strings.EqualFold("targetVolumeType", t.Name.Local): @@ -98521,7 +98521,7 @@ func awsEc2query_deserializeDocumentVpc(v **types.Vpc, decoder smithyxml.NodeDec if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsDefault = xtv + sv.IsDefault = ptr.Bool(xtv) } case strings.EqualFold("ownerId", t.Name.Local): @@ -98946,7 +98946,7 @@ func awsEc2query_deserializeDocumentVpcClassicLink(v **types.VpcClassicLink, dec if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ClassicLinkEnabled = xtv + sv.ClassicLinkEnabled = ptr.Bool(xtv) } case strings.EqualFold("tagSet", t.Name.Local): @@ -99152,7 +99152,7 @@ func awsEc2query_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, decoder s if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.PrivateDnsEnabled = xtv + sv.PrivateDnsEnabled = ptr.Bool(xtv) } case strings.EqualFold("requesterManaged", t.Name.Local): @@ -99168,7 +99168,7 @@ func awsEc2query_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, decoder s if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.RequesterManaged = xtv + sv.RequesterManaged = ptr.Bool(xtv) } case strings.EqualFold("routeTableIdSet", t.Name.Local): @@ -99950,7 +99950,7 @@ func awsEc2query_deserializeDocumentVpcPeeringConnectionOptionsDescription(v **t if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowDnsResolutionFromRemoteVpc = xtv + sv.AllowDnsResolutionFromRemoteVpc = ptr.Bool(xtv) } case strings.EqualFold("allowEgressFromLocalClassicLinkToRemoteVpc", t.Name.Local): @@ -99966,7 +99966,7 @@ func awsEc2query_deserializeDocumentVpcPeeringConnectionOptionsDescription(v **t if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowEgressFromLocalClassicLinkToRemoteVpc = xtv + sv.AllowEgressFromLocalClassicLinkToRemoteVpc = ptr.Bool(xtv) } case strings.EqualFold("allowEgressFromLocalVpcToRemoteClassicLink", t.Name.Local): @@ -99982,7 +99982,7 @@ func awsEc2query_deserializeDocumentVpcPeeringConnectionOptionsDescription(v **t if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowEgressFromLocalVpcToRemoteClassicLink = xtv + sv.AllowEgressFromLocalVpcToRemoteClassicLink = ptr.Bool(xtv) } default: @@ -100434,7 +100434,7 @@ func awsEc2query_deserializeDocumentVpnConnectionOptions(v **types.VpnConnection if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EnableAcceleration = xtv + sv.EnableAcceleration = ptr.Bool(xtv) } case strings.EqualFold("localIpv4NetworkCidr", t.Name.Local): @@ -100502,7 +100502,7 @@ func awsEc2query_deserializeDocumentVpnConnectionOptions(v **types.VpnConnection if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StaticRoutesOnly = xtv + sv.StaticRoutesOnly = ptr.Bool(xtv) } case strings.EqualFold("tunnelInsideIpVersion", t.Name.Local): @@ -100574,7 +100574,7 @@ func awsEc2query_deserializeDocumentVpnGateway(v **types.VpnGateway, decoder smi if err != nil { return err } - sv.AmazonSideAsn = i64 + sv.AmazonSideAsn = ptr.Int64(i64) } case strings.EqualFold("availabilityZone", t.Name.Local): @@ -102012,7 +102012,7 @@ func awsEc2query_deserializeOpDocumentAttachClassicLinkVpcOutput(v **AttachClass if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -102078,7 +102078,7 @@ func awsEc2query_deserializeOpDocumentAttachNetworkInterfaceOutput(v **AttachNet if err != nil { return err } - sv.NetworkCardIndex = int32(i64) + sv.NetworkCardIndex = ptr.Int32(int32(i64)) } default: @@ -102147,7 +102147,7 @@ func awsEc2query_deserializeOpDocumentAttachVolumeOutput(v **AttachVolumeOutput, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("device", t.Name.Local): @@ -102419,7 +102419,7 @@ func awsEc2query_deserializeOpDocumentCancelCapacityReservationOutput(v **Cancel if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -102691,7 +102691,7 @@ func awsEc2query_deserializeOpDocumentConfirmProductInstanceOutput(v **ConfirmPr if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -104344,7 +104344,7 @@ func awsEc2query_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -104519,7 +104519,7 @@ func awsEc2query_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOut if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("kmsKeyId", t.Name.Local): @@ -104676,7 +104676,7 @@ func awsEc2query_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOut if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } default: @@ -105537,7 +105537,7 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("fastRestored", t.Name.Local): @@ -105553,7 +105553,7 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.FastRestored = xtv + sv.FastRestored = ptr.Bool(xtv) } case strings.EqualFold("iops", t.Name.Local): @@ -105570,7 +105570,7 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case strings.EqualFold("kmsKeyId", t.Name.Local): @@ -105599,7 +105599,7 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAttachEnabled = xtv + sv.MultiAttachEnabled = ptr.Bool(xtv) } case strings.EqualFold("outpostArn", t.Name.Local): @@ -105629,7 +105629,7 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, if err != nil { return err } - sv.Size = int32(i64) + sv.Size = ptr.Int32(int32(i64)) } case strings.EqualFold("snapshotId", t.Name.Local): @@ -105678,7 +105678,7 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, if err != nil { return err } - sv.Throughput = int32(i64) + sv.Throughput = ptr.Int32(int32(i64)) } case strings.EqualFold("volumeId", t.Name.Local): @@ -106215,7 +106215,7 @@ func awsEc2query_deserializeOpDocumentDeleteEgressOnlyInternetGatewayOutput(v ** if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReturnCode = xtv + sv.ReturnCode = ptr.Bool(xtv) } default: @@ -106357,7 +106357,7 @@ func awsEc2query_deserializeOpDocumentDeleteFpgaImageOutput(v **DeleteFpgaImageO if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -106772,7 +106772,7 @@ func awsEc2query_deserializeOpDocumentDeleteNetworkInterfacePermissionOutput(v * if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -107572,7 +107572,7 @@ func awsEc2query_deserializeOpDocumentDeleteVpcPeeringConnectionOutput(v **Delet if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -107937,7 +107937,7 @@ func awsEc2query_deserializeOpDocumentDescribeAggregateIdFormatOutput(v **Descri if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.UseLongIdsAggregated = xtv + sv.UseLongIdsAggregated = ptr.Bool(xtv) } default: @@ -108824,7 +108824,7 @@ func awsEc2query_deserializeOpDocumentDescribeElasticGpusOutput(v **DescribeElas if err != nil { return err } - sv.MaxResults = int32(i64) + sv.MaxResults = ptr.Int32(int32(i64)) } case strings.EqualFold("nextToken", t.Name.Local): @@ -114524,7 +114524,7 @@ func awsEc2query_deserializeOpDocumentDetachClassicLinkVpcOutput(v **DetachClass if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -114593,7 +114593,7 @@ func awsEc2query_deserializeOpDocumentDetachVolumeOutput(v **DetachVolumeOutput, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeleteOnTermination = xtv + sv.DeleteOnTermination = ptr.Bool(xtv) } case strings.EqualFold("device", t.Name.Local): @@ -114697,7 +114697,7 @@ func awsEc2query_deserializeOpDocumentDisableEbsEncryptionByDefaultOutput(v **Di if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsEncryptionByDefault = xtv + sv.EbsEncryptionByDefault = ptr.Bool(xtv) } default: @@ -114797,7 +114797,7 @@ func awsEc2query_deserializeOpDocumentDisableSerialConsoleAccessOutput(v **Disab if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SerialConsoleAccessEnabled = xtv + sv.SerialConsoleAccessEnabled = ptr.Bool(xtv) } default: @@ -114891,7 +114891,7 @@ func awsEc2query_deserializeOpDocumentDisableVpcClassicLinkDnsSupportOutput(v ** if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -114943,7 +114943,7 @@ func awsEc2query_deserializeOpDocumentDisableVpcClassicLinkOutput(v **DisableVpc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -115050,7 +115050,7 @@ func awsEc2query_deserializeOpDocumentDisassociateEnclaveCertificateIamRoleOutpu if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -115344,7 +115344,7 @@ func awsEc2query_deserializeOpDocumentEnableEbsEncryptionByDefaultOutput(v **Ena if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsEncryptionByDefault = xtv + sv.EbsEncryptionByDefault = ptr.Bool(xtv) } default: @@ -115444,7 +115444,7 @@ func awsEc2query_deserializeOpDocumentEnableSerialConsoleAccessOutput(v **Enable if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SerialConsoleAccessEnabled = xtv + sv.SerialConsoleAccessEnabled = ptr.Bool(xtv) } default: @@ -115538,7 +115538,7 @@ func awsEc2query_deserializeOpDocumentEnableVpcClassicLinkDnsSupportOutput(v **E if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -115590,7 +115590,7 @@ func awsEc2query_deserializeOpDocumentEnableVpcClassicLinkOutput(v **EnableVpcCl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -116045,7 +116045,7 @@ func awsEc2query_deserializeOpDocumentGetCapacityReservationUsageOutput(v **GetC if err != nil { return err } - sv.AvailableInstanceCount = int32(i64) + sv.AvailableInstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("capacityReservationId", t.Name.Local): @@ -116120,7 +116120,7 @@ func awsEc2query_deserializeOpDocumentGetCapacityReservationUsageOutput(v **GetC if err != nil { return err } - sv.TotalInstanceCount = int32(i64) + sv.TotalInstanceCount = ptr.Int32(int32(i64)) } default: @@ -116472,7 +116472,7 @@ func awsEc2query_deserializeOpDocumentGetEbsEncryptionByDefaultOutput(v **GetEbs if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EbsEncryptionByDefault = xtv + sv.EbsEncryptionByDefault = ptr.Bool(xtv) } default: @@ -116953,7 +116953,7 @@ func awsEc2query_deserializeOpDocumentGetReservedInstancesExchangeQuoteOutput(v if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsValidExchange = xtv + sv.IsValidExchange = ptr.Bool(xtv) } case strings.EqualFold("outputReservedInstancesWillExpireAt", t.Name.Local): @@ -117072,7 +117072,7 @@ func awsEc2query_deserializeOpDocumentGetSerialConsoleAccessStatusOutput(v **Get if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SerialConsoleAccessEnabled = xtv + sv.SerialConsoleAccessEnabled = ptr.Bool(xtv) } default: @@ -117399,7 +117399,7 @@ func awsEc2query_deserializeOpDocumentImportClientVpnClientCertificateRevocation if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -117477,7 +117477,7 @@ func awsEc2query_deserializeOpDocumentImportImageOutput(v **ImportImageOutput, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("hypervisor", t.Name.Local): @@ -117945,7 +117945,7 @@ func awsEc2query_deserializeOpDocumentModifyAvailabilityZoneGroupOutput(v **Modi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -117997,7 +117997,7 @@ func awsEc2query_deserializeOpDocumentModifyCapacityReservationOutput(v **Modify if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -118049,7 +118049,7 @@ func awsEc2query_deserializeOpDocumentModifyClientVpnEndpointOutput(v **ModifyCl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -118192,7 +118192,7 @@ func awsEc2query_deserializeOpDocumentModifyFleetOutput(v **ModifyFleetOutput, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -118334,7 +118334,7 @@ func awsEc2query_deserializeOpDocumentModifyInstanceCapacityReservationAttribute if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -118531,7 +118531,7 @@ func awsEc2query_deserializeOpDocumentModifyInstancePlacementOutput(v **ModifyIn if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -118716,7 +118716,7 @@ func awsEc2query_deserializeOpDocumentModifySpotFleetRequestOutput(v **ModifySpo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -119062,7 +119062,7 @@ func awsEc2query_deserializeOpDocumentModifyVpcEndpointConnectionNotificationOut if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReturnValue = xtv + sv.ReturnValue = ptr.Bool(xtv) } default: @@ -119114,7 +119114,7 @@ func awsEc2query_deserializeOpDocumentModifyVpcEndpointOutput(v **ModifyVpcEndpo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -119166,7 +119166,7 @@ func awsEc2query_deserializeOpDocumentModifyVpcEndpointServiceConfigurationOutpu if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -119218,7 +119218,7 @@ func awsEc2query_deserializeOpDocumentModifyVpcEndpointServicePermissionsOutput( if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReturnValue = xtv + sv.ReturnValue = ptr.Bool(xtv) } default: @@ -119318,7 +119318,7 @@ func awsEc2query_deserializeOpDocumentModifyVpcTenancyOutput(v **ModifyVpcTenanc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReturnValue = xtv + sv.ReturnValue = ptr.Bool(xtv) } default: @@ -120212,7 +120212,7 @@ func awsEc2query_deserializeOpDocumentRejectVpcPeeringConnectionOutput(v **Rejec if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -120682,7 +120682,7 @@ func awsEc2query_deserializeOpDocumentResetFpgaImageAttributeOutput(v **ResetFpg if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -120880,7 +120880,7 @@ func awsEc2query_deserializeOpDocumentRevokeSecurityGroupEgressOutput(v **Revoke if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } case strings.EqualFold("unknownIpPermissionSet", t.Name.Local): @@ -120938,7 +120938,7 @@ func awsEc2query_deserializeOpDocumentRevokeSecurityGroupIngressOutput(v **Revok if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } case strings.EqualFold("unknownIpPermissionSet", t.Name.Local): @@ -121235,7 +121235,7 @@ func awsEc2query_deserializeOpDocumentSearchTransitGatewayRoutesOutput(v **Searc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AdditionalRoutesAvailable = xtv + sv.AdditionalRoutesAvailable = ptr.Bool(xtv) } case strings.EqualFold("routeSet", t.Name.Local): @@ -121377,7 +121377,7 @@ func awsEc2query_deserializeOpDocumentStartVpcEndpointServicePrivateDnsVerificat if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReturnValue = xtv + sv.ReturnValue = ptr.Bool(xtv) } default: @@ -121678,7 +121678,7 @@ func awsEc2query_deserializeOpDocumentUpdateSecurityGroupRuleDescriptionsEgressO if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: @@ -121730,7 +121730,7 @@ func awsEc2query_deserializeOpDocumentUpdateSecurityGroupRuleDescriptionsIngress if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Return = xtv + sv.Return = ptr.Bool(xtv) } default: diff --git a/service/ec2/internal/customizations/unit_test.go b/service/ec2/internal/customizations/unit_test.go index e8bbfae7bcf..d222779b5ef 100644 --- a/service/ec2/internal/customizations/unit_test.go +++ b/service/ec2/internal/customizations/unit_test.go @@ -60,7 +60,7 @@ func Test_EmptyResponse(t *testing.T) { params := &ec2.DeleteFleetsInput{ FleetIds: []string{"mockid"}, - TerminateInstances: true, + TerminateInstances: aws.Bool(true), } _, err := client.DeleteFleets(ctx, params) if c.expectError { diff --git a/service/ec2/serializers.go b/service/ec2/serializers.go index c93251a5ab4..c4b42f261c8 100644 --- a/service/ec2/serializers.go +++ b/service/ec2/serializers.go @@ -25301,9 +25301,9 @@ func awsEc2query_serializeDocumentAttributeBooleanValue(v *types.AttributeBoolea object := value.Object() _ = object - if v.Value { + if v.Value != nil { objectKey := object.Key("Value") - objectKey.Boolean(v.Value) + objectKey.Boolean(*v.Value) } return nil @@ -25579,9 +25579,9 @@ func awsEc2query_serializeDocumentClientConnectOptions(v *types.ClientConnectOpt object := value.Object() _ = object - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } if v.LambdaFunctionArn != nil { @@ -25606,9 +25606,9 @@ func awsEc2query_serializeDocumentClientData(v *types.ClientData, value query.Va objectKey.String(smithytime.FormatDateTime(*v.UploadEnd)) } - if v.UploadSize != 0 { + if v.UploadSize != nil { objectKey := object.Key("UploadSize") - objectKey.Double(v.UploadSize) + objectKey.Double(*v.UploadSize) } if v.UploadStart != nil { @@ -25720,9 +25720,9 @@ func awsEc2query_serializeDocumentConnectionLogOptions(v *types.ConnectionLogOpt objectKey.String(*v.CloudwatchLogStream) } - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -25758,14 +25758,14 @@ func awsEc2query_serializeDocumentCpuOptionsRequest(v *types.CpuOptionsRequest, object := value.Object() _ = object - if v.CoreCount != 0 { + if v.CoreCount != nil { objectKey := object.Key("CoreCount") - objectKey.Integer(v.CoreCount) + objectKey.Integer(*v.CoreCount) } - if v.ThreadsPerCore != 0 { + if v.ThreadsPerCore != nil { objectKey := object.Key("ThreadsPerCore") - objectKey.Integer(v.ThreadsPerCore) + objectKey.Integer(*v.ThreadsPerCore) } return nil @@ -25922,9 +25922,9 @@ func awsEc2query_serializeDocumentDeregisterInstanceTagAttributeRequest(v *types object := value.Object() _ = object - if v.IncludeAllTagsOfInstance { + if v.IncludeAllTagsOfInstance != nil { objectKey := object.Key("IncludeAllTagsOfInstance") - objectKey.Boolean(v.IncludeAllTagsOfInstance) + objectKey.Boolean(*v.IncludeAllTagsOfInstance) } if v.InstanceTagKeys != nil { @@ -25992,9 +25992,9 @@ func awsEc2query_serializeDocumentDiskImageDetail(v *types.DiskImageDetail, valu object := value.Object() _ = object - { + if v.Bytes != nil { objectKey := object.Key("Bytes") - objectKey.Long(v.Bytes) + objectKey.Long(*v.Bytes) } if len(v.Format) > 0 { @@ -26036,9 +26036,9 @@ func awsEc2query_serializeDocumentDnsServersOptionsModifyStructure(v *types.DnsS } } - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -26048,19 +26048,19 @@ func awsEc2query_serializeDocumentEbsBlockDevice(v *types.EbsBlockDevice, value object := value.Object() _ = object - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } - if v.Iops != 0 { + if v.Iops != nil { objectKey := object.Key("Iops") - objectKey.Integer(v.Iops) + objectKey.Integer(*v.Iops) } if v.KmsKeyId != nil { @@ -26078,14 +26078,14 @@ func awsEc2query_serializeDocumentEbsBlockDevice(v *types.EbsBlockDevice, value objectKey.String(*v.SnapshotId) } - if v.Throughput != 0 { + if v.Throughput != nil { objectKey := object.Key("Throughput") - objectKey.Integer(v.Throughput) + objectKey.Integer(*v.Throughput) } - if v.VolumeSize != 0 { + if v.VolumeSize != nil { objectKey := object.Key("VolumeSize") - objectKey.Integer(v.VolumeSize) + objectKey.Integer(*v.VolumeSize) } if len(v.VolumeType) > 0 { @@ -26100,9 +26100,9 @@ func awsEc2query_serializeDocumentEbsInstanceBlockDeviceSpecification(v *types.E object := value.Object() _ = object - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } if v.VolumeId != nil { @@ -26185,9 +26185,9 @@ func awsEc2query_serializeDocumentElasticInferenceAccelerator(v *types.ElasticIn object := value.Object() _ = object - if v.Count != 0 { + if v.Count != nil { objectKey := object.Key("Count") - objectKey.Integer(v.Count) + objectKey.Integer(*v.Count) } if v.Type != nil { @@ -26217,9 +26217,9 @@ func awsEc2query_serializeDocumentEnclaveOptionsRequest(v *types.EnclaveOptionsR object := value.Object() _ = object - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -26449,9 +26449,9 @@ func awsEc2query_serializeDocumentFleetLaunchTemplateOverridesRequest(v *types.F } } - if v.Priority != 0 { + if v.Priority != nil { objectKey := object.Key("Priority") - objectKey.Double(v.Priority) + objectKey.Double(*v.Priority) } if v.SubnetId != nil { @@ -26459,9 +26459,9 @@ func awsEc2query_serializeDocumentFleetLaunchTemplateOverridesRequest(v *types.F objectKey.String(*v.SubnetId) } - if v.WeightedCapacity != 0 { + if v.WeightedCapacity != nil { objectKey := object.Key("WeightedCapacity") - objectKey.Double(v.WeightedCapacity) + objectKey.Double(*v.WeightedCapacity) } return nil @@ -26651,9 +26651,9 @@ func awsEc2query_serializeDocumentHibernationOptionsRequest(v *types.Hibernation object := value.Object() _ = object - if v.Configured { + if v.Configured != nil { objectKey := object.Key("Configured") - objectKey.Boolean(v.Configured) + objectKey.Boolean(*v.Configured) } return nil @@ -26693,14 +26693,14 @@ func awsEc2query_serializeDocumentIcmpTypeCode(v *types.IcmpTypeCode, value quer object := value.Object() _ = object - if v.Code != 0 { + if v.Code != nil { objectKey := object.Key("Code") - objectKey.Integer(v.Code) + objectKey.Integer(*v.Code) } - if v.Type != 0 { + if v.Type != nil { objectKey := object.Key("Type") - objectKey.Integer(v.Type) + objectKey.Integer(*v.Type) } return nil @@ -26878,9 +26878,9 @@ func awsEc2query_serializeDocumentImportInstanceLaunchSpecification(v *types.Imp objectKey.String(string(v.InstanceType)) } - if v.Monitoring { + if v.Monitoring != nil { objectKey := object.Key("Monitoring") - objectKey.Boolean(v.Monitoring) + objectKey.Boolean(*v.Monitoring) } if v.Placement != nil { @@ -27120,9 +27120,9 @@ func awsEc2query_serializeDocumentInstanceMetadataOptionsRequest(v *types.Instan objectKey.String(string(v.HttpEndpoint)) } - if v.HttpPutResponseHopLimit != 0 { + if v.HttpPutResponseHopLimit != nil { objectKey := object.Key("HttpPutResponseHopLimit") - objectKey.Integer(v.HttpPutResponseHopLimit) + objectKey.Integer(*v.HttpPutResponseHopLimit) } if len(v.HttpTokens) > 0 { @@ -27137,19 +27137,19 @@ func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecification(v *types object := value.Object() _ = object - if v.AssociateCarrierIpAddress { + if v.AssociateCarrierIpAddress != nil { objectKey := object.Key("AssociateCarrierIpAddress") - objectKey.Boolean(v.AssociateCarrierIpAddress) + objectKey.Boolean(*v.AssociateCarrierIpAddress) } - if v.AssociatePublicIpAddress { + if v.AssociatePublicIpAddress != nil { objectKey := object.Key("AssociatePublicIpAddress") - objectKey.Boolean(v.AssociatePublicIpAddress) + objectKey.Boolean(*v.AssociatePublicIpAddress) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } if v.Description != nil { @@ -27157,9 +27157,9 @@ func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecification(v *types objectKey.String(*v.Description) } - if v.DeviceIndex != 0 { + if v.DeviceIndex != nil { objectKey := object.Key("DeviceIndex") - objectKey.Integer(v.DeviceIndex) + objectKey.Integer(*v.DeviceIndex) } if v.Groups != nil { @@ -27174,9 +27174,9 @@ func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecification(v *types objectKey.String(*v.InterfaceType) } - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { objectKey := object.Key("Ipv6AddressCount") - objectKey.Integer(v.Ipv6AddressCount) + objectKey.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -27186,9 +27186,9 @@ func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecification(v *types } } - if v.NetworkCardIndex != 0 { + if v.NetworkCardIndex != nil { objectKey := object.Key("NetworkCardIndex") - objectKey.Integer(v.NetworkCardIndex) + objectKey.Integer(*v.NetworkCardIndex) } if v.NetworkInterfaceId != nil { @@ -27208,9 +27208,9 @@ func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecification(v *types } } - if v.SecondaryPrivateIpAddressCount != 0 { + if v.SecondaryPrivateIpAddressCount != nil { objectKey := object.Key("SecondaryPrivateIpAddressCount") - objectKey.Integer(v.SecondaryPrivateIpAddressCount) + objectKey.Integer(*v.SecondaryPrivateIpAddressCount) } if v.SubnetId != nil { @@ -27240,9 +27240,9 @@ func awsEc2query_serializeDocumentInstanceSpecification(v *types.InstanceSpecifi object := value.Object() _ = object - if v.ExcludeBootVolume { + if v.ExcludeBootVolume != nil { objectKey := object.Key("ExcludeBootVolume") - objectKey.Boolean(v.ExcludeBootVolume) + objectKey.Boolean(*v.ExcludeBootVolume) } if v.InstanceId != nil { @@ -27310,9 +27310,9 @@ func awsEc2query_serializeDocumentIpPermission(v *types.IpPermission, value quer object := value.Object() _ = object - if v.FromPort != 0 { + if v.FromPort != nil { objectKey := object.Key("FromPort") - objectKey.Integer(v.FromPort) + objectKey.Integer(*v.FromPort) } if v.IpProtocol != nil { @@ -27341,9 +27341,9 @@ func awsEc2query_serializeDocumentIpPermission(v *types.IpPermission, value quer } } - if v.ToPort != 0 { + if v.ToPort != nil { objectKey := object.Key("ToPort") - objectKey.Integer(v.ToPort) + objectKey.Integer(*v.ToPort) } if v.UserIdGroupPairs != nil { @@ -27658,14 +27658,14 @@ func awsEc2query_serializeDocumentLaunchTemplateCpuOptionsRequest(v *types.Launc object := value.Object() _ = object - if v.CoreCount != 0 { + if v.CoreCount != nil { objectKey := object.Key("CoreCount") - objectKey.Integer(v.CoreCount) + objectKey.Integer(*v.CoreCount) } - if v.ThreadsPerCore != 0 { + if v.ThreadsPerCore != nil { objectKey := object.Key("ThreadsPerCore") - objectKey.Integer(v.ThreadsPerCore) + objectKey.Integer(*v.ThreadsPerCore) } return nil @@ -27675,19 +27675,19 @@ func awsEc2query_serializeDocumentLaunchTemplateEbsBlockDeviceRequest(v *types.L object := value.Object() _ = object - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } - if v.Iops != 0 { + if v.Iops != nil { objectKey := object.Key("Iops") - objectKey.Integer(v.Iops) + objectKey.Integer(*v.Iops) } if v.KmsKeyId != nil { @@ -27700,14 +27700,14 @@ func awsEc2query_serializeDocumentLaunchTemplateEbsBlockDeviceRequest(v *types.L objectKey.String(*v.SnapshotId) } - if v.Throughput != 0 { + if v.Throughput != nil { objectKey := object.Key("Throughput") - objectKey.Integer(v.Throughput) + objectKey.Integer(*v.Throughput) } - if v.VolumeSize != 0 { + if v.VolumeSize != nil { objectKey := object.Key("VolumeSize") - objectKey.Integer(v.VolumeSize) + objectKey.Integer(*v.VolumeSize) } if len(v.VolumeType) > 0 { @@ -27722,9 +27722,9 @@ func awsEc2query_serializeDocumentLaunchTemplateElasticInferenceAccelerator(v *t object := value.Object() _ = object - if v.Count != 0 { + if v.Count != nil { objectKey := object.Key("Count") - objectKey.Integer(v.Count) + objectKey.Integer(*v.Count) } if v.Type != nil { @@ -27754,9 +27754,9 @@ func awsEc2query_serializeDocumentLaunchTemplateEnclaveOptionsRequest(v *types.L object := value.Object() _ = object - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -27766,9 +27766,9 @@ func awsEc2query_serializeDocumentLaunchTemplateHibernationOptionsRequest(v *typ object := value.Object() _ = object - if v.Configured { + if v.Configured != nil { objectKey := object.Key("Configured") - objectKey.Boolean(v.Configured) + objectKey.Boolean(*v.Configured) } return nil @@ -27832,9 +27832,9 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceMetadataOptionsRequest(v objectKey.String(string(v.HttpEndpoint)) } - if v.HttpPutResponseHopLimit != 0 { + if v.HttpPutResponseHopLimit != nil { objectKey := object.Key("HttpPutResponseHopLimit") - objectKey.Integer(v.HttpPutResponseHopLimit) + objectKey.Integer(*v.HttpPutResponseHopLimit) } if len(v.HttpTokens) > 0 { @@ -27849,19 +27849,19 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecific object := value.Object() _ = object - if v.AssociateCarrierIpAddress { + if v.AssociateCarrierIpAddress != nil { objectKey := object.Key("AssociateCarrierIpAddress") - objectKey.Boolean(v.AssociateCarrierIpAddress) + objectKey.Boolean(*v.AssociateCarrierIpAddress) } - if v.AssociatePublicIpAddress { + if v.AssociatePublicIpAddress != nil { objectKey := object.Key("AssociatePublicIpAddress") - objectKey.Boolean(v.AssociatePublicIpAddress) + objectKey.Boolean(*v.AssociatePublicIpAddress) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } if v.Description != nil { @@ -27869,9 +27869,9 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecific objectKey.String(*v.Description) } - if v.DeviceIndex != 0 { + if v.DeviceIndex != nil { objectKey := object.Key("DeviceIndex") - objectKey.Integer(v.DeviceIndex) + objectKey.Integer(*v.DeviceIndex) } if v.Groups != nil { @@ -27886,9 +27886,9 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecific objectKey.String(*v.InterfaceType) } - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { objectKey := object.Key("Ipv6AddressCount") - objectKey.Integer(v.Ipv6AddressCount) + objectKey.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -27898,9 +27898,9 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecific } } - if v.NetworkCardIndex != 0 { + if v.NetworkCardIndex != nil { objectKey := object.Key("NetworkCardIndex") - objectKey.Integer(v.NetworkCardIndex) + objectKey.Integer(*v.NetworkCardIndex) } if v.NetworkInterfaceId != nil { @@ -27920,9 +27920,9 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecific } } - if v.SecondaryPrivateIpAddressCount != 0 { + if v.SecondaryPrivateIpAddressCount != nil { objectKey := object.Key("SecondaryPrivateIpAddressCount") - objectKey.Integer(v.SecondaryPrivateIpAddressCount) + objectKey.Integer(*v.SecondaryPrivateIpAddressCount) } if v.SubnetId != nil { @@ -28002,9 +28002,9 @@ func awsEc2query_serializeDocumentLaunchTemplateOverrides(v *types.LaunchTemplat objectKey.String(string(v.InstanceType)) } - if v.Priority != 0 { + if v.Priority != nil { objectKey := object.Key("Priority") - objectKey.Double(v.Priority) + objectKey.Double(*v.Priority) } if v.SpotPrice != nil { @@ -28017,9 +28017,9 @@ func awsEc2query_serializeDocumentLaunchTemplateOverrides(v *types.LaunchTemplat objectKey.String(*v.SubnetId) } - if v.WeightedCapacity != 0 { + if v.WeightedCapacity != nil { objectKey := object.Key("WeightedCapacity") - objectKey.Double(v.WeightedCapacity) + objectKey.Double(*v.WeightedCapacity) } return nil @@ -28069,9 +28069,9 @@ func awsEc2query_serializeDocumentLaunchTemplatePlacementRequest(v *types.Launch objectKey.String(*v.HostResourceGroupArn) } - if v.PartitionNumber != 0 { + if v.PartitionNumber != nil { objectKey := object.Key("PartitionNumber") - objectKey.Integer(v.PartitionNumber) + objectKey.Integer(*v.PartitionNumber) } if v.SpreadDomain != nil { @@ -28091,9 +28091,9 @@ func awsEc2query_serializeDocumentLaunchTemplatesMonitoringRequest(v *types.Laun object := value.Object() _ = object - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -28125,9 +28125,9 @@ func awsEc2query_serializeDocumentLaunchTemplateSpotMarketOptionsRequest(v *type object := value.Object() _ = object - if v.BlockDurationMinutes != 0 { + if v.BlockDurationMinutes != nil { objectKey := object.Key("BlockDurationMinutes") - objectKey.Integer(v.BlockDurationMinutes) + objectKey.Integer(*v.BlockDurationMinutes) } if len(v.InstanceInterruptionBehavior) > 0 { @@ -28453,9 +28453,9 @@ func awsEc2query_serializeDocumentModifyVpnTunnelOptionsSpecification(v *types.M objectKey.String(*v.DPDTimeoutAction) } - if v.DPDTimeoutSeconds != 0 { + if v.DPDTimeoutSeconds != nil { objectKey := object.Key("DPDTimeoutSeconds") - objectKey.Integer(v.DPDTimeoutSeconds) + objectKey.Integer(*v.DPDTimeoutSeconds) } if v.IKEVersions != nil { @@ -28486,9 +28486,9 @@ func awsEc2query_serializeDocumentModifyVpnTunnelOptionsSpecification(v *types.M } } - if v.Phase1LifetimeSeconds != 0 { + if v.Phase1LifetimeSeconds != nil { objectKey := object.Key("Phase1LifetimeSeconds") - objectKey.Integer(v.Phase1LifetimeSeconds) + objectKey.Integer(*v.Phase1LifetimeSeconds) } if v.Phase2DHGroupNumbers != nil { @@ -28512,9 +28512,9 @@ func awsEc2query_serializeDocumentModifyVpnTunnelOptionsSpecification(v *types.M } } - if v.Phase2LifetimeSeconds != 0 { + if v.Phase2LifetimeSeconds != nil { objectKey := object.Key("Phase2LifetimeSeconds") - objectKey.Integer(v.Phase2LifetimeSeconds) + objectKey.Integer(*v.Phase2LifetimeSeconds) } if v.PreSharedKey != nil { @@ -28522,19 +28522,19 @@ func awsEc2query_serializeDocumentModifyVpnTunnelOptionsSpecification(v *types.M objectKey.String(*v.PreSharedKey) } - if v.RekeyFuzzPercentage != 0 { + if v.RekeyFuzzPercentage != nil { objectKey := object.Key("RekeyFuzzPercentage") - objectKey.Integer(v.RekeyFuzzPercentage) + objectKey.Integer(*v.RekeyFuzzPercentage) } - if v.RekeyMarginTimeSeconds != 0 { + if v.RekeyMarginTimeSeconds != nil { objectKey := object.Key("RekeyMarginTimeSeconds") - objectKey.Integer(v.RekeyMarginTimeSeconds) + objectKey.Integer(*v.RekeyMarginTimeSeconds) } - if v.ReplayWindowSize != 0 { + if v.ReplayWindowSize != nil { objectKey := object.Key("ReplayWindowSize") - objectKey.Integer(v.ReplayWindowSize) + objectKey.Integer(*v.ReplayWindowSize) } if v.StartupAction != nil { @@ -28616,9 +28616,9 @@ func awsEc2query_serializeDocumentNetworkInterfaceAttachmentChanges(v *types.Net objectKey.String(*v.AttachmentId) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } return nil @@ -28718,19 +28718,19 @@ func awsEc2query_serializeDocumentOnDemandOptionsRequest(v *types.OnDemandOption objectKey.String(*v.MaxTotalPrice) } - if v.MinTargetCapacity != 0 { + if v.MinTargetCapacity != nil { objectKey := object.Key("MinTargetCapacity") - objectKey.Integer(v.MinTargetCapacity) + objectKey.Integer(*v.MinTargetCapacity) } - if v.SingleAvailabilityZone { + if v.SingleAvailabilityZone != nil { objectKey := object.Key("SingleAvailabilityZone") - objectKey.Boolean(v.SingleAvailabilityZone) + objectKey.Boolean(*v.SingleAvailabilityZone) } - if v.SingleInstanceType { + if v.SingleInstanceType != nil { objectKey := object.Key("SingleInstanceType") - objectKey.Boolean(v.SingleInstanceType) + objectKey.Boolean(*v.SingleInstanceType) } return nil @@ -28753,19 +28753,19 @@ func awsEc2query_serializeDocumentPeeringConnectionOptionsRequest(v *types.Peeri object := value.Object() _ = object - if v.AllowDnsResolutionFromRemoteVpc { + if v.AllowDnsResolutionFromRemoteVpc != nil { objectKey := object.Key("AllowDnsResolutionFromRemoteVpc") - objectKey.Boolean(v.AllowDnsResolutionFromRemoteVpc) + objectKey.Boolean(*v.AllowDnsResolutionFromRemoteVpc) } - if v.AllowEgressFromLocalClassicLinkToRemoteVpc { + if v.AllowEgressFromLocalClassicLinkToRemoteVpc != nil { objectKey := object.Key("AllowEgressFromLocalClassicLinkToRemoteVpc") - objectKey.Boolean(v.AllowEgressFromLocalClassicLinkToRemoteVpc) + objectKey.Boolean(*v.AllowEgressFromLocalClassicLinkToRemoteVpc) } - if v.AllowEgressFromLocalVpcToRemoteClassicLink { + if v.AllowEgressFromLocalVpcToRemoteClassicLink != nil { objectKey := object.Key("AllowEgressFromLocalVpcToRemoteClassicLink") - objectKey.Boolean(v.AllowEgressFromLocalVpcToRemoteClassicLink) + objectKey.Boolean(*v.AllowEgressFromLocalVpcToRemoteClassicLink) } return nil @@ -28790,9 +28790,9 @@ func awsEc2query_serializeDocumentPhase1DHGroupNumbersRequestListValue(v *types. object := value.Object() _ = object - if v.Value != 0 { + if v.Value != nil { objectKey := object.Key("Value") - objectKey.Integer(v.Value) + objectKey.Integer(*v.Value) } return nil @@ -28871,9 +28871,9 @@ func awsEc2query_serializeDocumentPhase2DHGroupNumbersRequestListValue(v *types. object := value.Object() _ = object - if v.Value != 0 { + if v.Value != nil { objectKey := object.Key("Value") - objectKey.Integer(v.Value) + objectKey.Integer(*v.Value) } return nil @@ -28962,9 +28962,9 @@ func awsEc2query_serializeDocumentPlacement(v *types.Placement, value query.Valu objectKey.String(*v.HostResourceGroupArn) } - if v.PartitionNumber != 0 { + if v.PartitionNumber != nil { objectKey := object.Key("PartitionNumber") - objectKey.Integer(v.PartitionNumber) + objectKey.Integer(*v.PartitionNumber) } if v.SpreadDomain != nil { @@ -29010,14 +29010,14 @@ func awsEc2query_serializeDocumentPortRange(v *types.PortRange, value query.Valu object := value.Object() _ = object - if v.From != 0 { + if v.From != nil { objectKey := object.Key("From") - objectKey.Integer(v.From) + objectKey.Integer(*v.From) } - if v.To != 0 { + if v.To != nil { objectKey := object.Key("To") - objectKey.Integer(v.To) + objectKey.Integer(*v.To) } return nil @@ -29077,14 +29077,14 @@ func awsEc2query_serializeDocumentPriceScheduleSpecification(v *types.PriceSched objectKey.String(string(v.CurrencyCode)) } - if v.Price != 0 { + if v.Price != nil { objectKey := object.Key("Price") - objectKey.Double(v.Price) + objectKey.Double(*v.Price) } - if v.Term != 0 { + if v.Term != nil { objectKey := object.Key("Term") - objectKey.Long(v.Term) + objectKey.Long(*v.Term) } return nil @@ -29124,9 +29124,9 @@ func awsEc2query_serializeDocumentPrivateIpAddressSpecification(v *types.Private object := value.Object() _ = object - if v.Primary { + if v.Primary != nil { objectKey := object.Key("Primary") - objectKey.Boolean(v.Primary) + objectKey.Boolean(*v.Primary) } if v.PrivateIpAddress != nil { @@ -29221,9 +29221,9 @@ func awsEc2query_serializeDocumentPurchaseRequest(v *types.PurchaseRequest, valu object := value.Object() _ = object - { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if v.PurchaseToken != nil { @@ -29279,9 +29279,9 @@ func awsEc2query_serializeDocumentRegisterInstanceTagAttributeRequest(v *types.R object := value.Object() _ = object - if v.IncludeAllTagsOfInstance { + if v.IncludeAllTagsOfInstance != nil { objectKey := object.Key("IncludeAllTagsOfInstance") - objectKey.Boolean(v.IncludeAllTagsOfInstance) + objectKey.Boolean(*v.IncludeAllTagsOfInstance) } if v.InstanceTagKeys != nil { @@ -29405,14 +29405,14 @@ func awsEc2query_serializeDocumentRequestLaunchTemplateData(v *types.RequestLaun } } - if v.DisableApiTermination { + if v.DisableApiTermination != nil { objectKey := object.Key("DisableApiTermination") - objectKey.Boolean(v.DisableApiTermination) + objectKey.Boolean(*v.DisableApiTermination) } - if v.EbsOptimized { + if v.EbsOptimized != nil { objectKey := object.Key("EbsOptimized") - objectKey.Boolean(v.EbsOptimized) + objectKey.Boolean(*v.EbsOptimized) } if v.ElasticGpuSpecifications != nil { @@ -29567,9 +29567,9 @@ func awsEc2query_serializeDocumentRequestSpotLaunchSpecification(v *types.Reques } } - if v.EbsOptimized { + if v.EbsOptimized != nil { objectKey := object.Key("EbsOptimized") - objectKey.Boolean(v.EbsOptimized) + objectKey.Boolean(*v.EbsOptimized) } if v.IamInstanceProfile != nil { @@ -29695,9 +29695,9 @@ func awsEc2query_serializeDocumentReservedInstanceLimitPrice(v *types.ReservedIn object := value.Object() _ = object - if v.Amount != 0 { + if v.Amount != nil { objectKey := object.Key("Amount") - objectKey.Double(v.Amount) + objectKey.Double(*v.Amount) } if len(v.CurrencyCode) > 0 { @@ -29717,9 +29717,9 @@ func awsEc2query_serializeDocumentReservedInstancesConfiguration(v *types.Reserv objectKey.String(*v.AvailabilityZone) } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if len(v.InstanceType) > 0 { @@ -29850,9 +29850,9 @@ func awsEc2query_serializeDocumentRunInstancesMonitoringEnabled(v *types.RunInst object := value.Object() _ = object - { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -29944,9 +29944,9 @@ func awsEc2query_serializeDocumentScheduledInstanceRecurrenceRequest(v *types.Sc objectKey.String(*v.Frequency) } - if v.Interval != 0 { + if v.Interval != nil { objectKey := object.Key("Interval") - objectKey.Integer(v.Interval) + objectKey.Integer(*v.Interval) } if v.OccurrenceDays != nil { @@ -29956,9 +29956,9 @@ func awsEc2query_serializeDocumentScheduledInstanceRecurrenceRequest(v *types.Sc } } - if v.OccurrenceRelativeToEnd { + if v.OccurrenceRelativeToEnd != nil { objectKey := object.Key("OccurrenceRelativeToEnd") - objectKey.Boolean(v.OccurrenceRelativeToEnd) + objectKey.Boolean(*v.OccurrenceRelativeToEnd) } if v.OccurrenceUnit != nil { @@ -30017,19 +30017,19 @@ func awsEc2query_serializeDocumentScheduledInstancesEbs(v *types.ScheduledInstan object := value.Object() _ = object - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } - if v.Iops != 0 { + if v.Iops != nil { objectKey := object.Key("Iops") - objectKey.Integer(v.Iops) + objectKey.Integer(*v.Iops) } if v.SnapshotId != nil { @@ -30037,9 +30037,9 @@ func awsEc2query_serializeDocumentScheduledInstancesEbs(v *types.ScheduledInstan objectKey.String(*v.SnapshotId) } - if v.VolumeSize != 0 { + if v.VolumeSize != nil { objectKey := object.Key("VolumeSize") - objectKey.Integer(v.VolumeSize) + objectKey.Integer(*v.VolumeSize) } if v.VolumeType != nil { @@ -30105,9 +30105,9 @@ func awsEc2query_serializeDocumentScheduledInstancesLaunchSpecification(v *types } } - if v.EbsOptimized { + if v.EbsOptimized != nil { objectKey := object.Key("EbsOptimized") - objectKey.Boolean(v.EbsOptimized) + objectKey.Boolean(*v.EbsOptimized) } if v.IamInstanceProfile != nil { @@ -30187,9 +30187,9 @@ func awsEc2query_serializeDocumentScheduledInstancesMonitoring(v *types.Schedule object := value.Object() _ = object - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -30199,14 +30199,14 @@ func awsEc2query_serializeDocumentScheduledInstancesNetworkInterface(v *types.Sc object := value.Object() _ = object - if v.AssociatePublicIpAddress { + if v.AssociatePublicIpAddress != nil { objectKey := object.Key("AssociatePublicIpAddress") - objectKey.Boolean(v.AssociatePublicIpAddress) + objectKey.Boolean(*v.AssociatePublicIpAddress) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { objectKey := object.Key("DeleteOnTermination") - objectKey.Boolean(v.DeleteOnTermination) + objectKey.Boolean(*v.DeleteOnTermination) } if v.Description != nil { @@ -30214,9 +30214,9 @@ func awsEc2query_serializeDocumentScheduledInstancesNetworkInterface(v *types.Sc objectKey.String(*v.Description) } - if v.DeviceIndex != 0 { + if v.DeviceIndex != nil { objectKey := object.Key("DeviceIndex") - objectKey.Integer(v.DeviceIndex) + objectKey.Integer(*v.DeviceIndex) } if v.Groups != nil { @@ -30226,9 +30226,9 @@ func awsEc2query_serializeDocumentScheduledInstancesNetworkInterface(v *types.Sc } } - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { objectKey := object.Key("Ipv6AddressCount") - objectKey.Integer(v.Ipv6AddressCount) + objectKey.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -30255,9 +30255,9 @@ func awsEc2query_serializeDocumentScheduledInstancesNetworkInterface(v *types.Sc } } - if v.SecondaryPrivateIpAddressCount != 0 { + if v.SecondaryPrivateIpAddressCount != nil { objectKey := object.Key("SecondaryPrivateIpAddressCount") - objectKey.Integer(v.SecondaryPrivateIpAddressCount) + objectKey.Integer(*v.SecondaryPrivateIpAddressCount) } if v.SubnetId != nil { @@ -30304,9 +30304,9 @@ func awsEc2query_serializeDocumentScheduledInstancesPrivateIpAddressConfig(v *ty object := value.Object() _ = object - if v.Primary { + if v.Primary != nil { objectKey := object.Key("Primary") - objectKey.Boolean(v.Primary) + objectKey.Boolean(*v.Primary) } if v.PrivateIpAddress != nil { @@ -30460,9 +30460,9 @@ func awsEc2query_serializeDocumentSpotFleetLaunchSpecification(v *types.SpotFlee } } - if v.EbsOptimized { + if v.EbsOptimized != nil { objectKey := object.Key("EbsOptimized") - objectKey.Boolean(v.EbsOptimized) + objectKey.Boolean(*v.EbsOptimized) } if v.IamInstanceProfile != nil { @@ -30547,9 +30547,9 @@ func awsEc2query_serializeDocumentSpotFleetLaunchSpecification(v *types.SpotFlee objectKey.String(*v.UserData) } - if v.WeightedCapacity != 0 { + if v.WeightedCapacity != nil { objectKey := object.Key("WeightedCapacity") - objectKey.Double(v.WeightedCapacity) + objectKey.Double(*v.WeightedCapacity) } return nil @@ -30559,9 +30559,9 @@ func awsEc2query_serializeDocumentSpotFleetMonitoring(v *types.SpotFleetMonitori object := value.Object() _ = object - if v.Enabled { + if v.Enabled != nil { objectKey := object.Key("Enabled") - objectKey.Boolean(v.Enabled) + objectKey.Boolean(*v.Enabled) } return nil @@ -30586,9 +30586,9 @@ func awsEc2query_serializeDocumentSpotFleetRequestConfigData(v *types.SpotFleetR objectKey.String(string(v.ExcessCapacityTerminationPolicy)) } - if v.FulfilledCapacity != 0 { + if v.FulfilledCapacity != nil { objectKey := object.Key("FulfilledCapacity") - objectKey.Double(v.FulfilledCapacity) + objectKey.Double(*v.FulfilledCapacity) } if v.IamFleetRole != nil { @@ -30601,9 +30601,9 @@ func awsEc2query_serializeDocumentSpotFleetRequestConfigData(v *types.SpotFleetR objectKey.String(string(v.InstanceInterruptionBehavior)) } - if v.InstancePoolsToUseCount != 0 { + if v.InstancePoolsToUseCount != nil { objectKey := object.Key("InstancePoolsToUseCount") - objectKey.Integer(v.InstancePoolsToUseCount) + objectKey.Integer(*v.InstancePoolsToUseCount) } if v.LaunchSpecifications != nil { @@ -30632,9 +30632,9 @@ func awsEc2query_serializeDocumentSpotFleetRequestConfigData(v *types.SpotFleetR objectKey.String(string(v.OnDemandAllocationStrategy)) } - if v.OnDemandFulfilledCapacity != 0 { + if v.OnDemandFulfilledCapacity != nil { objectKey := object.Key("OnDemandFulfilledCapacity") - objectKey.Double(v.OnDemandFulfilledCapacity) + objectKey.Double(*v.OnDemandFulfilledCapacity) } if v.OnDemandMaxTotalPrice != nil { @@ -30642,14 +30642,14 @@ func awsEc2query_serializeDocumentSpotFleetRequestConfigData(v *types.SpotFleetR objectKey.String(*v.OnDemandMaxTotalPrice) } - if v.OnDemandTargetCapacity != 0 { + if v.OnDemandTargetCapacity != nil { objectKey := object.Key("OnDemandTargetCapacity") - objectKey.Integer(v.OnDemandTargetCapacity) + objectKey.Integer(*v.OnDemandTargetCapacity) } - if v.ReplaceUnhealthyInstances { + if v.ReplaceUnhealthyInstances != nil { objectKey := object.Key("ReplaceUnhealthyInstances") - objectKey.Boolean(v.ReplaceUnhealthyInstances) + objectKey.Boolean(*v.ReplaceUnhealthyInstances) } if v.SpotMaintenanceStrategies != nil { @@ -30676,14 +30676,14 @@ func awsEc2query_serializeDocumentSpotFleetRequestConfigData(v *types.SpotFleetR } } - { + if v.TargetCapacity != nil { objectKey := object.Key("TargetCapacity") - objectKey.Integer(v.TargetCapacity) + objectKey.Integer(*v.TargetCapacity) } - if v.TerminateInstancesWithExpiration { + if v.TerminateInstancesWithExpiration != nil { objectKey := object.Key("TerminateInstancesWithExpiration") - objectKey.Boolean(v.TerminateInstancesWithExpiration) + objectKey.Boolean(*v.TerminateInstancesWithExpiration) } if len(v.Type) > 0 { @@ -30782,9 +30782,9 @@ func awsEc2query_serializeDocumentSpotMarketOptions(v *types.SpotMarketOptions, object := value.Object() _ = object - if v.BlockDurationMinutes != 0 { + if v.BlockDurationMinutes != nil { objectKey := object.Key("BlockDurationMinutes") - objectKey.Integer(v.BlockDurationMinutes) + objectKey.Integer(*v.BlockDurationMinutes) } if len(v.InstanceInterruptionBehavior) > 0 { @@ -30824,9 +30824,9 @@ func awsEc2query_serializeDocumentSpotOptionsRequest(v *types.SpotOptionsRequest objectKey.String(string(v.InstanceInterruptionBehavior)) } - if v.InstancePoolsToUseCount != 0 { + if v.InstancePoolsToUseCount != nil { objectKey := object.Key("InstancePoolsToUseCount") - objectKey.Integer(v.InstancePoolsToUseCount) + objectKey.Integer(*v.InstancePoolsToUseCount) } if v.MaintenanceStrategies != nil { @@ -30841,19 +30841,19 @@ func awsEc2query_serializeDocumentSpotOptionsRequest(v *types.SpotOptionsRequest objectKey.String(*v.MaxTotalPrice) } - if v.MinTargetCapacity != 0 { + if v.MinTargetCapacity != nil { objectKey := object.Key("MinTargetCapacity") - objectKey.Integer(v.MinTargetCapacity) + objectKey.Integer(*v.MinTargetCapacity) } - if v.SingleAvailabilityZone { + if v.SingleAvailabilityZone != nil { objectKey := object.Key("SingleAvailabilityZone") - objectKey.Boolean(v.SingleAvailabilityZone) + objectKey.Boolean(*v.SingleAvailabilityZone) } - if v.SingleInstanceType { + if v.SingleInstanceType != nil { objectKey := object.Key("SingleInstanceType") - objectKey.Boolean(v.SingleInstanceType) + objectKey.Boolean(*v.SingleInstanceType) } return nil @@ -31000,19 +31000,19 @@ func awsEc2query_serializeDocumentTargetCapacitySpecificationRequest(v *types.Ta objectKey.String(string(v.DefaultTargetCapacityType)) } - if v.OnDemandTargetCapacity != 0 { + if v.OnDemandTargetCapacity != nil { objectKey := object.Key("OnDemandTargetCapacity") - objectKey.Integer(v.OnDemandTargetCapacity) + objectKey.Integer(*v.OnDemandTargetCapacity) } - if v.SpotTargetCapacity != 0 { + if v.SpotTargetCapacity != nil { objectKey := object.Key("SpotTargetCapacity") - objectKey.Integer(v.SpotTargetCapacity) + objectKey.Integer(*v.SpotTargetCapacity) } - { + if v.TotalTargetCapacity != nil { objectKey := object.Key("TotalTargetCapacity") - objectKey.Integer(v.TotalTargetCapacity) + objectKey.Integer(*v.TotalTargetCapacity) } return nil @@ -31022,9 +31022,9 @@ func awsEc2query_serializeDocumentTargetConfigurationRequest(v *types.TargetConf object := value.Object() _ = object - if v.InstanceCount != 0 { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if v.OfferingId != nil { @@ -31134,14 +31134,14 @@ func awsEc2query_serializeDocumentTrafficMirrorPortRangeRequest(v *types.Traffic object := value.Object() _ = object - if v.FromPort != 0 { + if v.FromPort != nil { objectKey := object.Key("FromPort") - objectKey.Integer(v.FromPort) + objectKey.Integer(*v.FromPort) } - if v.ToPort != 0 { + if v.ToPort != nil { objectKey := object.Key("ToPort") - objectKey.Integer(v.ToPort) + objectKey.Integer(*v.ToPort) } return nil @@ -31229,9 +31229,9 @@ func awsEc2query_serializeDocumentTransitGatewayConnectRequestBgpOptions(v *type object := value.Object() _ = object - if v.PeerAsn != 0 { + if v.PeerAsn != nil { objectKey := object.Key("PeerAsn") - objectKey.Long(v.PeerAsn) + objectKey.Long(*v.PeerAsn) } return nil @@ -31280,9 +31280,9 @@ func awsEc2query_serializeDocumentTransitGatewayRequestOptions(v *types.TransitG object := value.Object() _ = object - if v.AmazonSideAsn != 0 { + if v.AmazonSideAsn != nil { objectKey := object.Key("AmazonSideAsn") - objectKey.Long(v.AmazonSideAsn) + objectKey.Long(*v.AmazonSideAsn) } if len(v.AutoAcceptSharedAttachments) > 0 { @@ -31493,9 +31493,9 @@ func awsEc2query_serializeDocumentVolumeDetail(v *types.VolumeDetail, value quer object := value.Object() _ = object - { + if v.Size != nil { objectKey := object.Key("Size") - objectKey.Long(v.Size) + objectKey.Long(*v.Size) } return nil @@ -31635,9 +31635,9 @@ func awsEc2query_serializeDocumentVpnConnectionOptionsSpecification(v *types.Vpn object := value.Object() _ = object - if v.EnableAcceleration { + if v.EnableAcceleration != nil { objectKey := object.Key("EnableAcceleration") - objectKey.Boolean(v.EnableAcceleration) + objectKey.Boolean(*v.EnableAcceleration) } if v.LocalIpv4NetworkCidr != nil { @@ -31660,9 +31660,9 @@ func awsEc2query_serializeDocumentVpnConnectionOptionsSpecification(v *types.Vpn objectKey.String(*v.RemoteIpv6NetworkCidr) } - if v.StaticRoutesOnly { + if v.StaticRoutesOnly != nil { objectKey := object.Key("StaticRoutesOnly") - objectKey.Boolean(v.StaticRoutesOnly) + objectKey.Boolean(*v.StaticRoutesOnly) } if len(v.TunnelInsideIpVersion) > 0 { @@ -31702,9 +31702,9 @@ func awsEc2query_serializeDocumentVpnTunnelOptionsSpecification(v *types.VpnTunn objectKey.String(*v.DPDTimeoutAction) } - if v.DPDTimeoutSeconds != 0 { + if v.DPDTimeoutSeconds != nil { objectKey := object.Key("DPDTimeoutSeconds") - objectKey.Integer(v.DPDTimeoutSeconds) + objectKey.Integer(*v.DPDTimeoutSeconds) } if v.IKEVersions != nil { @@ -31735,9 +31735,9 @@ func awsEc2query_serializeDocumentVpnTunnelOptionsSpecification(v *types.VpnTunn } } - if v.Phase1LifetimeSeconds != 0 { + if v.Phase1LifetimeSeconds != nil { objectKey := object.Key("Phase1LifetimeSeconds") - objectKey.Integer(v.Phase1LifetimeSeconds) + objectKey.Integer(*v.Phase1LifetimeSeconds) } if v.Phase2DHGroupNumbers != nil { @@ -31761,9 +31761,9 @@ func awsEc2query_serializeDocumentVpnTunnelOptionsSpecification(v *types.VpnTunn } } - if v.Phase2LifetimeSeconds != 0 { + if v.Phase2LifetimeSeconds != nil { objectKey := object.Key("Phase2LifetimeSeconds") - objectKey.Integer(v.Phase2LifetimeSeconds) + objectKey.Integer(*v.Phase2LifetimeSeconds) } if v.PreSharedKey != nil { @@ -31771,19 +31771,19 @@ func awsEc2query_serializeDocumentVpnTunnelOptionsSpecification(v *types.VpnTunn objectKey.String(*v.PreSharedKey) } - if v.RekeyFuzzPercentage != 0 { + if v.RekeyFuzzPercentage != nil { objectKey := object.Key("RekeyFuzzPercentage") - objectKey.Integer(v.RekeyFuzzPercentage) + objectKey.Integer(*v.RekeyFuzzPercentage) } - if v.RekeyMarginTimeSeconds != 0 { + if v.RekeyMarginTimeSeconds != nil { objectKey := object.Key("RekeyMarginTimeSeconds") - objectKey.Integer(v.RekeyMarginTimeSeconds) + objectKey.Integer(*v.RekeyMarginTimeSeconds) } - if v.ReplayWindowSize != 0 { + if v.ReplayWindowSize != nil { objectKey := object.Key("ReplayWindowSize") - objectKey.Integer(v.ReplayWindowSize) + objectKey.Integer(*v.ReplayWindowSize) } if v.StartupAction != nil { @@ -31849,9 +31849,9 @@ func awsEc2query_serializeOpDocumentAcceptReservedInstancesExchangeQuoteInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ReservedInstanceIds != nil { @@ -31875,9 +31875,9 @@ func awsEc2query_serializeOpDocumentAcceptTransitGatewayMulticastDomainAssociati object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetIds != nil { @@ -31904,9 +31904,9 @@ func awsEc2query_serializeOpDocumentAcceptTransitGatewayPeeringAttachmentInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -31921,9 +31921,9 @@ func awsEc2query_serializeOpDocumentAcceptTransitGatewayVpcAttachmentInput(v *Ac object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -31938,9 +31938,9 @@ func awsEc2query_serializeOpDocumentAcceptVpcEndpointConnectionsInput(v *AcceptV object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ServiceId != nil { @@ -31962,9 +31962,9 @@ func awsEc2query_serializeOpDocumentAcceptVpcPeeringConnectionInput(v *AcceptVpc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcPeeringConnectionId != nil { @@ -31984,9 +31984,9 @@ func awsEc2query_serializeOpDocumentAdvertiseByoipCidrInput(v *AdvertiseByoipCid objectKey.String(*v.Cidr) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -32011,9 +32011,9 @@ func awsEc2query_serializeOpDocumentAllocateAddressInput(v *AllocateAddressInput objectKey.String(string(v.Domain)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkBorderGroup != nil { @@ -32070,9 +32070,9 @@ func awsEc2query_serializeOpDocumentAllocateHostsInput(v *AllocateHostsInput, va objectKey.String(*v.InstanceType) } - { + if v.Quantity != nil { objectKey := object.Key("Quantity") - objectKey.Integer(v.Quantity) + objectKey.Integer(*v.Quantity) } if v.TagSpecifications != nil { @@ -32094,9 +32094,9 @@ func awsEc2query_serializeOpDocumentApplySecurityGroupsToClientVpnTargetNetworkI objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SecurityGroupIds != nil { @@ -32118,9 +32118,9 @@ func awsEc2query_serializeOpDocumentAssignIpv6AddressesInput(v *AssignIpv6Addres object := value.Object() _ = object - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { objectKey := object.Key("Ipv6AddressCount") - objectKey.Integer(v.Ipv6AddressCount) + objectKey.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -32142,9 +32142,9 @@ func awsEc2query_serializeOpDocumentAssignPrivateIpAddressesInput(v *AssignPriva object := value.Object() _ = object - if v.AllowReassignment { + if v.AllowReassignment != nil { objectKey := object.Key("AllowReassignment") - objectKey.Boolean(v.AllowReassignment) + objectKey.Boolean(*v.AllowReassignment) } if v.NetworkInterfaceId != nil { @@ -32159,9 +32159,9 @@ func awsEc2query_serializeOpDocumentAssignPrivateIpAddressesInput(v *AssignPriva } } - if v.SecondaryPrivateIpAddressCount != 0 { + if v.SecondaryPrivateIpAddressCount != nil { objectKey := object.Key("SecondaryPrivateIpAddressCount") - objectKey.Integer(v.SecondaryPrivateIpAddressCount) + objectKey.Integer(*v.SecondaryPrivateIpAddressCount) } return nil @@ -32176,14 +32176,14 @@ func awsEc2query_serializeOpDocumentAssociateAddressInput(v *AssociateAddressInp objectKey.String(*v.AllocationId) } - if v.AllowReassociation { + if v.AllowReassociation != nil { objectKey := object.Key("AllowReassociation") - objectKey.Boolean(v.AllowReassociation) + objectKey.Boolean(*v.AllowReassociation) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -32223,9 +32223,9 @@ func awsEc2query_serializeOpDocumentAssociateClientVpnTargetNetworkInput(v *Asso objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetId != nil { @@ -32245,9 +32245,9 @@ func awsEc2query_serializeOpDocumentAssociateDhcpOptionsInput(v *AssociateDhcpOp objectKey.String(*v.DhcpOptionsId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -32267,9 +32267,9 @@ func awsEc2query_serializeOpDocumentAssociateEnclaveCertificateIamRoleInput(v *A objectKey.String(*v.CertificateArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RoleArn != nil { @@ -32303,9 +32303,9 @@ func awsEc2query_serializeOpDocumentAssociateRouteTableInput(v *AssociateRouteTa object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GatewayId != nil { @@ -32347,9 +32347,9 @@ func awsEc2query_serializeOpDocumentAssociateTransitGatewayMulticastDomainInput( object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetIds != nil { @@ -32376,9 +32376,9 @@ func awsEc2query_serializeOpDocumentAssociateTransitGatewayRouteTableInput(v *As object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -32398,9 +32398,9 @@ func awsEc2query_serializeOpDocumentAssociateVpcCidrBlockInput(v *AssociateVpcCi object := value.Object() _ = object - if v.AmazonProvidedIpv6CidrBlock { + if v.AmazonProvidedIpv6CidrBlock != nil { objectKey := object.Key("AmazonProvidedIpv6CidrBlock") - objectKey.Boolean(v.AmazonProvidedIpv6CidrBlock) + objectKey.Boolean(*v.AmazonProvidedIpv6CidrBlock) } if v.CidrBlock != nil { @@ -32435,9 +32435,9 @@ func awsEc2query_serializeOpDocumentAttachClassicLinkVpcInput(v *AttachClassicLi object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Groups != nil { @@ -32464,9 +32464,9 @@ func awsEc2query_serializeOpDocumentAttachInternetGatewayInput(v *AttachInternet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InternetGatewayId != nil { @@ -32486,14 +32486,14 @@ func awsEc2query_serializeOpDocumentAttachNetworkInterfaceInput(v *AttachNetwork object := value.Object() _ = object - { + if v.DeviceIndex != nil { objectKey := object.Key("DeviceIndex") - objectKey.Integer(v.DeviceIndex) + objectKey.Integer(*v.DeviceIndex) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -32501,9 +32501,9 @@ func awsEc2query_serializeOpDocumentAttachNetworkInterfaceInput(v *AttachNetwork objectKey.String(*v.InstanceId) } - if v.NetworkCardIndex != 0 { + if v.NetworkCardIndex != nil { objectKey := object.Key("NetworkCardIndex") - objectKey.Integer(v.NetworkCardIndex) + objectKey.Integer(*v.NetworkCardIndex) } if v.NetworkInterfaceId != nil { @@ -32523,9 +32523,9 @@ func awsEc2query_serializeOpDocumentAttachVolumeInput(v *AttachVolumeInput, valu objectKey.String(*v.Device) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -32545,9 +32545,9 @@ func awsEc2query_serializeOpDocumentAttachVpnGatewayInput(v *AttachVpnGatewayInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -32572,9 +32572,9 @@ func awsEc2query_serializeOpDocumentAuthorizeClientVpnIngressInput(v *AuthorizeC objectKey.String(*v.AccessGroupId) } - if v.AuthorizeAllGroups { + if v.AuthorizeAllGroups != nil { objectKey := object.Key("AuthorizeAllGroups") - objectKey.Boolean(v.AuthorizeAllGroups) + objectKey.Boolean(*v.AuthorizeAllGroups) } if v.ClientToken != nil { @@ -32592,9 +32592,9 @@ func awsEc2query_serializeOpDocumentAuthorizeClientVpnIngressInput(v *AuthorizeC objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TargetNetworkCidr != nil { @@ -32614,14 +32614,14 @@ func awsEc2query_serializeOpDocumentAuthorizeSecurityGroupEgressInput(v *Authori objectKey.String(*v.CidrIp) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.FromPort != 0 { + if v.FromPort != nil { objectKey := object.Key("FromPort") - objectKey.Integer(v.FromPort) + objectKey.Integer(*v.FromPort) } if v.GroupId != nil { @@ -32651,9 +32651,9 @@ func awsEc2query_serializeOpDocumentAuthorizeSecurityGroupEgressInput(v *Authori objectKey.String(*v.SourceSecurityGroupOwnerId) } - if v.ToPort != 0 { + if v.ToPort != nil { objectKey := object.Key("ToPort") - objectKey.Integer(v.ToPort) + objectKey.Integer(*v.ToPort) } return nil @@ -32668,14 +32668,14 @@ func awsEc2query_serializeOpDocumentAuthorizeSecurityGroupIngressInput(v *Author objectKey.String(*v.CidrIp) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.FromPort != 0 { + if v.FromPort != nil { objectKey := object.Key("FromPort") - objectKey.Integer(v.FromPort) + objectKey.Integer(*v.FromPort) } if v.GroupId != nil { @@ -32710,9 +32710,9 @@ func awsEc2query_serializeOpDocumentAuthorizeSecurityGroupIngressInput(v *Author objectKey.String(*v.SourceSecurityGroupOwnerId) } - if v.ToPort != 0 { + if v.ToPort != nil { objectKey := object.Key("ToPort") - objectKey.Integer(v.ToPort) + objectKey.Integer(*v.ToPort) } return nil @@ -32722,9 +32722,9 @@ func awsEc2query_serializeOpDocumentBundleInstanceInput(v *BundleInstanceInput, object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -32751,9 +32751,9 @@ func awsEc2query_serializeOpDocumentCancelBundleTaskInput(v *CancelBundleTaskInp objectKey.String(*v.BundleId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -32768,9 +32768,9 @@ func awsEc2query_serializeOpDocumentCancelCapacityReservationInput(v *CancelCapa objectKey.String(*v.CapacityReservationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -32785,9 +32785,9 @@ func awsEc2query_serializeOpDocumentCancelConversionTaskInput(v *CancelConversio objectKey.String(*v.ConversionTaskId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ReasonMessage != nil { @@ -32819,9 +32819,9 @@ func awsEc2query_serializeOpDocumentCancelImportTaskInput(v *CancelImportTaskInp objectKey.String(*v.CancelReason) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImportTaskId != nil { @@ -32848,9 +32848,9 @@ func awsEc2query_serializeOpDocumentCancelSpotFleetRequestsInput(v *CancelSpotFl object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SpotFleetRequestIds != nil { @@ -32860,9 +32860,9 @@ func awsEc2query_serializeOpDocumentCancelSpotFleetRequestsInput(v *CancelSpotFl } } - { + if v.TerminateInstances != nil { objectKey := object.Key("TerminateInstances") - objectKey.Boolean(v.TerminateInstances) + objectKey.Boolean(*v.TerminateInstances) } return nil @@ -32872,9 +32872,9 @@ func awsEc2query_serializeOpDocumentCancelSpotInstanceRequestsInput(v *CancelSpo object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SpotInstanceRequestIds != nil { @@ -32891,9 +32891,9 @@ func awsEc2query_serializeOpDocumentConfirmProductInstanceInput(v *ConfirmProduc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -32923,9 +32923,9 @@ func awsEc2query_serializeOpDocumentCopyFpgaImageInput(v *CopyFpgaImageInput, va objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Name != nil { @@ -32965,14 +32965,14 @@ func awsEc2query_serializeOpDocumentCopyImageInput(v *CopyImageInput, value quer objectKey.String(*v.DestinationOutpostArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } if v.KmsKeyId != nil { @@ -33017,14 +33017,14 @@ func awsEc2query_serializeOpDocumentCopySnapshotInput(v *CopySnapshotInput, valu objectKey.String(*v.destinationRegion) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } if v.KmsKeyId != nil { @@ -33076,14 +33076,14 @@ func awsEc2query_serializeOpDocumentCreateCapacityReservationInput(v *CreateCapa objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.EbsOptimized { + if v.EbsOptimized != nil { objectKey := object.Key("EbsOptimized") - objectKey.Boolean(v.EbsOptimized) + objectKey.Boolean(*v.EbsOptimized) } if v.EndDate != nil { @@ -33096,14 +33096,14 @@ func awsEc2query_serializeOpDocumentCreateCapacityReservationInput(v *CreateCapa objectKey.String(string(v.EndDateType)) } - if v.EphemeralStorage { + if v.EphemeralStorage != nil { objectKey := object.Key("EphemeralStorage") - objectKey.Boolean(v.EphemeralStorage) + objectKey.Boolean(*v.EphemeralStorage) } - { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if len(v.InstanceMatchCriteria) > 0 { @@ -33145,9 +33145,9 @@ func awsEc2query_serializeOpDocumentCreateCarrierGatewayInput(v *CreateCarrierGa objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -33212,9 +33212,9 @@ func awsEc2query_serializeOpDocumentCreateClientVpnEndpointInput(v *CreateClient } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SecurityGroupIds != nil { @@ -33234,9 +33234,9 @@ func awsEc2query_serializeOpDocumentCreateClientVpnEndpointInput(v *CreateClient objectKey.String(*v.ServerCertificateArn) } - if v.SplitTunnel { + if v.SplitTunnel != nil { objectKey := object.Key("SplitTunnel") - objectKey.Boolean(v.SplitTunnel) + objectKey.Boolean(*v.SplitTunnel) } if v.TagSpecifications != nil { @@ -33256,9 +33256,9 @@ func awsEc2query_serializeOpDocumentCreateClientVpnEndpointInput(v *CreateClient objectKey.String(*v.VpcId) } - if v.VpnPort != 0 { + if v.VpnPort != nil { objectKey := object.Key("VpnPort") - objectKey.Integer(v.VpnPort) + objectKey.Integer(*v.VpnPort) } return nil @@ -33288,9 +33288,9 @@ func awsEc2query_serializeOpDocumentCreateClientVpnRouteInput(v *CreateClientVpn objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TargetVpcSubnetId != nil { @@ -33305,9 +33305,9 @@ func awsEc2query_serializeOpDocumentCreateCustomerGatewayInput(v *CreateCustomer object := value.Object() _ = object - { + if v.BgpAsn != nil { objectKey := object.Key("BgpAsn") - objectKey.Integer(v.BgpAsn) + objectKey.Integer(*v.BgpAsn) } if v.CertificateArn != nil { @@ -33320,9 +33320,9 @@ func awsEc2query_serializeOpDocumentCreateCustomerGatewayInput(v *CreateCustomer objectKey.String(*v.DeviceName) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PublicIp != nil { @@ -33354,9 +33354,9 @@ func awsEc2query_serializeOpDocumentCreateDefaultSubnetInput(v *CreateDefaultSub objectKey.String(*v.AvailabilityZone) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -33366,9 +33366,9 @@ func awsEc2query_serializeOpDocumentCreateDefaultVpcInput(v *CreateDefaultVpcInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -33385,9 +33385,9 @@ func awsEc2query_serializeOpDocumentCreateDhcpOptionsInput(v *CreateDhcpOptionsI } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -33409,9 +33409,9 @@ func awsEc2query_serializeOpDocumentCreateEgressOnlyInternetGatewayInput(v *Crea objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -33438,9 +33438,9 @@ func awsEc2query_serializeOpDocumentCreateFleetInput(v *CreateFleetInput, value objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.ExcessCapacityTerminationPolicy) > 0 { @@ -33462,9 +33462,9 @@ func awsEc2query_serializeOpDocumentCreateFleetInput(v *CreateFleetInput, value } } - if v.ReplaceUnhealthyInstances { + if v.ReplaceUnhealthyInstances != nil { objectKey := object.Key("ReplaceUnhealthyInstances") - objectKey.Boolean(v.ReplaceUnhealthyInstances) + objectKey.Boolean(*v.ReplaceUnhealthyInstances) } if v.SpotOptions != nil { @@ -33488,9 +33488,9 @@ func awsEc2query_serializeOpDocumentCreateFleetInput(v *CreateFleetInput, value } } - if v.TerminateInstancesWithExpiration { + if v.TerminateInstancesWithExpiration != nil { objectKey := object.Key("TerminateInstancesWithExpiration") - objectKey.Boolean(v.TerminateInstancesWithExpiration) + objectKey.Boolean(*v.TerminateInstancesWithExpiration) } if len(v.Type) > 0 { @@ -33525,9 +33525,9 @@ func awsEc2query_serializeOpDocumentCreateFlowLogsInput(v *CreateFlowLogsInput, objectKey.String(*v.DeliverLogsPermissionArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LogDestination != nil { @@ -33550,9 +33550,9 @@ func awsEc2query_serializeOpDocumentCreateFlowLogsInput(v *CreateFlowLogsInput, objectKey.String(*v.LogGroupName) } - if v.MaxAggregationInterval != 0 { + if v.MaxAggregationInterval != nil { objectKey := object.Key("MaxAggregationInterval") - objectKey.Integer(v.MaxAggregationInterval) + objectKey.Integer(*v.MaxAggregationInterval) } if v.ResourceIds != nil { @@ -33596,9 +33596,9 @@ func awsEc2query_serializeOpDocumentCreateFpgaImageInput(v *CreateFpgaImageInput objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InputStorageLocation != nil { @@ -33646,9 +33646,9 @@ func awsEc2query_serializeOpDocumentCreateImageInput(v *CreateImageInput, value objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -33661,9 +33661,9 @@ func awsEc2query_serializeOpDocumentCreateImageInput(v *CreateImageInput, value objectKey.String(*v.Name) } - if v.NoReboot { + if v.NoReboot != nil { objectKey := object.Key("NoReboot") - objectKey.Boolean(v.NoReboot) + objectKey.Boolean(*v.NoReboot) } if v.TagSpecifications != nil { @@ -33716,9 +33716,9 @@ func awsEc2query_serializeOpDocumentCreateInternetGatewayInput(v *CreateInternet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -33735,9 +33735,9 @@ func awsEc2query_serializeOpDocumentCreateKeyPairInput(v *CreateKeyPairInput, va object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.KeyName != nil { @@ -33764,9 +33764,9 @@ func awsEc2query_serializeOpDocumentCreateLaunchTemplateInput(v *CreateLaunchTem objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LaunchTemplateData != nil { @@ -33805,9 +33805,9 @@ func awsEc2query_serializeOpDocumentCreateLaunchTemplateVersionInput(v *CreateLa objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LaunchTemplateData != nil { @@ -33849,9 +33849,9 @@ func awsEc2query_serializeOpDocumentCreateLocalGatewayRouteInput(v *CreateLocalG objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LocalGatewayRouteTableId != nil { @@ -33871,9 +33871,9 @@ func awsEc2query_serializeOpDocumentCreateLocalGatewayRouteTableVpcAssociationIn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LocalGatewayRouteTableId != nil { @@ -33910,9 +33910,9 @@ func awsEc2query_serializeOpDocumentCreateManagedPrefixListInput(v *CreateManage objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Entries != nil { @@ -33922,9 +33922,9 @@ func awsEc2query_serializeOpDocumentCreateManagedPrefixListInput(v *CreateManage } } - { + if v.MaxEntries != nil { objectKey := object.Key("MaxEntries") - objectKey.Integer(v.MaxEntries) + objectKey.Integer(*v.MaxEntries) } if v.PrefixListName != nil { @@ -33956,9 +33956,9 @@ func awsEc2query_serializeOpDocumentCreateNatGatewayInput(v *CreateNatGatewayInp objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetId != nil { @@ -33985,14 +33985,14 @@ func awsEc2query_serializeOpDocumentCreateNetworkAclEntryInput(v *CreateNetworkA objectKey.String(*v.CidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - { + if v.Egress != nil { objectKey := object.Key("Egress") - objectKey.Boolean(v.Egress) + objectKey.Boolean(*v.Egress) } if v.IcmpTypeCode != nil { @@ -34029,9 +34029,9 @@ func awsEc2query_serializeOpDocumentCreateNetworkAclEntryInput(v *CreateNetworkA objectKey.String(string(v.RuleAction)) } - { + if v.RuleNumber != nil { objectKey := object.Key("RuleNumber") - objectKey.Integer(v.RuleNumber) + objectKey.Integer(*v.RuleNumber) } return nil @@ -34041,9 +34041,9 @@ func awsEc2query_serializeOpDocumentCreateNetworkAclInput(v *CreateNetworkAclInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -34080,14 +34080,14 @@ func awsEc2query_serializeOpDocumentCreateNetworkInsightsPathInput(v *CreateNetw objectKey.String(*v.DestinationIp) } - if v.DestinationPort != 0 { + if v.DestinationPort != nil { objectKey := object.Key("DestinationPort") - objectKey.Integer(v.DestinationPort) + objectKey.Integer(*v.DestinationPort) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.Protocol) > 0 { @@ -34124,9 +34124,9 @@ func awsEc2query_serializeOpDocumentCreateNetworkInterfaceInput(v *CreateNetwork objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Groups != nil { @@ -34141,9 +34141,9 @@ func awsEc2query_serializeOpDocumentCreateNetworkInterfaceInput(v *CreateNetwork objectKey.String(string(v.InterfaceType)) } - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { objectKey := object.Key("Ipv6AddressCount") - objectKey.Integer(v.Ipv6AddressCount) + objectKey.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -34165,9 +34165,9 @@ func awsEc2query_serializeOpDocumentCreateNetworkInterfaceInput(v *CreateNetwork } } - if v.SecondaryPrivateIpAddressCount != 0 { + if v.SecondaryPrivateIpAddressCount != nil { objectKey := object.Key("SecondaryPrivateIpAddressCount") - objectKey.Integer(v.SecondaryPrivateIpAddressCount) + objectKey.Integer(*v.SecondaryPrivateIpAddressCount) } if v.SubnetId != nil { @@ -34199,9 +34199,9 @@ func awsEc2query_serializeOpDocumentCreateNetworkInterfacePermissionInput(v *Cre objectKey.String(*v.AwsService) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInterfaceId != nil { @@ -34221,9 +34221,9 @@ func awsEc2query_serializeOpDocumentCreatePlacementGroupInput(v *CreatePlacement object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupName != nil { @@ -34231,9 +34231,9 @@ func awsEc2query_serializeOpDocumentCreatePlacementGroupInput(v *CreatePlacement objectKey.String(*v.GroupName) } - if v.PartitionCount != 0 { + if v.PartitionCount != nil { objectKey := object.Key("PartitionCount") - objectKey.Integer(v.PartitionCount) + objectKey.Integer(*v.PartitionCount) } if len(v.Strategy) > 0 { @@ -34260,9 +34260,9 @@ func awsEc2query_serializeOpDocumentCreateReplaceRootVolumeTaskInput(v *CreateRe objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -34294,9 +34294,9 @@ func awsEc2query_serializeOpDocumentCreateReservedInstancesListingInput(v *Creat objectKey.String(*v.ClientToken) } - { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if v.PriceSchedules != nil { @@ -34323,9 +34323,9 @@ func awsEc2query_serializeOpDocumentCreateRestoreImageTaskInput(v *CreateRestore objectKey.String(*v.Bucket) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Name != nil { @@ -34372,9 +34372,9 @@ func awsEc2query_serializeOpDocumentCreateRouteInput(v *CreateRouteInput, value objectKey.String(*v.DestinationPrefixListId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EgressOnlyInternetGatewayId != nil { @@ -34434,9 +34434,9 @@ func awsEc2query_serializeOpDocumentCreateRouteTableInput(v *CreateRouteTableInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -34463,9 +34463,9 @@ func awsEc2query_serializeOpDocumentCreateSecurityGroupInput(v *CreateSecurityGr objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupName != nil { @@ -34497,9 +34497,9 @@ func awsEc2query_serializeOpDocumentCreateSnapshotInput(v *CreateSnapshotInput, objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.OutpostArn != nil { @@ -34536,9 +34536,9 @@ func awsEc2query_serializeOpDocumentCreateSnapshotsInput(v *CreateSnapshotsInput objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceSpecification != nil { @@ -34572,9 +34572,9 @@ func awsEc2query_serializeOpDocumentCreateSpotDatafeedSubscriptionInput(v *Creat objectKey.String(*v.Bucket) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Prefix != nil { @@ -34594,9 +34594,9 @@ func awsEc2query_serializeOpDocumentCreateStoreImageTaskInput(v *CreateStoreImag objectKey.String(*v.Bucket) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImageId != nil { @@ -34633,9 +34633,9 @@ func awsEc2query_serializeOpDocumentCreateSubnetInput(v *CreateSubnetInput, valu objectKey.String(*v.CidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Ipv6CidrBlock != nil { @@ -34667,9 +34667,9 @@ func awsEc2query_serializeOpDocumentCreateTagsInput(v *CreateTagsInput, value qu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Resources != nil { @@ -34703,9 +34703,9 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorFilterInput(v *CreateTraf objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -34744,14 +34744,14 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorFilterRuleInput(v *Create } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Protocol != 0 { + if v.Protocol != nil { objectKey := object.Key("Protocol") - objectKey.Integer(v.Protocol) + objectKey.Integer(*v.Protocol) } if len(v.RuleAction) > 0 { @@ -34759,9 +34759,9 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorFilterRuleInput(v *Create objectKey.String(string(v.RuleAction)) } - { + if v.RuleNumber != nil { objectKey := object.Key("RuleNumber") - objectKey.Integer(v.RuleNumber) + objectKey.Integer(*v.RuleNumber) } if v.SourceCidrBlock != nil { @@ -34803,9 +34803,9 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorSessionInput(v *CreateTra objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInterfaceId != nil { @@ -34813,14 +34813,14 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorSessionInput(v *CreateTra objectKey.String(*v.NetworkInterfaceId) } - if v.PacketLength != 0 { + if v.PacketLength != nil { objectKey := object.Key("PacketLength") - objectKey.Integer(v.PacketLength) + objectKey.Integer(*v.PacketLength) } - { + if v.SessionNumber != nil { objectKey := object.Key("SessionNumber") - objectKey.Integer(v.SessionNumber) + objectKey.Integer(*v.SessionNumber) } if v.TagSpecifications != nil { @@ -34840,9 +34840,9 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorSessionInput(v *CreateTra objectKey.String(*v.TrafficMirrorTargetId) } - if v.VirtualNetworkId != 0 { + if v.VirtualNetworkId != nil { objectKey := object.Key("VirtualNetworkId") - objectKey.Integer(v.VirtualNetworkId) + objectKey.Integer(*v.VirtualNetworkId) } return nil @@ -34862,9 +34862,9 @@ func awsEc2query_serializeOpDocumentCreateTrafficMirrorTargetInput(v *CreateTraf objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInterfaceId != nil { @@ -34891,9 +34891,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayConnectInput(v *CreateTr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -34929,9 +34929,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayConnectPeerInput(v *Crea } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InsideCidrBlocks != nil { @@ -34975,9 +34975,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayInput(v *CreateTransitGa objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -35001,9 +35001,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayMulticastDomainInput(v * object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -35032,9 +35032,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayPeeringAttachmentInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PeerAccountId != nil { @@ -35071,14 +35071,14 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayPrefixListReferenceInput object := value.Object() _ = object - if v.Blackhole { + if v.Blackhole != nil { objectKey := object.Key("Blackhole") - objectKey.Boolean(v.Blackhole) + objectKey.Boolean(*v.Blackhole) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrefixListId != nil { @@ -35103,9 +35103,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayRouteInput(v *CreateTran object := value.Object() _ = object - if v.Blackhole { + if v.Blackhole != nil { objectKey := object.Key("Blackhole") - objectKey.Boolean(v.Blackhole) + objectKey.Boolean(*v.Blackhole) } if v.DestinationCidrBlock != nil { @@ -35113,9 +35113,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayRouteInput(v *CreateTran objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -35135,9 +35135,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayRouteTableInput(v *Creat object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -35159,9 +35159,9 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayVpcAttachmentInput(v *Cr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -35207,19 +35207,19 @@ func awsEc2query_serializeOpDocumentCreateVolumeInput(v *CreateVolumeInput, valu objectKey.String(*v.AvailabilityZone) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } - if v.Iops != 0 { + if v.Iops != nil { objectKey := object.Key("Iops") - objectKey.Integer(v.Iops) + objectKey.Integer(*v.Iops) } if v.KmsKeyId != nil { @@ -35227,9 +35227,9 @@ func awsEc2query_serializeOpDocumentCreateVolumeInput(v *CreateVolumeInput, valu objectKey.String(*v.KmsKeyId) } - if v.MultiAttachEnabled { + if v.MultiAttachEnabled != nil { objectKey := object.Key("MultiAttachEnabled") - objectKey.Boolean(v.MultiAttachEnabled) + objectKey.Boolean(*v.MultiAttachEnabled) } if v.OutpostArn != nil { @@ -35237,9 +35237,9 @@ func awsEc2query_serializeOpDocumentCreateVolumeInput(v *CreateVolumeInput, valu objectKey.String(*v.OutpostArn) } - if v.Size != 0 { + if v.Size != nil { objectKey := object.Key("Size") - objectKey.Integer(v.Size) + objectKey.Integer(*v.Size) } if v.SnapshotId != nil { @@ -35254,9 +35254,9 @@ func awsEc2query_serializeOpDocumentCreateVolumeInput(v *CreateVolumeInput, valu } } - if v.Throughput != 0 { + if v.Throughput != nil { objectKey := object.Key("Throughput") - objectKey.Integer(v.Throughput) + objectKey.Integer(*v.Throughput) } if len(v.VolumeType) > 0 { @@ -35288,9 +35288,9 @@ func awsEc2query_serializeOpDocumentCreateVpcEndpointConnectionNotificationInput objectKey.String(*v.ConnectionNotificationArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ServiceId != nil { @@ -35315,9 +35315,9 @@ func awsEc2query_serializeOpDocumentCreateVpcEndpointInput(v *CreateVpcEndpointI objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PolicyDocument != nil { @@ -35325,9 +35325,9 @@ func awsEc2query_serializeOpDocumentCreateVpcEndpointInput(v *CreateVpcEndpointI objectKey.String(*v.PolicyDocument) } - if v.PrivateDnsEnabled { + if v.PrivateDnsEnabled != nil { objectKey := object.Key("PrivateDnsEnabled") - objectKey.Boolean(v.PrivateDnsEnabled) + objectKey.Boolean(*v.PrivateDnsEnabled) } if v.RouteTableIds != nil { @@ -35380,9 +35380,9 @@ func awsEc2query_serializeOpDocumentCreateVpcEndpointServiceConfigurationInput(v object := value.Object() _ = object - if v.AcceptanceRequired { + if v.AcceptanceRequired != nil { objectKey := object.Key("AcceptanceRequired") - objectKey.Boolean(v.AcceptanceRequired) + objectKey.Boolean(*v.AcceptanceRequired) } if v.ClientToken != nil { @@ -35390,9 +35390,9 @@ func awsEc2query_serializeOpDocumentCreateVpcEndpointServiceConfigurationInput(v objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GatewayLoadBalancerArns != nil { @@ -35428,9 +35428,9 @@ func awsEc2query_serializeOpDocumentCreateVpcInput(v *CreateVpcInput, value quer object := value.Object() _ = object - if v.AmazonProvidedIpv6CidrBlock { + if v.AmazonProvidedIpv6CidrBlock != nil { objectKey := object.Key("AmazonProvidedIpv6CidrBlock") - objectKey.Boolean(v.AmazonProvidedIpv6CidrBlock) + objectKey.Boolean(*v.AmazonProvidedIpv6CidrBlock) } if v.CidrBlock != nil { @@ -35438,9 +35438,9 @@ func awsEc2query_serializeOpDocumentCreateVpcInput(v *CreateVpcInput, value quer objectKey.String(*v.CidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.InstanceTenancy) > 0 { @@ -35477,9 +35477,9 @@ func awsEc2query_serializeOpDocumentCreateVpcPeeringConnectionInput(v *CreateVpc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PeerOwnerId != nil { @@ -35521,9 +35521,9 @@ func awsEc2query_serializeOpDocumentCreateVpnConnectionInput(v *CreateVpnConnect objectKey.String(*v.CustomerGatewayId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -35579,9 +35579,9 @@ func awsEc2query_serializeOpDocumentCreateVpnGatewayInput(v *CreateVpnGatewayInp object := value.Object() _ = object - if v.AmazonSideAsn != 0 { + if v.AmazonSideAsn != nil { objectKey := object.Key("AmazonSideAsn") - objectKey.Long(v.AmazonSideAsn) + objectKey.Long(*v.AmazonSideAsn) } if v.AvailabilityZone != nil { @@ -35589,9 +35589,9 @@ func awsEc2query_serializeOpDocumentCreateVpnGatewayInput(v *CreateVpnGatewayInp objectKey.String(*v.AvailabilityZone) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TagSpecifications != nil { @@ -35618,9 +35618,9 @@ func awsEc2query_serializeOpDocumentDeleteCarrierGatewayInput(v *DeleteCarrierGa objectKey.String(*v.CarrierGatewayId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -35635,9 +35635,9 @@ func awsEc2query_serializeOpDocumentDeleteClientVpnEndpointInput(v *DeleteClient objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -35657,9 +35657,9 @@ func awsEc2query_serializeOpDocumentDeleteClientVpnRouteInput(v *DeleteClientVpn objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TargetVpcSubnetId != nil { @@ -35679,9 +35679,9 @@ func awsEc2query_serializeOpDocumentDeleteCustomerGatewayInput(v *DeleteCustomer objectKey.String(*v.CustomerGatewayId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -35696,9 +35696,9 @@ func awsEc2query_serializeOpDocumentDeleteDhcpOptionsInput(v *DeleteDhcpOptionsI objectKey.String(*v.DhcpOptionsId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -35708,9 +35708,9 @@ func awsEc2query_serializeOpDocumentDeleteEgressOnlyInternetGatewayInput(v *Dele object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EgressOnlyInternetGatewayId != nil { @@ -35725,9 +35725,9 @@ func awsEc2query_serializeOpDocumentDeleteFleetsInput(v *DeleteFleetsInput, valu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FleetIds != nil { @@ -35737,9 +35737,9 @@ func awsEc2query_serializeOpDocumentDeleteFleetsInput(v *DeleteFleetsInput, valu } } - { + if v.TerminateInstances != nil { objectKey := object.Key("TerminateInstances") - objectKey.Boolean(v.TerminateInstances) + objectKey.Boolean(*v.TerminateInstances) } return nil @@ -35749,9 +35749,9 @@ func awsEc2query_serializeOpDocumentDeleteFlowLogsInput(v *DeleteFlowLogsInput, object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FlowLogIds != nil { @@ -35768,9 +35768,9 @@ func awsEc2query_serializeOpDocumentDeleteFpgaImageInput(v *DeleteFpgaImageInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FpgaImageId != nil { @@ -35785,9 +35785,9 @@ func awsEc2query_serializeOpDocumentDeleteInternetGatewayInput(v *DeleteInternet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InternetGatewayId != nil { @@ -35802,9 +35802,9 @@ func awsEc2query_serializeOpDocumentDeleteKeyPairInput(v *DeleteKeyPairInput, va object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.KeyName != nil { @@ -35824,9 +35824,9 @@ func awsEc2query_serializeOpDocumentDeleteLaunchTemplateInput(v *DeleteLaunchTem object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LaunchTemplateId != nil { @@ -35846,9 +35846,9 @@ func awsEc2query_serializeOpDocumentDeleteLaunchTemplateVersionsInput(v *DeleteL object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LaunchTemplateId != nil { @@ -35880,9 +35880,9 @@ func awsEc2query_serializeOpDocumentDeleteLocalGatewayRouteInput(v *DeleteLocalG objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LocalGatewayRouteTableId != nil { @@ -35897,9 +35897,9 @@ func awsEc2query_serializeOpDocumentDeleteLocalGatewayRouteTableVpcAssociationIn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LocalGatewayRouteTableVpcAssociationId != nil { @@ -35914,9 +35914,9 @@ func awsEc2query_serializeOpDocumentDeleteManagedPrefixListInput(v *DeleteManage object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrefixListId != nil { @@ -35931,9 +35931,9 @@ func awsEc2query_serializeOpDocumentDeleteNatGatewayInput(v *DeleteNatGatewayInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NatGatewayId != nil { @@ -35948,14 +35948,14 @@ func awsEc2query_serializeOpDocumentDeleteNetworkAclEntryInput(v *DeleteNetworkA object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - { + if v.Egress != nil { objectKey := object.Key("Egress") - objectKey.Boolean(v.Egress) + objectKey.Boolean(*v.Egress) } if v.NetworkAclId != nil { @@ -35963,9 +35963,9 @@ func awsEc2query_serializeOpDocumentDeleteNetworkAclEntryInput(v *DeleteNetworkA objectKey.String(*v.NetworkAclId) } - { + if v.RuleNumber != nil { objectKey := object.Key("RuleNumber") - objectKey.Integer(v.RuleNumber) + objectKey.Integer(*v.RuleNumber) } return nil @@ -35975,9 +35975,9 @@ func awsEc2query_serializeOpDocumentDeleteNetworkAclInput(v *DeleteNetworkAclInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkAclId != nil { @@ -35992,9 +35992,9 @@ func awsEc2query_serializeOpDocumentDeleteNetworkInsightsAnalysisInput(v *Delete object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInsightsAnalysisId != nil { @@ -36009,9 +36009,9 @@ func awsEc2query_serializeOpDocumentDeleteNetworkInsightsPathInput(v *DeleteNetw object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInsightsPathId != nil { @@ -36026,9 +36026,9 @@ func awsEc2query_serializeOpDocumentDeleteNetworkInterfaceInput(v *DeleteNetwork object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInterfaceId != nil { @@ -36043,14 +36043,14 @@ func awsEc2query_serializeOpDocumentDeleteNetworkInterfacePermissionInput(v *Del object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } if v.NetworkInterfacePermissionId != nil { @@ -36065,9 +36065,9 @@ func awsEc2query_serializeOpDocumentDeletePlacementGroupInput(v *DeletePlacement object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupName != nil { @@ -36082,9 +36082,9 @@ func awsEc2query_serializeOpDocumentDeleteQueuedReservedInstancesInput(v *Delete object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ReservedInstancesIds != nil { @@ -36116,9 +36116,9 @@ func awsEc2query_serializeOpDocumentDeleteRouteInput(v *DeleteRouteInput, value objectKey.String(*v.DestinationPrefixListId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RouteTableId != nil { @@ -36133,9 +36133,9 @@ func awsEc2query_serializeOpDocumentDeleteRouteTableInput(v *DeleteRouteTableInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RouteTableId != nil { @@ -36150,9 +36150,9 @@ func awsEc2query_serializeOpDocumentDeleteSecurityGroupInput(v *DeleteSecurityGr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupId != nil { @@ -36172,9 +36172,9 @@ func awsEc2query_serializeOpDocumentDeleteSnapshotInput(v *DeleteSnapshotInput, object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SnapshotId != nil { @@ -36189,9 +36189,9 @@ func awsEc2query_serializeOpDocumentDeleteSpotDatafeedSubscriptionInput(v *Delet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -36201,9 +36201,9 @@ func awsEc2query_serializeOpDocumentDeleteSubnetInput(v *DeleteSubnetInput, valu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetId != nil { @@ -36218,9 +36218,9 @@ func awsEc2query_serializeOpDocumentDeleteTagsInput(v *DeleteTagsInput, value qu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Resources != nil { @@ -36244,9 +36244,9 @@ func awsEc2query_serializeOpDocumentDeleteTrafficMirrorFilterInput(v *DeleteTraf object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TrafficMirrorFilterId != nil { @@ -36261,9 +36261,9 @@ func awsEc2query_serializeOpDocumentDeleteTrafficMirrorFilterRuleInput(v *Delete object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TrafficMirrorFilterRuleId != nil { @@ -36278,9 +36278,9 @@ func awsEc2query_serializeOpDocumentDeleteTrafficMirrorSessionInput(v *DeleteTra object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TrafficMirrorSessionId != nil { @@ -36295,9 +36295,9 @@ func awsEc2query_serializeOpDocumentDeleteTrafficMirrorTargetInput(v *DeleteTraf object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TrafficMirrorTargetId != nil { @@ -36312,9 +36312,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayConnectInput(v *DeleteTr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -36329,9 +36329,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayConnectPeerInput(v *Dele object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayConnectPeerId != nil { @@ -36346,9 +36346,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayInput(v *DeleteTransitGa object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayId != nil { @@ -36363,9 +36363,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayMulticastDomainInput(v * object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayMulticastDomainId != nil { @@ -36380,9 +36380,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayPeeringAttachmentInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -36397,9 +36397,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayPrefixListReferenceInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrefixListId != nil { @@ -36424,9 +36424,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayRouteInput(v *DeleteTran objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayRouteTableId != nil { @@ -36441,9 +36441,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayRouteTableInput(v *Delet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayRouteTableId != nil { @@ -36458,9 +36458,9 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayVpcAttachmentInput(v *De object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -36475,9 +36475,9 @@ func awsEc2query_serializeOpDocumentDeleteVolumeInput(v *DeleteVolumeInput, valu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VolumeId != nil { @@ -36499,9 +36499,9 @@ func awsEc2query_serializeOpDocumentDeleteVpcEndpointConnectionNotificationsInpu } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -36511,9 +36511,9 @@ func awsEc2query_serializeOpDocumentDeleteVpcEndpointServiceConfigurationsInput( object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ServiceIds != nil { @@ -36530,9 +36530,9 @@ func awsEc2query_serializeOpDocumentDeleteVpcEndpointsInput(v *DeleteVpcEndpoint object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcEndpointIds != nil { @@ -36549,9 +36549,9 @@ func awsEc2query_serializeOpDocumentDeleteVpcInput(v *DeleteVpcInput, value quer object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -36566,9 +36566,9 @@ func awsEc2query_serializeOpDocumentDeleteVpcPeeringConnectionInput(v *DeleteVpc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcPeeringConnectionId != nil { @@ -36583,9 +36583,9 @@ func awsEc2query_serializeOpDocumentDeleteVpnConnectionInput(v *DeleteVpnConnect object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpnConnectionId != nil { @@ -36617,9 +36617,9 @@ func awsEc2query_serializeOpDocumentDeleteVpnGatewayInput(v *DeleteVpnGatewayInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpnGatewayId != nil { @@ -36639,9 +36639,9 @@ func awsEc2query_serializeOpDocumentDeprovisionByoipCidrInput(v *DeprovisionByoi objectKey.String(*v.Cidr) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -36651,9 +36651,9 @@ func awsEc2query_serializeOpDocumentDeregisterImageInput(v *DeregisterImageInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImageId != nil { @@ -36668,9 +36668,9 @@ func awsEc2query_serializeOpDocumentDeregisterInstanceEventNotificationAttribute object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceTagAttribute != nil { @@ -36687,9 +36687,9 @@ func awsEc2query_serializeOpDocumentDeregisterTransitGatewayMulticastGroupMember object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupIpAddress != nil { @@ -36716,9 +36716,9 @@ func awsEc2query_serializeOpDocumentDeregisterTransitGatewayMulticastGroupSource object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupIpAddress != nil { @@ -36752,9 +36752,9 @@ func awsEc2query_serializeOpDocumentDescribeAccountAttributesInput(v *DescribeAc } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -36776,14 +36776,14 @@ func awsEc2query_serializeOpDocumentDescribeAddressesAttributeInput(v *DescribeA objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -36805,9 +36805,9 @@ func awsEc2query_serializeOpDocumentDescribeAddressesInput(v *DescribeAddressesI } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -36831,9 +36831,9 @@ func awsEc2query_serializeOpDocumentDescribeAggregateIdFormatInput(v *DescribeAg object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -36843,14 +36843,14 @@ func awsEc2query_serializeOpDocumentDescribeAvailabilityZonesInput(v *DescribeAv object := value.Object() _ = object - if v.AllAvailabilityZones { + if v.AllAvailabilityZones != nil { objectKey := object.Key("AllAvailabilityZones") - objectKey.Boolean(v.AllAvailabilityZones) + objectKey.Boolean(*v.AllAvailabilityZones) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -36888,9 +36888,9 @@ func awsEc2query_serializeOpDocumentDescribeBundleTasksInput(v *DescribeBundleTa } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -36907,14 +36907,14 @@ func awsEc2query_serializeOpDocumentDescribeByoipCidrsInput(v *DescribeByoipCidr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -36936,9 +36936,9 @@ func awsEc2query_serializeOpDocumentDescribeCapacityReservationsInput(v *Describ } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -36948,9 +36948,9 @@ func awsEc2query_serializeOpDocumentDescribeCapacityReservationsInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -36972,9 +36972,9 @@ func awsEc2query_serializeOpDocumentDescribeCarrierGatewaysInput(v *DescribeCarr } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -36984,9 +36984,9 @@ func awsEc2query_serializeOpDocumentDescribeCarrierGatewaysInput(v *DescribeCarr } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37001,9 +37001,9 @@ func awsEc2query_serializeOpDocumentDescribeClassicLinkInstancesInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37020,9 +37020,9 @@ func awsEc2query_serializeOpDocumentDescribeClassicLinkInstancesInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37042,9 +37042,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnAuthorizationRulesInput(v * objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37054,9 +37054,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnAuthorizationRulesInput(v * } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37076,9 +37076,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnConnectionsInput(v *Describ objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37088,9 +37088,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnConnectionsInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37112,9 +37112,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnEndpointsInput(v *DescribeC } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37124,9 +37124,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnEndpointsInput(v *DescribeC } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37146,9 +37146,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnRoutesInput(v *DescribeClie objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37158,9 +37158,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnRoutesInput(v *DescribeClie } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37187,9 +37187,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnTargetNetworksInput(v *Desc objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37199,9 +37199,9 @@ func awsEc2query_serializeOpDocumentDescribeClientVpnTargetNetworksInput(v *Desc } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37216,9 +37216,9 @@ func awsEc2query_serializeOpDocumentDescribeCoipPoolsInput(v *DescribeCoipPoolsI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37228,9 +37228,9 @@ func awsEc2query_serializeOpDocumentDescribeCoipPoolsInput(v *DescribeCoipPoolsI } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37259,9 +37259,9 @@ func awsEc2query_serializeOpDocumentDescribeConversionTasksInput(v *DescribeConv } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -37278,9 +37278,9 @@ func awsEc2query_serializeOpDocumentDescribeCustomerGatewaysInput(v *DescribeCus } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37304,9 +37304,9 @@ func awsEc2query_serializeOpDocumentDescribeDhcpOptionsInput(v *DescribeDhcpOpti } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37316,9 +37316,9 @@ func awsEc2query_serializeOpDocumentDescribeDhcpOptionsInput(v *DescribeDhcpOpti } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37333,9 +37333,9 @@ func awsEc2query_serializeOpDocumentDescribeEgressOnlyInternetGatewaysInput(v *D object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EgressOnlyInternetGatewayIds != nil { @@ -37352,9 +37352,9 @@ func awsEc2query_serializeOpDocumentDescribeEgressOnlyInternetGatewaysInput(v *D } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37369,9 +37369,9 @@ func awsEc2query_serializeOpDocumentDescribeElasticGpusInput(v *DescribeElasticG object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ElasticGpuIds != nil { @@ -37388,9 +37388,9 @@ func awsEc2query_serializeOpDocumentDescribeElasticGpusInput(v *DescribeElasticG } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37405,9 +37405,9 @@ func awsEc2query_serializeOpDocumentDescribeExportImageTasksInput(v *DescribeExp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ExportImageTaskIds != nil { @@ -37424,9 +37424,9 @@ func awsEc2query_serializeOpDocumentDescribeExportImageTasksInput(v *DescribeExp } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37462,9 +37462,9 @@ func awsEc2query_serializeOpDocumentDescribeFastSnapshotRestoresInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37491,9 +37491,9 @@ func awsEc2query_serializeOpDocumentDescribeFleetHistoryInput(v *DescribeFleetHi object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.EventType) > 0 { @@ -37506,9 +37506,9 @@ func awsEc2query_serializeOpDocumentDescribeFleetHistoryInput(v *DescribeFleetHi objectKey.String(*v.FleetId) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37528,9 +37528,9 @@ func awsEc2query_serializeOpDocumentDescribeFleetInstancesInput(v *DescribeFleet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37545,9 +37545,9 @@ func awsEc2query_serializeOpDocumentDescribeFleetInstancesInput(v *DescribeFleet objectKey.String(*v.FleetId) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37562,9 +37562,9 @@ func awsEc2query_serializeOpDocumentDescribeFleetsInput(v *DescribeFleetsInput, object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37581,9 +37581,9 @@ func awsEc2query_serializeOpDocumentDescribeFleetsInput(v *DescribeFleetsInput, } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37598,9 +37598,9 @@ func awsEc2query_serializeOpDocumentDescribeFlowLogsInput(v *DescribeFlowLogsInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filter != nil { @@ -37617,9 +37617,9 @@ func awsEc2query_serializeOpDocumentDescribeFlowLogsInput(v *DescribeFlowLogsInp } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37639,9 +37639,9 @@ func awsEc2query_serializeOpDocumentDescribeFpgaImageAttributeInput(v *DescribeF objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FpgaImageId != nil { @@ -37656,9 +37656,9 @@ func awsEc2query_serializeOpDocumentDescribeFpgaImagesInput(v *DescribeFpgaImage object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37675,9 +37675,9 @@ func awsEc2query_serializeOpDocumentDescribeFpgaImagesInput(v *DescribeFpgaImage } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37706,19 +37706,19 @@ func awsEc2query_serializeOpDocumentDescribeHostReservationOfferingsInput(v *Des } } - if v.MaxDuration != 0 { + if v.MaxDuration != nil { objectKey := object.Key("MaxDuration") - objectKey.Integer(v.MaxDuration) + objectKey.Integer(*v.MaxDuration) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } - if v.MinDuration != 0 { + if v.MinDuration != nil { objectKey := object.Key("MinDuration") - objectKey.Integer(v.MinDuration) + objectKey.Integer(*v.MinDuration) } if v.NextToken != nil { @@ -37752,9 +37752,9 @@ func awsEc2query_serializeOpDocumentDescribeHostReservationsInput(v *DescribeHos } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37783,9 +37783,9 @@ func awsEc2query_serializeOpDocumentDescribeHostsInput(v *DescribeHostsInput, va } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37814,9 +37814,9 @@ func awsEc2query_serializeOpDocumentDescribeIamInstanceProfileAssociationsInput( } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37865,9 +37865,9 @@ func awsEc2query_serializeOpDocumentDescribeImageAttributeInput(v *DescribeImage objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImageId != nil { @@ -37882,9 +37882,9 @@ func awsEc2query_serializeOpDocumentDescribeImagesInput(v *DescribeImagesInput, object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ExecutableUsers != nil { @@ -37922,9 +37922,9 @@ func awsEc2query_serializeOpDocumentDescribeImportImageTasksInput(v *DescribeImp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37941,9 +37941,9 @@ func awsEc2query_serializeOpDocumentDescribeImportImageTasksInput(v *DescribeImp } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37958,9 +37958,9 @@ func awsEc2query_serializeOpDocumentDescribeImportSnapshotTasksInput(v *Describe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -37977,9 +37977,9 @@ func awsEc2query_serializeOpDocumentDescribeImportSnapshotTasksInput(v *Describe } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -37999,9 +37999,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceAttributeInput(v *DescribeIn objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -38016,9 +38016,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceCreditSpecificationsInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38035,9 +38035,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceCreditSpecificationsInput(v } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38052,9 +38052,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceEventNotificationAttributesI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -38064,9 +38064,9 @@ func awsEc2query_serializeOpDocumentDescribeInstancesInput(v *DescribeInstancesI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38083,9 +38083,9 @@ func awsEc2query_serializeOpDocumentDescribeInstancesInput(v *DescribeInstancesI } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38100,9 +38100,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceStatusInput(v *DescribeInsta object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38112,9 +38112,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceStatusInput(v *DescribeInsta } } - if v.IncludeAllInstances { + if v.IncludeAllInstances != nil { objectKey := object.Key("IncludeAllInstances") - objectKey.Boolean(v.IncludeAllInstances) + objectKey.Boolean(*v.IncludeAllInstances) } if v.InstanceIds != nil { @@ -38124,9 +38124,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceStatusInput(v *DescribeInsta } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38141,9 +38141,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceTypeOfferingsInput(v *Descri object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38175,9 +38175,9 @@ func awsEc2query_serializeOpDocumentDescribeInstanceTypesInput(v *DescribeInstan object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38211,9 +38211,9 @@ func awsEc2query_serializeOpDocumentDescribeInternetGatewaysInput(v *DescribeInt object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38230,9 +38230,9 @@ func awsEc2query_serializeOpDocumentDescribeInternetGatewaysInput(v *DescribeInt } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38247,9 +38247,9 @@ func awsEc2query_serializeOpDocumentDescribeIpv6PoolsInput(v *DescribeIpv6PoolsI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38259,9 +38259,9 @@ func awsEc2query_serializeOpDocumentDescribeIpv6PoolsInput(v *DescribeIpv6PoolsI } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38283,9 +38283,9 @@ func awsEc2query_serializeOpDocumentDescribeKeyPairsInput(v *DescribeKeyPairsInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38316,9 +38316,9 @@ func awsEc2query_serializeOpDocumentDescribeLaunchTemplatesInput(v *DescribeLaun object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38342,9 +38342,9 @@ func awsEc2query_serializeOpDocumentDescribeLaunchTemplatesInput(v *DescribeLaun } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38359,9 +38359,9 @@ func awsEc2query_serializeOpDocumentDescribeLaunchTemplateVersionsInput(v *Descr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38381,9 +38381,9 @@ func awsEc2query_serializeOpDocumentDescribeLaunchTemplateVersionsInput(v *Descr objectKey.String(*v.LaunchTemplateName) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.MaxVersion != nil { @@ -38415,9 +38415,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayRouteTablesInput(v *Desc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38434,9 +38434,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayRouteTablesInput(v *Desc } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38451,9 +38451,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayRouteTableVirtualInterfa object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38470,9 +38470,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayRouteTableVirtualInterfa } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38487,9 +38487,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayRouteTableVpcAssociation object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38506,9 +38506,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayRouteTableVpcAssociation } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38523,9 +38523,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewaysInput(v *DescribeLocalG object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38542,9 +38542,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewaysInput(v *DescribeLocalG } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38559,9 +38559,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayVirtualInterfaceGroupsIn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38578,9 +38578,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayVirtualInterfaceGroupsIn } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38595,9 +38595,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayVirtualInterfacesInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38614,9 +38614,9 @@ func awsEc2query_serializeOpDocumentDescribeLocalGatewayVirtualInterfacesInput(v } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38631,9 +38631,9 @@ func awsEc2query_serializeOpDocumentDescribeManagedPrefixListsInput(v *DescribeM object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38643,9 +38643,9 @@ func awsEc2query_serializeOpDocumentDescribeManagedPrefixListsInput(v *DescribeM } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38667,9 +38667,9 @@ func awsEc2query_serializeOpDocumentDescribeMovingAddressesInput(v *DescribeMovi object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38679,9 +38679,9 @@ func awsEc2query_serializeOpDocumentDescribeMovingAddressesInput(v *DescribeMovi } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -38703,9 +38703,9 @@ func awsEc2query_serializeOpDocumentDescribeNatGatewaysInput(v *DescribeNatGatew object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filter != nil { @@ -38715,9 +38715,9 @@ func awsEc2query_serializeOpDocumentDescribeNatGatewaysInput(v *DescribeNatGatew } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NatGatewayIds != nil { @@ -38739,9 +38739,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkAclsInput(v *DescribeNetworkA object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38751,9 +38751,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkAclsInput(v *DescribeNetworkA } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NetworkAclIds != nil { @@ -38785,9 +38785,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInsightsAnalysesInput(v *Desc objectKey.String(smithytime.FormatDateTime(*v.AnalysisStartTime)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38797,9 +38797,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInsightsAnalysesInput(v *Desc } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NetworkInsightsAnalysisIds != nil { @@ -38826,9 +38826,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInsightsPathsInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38838,9 +38838,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInsightsPathsInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NetworkInsightsPathIds != nil { @@ -38867,9 +38867,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInterfaceAttributeInput(v *De objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInterfaceId != nil { @@ -38891,9 +38891,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInterfacePermissionsInput(v * } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NetworkInterfacePermissionIds != nil { @@ -38915,9 +38915,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInterfacesInput(v *DescribeNe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38927,9 +38927,9 @@ func awsEc2query_serializeOpDocumentDescribeNetworkInterfacesInput(v *DescribeNe } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NetworkInterfaceIds != nil { @@ -38951,9 +38951,9 @@ func awsEc2query_serializeOpDocumentDescribePlacementGroupsInput(v *DescribePlac object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38984,9 +38984,9 @@ func awsEc2query_serializeOpDocumentDescribePrefixListsInput(v *DescribePrefixLi object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -38996,9 +38996,9 @@ func awsEc2query_serializeOpDocumentDescribePrefixListsInput(v *DescribePrefixLi } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39020,14 +39020,14 @@ func awsEc2query_serializeOpDocumentDescribePrincipalIdFormatInput(v *DescribePr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39056,9 +39056,9 @@ func awsEc2query_serializeOpDocumentDescribePublicIpv4PoolsInput(v *DescribePubl } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39080,14 +39080,14 @@ func awsEc2query_serializeOpDocumentDescribeRegionsInput(v *DescribeRegionsInput object := value.Object() _ = object - if v.AllRegions { + if v.AllRegions != nil { objectKey := object.Key("AllRegions") - objectKey.Boolean(v.AllRegions) + objectKey.Boolean(*v.AllRegions) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39111,9 +39111,9 @@ func awsEc2query_serializeOpDocumentDescribeReplaceRootVolumeTasksInput(v *Descr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39123,9 +39123,9 @@ func awsEc2query_serializeOpDocumentDescribeReplaceRootVolumeTasksInput(v *Descr } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39147,9 +39147,9 @@ func awsEc2query_serializeOpDocumentDescribeReservedInstancesInput(v *DescribeRe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39238,9 +39238,9 @@ func awsEc2query_serializeOpDocumentDescribeReservedInstancesOfferingsInput(v *D objectKey.String(*v.AvailabilityZone) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39250,9 +39250,9 @@ func awsEc2query_serializeOpDocumentDescribeReservedInstancesOfferingsInput(v *D } } - if v.IncludeMarketplace { + if v.IncludeMarketplace != nil { objectKey := object.Key("IncludeMarketplace") - objectKey.Boolean(v.IncludeMarketplace) + objectKey.Boolean(*v.IncludeMarketplace) } if len(v.InstanceTenancy) > 0 { @@ -39265,24 +39265,24 @@ func awsEc2query_serializeOpDocumentDescribeReservedInstancesOfferingsInput(v *D objectKey.String(string(v.InstanceType)) } - if v.MaxDuration != 0 { + if v.MaxDuration != nil { objectKey := object.Key("MaxDuration") - objectKey.Long(v.MaxDuration) + objectKey.Long(*v.MaxDuration) } - if v.MaxInstanceCount != 0 { + if v.MaxInstanceCount != nil { objectKey := object.Key("MaxInstanceCount") - objectKey.Integer(v.MaxInstanceCount) + objectKey.Integer(*v.MaxInstanceCount) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } - if v.MinDuration != 0 { + if v.MinDuration != nil { objectKey := object.Key("MinDuration") - objectKey.Long(v.MinDuration) + objectKey.Long(*v.MinDuration) } if v.NextToken != nil { @@ -39319,9 +39319,9 @@ func awsEc2query_serializeOpDocumentDescribeRouteTablesInput(v *DescribeRouteTab object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39331,9 +39331,9 @@ func awsEc2query_serializeOpDocumentDescribeRouteTablesInput(v *DescribeRouteTab } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39355,9 +39355,9 @@ func awsEc2query_serializeOpDocumentDescribeScheduledInstanceAvailabilityInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39374,19 +39374,19 @@ func awsEc2query_serializeOpDocumentDescribeScheduledInstanceAvailabilityInput(v } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } - if v.MaxSlotDurationInHours != 0 { + if v.MaxSlotDurationInHours != nil { objectKey := object.Key("MaxSlotDurationInHours") - objectKey.Integer(v.MaxSlotDurationInHours) + objectKey.Integer(*v.MaxSlotDurationInHours) } - if v.MinSlotDurationInHours != 0 { + if v.MinSlotDurationInHours != nil { objectKey := object.Key("MinSlotDurationInHours") - objectKey.Integer(v.MinSlotDurationInHours) + objectKey.Integer(*v.MinSlotDurationInHours) } if v.NextToken != nil { @@ -39408,9 +39408,9 @@ func awsEc2query_serializeOpDocumentDescribeScheduledInstancesInput(v *DescribeS object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39420,9 +39420,9 @@ func awsEc2query_serializeOpDocumentDescribeScheduledInstancesInput(v *DescribeS } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39451,9 +39451,9 @@ func awsEc2query_serializeOpDocumentDescribeSecurityGroupReferencesInput(v *Desc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupId != nil { @@ -39470,9 +39470,9 @@ func awsEc2query_serializeOpDocumentDescribeSecurityGroupsInput(v *DescribeSecur object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39496,9 +39496,9 @@ func awsEc2query_serializeOpDocumentDescribeSecurityGroupsInput(v *DescribeSecur } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39518,9 +39518,9 @@ func awsEc2query_serializeOpDocumentDescribeSnapshotAttributeInput(v *DescribeSn objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SnapshotId != nil { @@ -39535,9 +39535,9 @@ func awsEc2query_serializeOpDocumentDescribeSnapshotsInput(v *DescribeSnapshotsI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39547,9 +39547,9 @@ func awsEc2query_serializeOpDocumentDescribeSnapshotsInput(v *DescribeSnapshotsI } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39585,9 +39585,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotDatafeedSubscriptionInput(v *Des object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -39597,14 +39597,14 @@ func awsEc2query_serializeOpDocumentDescribeSpotFleetInstancesInput(v *DescribeS object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39624,9 +39624,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotFleetRequestHistoryInput(v *Desc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.EventType) > 0 { @@ -39634,9 +39634,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotFleetRequestHistoryInput(v *Desc objectKey.String(string(v.EventType)) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39661,14 +39661,14 @@ func awsEc2query_serializeOpDocumentDescribeSpotFleetRequestsInput(v *DescribeSp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39690,9 +39690,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotInstanceRequestsInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39702,9 +39702,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotInstanceRequestsInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39731,9 +39731,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotPriceHistoryInput(v *DescribeSpo objectKey.String(*v.AvailabilityZone) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EndTime != nil { @@ -39755,9 +39755,9 @@ func awsEc2query_serializeOpDocumentDescribeSpotPriceHistoryInput(v *DescribeSpo } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39784,14 +39784,14 @@ func awsEc2query_serializeOpDocumentDescribeStaleSecurityGroupsInput(v *Describe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39811,9 +39811,9 @@ func awsEc2query_serializeOpDocumentDescribeStoreImageTasksInput(v *DescribeStor object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39830,9 +39830,9 @@ func awsEc2query_serializeOpDocumentDescribeStoreImageTasksInput(v *DescribeStor } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39847,9 +39847,9 @@ func awsEc2query_serializeOpDocumentDescribeSubnetsInput(v *DescribeSubnetsInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39859,9 +39859,9 @@ func awsEc2query_serializeOpDocumentDescribeSubnetsInput(v *DescribeSubnetsInput } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39883,9 +39883,9 @@ func awsEc2query_serializeOpDocumentDescribeTagsInput(v *DescribeTagsInput, valu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39895,9 +39895,9 @@ func awsEc2query_serializeOpDocumentDescribeTagsInput(v *DescribeTagsInput, valu } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39912,9 +39912,9 @@ func awsEc2query_serializeOpDocumentDescribeTrafficMirrorFiltersInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39924,9 +39924,9 @@ func awsEc2query_serializeOpDocumentDescribeTrafficMirrorFiltersInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39948,9 +39948,9 @@ func awsEc2query_serializeOpDocumentDescribeTrafficMirrorSessionsInput(v *Descri object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39960,9 +39960,9 @@ func awsEc2query_serializeOpDocumentDescribeTrafficMirrorSessionsInput(v *Descri } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -39984,9 +39984,9 @@ func awsEc2query_serializeOpDocumentDescribeTrafficMirrorTargetsInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -39996,9 +39996,9 @@ func awsEc2query_serializeOpDocumentDescribeTrafficMirrorTargetsInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40020,9 +40020,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayAttachmentsInput(v *De object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40032,9 +40032,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayAttachmentsInput(v *De } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40056,9 +40056,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayConnectPeersInput(v *D object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40068,9 +40068,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayConnectPeersInput(v *D } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40092,9 +40092,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayConnectsInput(v *Descr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40104,9 +40104,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayConnectsInput(v *Descr } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40128,9 +40128,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayMulticastDomainsInput( object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40140,9 +40140,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayMulticastDomainsInput( } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40164,9 +40164,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayPeeringAttachmentsInpu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40176,9 +40176,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayPeeringAttachmentsInpu } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40200,9 +40200,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayRouteTablesInput(v *De object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40212,9 +40212,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayRouteTablesInput(v *De } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40236,9 +40236,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewaysInput(v *DescribeTran object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40248,9 +40248,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewaysInput(v *DescribeTran } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40272,9 +40272,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayVpcAttachmentsInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40284,9 +40284,9 @@ func awsEc2query_serializeOpDocumentDescribeTransitGatewayVpcAttachmentsInput(v } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40313,9 +40313,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumeAttributeInput(v *DescribeVolu objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VolumeId != nil { @@ -40330,9 +40330,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumesInput(v *DescribeVolumesInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40342,9 +40342,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumesInput(v *DescribeVolumesInput } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40366,9 +40366,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumesModificationsInput(v *Describ object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40378,9 +40378,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumesModificationsInput(v *Describ } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40402,9 +40402,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumeStatusInput(v *DescribeVolumeS object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40414,9 +40414,9 @@ func awsEc2query_serializeOpDocumentDescribeVolumeStatusInput(v *DescribeVolumeS } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40443,9 +40443,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcAttributeInput(v *DescribeVpcAttr objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -40460,9 +40460,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcClassicLinkDnsSupportInput(v *Des object := value.Object() _ = object - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40484,9 +40484,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcClassicLinkInput(v *DescribeVpcCl object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40515,9 +40515,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointConnectionNotificationsIn objectKey.String(*v.ConnectionNotificationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40527,9 +40527,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointConnectionNotificationsIn } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40544,9 +40544,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointConnectionsInput(v *Descr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40556,9 +40556,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointConnectionsInput(v *Descr } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40573,9 +40573,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointServiceConfigurationsInpu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40585,9 +40585,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointServiceConfigurationsInpu } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40609,9 +40609,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointServicePermissionsInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40621,9 +40621,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointServicePermissionsInput(v } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40643,9 +40643,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointServicesInput(v *Describe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40655,9 +40655,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointServicesInput(v *Describe } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40679,9 +40679,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointsInput(v *DescribeVpcEndp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40691,9 +40691,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcEndpointsInput(v *DescribeVpcEndp } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40715,9 +40715,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcPeeringConnectionsInput(v *Descri object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40727,9 +40727,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcPeeringConnectionsInput(v *Descri } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40751,9 +40751,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcsInput(v *DescribeVpcsInput, valu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40763,9 +40763,9 @@ func awsEc2query_serializeOpDocumentDescribeVpcsInput(v *DescribeVpcsInput, valu } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -40787,9 +40787,9 @@ func awsEc2query_serializeOpDocumentDescribeVpnConnectionsInput(v *DescribeVpnCo object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40813,9 +40813,9 @@ func awsEc2query_serializeOpDocumentDescribeVpnGatewaysInput(v *DescribeVpnGatew object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -40839,9 +40839,9 @@ func awsEc2query_serializeOpDocumentDetachClassicLinkVpcInput(v *DetachClassicLi object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -40861,9 +40861,9 @@ func awsEc2query_serializeOpDocumentDetachInternetGatewayInput(v *DetachInternet object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InternetGatewayId != nil { @@ -40888,14 +40888,14 @@ func awsEc2query_serializeOpDocumentDetachNetworkInterfaceInput(v *DetachNetwork objectKey.String(*v.AttachmentId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } return nil @@ -40910,14 +40910,14 @@ func awsEc2query_serializeOpDocumentDetachVolumeInput(v *DetachVolumeInput, valu objectKey.String(*v.Device) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } if v.InstanceId != nil { @@ -40937,9 +40937,9 @@ func awsEc2query_serializeOpDocumentDetachVpnGatewayInput(v *DetachVpnGatewayInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -40959,9 +40959,9 @@ func awsEc2query_serializeOpDocumentDisableEbsEncryptionByDefaultInput(v *Disabl object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -40978,9 +40978,9 @@ func awsEc2query_serializeOpDocumentDisableFastSnapshotRestoresInput(v *DisableF } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SourceSnapshotIds != nil { @@ -40997,9 +40997,9 @@ func awsEc2query_serializeOpDocumentDisableSerialConsoleAccessInput(v *DisableSe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41009,9 +41009,9 @@ func awsEc2query_serializeOpDocumentDisableTransitGatewayRouteTablePropagationIn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -41031,9 +41031,9 @@ func awsEc2query_serializeOpDocumentDisableVgwRoutePropagationInput(v *DisableVg object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GatewayId != nil { @@ -41065,9 +41065,9 @@ func awsEc2query_serializeOpDocumentDisableVpcClassicLinkInput(v *DisableVpcClas object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -41087,9 +41087,9 @@ func awsEc2query_serializeOpDocumentDisassociateAddressInput(v *DisassociateAddr objectKey.String(*v.AssociationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PublicIp != nil { @@ -41114,9 +41114,9 @@ func awsEc2query_serializeOpDocumentDisassociateClientVpnTargetNetworkInput(v *D objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41131,9 +41131,9 @@ func awsEc2query_serializeOpDocumentDisassociateEnclaveCertificateIamRoleInput(v objectKey.String(*v.CertificateArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RoleArn != nil { @@ -41165,9 +41165,9 @@ func awsEc2query_serializeOpDocumentDisassociateRouteTableInput(v *DisassociateR objectKey.String(*v.AssociationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41189,9 +41189,9 @@ func awsEc2query_serializeOpDocumentDisassociateTransitGatewayMulticastDomainInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetIds != nil { @@ -41218,9 +41218,9 @@ func awsEc2query_serializeOpDocumentDisassociateTransitGatewayRouteTableInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -41252,9 +41252,9 @@ func awsEc2query_serializeOpDocumentEnableEbsEncryptionByDefaultInput(v *EnableE object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41271,9 +41271,9 @@ func awsEc2query_serializeOpDocumentEnableFastSnapshotRestoresInput(v *EnableFas } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SourceSnapshotIds != nil { @@ -41290,9 +41290,9 @@ func awsEc2query_serializeOpDocumentEnableSerialConsoleAccessInput(v *EnableSeri object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41302,9 +41302,9 @@ func awsEc2query_serializeOpDocumentEnableTransitGatewayRouteTablePropagationInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -41324,9 +41324,9 @@ func awsEc2query_serializeOpDocumentEnableVgwRoutePropagationInput(v *EnableVgwR object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GatewayId != nil { @@ -41346,9 +41346,9 @@ func awsEc2query_serializeOpDocumentEnableVolumeIOInput(v *EnableVolumeIOInput, object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VolumeId != nil { @@ -41375,9 +41375,9 @@ func awsEc2query_serializeOpDocumentEnableVpcClassicLinkInput(v *EnableVpcClassi object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcId != nil { @@ -41397,9 +41397,9 @@ func awsEc2query_serializeOpDocumentExportClientVpnClientCertificateRevocationLi objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41414,9 +41414,9 @@ func awsEc2query_serializeOpDocumentExportClientVpnClientConfigurationInput(v *E objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41441,9 +41441,9 @@ func awsEc2query_serializeOpDocumentExportImageInput(v *ExportImageInput, value objectKey.String(string(v.DiskImageFormat)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImageId != nil { @@ -41477,9 +41477,9 @@ func awsEc2query_serializeOpDocumentExportTransitGatewayRoutesInput(v *ExportTra object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -41511,9 +41511,9 @@ func awsEc2query_serializeOpDocumentGetAssociatedEnclaveCertificateIamRolesInput objectKey.String(*v.CertificateArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41523,14 +41523,14 @@ func awsEc2query_serializeOpDocumentGetAssociatedIpv6PoolCidrsInput(v *GetAssoci object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41555,14 +41555,14 @@ func awsEc2query_serializeOpDocumentGetCapacityReservationUsageInput(v *GetCapac objectKey.String(*v.CapacityReservationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41577,9 +41577,9 @@ func awsEc2query_serializeOpDocumentGetCoipPoolUsageInput(v *GetCoipPoolUsageInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -41589,9 +41589,9 @@ func awsEc2query_serializeOpDocumentGetCoipPoolUsageInput(v *GetCoipPoolUsageInp } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41611,9 +41611,9 @@ func awsEc2query_serializeOpDocumentGetConsoleOutputInput(v *GetConsoleOutputInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -41621,9 +41621,9 @@ func awsEc2query_serializeOpDocumentGetConsoleOutputInput(v *GetConsoleOutputInp objectKey.String(*v.InstanceId) } - if v.Latest { + if v.Latest != nil { objectKey := object.Key("Latest") - objectKey.Boolean(v.Latest) + objectKey.Boolean(*v.Latest) } return nil @@ -41633,9 +41633,9 @@ func awsEc2query_serializeOpDocumentGetConsoleScreenshotInput(v *GetConsoleScree object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -41643,9 +41643,9 @@ func awsEc2query_serializeOpDocumentGetConsoleScreenshotInput(v *GetConsoleScree objectKey.String(*v.InstanceId) } - if v.WakeUp { + if v.WakeUp != nil { objectKey := object.Key("WakeUp") - objectKey.Boolean(v.WakeUp) + objectKey.Boolean(*v.WakeUp) } return nil @@ -41655,9 +41655,9 @@ func awsEc2query_serializeOpDocumentGetDefaultCreditSpecificationInput(v *GetDef object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.InstanceFamily) > 0 { @@ -41672,9 +41672,9 @@ func awsEc2query_serializeOpDocumentGetEbsDefaultKmsKeyIdInput(v *GetEbsDefaultK object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41684,9 +41684,9 @@ func awsEc2query_serializeOpDocumentGetEbsEncryptionByDefaultInput(v *GetEbsEncr object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41701,9 +41701,9 @@ func awsEc2query_serializeOpDocumentGetFlowLogsIntegrationTemplateInput(v *GetFl objectKey.String(*v.ConfigDeliveryS3DestinationArn) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FlowLogId != nil { @@ -41730,14 +41730,14 @@ func awsEc2query_serializeOpDocumentGetGroupsForCapacityReservationInput(v *GetG objectKey.String(*v.CapacityReservationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41771,9 +41771,9 @@ func awsEc2query_serializeOpDocumentGetLaunchTemplateDataInput(v *GetLaunchTempl object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -41788,14 +41788,14 @@ func awsEc2query_serializeOpDocumentGetManagedPrefixListAssociationsInput(v *Get object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41815,14 +41815,14 @@ func awsEc2query_serializeOpDocumentGetManagedPrefixListEntriesInput(v *GetManag object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41835,9 +41835,9 @@ func awsEc2query_serializeOpDocumentGetManagedPrefixListEntriesInput(v *GetManag objectKey.String(*v.PrefixListId) } - if v.TargetVersion != 0 { + if v.TargetVersion != nil { objectKey := object.Key("TargetVersion") - objectKey.Long(v.TargetVersion) + objectKey.Long(*v.TargetVersion) } return nil @@ -41847,9 +41847,9 @@ func awsEc2query_serializeOpDocumentGetPasswordDataInput(v *GetPasswordDataInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -41864,9 +41864,9 @@ func awsEc2query_serializeOpDocumentGetReservedInstancesExchangeQuoteInput(v *Ge object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ReservedInstanceIds != nil { @@ -41890,9 +41890,9 @@ func awsEc2query_serializeOpDocumentGetSerialConsoleAccessStatusInput(v *GetSeri object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -41902,9 +41902,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayAttachmentPropagationsInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -41914,9 +41914,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayAttachmentPropagationsInput } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41936,9 +41936,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayMulticastDomainAssociations object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -41948,9 +41948,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayMulticastDomainAssociations } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -41970,9 +41970,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayPrefixListReferencesInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -41982,9 +41982,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayPrefixListReferencesInput(v } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -42004,9 +42004,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayRouteTableAssociationsInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -42016,9 +42016,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayRouteTableAssociationsInput } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -42038,9 +42038,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayRouteTablePropagationsInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -42050,9 +42050,9 @@ func awsEc2query_serializeOpDocumentGetTransitGatewayRouteTablePropagationsInput } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -42082,9 +42082,9 @@ func awsEc2query_serializeOpDocumentImportClientVpnClientCertificateRevocationLi objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -42123,14 +42123,14 @@ func awsEc2query_serializeOpDocumentImportImageInput(v *ImportImageInput, value } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } if v.Hypervisor != nil { @@ -42191,9 +42191,9 @@ func awsEc2query_serializeOpDocumentImportInstanceInput(v *ImportInstanceInput, } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LaunchSpecification != nil { @@ -42215,9 +42215,9 @@ func awsEc2query_serializeOpDocumentImportKeyPairInput(v *ImportKeyPairInput, va object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.KeyName != nil { @@ -42268,14 +42268,14 @@ func awsEc2query_serializeOpDocumentImportSnapshotInput(v *ImportSnapshotInput, } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Encrypted { + if v.Encrypted != nil { objectKey := object.Key("Encrypted") - objectKey.Boolean(v.Encrypted) + objectKey.Boolean(*v.Encrypted) } if v.KmsKeyId != nil { @@ -42312,9 +42312,9 @@ func awsEc2query_serializeOpDocumentImportVolumeInput(v *ImportVolumeInput, valu objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Image != nil { @@ -42348,9 +42348,9 @@ func awsEc2query_serializeOpDocumentModifyAddressAttributeInput(v *ModifyAddress objectKey.String(*v.DomainName) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -42360,9 +42360,9 @@ func awsEc2query_serializeOpDocumentModifyAvailabilityZoneGroupInput(v *ModifyAv object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupName != nil { @@ -42382,9 +42382,9 @@ func awsEc2query_serializeOpDocumentModifyCapacityReservationInput(v *ModifyCapa object := value.Object() _ = object - if v.Accept { + if v.Accept != nil { objectKey := object.Key("Accept") - objectKey.Boolean(v.Accept) + objectKey.Boolean(*v.Accept) } if v.CapacityReservationId != nil { @@ -42392,9 +42392,9 @@ func awsEc2query_serializeOpDocumentModifyCapacityReservationInput(v *ModifyCapa objectKey.String(*v.CapacityReservationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EndDate != nil { @@ -42407,9 +42407,9 @@ func awsEc2query_serializeOpDocumentModifyCapacityReservationInput(v *ModifyCapa objectKey.String(string(v.EndDateType)) } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } return nil @@ -42450,9 +42450,9 @@ func awsEc2query_serializeOpDocumentModifyClientVpnEndpointInput(v *ModifyClient } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SecurityGroupIds != nil { @@ -42472,9 +42472,9 @@ func awsEc2query_serializeOpDocumentModifyClientVpnEndpointInput(v *ModifyClient objectKey.String(*v.ServerCertificateArn) } - if v.SplitTunnel { + if v.SplitTunnel != nil { objectKey := object.Key("SplitTunnel") - objectKey.Boolean(v.SplitTunnel) + objectKey.Boolean(*v.SplitTunnel) } if v.VpcId != nil { @@ -42482,9 +42482,9 @@ func awsEc2query_serializeOpDocumentModifyClientVpnEndpointInput(v *ModifyClient objectKey.String(*v.VpcId) } - if v.VpnPort != 0 { + if v.VpnPort != nil { objectKey := object.Key("VpnPort") - objectKey.Integer(v.VpnPort) + objectKey.Integer(*v.VpnPort) } return nil @@ -42499,9 +42499,9 @@ func awsEc2query_serializeOpDocumentModifyDefaultCreditSpecificationInput(v *Mod objectKey.String(*v.CpuCredits) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.InstanceFamily) > 0 { @@ -42516,9 +42516,9 @@ func awsEc2query_serializeOpDocumentModifyEbsDefaultKmsKeyIdInput(v *ModifyEbsDe object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.KmsKeyId != nil { @@ -42533,9 +42533,9 @@ func awsEc2query_serializeOpDocumentModifyFleetInput(v *ModifyFleetInput, value object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.ExcessCapacityTerminationPolicy) > 0 { @@ -42579,9 +42579,9 @@ func awsEc2query_serializeOpDocumentModifyFpgaImageAttributeInput(v *ModifyFpgaI objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FpgaImageId != nil { @@ -42678,9 +42678,9 @@ func awsEc2query_serializeOpDocumentModifyIdentityIdFormatInput(v *ModifyIdentit objectKey.String(*v.Resource) } - { + if v.UseLongIds != nil { objectKey := object.Key("UseLongIds") - objectKey.Boolean(v.UseLongIds) + objectKey.Boolean(*v.UseLongIds) } return nil @@ -42695,9 +42695,9 @@ func awsEc2query_serializeOpDocumentModifyIdFormatInput(v *ModifyIdFormatInput, objectKey.String(*v.Resource) } - { + if v.UseLongIds != nil { objectKey := object.Key("UseLongIds") - objectKey.Boolean(v.UseLongIds) + objectKey.Boolean(*v.UseLongIds) } return nil @@ -42719,9 +42719,9 @@ func awsEc2query_serializeOpDocumentModifyImageAttributeInput(v *ModifyImageAttr } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImageId != nil { @@ -42793,9 +42793,9 @@ func awsEc2query_serializeOpDocumentModifyInstanceAttributeInput(v *ModifyInstan } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EbsOptimized != nil { @@ -42892,9 +42892,9 @@ func awsEc2query_serializeOpDocumentModifyInstanceCapacityReservationAttributesI } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -42914,9 +42914,9 @@ func awsEc2query_serializeOpDocumentModifyInstanceCreditSpecificationInput(v *Mo objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceCreditSpecifications != nil { @@ -42933,9 +42933,9 @@ func awsEc2query_serializeOpDocumentModifyInstanceEventStartTimeInput(v *ModifyI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceEventId != nil { @@ -42960,9 +42960,9 @@ func awsEc2query_serializeOpDocumentModifyInstanceMetadataOptionsInput(v *Modify object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.HttpEndpoint) > 0 { @@ -42970,9 +42970,9 @@ func awsEc2query_serializeOpDocumentModifyInstanceMetadataOptionsInput(v *Modify objectKey.String(string(v.HttpEndpoint)) } - if v.HttpPutResponseHopLimit != 0 { + if v.HttpPutResponseHopLimit != nil { objectKey := object.Key("HttpPutResponseHopLimit") - objectKey.Integer(v.HttpPutResponseHopLimit) + objectKey.Integer(*v.HttpPutResponseHopLimit) } if len(v.HttpTokens) > 0 { @@ -43017,9 +43017,9 @@ func awsEc2query_serializeOpDocumentModifyInstancePlacementInput(v *ModifyInstan objectKey.String(*v.InstanceId) } - if v.PartitionNumber != 0 { + if v.PartitionNumber != nil { objectKey := object.Key("PartitionNumber") - objectKey.Integer(v.PartitionNumber) + objectKey.Integer(*v.PartitionNumber) } if len(v.Tenancy) > 0 { @@ -43044,9 +43044,9 @@ func awsEc2query_serializeOpDocumentModifyLaunchTemplateInput(v *ModifyLaunchTem objectKey.String(*v.DefaultVersion) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LaunchTemplateId != nil { @@ -43073,14 +43073,14 @@ func awsEc2query_serializeOpDocumentModifyManagedPrefixListInput(v *ModifyManage } } - if v.CurrentVersion != 0 { + if v.CurrentVersion != nil { objectKey := object.Key("CurrentVersion") - objectKey.Long(v.CurrentVersion) + objectKey.Long(*v.CurrentVersion) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrefixListId != nil { @@ -43121,9 +43121,9 @@ func awsEc2query_serializeOpDocumentModifyNetworkInterfaceAttributeInput(v *Modi } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Groups != nil { @@ -43190,9 +43190,9 @@ func awsEc2query_serializeOpDocumentModifySnapshotAttributeInput(v *ModifySnapsh } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupNames != nil { @@ -43238,9 +43238,9 @@ func awsEc2query_serializeOpDocumentModifySpotFleetRequestInput(v *ModifySpotFle } } - if v.OnDemandTargetCapacity != 0 { + if v.OnDemandTargetCapacity != nil { objectKey := object.Key("OnDemandTargetCapacity") - objectKey.Integer(v.OnDemandTargetCapacity) + objectKey.Integer(*v.OnDemandTargetCapacity) } if v.SpotFleetRequestId != nil { @@ -43248,9 +43248,9 @@ func awsEc2query_serializeOpDocumentModifySpotFleetRequestInput(v *ModifySpotFle objectKey.String(*v.SpotFleetRequestId) } - if v.TargetCapacity != 0 { + if v.TargetCapacity != nil { objectKey := object.Key("TargetCapacity") - objectKey.Integer(v.TargetCapacity) + objectKey.Integer(*v.TargetCapacity) } return nil @@ -43305,9 +43305,9 @@ func awsEc2query_serializeOpDocumentModifyTrafficMirrorFilterNetworkServicesInpu } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RemoveNetworkServices != nil { @@ -43346,14 +43346,14 @@ func awsEc2query_serializeOpDocumentModifyTrafficMirrorFilterRuleInput(v *Modify } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Protocol != 0 { + if v.Protocol != nil { objectKey := object.Key("Protocol") - objectKey.Integer(v.Protocol) + objectKey.Integer(*v.Protocol) } if v.RemoveFields != nil { @@ -43368,9 +43368,9 @@ func awsEc2query_serializeOpDocumentModifyTrafficMirrorFilterRuleInput(v *Modify objectKey.String(string(v.RuleAction)) } - if v.RuleNumber != 0 { + if v.RuleNumber != nil { objectKey := object.Key("RuleNumber") - objectKey.Integer(v.RuleNumber) + objectKey.Integer(*v.RuleNumber) } if v.SourceCidrBlock != nil { @@ -43407,14 +43407,14 @@ func awsEc2query_serializeOpDocumentModifyTrafficMirrorSessionInput(v *ModifyTra objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.PacketLength != 0 { + if v.PacketLength != nil { objectKey := object.Key("PacketLength") - objectKey.Integer(v.PacketLength) + objectKey.Integer(*v.PacketLength) } if v.RemoveFields != nil { @@ -43424,9 +43424,9 @@ func awsEc2query_serializeOpDocumentModifyTrafficMirrorSessionInput(v *ModifyTra } } - if v.SessionNumber != 0 { + if v.SessionNumber != nil { objectKey := object.Key("SessionNumber") - objectKey.Integer(v.SessionNumber) + objectKey.Integer(*v.SessionNumber) } if v.TrafficMirrorFilterId != nil { @@ -43444,9 +43444,9 @@ func awsEc2query_serializeOpDocumentModifyTrafficMirrorSessionInput(v *ModifyTra objectKey.String(*v.TrafficMirrorTargetId) } - if v.VirtualNetworkId != 0 { + if v.VirtualNetworkId != nil { objectKey := object.Key("VirtualNetworkId") - objectKey.Integer(v.VirtualNetworkId) + objectKey.Integer(*v.VirtualNetworkId) } return nil @@ -43461,9 +43461,9 @@ func awsEc2query_serializeOpDocumentModifyTransitGatewayInput(v *ModifyTransitGa objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -43485,14 +43485,14 @@ func awsEc2query_serializeOpDocumentModifyTransitGatewayPrefixListReferenceInput object := value.Object() _ = object - if v.Blackhole { + if v.Blackhole != nil { objectKey := object.Key("Blackhole") - objectKey.Boolean(v.Blackhole) + objectKey.Boolean(*v.Blackhole) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrefixListId != nil { @@ -43524,9 +43524,9 @@ func awsEc2query_serializeOpDocumentModifyTransitGatewayVpcAttachmentInput(v *Mo } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Options != nil { @@ -43562,9 +43562,9 @@ func awsEc2query_serializeOpDocumentModifyVolumeAttributeInput(v *ModifyVolumeAt } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VolumeId != nil { @@ -43579,29 +43579,29 @@ func awsEc2query_serializeOpDocumentModifyVolumeInput(v *ModifyVolumeInput, valu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Iops != 0 { + if v.Iops != nil { objectKey := object.Key("Iops") - objectKey.Integer(v.Iops) + objectKey.Integer(*v.Iops) } - if v.MultiAttachEnabled { + if v.MultiAttachEnabled != nil { objectKey := object.Key("MultiAttachEnabled") - objectKey.Boolean(v.MultiAttachEnabled) + objectKey.Boolean(*v.MultiAttachEnabled) } - if v.Size != 0 { + if v.Size != nil { objectKey := object.Key("Size") - objectKey.Integer(v.Size) + objectKey.Integer(*v.Size) } - if v.Throughput != 0 { + if v.Throughput != nil { objectKey := object.Key("Throughput") - objectKey.Integer(v.Throughput) + objectKey.Integer(*v.Throughput) } if v.VolumeId != nil { @@ -43664,9 +43664,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointConnectionNotificationInput objectKey.String(*v.ConnectionNotificationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -43697,9 +43697,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointInput(v *ModifyVpcEndpointI } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PolicyDocument != nil { @@ -43707,9 +43707,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointInput(v *ModifyVpcEndpointI objectKey.String(*v.PolicyDocument) } - if v.PrivateDnsEnabled { + if v.PrivateDnsEnabled != nil { objectKey := object.Key("PrivateDnsEnabled") - objectKey.Boolean(v.PrivateDnsEnabled) + objectKey.Boolean(*v.PrivateDnsEnabled) } if v.RemoveRouteTableIds != nil { @@ -43733,9 +43733,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointInput(v *ModifyVpcEndpointI } } - if v.ResetPolicy { + if v.ResetPolicy != nil { objectKey := object.Key("ResetPolicy") - objectKey.Boolean(v.ResetPolicy) + objectKey.Boolean(*v.ResetPolicy) } if v.VpcEndpointId != nil { @@ -43750,9 +43750,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointServiceConfigurationInput(v object := value.Object() _ = object - if v.AcceptanceRequired { + if v.AcceptanceRequired != nil { objectKey := object.Key("AcceptanceRequired") - objectKey.Boolean(v.AcceptanceRequired) + objectKey.Boolean(*v.AcceptanceRequired) } if v.AddGatewayLoadBalancerArns != nil { @@ -43769,9 +43769,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointServiceConfigurationInput(v } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrivateDnsName != nil { @@ -43793,9 +43793,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointServiceConfigurationInput(v } } - if v.RemovePrivateDnsName { + if v.RemovePrivateDnsName != nil { objectKey := object.Key("RemovePrivateDnsName") - objectKey.Boolean(v.RemovePrivateDnsName) + objectKey.Boolean(*v.RemovePrivateDnsName) } if v.ServiceId != nil { @@ -43817,9 +43817,9 @@ func awsEc2query_serializeOpDocumentModifyVpcEndpointServicePermissionsInput(v * } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RemoveAllowedPrincipals != nil { @@ -43848,9 +43848,9 @@ func awsEc2query_serializeOpDocumentModifyVpcPeeringConnectionOptionsInput(v *Mo } } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RequesterPeeringConnectionOptions != nil { @@ -43872,9 +43872,9 @@ func awsEc2query_serializeOpDocumentModifyVpcTenancyInput(v *ModifyVpcTenancyInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if len(v.InstanceTenancy) > 0 { @@ -43899,9 +43899,9 @@ func awsEc2query_serializeOpDocumentModifyVpnConnectionInput(v *ModifyVpnConnect objectKey.String(*v.CustomerGatewayId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayId != nil { @@ -43926,9 +43926,9 @@ func awsEc2query_serializeOpDocumentModifyVpnConnectionOptionsInput(v *ModifyVpn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.LocalIpv4NetworkCidr != nil { @@ -43963,9 +43963,9 @@ func awsEc2query_serializeOpDocumentModifyVpnTunnelCertificateInput(v *ModifyVpn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpnConnectionId != nil { @@ -43985,9 +43985,9 @@ func awsEc2query_serializeOpDocumentModifyVpnTunnelOptionsInput(v *ModifyVpnTunn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TunnelOptions != nil { @@ -44014,9 +44014,9 @@ func awsEc2query_serializeOpDocumentMonitorInstancesInput(v *MonitorInstancesInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceIds != nil { @@ -44033,9 +44033,9 @@ func awsEc2query_serializeOpDocumentMoveAddressToVpcInput(v *MoveAddressToVpcInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PublicIp != nil { @@ -44067,9 +44067,9 @@ func awsEc2query_serializeOpDocumentProvisionByoipCidrInput(v *ProvisionByoipCid objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PoolTagSpecifications != nil { @@ -44079,9 +44079,9 @@ func awsEc2query_serializeOpDocumentProvisionByoipCidrInput(v *ProvisionByoipCid } } - if v.PubliclyAdvertisable { + if v.PubliclyAdvertisable != nil { objectKey := object.Key("PubliclyAdvertisable") - objectKey.Boolean(v.PubliclyAdvertisable) + objectKey.Boolean(*v.PubliclyAdvertisable) } return nil @@ -44132,14 +44132,14 @@ func awsEc2query_serializeOpDocumentPurchaseReservedInstancesOfferingInput(v *Pu object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if v.LimitPrice != nil { @@ -44171,9 +44171,9 @@ func awsEc2query_serializeOpDocumentPurchaseScheduledInstancesInput(v *PurchaseS objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PurchaseRequests != nil { @@ -44190,9 +44190,9 @@ func awsEc2query_serializeOpDocumentRebootInstancesInput(v *RebootInstancesInput object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceIds != nil { @@ -44238,14 +44238,14 @@ func awsEc2query_serializeOpDocumentRegisterImageInput(v *RegisterImageInput, va objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.EnaSupport { + if v.EnaSupport != nil { objectKey := object.Key("EnaSupport") - objectKey.Boolean(v.EnaSupport) + objectKey.Boolean(*v.EnaSupport) } if v.ImageLocation != nil { @@ -44290,9 +44290,9 @@ func awsEc2query_serializeOpDocumentRegisterInstanceEventNotificationAttributesI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceTagAttribute != nil { @@ -44309,9 +44309,9 @@ func awsEc2query_serializeOpDocumentRegisterTransitGatewayMulticastGroupMembersI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupIpAddress != nil { @@ -44338,9 +44338,9 @@ func awsEc2query_serializeOpDocumentRegisterTransitGatewayMulticastGroupSourcesI object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupIpAddress != nil { @@ -44367,9 +44367,9 @@ func awsEc2query_serializeOpDocumentRejectTransitGatewayMulticastDomainAssociati object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SubnetIds != nil { @@ -44396,9 +44396,9 @@ func awsEc2query_serializeOpDocumentRejectTransitGatewayPeeringAttachmentInput(v object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -44413,9 +44413,9 @@ func awsEc2query_serializeOpDocumentRejectTransitGatewayVpcAttachmentInput(v *Re object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -44430,9 +44430,9 @@ func awsEc2query_serializeOpDocumentRejectVpcEndpointConnectionsInput(v *RejectV object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ServiceId != nil { @@ -44454,9 +44454,9 @@ func awsEc2query_serializeOpDocumentRejectVpcPeeringConnectionInput(v *RejectVpc object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.VpcPeeringConnectionId != nil { @@ -44476,9 +44476,9 @@ func awsEc2query_serializeOpDocumentReleaseAddressInput(v *ReleaseAddressInput, objectKey.String(*v.AllocationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkBorderGroup != nil { @@ -44536,9 +44536,9 @@ func awsEc2query_serializeOpDocumentReplaceNetworkAclAssociationInput(v *Replace objectKey.String(*v.AssociationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkAclId != nil { @@ -44558,14 +44558,14 @@ func awsEc2query_serializeOpDocumentReplaceNetworkAclEntryInput(v *ReplaceNetwor objectKey.String(*v.CidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - { + if v.Egress != nil { objectKey := object.Key("Egress") - objectKey.Boolean(v.Egress) + objectKey.Boolean(*v.Egress) } if v.IcmpTypeCode != nil { @@ -44602,9 +44602,9 @@ func awsEc2query_serializeOpDocumentReplaceNetworkAclEntryInput(v *ReplaceNetwor objectKey.String(string(v.RuleAction)) } - { + if v.RuleNumber != nil { objectKey := object.Key("RuleNumber") - objectKey.Integer(v.RuleNumber) + objectKey.Integer(*v.RuleNumber) } return nil @@ -44634,9 +44634,9 @@ func awsEc2query_serializeOpDocumentReplaceRouteInput(v *ReplaceRouteInput, valu objectKey.String(*v.DestinationPrefixListId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EgressOnlyInternetGatewayId != nil { @@ -44659,9 +44659,9 @@ func awsEc2query_serializeOpDocumentReplaceRouteInput(v *ReplaceRouteInput, valu objectKey.String(*v.LocalGatewayId) } - if v.LocalTarget { + if v.LocalTarget != nil { objectKey := object.Key("LocalTarget") - objectKey.Boolean(v.LocalTarget) + objectKey.Boolean(*v.LocalTarget) } if v.NatGatewayId != nil { @@ -44706,9 +44706,9 @@ func awsEc2query_serializeOpDocumentReplaceRouteTableAssociationInput(v *Replace objectKey.String(*v.AssociationId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.RouteTableId != nil { @@ -44723,9 +44723,9 @@ func awsEc2query_serializeOpDocumentReplaceTransitGatewayRouteInput(v *ReplaceTr object := value.Object() _ = object - if v.Blackhole { + if v.Blackhole != nil { objectKey := object.Key("Blackhole") - objectKey.Boolean(v.Blackhole) + objectKey.Boolean(*v.Blackhole) } if v.DestinationCidrBlock != nil { @@ -44733,9 +44733,9 @@ func awsEc2query_serializeOpDocumentReplaceTransitGatewayRouteInput(v *ReplaceTr objectKey.String(*v.DestinationCidrBlock) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.TransitGatewayAttachmentId != nil { @@ -44760,9 +44760,9 @@ func awsEc2query_serializeOpDocumentReportInstanceStatusInput(v *ReportInstanceS objectKey.String(*v.Description) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.EndTime != nil { @@ -44801,9 +44801,9 @@ func awsEc2query_serializeOpDocumentRequestSpotFleetInput(v *RequestSpotFleetInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SpotFleetRequestConfig != nil { @@ -44825,9 +44825,9 @@ func awsEc2query_serializeOpDocumentRequestSpotInstancesInput(v *RequestSpotInst objectKey.String(*v.AvailabilityZoneGroup) } - if v.BlockDurationMinutes != 0 { + if v.BlockDurationMinutes != nil { objectKey := object.Key("BlockDurationMinutes") - objectKey.Integer(v.BlockDurationMinutes) + objectKey.Integer(*v.BlockDurationMinutes) } if v.ClientToken != nil { @@ -44835,14 +44835,14 @@ func awsEc2query_serializeOpDocumentRequestSpotInstancesInput(v *RequestSpotInst objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if len(v.InstanceInterruptionBehavior) > 0 { @@ -44906,9 +44906,9 @@ func awsEc2query_serializeOpDocumentResetAddressAttributeInput(v *ResetAddressAt objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -44918,9 +44918,9 @@ func awsEc2query_serializeOpDocumentResetEbsDefaultKmsKeyIdInput(v *ResetEbsDefa object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil @@ -44935,9 +44935,9 @@ func awsEc2query_serializeOpDocumentResetFpgaImageAttributeInput(v *ResetFpgaIma objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FpgaImageId != nil { @@ -44957,9 +44957,9 @@ func awsEc2query_serializeOpDocumentResetImageAttributeInput(v *ResetImageAttrib objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ImageId != nil { @@ -44979,9 +44979,9 @@ func awsEc2query_serializeOpDocumentResetInstanceAttributeInput(v *ResetInstance objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -44996,9 +44996,9 @@ func awsEc2query_serializeOpDocumentResetNetworkInterfaceAttributeInput(v *Reset object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.NetworkInterfaceId != nil { @@ -45023,9 +45023,9 @@ func awsEc2query_serializeOpDocumentResetSnapshotAttributeInput(v *ResetSnapshot objectKey.String(string(v.Attribute)) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.SnapshotId != nil { @@ -45040,9 +45040,9 @@ func awsEc2query_serializeOpDocumentRestoreAddressToClassicInput(v *RestoreAddre object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PublicIp != nil { @@ -45057,14 +45057,14 @@ func awsEc2query_serializeOpDocumentRestoreManagedPrefixListVersionInput(v *Rest object := value.Object() _ = object - { + if v.CurrentVersion != nil { objectKey := object.Key("CurrentVersion") - objectKey.Long(v.CurrentVersion) + objectKey.Long(*v.CurrentVersion) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.PrefixListId != nil { @@ -45072,9 +45072,9 @@ func awsEc2query_serializeOpDocumentRestoreManagedPrefixListVersionInput(v *Rest objectKey.String(*v.PrefixListId) } - { + if v.PreviousVersion != nil { objectKey := object.Key("PreviousVersion") - objectKey.Long(v.PreviousVersion) + objectKey.Long(*v.PreviousVersion) } return nil @@ -45094,14 +45094,14 @@ func awsEc2query_serializeOpDocumentRevokeClientVpnIngressInput(v *RevokeClientV objectKey.String(*v.ClientVpnEndpointId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.RevokeAllGroups { + if v.RevokeAllGroups != nil { objectKey := object.Key("RevokeAllGroups") - objectKey.Boolean(v.RevokeAllGroups) + objectKey.Boolean(*v.RevokeAllGroups) } if v.TargetNetworkCidr != nil { @@ -45121,14 +45121,14 @@ func awsEc2query_serializeOpDocumentRevokeSecurityGroupEgressInput(v *RevokeSecu objectKey.String(*v.CidrIp) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.FromPort != 0 { + if v.FromPort != nil { objectKey := object.Key("FromPort") - objectKey.Integer(v.FromPort) + objectKey.Integer(*v.FromPort) } if v.GroupId != nil { @@ -45158,9 +45158,9 @@ func awsEc2query_serializeOpDocumentRevokeSecurityGroupEgressInput(v *RevokeSecu objectKey.String(*v.SourceSecurityGroupOwnerId) } - if v.ToPort != 0 { + if v.ToPort != nil { objectKey := object.Key("ToPort") - objectKey.Integer(v.ToPort) + objectKey.Integer(*v.ToPort) } return nil @@ -45175,14 +45175,14 @@ func awsEc2query_serializeOpDocumentRevokeSecurityGroupIngressInput(v *RevokeSec objectKey.String(*v.CidrIp) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.FromPort != 0 { + if v.FromPort != nil { objectKey := object.Key("FromPort") - objectKey.Integer(v.FromPort) + objectKey.Integer(*v.FromPort) } if v.GroupId != nil { @@ -45217,9 +45217,9 @@ func awsEc2query_serializeOpDocumentRevokeSecurityGroupIngressInput(v *RevokeSec objectKey.String(*v.SourceSecurityGroupOwnerId) } - if v.ToPort != 0 { + if v.ToPort != nil { objectKey := object.Key("ToPort") - objectKey.Integer(v.ToPort) + objectKey.Integer(*v.ToPort) } return nil @@ -45267,19 +45267,19 @@ func awsEc2query_serializeOpDocumentRunInstancesInput(v *RunInstancesInput, valu } } - if v.DisableApiTermination { + if v.DisableApiTermination != nil { objectKey := object.Key("DisableApiTermination") - objectKey.Boolean(v.DisableApiTermination) + objectKey.Boolean(*v.DisableApiTermination) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.EbsOptimized { + if v.EbsOptimized != nil { objectKey := object.Key("EbsOptimized") - objectKey.Boolean(v.EbsOptimized) + objectKey.Boolean(*v.EbsOptimized) } if v.ElasticGpuSpecification != nil { @@ -45339,9 +45339,9 @@ func awsEc2query_serializeOpDocumentRunInstancesInput(v *RunInstancesInput, valu objectKey.String(string(v.InstanceType)) } - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { objectKey := object.Key("Ipv6AddressCount") - objectKey.Integer(v.Ipv6AddressCount) + objectKey.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -45375,9 +45375,9 @@ func awsEc2query_serializeOpDocumentRunInstancesInput(v *RunInstancesInput, valu } } - { + if v.MaxCount != nil { objectKey := object.Key("MaxCount") - objectKey.Integer(v.MaxCount) + objectKey.Integer(*v.MaxCount) } if v.MetadataOptions != nil { @@ -45387,9 +45387,9 @@ func awsEc2query_serializeOpDocumentRunInstancesInput(v *RunInstancesInput, valu } } - { + if v.MinCount != nil { objectKey := object.Key("MinCount") - objectKey.Integer(v.MinCount) + objectKey.Integer(*v.MinCount) } if v.Monitoring != nil { @@ -45466,14 +45466,14 @@ func awsEc2query_serializeOpDocumentRunScheduledInstancesInput(v *RunScheduledIn objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { objectKey := object.Key("InstanceCount") - objectKey.Integer(v.InstanceCount) + objectKey.Integer(*v.InstanceCount) } if v.LaunchSpecification != nil { @@ -45495,9 +45495,9 @@ func awsEc2query_serializeOpDocumentSearchLocalGatewayRoutesInput(v *SearchLocal object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -45529,9 +45529,9 @@ func awsEc2query_serializeOpDocumentSearchTransitGatewayMulticastGroupsInput(v * object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -45541,9 +45541,9 @@ func awsEc2query_serializeOpDocumentSearchTransitGatewayMulticastGroupsInput(v * } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -45563,9 +45563,9 @@ func awsEc2query_serializeOpDocumentSearchTransitGatewayRoutesInput(v *SearchTra object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Filters != nil { @@ -45575,9 +45575,9 @@ func awsEc2query_serializeOpDocumentSearchTransitGatewayRoutesInput(v *SearchTra } } - if v.MaxResults != 0 { + if v.MaxResults != nil { objectKey := object.Key("MaxResults") - objectKey.Integer(v.MaxResults) + objectKey.Integer(*v.MaxResults) } if v.TransitGatewayRouteTableId != nil { @@ -45592,9 +45592,9 @@ func awsEc2query_serializeOpDocumentSendDiagnosticInterruptInput(v *SendDiagnost object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceId != nil { @@ -45614,9 +45614,9 @@ func awsEc2query_serializeOpDocumentStartInstancesInput(v *StartInstancesInput, objectKey.String(*v.AdditionalInfo) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceIds != nil { @@ -45638,9 +45638,9 @@ func awsEc2query_serializeOpDocumentStartNetworkInsightsAnalysisInput(v *StartNe objectKey.String(*v.ClientToken) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.FilterInArns != nil { @@ -45669,9 +45669,9 @@ func awsEc2query_serializeOpDocumentStartVpcEndpointServicePrivateDnsVerificatio object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.ServiceId != nil { @@ -45686,19 +45686,19 @@ func awsEc2query_serializeOpDocumentStopInstancesInput(v *StopInstancesInput, va object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } - if v.Hibernate { + if v.Hibernate != nil { objectKey := object.Key("Hibernate") - objectKey.Boolean(v.Hibernate) + objectKey.Boolean(*v.Hibernate) } if v.InstanceIds != nil { @@ -45725,9 +45725,9 @@ func awsEc2query_serializeOpDocumentTerminateClientVpnConnectionsInput(v *Termin objectKey.String(*v.ConnectionId) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.Username != nil { @@ -45742,9 +45742,9 @@ func awsEc2query_serializeOpDocumentTerminateInstancesInput(v *TerminateInstance object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceIds != nil { @@ -45799,9 +45799,9 @@ func awsEc2query_serializeOpDocumentUnmonitorInstancesInput(v *UnmonitorInstance object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.InstanceIds != nil { @@ -45818,9 +45818,9 @@ func awsEc2query_serializeOpDocumentUpdateSecurityGroupRuleDescriptionsEgressInp object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupId != nil { @@ -45847,9 +45847,9 @@ func awsEc2query_serializeOpDocumentUpdateSecurityGroupRuleDescriptionsIngressIn object := value.Object() _ = object - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } if v.GroupId != nil { @@ -45881,9 +45881,9 @@ func awsEc2query_serializeOpDocumentWithdrawByoipCidrInput(v *WithdrawByoipCidrI objectKey.String(*v.Cidr) } - if v.DryRun { + if v.DryRun != nil { objectKey := object.Key("DryRun") - objectKey.Boolean(v.DryRun) + objectKey.Boolean(*v.DryRun) } return nil diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index b1d67756ae8..e9d3ce2b3d3 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -146,7 +146,7 @@ type AnalysisAclRule struct { Cidr *string // Indicates whether the rule is an outbound rule. - Egress bool + Egress *bool // The range of ports. PortRange *PortRange @@ -158,7 +158,7 @@ type AnalysisAclRule struct { RuleAction *string // The rule number. - RuleNumber int32 + RuleNumber *int32 } // Describes a path component. @@ -175,10 +175,10 @@ type AnalysisComponent struct { type AnalysisLoadBalancerListener struct { // [Classic Load Balancers] The back-end port for the listener. - InstancePort int32 + InstancePort *int32 // The port on which the load balancer is listening. - LoadBalancerPort int32 + LoadBalancerPort *int32 } // Describes a load balancer target. @@ -194,7 +194,7 @@ type AnalysisLoadBalancerTarget struct { Instance *AnalysisComponent // The port on which the target is listening. - Port int32 + Port *int32 } // Describes a header. Reflects any changes made by a component as traffic passes @@ -357,7 +357,7 @@ type AthenaIntegration struct { type AttributeBooleanValue struct { // The attribute value. The valid values are true or false. - Value bool + Value *bool } // Describes a value for a resource attribute that is a String. @@ -371,7 +371,7 @@ type AttributeValue struct { type AuthorizationRule struct { // Indicates whether the authorization rule grants access to all clients. - AccessAll bool + AccessAll *bool // The ID of the Client VPN endpoint with which the authorization rule is // associated. @@ -455,7 +455,7 @@ type AvailableCapacity struct { AvailableInstanceCapacity []InstanceCapacity // The number of vCPUs available for launching instances onto the Dedicated Host. - AvailableVCpus int32 + AvailableVCpus *int32 } type BlobAttributeValue struct { @@ -598,7 +598,7 @@ type CapacityReservation struct { // The remaining capacity. Indicates the number of instances that can be launched // in the Capacity Reservation. - AvailableInstanceCount int32 + AvailableInstanceCount *int32 // The Amazon Resource Name (ARN) of the Capacity Reservation. CapacityReservationArn *string @@ -614,7 +614,7 @@ type CapacityReservation struct { // configuration stack to provide optimal I/O performance. This optimization isn't // available with all instance types. Additional usage charges apply when using an // EBS- optimized instance. - EbsOptimized bool + EbsOptimized *bool // The date and time at which the Capacity Reservation expires. When a Capacity // Reservation expires, the reserved capacity is released and you can no longer @@ -634,7 +634,7 @@ type CapacityReservation struct { // Indicates whether the Capacity Reservation supports instances with temporary, // block-level storage. - EphemeralStorage bool + EphemeralStorage *bool // Indicates the type of instance launches that the Capacity Reservation accepts. // The options include: @@ -703,7 +703,7 @@ type CapacityReservation struct { // The total number of instances for which the Capacity Reservation reserves // capacity. - TotalInstanceCount int32 + TotalInstanceCount *int32 } // Describes a resource group to which a Capacity Reservation has been added. @@ -898,7 +898,7 @@ type CidrBlock struct { type ClassicLinkDnsSupport struct { // Indicates whether ClassicLink DNS support is enabled for the VPC. - ClassicLinkDnsSupported bool + ClassicLinkDnsSupported *bool // The ID of the VPC. VpcId *string @@ -951,7 +951,7 @@ type ClientConnectOptions struct { // Indicates whether client connect options are enabled. The default is false (not // enabled). - Enabled bool + Enabled *bool // The Amazon Resource Name (ARN) of the AWS Lambda function used for connection // authorization. @@ -962,7 +962,7 @@ type ClientConnectOptions struct { type ClientConnectResponseOptions struct { // Indicates whether client connect options are enabled. - Enabled bool + Enabled *bool // The Amazon Resource Name (ARN) of the AWS Lambda function used for connection // authorization. @@ -982,7 +982,7 @@ type ClientData struct { UploadEnd *time.Time // The size of the uploaded disk image, in GiB. - UploadSize float64 + UploadSize *float64 // The time that the disk upload starts. UploadStart *time.Time @@ -1155,7 +1155,7 @@ type ClientVpnEndpoint struct { // Endpoint // (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) // in the AWS Client VPN Administrator Guide. - SplitTunnel bool + SplitTunnel *bool // The current state of the Client VPN endpoint. Status *ClientVpnEndpointStatus @@ -1170,7 +1170,7 @@ type ClientVpnEndpoint struct { VpcId *string // The port number for the Client VPN endpoint. - VpnPort int32 + VpnPort *int32 // The protocol used by the VPN session. VpnProtocol VpnProtocol @@ -1296,7 +1296,7 @@ type ConnectionLogOptions struct { CloudwatchLogStream *string // Indicates whether connection logging is enabled. - Enabled bool + Enabled *bool } // Information about the client connection logging options for a Client VPN @@ -1313,7 +1313,7 @@ type ConnectionLogResponseOptions struct { // Indicates whether client connection logging is enabled for the Client VPN // endpoint. - Enabled bool + Enabled *bool } // Describes a connection notification for a VPC endpoint or VPC endpoint service. @@ -1374,10 +1374,10 @@ type ConversionTask struct { type CpuOptions struct { // The number of CPU cores for the instance. - CoreCount int32 + CoreCount *int32 // The number of threads per CPU core. - ThreadsPerCore int32 + ThreadsPerCore *int32 } // The CPU options for the instance. Both the core count and threads per core must @@ -1385,11 +1385,11 @@ type CpuOptions struct { type CpuOptionsRequest struct { // The number of CPU cores for the instance. - CoreCount int32 + CoreCount *int32 // The number of threads per CPU core. To disable multithreading for the instance, // specify a value of 1. Otherwise, specify the default value of 2. - ThreadsPerCore int32 + ThreadsPerCore *int32 } // Describes the instances that could not be launched by the fleet. @@ -1592,7 +1592,7 @@ type DeleteLaunchTemplateVersionsResponseErrorItem struct { ResponseError *ResponseError // The version number of the launch template. - VersionNumber int64 + VersionNumber *int64 } // Describes a launch template version that was successfully deleted. @@ -1605,7 +1605,7 @@ type DeleteLaunchTemplateVersionsResponseSuccessItem struct { LaunchTemplateName *string // The version number of the launch template. - VersionNumber int64 + VersionNumber *int64 } // Describes the error for a Reserved Instance whose queued purchase could not be @@ -1627,7 +1627,7 @@ type DeregisterInstanceTagAttributeRequest struct { // Indicates whether to deregister all tag keys in the current Region. Specify // false to deregister all tag keys. - IncludeAllTagsOfInstance bool + IncludeAllTagsOfInstance *bool // Information about the tag keys to deregister. InstanceTagKeys []string @@ -1872,7 +1872,7 @@ type DiskImageDescription struct { ImportManifestUrl *string // The size of the disk image, in GiB. - Size int64 + Size *int64 } // Describes a disk image. @@ -1881,7 +1881,7 @@ type DiskImageDetail struct { // The size of the disk image, in GiB. // // This member is required. - Bytes int64 + Bytes *int64 // The disk image format. // @@ -1908,7 +1908,7 @@ type DiskImageVolumeDescription struct { Id *string // The size of the volume, in GiB. - Size int64 + Size *int64 } // Describes the disk. @@ -1944,7 +1944,7 @@ type DnsServersOptionsModifyStructure struct { // Indicates whether DNS servers should be used. Specify False to delete the // existing DNS servers. - Enabled bool + Enabled *bool } // Describes a block device for an EBS volume. @@ -1954,7 +1954,7 @@ type EbsBlockDevice struct { // information, see Preserving Amazon EBS volumes on instance termination // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) // in the Amazon EC2 User Guide. - DeleteOnTermination bool + DeleteOnTermination *bool // Indicates whether the encryption state of an EBS volume is changed while being // restored from a backing snapshot. The effect of setting the encryption state to @@ -1968,7 +1968,7 @@ type EbsBlockDevice struct { // types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances). // This parameter is not returned by . - Encrypted bool + Encrypted *bool // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, // this represents the number of IOPS that are provisioned for the volume. For gp2 @@ -1989,7 +1989,7 @@ type EbsBlockDevice struct { // Other instance families guarantee performance up to 32,000 IOPS. This parameter // is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS. // This parameter is not supported for gp2, st1, sc1, or standard volumes. - Iops int32 + Iops *int32 // Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK // under which the EBS volume is encrypted. This parameter is only supported on @@ -2009,7 +2009,7 @@ type EbsBlockDevice struct { // The throughput that the volume supports, in MiB/s. This parameter is valid only // for gp3 volumes. Valid Range: Minimum value of 125. Maximum value of 1000. - Throughput int32 + Throughput *int32 // The size of the volume, in GiBs. You must specify either a snapshot ID or a // volume size. If you specify a snapshot, the default is the snapshot size. You @@ -2025,7 +2025,7 @@ type EbsBlockDevice struct { // // * standard: // 1-1,024 - VolumeSize int32 + VolumeSize *int32 // The volume type. For more information, see Amazon EBS volume types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the @@ -2060,7 +2060,7 @@ type EbsInstanceBlockDevice struct { AttachTime *time.Time // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // The attachment state. Status AttachmentStatus @@ -2074,7 +2074,7 @@ type EbsInstanceBlockDevice struct { type EbsInstanceBlockDeviceSpecification struct { // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // The ID of the EBS volume. VolumeId *string @@ -2205,7 +2205,7 @@ type ElasticInferenceAccelerator struct { // The number of elastic inference accelerators to attach to the instance. Default: // 1 - Count int32 + Count *int32 } // Describes the association between an instance and an elastic inference @@ -2308,7 +2308,7 @@ type EnclaveOptions struct { // If this parameter is set to true, the instance is enabled for AWS Nitro // Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves. - Enabled bool + Enabled *bool } // Indicates whether the instance is enabled for AWS Nitro Enclaves. For more @@ -2318,7 +2318,7 @@ type EnclaveOptions struct { type EnclaveOptionsRequest struct { // To enable the instance for AWS Nitro Enclaves, set this parameter to true. - Enabled bool + Enabled *bool } // Describes an EC2 Fleet or Spot Fleet event. @@ -2471,7 +2471,7 @@ type Explanation struct { LoadBalancerArn *string // The listener port of the load balancer. - LoadBalancerListenerPort int32 + LoadBalancerListenerPort *int32 // The target. LoadBalancerTarget *AnalysisLoadBalancerTarget @@ -2483,7 +2483,7 @@ type Explanation struct { LoadBalancerTargetGroups []AnalysisComponent // The target port. - LoadBalancerTargetPort int32 + LoadBalancerTargetPort *int32 // The missing component. MissingComponent *string @@ -2498,7 +2498,7 @@ type Explanation struct { PacketField *string // The port. - Port int32 + Port *int32 // The port ranges. PortRanges []PortRange @@ -2746,11 +2746,11 @@ type FleetData struct { // The number of units fulfilled by this request compared to the set target // capacity. - FulfilledCapacity float64 + FulfilledCapacity *float64 // The number of units fulfilled by this request compared to the set target // On-Demand capacity. - FulfilledOnDemandCapacity float64 + FulfilledOnDemandCapacity *float64 // Information about the instances that were launched by the fleet. Valid only when // Type is set to instant. @@ -2767,7 +2767,7 @@ type FleetData struct { // checks // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) // in the Amazon EC2 User Guide. - ReplaceUnhealthyInstances bool + ReplaceUnhealthyInstances *bool // The configuration of Spot Instances in an EC2 Fleet. SpotOptions *SpotOptions @@ -2783,7 +2783,7 @@ type FleetData struct { // Indicates whether running instances should be terminated when the EC2 Fleet // expires. - TerminateInstancesWithExpiration bool + TerminateInstancesWithExpiration *bool // The type of request. Indicates whether the EC2 Fleet only requests the target // capacity, or also attempts to maintain it. If you request a certain target @@ -2856,13 +2856,13 @@ type FleetLaunchTemplateOverrides struct { // The lower the number, the higher the priority. If no number is set, the override // has the lowest priority. You can set the same priority for different launch // template overrides. - Priority float64 + Priority *float64 // The ID of the subnet in which to launch the instances. SubnetId *string // The number of units provided by the specified instance type. - WeightedCapacity float64 + WeightedCapacity *float64 } // Describes overrides for a launch template. @@ -2890,7 +2890,7 @@ type FleetLaunchTemplateOverridesRequest struct { // The lower the number, the higher the priority. If no number is set, the launch // template override has the lowest priority. You can set the same priority for // different launch template overrides. - Priority float64 + Priority *float64 // The IDs of the subnets in which to launch the instances. Separate multiple // subnet IDs using commas (for example, subnet-1234abcdeexample1, @@ -2899,7 +2899,7 @@ type FleetLaunchTemplateOverridesRequest struct { SubnetId *string // The number of units provided by the specified instance type. - WeightedCapacity float64 + WeightedCapacity *float64 } // Describes the Amazon EC2 launch template and the launch template version that @@ -3045,7 +3045,7 @@ type FlowLog struct { // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances), // the aggregation interval is always 60 seconds (1 minute) or less, regardless of // the specified value. Valid Values: 60 | 600 - MaxAggregationInterval int32 + MaxAggregationInterval *int32 // The ID of the resource on which the flow log was created. ResourceId *string @@ -3087,7 +3087,7 @@ type FpgaImage struct { CreateTime *time.Time // Indicates whether data retention support is enabled for the AFI. - DataRetentionSupport bool + DataRetentionSupport *bool // The description of the AFI. Description *string @@ -3115,7 +3115,7 @@ type FpgaImage struct { ProductCodes []ProductCode // Indicates whether the AFI is public. - Public bool + Public *bool // The version of the AWS Shell that was used to create the bitstream. ShellVersion *string @@ -3235,7 +3235,7 @@ type HibernationOptions struct { // If this parameter is set to true, your instance is enabled for hibernation; // otherwise, it is not enabled for hibernation. - Configured bool + Configured *bool } // Indicates whether your instance is configured for hibernation. This parameter is @@ -3248,7 +3248,7 @@ type HibernationOptionsRequest struct { // If you set this parameter to true, your instance is enabled for hibernation. // Default: false - Configured bool + Configured *bool } // Describes an event in the history of the Spot Fleet request. @@ -3338,7 +3338,7 @@ type Host struct { // Indicates whether the Dedicated Host is in a host resource group. If // memberOfServiceLinkedResourceGroup is true, the host is in a host resource // group; otherwise, it is not. - MemberOfServiceLinkedResourceGroup bool + MemberOfServiceLinkedResourceGroup *bool // The ID of the AWS account that owns the Dedicated Host. OwnerId *string @@ -3373,7 +3373,7 @@ type HostOffering struct { CurrencyCode CurrencyCodeValues // The duration of the offering (in seconds). - Duration int32 + Duration *int32 // The hourly price of the offering. HourlyPrice *string @@ -3395,7 +3395,7 @@ type HostOffering struct { type HostProperties struct { // The number of cores on the Dedicated Host. - Cores int32 + Cores *int32 // The instance family supported by the Dedicated Host. For example, m5. InstanceFamily *string @@ -3405,17 +3405,17 @@ type HostProperties struct { InstanceType *string // The number of sockets on the Dedicated Host. - Sockets int32 + Sockets *int32 // The total number of vCPUs on the Dedicated Host. - TotalVCpus int32 + TotalVCpus *int32 } // Details about the Dedicated Host Reservation and associated Dedicated Hosts. type HostReservation struct { // The number of Dedicated Hosts the reservation is associated with. - Count int32 + Count *int32 // The currency in which the upfrontPrice and hourlyPrice amounts are specified. At // this time, the only supported currency is USD. @@ -3423,7 +3423,7 @@ type HostReservation struct { // The length of the reservation's term, specified in seconds. Can be 31536000 (1 // year) | 94608000 (3 years). - Duration int32 + Duration *int32 // The date and time that the reservation ends. End *time.Time @@ -3505,10 +3505,10 @@ type IamInstanceProfileSpecification struct { type IcmpTypeCode struct { // The ICMP code. A value of -1 means all codes for the specified ICMP type. - Code int32 + Code *int32 // The ICMP type. A value of -1 means all types. - Type int32 + Type *int32 } // Describes the ID format for a resource. @@ -3523,7 +3523,7 @@ type IdFormat struct { Resource *string // Indicates whether longer IDs (17-character IDs) are enabled for the resource. - UseLongIds bool + UseLongIds *bool } // The internet key exchange (IKE) version permitted for the VPN tunnel. @@ -3561,7 +3561,7 @@ type Image struct { Description *string // Specifies whether enhanced networking with ENA is enabled. - EnaSupport bool + EnaSupport *bool // The hypervisor type of the image. Hypervisor HypervisorType @@ -3604,7 +3604,7 @@ type Image struct { // Indicates whether the image has public launch permissions. The value is true if // this image has public launch permissions or false if it has only implicit and // explicit launch permissions. - Public bool + Public *bool // The RAM disk associated with the image, if any. Only applicable for machine // images. @@ -3694,7 +3694,7 @@ type ImportImageTask struct { Description *string // Indicates whether the image is encrypted. - Encrypted bool + Encrypted *bool // The target hypervisor for the import task. Valid values: xen Hypervisor *string @@ -3761,7 +3761,7 @@ type ImportInstanceLaunchSpecification struct { InstanceType InstanceType // Indicates whether monitoring is enabled. - Monitoring bool + Monitoring *bool // The placement information for the instance. Placement *Placement @@ -3799,7 +3799,7 @@ type ImportInstanceVolumeDetailItem struct { AvailabilityZone *string // The number of bytes converted so far. - BytesConverted int64 + BytesConverted *int64 // A description of the task. Description *string @@ -3840,7 +3840,7 @@ type ImportVolumeTaskDetails struct { AvailabilityZone *string // The number of bytes converted so far. - BytesConverted int64 + BytesConverted *int64 // The description you provided when starting the import volume task. Description *string @@ -3877,7 +3877,7 @@ type Instance struct { // The AMI launch index, which can be used to find this instance in the launch // group. - AmiLaunchIndex int32 + AmiLaunchIndex *int32 // The architecture of the image. Architecture ArchitectureValues @@ -3908,7 +3908,7 @@ type Instance struct { // configuration stack to provide optimal I/O performance. This optimization isn't // available with all instance types. Additional usage charges apply when using an // EBS Optimized instance. - EbsOptimized bool + EbsOptimized *bool // The Elastic GPU associated with the instance. ElasticGpuAssociations []ElasticGpuAssociation @@ -3917,7 +3917,7 @@ type Instance struct { ElasticInferenceAcceleratorAssociations []ElasticInferenceAcceleratorAssociation // Specifies whether enhanced networking with ENA is enabled. - EnaSupport bool + EnaSupport *bool // Indicates whether the instance is enabled for AWS Nitro Enclaves. EnclaveOptions *EnclaveOptions @@ -4014,7 +4014,7 @@ type Instance struct { SecurityGroups []GroupIdentifier // Indicates whether source/destination checking is enabled. - SourceDestCheck bool + SourceDestCheck *bool // If the request is a Spot Instance request, the ID of the request. SpotInstanceRequestId *string @@ -4079,21 +4079,21 @@ type InstanceCapacity struct { // The number of instances that can be launched onto the Dedicated Host based on // the host's available capacity. - AvailableCapacity int32 + AvailableCapacity *int32 // The instance type supported by the Dedicated Host. InstanceType *string // The total number of instances that can be launched onto the Dedicated Host if // there are no instances running on it. - TotalCapacity int32 + TotalCapacity *int32 } // Describes a Reserved Instance listing state. type InstanceCount struct { // The number of listed Reserved Instances in the state specified by the state. - InstanceCount int32 + InstanceCount *int32 // The states of the listed Reserved Instances. State ListingState @@ -4178,7 +4178,7 @@ type InstanceMetadataOptionsRequest struct { // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. Default: 1 // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. If the parameter // is not specified in the request, the default state is optional. If the state is @@ -4204,7 +4204,7 @@ type InstanceMetadataOptionsResponse struct { // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. Default: 1 // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. If the parameter // is not specified in the request, the default state is optional. If the state is @@ -4276,7 +4276,7 @@ type InstanceNetworkInterface struct { PrivateIpAddresses []InstancePrivateIpAddress // Indicates whether source/destination checking is enabled. - SourceDestCheck bool + SourceDestCheck *bool // The status of the network interface. Status NetworkInterfaceStatus @@ -4315,13 +4315,13 @@ type InstanceNetworkInterfaceAttachment struct { // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // The index of the device on the instance for the network interface attachment. - DeviceIndex int32 + DeviceIndex *int32 // The index of the network card. - NetworkCardIndex int32 + NetworkCardIndex *int32 // The attachment state. Status AttachmentStatus @@ -4334,19 +4334,19 @@ type InstanceNetworkInterfaceSpecification struct { // can only assign a carrier IP address to a network interface that is in a subnet // in a Wavelength Zone. For more information about carrier IP addresses, see // Carrier IP addresses in the AWS Wavelength Developer Guide. - AssociateCarrierIpAddress bool + AssociateCarrierIpAddress *bool // Indicates whether to assign a public IPv4 address to an instance you launch in a // VPC. The public IP address can only be assigned to a network interface for eth0, // and can only be assigned to a new network interface, not an existing one. You // cannot specify more than one network interface in the request. If launching into // a default subnet, the default value is true. - AssociatePublicIpAddress bool + AssociatePublicIpAddress *bool // If set to true, the interface is deleted when the instance is terminated. You // can specify true only if creating a new network interface when launching an // instance. - DeleteOnTermination bool + DeleteOnTermination *bool // The description of the network interface. Applies only if creating a network // interface when launching an instance. @@ -4355,7 +4355,7 @@ type InstanceNetworkInterfaceSpecification struct { // The position of the network interface in the attachment order. A primary network // interface has a device index of 0. If you specify a network interface when // launching an instance, you must specify the device index. - DeviceIndex int32 + DeviceIndex *int32 // The IDs of the security groups for the network interface. Applies only if // creating a network interface when launching an instance. @@ -4373,7 +4373,7 @@ type InstanceNetworkInterfaceSpecification struct { // option and the option to assign specific IPv6 addresses in the same request. You // can specify this option if you've specified a minimum number of instances to // launch. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // One or more IPv6 addresses to assign to the network interface. You cannot // specify this option and the option to assign a number of IPv6 addresses in the @@ -4384,7 +4384,7 @@ type InstanceNetworkInterfaceSpecification struct { // The index of the network card. Some instance types support multiple network // cards. The primary network interface must be assigned to network card index 0. // The default is network card index 0. - NetworkCardIndex int32 + NetworkCardIndex *int32 // The ID of the network interface. If you are creating a Spot Fleet, omit this // parameter because you can’t specify a network interface ID in a launch @@ -4411,7 +4411,7 @@ type InstanceNetworkInterfaceSpecification struct { // instance in a RunInstances // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) // request. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 // The ID of the subnet associated with the network interface. Applies only if // creating a network interface when launching an instance. @@ -4426,7 +4426,7 @@ type InstancePrivateIpAddress struct { // Indicates whether this IPv4 address is the primary private IP address of the // network interface. - Primary bool + Primary *bool // The private IPv4 DNS name. PrivateDnsName *string @@ -4439,7 +4439,7 @@ type InstancePrivateIpAddress struct { type InstanceSpecification struct { // Excludes the root volume from being snapshotted. - ExcludeBootVolume bool + ExcludeBootVolume *bool // The instance to specify which volumes should be snapshotted. InstanceId *string @@ -4471,7 +4471,7 @@ type InstanceState struct { // // You can ignore the high byte value by zeroing out all of the bits above // 2^8 or 256 in decimal. - Code int32 + Code *int32 // The current state of the instance. Name InstanceStateName @@ -4587,7 +4587,7 @@ type InstanceTagNotificationAttribute struct { // Indicates wheter all tag keys in the current Region are registered to appear in // scheduled event notifications. true indicates that all tag keys in the current // Region are registered. - IncludeAllTagsOfInstance bool + IncludeAllTagsOfInstance *bool // The registered tag keys. InstanceTagKeys []string @@ -4698,7 +4698,7 @@ type InstanceUsage struct { // The number of instances the AWS account currently has in the Capacity // Reservation. - UsedInstanceCount int32 + UsedInstanceCount *int32 } // Describes service integrations with VPC Flow logs. @@ -4742,7 +4742,7 @@ type IpPermission struct { // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type // number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all // ICMP/ICMPv6 types, you must specify all codes. - FromPort int32 + FromPort *int32 // The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers // (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). [VPC @@ -4765,7 +4765,7 @@ type IpPermission struct { // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A // value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 // types, you must specify all codes. - ToPort int32 + ToPort *int32 // The security group and AWS account ID pairs. UserIdGroupPairs []UserIdGroupPair @@ -4894,7 +4894,7 @@ type LaunchSpecification struct { // to provide optimal EBS I/O performance. This optimization isn't available with // all instance types. Additional usage charges apply when using an EBS Optimized // instance. Default: false - EbsOptimized bool + EbsOptimized *bool // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification @@ -4946,10 +4946,10 @@ type LaunchTemplate struct { CreatedBy *string // The version number of the default version of the launch template. - DefaultVersionNumber int64 + DefaultVersionNumber *int64 // The version number of the latest version of the launch template. - LatestVersionNumber int64 + LatestVersionNumber *int64 // The ID of the launch template. LaunchTemplateId *string @@ -5065,10 +5065,10 @@ type LaunchTemplateConfig struct { type LaunchTemplateCpuOptions struct { // The number of CPU cores for the instance. - CoreCount int32 + CoreCount *int32 // The number of threads per CPU core. - ThreadsPerCore int32 + ThreadsPerCore *int32 } // The CPU options for the instance. Both the core count and threads per core must @@ -5076,24 +5076,24 @@ type LaunchTemplateCpuOptions struct { type LaunchTemplateCpuOptionsRequest struct { // The number of CPU cores for the instance. - CoreCount int32 + CoreCount *int32 // The number of threads per CPU core. To disable multithreading for the instance, // specify a value of 1. Otherwise, specify the default value of 2. - ThreadsPerCore int32 + ThreadsPerCore *int32 } // Describes a block device for an EBS volume. type LaunchTemplateEbsBlockDevice struct { // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // Indicates whether the EBS volume is encrypted. - Encrypted bool + Encrypted *bool // The number of I/O operations per second (IOPS) that the volume supports. - Iops int32 + Iops *int32 // The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. KmsKeyId *string @@ -5102,10 +5102,10 @@ type LaunchTemplateEbsBlockDevice struct { SnapshotId *string // The throughput that the volume supports, in MiB/s. - Throughput int32 + Throughput *int32 // The size of the volume, in GiB. - VolumeSize int32 + VolumeSize *int32 // The volume type. VolumeType VolumeType @@ -5115,12 +5115,12 @@ type LaunchTemplateEbsBlockDevice struct { type LaunchTemplateEbsBlockDeviceRequest struct { // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // Indicates whether the EBS volume is encrypted. Encrypted volumes can only be // attached to instances that support Amazon EBS encryption. If you are creating a // volume from a snapshot, you can't specify an encryption value. - Encrypted bool + Encrypted *bool // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, // this represents the number of IOPS that are provisioned for the volume. For gp2 @@ -5141,7 +5141,7 @@ type LaunchTemplateEbsBlockDeviceRequest struct { // Other instance families guarantee performance up to 32,000 IOPS. This parameter // is supported for io1, io2, and gp3 volumes only. This parameter is not supported // for gp2, st1, sc1, or standard volumes. - Iops int32 + Iops *int32 // The ARN of the symmetric AWS Key Management Service (AWS KMS) CMK used for // encryption. @@ -5152,7 +5152,7 @@ type LaunchTemplateEbsBlockDeviceRequest struct { // The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s. // Valid Range: Minimum value of 125. Maximum value of 1000. - Throughput int32 + Throughput *int32 // The size of the volume, in GiBs. You must specify either a snapshot ID or a // volume size. The following are the supported volumes sizes for each volume @@ -5166,7 +5166,7 @@ type LaunchTemplateEbsBlockDeviceRequest struct { // 125-16,384 // // * standard: 1-1,024 - VolumeSize int32 + VolumeSize *int32 // The volume type. For more information, see Amazon EBS volume types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the @@ -5185,7 +5185,7 @@ type LaunchTemplateElasticInferenceAccelerator struct { // The number of elastic inference accelerators to attach to the instance. Default: // 1 - Count int32 + Count *int32 } // Describes an elastic inference accelerator. @@ -5193,7 +5193,7 @@ type LaunchTemplateElasticInferenceAcceleratorResponse struct { // The number of elastic inference accelerators to attach to the instance. Default: // 1 - Count int32 + Count *int32 // The type of elastic inference accelerator. The possible values are eia1.medium, // eia1.large, and eia1.xlarge. @@ -5205,7 +5205,7 @@ type LaunchTemplateEnclaveOptions struct { // If this parameter is set to true, the instance is enabled for AWS Nitro // Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves. - Enabled bool + Enabled *bool } // Indicates whether the instance is enabled for AWS Nitro Enclaves. For more @@ -5215,7 +5215,7 @@ type LaunchTemplateEnclaveOptions struct { type LaunchTemplateEnclaveOptionsRequest struct { // To enable the instance for AWS Nitro Enclaves, set this parameter to true. - Enabled bool + Enabled *bool } // Indicates whether an instance is configured for hibernation. @@ -5223,7 +5223,7 @@ type LaunchTemplateHibernationOptions struct { // If this parameter is set to true, the instance is enabled for hibernation; // otherwise, it is not enabled for hibernation. - Configured bool + Configured *bool } // Indicates whether the instance is configured for hibernation. This parameter is @@ -5233,7 +5233,7 @@ type LaunchTemplateHibernationOptionsRequest struct { // If you set this parameter to true, the instance is enabled for hibernation. // Default: false - Configured bool + Configured *bool } // Describes an IAM instance profile. @@ -5290,7 +5290,7 @@ type LaunchTemplateInstanceMetadataOptions struct { // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. Default: 1 // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. If the parameter // is not specified in the request, the default state is optional. If the state is @@ -5325,7 +5325,7 @@ type LaunchTemplateInstanceMetadataOptionsRequest struct { // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. Default: 1 // Possible values: Integers from 1 to 64 - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. If the parameter // is not specified in the request, the default state is optional. If the state is @@ -5349,21 +5349,21 @@ type LaunchTemplateInstanceNetworkInterfaceSpecification struct { // information about Carrier IP addresses, see Carrier IP addresses // (https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) // in the AWS Wavelength Developer Guide. - AssociateCarrierIpAddress bool + AssociateCarrierIpAddress *bool // Indicates whether to associate a public IPv4 address with eth0 for a new network // interface. - AssociatePublicIpAddress bool + AssociatePublicIpAddress *bool // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // A description for the network interface. Description *string // The device index for the network interface attachment. - DeviceIndex int32 + DeviceIndex *int32 // The IDs of one or more security groups. Groups []string @@ -5372,13 +5372,13 @@ type LaunchTemplateInstanceNetworkInterfaceSpecification struct { InterfaceType *string // The number of IPv6 addresses for the network interface. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // The IPv6 addresses for the network interface. Ipv6Addresses []InstanceIpv6Address // The index of the network card. - NetworkCardIndex int32 + NetworkCardIndex *int32 // The ID of the network interface. NetworkInterfaceId *string @@ -5390,7 +5390,7 @@ type LaunchTemplateInstanceNetworkInterfaceSpecification struct { PrivateIpAddresses []PrivateIpAddressSpecification // The number of secondary private IPv4 addresses for the network interface. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 // The ID of the subnet for the network interface. SubnetId *string @@ -5405,20 +5405,20 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { // Carrier IP addresses, see Carrier IP addresses // (https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) // in the AWS Wavelength Developer Guide. - AssociateCarrierIpAddress bool + AssociateCarrierIpAddress *bool // Associates a public IPv4 address with eth0 for a new network interface. - AssociatePublicIpAddress bool + AssociatePublicIpAddress *bool // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // A description for the network interface. Description *string // The device index for the network interface attachment. - DeviceIndex int32 + DeviceIndex *int32 // The IDs of one or more security groups. Groups []string @@ -5433,7 +5433,7 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { // The number of IPv6 addresses to assign to a network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't use // this option if specifying specific IPv6 addresses. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. You can't use this option if you're specifying a number of IPv6 @@ -5443,7 +5443,7 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { // The index of the network card. Some instance types support multiple network // cards. The primary network interface must be assigned to network card index 0. // The default is network card index 0. - NetworkCardIndex int32 + NetworkCardIndex *int32 // The ID of the network interface. NetworkInterfaceId *string @@ -5455,7 +5455,7 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { PrivateIpAddresses []PrivateIpAddressSpecification // The number of secondary private IPv4 addresses to assign to a network interface. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 // The ID of the subnet for the network interface. SubnetId *string @@ -5494,7 +5494,7 @@ type LaunchTemplateOverrides struct { // lower the number, the higher the priority. If no number is set, the launch // template override has the lowest priority. You can set the same priority for // different launch template overrides. - Priority float64 + Priority *float64 // The maximum price per unit hour that you are willing to pay for a Spot Instance. SpotPrice *string @@ -5503,7 +5503,7 @@ type LaunchTemplateOverrides struct { SubnetId *string // The number of units provided by the specified instance type. - WeightedCapacity float64 + WeightedCapacity *float64 } // Describes the placement of an instance. @@ -5526,7 +5526,7 @@ type LaunchTemplatePlacement struct { // The number of the partition the instance should launch in. Valid only if the // placement group strategy is set to partition. - PartitionNumber int32 + PartitionNumber *int32 // Reserved for future use. SpreadDomain *string @@ -5557,7 +5557,7 @@ type LaunchTemplatePlacementRequest struct { // The number of the partition the instance should launch in. Valid only if the // placement group strategy is set to partition. - PartitionNumber int32 + PartitionNumber *int32 // Reserved for future use. SpreadDomain *string @@ -5572,7 +5572,7 @@ type LaunchTemplatesMonitoring struct { // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is // enabled. - Enabled bool + Enabled *bool } // Describes the monitoring for the instance. @@ -5580,7 +5580,7 @@ type LaunchTemplatesMonitoringRequest struct { // Specify true to enable detailed monitoring. Otherwise, basic monitoring is // enabled. - Enabled bool + Enabled *bool } // The launch template to use. You must specify either the launch template ID or @@ -5603,7 +5603,7 @@ type LaunchTemplateSpotMarketOptions struct { // The required duration for the Spot Instances (also known as Spot blocks), in // minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360). - BlockDurationMinutes int32 + BlockDurationMinutes *int32 // The behavior when a Spot Instance is interrupted. InstanceInterruptionBehavior InstanceInterruptionBehavior @@ -5626,7 +5626,7 @@ type LaunchTemplateSpotMarketOptionsRequest struct { // The required duration for the Spot Instances (also known as Spot blocks), in // minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360). - BlockDurationMinutes int32 + BlockDurationMinutes *int32 // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior @@ -5677,7 +5677,7 @@ type LaunchTemplateVersion struct { CreatedBy *string // Indicates whether the version is the default version. - DefaultVersion bool + DefaultVersion *bool // Information about the launch template. LaunchTemplateData *ResponseLaunchTemplateData @@ -5692,7 +5692,7 @@ type LaunchTemplateVersion struct { VersionDescription *string // The version number. - VersionNumber int64 + VersionNumber *int64 } // Describes a license configuration. @@ -5887,7 +5887,7 @@ type LocalGatewayVirtualInterface struct { // The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local // gateway. - LocalBgpAsn int32 + LocalBgpAsn *int32 // The ID of the local gateway. LocalGatewayId *string @@ -5902,13 +5902,13 @@ type LocalGatewayVirtualInterface struct { PeerAddress *string // The peer BGP ASN. - PeerBgpAsn int32 + PeerBgpAsn *int32 // The tags assigned to the virtual interface. Tags []Tag // The ID of the VLAN. - Vlan int32 + Vlan *int32 } // Describes a local gateway virtual interface group. @@ -5937,7 +5937,7 @@ type ManagedPrefixList struct { AddressFamily *string // The maximum number of entries for the prefix list. - MaxEntries int32 + MaxEntries *int32 // The ID of the owner of the prefix list. OwnerId *string @@ -5961,7 +5961,7 @@ type ManagedPrefixList struct { Tags []Tag // The version of the prefix list. - Version int64 + Version *int64 } // Describes the memory for the instance type. @@ -6030,7 +6030,7 @@ type ModifyVpnTunnelOptionsSpecification struct { // The number of seconds after which a DPD timeout occurs. Constraints: A value // between 0 and 30. Default: 30 - DPDTimeoutSeconds int32 + DPDTimeoutSeconds *int32 // The IKE versions that are permitted for the VPN tunnel. Valid values: ikev1 | // ikev2 @@ -6052,7 +6052,7 @@ type ModifyVpnTunnelOptionsSpecification struct { // The lifetime for phase 1 of the IKE negotiation, in seconds. Constraints: A // value between 900 and 28,800. Default: 28800 - Phase1LifetimeSeconds int32 + Phase1LifetimeSeconds *int32 // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 2 IKE negotiations. Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 @@ -6071,7 +6071,7 @@ type ModifyVpnTunnelOptionsSpecification struct { // The lifetime for phase 2 of the IKE negotiation, in seconds. Constraints: A // value between 900 and 3,600. The value must be less than the value for // Phase1LifetimeSeconds. Default: 3600 - Phase2LifetimeSeconds int32 + Phase2LifetimeSeconds *int32 // The pre-shared key (PSK) to establish initial authentication between the virtual // private gateway and the customer gateway. Constraints: Allowed characters are @@ -6082,17 +6082,17 @@ type ModifyVpnTunnelOptionsSpecification struct { // The percentage of the rekey window (determined by RekeyMarginTimeSeconds) during // which the rekey time is randomly selected. Constraints: A value between 0 and // 100. Default: 100 - RekeyFuzzPercentage int32 + RekeyFuzzPercentage *int32 // The margin time, in seconds, before the phase 2 lifetime expires, during which // the AWS side of the VPN connection performs an IKE rekey. The exact time of the // rekey is randomly selected based on the value for RekeyFuzzPercentage. // Constraints: A value between 60 and half of Phase2LifetimeSeconds. Default: 540 - RekeyMarginTimeSeconds int32 + RekeyMarginTimeSeconds *int32 // The number of packets in an IKE replay window. Constraints: A value between 64 // and 2048. Default: 1024 - ReplayWindowSize int32 + ReplayWindowSize *int32 // The action to take when the establishing the tunnel for the VPN connection. By // default, your customer gateway device must initiate the IKE negotiation and @@ -6256,7 +6256,7 @@ type NetworkAcl struct { Entries []NetworkAclEntry // Indicates whether this is the default network ACL for the VPC. - IsDefault bool + IsDefault *bool // The ID of the network ACL. NetworkAclId *string @@ -6292,7 +6292,7 @@ type NetworkAclEntry struct { // Indicates whether the rule is an egress rule (applied to traffic leaving the // subnet). - Egress bool + Egress *bool // ICMP protocol: The ICMP type and code. IcmpTypeCode *IcmpTypeCode @@ -6311,7 +6311,7 @@ type NetworkAclEntry struct { // The rule number for the entry. ACL entries are processed in ascending order by // rule number. - RuleNumber int32 + RuleNumber *int32 } // Describes the network card support of the instance type. @@ -6393,7 +6393,7 @@ type NetworkInsightsAnalysis struct { NetworkInsightsPathId *string // Indicates whether the destination is reachable from the source. - NetworkPathFound bool + NetworkPathFound *bool // The components in the path from destination to source. ReturnPathComponents []PathComponent @@ -6424,7 +6424,7 @@ type NetworkInsightsPath struct { DestinationIp *string // The destination port. - DestinationPort int32 + DestinationPort *int32 // The Amazon Resource Name (ARN) of the path. NetworkInsightsPathArn *string @@ -6496,10 +6496,10 @@ type NetworkInterface struct { RequesterId *string // Indicates whether the network interface is being managed by AWS. - RequesterManaged bool + RequesterManaged *bool // Indicates whether source/destination checking is enabled. - SourceDestCheck bool + SourceDestCheck *bool // The status of the network interface. Status NetworkInterfaceStatus @@ -6554,10 +6554,10 @@ type NetworkInterfaceAttachment struct { // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // The device index of the network interface attachment on the instance. - DeviceIndex int32 + DeviceIndex *int32 // The ID of the instance. InstanceId *string @@ -6566,7 +6566,7 @@ type NetworkInterfaceAttachment struct { InstanceOwnerId *string // The index of the network card. - NetworkCardIndex int32 + NetworkCardIndex *int32 // The attachment state. Status AttachmentStatus @@ -6580,7 +6580,7 @@ type NetworkInterfaceAttachmentChanges struct { // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool } // Describes an IPv6 address associated with a network interface. @@ -6631,7 +6631,7 @@ type NetworkInterfacePrivateIpAddress struct { // Indicates whether this IPv4 address is the primary private IPv4 address of the // network interface. - Primary bool + Primary *bool // The private DNS name. PrivateDnsName *string @@ -6670,15 +6670,15 @@ type OnDemandOptions struct { // The minimum target capacity for On-Demand Instances in the fleet. If the minimum // target capacity is not reached, the fleet launches no instances. - MinTargetCapacity int32 + MinTargetCapacity *int32 // Indicates that the fleet launches all On-Demand Instances into a single // Availability Zone. Supported only for fleets of type instant. - SingleAvailabilityZone bool + SingleAvailabilityZone *bool // Indicates that the fleet uses a single instance type to launch all On-Demand // Instances in the fleet. Supported only for fleets of type instant. - SingleInstanceType bool + SingleInstanceType *bool } // Describes the configuration of On-Demand Instances in an EC2 Fleet. @@ -6701,15 +6701,15 @@ type OnDemandOptionsRequest struct { // The minimum target capacity for On-Demand Instances in the fleet. If the minimum // target capacity is not reached, the fleet launches no instances. - MinTargetCapacity int32 + MinTargetCapacity *int32 // Indicates that the fleet launches all On-Demand Instances into a single // Availability Zone. Supported only for fleets of type instant. - SingleAvailabilityZone bool + SingleAvailabilityZone *bool // Indicates that the fleet uses a single instance type to launch all On-Demand // Instances in the fleet. Supported only for fleets of type instant. - SingleInstanceType bool + SingleInstanceType *bool } // Describes a path component. @@ -6737,7 +6737,7 @@ type PathComponent struct { SecurityGroupRule *AnalysisSecurityGroupRule // The sequence number. - SequenceNumber int32 + SequenceNumber *int32 // The source VPC. SourceVpc *AnalysisComponent @@ -6780,15 +6780,15 @@ type PeeringConnectionOptions struct { // If true, the public DNS hostnames of instances in the specified VPC resolve to // private IP addresses when queried from instances in the peer VPC. - AllowDnsResolutionFromRemoteVpc bool + AllowDnsResolutionFromRemoteVpc *bool // If true, enables outbound communication from an EC2-Classic instance that's // linked to a local VPC using ClassicLink to instances in a peer VPC. - AllowEgressFromLocalClassicLinkToRemoteVpc bool + AllowEgressFromLocalClassicLinkToRemoteVpc *bool // If true, enables outbound communication from instances in a local VPC to an // EC2-Classic instance that's linked to a peer VPC using ClassicLink. - AllowEgressFromLocalVpcToRemoteClassicLink bool + AllowEgressFromLocalVpcToRemoteClassicLink *bool } // The VPC peering connection options. @@ -6796,15 +6796,15 @@ type PeeringConnectionOptionsRequest struct { // If true, enables a local VPC to resolve public DNS hostnames to private IP // addresses when queried from instances in the peer VPC. - AllowDnsResolutionFromRemoteVpc bool + AllowDnsResolutionFromRemoteVpc *bool // If true, enables outbound communication from an EC2-Classic instance that's // linked to a local VPC using ClassicLink to instances in a peer VPC. - AllowEgressFromLocalClassicLinkToRemoteVpc bool + AllowEgressFromLocalClassicLinkToRemoteVpc *bool // If true, enables outbound communication from instances in a local VPC to an // EC2-Classic instance that's linked to a peer VPC using ClassicLink. - AllowEgressFromLocalVpcToRemoteClassicLink bool + AllowEgressFromLocalVpcToRemoteClassicLink *bool } // Information about the transit gateway in the peering attachment. @@ -6824,7 +6824,7 @@ type PeeringTgwInfo struct { type Phase1DHGroupNumbersListValue struct { // The Diffie-Hellmann group number. - Value int32 + Value *int32 } // Specifies a Diffie-Hellman group number for the VPN tunnel for phase 1 IKE @@ -6832,7 +6832,7 @@ type Phase1DHGroupNumbersListValue struct { type Phase1DHGroupNumbersRequestListValue struct { // The Diffie-Hellmann group number. - Value int32 + Value *int32 } // The encryption algorithm for phase 1 IKE negotiations. @@ -6869,7 +6869,7 @@ type Phase1IntegrityAlgorithmsRequestListValue struct { type Phase2DHGroupNumbersListValue struct { // The Diffie-Hellmann group number. - Value int32 + Value *int32 } // Specifies a Diffie-Hellman group number for the VPN tunnel for phase 2 IKE @@ -6877,7 +6877,7 @@ type Phase2DHGroupNumbersListValue struct { type Phase2DHGroupNumbersRequestListValue struct { // The Diffie-Hellmann group number. - Value int32 + Value *int32 } // The encryption algorithm for phase 2 IKE negotiations. @@ -6946,7 +6946,7 @@ type Placement struct { // group strategy is set to partition. This parameter is not supported by // CreateFleet // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). - PartitionNumber int32 + PartitionNumber *int32 // Reserved for future use. This parameter is not supported by CreateFleet // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). @@ -6971,7 +6971,7 @@ type PlacementGroup struct { GroupName *string // The number of partitions. Valid only if strategy is set to partition. - PartitionCount int32 + PartitionCount *int32 // The state of the placement group. State PlacementGroupState @@ -7008,10 +7008,10 @@ type PoolCidrBlock struct { type PortRange struct { // The first port in the range. - From int32 + From *int32 // The last port in the range. - To int32 + To *int32 } // Describes prefixes for AWS services. @@ -7070,18 +7070,18 @@ type PriceSchedule struct { // covering the first three months of the remaining term, will be active during // months 5, 4, and 3. Then schedule 2, covering the last two months of the term, // will be active for months 2 and 1. - Active bool + Active *bool // The currency for transacting the Reserved Instance resale. At this time, the // only supported currency is USD. CurrencyCode CurrencyCodeValues // The fixed price for the term. - Price float64 + Price *float64 // The number of months remaining in the reservation. For example, 2 is the second // to the last month before the capacity reservation expires. - Term int64 + Term *int64 } // Describes the price for a Reserved Instance. @@ -7092,21 +7092,21 @@ type PriceScheduleSpecification struct { CurrencyCode CurrencyCodeValues // The fixed price for the term. - Price float64 + Price *float64 // The number of months remaining in the reservation. For example, 2 is the second // to the last month before the capacity reservation expires. - Term int64 + Term *int64 } // Describes a Reserved Instance offering. type PricingDetail struct { // The number of reservations available for the price. - Count int32 + Count *int32 // The price per instance. - Price float64 + Price *float64 } // PrincipalIdFormat description @@ -7154,7 +7154,7 @@ type PrivateIpAddressSpecification struct { // Indicates whether the private IPv4 address is the primary private IPv4 address. // Only one IPv4 address can be designated as primary. - Primary bool + Primary *bool // The private IPv4 addresses. PrivateIpAddress *string @@ -7252,20 +7252,20 @@ type PublicIpv4Pool struct { Tags []Tag // The total number of addresses. - TotalAddressCount int32 + TotalAddressCount *int32 // The total number of available addresses. - TotalAvailableAddressCount int32 + TotalAvailableAddressCount *int32 } // Describes an address range of an IPv4 address pool. type PublicIpv4PoolRange struct { // The number of addresses in the range. - AddressCount int32 + AddressCount *int32 // The number of available addresses in the range. - AvailableAddressCount int32 + AvailableAddressCount *int32 // The first IP address in the range. FirstAddress *string @@ -7282,7 +7282,7 @@ type Purchase struct { CurrencyCode CurrencyCodeValues // The duration of the reservation's term in seconds. - Duration int32 + Duration *int32 // The IDs of the Dedicated Hosts associated with the reservation. HostIdSet []string @@ -7310,7 +7310,7 @@ type PurchaseRequest struct { // The number of instances. // // This member is required. - InstanceCount int32 + InstanceCount *int32 // The purchase token. // @@ -7322,7 +7322,7 @@ type PurchaseRequest struct { type RecurringCharge struct { // The amount of the recurring charge. - Amount float64 + Amount *float64 // The frequency of the recurring charge. Frequency RecurringChargeFrequency @@ -7350,7 +7350,7 @@ type RegisterInstanceTagAttributeRequest struct { // Indicates whether to register all tag keys in the current Region. Specify true // to register all tag keys. - IncludeAllTagsOfInstance bool + IncludeAllTagsOfInstance *bool // The tag keys to register. InstanceTagKeys []string @@ -7438,14 +7438,14 @@ type RequestLaunchTemplateData struct { // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). // Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you // can terminate the instance by running the shutdown command from the instance. - DisableApiTermination bool + DisableApiTermination *bool // Indicates whether the instance is optimized for Amazon EBS I/O. This // optimization provides dedicated throughput to Amazon EBS and an optimized // configuration stack to provide optimal Amazon EBS I/O performance. This // optimization isn't available with all instance types. Additional usage charges // apply when using an EBS-optimized instance. - EbsOptimized bool + EbsOptimized *bool // An elastic GPU to associate with the instance. ElasticGpuSpecifications []ElasticGpuSpecification @@ -7571,7 +7571,7 @@ type RequestSpotLaunchSpecification struct { // to provide optimal EBS I/O performance. This optimization isn't available with // all instance types. Additional usage charges apply when using an EBS Optimized // instance. Default: false - EbsOptimized bool + EbsOptimized *bool // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification @@ -7658,7 +7658,7 @@ type ReservedInstanceLimitPrice struct { // Used for Reserved Instance Marketplace offerings. Specifies the limit price on // the total order (instanceCount * price). - Amount float64 + Amount *float64 // The currency in which the limitPrice amount is specified. At this time, the only // supported currency is USD. @@ -7686,16 +7686,16 @@ type ReservedInstances struct { CurrencyCode CurrencyCodeValues // The duration of the Reserved Instance, in seconds. - Duration int64 + Duration *int64 // The time when the Reserved Instance expires. End *time.Time // The purchase price of the Reserved Instance. - FixedPrice float32 + FixedPrice *float32 // The number of reservations purchased. - InstanceCount int32 + InstanceCount *int32 // The tenancy of the instance. InstanceTenancy Tenancy @@ -7731,7 +7731,7 @@ type ReservedInstances struct { Tags []Tag // The usage price of the Reserved Instance, per hour. - UsagePrice float32 + UsagePrice *float32 } // Describes the configuration settings for the modified Reserved Instances. @@ -7742,7 +7742,7 @@ type ReservedInstancesConfiguration struct { // The number of modified Reserved Instances. This is a required field for a // request. - InstanceCount int32 + InstanceCount *int32 // The instance type for the modified Reserved Instances. InstanceType InstanceType @@ -7858,10 +7858,10 @@ type ReservedInstancesOffering struct { CurrencyCode CurrencyCodeValues // The duration of the Reserved Instance, in seconds. - Duration int64 + Duration *int64 // The purchase price of the Reserved Instance. - FixedPrice float32 + FixedPrice *float32 // The tenancy of the instance. InstanceTenancy Tenancy @@ -7872,7 +7872,7 @@ type ReservedInstancesOffering struct { // Indicates whether the offering is available through the Reserved Instance // Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, // this is true. - Marketplace bool + Marketplace *bool // If convertible it can be exchanged for Reserved Instances of the same or higher // monetary value, with different configurations. If standard, it is not possible @@ -7900,7 +7900,7 @@ type ReservedInstancesOffering struct { Scope Scope // The usage price of the Reserved Instance, per hour. - UsagePrice float32 + UsagePrice *float32 } // Describes the error that's returned when you cannot delete a launch template @@ -7934,10 +7934,10 @@ type ResponseLaunchTemplateData struct { // If set to true, indicates that the instance cannot be terminated using the // Amazon EC2 console, command line tool, or API. - DisableApiTermination bool + DisableApiTermination *bool // Indicates whether the instance is optimized for Amazon EBS I/O. - EbsOptimized bool + EbsOptimized *bool // The elastic GPU specification. ElasticGpuSpecifications []ElasticGpuSpecificationResponse @@ -8105,7 +8105,7 @@ type RouteTableAssociation struct { GatewayId *string // Indicates whether this is the main route table. - Main bool + Main *bool // The ID of the association. RouteTableAssociationId *string @@ -8135,7 +8135,7 @@ type RunInstancesMonitoringEnabled struct { // enabled. // // This member is required. - Enabled bool + Enabled *bool } // The tags to apply to the AMI object that will be stored in the S3 bucket. For @@ -8192,7 +8192,7 @@ type ScheduledInstance struct { HourlyPrice *string // The number of instances. - InstanceCount int32 + InstanceCount *int32 // The instance type. InstanceType *string @@ -8216,7 +8216,7 @@ type ScheduledInstance struct { ScheduledInstanceId *string // The number of hours in the schedule. - SlotDurationInHours int32 + SlotDurationInHours *int32 // The end date for the Scheduled Instance. TermEndDate *time.Time @@ -8225,7 +8225,7 @@ type ScheduledInstance struct { TermStartDate *time.Time // The total number of hours for a single instance for the entire term. - TotalScheduledInstanceHours int32 + TotalScheduledInstanceHours *int32 } // Describes a schedule that is available for your Scheduled Instances. @@ -8235,7 +8235,7 @@ type ScheduledInstanceAvailability struct { AvailabilityZone *string // The number of available instances. - AvailableInstanceCount int32 + AvailableInstanceCount *int32 // The time period for the first schedule to start. FirstSlotStartTime *time.Time @@ -8247,10 +8247,10 @@ type ScheduledInstanceAvailability struct { InstanceType *string // The maximum term. The only possible value is 365 days. - MaxTermDurationInDays int32 + MaxTermDurationInDays *int32 // The minimum term. The only possible value is 365 days. - MinTermDurationInDays int32 + MinTermDurationInDays *int32 // The network platform (EC2-Classic or EC2-VPC). NetworkPlatform *string @@ -8265,10 +8265,10 @@ type ScheduledInstanceAvailability struct { Recurrence *ScheduledInstanceRecurrence // The number of hours in the schedule. - SlotDurationInHours int32 + SlotDurationInHours *int32 // The total number of hours for a single instance for the entire term. - TotalScheduledInstanceHours int32 + TotalScheduledInstanceHours *int32 } // Describes the recurring schedule for a Scheduled Instance. @@ -8279,7 +8279,7 @@ type ScheduledInstanceRecurrence struct { // The interval quantity. The interval unit depends on the value of frequency. For // example, every 2 weeks or every 2 months. - Interval int32 + Interval *int32 // The days. For a monthly schedule, this is one or more days of the month (1-31). // For a weekly schedule, this is one or more days of the week (1-7, where 1 is @@ -8288,7 +8288,7 @@ type ScheduledInstanceRecurrence struct { // Indicates whether the occurrence is relative to the end of the specified week or // month. - OccurrenceRelativeToEnd bool + OccurrenceRelativeToEnd *bool // The unit for occurrenceDaySet (DayOfWeek or DayOfMonth). OccurrenceUnit *string @@ -8302,7 +8302,7 @@ type ScheduledInstanceRecurrenceRequest struct { // The interval quantity. The interval unit depends on the value of Frequency. For // example, every 2 weeks or every 2 months. - Interval int32 + Interval *int32 // The days. For a monthly schedule, this is one or more days of the month (1-31). // For a weekly schedule, this is one or more days of the week (1-7, where 1 is @@ -8312,7 +8312,7 @@ type ScheduledInstanceRecurrenceRequest struct { // Indicates whether the occurrence is relative to the end of the specified week or // month. You can't specify this value with a daily schedule. - OccurrenceRelativeToEnd bool + OccurrenceRelativeToEnd *bool // The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required // for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You @@ -8348,11 +8348,11 @@ type ScheduledInstancesBlockDeviceMapping struct { type ScheduledInstancesEbs struct { // Indicates whether the volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // Indicates whether the volume is encrypted. You can attached encrypted volumes // only to instances that support them. - Encrypted bool + Encrypted *bool // The number of I/O operations per second (IOPS) to provision for an io1 or io2 // volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. @@ -8364,14 +8364,14 @@ type ScheduledInstancesEbs struct { // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the // Amazon EC2 User Guide. This parameter is valid only for Provisioned IOPS SSD // (io1 and io2) volumes. - Iops int32 + Iops *int32 // The ID of the snapshot. SnapshotId *string // The size of the volume, in GiB. Default: If you're creating the volume from a // snapshot and don't specify a volume size, the default is the snapshot size. - VolumeSize int32 + VolumeSize *int32 // The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS // SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for @@ -8414,7 +8414,7 @@ type ScheduledInstancesLaunchSpecification struct { // to provide optimal EBS I/O performance. This optimization isn't available with // all instance types. Additional usage charges apply when using an EBS-optimized // instance. Default: false - EbsOptimized bool + EbsOptimized *bool // The IAM instance profile. IamInstanceProfile *ScheduledInstancesIamInstanceProfile @@ -8454,7 +8454,7 @@ type ScheduledInstancesLaunchSpecification struct { type ScheduledInstancesMonitoring struct { // Indicates whether monitoring is enabled. - Enabled bool + Enabled *bool } // Describes a network interface for a Scheduled Instance. @@ -8465,23 +8465,23 @@ type ScheduledInstancesNetworkInterface struct { // eth0, and can only be assigned to a new network interface, not an existing one. // You cannot specify more than one network interface in the request. If launching // into a default subnet, the default value is true. - AssociatePublicIpAddress bool + AssociatePublicIpAddress *bool // Indicates whether to delete the interface when the instance is terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // The description. Description *string // The index of the device for the network interface attachment. - DeviceIndex int32 + DeviceIndex *int32 // The IDs of the security groups. Groups []string // The number of IPv6 addresses to assign to the network interface. The IPv6 // addresses are automatically selected from the subnet range. - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // The specific IPv6 addresses from the subnet range. Ipv6Addresses []ScheduledInstancesIpv6Address @@ -8496,7 +8496,7 @@ type ScheduledInstancesNetworkInterface struct { PrivateIpAddressConfigs []ScheduledInstancesPrivateIpAddressConfig // The number of secondary private IPv4 addresses. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 // The ID of the subnet. SubnetId *string @@ -8517,7 +8517,7 @@ type ScheduledInstancesPrivateIpAddressConfig struct { // Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary // IPv4 address. - Primary bool + Primary *bool // The IPv4 address. PrivateIpAddress *string @@ -8579,7 +8579,7 @@ type ServiceConfiguration struct { // Indicates whether requests from other AWS accounts to create an endpoint to the // service must first be accepted. - AcceptanceRequired bool + AcceptanceRequired *bool // The Availability Zones in which the service is available. AvailabilityZones []string @@ -8592,7 +8592,7 @@ type ServiceConfiguration struct { // Indicates whether the service manages its VPC endpoints. Management of the // service VPC endpoints using the VPC endpoint API is restricted. - ManagesVpcEndpoints bool + ManagesVpcEndpoints *bool // The Amazon Resource Names (ARNs) of the Network Load Balancers for the service. NetworkLoadBalancerArns []string @@ -8624,7 +8624,7 @@ type ServiceDetail struct { // Indicates whether VPC endpoint connection requests to the service must be // accepted by the service owner. - AcceptanceRequired bool + AcceptanceRequired *bool // The Availability Zones in which the service is available. AvailabilityZones []string @@ -8634,7 +8634,7 @@ type ServiceDetail struct { // Indicates whether the service manages its VPC endpoints. Management of the // service VPC endpoints using the VPC endpoint API is restricted. - ManagesVpcEndpoints bool + ManagesVpcEndpoints *bool // The AWS account ID of the service owner. Owner *string @@ -8662,7 +8662,7 @@ type ServiceDetail struct { Tags []Tag // Indicates whether the service supports endpoint policies. - VpcEndpointPolicySupported bool + VpcEndpointPolicySupported *bool } // Describes the type of service for a VPC endpoint. @@ -8714,7 +8714,7 @@ type Snapshot struct { Description *string // Indicates whether the snapshot is encrypted. - Encrypted bool + Encrypted *bool // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption key for @@ -8763,7 +8763,7 @@ type Snapshot struct { VolumeId *string // The size of the volume, in GiB. - VolumeSize int32 + VolumeSize *int32 } // Describes the snapshot created from the imported disk. @@ -8776,7 +8776,7 @@ type SnapshotDetail struct { DeviceName *string // The size of the disk in the snapshot, in GiB. - DiskImageSize float64 + DiskImageSize *float64 // The format of the disk image from which the snapshot is created. Format *string @@ -8825,7 +8825,7 @@ type SnapshotInfo struct { Description *string // Indicates whether the snapshot is encrypted. - Encrypted bool + Encrypted *bool // The ARN of the AWS Outpost on which the snapshot is stored. For more // information, see EBS Local Snapshot on Outposts @@ -8856,7 +8856,7 @@ type SnapshotInfo struct { VolumeId *string // Size of the volume from which this snapshot was created. - VolumeSize int32 + VolumeSize *int32 } // Details about the import snapshot task. @@ -8866,10 +8866,10 @@ type SnapshotTaskDetail struct { Description *string // The size of the disk in the snapshot, in GiB. - DiskImageSize float64 + DiskImageSize *float64 // Indicates whether the snapshot is encrypted. - Encrypted bool + Encrypted *bool // The format of the disk image from which the snapshot is created. Format *string @@ -8955,7 +8955,7 @@ type SpotFleetLaunchSpecification struct { // to provide optimal EBS I/O performance. This optimization isn't available with // all instance types. Additional usage charges apply when using an EBS Optimized // instance. Default: false - EbsOptimized bool + EbsOptimized *bool // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification @@ -9019,14 +9019,14 @@ type SpotFleetLaunchSpecification struct { // divided by this value is not a whole number, Amazon EC2 rounds the number of // instances to the next whole number. If this value is not specified, the default // is 1. - WeightedCapacity float64 + WeightedCapacity *float64 } // Describes whether monitoring is enabled. type SpotFleetMonitoring struct { // Enables monitoring for the instance. Default: false - Enabled bool + Enabled *bool } // Describes a Spot Fleet request. @@ -9080,7 +9080,7 @@ type SpotFleetRequestConfigData struct { // capacity later. // // This member is required. - TargetCapacity int32 + TargetCapacity *int32 // Indicates how to allocate the target Spot Instance capacity across the Spot // Instance pools specified by the Spot Fleet request. If the allocation strategy @@ -9113,7 +9113,7 @@ type SpotFleetRequestConfigData struct { // The number of units fulfilled by this request compared to the set target // capacity. You cannot set this value. - FulfilledCapacity float64 + FulfilledCapacity *float64 // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior @@ -9122,7 +9122,7 @@ type SpotFleetRequestConfigData struct { // Valid only when Spot AllocationStrategy is set to lowest-price. Spot Fleet // selects the cheapest Spot pools and evenly allocates your target Spot capacity // across the number of Spot pools that you specify. - InstancePoolsToUseCount int32 + InstancePoolsToUseCount *int32 // The launch specifications for the Spot Fleet request. If you specify // LaunchSpecifications, you can't specify LaunchTemplateConfigs. If you include @@ -9151,7 +9151,7 @@ type SpotFleetRequestConfigData struct { // The number of On-Demand units fulfilled by this request compared to the set // target On-Demand capacity. - OnDemandFulfilledCapacity float64 + OnDemandFulfilledCapacity *float64 // The maximum amount per hour for On-Demand Instances that you're willing to pay. // You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice @@ -9167,10 +9167,10 @@ type SpotFleetRequestConfigData struct { // capacity in terms of instances or a performance characteristic that is important // to your application workload, such as vCPUs, memory, or I/O. If the request type // is maintain, you can specify a target capacity of 0 and add capacity later. - OnDemandTargetCapacity int32 + OnDemandTargetCapacity *int32 // Indicates whether Spot Fleet should replace unhealthy instances. - ReplaceUnhealthyInstances bool + ReplaceUnhealthyInstances *bool // The strategies for managing your Spot Instances that are at an elevated risk of // being interrupted. @@ -9204,7 +9204,7 @@ type SpotFleetRequestConfigData struct { // Indicates whether running Spot Instances are terminated when the Spot Fleet // request expires. - TerminateInstancesWithExpiration bool + TerminateInstancesWithExpiration *bool // The type of request. Indicates whether the Spot Fleet only requests the target // capacity or also attempts to maintain it. When this value is request, the Spot @@ -9253,7 +9253,7 @@ type SpotInstanceRequest struct { AvailabilityZoneGroup *string // The duration for the Spot Instance, in minutes. - BlockDurationMinutes int32 + BlockDurationMinutes *int32 // The date and time when the Spot Instance request was created, in UTC format (for // example, YYYY-MM-DDTHH:MM:SSZ). @@ -9367,7 +9367,7 @@ type SpotMarketOptions struct { // Availability Zone group or a launch group if you specify a duration. New // accounts or accounts with no previous billing history with AWS are not eligible // for Spot Instances with a defined duration (also known as Spot blocks). - BlockDurationMinutes int32 + BlockDurationMinutes *int32 // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior InstanceInterruptionBehavior @@ -9423,7 +9423,7 @@ type SpotOptions struct { // Valid only when AllocationStrategy is set to lowest-price. EC2 Fleet selects the // cheapest Spot pools and evenly allocates your target Spot capacity across the // number of Spot pools that you specify. - InstancePoolsToUseCount int32 + InstancePoolsToUseCount *int32 // The strategies for managing your workloads on your Spot Instances that will be // interrupted. Currently only the capacity rebalance strategy is available. @@ -9434,15 +9434,15 @@ type SpotOptions struct { // The minimum target capacity for Spot Instances in the fleet. If the minimum // target capacity is not reached, the fleet launches no instances. - MinTargetCapacity int32 + MinTargetCapacity *int32 // Indicates that the fleet launches all Spot Instances into a single Availability // Zone. Supported only for fleets of type instant. - SingleAvailabilityZone bool + SingleAvailabilityZone *bool // Indicates that the fleet uses a single instance type to launch all Spot // Instances in the fleet. Supported only for fleets of type instant. - SingleInstanceType bool + SingleInstanceType *bool } // Describes the configuration of Spot Instances in an EC2 Fleet request. @@ -9473,7 +9473,7 @@ type SpotOptionsRequest struct { // Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet // selects the cheapest Spot pools and evenly allocates your target Spot capacity // across the number of Spot pools that you specify. - InstancePoolsToUseCount int32 + InstancePoolsToUseCount *int32 // The strategies for managing your Spot Instances that are at an elevated risk of // being interrupted. @@ -9484,15 +9484,15 @@ type SpotOptionsRequest struct { // The minimum target capacity for Spot Instances in the fleet. If the minimum // target capacity is not reached, the fleet launches no instances. - MinTargetCapacity int32 + MinTargetCapacity *int32 // Indicates that the fleet launches all Spot Instances into a single Availability // Zone. Supported only for fleets of type instant. - SingleAvailabilityZone bool + SingleAvailabilityZone *bool // Indicates that the fleet uses a single instance type to launch all Spot // Instances in the fleet. Supported only for fleets of type instant. - SingleInstanceType bool + SingleInstanceType *bool } // Describes Spot Instance placement. @@ -9537,7 +9537,7 @@ type StaleIpPermission struct { // The start of the port range for the TCP and UDP protocols, or an ICMP type // number. A value of -1 indicates all ICMP types. - FromPort int32 + FromPort *int32 // The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers) // (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). @@ -9551,7 +9551,7 @@ type StaleIpPermission struct { // The end of the port range for the TCP and UDP protocols, or an ICMP type number. // A value of -1 indicates all ICMP types. - ToPort int32 + ToPort *int32 // The security group pairs. Returns the ID of the referenced security group and // VPC, and the ID and status of the VPC peering connection. @@ -9660,7 +9660,7 @@ type StoreImageTaskResult struct { Bucket *string // The progress of the task as a percentage. - ProgressPercentage int32 + ProgressPercentage *int32 // The name of the stored AMI object in the bucket. S3objectKey *string @@ -9681,7 +9681,7 @@ type Subnet struct { // Indicates whether a network interface created in this subnet (including a // network interface created by RunInstances) receives an IPv6 address. - AssignIpv6AddressOnCreation bool + AssignIpv6AddressOnCreation *bool // The Availability Zone of the subnet. AvailabilityZone *string @@ -9691,7 +9691,7 @@ type Subnet struct { // The number of unused private IPv4 addresses in the subnet. The IPv4 addresses // for any stopped instances are considered unavailable. - AvailableIpAddressCount int32 + AvailableIpAddressCount *int32 // The IPv4 CIDR block assigned to the subnet. CidrBlock *string @@ -9700,7 +9700,7 @@ type Subnet struct { CustomerOwnedIpv4Pool *string // Indicates whether this is the default subnet for the Availability Zone. - DefaultForAz bool + DefaultForAz *bool // Information about the IPv6 CIDR blocks associated with the subnet. Ipv6CidrBlockAssociationSet []SubnetIpv6CidrBlockAssociation @@ -9708,11 +9708,11 @@ type Subnet struct { // Indicates whether a network interface created in this subnet (including a // network interface created by RunInstances) receives a customer-owned IPv4 // address. - MapCustomerOwnedIpOnLaunch bool + MapCustomerOwnedIpOnLaunch *bool // Indicates whether instances launched in this subnet receive a public IPv4 // address. - MapPublicIpOnLaunch bool + MapPublicIpOnLaunch *bool // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string @@ -9860,14 +9860,14 @@ type TargetCapacitySpecification struct { // The number of On-Demand units to request. If you specify a target capacity for // Spot units, you cannot specify a target capacity for On-Demand units. - OnDemandTargetCapacity int32 + OnDemandTargetCapacity *int32 // The maximum number of Spot units to launch. If you specify a target capacity for // On-Demand units, you cannot specify a target capacity for Spot units. - SpotTargetCapacity int32 + SpotTargetCapacity *int32 // The number of units to request, filled using DefaultTargetCapacityType. - TotalTargetCapacity int32 + TotalTargetCapacity *int32 } // The number of units to request. You can choose to set the target capacity as the @@ -9890,16 +9890,16 @@ type TargetCapacitySpecificationRequest struct { // The number of units to request, filled using DefaultTargetCapacityType. // // This member is required. - TotalTargetCapacity int32 + TotalTargetCapacity *int32 // The default TotalTargetCapacity, which is either Spot or On-Demand. DefaultTargetCapacityType DefaultTargetCapacityType // The number of On-Demand units to request. - OnDemandTargetCapacity int32 + OnDemandTargetCapacity *int32 // The number of Spot units to request. - SpotTargetCapacity int32 + SpotTargetCapacity *int32 } // Information about the Convertible Reserved Instance offering. @@ -9907,7 +9907,7 @@ type TargetConfiguration struct { // The number of instances the Convertible Reserved Instance offering can be // applied to. This parameter is reserved and cannot be specified in a request - InstanceCount int32 + InstanceCount *int32 // The ID of the Convertible Reserved Instance offering. OfferingId *string @@ -9923,7 +9923,7 @@ type TargetConfigurationRequest struct { // The number of instances the Covertible Reserved Instance offering can be applied // to. This parameter is reserved and cannot be specified in a request - InstanceCount int32 + InstanceCount *int32 } // Describes a load balancer target group. @@ -10026,13 +10026,13 @@ type TrafficMirrorFilterRule struct { DestinationPortRange *TrafficMirrorPortRange // The protocol assigned to the Traffic Mirror rule. - Protocol int32 + Protocol *int32 // The action assigned to the Traffic Mirror rule. RuleAction TrafficMirrorRuleAction // The rule number of the Traffic Mirror rule. - RuleNumber int32 + RuleNumber *int32 // The source CIDR block assigned to the Traffic Mirror rule. SourceCidrBlock *string @@ -10055,11 +10055,11 @@ type TrafficMirrorPortRange struct { // The start of the Traffic Mirror port range. This applies to the TCP and UDP // protocols. - FromPort int32 + FromPort *int32 // The end of the Traffic Mirror port range. This applies to the TCP and UDP // protocols. - ToPort int32 + ToPort *int32 } // Information about the Traffic Mirror filter rule port range. @@ -10067,11 +10067,11 @@ type TrafficMirrorPortRangeRequest struct { // The first port in the Traffic Mirror port range. This applies to the TCP and UDP // protocols. - FromPort int32 + FromPort *int32 // The last port in the Traffic Mirror port range. This applies to the TCP and UDP // protocols. - ToPort int32 + ToPort *int32 } // Describes a Traffic Mirror session. @@ -10091,12 +10091,12 @@ type TrafficMirrorSession struct { // For example, if you set this value to 100, then the first 100 bytes that meet // the filter criteria are copied to the target. Do not specify this parameter when // you want to mirror the entire packet - PacketLength int32 + PacketLength *int32 // The session number determines the order in which sessions are evaluated when an // interface is used by multiple sessions. The first session with a matching filter // is the one that mirrors the packets. Valid values are 1-32766. - SessionNumber int32 + SessionNumber *int32 // The tags assigned to the Traffic Mirror session. Tags []Tag @@ -10111,7 +10111,7 @@ type TrafficMirrorSession struct { TrafficMirrorTargetId *string // The virtual network ID associated with the Traffic Mirror session. - VirtualNetworkId int32 + VirtualNetworkId *int32 } // Describes a Traffic Mirror target. @@ -10241,13 +10241,13 @@ type TransitGatewayAttachmentBgpConfiguration struct { PeerAddress *string // The peer Autonomous System Number (ASN). - PeerAsn int64 + PeerAsn *int64 // The interior BGP peer IP address for the transit gateway. TransitGatewayAddress *string // The transit gateway Autonomous System Number (ASN). - TransitGatewayAsn int64 + TransitGatewayAsn *int64 } // Describes a propagation route table. @@ -10337,7 +10337,7 @@ type TransitGatewayConnectPeerConfiguration struct { type TransitGatewayConnectRequestBgpOptions struct { // The peer Autonomous System Number (ASN). - PeerAsn int64 + PeerAsn *int64 } // Describes the deregistered transit gateway multicast group members. @@ -10459,10 +10459,10 @@ type TransitGatewayMulticastGroup struct { GroupIpAddress *string // Indicates that the resource is a transit gateway multicast group member. - GroupMember bool + GroupMember *bool // Indicates that the resource is a transit gateway multicast group member. - GroupSource bool + GroupSource *bool // The member type (for example, static). MemberType MembershipType @@ -10523,7 +10523,7 @@ type TransitGatewayOptions struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for // 32-bit ASNs. - AmazonSideAsn int64 + AmazonSideAsn *int64 // The ID of the default association route table. AssociationDefaultRouteTableId *string @@ -10598,7 +10598,7 @@ type TransitGatewayPrefixListAttachment struct { type TransitGatewayPrefixListReference struct { // Indicates whether traffic that matches this route is dropped. - Blackhole bool + Blackhole *bool // The ID of the prefix list. PrefixListId *string @@ -10641,7 +10641,7 @@ type TransitGatewayRequestOptions struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for // 32-bit ASNs. The default is 64512. - AmazonSideAsn int64 + AmazonSideAsn *int64 // Enable or disable automatic acceptance of attachment requests. Disabled by // default. @@ -10709,11 +10709,11 @@ type TransitGatewayRouteTable struct { // Indicates whether this is the default association route table for the transit // gateway. - DefaultAssociationRouteTable bool + DefaultAssociationRouteTable *bool // Indicates whether this is the default propagation route table for the transit // gateway. - DefaultPropagationRouteTable bool + DefaultPropagationRouteTable *bool // The state of the transit gateway route table. State TransitGatewayRouteTableState @@ -10813,7 +10813,7 @@ type TunnelOption struct { DpdTimeoutAction *string // The number of seconds after which a DPD timeout occurs. - DpdTimeoutSeconds int32 + DpdTimeoutSeconds *int32 // The IKE versions that are permitted for the VPN tunnel. IkeVersions []IKEVersionsListValue @@ -10834,7 +10834,7 @@ type TunnelOption struct { Phase1IntegrityAlgorithms []Phase1IntegrityAlgorithmsListValue // The lifetime for phase 1 of the IKE negotiation, in seconds. - Phase1LifetimeSeconds int32 + Phase1LifetimeSeconds *int32 // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE // negotiations. @@ -10849,7 +10849,7 @@ type TunnelOption struct { Phase2IntegrityAlgorithms []Phase2IntegrityAlgorithmsListValue // The lifetime for phase 2 of the IKE negotiation, in seconds. - Phase2LifetimeSeconds int32 + Phase2LifetimeSeconds *int32 // The pre-shared key (PSK) to establish initial authentication between the virtual // private gateway and the customer gateway. @@ -10857,14 +10857,14 @@ type TunnelOption struct { // The percentage of the rekey window determined by RekeyMarginTimeSeconds during // which the rekey time is randomly selected. - RekeyFuzzPercentage int32 + RekeyFuzzPercentage *int32 // The margin time, in seconds, before the phase 2 lifetime expires, during which // the AWS side of the VPN connection performs an IKE rekey. - RekeyMarginTimeSeconds int32 + RekeyMarginTimeSeconds *int32 // The number of packets in an IKE replay window. - ReplayWindowSize int32 + ReplayWindowSize *int32 // The action to take when the establishing the VPN tunnels for a VPN connection. StartupAction *string @@ -11033,7 +11033,7 @@ type VCpuInfo struct { type VgwTelemetry struct { // The number of accepted routes. - AcceptedRouteCount int32 + AcceptedRouteCount *int32 // The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate. CertificateArn *string @@ -11065,16 +11065,16 @@ type Volume struct { CreateTime *time.Time // Indicates whether the volume is encrypted. - Encrypted bool + Encrypted *bool // Indicates whether the volume was created using fast snapshot restore. - FastRestored bool + FastRestored *bool // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, // this represents the number of IOPS that are provisioned for the volume. For gp2 // volumes, this represents the baseline performance of the volume and the rate at // which the volume accumulates I/O credits for bursting. - Iops int32 + Iops *int32 // The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) // customer master key (CMK) that was used to protect the volume encryption key for @@ -11082,13 +11082,13 @@ type Volume struct { KmsKeyId *string // Indicates whether Amazon EBS Multi-Attach is enabled. - MultiAttachEnabled bool + MultiAttachEnabled *bool // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string // The size of the volume, in GiBs. - Size int32 + Size *int32 // The snapshot from which the volume was created, if applicable. SnapshotId *string @@ -11100,7 +11100,7 @@ type Volume struct { Tags []Tag // The throughput that the volume supports, in MiB/s. - Throughput int32 + Throughput *int32 // The ID of the volume. VolumeId *string @@ -11116,7 +11116,7 @@ type VolumeAttachment struct { AttachTime *time.Time // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // The device name. Device *string @@ -11137,7 +11137,7 @@ type VolumeDetail struct { // The size of the volume, in GiB. // // This member is required. - Size int64 + Size *int64 } // Describes the modification status of an EBS volume. If the volume has never been @@ -11152,22 +11152,22 @@ type VolumeModification struct { ModificationState VolumeModificationState // The original IOPS rate of the volume. - OriginalIops int32 + OriginalIops *int32 // The original setting for Amazon EBS Multi-Attach. - OriginalMultiAttachEnabled bool + OriginalMultiAttachEnabled *bool // The original size of the volume, in GiB. - OriginalSize int32 + OriginalSize *int32 // The original throughput of the volume, in MiB/s. - OriginalThroughput int32 + OriginalThroughput *int32 // The original EBS volume type of the volume. OriginalVolumeType VolumeType // The modification progress, from 0 to 100 percent complete. - Progress int64 + Progress *int64 // The modification start time. StartTime *time.Time @@ -11176,16 +11176,16 @@ type VolumeModification struct { StatusMessage *string // The target IOPS rate of the volume. - TargetIops int32 + TargetIops *int32 // The target setting for Amazon EBS Multi-Attach. - TargetMultiAttachEnabled bool + TargetMultiAttachEnabled *bool // The target size of the volume, in GiB. - TargetSize int32 + TargetSize *int32 // The target throughput of the volume, in MiB/s. - TargetThroughput int32 + TargetThroughput *int32 // The target EBS volume type of the volume. TargetVolumeType VolumeType @@ -11306,7 +11306,7 @@ type Vpc struct { Ipv6CidrBlockAssociationSet []VpcIpv6CidrBlockAssociation // Indicates whether the VPC is the default VPC. - IsDefault bool + IsDefault *bool // The ID of the AWS account that owns the VPC. OwnerId *string @@ -11358,7 +11358,7 @@ type VpcCidrBlockState struct { type VpcClassicLink struct { // Indicates whether the VPC is enabled for ClassicLink. - ClassicLinkEnabled bool + ClassicLinkEnabled *bool // Any tags assigned to the VPC. Tags []Tag @@ -11394,10 +11394,10 @@ type VpcEndpoint struct { // (Interface endpoint) Indicates whether the VPC is associated with a private // hosted zone. - PrivateDnsEnabled bool + PrivateDnsEnabled *bool // Indicates whether the VPC endpoint is being managed by its service. - RequesterManaged bool + RequesterManaged *bool // (Gateway endpoint) One or more route tables associated with the endpoint. RouteTableIds []string @@ -11502,15 +11502,15 @@ type VpcPeeringConnectionOptionsDescription struct { // Indicates whether a local VPC can resolve public DNS hostnames to private IP // addresses when queried from instances in a peer VPC. - AllowDnsResolutionFromRemoteVpc bool + AllowDnsResolutionFromRemoteVpc *bool // Indicates whether a local ClassicLink connection can communicate with the peer // VPC over the VPC peering connection. - AllowEgressFromLocalClassicLinkToRemoteVpc bool + AllowEgressFromLocalClassicLinkToRemoteVpc *bool // Indicates whether a local VPC can communicate with a ClassicLink connection in // the peer VPC over the VPC peering connection. - AllowEgressFromLocalVpcToRemoteClassicLink bool + AllowEgressFromLocalVpcToRemoteClassicLink *bool } // Describes the status of a VPC peering connection. @@ -11597,7 +11597,7 @@ type VpnConnection struct { type VpnConnectionOptions struct { // Indicates whether acceleration is enabled for the VPN connection. - EnableAcceleration bool + EnableAcceleration *bool // The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. LocalIpv4NetworkCidr *string @@ -11613,7 +11613,7 @@ type VpnConnectionOptions struct { // Indicates whether the VPN connection uses static routes only. Static routes must // be used for devices that don't support BGP. - StaticRoutesOnly bool + StaticRoutesOnly *bool // Indicates whether the VPN tunnels process IPv4 or IPv6 traffic. TunnelInsideIpVersion TunnelInsideIpVersion @@ -11626,7 +11626,7 @@ type VpnConnectionOptions struct { type VpnConnectionOptionsSpecification struct { // Indicate whether to enable acceleration for the VPN connection. Default: false - EnableAcceleration bool + EnableAcceleration *bool // The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. // Default: 0.0.0.0/0 @@ -11645,7 +11645,7 @@ type VpnConnectionOptionsSpecification struct { // Indicate whether the VPN connection uses static routes only. If you are creating // a VPN connection for a device that does not support BGP, you must specify true. // Use CreateVpnConnectionRoute to create a static route. Default: false - StaticRoutesOnly bool + StaticRoutesOnly *bool // Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Default: ipv4 TunnelInsideIpVersion TunnelInsideIpVersion @@ -11658,7 +11658,7 @@ type VpnConnectionOptionsSpecification struct { type VpnGateway struct { // The private Autonomous System Number (ASN) for the Amazon side of a BGP session. - AmazonSideAsn int64 + AmazonSideAsn *int64 // The Availability Zone where the virtual private gateway was created, if // applicable. This field may be empty or not returned. @@ -11703,7 +11703,7 @@ type VpnTunnelOptionsSpecification struct { // The number of seconds after which a DPD timeout occurs. Constraints: A value // between 0 and 30. Default: 30 - DPDTimeoutSeconds int32 + DPDTimeoutSeconds *int32 // The IKE versions that are permitted for the VPN tunnel. Valid values: ikev1 | // ikev2 @@ -11725,7 +11725,7 @@ type VpnTunnelOptionsSpecification struct { // The lifetime for phase 1 of the IKE negotiation, in seconds. Constraints: A // value between 900 and 28,800. Default: 28800 - Phase1LifetimeSeconds int32 + Phase1LifetimeSeconds *int32 // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 2 IKE negotiations. Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 @@ -11744,7 +11744,7 @@ type VpnTunnelOptionsSpecification struct { // The lifetime for phase 2 of the IKE negotiation, in seconds. Constraints: A // value between 900 and 3,600. The value must be less than the value for // Phase1LifetimeSeconds. Default: 3600 - Phase2LifetimeSeconds int32 + Phase2LifetimeSeconds *int32 // The pre-shared key (PSK) to establish initial authentication between the virtual // private gateway and customer gateway. Constraints: Allowed characters are @@ -11755,17 +11755,17 @@ type VpnTunnelOptionsSpecification struct { // The percentage of the rekey window (determined by RekeyMarginTimeSeconds) during // which the rekey time is randomly selected. Constraints: A value between 0 and // 100. Default: 100 - RekeyFuzzPercentage int32 + RekeyFuzzPercentage *int32 // The margin time, in seconds, before the phase 2 lifetime expires, during which // the AWS side of the VPN connection performs an IKE rekey. The exact time of the // rekey is randomly selected based on the value for RekeyFuzzPercentage. // Constraints: A value between 60 and half of Phase2LifetimeSeconds. Default: 540 - RekeyMarginTimeSeconds int32 + RekeyMarginTimeSeconds *int32 // The number of packets in an IKE replay window. Constraints: A value between 64 // and 2048. Default: 1024 - ReplayWindowSize int32 + ReplayWindowSize *int32 // The action to take when the establishing the tunnel for the VPN connection. By // default, your customer gateway device must initiate the IKE negotiation and diff --git a/service/ec2/validators.go b/service/ec2/validators.go index cb42ad6e1c5..ae5f63c8d9a 100644 --- a/service/ec2/validators.go +++ b/service/ec2/validators.go @@ -7352,6 +7352,9 @@ func validateDiskImageDetail(v *types.DiskImageDetail) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "DiskImageDetail"} + if v.Bytes == nil { + invalidParams.Add(smithy.NewErrParamRequired("Bytes")) + } if len(v.Format) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Format")) } @@ -7532,6 +7535,9 @@ func validatePurchaseRequest(v *types.PurchaseRequest) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "PurchaseRequest"} + if v.InstanceCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) + } if v.PurchaseToken == nil { invalidParams.Add(smithy.NewErrParamRequired("PurchaseToken")) } @@ -7640,6 +7646,9 @@ func validateRunInstancesMonitoringEnabled(v *types.RunInstancesMonitoringEnable return nil } invalidParams := smithy.InvalidParamsError{Context: "RunInstancesMonitoringEnabled"} + if v.Enabled == nil { + invalidParams.Add(smithy.NewErrParamRequired("Enabled")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -7688,6 +7697,9 @@ func validateSpotFleetRequestConfigData(v *types.SpotFleetRequestConfigData) err if v.IamFleetRole == nil { invalidParams.Add(smithy.NewErrParamRequired("IamFleetRole")) } + if v.TargetCapacity == nil { + invalidParams.Add(smithy.NewErrParamRequired("TargetCapacity")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -7700,6 +7712,9 @@ func validateTargetCapacitySpecificationRequest(v *types.TargetCapacitySpecifica return nil } invalidParams := smithy.InvalidParamsError{Context: "TargetCapacitySpecificationRequest"} + if v.TotalTargetCapacity == nil { + invalidParams.Add(smithy.NewErrParamRequired("TotalTargetCapacity")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -7744,6 +7759,9 @@ func validateVolumeDetail(v *types.VolumeDetail) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "VolumeDetail"} + if v.Size == nil { + invalidParams.Add(smithy.NewErrParamRequired("Size")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -7842,6 +7860,9 @@ func validateOpAllocateHostsInput(v *AllocateHostsInput) error { if v.AvailabilityZone == nil { invalidParams.Add(smithy.NewErrParamRequired("AvailabilityZone")) } + if v.Quantity == nil { + invalidParams.Add(smithy.NewErrParamRequired("Quantity")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -8064,6 +8085,9 @@ func validateOpAttachNetworkInterfaceInput(v *AttachNetworkInterfaceInput) error return nil } invalidParams := smithy.InvalidParamsError{Context: "AttachNetworkInterfaceInput"} + if v.DeviceIndex == nil { + invalidParams.Add(smithy.NewErrParamRequired("DeviceIndex")) + } if v.InstanceId == nil { invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) } @@ -8250,6 +8274,9 @@ func validateOpCancelSpotFleetRequestsInput(v *CancelSpotFleetRequestsInput) err if v.SpotFleetRequestIds == nil { invalidParams.Add(smithy.NewErrParamRequired("SpotFleetRequestIds")) } + if v.TerminateInstances == nil { + invalidParams.Add(smithy.NewErrParamRequired("TerminateInstances")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -8358,6 +8385,9 @@ func validateOpCreateCapacityReservationInput(v *CreateCapacityReservationInput) if len(v.InstancePlatform) == 0 { invalidParams.Add(smithy.NewErrParamRequired("InstancePlatform")) } + if v.InstanceCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -8430,6 +8460,9 @@ func validateOpCreateCustomerGatewayInput(v *CreateCustomerGatewayInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "CreateCustomerGatewayInput"} + if v.BgpAsn == nil { + invalidParams.Add(smithy.NewErrParamRequired("BgpAsn")) + } if len(v.Type) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Type")) } @@ -8690,6 +8723,9 @@ func validateOpCreateManagedPrefixListInput(v *CreateManagedPrefixListInput) err invalidParams.AddNested("Entries", err.(smithy.InvalidParamsError)) } } + if v.MaxEntries == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxEntries")) + } if v.AddressFamily == nil { invalidParams.Add(smithy.NewErrParamRequired("AddressFamily")) } @@ -8723,6 +8759,9 @@ func validateOpCreateNetworkAclEntryInput(v *CreateNetworkAclEntryInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "CreateNetworkAclEntryInput"} + if v.Egress == nil { + invalidParams.Add(smithy.NewErrParamRequired("Egress")) + } if v.NetworkAclId == nil { invalidParams.Add(smithy.NewErrParamRequired("NetworkAclId")) } @@ -8732,6 +8771,9 @@ func validateOpCreateNetworkAclEntryInput(v *CreateNetworkAclEntryInput) error { if len(v.RuleAction) == 0 { invalidParams.Add(smithy.NewErrParamRequired("RuleAction")) } + if v.RuleNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("RuleNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -8834,6 +8876,9 @@ func validateOpCreateReservedInstancesListingInput(v *CreateReservedInstancesLis if v.ClientToken == nil { invalidParams.Add(smithy.NewErrParamRequired("ClientToken")) } + if v.InstanceCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) + } if v.PriceSchedules == nil { invalidParams.Add(smithy.NewErrParamRequired("PriceSchedules")) } @@ -9023,6 +9068,9 @@ func validateOpCreateTrafficMirrorFilterRuleInput(v *CreateTrafficMirrorFilterRu if len(v.TrafficDirection) == 0 { invalidParams.Add(smithy.NewErrParamRequired("TrafficDirection")) } + if v.RuleNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("RuleNumber")) + } if len(v.RuleAction) == 0 { invalidParams.Add(smithy.NewErrParamRequired("RuleAction")) } @@ -9053,6 +9101,9 @@ func validateOpCreateTrafficMirrorSessionInput(v *CreateTrafficMirrorSessionInpu if v.TrafficMirrorFilterId == nil { invalidParams.Add(smithy.NewErrParamRequired("TrafficMirrorFilterId")) } + if v.SessionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("SessionNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -9432,6 +9483,9 @@ func validateOpDeleteFleetsInput(v *DeleteFleetsInput) error { if v.FleetIds == nil { invalidParams.Add(smithy.NewErrParamRequired("FleetIds")) } + if v.TerminateInstances == nil { + invalidParams.Add(smithy.NewErrParamRequired("TerminateInstances")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -9567,9 +9621,15 @@ func validateOpDeleteNetworkAclEntryInput(v *DeleteNetworkAclEntryInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "DeleteNetworkAclEntryInput"} + if v.Egress == nil { + invalidParams.Add(smithy.NewErrParamRequired("Egress")) + } if v.NetworkAclId == nil { invalidParams.Add(smithy.NewErrParamRequired("NetworkAclId")) } + if v.RuleNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("RuleNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10131,6 +10191,9 @@ func validateOpDescribeByoipCidrsInput(v *DescribeByoipCidrsInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "DescribeByoipCidrsInput"} + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -11405,6 +11468,9 @@ func validateOpModifyIdentityIdFormatInput(v *ModifyIdentityIdFormatInput) error if v.Resource == nil { invalidParams.Add(smithy.NewErrParamRequired("Resource")) } + if v.UseLongIds == nil { + invalidParams.Add(smithy.NewErrParamRequired("UseLongIds")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -11420,6 +11486,9 @@ func validateOpModifyIdFormatInput(v *ModifyIdFormatInput) error { if v.Resource == nil { invalidParams.Add(smithy.NewErrParamRequired("Resource")) } + if v.UseLongIds == nil { + invalidParams.Add(smithy.NewErrParamRequired("UseLongIds")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -12017,6 +12086,9 @@ func validateOpPurchaseReservedInstancesOfferingInput(v *PurchaseReservedInstanc return nil } invalidParams := smithy.InvalidParamsError{Context: "PurchaseReservedInstancesOfferingInput"} + if v.InstanceCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) + } if v.ReservedInstancesOfferingId == nil { invalidParams.Add(smithy.NewErrParamRequired("ReservedInstancesOfferingId")) } @@ -12195,6 +12267,9 @@ func validateOpReplaceNetworkAclEntryInput(v *ReplaceNetworkAclEntryInput) error return nil } invalidParams := smithy.InvalidParamsError{Context: "ReplaceNetworkAclEntryInput"} + if v.Egress == nil { + invalidParams.Add(smithy.NewErrParamRequired("Egress")) + } if v.NetworkAclId == nil { invalidParams.Add(smithy.NewErrParamRequired("NetworkAclId")) } @@ -12204,6 +12279,9 @@ func validateOpReplaceNetworkAclEntryInput(v *ReplaceNetworkAclEntryInput) error if len(v.RuleAction) == 0 { invalidParams.Add(smithy.NewErrParamRequired("RuleAction")) } + if v.RuleNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("RuleNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -12444,6 +12522,12 @@ func validateOpRestoreManagedPrefixListVersionInput(v *RestoreManagedPrefixListV if v.PrefixListId == nil { invalidParams.Add(smithy.NewErrParamRequired("PrefixListId")) } + if v.PreviousVersion == nil { + invalidParams.Add(smithy.NewErrParamRequired("PreviousVersion")) + } + if v.CurrentVersion == nil { + invalidParams.Add(smithy.NewErrParamRequired("CurrentVersion")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -12489,6 +12573,12 @@ func validateOpRunInstancesInput(v *RunInstancesInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "RunInstancesInput"} + if v.MaxCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxCount")) + } + if v.MinCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("MinCount")) + } if v.Monitoring != nil { if err := validateRunInstancesMonitoringEnabled(v.Monitoring); err != nil { invalidParams.AddNested("Monitoring", err.(smithy.InvalidParamsError)) diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index 5f6db237eb1..027df64a532 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -84,7 +84,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/wafregional v1.2.2 github.com/aws/aws-sdk-go-v2/service/wafv2 v1.4.0 github.com/aws/aws-sdk-go-v2/service/workspaces v1.2.2 - github.com/aws/smithy-go v1.3.1 + github.com/aws/smithy-go v1.3.2-0.20210505063801-56a3fe683671 github.com/google/go-cmp v0.5.4 ) diff --git a/service/internal/integrationtest/go.sum b/service/internal/integrationtest/go.sum index 9539b2f19b9..d298fe88453 100644 --- a/service/internal/integrationtest/go.sum +++ b/service/internal/integrationtest/go.sum @@ -1,5 +1,6 @@ -github.com/aws/smithy-go v1.3.1 h1:xJFO4pK0y9J8fCl34uGsSJX5KNnGbdARDlA5BPhXnwE= github.com/aws/smithy-go v1.3.1/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= +github.com/aws/smithy-go v1.3.2-0.20210505063801-56a3fe683671 h1:Vf2vq1uSFi2GRrxBqD1lWYjjLBNNoUYOFxXjqZ4akA4= +github.com/aws/smithy-go v1.3.2-0.20210505063801-56a3fe683671/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=