Class: Aws::FSx::Endpoints::DescribeDataRepositoryTasks

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-fsx/endpoints.rb

Class Method Summary collapse

Class Method Details

.build(context) ⇒ Object



323
324
325
326
327
328
329
330
331
332
333
# File 'lib/aws-sdk-fsx/endpoints.rb', line 323

def self.build(context)
  unless context.config.regional_endpoint
    endpoint = context.config.endpoint.to_s
  end
  Aws::FSx::EndpointParameters.new(
    region: context.config.region,
    use_dual_stack: context.config.use_dualstack_endpoint,
    use_fips: context.config.use_fips_endpoint,
    endpoint: endpoint,
  )
end