Sha256: 4e65a2ab33d0cb93a4f1aa049d069fbde1d3a16b54bb013c0dae40aeda6790aa

Contents?: true

Size: 760 Bytes

Versions: 4

Compression:

Stored size: 760 Bytes

Contents

# frozen_string_literal: true

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE


module Aws::EventBridge
  # @api private
  module Endpoints

    class PutEvents
      def self.build(context)
        Aws::EventBridge::EndpointParameters.create(
          context.config,
          endpoint_id: context.params[:endpoint_id],
        )
      end
    end


    def self.parameters_for_operation(context)
      case context.operation_name
      when :put_events
        PutEvents.build(context)
      else
        Aws::EventBridge::EndpointParameters.create(context.config)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-sdk-eventbridge-1.75.0 lib/aws-sdk-eventbridge/endpoints.rb
aws-sdk-eventbridge-1.74.0 lib/aws-sdk-eventbridge/endpoints.rb
aws-sdk-eventbridge-1.73.0 lib/aws-sdk-eventbridge/endpoints.rb
aws-sdk-eventbridge-1.72.0 lib/aws-sdk-eventbridge/endpoints.rb