Class: Aws::IoT::Endpoints::SetV2LoggingOptions

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

Class Method Summary collapse

Class Method Details

.build(context) ⇒ Object



2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
# File 'lib/aws-sdk-iot/endpoints.rb', line 2829

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