libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
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.ResourceGroups.Types.ResourceIdentifier

Description

 
Synopsis

Documentation

data ResourceIdentifier Source #

A structure that contains the ARN of a resource and its resource type.

See: newResourceIdentifier smart constructor.

Constructors

ResourceIdentifier' 

Fields

Instances

Instances details
Eq ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Read ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Show ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Generic ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Associated Types

type Rep ResourceIdentifier :: Type -> Type #

NFData ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Methods

rnf :: ResourceIdentifier -> () #

Hashable ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

FromJSON ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

type Rep ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

type Rep ResourceIdentifier = D1 ('MetaData "ResourceIdentifier" "Amazonka.ResourceGroups.Types.ResourceIdentifier" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ResourceIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:resourceType:ResourceIdentifier', resourceIdentifier_resourceType - The resource type of a resource, such as AWS::EC2::Instance.

$sel:resourceArn:ResourceIdentifier', resourceIdentifier_resourceArn - The ARN of a resource.

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

The resource type of a resource, such as AWS::EC2::Instance.