AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetResourcesInput

import "github.com/aws/aws-sdk-go/service/apigateway"

type GetResourcesInput struct { Embed []*string `location:"querystring" locationName:"embed" type:"list"` Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` Position *string `location:"querystring" locationName:"position" type:"string"` RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` }

Request to list information about a collection of resources.

Embed

Type: []*string

A query parameter used to retrieve the specified resources embedded in the returned Resources resource 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?embed=methods.

Limit

Type: *int64

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

Position

Type: *string

The current pagination position in the paged result set.

RestApiId

Type: *string

[Required] The string identifier of the associated RestApi.

RestApiId is a required field

Method

GoString

func (s GetResourcesInput) GoString() string

GoString returns the string representation

SetEmbed

func (s *GetResourcesInput) SetEmbed(v []*string) *GetResourcesInput

SetEmbed sets the Embed field's value.

SetLimit

func (s *GetResourcesInput) SetLimit(v int64) *GetResourcesInput

SetLimit sets the Limit field's value.

SetPosition

func (s *GetResourcesInput) SetPosition(v string) *GetResourcesInput

SetPosition sets the Position field's value.

SetRestApiId

func (s *GetResourcesInput) SetRestApiId(v string) *GetResourcesInput

SetRestApiId sets the RestApiId field's value.

String

func (s GetResourcesInput) String() string

String returns the string representation

Validate

func (s *GetResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: