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.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
Eq Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Read Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Show 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 #

NFData Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

Methods

rnf :: Relationship -> () #

Hashable Relationship Source # 
Instance details

Defined in Amazonka.Config.Types.Relationship

FromJSON 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" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "Relationship'" '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 "relationshipName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:resourceId:Relationship', relationship_resourceId - The ID of the related resource (for example, sg-xxxxxx).

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

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

$sel:relationshipName:Relationship', relationship_relationshipName - 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_resourceType :: Lens' Relationship (Maybe ResourceType) Source #

The resource type of the related resource.

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

The custom name of the related resource, if available.

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

The type of relationship with the related resource.