Class: Aws::Kinesis::EndpointParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kinesis::EndpointParameters
- Defined in:
- gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb
Overview
Endpoint parameters used to influence endpoints per request.
Constant Summary collapse
- PARAM_MAP =
{ 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze
Instance Attribute Summary collapse
-
#consumer_arn ⇒ String
The ARN of the Kinesis consumer.
-
#endpoint ⇒ String
Override the endpoint used to send this request.
-
#operation_type ⇒ String
Internal parameter to distinguish between Control/Data plane API and accordingly generate control/data plane endpoint.
-
#region ⇒ String
The AWS region used to dispatch the request.
-
#resource_arn ⇒ String
The ARN of the Kinesis resource.
-
#stream_arn ⇒ String
The ARN of the Kinesis stream.
-
#use_dual_stack ⇒ Boolean
When true, use the dual-stack endpoint.
-
#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.
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 79 def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end |
Instance Attribute Details
#consumer_arn ⇒ String
The ARN of the Kinesis consumer
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
#endpoint ⇒ String
Override the endpoint used to send this request
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
#operation_type ⇒ String
Internal parameter to distinguish between Control/Data plane API and accordingly generate control/data plane endpoint
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
#region ⇒ String
The AWS region used to dispatch the request.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
#resource_arn ⇒ String
The ARN of the Kinesis resource
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
#stream_arn ⇒ String
The ARN of the Kinesis stream
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
#use_dual_stack ⇒ Boolean
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.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.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 53 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :stream_arn, :operation_type, :consumer_arn, :resource_arn, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'StreamARN' => :stream_arn, 'OperationType' => :operation_type, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, }.freeze end def initialize( = {}) self[:region] = [:region] self[:use_dual_stack] = [:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = [:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = [:endpoint] self[:stream_arn] = [:stream_arn] self[:operation_type] = [:operation_type] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] end def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end end |
Class Method Details
.create(config, options = {}) ⇒ Object
92 93 94 95 96 97 98 99 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 92 def self.create(config, ={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge()) end |