Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Relationship = Relationship' {}
- newRelationship :: Relationship
- relationship_resourceId :: Lens' Relationship (Maybe Text)
- relationship_resourceType :: Lens' Relationship (Maybe ResourceType)
- relationship_resourceName :: Lens' Relationship (Maybe Text)
- relationship_relationshipName :: Lens' Relationship (Maybe Text)
Documentation
data Relationship Source #
The relationship of the related resource to the main resource.
See: newRelationship
smart constructor.
Relationship' | |
|
Instances
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.