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.

AuthResult

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

type AuthResult struct { Allowed *Allowed `locationName:"allowed" type:"structure"` AuthDecision *string `locationName:"authDecision" type:"string" enum:"AuthDecision"` AuthInfo *AuthInfo `locationName:"authInfo" type:"structure"` Denied *Denied `locationName:"denied" type:"structure"` MissingContextValues []*string `locationName:"missingContextValues" type:"list"` }

The authorizer result.

Allowed

Contains information that allowed the authorization.

AuthDecision

Type: *string

The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.

AuthInfo

A collection of authorization information.

Denied

Contains information that denied the authorization.

MissingContextValues

Type: []*string

Contains any missing context values found while evaluating policy.

Method

GoString

func (s AuthResult) GoString() string

GoString returns the string representation

SetAllowed

func (s *AuthResult) SetAllowed(v *Allowed) *AuthResult

SetAllowed sets the Allowed field's value.

SetAuthDecision

func (s *AuthResult) SetAuthDecision(v string) *AuthResult

SetAuthDecision sets the AuthDecision field's value.

SetAuthInfo

func (s *AuthResult) SetAuthInfo(v *AuthInfo) *AuthResult

SetAuthInfo sets the AuthInfo field's value.

SetDenied

func (s *AuthResult) SetDenied(v *Denied) *AuthResult

SetDenied sets the Denied field's value.

SetMissingContextValues

func (s *AuthResult) SetMissingContextValues(v []*string) *AuthResult

SetMissingContextValues sets the MissingContextValues field's value.

String

func (s AuthResult) String() string

String returns the string representation

On this page: