Class: Aws::APIGateway::Types::GetResourceRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::APIGateway::Types::GetResourceRequest
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Request to list information about a resource.
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #embed  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. 
- 
  
    
      #resource_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier for the Resource resource. 
- 
  
    
      #rest_api_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The string identifier of the associated RestApi. 
Instance Attribute Details
#embed ⇒ Array<String>
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`.
| 3007 3008 3009 3010 3011 3012 3013 | # File 'lib/aws-sdk-apigateway/types.rb', line 3007 class GetResourceRequest < Struct.new( :rest_api_id, :resource_id, :embed) SENSITIVE = [] include Aws::Structure end | 
#resource_id ⇒ String
The identifier for the Resource resource.
| 3007 3008 3009 3010 3011 3012 3013 | # File 'lib/aws-sdk-apigateway/types.rb', line 3007 class GetResourceRequest < Struct.new( :rest_api_id, :resource_id, :embed) SENSITIVE = [] include Aws::Structure end | 
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
| 3007 3008 3009 3010 3011 3012 3013 | # File 'lib/aws-sdk-apigateway/types.rb', line 3007 class GetResourceRequest < Struct.new( :rest_api_id, :resource_id, :embed) SENSITIVE = [] include Aws::Structure end |