Class: Aws::APIGateway::Endpoints::UpdateMethodResponse

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

Class Method Summary collapse

Class Method Details

.build(context) ⇒ Object



1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/endpoints.rb', line 1569

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