Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AddedPrincipal = AddedPrincipal' {}
- newAddedPrincipal :: AddedPrincipal
- addedPrincipal_principal :: Lens' AddedPrincipal (Maybe Text)
- addedPrincipal_principalType :: Lens' AddedPrincipal (Maybe PrincipalType)
- addedPrincipal_serviceId :: Lens' AddedPrincipal (Maybe Text)
- addedPrincipal_servicePermissionId :: Lens' AddedPrincipal (Maybe Text)
Documentation
data AddedPrincipal Source #
Describes a principal.
See: newAddedPrincipal
smart constructor.
AddedPrincipal' | |
|
Instances
newAddedPrincipal :: AddedPrincipal Source #
Create a value of AddedPrincipal
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:principal:AddedPrincipal'
, addedPrincipal_principal
- The Amazon Resource Name (ARN) of the principal.
$sel:principalType:AddedPrincipal'
, addedPrincipal_principalType
- The type of principal.
$sel:serviceId:AddedPrincipal'
, addedPrincipal_serviceId
- The ID of the service.
$sel:servicePermissionId:AddedPrincipal'
, addedPrincipal_servicePermissionId
- The ID of the service permission.
addedPrincipal_principal :: Lens' AddedPrincipal (Maybe Text) Source #
The Amazon Resource Name (ARN) of the principal.
addedPrincipal_principalType :: Lens' AddedPrincipal (Maybe PrincipalType) Source #
The type of principal.
addedPrincipal_serviceId :: Lens' AddedPrincipal (Maybe Text) Source #
The ID of the service.
addedPrincipal_servicePermissionId :: Lens' AddedPrincipal (Maybe Text) Source #
The ID of the service permission.