lib/aws-sdk-securityhub/endpoints.rb in aws-sdk-securityhub-1.121.0 vs lib/aws-sdk-securityhub/endpoints.rb in aws-sdk-securityhub-1.122.0
- old
+ new
@@ -10,876 +10,11 @@
module Aws::SecurityHub
# @api private
module Endpoints
- class AcceptAdministratorInvitation
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
- class AcceptInvitation
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
+ def self.parameters_for_operation(context)
+ Aws::SecurityHub::EndpointParameters.create(context.config)
end
-
- class BatchDeleteAutomationRules
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchDisableStandards
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchEnableStandards
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchGetAutomationRules
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchGetConfigurationPolicyAssociations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchGetSecurityControls
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchGetStandardsControlAssociations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchImportFindings
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchUpdateAutomationRules
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchUpdateFindings
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class BatchUpdateStandardsControlAssociations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreateActionTarget
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreateAutomationRule
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreateConfigurationPolicy
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreateFindingAggregator
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreateInsight
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreateMembers
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeclineInvitations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteActionTarget
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteConfigurationPolicy
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteFindingAggregator
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteInsight
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteInvitations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteMembers
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DescribeActionTargets
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DescribeHub
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DescribeOrganizationConfiguration
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DescribeProducts
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DescribeStandards
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DescribeStandardsControls
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DisableImportFindingsForProduct
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DisableOrganizationAdminAccount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DisableSecurityHub
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DisassociateFromAdministratorAccount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DisassociateFromMasterAccount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DisassociateMembers
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class EnableImportFindingsForProduct
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class EnableOrganizationAdminAccount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class EnableSecurityHub
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetAdministratorAccount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetConfigurationPolicy
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetConfigurationPolicyAssociation
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetEnabledStandards
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetFindingAggregator
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetFindingHistory
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetFindings
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetInsightResults
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetInsights
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetInvitationsCount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetMasterAccount
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetMembers
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetSecurityControlDefinition
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class InviteMembers
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListAutomationRules
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListConfigurationPolicies
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListConfigurationPolicyAssociations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListEnabledProductsForImport
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListFindingAggregators
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListInvitations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListMembers
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListOrganizationAdminAccounts
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListSecurityControlDefinitions
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListStandardsControlAssociations
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListTagsForResource
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class StartConfigurationPolicyAssociation
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class StartConfigurationPolicyDisassociation
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class TagResource
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UntagResource
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateActionTarget
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateConfigurationPolicy
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateFindingAggregator
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateFindings
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateInsight
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateOrganizationConfiguration
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateSecurityControl
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateSecurityHubConfiguration
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateStandardsControl
- def self.build(context)
- Aws::SecurityHub::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
end
end