Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AuthInfo = AuthInfo' {
- actionType :: Maybe ActionType
- resources :: [Text]
- newAuthInfo :: AuthInfo
- authInfo_actionType :: Lens' AuthInfo (Maybe ActionType)
- authInfo_resources :: Lens' AuthInfo [Text]
Documentation
A collection of authorization information.
See: newAuthInfo
smart constructor.
AuthInfo' | |
|
Instances
Eq AuthInfo Source # | |
Read AuthInfo Source # | |
Show AuthInfo Source # | |
Generic AuthInfo Source # | |
NFData AuthInfo Source # | |
Defined in Amazonka.IoT.Types.AuthInfo | |
Hashable AuthInfo Source # | |
Defined in Amazonka.IoT.Types.AuthInfo | |
ToJSON AuthInfo Source # | |
Defined in Amazonka.IoT.Types.AuthInfo | |
FromJSON AuthInfo Source # | |
type Rep AuthInfo Source # | |
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.