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 storage configs for the identified instance and resource type.
This operation returns paginated results.
Synopsis
- data ListInstanceStorageConfigs = ListInstanceStorageConfigs' {}
- newListInstanceStorageConfigs :: Text -> InstanceStorageResourceType -> ListInstanceStorageConfigs
- listInstanceStorageConfigs_nextToken :: Lens' ListInstanceStorageConfigs (Maybe Text)
- listInstanceStorageConfigs_maxResults :: Lens' ListInstanceStorageConfigs (Maybe Natural)
- listInstanceStorageConfigs_instanceId :: Lens' ListInstanceStorageConfigs Text
- listInstanceStorageConfigs_resourceType :: Lens' ListInstanceStorageConfigs InstanceStorageResourceType
- data ListInstanceStorageConfigsResponse = ListInstanceStorageConfigsResponse' {}
- newListInstanceStorageConfigsResponse :: Int -> ListInstanceStorageConfigsResponse
- listInstanceStorageConfigsResponse_storageConfigs :: Lens' ListInstanceStorageConfigsResponse (Maybe [InstanceStorageConfig])
- listInstanceStorageConfigsResponse_nextToken :: Lens' ListInstanceStorageConfigsResponse (Maybe Text)
- listInstanceStorageConfigsResponse_httpStatus :: Lens' ListInstanceStorageConfigsResponse Int
Creating a Request
data ListInstanceStorageConfigs Source #
See: newListInstanceStorageConfigs
smart constructor.
ListInstanceStorageConfigs' | |
|
Instances
newListInstanceStorageConfigs Source #
Create a value of ListInstanceStorageConfigs
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:ListInstanceStorageConfigs'
, listInstanceStorageConfigs_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:ListInstanceStorageConfigs'
, listInstanceStorageConfigs_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListInstanceStorageConfigs'
, listInstanceStorageConfigs_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:resourceType:ListInstanceStorageConfigs'
, listInstanceStorageConfigs_resourceType
- A valid resource type.
Request Lenses
listInstanceStorageConfigs_nextToken :: Lens' ListInstanceStorageConfigs (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.
listInstanceStorageConfigs_maxResults :: Lens' ListInstanceStorageConfigs (Maybe Natural) Source #
The maximum number of results to return per page.
listInstanceStorageConfigs_instanceId :: Lens' ListInstanceStorageConfigs Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
listInstanceStorageConfigs_resourceType :: Lens' ListInstanceStorageConfigs InstanceStorageResourceType Source #
A valid resource type.
Destructuring the Response
data ListInstanceStorageConfigsResponse Source #
See: newListInstanceStorageConfigsResponse
smart constructor.
ListInstanceStorageConfigsResponse' | |
|
Instances
newListInstanceStorageConfigsResponse Source #
Create a value of ListInstanceStorageConfigsResponse
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:storageConfigs:ListInstanceStorageConfigsResponse'
, listInstanceStorageConfigsResponse_storageConfigs
- A valid storage type.
$sel:nextToken:ListInstanceStorageConfigs'
, listInstanceStorageConfigsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListInstanceStorageConfigsResponse'
, listInstanceStorageConfigsResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceStorageConfigsResponse_storageConfigs :: Lens' ListInstanceStorageConfigsResponse (Maybe [InstanceStorageConfig]) Source #
A valid storage type.
listInstanceStorageConfigsResponse_nextToken :: Lens' ListInstanceStorageConfigsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listInstanceStorageConfigsResponse_httpStatus :: Lens' ListInstanceStorageConfigsResponse Int Source #
The response's http status code.