Method: Aws::SESV2::EndpointParameters.create

Defined in:
lib/aws-sdk-sesv2/endpoint_parameters.rb

.create(config, options = {}) ⇒ Object



68
69
70
71
72
73
74
75
# File 'lib/aws-sdk-sesv2/endpoint_parameters.rb', line 68

def self.create(config, options={})
  new({
    region: config.region,
    use_dual_stack: config.use_dualstack_endpoint,
    use_fips: config.use_fips_endpoint,
    endpoint: (config.endpoint.to_s unless config.regional_endpoint),
  }.merge(options))
end