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 security keys associated with the instance.
This operation returns paginated results.
Synopsis
- data ListSecurityKeys = ListSecurityKeys' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListSecurityKeys :: Text -> ListSecurityKeys
- listSecurityKeys_nextToken :: Lens' ListSecurityKeys (Maybe Text)
- listSecurityKeys_maxResults :: Lens' ListSecurityKeys (Maybe Natural)
- 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.
ListSecurityKeys' | |
|
Instances
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:nextToken: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.
$sel:maxResults:ListSecurityKeys'
, listSecurityKeys_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListSecurityKeys'
, listSecurityKeys_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
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_maxResults :: Lens' ListSecurityKeys (Maybe Natural) Source #
The maximum number of results to return per page.
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.
ListSecurityKeysResponse' | |
|
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:
$sel:nextToken: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.