libZSservicesZSamazonka-ramZSamazonka-ram
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RAM.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

Describes a resource associated with a resource share.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

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_arn :: Lens' Resource (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource.

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.

resource_statusMessage :: Lens' Resource (Maybe Text) Source #

A message about the status of the resource.

resource_type :: Lens' Resource (Maybe Text) Source #

The resource type.