lib/aws-sdk-securityhub/endpoints.rb in aws-sdk-securityhub-1.96.0 vs lib/aws-sdk-securityhub/endpoints.rb in aws-sdk-securityhub-1.97.0

- old
+ new

@@ -94,10 +94,24 @@ endpoint: endpoint, ) end end + class BatchGetConfigurationPolicyAssociations + 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 @@ -206,10 +220,24 @@ endpoint: endpoint, ) end end + class CreateConfigurationPolicy + 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 @@ -276,10 +304,24 @@ endpoint: endpoint, ) end end + class DeleteConfigurationPolicy + 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 @@ -556,10 +598,38 @@ endpoint: endpoint, ) end end + class GetConfigurationPolicy + 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 GetConfigurationPolicyAssociation + 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 @@ -724,10 +794,38 @@ endpoint: endpoint, ) end end + class ListConfigurationPolicies + 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 ListConfigurationPolicyAssociations + 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 @@ -836,10 +934,38 @@ endpoint: endpoint, ) end end + class StartConfigurationPolicyAssociation + 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 StartConfigurationPolicyDisassociation + 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 @@ -865,9 +991,23 @@ ) 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 UpdateConfigurationPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::SecurityHub::EndpointParameters.new(