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 |
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
Synopsis
- data AttachTypedLink = AttachTypedLink' {}
- newAttachTypedLink :: Text -> ObjectReference -> ObjectReference -> TypedLinkSchemaAndFacetName -> AttachTypedLink
- attachTypedLink_directoryArn :: Lens' AttachTypedLink Text
- attachTypedLink_sourceObjectReference :: Lens' AttachTypedLink ObjectReference
- attachTypedLink_targetObjectReference :: Lens' AttachTypedLink ObjectReference
- attachTypedLink_typedLinkFacet :: Lens' AttachTypedLink TypedLinkSchemaAndFacetName
- attachTypedLink_attributes :: Lens' AttachTypedLink [AttributeNameAndValue]
- data AttachTypedLinkResponse = AttachTypedLinkResponse' {}
- newAttachTypedLinkResponse :: Int -> AttachTypedLinkResponse
- attachTypedLinkResponse_typedLinkSpecifier :: Lens' AttachTypedLinkResponse (Maybe TypedLinkSpecifier)
- attachTypedLinkResponse_httpStatus :: Lens' AttachTypedLinkResponse Int
Creating a Request
data AttachTypedLink Source #
See: newAttachTypedLink
smart constructor.
AttachTypedLink' | |
|
Instances
Create a value of AttachTypedLink
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:directoryArn:AttachTypedLink'
, attachTypedLink_directoryArn
- The Amazon Resource Name (ARN) of the directory where you want to attach
the typed link.
$sel:sourceObjectReference:AttachTypedLink'
, attachTypedLink_sourceObjectReference
- Identifies the source object that the typed link will attach to.
$sel:targetObjectReference:AttachTypedLink'
, attachTypedLink_targetObjectReference
- Identifies the target object that the typed link will attach to.
$sel:typedLinkFacet:AttachTypedLink'
, attachTypedLink_typedLinkFacet
- Identifies the typed link facet that is associated with the typed link.
$sel:attributes:AttachTypedLink'
, attachTypedLink_attributes
- A set of attributes that are associated with the typed link.
Request Lenses
attachTypedLink_directoryArn :: Lens' AttachTypedLink Text Source #
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
attachTypedLink_sourceObjectReference :: Lens' AttachTypedLink ObjectReference Source #
Identifies the source object that the typed link will attach to.
attachTypedLink_targetObjectReference :: Lens' AttachTypedLink ObjectReference Source #
Identifies the target object that the typed link will attach to.
attachTypedLink_typedLinkFacet :: Lens' AttachTypedLink TypedLinkSchemaAndFacetName Source #
Identifies the typed link facet that is associated with the typed link.
attachTypedLink_attributes :: Lens' AttachTypedLink [AttributeNameAndValue] Source #
A set of attributes that are associated with the typed link.
Destructuring the Response
data AttachTypedLinkResponse Source #
See: newAttachTypedLinkResponse
smart constructor.
AttachTypedLinkResponse' | |
|
Instances
newAttachTypedLinkResponse Source #
Create a value of AttachTypedLinkResponse
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:typedLinkSpecifier:AttachTypedLinkResponse'
, attachTypedLinkResponse_typedLinkSpecifier
- Returns a typed link specifier as output.
$sel:httpStatus:AttachTypedLinkResponse'
, attachTypedLinkResponse_httpStatus
- The response's http status code.
Response Lenses
attachTypedLinkResponse_typedLinkSpecifier :: Lens' AttachTypedLinkResponse (Maybe TypedLinkSpecifier) Source #
Returns a typed link specifier as output.
attachTypedLinkResponse_httpStatus :: Lens' AttachTypedLinkResponse Int Source #
The response's http status code.