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.ResourceProperty

Description

 
Synopsis

Documentation

data ResourceProperty Source #

A structure that describes a property of a resource.

See: newResourceProperty smart constructor.

Constructors

ResourceProperty' 

Fields

  • data' :: Maybe Document

    Details about this property. The content of this field is a JSON object that varies based on the resource type.

  • lastReportedAt :: Maybe ISO8601

    The date and time that the information about this resource property was last updated.

  • name :: Maybe Text

    The name of this property of the resource.

Instances

Instances details
FromJSON ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Generic ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Associated Types

type Rep ResourceProperty :: Type -> Type #

Read ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Show ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

NFData ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Methods

rnf :: ResourceProperty -> () #

Eq ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Hashable ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

type Rep ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

type Rep ResourceProperty = D1 ('MetaData "ResourceProperty" "Amazonka.ResourceExplorer2.Types.ResourceProperty" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "ResourceProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Document)) :*: (S1 ('MetaSel ('Just "lastReportedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResourceProperty :: ResourceProperty Source #

Create a value of ResourceProperty 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:data':ResourceProperty', resourceProperty_data - Details about this property. The content of this field is a JSON object that varies based on the resource type.

$sel:lastReportedAt:ResourceProperty', resourceProperty_lastReportedAt - The date and time that the information about this resource property was last updated.

$sel:name:ResourceProperty', resourceProperty_name - The name of this property of the resource.

resourceProperty_data :: Lens' ResourceProperty (Maybe Document) Source #

Details about this property. The content of this field is a JSON object that varies based on the resource type.

resourceProperty_lastReportedAt :: Lens' ResourceProperty (Maybe UTCTime) Source #

The date and time that the information about this resource property was last updated.

resourceProperty_name :: Lens' ResourceProperty (Maybe Text) Source #

The name of this property of the resource.