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.

AuthInfo

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

type AuthInfo struct { ActionType *string `locationName:"actionType" type:"string" enum:"ActionType"` Resources []*string `locationName:"resources" type:"list"` }

A collection of authorization information.

ActionType

Type: *string

The type of action for which the principal is being authorized.

Resources

Type: []*string

The resources for which the principal is being authorized to perform the specified action.

Method

GoString

func (s AuthInfo) GoString() string

GoString returns the string representation

SetActionType

func (s *AuthInfo) SetActionType(v string) *AuthInfo

SetActionType sets the ActionType field's value.

SetResources

func (s *AuthInfo) SetResources(v []*string) *AuthInfo

SetResources sets the Resources field's value.

String

func (s AuthInfo) String() string

String returns the string representation

On this page: