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.

GetApiKeyInput

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

type GetApiKeyInput struct { ApiKey *string `location:"uri" locationName:"api_Key" type:"string" required:"true"` IncludeValue *bool `location:"querystring" locationName:"includeValue" type:"boolean"` }

A request to get information about the current ApiKey resource.

ApiKey

Type: *string

[Required] The identifier of the ApiKey resource.

ApiKey is a required field

IncludeValue

Type: *bool

A boolean flag to specify whether (true) or not (false) the result contains the key value.

Method

GoString

func (s GetApiKeyInput) GoString() string

GoString returns the string representation

SetApiKey

func (s *GetApiKeyInput) SetApiKey(v string) *GetApiKeyInput

SetApiKey sets the ApiKey field's value.

SetIncludeValue

func (s *GetApiKeyInput) SetIncludeValue(v bool) *GetApiKeyInput

SetIncludeValue sets the IncludeValue field's value.

String

func (s GetApiKeyInput) String() string

String returns the string representation

Validate

func (s *GetApiKeyInput) Validate() error

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

On this page: