| 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 |
Amazonka.RAM.Types.Resource
Description
Synopsis
- data Resource = Resource' {}
- newResource :: Resource
- resource_creationTime :: Lens' Resource (Maybe UTCTime)
- resource_status :: Lens' Resource (Maybe ResourceStatus)
- resource_resourceShareArn :: Lens' Resource (Maybe Text)
- resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime)
- resource_arn :: Lens' Resource (Maybe Text)
- resource_resourceGroupArn :: Lens' Resource (Maybe Text)
- resource_statusMessage :: Lens' Resource (Maybe Text)
- resource_type :: Lens' Resource (Maybe Text)
Documentation
Describes a resource associated with a resource share.
See: newResource smart constructor.
Constructors
| Resource' | |
Fields
| |
Instances
newResource :: Resource Source #
Create a value of Resource 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:Resource', resource_creationTime - The time when the resource was associated with the resource share.
$sel:status:Resource', resource_status - The status of the resource.
$sel:resourceShareArn:Resource', resource_resourceShareArn - The Amazon Resource Name (ARN) of the resource share.
$sel:lastUpdatedTime:Resource', resource_lastUpdatedTime - The time when the association was last updated.
$sel:arn:Resource', resource_arn - The Amazon Resource Name (ARN) of the resource.
$sel:resourceGroupArn:Resource', resource_resourceGroupArn - The Amazon Resource Name (ARN) of the resource group. This value is
returned only if the resource is a resource group.
$sel:statusMessage:Resource', resource_statusMessage - A message about the status of the resource.
$sel:type':Resource', resource_type - The resource type.
resource_creationTime :: Lens' Resource (Maybe UTCTime) Source #
The time when the resource was associated with the resource share.
resource_status :: Lens' Resource (Maybe ResourceStatus) Source #
The status of the resource.
resource_resourceShareArn :: Lens' Resource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource share.
resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime) Source #
The time when the association was last updated.
resource_resourceGroupArn :: Lens' Resource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource group. This value is returned only if the resource is a resource group.