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

Description

 
Synopsis

Documentation

data ResourceKey Source #

The details that identify a resource within Config, including the resource type and resource ID.

See: newResourceKey smart constructor.

Constructors

ResourceKey' 

Fields

Instances

Instances details
Eq ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Read ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Show ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Generic ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Associated Types

type Rep ResourceKey :: Type -> Type #

NFData ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Methods

rnf :: ResourceKey -> () #

Hashable ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

ToJSON ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

FromJSON ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

type Rep ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

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

newResourceKey Source #

Create a value of ResourceKey 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:resourceType:ResourceKey', resourceKey_resourceType - The resource type.

$sel:resourceId:ResourceKey', resourceKey_resourceId - The ID of the resource (for example., sg-xxxxxx).

resourceKey_resourceId :: Lens' ResourceKey Text Source #

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