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 ResourceShare = ResourceShare' {}
- newResourceShare :: ResourceShare
- resourceShare_allowExternalPrincipals :: Lens' ResourceShare (Maybe Bool)
- resourceShare_creationTime :: Lens' ResourceShare (Maybe UTCTime)
- resourceShare_featureSet :: Lens' ResourceShare (Maybe ResourceShareFeatureSet)
- resourceShare_lastUpdatedTime :: Lens' ResourceShare (Maybe UTCTime)
- resourceShare_name :: Lens' ResourceShare (Maybe Text)
- resourceShare_owningAccountId :: Lens' ResourceShare (Maybe Text)
- resourceShare_resourceShareArn :: Lens' ResourceShare (Maybe Text)
- resourceShare_status :: Lens' ResourceShare (Maybe ResourceShareStatus)
- resourceShare_statusMessage :: Lens' ResourceShare (Maybe Text)
- resourceShare_tags :: Lens' ResourceShare (Maybe [Tag])
Documentation
data ResourceShare Source #
Describes a resource share in RAM.
See: newResourceShare
smart constructor.
ResourceShare' | |
|
Instances
newResourceShare :: ResourceShare Source #
Create a value of ResourceShare
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:allowExternalPrincipals:ResourceShare'
, resourceShare_allowExternalPrincipals
- Indicates whether principals outside your organization in Organizations
can be associated with a resource share.
$sel:creationTime:ResourceShare'
, resourceShare_creationTime
- The date and time when the resource share was created.
$sel:featureSet:ResourceShare'
, resourceShare_featureSet
- Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an Identity and Access Management (IAM) resource-based permission policy attached to the resource. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.STANDARD
- Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs.
$sel:lastUpdatedTime:ResourceShare'
, resourceShare_lastUpdatedTime
- The date and time when the resource share was last updated.
$sel:name:ResourceShare'
, resourceShare_name
- The name of the resource share.
$sel:owningAccountId:ResourceShare'
, resourceShare_owningAccountId
- The ID of the Amazon Web Services account that owns the resource share.
$sel:resourceShareArn:ResourceShare'
, resourceShare_resourceShareArn
- The
Amazon Resoure Name (ARN)
of the resource share
$sel:status:ResourceShare'
, resourceShare_status
- The current status of the resource share.
$sel:statusMessage:ResourceShare'
, resourceShare_statusMessage
- A message about the status of the resource share.
$sel:tags:ResourceShare'
, resourceShare_tags
- The tag key and value pairs attached to the resource share.
resourceShare_allowExternalPrincipals :: Lens' ResourceShare (Maybe Bool) Source #
Indicates whether principals outside your organization in Organizations can be associated with a resource share.
resourceShare_creationTime :: Lens' ResourceShare (Maybe UTCTime) Source #
The date and time when the resource share was created.
resourceShare_featureSet :: Lens' ResourceShare (Maybe ResourceShareFeatureSet) Source #
Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an Identity and Access Management (IAM) resource-based permission policy attached to the resource. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.STANDARD
- Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs.
resourceShare_lastUpdatedTime :: Lens' ResourceShare (Maybe UTCTime) Source #
The date and time when the resource share was last updated.
resourceShare_name :: Lens' ResourceShare (Maybe Text) Source #
The name of the resource share.
resourceShare_owningAccountId :: Lens' ResourceShare (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the resource share.
resourceShare_resourceShareArn :: Lens' ResourceShare (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share
resourceShare_status :: Lens' ResourceShare (Maybe ResourceShareStatus) Source #
The current status of the resource share.
resourceShare_statusMessage :: Lens' ResourceShare (Maybe Text) Source #
A message about the status of the resource share.
resourceShare_tags :: Lens' ResourceShare (Maybe [Tag]) Source #
The tag key and value pairs attached to the resource share.