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