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.

TestInvokeAuthorizerInput

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

type TestInvokeAuthorizerInput struct { AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` Token *string `locationName:"token" min:"1" type:"string" required:"true"` TokenSignature *string `locationName:"tokenSignature" min:"1" type:"string" required:"true"` }

AuthorizerName

Type: *string

The custom authorizer name.

AuthorizerName is a required field

Token

Type: *string

The token returned by your custom authentication service.

Token is a required field

TokenSignature

Type: *string

The signature made with the token and your custom authentication service's private key.

TokenSignature is a required field

Method

GoString

func (s TestInvokeAuthorizerInput) GoString() string

GoString returns the string representation

SetAuthorizerName

func (s *TestInvokeAuthorizerInput) SetAuthorizerName(v string) *TestInvokeAuthorizerInput

SetAuthorizerName sets the AuthorizerName field's value.

SetToken

func (s *TestInvokeAuthorizerInput) SetToken(v string) *TestInvokeAuthorizerInput

SetToken sets the Token field's value.

SetTokenSignature

func (s *TestInvokeAuthorizerInput) SetTokenSignature(v string) *TestInvokeAuthorizerInput

SetTokenSignature sets the TokenSignature field's value.

String

func (s TestInvokeAuthorizerInput) String() string

String returns the string representation

Validate

func (s *TestInvokeAuthorizerInput) Validate() error

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

On this page: