# 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::GuardDuty module Endpoints class AcceptAdministratorInvitation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AcceptInvitation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ArchiveFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIPSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreatePublishingDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSampleFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateThreatIntelSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeclineInvitations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIPSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteInvitations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeletePublishingDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteThreatIntelSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeMalwareScans def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeOrganizationConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribePublishingDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableOrganizationAdminAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateFromAdministratorAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateFromMasterAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableOrganizationAdminAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetAdministratorAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFindingsStatistics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIPSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInvitationsCount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetMalwareScanSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetMasterAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetMemberDetectors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetRemainingFreeTrialDays def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetThreatIntelSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetUsageStatistics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class InviteMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDetectors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFilters def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListIPSets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListInvitations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListOrganizationAdminAccounts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListPublishingDestinations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTagsForResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListThreatIntelSets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartMonitoringMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StopMonitoringMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UnarchiveFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UntagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFindingsFeedback def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateIPSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateMalwareScanSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateMemberDetectors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateOrganizationConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdatePublishingDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateThreatIntelSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::GuardDuty::EndpointParameters.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