class
Amazonite::ApiGateway::GetResourceRequest
- Amazonite::ApiGateway::GetResourceRequest
- Reference
- Object
Overview
Request to list information about a resource.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/get_resource_request.crConstructors
- .new(rest_api_id : String, resource_id : String, embed : Array(String) | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#embed : Array(String) | Nil
A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response.
-
#embed=(embed : Array(String) | Nil)
A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response.
-
#hash(hasher)
See
Object#hash(hasher) -
#resource_id : String
The identifier for the Resource resource.
-
#resource_id=(resource_id : String)
The identifier for the Resource resource.
-
#rest_api_id : String
The string identifier of the associated RestApi.
-
#rest_api_id=(rest_api_id : String)
The string identifier of the associated RestApi.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
A query parameter to retrieve the specified resources embedded in the returned Resource
representation in the response. This #embed parameter value is a list of comma-separated
strings. Currently, the request supports only retrieval of the embedded Method resources this
way. The query parameter value must be a single-valued list and contain the "methods" string.
For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.
A query parameter to retrieve the specified resources embedded in the returned Resource
representation in the response. This #embed parameter value is a list of comma-separated
strings. Currently, the request supports only retrieval of the embedded Method resources this
way. The query parameter value must be a single-valued list and contain the "methods" string.
For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.