# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::EC2 # @api private module Endpoints class AcceptAddressTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptReservedInstancesExchangeQuote def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptTransitGatewayMulticastDomainAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptTransitGatewayPeeringAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptTransitGatewayVpcAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptVpcEndpointConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptVpcPeeringConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AdvertiseByoipCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AllocateAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AllocateHosts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AllocateIpamPoolCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ApplySecurityGroupsToClientVpnTargetNetwork def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssignIpv6Addresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssignPrivateIpAddresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssignPrivateNatGatewayAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateClientVpnTargetNetwork def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateDhcpOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateEnclaveCertificateIamRole def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateIamInstanceProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateInstanceEventWindow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateIpamByoasn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateIpamResourceDiscovery def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateNatGatewayAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateSubnetCidrBlock def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateTransitGatewayMulticastDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateTransitGatewayPolicyTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateTransitGatewayRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateTrunkInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateVpcCidrBlock def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachClassicLinkVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachInternetGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachNetworkInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachVerifiedAccessTrustProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachVpnGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AuthorizeClientVpnIngress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AuthorizeSecurityGroupEgress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AuthorizeSecurityGroupIngress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BundleInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelBundleTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelCapacityReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelCapacityReservationFleets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelConversionTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelExportTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelImageLaunchPermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelImportTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelReservedInstancesListing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelSpotFleetRequests def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelSpotInstanceRequests def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ConfirmProductInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CopyFpgaImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CopyImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CopySnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCapacityReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCapacityReservationBySplitting def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCapacityReservationFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCarrierGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateClientVpnEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateClientVpnRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCoipCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCoipPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCustomerGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDefaultSubnet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDefaultVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDhcpOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateEgressOnlyInternetGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFlowLogs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFpgaImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInstanceConnectEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInstanceEventWindow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInstanceExportTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInternetGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpam def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpamExternalResourceVerificationToken def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpamPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpamResourceDiscovery def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpamScope def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateKeyPair def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLaunchTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLaunchTemplateVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLocalGatewayRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLocalGatewayRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLocalGatewayRouteTableVpcAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateManagedPrefixList def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNatGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkAcl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkAclEntry def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkInsightsAccessScope def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkInsightsPath def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkInterfacePermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreatePlacementGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreatePublicIpv4Pool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateReplaceRootVolumeTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateReservedInstancesListing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateRestoreImageTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSecurityGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSnapshots def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSpotDatafeedSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateStoreImageTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSubnet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSubnetCidrReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTrafficMirrorFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTrafficMirrorFilterRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTrafficMirrorSession def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTrafficMirrorTarget def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayConnect def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayConnectPeer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayMulticastDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayPeeringAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayPolicyTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayPrefixListReference def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayRouteTableAnnouncement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTransitGatewayVpcAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVerifiedAccessEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVerifiedAccessGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVerifiedAccessInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVerifiedAccessTrustProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpcEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpcEndpointConnectionNotification def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpcEndpointServiceConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpcPeeringConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpnConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpnConnectionRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVpnGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCarrierGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteClientVpnEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteClientVpnRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCoipCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCoipPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCustomerGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteDhcpOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteEgressOnlyInternetGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFleets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFlowLogs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFpgaImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteInstanceConnectEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteInstanceEventWindow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteInternetGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpam def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpamExternalResourceVerificationToken def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpamPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpamResourceDiscovery def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpamScope def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteKeyPair def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLaunchTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLaunchTemplateVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLocalGatewayRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLocalGatewayRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLocalGatewayRouteTableVpcAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteManagedPrefixList def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNatGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkAcl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkAclEntry def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkInsightsAccessScope def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkInsightsAccessScopeAnalysis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkInsightsAnalysis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkInsightsPath def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkInterfacePermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeletePlacementGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeletePublicIpv4Pool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteQueuedReservedInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSecurityGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSpotDatafeedSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSubnet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSubnetCidrReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTrafficMirrorFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTrafficMirrorFilterRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTrafficMirrorSession def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTrafficMirrorTarget def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayConnect def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayConnectPeer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayMulticastDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayPeeringAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayPolicyTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayPrefixListReference def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayRouteTableAnnouncement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTransitGatewayVpcAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVerifiedAccessEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVerifiedAccessGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVerifiedAccessInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVerifiedAccessTrustProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpcEndpointConnectionNotifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpcEndpointServiceConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpcEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpcPeeringConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpnConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpnConnectionRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVpnGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeprovisionByoipCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeprovisionIpamByoasn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeprovisionIpamPoolCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeprovisionPublicIpv4PoolCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeregisterImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeregisterInstanceEventNotificationAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeregisterTransitGatewayMulticastGroupMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeregisterTransitGatewayMulticastGroupSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAccountAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAddressTransfers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAddresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAddressesAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAggregateIdFormat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAvailabilityZones def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAwsNetworkPerformanceMetricSubscriptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeBundleTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeByoipCidrs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCapacityBlockOfferings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCapacityReservationFleets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCapacityReservations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCarrierGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClassicLinkInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientVpnAuthorizationRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientVpnConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientVpnEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientVpnRoutes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientVpnTargetNetworks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCoipPools def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeConversionTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCustomerGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeDhcpOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeEgressOnlyInternetGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeElasticGpus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeExportImageTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeExportTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFastLaunchImages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFastSnapshotRestores def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFleetHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFleetInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFleets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFlowLogs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFpgaImageAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFpgaImages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeHostReservationOfferings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeHostReservations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeHosts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIamInstanceProfileAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIdFormat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIdentityIdFormat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeImageAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeImages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeImportImageTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeImportSnapshotTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceConnectEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceCreditSpecifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceEventNotificationAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceEventWindows def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceTopology def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceTypeOfferings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstanceTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeInternetGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpamByoasn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpamExternalResourceVerificationTokens def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpamPools def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpamResourceDiscoveries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpamResourceDiscoveryAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpamScopes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpams def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpv6Pools def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeKeyPairs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLaunchTemplateVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLaunchTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLocalGatewayRouteTableVpcAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLocalGatewayRouteTables def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLocalGatewayVirtualInterfaceGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLocalGatewayVirtualInterfaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLocalGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeLockedSnapshots def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeMacHosts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeManagedPrefixLists def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeMovingAddresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNatGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkAcls def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInsightsAccessScopeAnalyses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInsightsAccessScopes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInsightsAnalyses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInsightsPaths def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInterfaceAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInterfacePermissions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNetworkInterfaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribePlacementGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribePrefixLists def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribePrincipalIdFormat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribePublicIpv4Pools def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeRegions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeReplaceRootVolumeTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeReservedInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeReservedInstancesListings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeReservedInstancesModifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeReservedInstancesOfferings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeRouteTables def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeScheduledInstanceAvailability def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeScheduledInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSecurityGroupReferences def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSecurityGroupRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSecurityGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSnapshotAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSnapshotTierStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSnapshots def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSpotDatafeedSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSpotFleetInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSpotFleetRequestHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSpotFleetRequests def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSpotInstanceRequests def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSpotPriceHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeStaleSecurityGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeStoreImageTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSubnets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTrafficMirrorFilterRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTrafficMirrorFilters def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTrafficMirrorSessions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTrafficMirrorTargets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayAttachments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayConnectPeers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayConnects def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayMulticastDomains def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayPeeringAttachments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayPolicyTables def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayRouteTableAnnouncements def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayRouteTables def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGatewayVpcAttachments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTransitGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTrunkInterfaceAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVerifiedAccessEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVerifiedAccessGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVerifiedAccessInstanceLoggingConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVerifiedAccessInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVerifiedAccessTrustProviders def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVolumeAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVolumeStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVolumes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVolumesModifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcClassicLink def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcClassicLinkDnsSupport def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcEndpointConnectionNotifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcEndpointConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcEndpointServiceConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcEndpointServicePermissions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcEndpointServices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcPeeringConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpcs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpnConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVpnGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachClassicLinkVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachInternetGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachNetworkInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachVerifiedAccessTrustProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachVpnGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableAddressTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableAwsNetworkPerformanceMetricSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableEbsEncryptionByDefault def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableFastLaunch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableFastSnapshotRestores def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableImageBlockPublicAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableImageDeprecation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableImageDeregistrationProtection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableIpamOrganizationAdminAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableSerialConsoleAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableSnapshotBlockPublicAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableTransitGatewayRouteTablePropagation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableVgwRoutePropagation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableVpcClassicLink def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableVpcClassicLinkDnsSupport def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateClientVpnTargetNetwork def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateEnclaveCertificateIamRole def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateIamInstanceProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateInstanceEventWindow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateIpamByoasn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateIpamResourceDiscovery def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateNatGatewayAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateSubnetCidrBlock def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateTransitGatewayMulticastDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateTransitGatewayPolicyTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateTransitGatewayRouteTable def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateTrunkInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateVpcCidrBlock def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableAddressTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableAwsNetworkPerformanceMetricSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableEbsEncryptionByDefault def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableFastLaunch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableFastSnapshotRestores def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableImageBlockPublicAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableImageDeprecation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableImageDeregistrationProtection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableIpamOrganizationAdminAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableReachabilityAnalyzerOrganizationSharing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableSerialConsoleAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableSnapshotBlockPublicAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableTransitGatewayRouteTablePropagation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableVgwRoutePropagation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableVolumeIO def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableVpcClassicLink def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableVpcClassicLinkDnsSupport def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ExportClientVpnClientCertificateRevocationList def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ExportClientVpnClientConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ExportImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ExportTransitGatewayRoutes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetAssociatedEnclaveCertificateIamRoles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetAssociatedIpv6PoolCidrs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetAwsNetworkPerformanceData def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCapacityReservationUsage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCoipPoolUsage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetConsoleOutput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetConsoleScreenshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetDefaultCreditSpecification def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEbsDefaultKmsKeyId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEbsEncryptionByDefault def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFlowLogsIntegrationTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetGroupsForCapacityReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetHostReservationPurchasePreview def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetImageBlockPublicAccessState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInstanceMetadataDefaults def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInstanceTpmEkPub def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInstanceTypesFromInstanceRequirements def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInstanceUefiData def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamAddressHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamDiscoveredAccounts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamDiscoveredPublicAddresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamDiscoveredResourceCidrs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamPoolAllocations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamPoolCidrs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpamResourceCidrs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetLaunchTemplateData def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetManagedPrefixListAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetManagedPrefixListEntries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetNetworkInsightsAccessScopeAnalysisFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetNetworkInsightsAccessScopeContent def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetPasswordData def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetReservedInstancesExchangeQuote def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSecurityGroupsForVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSerialConsoleAccessStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSnapshotBlockPublicAccessState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSpotPlacementScores def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSubnetCidrReservations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayAttachmentPropagations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayMulticastDomainAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayPolicyTableAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayPolicyTableEntries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayPrefixListReferences def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayRouteTableAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTransitGatewayRouteTablePropagations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVerifiedAccessEndpointPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVerifiedAccessGroupPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVpnConnectionDeviceSampleConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVpnConnectionDeviceTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVpnTunnelReplacementStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportClientVpnClientCertificateRevocationList def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportKeyPair def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListImagesInRecycleBin def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListSnapshotsInRecycleBin def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class LockSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyAddressAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyAvailabilityZoneGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyCapacityReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyCapacityReservationFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyClientVpnEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyDefaultCreditSpecification def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyEbsDefaultKmsKeyId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyFpgaImageAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyHosts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIdFormat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIdentityIdFormat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyImageAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceCapacityReservationAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceCreditSpecification def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceEventStartTime def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceEventWindow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceMaintenanceOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceMetadataDefaults def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstanceMetadataOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyInstancePlacement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIpam def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIpamPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIpamResourceCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIpamResourceDiscovery def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyIpamScope def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyLaunchTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyLocalGatewayRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyManagedPrefixList def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyNetworkInterfaceAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyPrivateDnsNameOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyReservedInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySecurityGroupRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySnapshotAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySnapshotTier def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySpotFleetRequest def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySubnetAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyTrafficMirrorFilterNetworkServices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyTrafficMirrorFilterRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyTrafficMirrorSession def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyTransitGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyTransitGatewayPrefixListReference def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyTransitGatewayVpcAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessEndpointPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessGroupPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessInstanceLoggingConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVerifiedAccessTrustProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVolumeAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcEndpointConnectionNotification def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcEndpointServiceConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcEndpointServicePayerResponsibility def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcEndpointServicePermissions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcPeeringConnectionOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpcTenancy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpnConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpnConnectionOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpnTunnelCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyVpnTunnelOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class MonitorInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class MoveAddressToVpc def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class MoveByoipCidrToIpam def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class MoveCapacityReservationInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ProvisionByoipCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ProvisionIpamByoasn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ProvisionIpamPoolCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ProvisionPublicIpv4PoolCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PurchaseCapacityBlock def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PurchaseHostReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PurchaseReservedInstancesOffering def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PurchaseScheduledInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RebootInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RegisterImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RegisterInstanceEventNotificationAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RegisterTransitGatewayMulticastGroupMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RegisterTransitGatewayMulticastGroupSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RejectTransitGatewayMulticastDomainAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RejectTransitGatewayPeeringAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RejectTransitGatewayVpcAttachment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RejectVpcEndpointConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RejectVpcPeeringConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReleaseAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReleaseHosts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReleaseIpamPoolAllocation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceIamInstanceProfileAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceNetworkAclAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceNetworkAclEntry def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceRouteTableAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceTransitGatewayRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReplaceVpnTunnel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReportInstanceStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RequestSpotFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RequestSpotInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetAddressAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetEbsDefaultKmsKeyId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetFpgaImageAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetImageAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetInstanceAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetNetworkInterfaceAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetSnapshotAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreAddressToClassic def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreImageFromRecycleBin def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreManagedPrefixListVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreSnapshotFromRecycleBin def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreSnapshotTier def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RevokeClientVpnIngress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RevokeSecurityGroupEgress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RevokeSecurityGroupIngress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RunInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RunScheduledInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SearchLocalGatewayRoutes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SearchTransitGatewayMulticastGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SearchTransitGatewayRoutes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SendDiagnosticInterrupt def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartNetworkInsightsAccessScopeAnalysis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartNetworkInsightsAnalysis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartVpcEndpointServicePrivateDnsVerification def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StopInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TerminateClientVpnConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TerminateInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UnassignIpv6Addresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UnassignPrivateIpAddresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UnassignPrivateNatGatewayAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UnlockSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UnmonitorInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSecurityGroupRuleDescriptionsEgress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSecurityGroupRuleDescriptionsIngress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class WithdrawByoipCidr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EC2::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end end end