libZSservicesZSamazonka-configZSamazonka-config
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.Config.Types.ResourceIdentifier

Description

 
Synopsis

Documentation

data ResourceIdentifier Source #

The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the custom resource name.

See: newResourceIdentifier smart constructor.

Constructors

ResourceIdentifier' 

Fields

Instances

Instances details
Eq ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

Read ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

Show ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

Generic ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

Associated Types

type Rep ResourceIdentifier :: Type -> Type #

NFData ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

Methods

rnf :: ResourceIdentifier -> () #

Hashable ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

FromJSON ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

type Rep ResourceIdentifier Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceIdentifier

type Rep ResourceIdentifier = D1 ('MetaData "ResourceIdentifier" "Amazonka.Config.Types.ResourceIdentifier" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "ResourceIdentifier'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType))) :*: (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceDeletionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newResourceIdentifier :: ResourceIdentifier Source #

Create a value of ResourceIdentifier 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:resourceId:ResourceIdentifier', resourceIdentifier_resourceId - The ID of the resource (for example, sg-xxxxxx).

$sel:resourceType:ResourceIdentifier', resourceIdentifier_resourceType - The type of resource.

$sel:resourceName:ResourceIdentifier', resourceIdentifier_resourceName - The custom name of the resource (if available).

$sel:resourceDeletionTime:ResourceIdentifier', resourceIdentifier_resourceDeletionTime - The time that the resource was deleted.

resourceIdentifier_resourceId :: Lens' ResourceIdentifier (Maybe Text) Source #

The ID of the resource (for example, sg-xxxxxx).

resourceIdentifier_resourceName :: Lens' ResourceIdentifier (Maybe Text) Source #

The custom name of the resource (if available).