libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.AttachTypedLink

Description

Attaches a typed link to a specified source and target object. For more information, see Typed Links.

Synopsis

Creating a Request

data AttachTypedLink Source #

See: newAttachTypedLink smart constructor.

Constructors

AttachTypedLink' 

Fields

Instances

newAttachTypedLink Source #

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.

Constructors

AttachTypedLinkResponse' 

Fields

Instances

Instances details
Eq AttachTypedLinkResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachTypedLink

Read AttachTypedLinkResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachTypedLink

Show AttachTypedLinkResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachTypedLink

Generic AttachTypedLinkResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachTypedLink

Associated Types

type Rep AttachTypedLinkResponse :: Type -> Type #

NFData AttachTypedLinkResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachTypedLink

Methods

rnf :: AttachTypedLinkResponse -> () #

type Rep AttachTypedLinkResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachTypedLink

type Rep AttachTypedLinkResponse = D1 ('MetaData "AttachTypedLinkResponse" "Amazonka.CloudDirectory.AttachTypedLink" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "AttachTypedLinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "typedLinkSpecifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypedLinkSpecifier)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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