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.

GetApiKeysOutput

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

type GetApiKeysOutput struct { Items []*ApiKey `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` Warnings []*string `locationName:"warnings" type:"list"` }

Represents a collection of API keys as represented by an ApiKeys resource.

Use API Keys (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html)

Items

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html)

Position

Type: *string

Warnings

Type: []*string

A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.

Method

GoString

func (s GetApiKeysOutput) GoString() string

GoString returns the string representation

SetItems

func (s *GetApiKeysOutput) SetItems(v []*ApiKey) *GetApiKeysOutput

SetItems sets the Items field's value.

SetPosition

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

SetPosition sets the Position field's value.

SetWarnings

func (s *GetApiKeysOutput) SetWarnings(v []*string) *GetApiKeysOutput

SetWarnings sets the Warnings field's value.

String

func (s GetApiKeysOutput) String() string

String returns the string representation

On this page: