You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Seahorse::Model::Operation
- Inherits:
-
Object
- Object
- Seahorse::Model::Operation
show all
- Defined in:
- aws-sdk-core/lib/seahorse/model/operation.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of Operation.
5
6
7
8
9
10
11
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 5
def initialize
@http_method = 'POST'
@http_request_uri = '/'
@deprecated = false
@errors = []
@metadata = {}
end
|
Instance Attribute Details
#deprecated ⇒ Boolean
23
24
25
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 23
def deprecated
@deprecated
end
|
#documentation ⇒ String?
32
33
34
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 32
def documentation
@documentation
end
|
#endpoint_discovery ⇒ Hash
29
30
31
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 29
def endpoint_discovery
@endpoint_discovery
end
|
#endpoint_operation ⇒ Boolean
26
27
28
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 26
def endpoint_operation
@endpoint_operation
end
|
#endpoint_pattern ⇒ Hash?
35
36
37
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 35
def endpoint_pattern
@endpoint_pattern
end
|
#errors ⇒ Array<ShapeRef>
44
45
46
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 44
def errors
@errors
end
|
#http_method ⇒ String
17
18
19
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 17
def http_method
@http_method
end
|
#http_request_uri ⇒ String
20
21
22
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 20
def http_request_uri
@http_request_uri
end
|
38
39
40
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 38
def input
@input
end
|
#name ⇒ String?
14
15
16
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 14
def name
@name
end
|
#output ⇒ ShapeRef?
41
42
43
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 41
def output
@output
end
|
Instance Method Details
#[](key) ⇒ Object
46
47
48
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 46
def [](key)
@metadata[key.to_s]
end
|
#[]=(key, value) ⇒ Object
50
51
52
|
# File 'aws-sdk-core/lib/seahorse/model/operation.rb', line 50
def []=(key, value)
@metadata[key.to_s] = value
end
|