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 |
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:
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.
UpdateLinkAttributesResponse' | |
|
Instances
Generic UpdateLinkAttributesResponse Source # | |
Read UpdateLinkAttributesResponse Source # | |
Show UpdateLinkAttributesResponse Source # | |
Defined in Amazonka.CloudDirectory.UpdateLinkAttributes showsPrec :: Int -> UpdateLinkAttributesResponse -> ShowS # show :: UpdateLinkAttributesResponse -> String # showList :: [UpdateLinkAttributesResponse] -> ShowS # | |
NFData UpdateLinkAttributesResponse Source # | |
Defined in Amazonka.CloudDirectory.UpdateLinkAttributes rnf :: UpdateLinkAttributesResponse -> () # | |
Eq UpdateLinkAttributesResponse Source # | |
type Rep UpdateLinkAttributesResponse Source # | |
Defined in Amazonka.CloudDirectory.UpdateLinkAttributes type Rep UpdateLinkAttributesResponse = D1 ('MetaData "UpdateLinkAttributesResponse" "Amazonka.CloudDirectory.UpdateLinkAttributes" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "UpdateLinkAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.