Sha256: b9312e9f988741002cddb56d1954508c17236fa53145ee3fc33dcc59df9308d2

Contents?: true

Size: 1.24 KB

Versions: 75

Compression:

Stored size: 1.24 KB

Contents

module Seahorse
  module Model
    class Operation

      def initialize
        @http_method = 'POST'
        @http_request_uri = '/'
        @deprecated = false
        @errors = []
        @metadata = {}
        @async = false
      end

      # @return [String, nil]
      attr_accessor :name

      # @return [String]
      attr_accessor :http_method

      # @return [String]
      attr_accessor :http_request_uri

      # @return [Boolean]
      attr_accessor :deprecated

      # @return [Boolean]
      attr_accessor :endpoint_operation

      # @return [Hash]
      attr_accessor :endpoint_discovery

      # @return [String, nil]
      attr_accessor :documentation

      # @return [Hash, nil]
      attr_accessor :endpoint_pattern

      # @return [String, nil]
      attr_accessor :authorizer

      # @return [ShapeRef, nil]
      attr_accessor :input

      # @return [ShapeRef, nil]
      attr_accessor :output

      # @return [Array<ShapeRef>]
      attr_accessor :errors

      # APIG only
      # @return [Boolean]
      attr_accessor :require_apikey

      # @return [Boolean]
      attr_accessor :async

      def [](key)
        @metadata[key.to_s]
      end

      def []=(key, value)
        @metadata[key.to_s] = value
      end

    end
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
aws-sdk-core-3.68.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.67.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.66.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.65.1 lib/seahorse/model/operation.rb
aws-sdk-core-3.65.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.64.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.63.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.62.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.61.2 lib/seahorse/model/operation.rb
aws-sdk-core-3.61.1 lib/seahorse/model/operation.rb
aws-sdk-core-3.61.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.60.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.59.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.58.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.57.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.56.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.55.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.54.2 lib/seahorse/model/operation.rb
aws-sdk-core-3.54.1 lib/seahorse/model/operation.rb
aws-sdk-core-3.54.0 lib/seahorse/model/operation.rb