Class: Aws::AccessAnalyzer::Endpoints::ListAnalyzers

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

Class Method Summary collapse

Class Method Details

.build(context) ⇒ Object



239
240
241
242
243
244
245
246
247
248
249
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/endpoints.rb', line 239

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