| 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.Connect.ListInstanceAttributes
Description
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' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceId :: Text
- newListInstanceAttributes :: Text -> ListInstanceAttributes
- listInstanceAttributes_maxResults :: Lens' ListInstanceAttributes (Maybe Natural)
- listInstanceAttributes_nextToken :: Lens' ListInstanceAttributes (Maybe Text)
- listInstanceAttributes_instanceId :: Lens' ListInstanceAttributes Text
- data ListInstanceAttributesResponse = ListInstanceAttributesResponse' {
- attributes :: Maybe [Attribute]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListInstanceAttributesResponse :: Int -> ListInstanceAttributesResponse
- listInstanceAttributesResponse_attributes :: Lens' ListInstanceAttributesResponse (Maybe [Attribute])
- listInstanceAttributesResponse_nextToken :: Lens' ListInstanceAttributesResponse (Maybe Text)
- listInstanceAttributesResponse_httpStatus :: Lens' ListInstanceAttributesResponse Int
Creating a Request
data ListInstanceAttributes Source #
See: newListInstanceAttributes smart constructor.
Constructors
| ListInstanceAttributes' | |
Fields
| |
Instances
newListInstanceAttributes Source #
Arguments
| :: Text | |
| -> ListInstanceAttributes |
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:maxResults:ListInstanceAttributes', listInstanceAttributes_maxResults - The maximum number of results to return per page.
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.
ListInstanceAttributes, listInstanceAttributes_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listInstanceAttributes_maxResults :: Lens' ListInstanceAttributes (Maybe Natural) Source #
The maximum number of results to return per page.
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_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.
Constructors
| ListInstanceAttributesResponse' | |
Fields
| |
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:attributes:ListInstanceAttributesResponse', listInstanceAttributesResponse_attributes - The attribute types.
ListInstanceAttributes, listInstanceAttributesResponse_nextToken - If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListInstanceAttributesResponse', listInstanceAttributesResponse_httpStatus - The response's http status code.
Response Lenses
listInstanceAttributesResponse_attributes :: Lens' ListInstanceAttributesResponse (Maybe [Attribute]) Source #
The attribute types.
listInstanceAttributesResponse_nextToken :: Lens' ListInstanceAttributesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listInstanceAttributesResponse_httpStatus :: Lens' ListInstanceAttributesResponse Int Source #
The response's http status code.