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.

UpdateAuthorizerInput

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

type UpdateAuthorizerInput struct { AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"` AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` Status *string `locationName:"status" type:"string" enum:"AuthorizerStatus"` TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"` TokenSigningPublicKeys map[string]*string `locationName:"tokenSigningPublicKeys" type:"map"` }

AuthorizerFunctionArn

Type: *string

The ARN of the authorizer's Lambda function.

AuthorizerName

Type: *string

The authorizer name.

AuthorizerName is a required field

Status

Type: *string

The status of the update authorizer request.

TokenKeyName

Type: *string

The key used to extract the token from the HTTP headers.

TokenSigningPublicKeys

Type: map[string]*string

The public keys used to verify the token signature.

Method

GoString

func (s UpdateAuthorizerInput) GoString() string

GoString returns the string representation

SetAuthorizerFunctionArn

func (s *UpdateAuthorizerInput) SetAuthorizerFunctionArn(v string) *UpdateAuthorizerInput

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

SetAuthorizerName

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

SetAuthorizerName sets the AuthorizerName field's value.

SetStatus

func (s *UpdateAuthorizerInput) SetStatus(v string) *UpdateAuthorizerInput

SetStatus sets the Status field's value.

SetTokenKeyName

func (s *UpdateAuthorizerInput) SetTokenKeyName(v string) *UpdateAuthorizerInput

SetTokenKeyName sets the TokenKeyName field's value.

SetTokenSigningPublicKeys

func (s *UpdateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]*string) *UpdateAuthorizerInput

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

String

func (s UpdateAuthorizerInput) String() string

String returns the string representation

Validate

func (s *UpdateAuthorizerInput) Validate() error

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

On this page: