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 |
This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all attribute types for the given instance.
This operation returns paginated results.
Synopsis
- data ListInstanceAttributes = ListInstanceAttributes' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListInstanceAttributes :: Text -> ListInstanceAttributes
- listInstanceAttributes_nextToken :: Lens' ListInstanceAttributes (Maybe Text)
- listInstanceAttributes_maxResults :: Lens' ListInstanceAttributes (Maybe Natural)
- listInstanceAttributes_instanceId :: Lens' ListInstanceAttributes Text
- data ListInstanceAttributesResponse = ListInstanceAttributesResponse' {
- nextToken :: Maybe Text
- attributes :: Maybe [Attribute]
- httpStatus :: Int
- newListInstanceAttributesResponse :: Int -> ListInstanceAttributesResponse
- listInstanceAttributesResponse_nextToken :: Lens' ListInstanceAttributesResponse (Maybe Text)
- listInstanceAttributesResponse_attributes :: Lens' ListInstanceAttributesResponse (Maybe [Attribute])
- listInstanceAttributesResponse_httpStatus :: Lens' ListInstanceAttributesResponse Int
Creating a Request
data ListInstanceAttributes Source #
See: newListInstanceAttributes
smart constructor.
ListInstanceAttributes' | |
|
Instances
newListInstanceAttributes Source #
Create a value of ListInstanceAttributes
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:nextToken:ListInstanceAttributes'
, listInstanceAttributes_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListInstanceAttributes'
, listInstanceAttributes_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListInstanceAttributes'
, listInstanceAttributes_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listInstanceAttributes_nextToken :: Lens' ListInstanceAttributes (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listInstanceAttributes_maxResults :: Lens' ListInstanceAttributes (Maybe Natural) Source #
The maximum number of results to return per page.
listInstanceAttributes_instanceId :: Lens' ListInstanceAttributes Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListInstanceAttributesResponse Source #
See: newListInstanceAttributesResponse
smart constructor.
ListInstanceAttributesResponse' | |
|
Instances
newListInstanceAttributesResponse Source #
Create a value of ListInstanceAttributesResponse
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:nextToken:ListInstanceAttributes'
, listInstanceAttributesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:attributes:ListInstanceAttributesResponse'
, listInstanceAttributesResponse_attributes
- The attribute types.
$sel:httpStatus:ListInstanceAttributesResponse'
, listInstanceAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceAttributesResponse_nextToken :: Lens' ListInstanceAttributesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listInstanceAttributesResponse_attributes :: Lens' ListInstanceAttributesResponse (Maybe [Attribute]) Source #
The attribute types.
listInstanceAttributesResponse_httpStatus :: Lens' ListInstanceAttributesResponse Int Source #
The response's http status code.