Class: Humidifier::ApiGateway::Method
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::ApiGateway::Method resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#api_key_required ⇒ Object
returns the ApiKeyRequired property.
-
#api_key_required=(value) ⇒ Object
sets the ApiKeyRequired property (Boolean).
-
#authorization_scopes ⇒ Object
returns the AuthorizationScopes property.
-
#authorization_scopes=(value) ⇒ Object
sets the AuthorizationScopes property (List).
-
#authorization_type ⇒ Object
returns the AuthorizationType property.
-
#authorization_type=(value) ⇒ Object
sets the AuthorizationType property (String).
-
#authorizer_id ⇒ Object
returns the AuthorizerId property.
-
#authorizer_id=(value) ⇒ Object
sets the AuthorizerId property (String).
-
#http_method ⇒ Object
returns the HttpMethod property.
-
#http_method=(value) ⇒ Object
sets the HttpMethod property (String).
-
#integration ⇒ Object
returns the Integration property.
-
#integration=(value) ⇒ Object
sets the Integration property (Structure).
-
#method_responses ⇒ Object
returns the MethodResponses property.
-
#method_responses=(value) ⇒ Object
sets the MethodResponses property (List).
-
#operation_name ⇒ Object
returns the OperationName property.
-
#operation_name=(value) ⇒ Object
sets the OperationName property (String).
-
#request_models ⇒ Object
returns the RequestModels property.
-
#request_models=(value) ⇒ Object
sets the RequestModels property (Map).
-
#request_parameters ⇒ Object
returns the RequestParameters property.
-
#request_parameters=(value) ⇒ Object
sets the RequestParameters property (Map).
-
#request_validator_id ⇒ Object
returns the RequestValidatorId property.
-
#request_validator_id=(value) ⇒ Object
sets the RequestValidatorId property (String).
-
#resource_id ⇒ Object
returns the ResourceId property.
-
#resource_id=(value) ⇒ Object
sets the ResourceId property (String).
-
#rest_api_id ⇒ Object
returns the RestApiId property.
-
#rest_api_id=(value) ⇒ Object
sets the RestApiId property (String).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#api_key_required ⇒ Object
returns the ApiKeyRequired property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def api_key_required properties['api_key_required'] end |
#api_key_required=(value) ⇒ Object
sets the ApiKeyRequired property (Boolean)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def api_key_required=(value) update_property('api_key_required', value) end |
#authorization_scopes ⇒ Object
returns the AuthorizationScopes property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def properties['authorization_scopes'] end |
#authorization_scopes=(value) ⇒ Object
sets the AuthorizationScopes property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def (value) update_property('authorization_scopes', value) end |
#authorization_type ⇒ Object
returns the AuthorizationType property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def properties['authorization_type'] end |
#authorization_type=(value) ⇒ Object
sets the AuthorizationType property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def (value) update_property('authorization_type', value) end |
#authorizer_id ⇒ Object
returns the AuthorizerId property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def properties['authorizer_id'] end |
#authorizer_id=(value) ⇒ Object
sets the AuthorizerId property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def (value) update_property('authorizer_id', value) end |
#http_method ⇒ Object
returns the HttpMethod property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def http_method properties['http_method'] end |
#http_method=(value) ⇒ Object
sets the HttpMethod property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def http_method=(value) update_property('http_method', value) end |
#integration ⇒ Object
returns the Integration property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def integration properties['integration'] end |
#integration=(value) ⇒ Object
sets the Integration property (Structure)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def integration=(value) update_property('integration', value) end |
#method_responses ⇒ Object
returns the MethodResponses property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def method_responses properties['method_responses'] end |
#method_responses=(value) ⇒ Object
sets the MethodResponses property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def method_responses=(value) update_property('method_responses', value) end |
#operation_name ⇒ Object
returns the OperationName property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def operation_name properties['operation_name'] end |
#operation_name=(value) ⇒ Object
sets the OperationName property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def operation_name=(value) update_property('operation_name', value) end |
#request_models ⇒ Object
returns the RequestModels property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def request_models properties['request_models'] end |
#request_models=(value) ⇒ Object
sets the RequestModels property (Map)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def request_models=(value) update_property('request_models', value) end |
#request_parameters ⇒ Object
returns the RequestParameters property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def request_parameters properties['request_parameters'] end |
#request_parameters=(value) ⇒ Object
sets the RequestParameters property (Map)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def request_parameters=(value) update_property('request_parameters', value) end |
#request_validator_id ⇒ Object
returns the RequestValidatorId property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def request_validator_id properties['request_validator_id'] end |
#request_validator_id=(value) ⇒ Object
sets the RequestValidatorId property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def request_validator_id=(value) update_property('request_validator_id', value) end |
#resource_id ⇒ Object
returns the ResourceId property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def resource_id properties['resource_id'] end |
#resource_id=(value) ⇒ Object
sets the ResourceId property (String)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def resource_id=(value) update_property('resource_id', value) end |
#rest_api_id ⇒ Object
returns the RestApiId property
130 131 132 |
# File 'lib/humidifier/magic.rb', line 130 def rest_api_id properties['rest_api_id'] end |
#rest_api_id=(value) ⇒ Object
sets the RestApiId property (String)
135 136 137 |
# File 'lib/humidifier/magic.rb', line 135 def rest_api_id=(value) update_property('rest_api_id', value) end |