amazonka-config-2.0: Amazon Config 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.Config.Types.Relationship

Description

 
Synopsis

Documentation

data Relationship Source #

The relationship of the related resource to the main resource.

See: newRelationship smart constructor.

Constructors

Relationship' 

Fields

Instances

Instances details
FromJSON Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Generic Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Associated Types

type Rep Relationship :: Type -> Type #

Read Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Show Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

NFData Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Methods

rnf :: Relationship -> () #

Eq Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Hashable Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

type Rep Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

type Rep Relationship = D1 ('MetaData "Relationship" "Amazonka.Config.Types.Relationship" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "Relationship'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "relationshipName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)))))

newRelationship :: Relationship Source #

Create a value of Relationship 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:relationshipName:Relationship', relationship_relationshipName - The type of relationship with the related resource.

$sel:resourceId:Relationship', relationship_resourceId - The ID of the related resource (for example, sg-xxxxxx).

$sel:resourceName:Relationship', relationship_resourceName - The custom name of the related resource, if available.

$sel:resourceType:Relationship', relationship_resourceType - The resource type of the related resource.

relationship_relationshipName :: Lens' Relationship (Maybe Text) Source #

The type of relationship with the related resource.

relationship_resourceId :: Lens' Relationship (Maybe Text) Source #

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

relationship_resourceName :: Lens' Relationship (Maybe Text) Source #

The custom name of the related resource, if available.

relationship_resourceType :: Lens' Relationship (Maybe ResourceType) Source #

The resource type of the related resource.