| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudDirectory.UpdateLinkAttributes
Description
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.
Constructors
| UpdateLinkAttributes' | |
Fields
| |
Instances
newUpdateLinkAttributes Source #
Arguments
| :: Text | |
| -> TypedLinkSpecifier | |
| -> UpdateLinkAttributes |
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:
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.
UpdateLinkAttributes, updateLinkAttributes_typedLinkSpecifier - Allows a typed link specifier to be accepted as input.
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.
Constructors
| UpdateLinkAttributesResponse' | |
Fields
| |
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.