Sha256: d3055ec2a0f29fec16fa978922cec9e424f53f5d99984cac99b111ba13f13b7c

Contents?: true

Size: 1.46 KB

Versions: 65

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

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 :http_checksum_required

      # @return [Hash]
      attr_accessor :http_checksum

      # @return [Hash]
      attr_accessor :request_compression

      # @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

65 entries across 65 versions & 1 rubygems

Version Path
aws-sdk-core-3.214.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.213.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.212.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.211.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.210.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.209.1 lib/seahorse/model/operation.rb
aws-sdk-core-3.209.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.208.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.207.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.206.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.205.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.204.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.203.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.202.2 lib/seahorse/model/operation.rb
aws-sdk-core-3.202.1 lib/seahorse/model/operation.rb
aws-sdk-core-3.202.0 lib/seahorse/model/operation.rb
aws-sdk-core-3.201.5 lib/seahorse/model/operation.rb
aws-sdk-core-3.201.4 lib/seahorse/model/operation.rb
aws-sdk-core-3.201.3 lib/seahorse/model/operation.rb
aws-sdk-core-3.201.2 lib/seahorse/model/operation.rb