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.

AuthorizerDescription

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

type AuthorizerDescription struct { AuthorizerArn *string `locationName:"authorizerArn" type:"string"` AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"` AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` Status *string `locationName:"status" type:"string" enum:"AuthorizerStatus"` TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"` TokenSigningPublicKeys map[string]*string `locationName:"tokenSigningPublicKeys" type:"map"` }

The authorizer description.

AuthorizerArn

Type: *string

The authorizer ARN.

AuthorizerFunctionArn

Type: *string

The authorizer's Lambda function ARN.

AuthorizerName

Type: *string

The authorizer name.

CreationDate

Type: *time.Time

The UNIX timestamp of when the authorizer was created.

LastModifiedDate

Type: *time.Time

The UNIX timestamp of when the authorizer was last updated.

Status

Type: *string

The status of the authorizer.

TokenKeyName

Type: *string

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

TokenSigningPublicKeys

Type: map[string]*string

The public keys used to validate the token signature returned by your custom authentication service.

Method

GoString

func (s AuthorizerDescription) GoString() string

GoString returns the string representation

SetAuthorizerArn

func (s *AuthorizerDescription) SetAuthorizerArn(v string) *AuthorizerDescription

SetAuthorizerArn sets the AuthorizerArn field's value.

SetAuthorizerFunctionArn

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

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

SetAuthorizerName

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

SetAuthorizerName sets the AuthorizerName field's value.

SetCreationDate

func (s *AuthorizerDescription) SetCreationDate(v time.Time) *AuthorizerDescription

SetCreationDate sets the CreationDate field's value.

SetLastModifiedDate

func (s *AuthorizerDescription) SetLastModifiedDate(v time.Time) *AuthorizerDescription

SetLastModifiedDate sets the LastModifiedDate field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTokenKeyName

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

SetTokenKeyName sets the TokenKeyName field's value.

SetTokenSigningPublicKeys

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

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

String

func (s AuthorizerDescription) String() string

String returns the string representation

On this page: