Class: Aws::ApplicationSignals::EndpointParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationSignals::EndpointParameters
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-applicationsignals/endpoint_parameters.rb
Overview
Endpoint parameters used to influence endpoints per request.
Constant Summary collapse
- PARAM_MAP =
{ 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'Region' => :region, }.freeze
Instance Attribute Summary collapse
-
#endpoint ⇒ String
Override the endpoint used to send this request.
-
#region ⇒ String
The AWS region used to dispatch the request.
-
#use_fips ⇒ Boolean
When true, send this request to the FIPS-compliant regional endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ EndpointParameters
constructor
A new instance of EndpointParameters.
Constructor Details
#initialize(options = {}) ⇒ EndpointParameters
Returns a new instance of EndpointParameters.
44 45 46 47 48 49 |
# File 'lib/aws-sdk-applicationsignals/endpoint_parameters.rb', line 44 def initialize( = {}) self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:region] = [:region] end |
Instance Attribute Details
#endpoint ⇒ String
Override the endpoint used to send this request
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-applicationsignals/endpoint_parameters.rb', line 28 EndpointParameters = Struct.new( :use_fips, :endpoint, :region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'Region' => :region, }.freeze end def initialize( = {}) self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:region] = [:region] end def self.create(config, ={}) new({ use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), region: config.region, }.merge()) end end |
#region ⇒ String
The AWS region used to dispatch the request.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-applicationsignals/endpoint_parameters.rb', line 28 EndpointParameters = Struct.new( :use_fips, :endpoint, :region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'Region' => :region, }.freeze end def initialize( = {}) self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:region] = [:region] end def self.create(config, ={}) new({ use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), region: config.region, }.merge()) end end |
#use_fips ⇒ Boolean
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-applicationsignals/endpoint_parameters.rb', line 28 EndpointParameters = Struct.new( :use_fips, :endpoint, :region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'Region' => :region, }.freeze end def initialize( = {}) self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:region] = [:region] end def self.create(config, ={}) new({ use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), region: config.region, }.merge()) end end |
Class Method Details
.create(config, options = {}) ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/aws-sdk-applicationsignals/endpoint_parameters.rb', line 51 def self.create(config, ={}) new({ use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), region: config.region, }.merge()) end |