| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudDirectory.AttachTypedLink
Description
Attaches a typed link to a specified source and target object. For more information, see Typed link .
- attachTypedLink :: Text -> ObjectReference -> ObjectReference -> TypedLinkSchemaAndFacetName -> AttachTypedLink
- data AttachTypedLink
- atlDirectoryARN :: Lens' AttachTypedLink Text
- atlSourceObjectReference :: Lens' AttachTypedLink ObjectReference
- atlTargetObjectReference :: Lens' AttachTypedLink ObjectReference
- atlTypedLinkFacet :: Lens' AttachTypedLink TypedLinkSchemaAndFacetName
- atlAttributes :: Lens' AttachTypedLink [AttributeNameAndValue]
- attachTypedLinkResponse :: Int -> AttachTypedLinkResponse
- data AttachTypedLinkResponse
- atlrsTypedLinkSpecifier :: Lens' AttachTypedLinkResponse (Maybe TypedLinkSpecifier)
- atlrsResponseStatus :: Lens' AttachTypedLinkResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ObjectReference | |
| -> ObjectReference | |
| -> TypedLinkSchemaAndFacetName | |
| -> AttachTypedLink |
Creates a value of AttachTypedLink with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atlDirectoryARN- The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.atlSourceObjectReference- Identifies the source object that the typed link will attach to.atlTargetObjectReference- Identifies the target object that the typed link will attach to.atlTypedLinkFacet- Identifies the typed link facet that is associated with the typed link.atlAttributes- A set of attributes that are associated with the typed link.
data AttachTypedLink Source #
See: attachTypedLink smart constructor.
Instances
Request Lenses
atlDirectoryARN :: Lens' AttachTypedLink Text Source #
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
atlSourceObjectReference :: Lens' AttachTypedLink ObjectReference Source #
Identifies the source object that the typed link will attach to.
atlTargetObjectReference :: Lens' AttachTypedLink ObjectReference Source #
Identifies the target object that the typed link will attach to.
atlTypedLinkFacet :: Lens' AttachTypedLink TypedLinkSchemaAndFacetName Source #
Identifies the typed link facet that is associated with the typed link.
atlAttributes :: Lens' AttachTypedLink [AttributeNameAndValue] Source #
A set of attributes that are associated with the typed link.
Destructuring the Response
attachTypedLinkResponse Source #
Arguments
| :: Int | |
| -> AttachTypedLinkResponse |
Creates a value of AttachTypedLinkResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atlrsTypedLinkSpecifier- Returns a typed link specifier as output.atlrsResponseStatus- -- | The response status code.
data AttachTypedLinkResponse Source #
See: attachTypedLinkResponse smart constructor.
Response Lenses
atlrsTypedLinkSpecifier :: Lens' AttachTypedLinkResponse (Maybe TypedLinkSpecifier) Source #
Returns a typed link specifier as output.
atlrsResponseStatus :: Lens' AttachTypedLinkResponse Int Source #
- - | The response status code.