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 |
Synopsis
- data ListAttachedLinks = ListAttachedLinks' {}
- newListAttachedLinks :: Text -> ListAttachedLinks
- listAttachedLinks_maxResults :: Lens' ListAttachedLinks (Maybe Natural)
- listAttachedLinks_nextToken :: Lens' ListAttachedLinks (Maybe Text)
- listAttachedLinks_sinkIdentifier :: Lens' ListAttachedLinks Text
- data ListAttachedLinksResponse = ListAttachedLinksResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- items :: [ListAttachedLinksItem]
- newListAttachedLinksResponse :: Int -> ListAttachedLinksResponse
- listAttachedLinksResponse_nextToken :: Lens' ListAttachedLinksResponse (Maybe Text)
- listAttachedLinksResponse_httpStatus :: Lens' ListAttachedLinksResponse Int
- listAttachedLinksResponse_items :: Lens' ListAttachedLinksResponse [ListAttachedLinksItem]
Creating a Request
data ListAttachedLinks Source #
See: newListAttachedLinks
smart constructor.
ListAttachedLinks' | |
|
Instances
Create a value of ListAttachedLinks
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:maxResults:ListAttachedLinks'
, listAttachedLinks_maxResults
- Limits the number of returned links to the specified number.
ListAttachedLinks
, listAttachedLinks_nextToken
- The token for the next set of items to return. You received this token
from a previous call.
$sel:sinkIdentifier:ListAttachedLinks'
, listAttachedLinks_sinkIdentifier
- The ARN of the sink that you want to retrieve links for.
Request Lenses
listAttachedLinks_maxResults :: Lens' ListAttachedLinks (Maybe Natural) Source #
Limits the number of returned links to the specified number.
listAttachedLinks_nextToken :: Lens' ListAttachedLinks (Maybe Text) Source #
The token for the next set of items to return. You received this token from a previous call.
listAttachedLinks_sinkIdentifier :: Lens' ListAttachedLinks Text Source #
The ARN of the sink that you want to retrieve links for.
Destructuring the Response
data ListAttachedLinksResponse Source #
See: newListAttachedLinksResponse
smart constructor.
ListAttachedLinksResponse' | |
|
Instances
newListAttachedLinksResponse Source #
Create a value of ListAttachedLinksResponse
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:
ListAttachedLinks
, listAttachedLinksResponse_nextToken
- The token to use when requesting the next set of links.
$sel:httpStatus:ListAttachedLinksResponse'
, listAttachedLinksResponse_httpStatus
- The response's http status code.
$sel:items:ListAttachedLinksResponse'
, listAttachedLinksResponse_items
- An array of structures that contain the information about the attached
links.
Response Lenses
listAttachedLinksResponse_nextToken :: Lens' ListAttachedLinksResponse (Maybe Text) Source #
The token to use when requesting the next set of links.
listAttachedLinksResponse_httpStatus :: Lens' ListAttachedLinksResponse Int Source #
The response's http status code.
listAttachedLinksResponse_items :: Lens' ListAttachedLinksResponse [ListAttachedLinksItem] Source #
An array of structures that contain the information about the attached links.