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 AllowedPrincipal = AllowedPrincipal' {
- principal :: Maybe Text
- principalType :: Maybe PrincipalType
- serviceId :: Maybe Text
- servicePermissionId :: Maybe Text
- tags :: Maybe [Tag]
- newAllowedPrincipal :: AllowedPrincipal
- allowedPrincipal_principal :: Lens' AllowedPrincipal (Maybe Text)
- allowedPrincipal_principalType :: Lens' AllowedPrincipal (Maybe PrincipalType)
- allowedPrincipal_serviceId :: Lens' AllowedPrincipal (Maybe Text)
- allowedPrincipal_servicePermissionId :: Lens' AllowedPrincipal (Maybe Text)
- allowedPrincipal_tags :: Lens' AllowedPrincipal (Maybe [Tag])
Documentation
data AllowedPrincipal Source #
Describes a principal.
See: newAllowedPrincipal
smart constructor.
AllowedPrincipal' | |
|
Instances
newAllowedPrincipal :: AllowedPrincipal Source #
Create a value of AllowedPrincipal
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:AllowedPrincipal'
, allowedPrincipal_principal
- The Amazon Resource Name (ARN) of the principal.
$sel:principalType:AllowedPrincipal'
, allowedPrincipal_principalType
- The type of principal.
$sel:serviceId:AllowedPrincipal'
, allowedPrincipal_serviceId
- The ID of the service.
$sel:servicePermissionId:AllowedPrincipal'
, allowedPrincipal_servicePermissionId
- The ID of the service permission.
$sel:tags:AllowedPrincipal'
, allowedPrincipal_tags
- The tags.
allowedPrincipal_principal :: Lens' AllowedPrincipal (Maybe Text) Source #
The Amazon Resource Name (ARN) of the principal.
allowedPrincipal_principalType :: Lens' AllowedPrincipal (Maybe PrincipalType) Source #
The type of principal.
allowedPrincipal_serviceId :: Lens' AllowedPrincipal (Maybe Text) Source #
The ID of the service.
allowedPrincipal_servicePermissionId :: Lens' AllowedPrincipal (Maybe Text) Source #
The ID of the service permission.
allowedPrincipal_tags :: Lens' AllowedPrincipal (Maybe [Tag]) Source #
The tags.