| 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.ListSecurityKeys
Description
This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all security keys associated with the instance.
This operation returns paginated results.
Synopsis
- data ListSecurityKeys = ListSecurityKeys' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceId :: Text
- newListSecurityKeys :: Text -> ListSecurityKeys
- listSecurityKeys_maxResults :: Lens' ListSecurityKeys (Maybe Natural)
- listSecurityKeys_nextToken :: Lens' ListSecurityKeys (Maybe Text)
- listSecurityKeys_instanceId :: Lens' ListSecurityKeys Text
- data ListSecurityKeysResponse = ListSecurityKeysResponse' {
- nextToken :: Maybe Text
- securityKeys :: Maybe [SecurityKey]
- httpStatus :: Int
- newListSecurityKeysResponse :: Int -> ListSecurityKeysResponse
- listSecurityKeysResponse_nextToken :: Lens' ListSecurityKeysResponse (Maybe Text)
- listSecurityKeysResponse_securityKeys :: Lens' ListSecurityKeysResponse (Maybe [SecurityKey])
- listSecurityKeysResponse_httpStatus :: Lens' ListSecurityKeysResponse Int
Creating a Request
data ListSecurityKeys Source #
See: newListSecurityKeys smart constructor.
Constructors
| ListSecurityKeys' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListSecurityKeys |
Create a value of ListSecurityKeys 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:ListSecurityKeys', listSecurityKeys_maxResults - The maximum number of results to return per page.
ListSecurityKeys, listSecurityKeys_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.
ListSecurityKeys, listSecurityKeys_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listSecurityKeys_maxResults :: Lens' ListSecurityKeys (Maybe Natural) Source #
The maximum number of results to return per page.
listSecurityKeys_nextToken :: Lens' ListSecurityKeys (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.
listSecurityKeys_instanceId :: Lens' ListSecurityKeys Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListSecurityKeysResponse Source #
See: newListSecurityKeysResponse smart constructor.
Constructors
| ListSecurityKeysResponse' | |
Fields
| |
Instances
newListSecurityKeysResponse Source #
Create a value of ListSecurityKeysResponse 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:
ListSecurityKeys, listSecurityKeysResponse_nextToken - If there are additional results, this is the token for the next set of
results.
$sel:securityKeys:ListSecurityKeysResponse', listSecurityKeysResponse_securityKeys - The security keys.
$sel:httpStatus:ListSecurityKeysResponse', listSecurityKeysResponse_httpStatus - The response's http status code.
Response Lenses
listSecurityKeysResponse_nextToken :: Lens' ListSecurityKeysResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listSecurityKeysResponse_securityKeys :: Lens' ListSecurityKeysResponse (Maybe [SecurityKey]) Source #
The security keys.
listSecurityKeysResponse_httpStatus :: Lens' ListSecurityKeysResponse Int Source #
The response's http status code.