You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::APIGateway::Types::CreateResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  rest_api_id: "String", # required
  parent_id: "String", # required
  path_part: "String", # required
}

Requests API Gateway to create a Resource resource.

Instance Attribute Summary collapse

Instance Attribute Details

#parent_id ⇒ String

[Required] The parent resource\'s identifier.

Returns:

  • (String) —

    [Required] The parent resource\'s identifier.

#path_part ⇒ String

The last path segment for this resource.

Returns:

  • (String) —

    The last path segment for this resource.

#rest_api_id ⇒ String

[Required] The string identifier of the associated RestApi.

Returns:

  • (String) —

    [Required] The string identifier of the associated RestApi.