| 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.Resource
Description
Synopsis
- data Resource = Resource' {}
- newResource :: Resource
- resource_arn :: Lens' Resource (Maybe Text)
- resource_creationTime :: Lens' Resource (Maybe UTCTime)
- resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime)
- resource_resourceGroupArn :: Lens' Resource (Maybe Text)
- resource_resourceRegionScope :: Lens' Resource (Maybe ResourceRegionScope)
- resource_resourceShareArn :: Lens' Resource (Maybe Text)
- resource_status :: Lens' Resource (Maybe ResourceStatus)
- resource_statusMessage :: Lens' Resource (Maybe Text)
- resource_type :: Lens' Resource (Maybe Text)
Documentation
Describes a resource associated with a resource share in RAM.
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:arn:Resource', resource_arn - The
Amazon Resoure Name (ARN)
of the resource.
$sel:creationTime:Resource', resource_creationTime - The date and time when the resource was associated with the resource
share.
$sel:lastUpdatedTime:Resource', resource_lastUpdatedTime - The date an time when the association was last updated.
$sel:resourceGroupArn:Resource', resource_resourceGroupArn - The
Amazon Resoure Name (ARN)
of the resource group. This value is available only if the resource is
part of a resource group.
$sel:resourceRegionScope:Resource', resource_resourceRegionScope - Specifies the scope of visibility of this resource:
- REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
- GLOBAL – The resource can be accessed from any Amazon Web Services Region.
$sel:resourceShareArn:Resource', resource_resourceShareArn - The
Amazon Resoure Name (ARN)
of the resource share this resource is associated with.
$sel:status:Resource', resource_status - The current status of the resource.
$sel:statusMessage:Resource', resource_statusMessage - A message about the status of the resource.
$sel:type':Resource', resource_type - The resource type. This takes the form of:
service-code:resource-code
resource_arn :: Lens' Resource (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource.
resource_creationTime :: Lens' Resource (Maybe UTCTime) Source #
The date and time when the resource was associated with the resource share.
resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime) Source #
The date an time when the association was last updated.
resource_resourceGroupArn :: Lens' Resource (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.
resource_resourceRegionScope :: Lens' Resource (Maybe ResourceRegionScope) Source #
Specifies the scope of visibility of this resource:
- REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
- GLOBAL – The resource can be accessed from any Amazon Web Services Region.
resource_resourceShareArn :: Lens' Resource (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share this resource is associated with.
resource_status :: Lens' Resource (Maybe ResourceStatus) Source #
The current status of the resource.