# 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::SecurityHub module Endpoints class AcceptAdministratorInvitation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchDeleteAutomationRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchDisableStandards def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchEnableStandards def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchGetAutomationRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchGetSecurityControls def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchGetStandardsControlAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchImportFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchUpdateAutomationRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchUpdateFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class BatchUpdateStandardsControlAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateActionTarget def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateAutomationRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFindingAggregator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInsight def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteActionTarget def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFindingAggregator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteInsight def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeActionTargets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeHub def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeProducts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeStandards def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeStandardsControls def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableImportFindingsForProduct def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableSecurityHub def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableImportFindingsForProduct def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class EnableSecurityHub def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEnabledStandards def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFindingAggregator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFindingHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInsightResults def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInsights def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAutomationRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListEnabledProductsForImport def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFindingAggregators def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListSecurityControlDefinitions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListStandardsControlAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateActionTarget def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFindingAggregator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateInsight def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( 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::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSecurityHubConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateStandardsControl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.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