lib/aws-sdk-guardduty/endpoints.rb in aws-sdk-guardduty-1.93.0 vs lib/aws-sdk-guardduty/endpoints.rb in aws-sdk-guardduty-1.94.0
- old
+ new
@@ -94,10 +94,24 @@
endpoint: endpoint,
)
end
end
+ class CreateMalwareProtectionPlan
+ 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
@@ -220,10 +234,24 @@
endpoint: endpoint,
)
end
end
+ class DeleteMalwareProtectionPlan
+ 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
@@ -486,10 +514,24 @@
endpoint: endpoint,
)
end
end
+ class GetMalwareProtectionPlan
+ 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
@@ -696,10 +738,24 @@
endpoint: endpoint,
)
end
end
+ class ListMalwareProtectionPlans
+ 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
@@ -893,9 +949,23 @@
)
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 UpdateMalwareProtectionPlan
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
Aws::GuardDuty::EndpointParameters.new(