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, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.freeze
Instance Attribute Summary collapse
-
#account_id ⇒ string
The AWS AccountId used for the request.
-
#account_id_endpoint_mode ⇒ string
The AccountId Endpoint Mode.
-
#channel_arn ⇒ string
The ARN of the Kinesis data channel.
-
#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.
-
#queue_arn ⇒ string
The ARN of the Kinesis queue.
-
#region ⇒ string
The AWS region used to dispatch the request.
-
#resource_arn ⇒ string
The ARN of the Kinesis resource.
-
#resource_type ⇒ string
The type of Kinesis resource targeted by the operation (e.g., queue).
-
#stream_arn ⇒ string
The ARN of the Kinesis stream.
-
#stream_id ⇒ string
The unique identifier 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.
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 121 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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] end |
Instance Attribute Details
#account_id ⇒ string
The AWS AccountId used for the request.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#account_id_endpoint_mode ⇒ string
The AccountId Endpoint Mode.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#channel_arn ⇒ string
The ARN of the Kinesis data channel
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#consumer_arn ⇒ string
The ARN of the Kinesis consumer
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#endpoint ⇒ string
Override the endpoint used to send this request
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#operation_type ⇒ string
Internal parameter to distinguish between Control/Data plane API and accordingly generate control/data plane endpoint
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#queue_arn ⇒ string
The ARN of the Kinesis queue
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#region ⇒ string
The AWS region used to dispatch the request.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#resource_arn ⇒ string
The ARN of the Kinesis resource
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#resource_type ⇒ string
The type of Kinesis resource targeted by the operation (e.g., queue). Used for endpoint routing.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#stream_arn ⇒ string
The ARN of the Kinesis stream
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
#stream_id ⇒ string
The unique identifier of the Kinesis stream
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.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.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.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.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 83 EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, :operation_type, :stream_id, :stream_arn, :consumer_arn, :resource_arn, :channel_arn, :queue_arn, :resource_type, :account_id, :account_id_endpoint_mode, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, 'OperationType' => :operation_type, 'StreamId' => :stream_id, 'StreamARN' => :stream_arn, 'ConsumerARN' => :consumer_arn, 'ResourceARN' => :resource_arn, 'ChannelARN' => :channel_arn, 'QueueARN' => :queue_arn, 'ResourceType' => :resource_type, 'AccountId' => :account_id, 'AccountIdEndpointMode' => :account_id_endpoint_mode, }.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[:operation_type] = [:operation_type] self[:stream_id] = [:stream_id] self[:stream_arn] = [:stream_arn] self[:consumer_arn] = [:consumer_arn] self[:resource_arn] = [:resource_arn] self[:channel_arn] = [:channel_arn] self[:queue_arn] = [:queue_arn] self[:resource_type] = [:resource_type] self[:resource_type] = "" if self[:resource_type].nil? self[:account_id] = [:account_id] self[:account_id_endpoint_mode] = [:account_id_endpoint_mode] 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end end |
Class Method Details
.create(config, options = {}) ⇒ Object
141 142 143 144 145 146 147 148 149 150 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoint_parameters.rb', line 141 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), account_id: config.credentials.credentials.account_id, account_id_endpoint_mode: config.account_id_endpoint_mode, }.merge()) end |