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.

CreateAuthorizerInput

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

type CreateAuthorizerInput struct { AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string" required:"true"` 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" required:"true"` TokenSigningPublicKeys map[string]*string `locationName:"tokenSigningPublicKeys" type:"map" required:"true"` }

AuthorizerFunctionArn

Type: *string

The ARN of the authorizer's Lambda function.

AuthorizerFunctionArn is a required field

AuthorizerName

Type: *string

The authorizer name.

AuthorizerName is a required field

Status

Type: *string

The status of the create authorizer request.

TokenKeyName

Type: *string

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

TokenKeyName is a required field

TokenSigningPublicKeys

Type: map[string]*string

The public keys used to verify the digital signature returned by your custom authentication service.

TokenSigningPublicKeys is a required field

Method

GoString

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

SetAuthorizerFunctionArn

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

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

SetAuthorizerName

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

SetAuthorizerName sets the AuthorizerName field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTokenKeyName

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

SetTokenKeyName sets the TokenKeyName field's value.

SetTokenSigningPublicKeys

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

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

String

func (s CreateAuthorizerInput) String() string

String returns the string representation

Validate

func (s *CreateAuthorizerInput) Validate() error

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

On this page: