| 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.ListInstanceStorageConfigs
Description
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_maxResults :: Lens' ListInstanceStorageConfigs (Maybe Natural)
- listInstanceStorageConfigs_nextToken :: Lens' ListInstanceStorageConfigs (Maybe Text)
- listInstanceStorageConfigs_instanceId :: Lens' ListInstanceStorageConfigs Text
- listInstanceStorageConfigs_resourceType :: Lens' ListInstanceStorageConfigs InstanceStorageResourceType
- data ListInstanceStorageConfigsResponse = ListInstanceStorageConfigsResponse' {}
- newListInstanceStorageConfigsResponse :: Int -> ListInstanceStorageConfigsResponse
- listInstanceStorageConfigsResponse_nextToken :: Lens' ListInstanceStorageConfigsResponse (Maybe Text)
- listInstanceStorageConfigsResponse_storageConfigs :: Lens' ListInstanceStorageConfigsResponse (Maybe [InstanceStorageConfig])
- listInstanceStorageConfigsResponse_httpStatus :: Lens' ListInstanceStorageConfigsResponse Int
Creating a Request
data ListInstanceStorageConfigs Source #
See: newListInstanceStorageConfigs smart constructor.
Constructors
| ListInstanceStorageConfigs' | |
Fields
| |
Instances
newListInstanceStorageConfigs Source #
Arguments
| :: Text | |
| -> InstanceStorageResourceType | |
| -> ListInstanceStorageConfigs |
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:maxResults:ListInstanceStorageConfigs', listInstanceStorageConfigs_maxResults - The maximum number of results to return per page.
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.
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_maxResults :: Lens' ListInstanceStorageConfigs (Maybe Natural) Source #
The maximum number of results to return per page.
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_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.
Constructors
| ListInstanceStorageConfigsResponse' | |
Fields
| |
Instances
newListInstanceStorageConfigsResponse Source #
Arguments
| :: Int | |
| -> ListInstanceStorageConfigsResponse |
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:
ListInstanceStorageConfigs, listInstanceStorageConfigsResponse_nextToken - If there are additional results, this is the token for the next set of
results.
$sel:storageConfigs:ListInstanceStorageConfigsResponse', listInstanceStorageConfigsResponse_storageConfigs - A valid storage type.
$sel:httpStatus:ListInstanceStorageConfigsResponse', listInstanceStorageConfigsResponse_httpStatus - The response's http status code.
Response Lenses
listInstanceStorageConfigsResponse_nextToken :: Lens' ListInstanceStorageConfigsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listInstanceStorageConfigsResponse_storageConfigs :: Lens' ListInstanceStorageConfigsResponse (Maybe [InstanceStorageConfig]) Source #
A valid storage type.
listInstanceStorageConfigsResponse_httpStatus :: Lens' ListInstanceStorageConfigsResponse Int Source #
The response's http status code.