amazonka-resource-explorer-v2-2.0: Amazon Resource Explorer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ResourceExplorer2.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

A resource in Amazon Web Services that Amazon Web Services Resource Explorer has discovered, and for which it has stored information in the index of the Amazon Web Services Region that contains the resource.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.ResourceExplorer2.Types.Resource" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastReportedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "owningAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceProperty])) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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 resource name (ARN) of the resource.

Resource, resource_lastReportedAt - The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

$sel:owningAccountId:Resource', resource_owningAccountId - The Amazon Web Services account that owns the resource.

$sel:properties:Resource', resource_properties - A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

$sel:region:Resource', resource_region - The Amazon Web Services Region in which the resource was created and exists.

$sel:resourceType:Resource', resource_resourceType - The type of the resource.

$sel:service:Resource', resource_service - The Amazon Web Service that owns the resource and is responsible for creating and updating it.

resource_lastReportedAt :: Lens' Resource (Maybe UTCTime) Source #

The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

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

The Amazon Web Services account that owns the resource.

resource_properties :: Lens' Resource (Maybe [ResourceProperty]) Source #

A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

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

The Amazon Web Services Region in which the resource was created and exists.

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

The type of the resource.

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

The Amazon Web Service that owns the resource and is responsible for creating and updating it.