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 Principal = Principal' {
- creationTime :: Maybe POSIX
- resourceShareArn :: Maybe Text
- lastUpdatedTime :: Maybe POSIX
- external :: Maybe Bool
- id :: Maybe Text
- newPrincipal :: Principal
- principal_creationTime :: Lens' Principal (Maybe UTCTime)
- principal_resourceShareArn :: Lens' Principal (Maybe Text)
- principal_lastUpdatedTime :: Lens' Principal (Maybe UTCTime)
- principal_external :: Lens' Principal (Maybe Bool)
- principal_id :: Lens' Principal (Maybe Text)
Documentation
Describes a principal for use with Resource Access Manager.
See: newPrincipal
smart constructor.
Principal' | |
|
Instances
newPrincipal :: Principal Source #
Create a value of Principal
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:creationTime:Principal'
, principal_creationTime
- The time when the principal was associated with the resource share.
$sel:resourceShareArn:Principal'
, principal_resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.
$sel:lastUpdatedTime:Principal'
, principal_lastUpdatedTime
- The time when the association was last updated.
$sel:external:Principal'
, principal_external
- Indicates whether the principal belongs to the same organization in
Organizations as the Amazon Web Services account that owns the resource
share.
$sel:id:Principal'
, principal_id
- The ID of the principal.
principal_creationTime :: Lens' Principal (Maybe UTCTime) Source #
The time when the principal was associated with the resource share.
principal_resourceShareArn :: Lens' Principal (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource share.
principal_lastUpdatedTime :: Lens' Principal (Maybe UTCTime) Source #
The time when the association was last updated.