| 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.GetLinkAttributes
Description
Retrieves attributes that are associated with a typed link.
Synopsis
- data GetLinkAttributes = GetLinkAttributes' {}
- newGetLinkAttributes :: Text -> TypedLinkSpecifier -> GetLinkAttributes
- getLinkAttributes_consistencyLevel :: Lens' GetLinkAttributes (Maybe ConsistencyLevel)
- getLinkAttributes_directoryArn :: Lens' GetLinkAttributes Text
- getLinkAttributes_typedLinkSpecifier :: Lens' GetLinkAttributes TypedLinkSpecifier
- getLinkAttributes_attributeNames :: Lens' GetLinkAttributes [Text]
- data GetLinkAttributesResponse = GetLinkAttributesResponse' {}
- newGetLinkAttributesResponse :: Int -> GetLinkAttributesResponse
- getLinkAttributesResponse_attributes :: Lens' GetLinkAttributesResponse (Maybe [AttributeKeyAndValue])
- getLinkAttributesResponse_httpStatus :: Lens' GetLinkAttributesResponse Int
Creating a Request
data GetLinkAttributes Source #
See: newGetLinkAttributes smart constructor.
Constructors
| GetLinkAttributes' | |
Fields
| |
Instances
Create a value of GetLinkAttributes 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:consistencyLevel:GetLinkAttributes', getLinkAttributes_consistencyLevel - The consistency level at which to retrieve the attributes on a typed
link.
GetLinkAttributes, getLinkAttributes_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory
where the typed link resides. For more information, see arns or
Typed Links.
GetLinkAttributes, getLinkAttributes_typedLinkSpecifier - Allows a typed link specifier to be accepted as input.
GetLinkAttributes, getLinkAttributes_attributeNames - A list of attribute names whose values will be retrieved.
Request Lenses
getLinkAttributes_consistencyLevel :: Lens' GetLinkAttributes (Maybe ConsistencyLevel) Source #
The consistency level at which to retrieve the attributes on a typed link.
getLinkAttributes_directoryArn :: Lens' GetLinkAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the typed link resides. For more information, see arns or Typed Links.
getLinkAttributes_typedLinkSpecifier :: Lens' GetLinkAttributes TypedLinkSpecifier Source #
Allows a typed link specifier to be accepted as input.
getLinkAttributes_attributeNames :: Lens' GetLinkAttributes [Text] Source #
A list of attribute names whose values will be retrieved.
Destructuring the Response
data GetLinkAttributesResponse Source #
See: newGetLinkAttributesResponse smart constructor.
Constructors
| GetLinkAttributesResponse' | |
Fields
| |
Instances
newGetLinkAttributesResponse Source #
Create a value of GetLinkAttributesResponse 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:
GetLinkAttributesResponse, getLinkAttributesResponse_attributes - The attributes that are associated with the typed link.
$sel:httpStatus:GetLinkAttributesResponse', getLinkAttributesResponse_httpStatus - The response's http status code.
Response Lenses
getLinkAttributesResponse_attributes :: Lens' GetLinkAttributesResponse (Maybe [AttributeKeyAndValue]) Source #
The attributes that are associated with the typed link.
getLinkAttributesResponse_httpStatus :: Lens' GetLinkAttributesResponse Int Source #
The response's http status code.