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 ResourceShareAssociation = ResourceShareAssociation' {}
- newResourceShareAssociation :: ResourceShareAssociation
- resourceShareAssociation_associatedEntity :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareAssociation_associationType :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationType)
- resourceShareAssociation_creationTime :: Lens' ResourceShareAssociation (Maybe UTCTime)
- resourceShareAssociation_external :: Lens' ResourceShareAssociation (Maybe Bool)
- resourceShareAssociation_lastUpdatedTime :: Lens' ResourceShareAssociation (Maybe UTCTime)
- resourceShareAssociation_resourceShareArn :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareAssociation_resourceShareName :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareAssociation_status :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationStatus)
- resourceShareAssociation_statusMessage :: Lens' ResourceShareAssociation (Maybe Text)
Documentation
data ResourceShareAssociation Source #
Describes an association with a resource share and either a principal or a resource.
See: newResourceShareAssociation
smart constructor.
ResourceShareAssociation' | |
|
Instances
newResourceShareAssociation :: ResourceShareAssociation Source #
Create a value of ResourceShareAssociation
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:associatedEntity:ResourceShareAssociation'
, resourceShareAssociation_associatedEntity
- The associated entity. This can be either of the following:
- For a resource association, this is the Amazon Resoure Name (ARN) of the resource.
For principal associations, this is one of the following:
- The ID of an Amazon Web Services account
- The Amazon Resoure Name (ARN) of an organization in Organizations
- The ARN of an organizational unit (OU) in Organizations
- The ARN of an IAM role
- The ARN of an IAM user
$sel:associationType:ResourceShareAssociation'
, resourceShareAssociation_associationType
- The type of entity included in this association.
$sel:creationTime:ResourceShareAssociation'
, resourceShareAssociation_creationTime
- The date and time when the association was created.
$sel:external:ResourceShareAssociation'
, resourceShareAssociation_external
- Indicates whether the principal belongs to the same organization in
Organizations as the Amazon Web Services account that owns the resource
share.
$sel:lastUpdatedTime:ResourceShareAssociation'
, resourceShareAssociation_lastUpdatedTime
- The date and time when the association was last updated.
$sel:resourceShareArn:ResourceShareAssociation'
, resourceShareAssociation_resourceShareArn
- The
Amazon Resoure Name (ARN)
of the resource share.
$sel:resourceShareName:ResourceShareAssociation'
, resourceShareAssociation_resourceShareName
- The name of the resource share.
$sel:status:ResourceShareAssociation'
, resourceShareAssociation_status
- The current status of the association.
$sel:statusMessage:ResourceShareAssociation'
, resourceShareAssociation_statusMessage
- A message about the status of the association.
resourceShareAssociation_associatedEntity :: Lens' ResourceShareAssociation (Maybe Text) Source #
The associated entity. This can be either of the following:
- For a resource association, this is the Amazon Resoure Name (ARN) of the resource.
For principal associations, this is one of the following:
- The ID of an Amazon Web Services account
- The Amazon Resoure Name (ARN) of an organization in Organizations
- The ARN of an organizational unit (OU) in Organizations
- The ARN of an IAM role
- The ARN of an IAM user
resourceShareAssociation_associationType :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationType) Source #
The type of entity included in this association.
resourceShareAssociation_creationTime :: Lens' ResourceShareAssociation (Maybe UTCTime) Source #
The date and time when the association was created.
resourceShareAssociation_external :: Lens' ResourceShareAssociation (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.
resourceShareAssociation_lastUpdatedTime :: Lens' ResourceShareAssociation (Maybe UTCTime) Source #
The date and time when the association was last updated.
resourceShareAssociation_resourceShareArn :: Lens' ResourceShareAssociation (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share.
resourceShareAssociation_resourceShareName :: Lens' ResourceShareAssociation (Maybe Text) Source #
The name of the resource share.
resourceShareAssociation_status :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationStatus) Source #
The current status of the association.
resourceShareAssociation_statusMessage :: Lens' ResourceShareAssociation (Maybe Text) Source #
A message about the status of the association.