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 |
Updates a given typed link’s attributes. Attributes to be updated must
not contribute to the typed link’s identity, as defined by its
IdentityAttributeOrder
.
Synopsis
- data UpdateLinkAttributes = UpdateLinkAttributes' {}
- newUpdateLinkAttributes :: Text -> TypedLinkSpecifier -> UpdateLinkAttributes
- updateLinkAttributes_directoryArn :: Lens' UpdateLinkAttributes Text
- updateLinkAttributes_typedLinkSpecifier :: Lens' UpdateLinkAttributes TypedLinkSpecifier
- updateLinkAttributes_attributeUpdates :: Lens' UpdateLinkAttributes [LinkAttributeUpdate]
- data UpdateLinkAttributesResponse = UpdateLinkAttributesResponse' {
- httpStatus :: Int
- newUpdateLinkAttributesResponse :: Int -> UpdateLinkAttributesResponse
- updateLinkAttributesResponse_httpStatus :: Lens' UpdateLinkAttributesResponse Int
Creating a Request
data UpdateLinkAttributes Source #
See: newUpdateLinkAttributes
smart constructor.
UpdateLinkAttributes' | |
|
Instances
newUpdateLinkAttributes Source #
Create a value of UpdateLinkAttributes
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:UpdateLinkAttributes'
, updateLinkAttributes_directoryArn
- The Amazon Resource Name (ARN) that is associated with the Directory
where the updated typed link resides. For more information, see arns or
Typed Links.
$sel:typedLinkSpecifier:UpdateLinkAttributes'
, updateLinkAttributes_typedLinkSpecifier
- Allows a typed link specifier to be accepted as input.
$sel:attributeUpdates:UpdateLinkAttributes'
, updateLinkAttributes_attributeUpdates
- The attributes update structure.
Request Lenses
updateLinkAttributes_directoryArn :: Lens' UpdateLinkAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.
updateLinkAttributes_typedLinkSpecifier :: Lens' UpdateLinkAttributes TypedLinkSpecifier Source #
Allows a typed link specifier to be accepted as input.
updateLinkAttributes_attributeUpdates :: Lens' UpdateLinkAttributes [LinkAttributeUpdate] Source #
The attributes update structure.
Destructuring the Response
data UpdateLinkAttributesResponse Source #
See: newUpdateLinkAttributesResponse
smart constructor.
UpdateLinkAttributesResponse' | |
|
Instances
newUpdateLinkAttributesResponse Source #
Create a value of UpdateLinkAttributesResponse
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:httpStatus:UpdateLinkAttributesResponse'
, updateLinkAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
updateLinkAttributesResponse_httpStatus :: Lens' UpdateLinkAttributesResponse Int Source #
The response's http status code.