libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.AuthInfo

Description

 
Synopsis

Documentation

data AuthInfo Source #

A collection of authorization information.

See: newAuthInfo smart constructor.

Constructors

AuthInfo' 

Fields

  • actionType :: Maybe ActionType

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

  • resources :: [Text]

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

Instances

Instances details
Eq AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

Read AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

Show AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

Generic AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

Associated Types

type Rep AuthInfo :: Type -> Type #

Methods

from :: AuthInfo -> Rep AuthInfo x #

to :: Rep AuthInfo x -> AuthInfo #

NFData AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

Methods

rnf :: AuthInfo -> () #

Hashable AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

Methods

hashWithSalt :: Int -> AuthInfo -> Int #

hash :: AuthInfo -> Int #

ToJSON AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

FromJSON AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

type Rep AuthInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthInfo

type Rep AuthInfo = D1 ('MetaData "AuthInfo" "Amazonka.IoT.Types.AuthInfo" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AuthInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActionType)) :*: S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newAuthInfo :: AuthInfo Source #

Create a value of AuthInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:actionType:AuthInfo', authInfo_actionType - The type of action for which the principal is being authorized.

$sel:resources:AuthInfo', authInfo_resources - The resources for which the principal is being authorized to perform the specified action.

authInfo_actionType :: Lens' AuthInfo (Maybe ActionType) Source #

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

authInfo_resources :: Lens' AuthInfo [Text] Source #

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