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 |
This API is in preview release for Amazon Connect and is subject to change.
Lists the permissions granted to a security profile.
This operation returns paginated results.
Synopsis
- data ListSecurityProfilePermissions = ListSecurityProfilePermissions' {}
- newListSecurityProfilePermissions :: Text -> Text -> ListSecurityProfilePermissions
- listSecurityProfilePermissions_maxResults :: Lens' ListSecurityProfilePermissions (Maybe Natural)
- listSecurityProfilePermissions_nextToken :: Lens' ListSecurityProfilePermissions (Maybe Text)
- listSecurityProfilePermissions_securityProfileId :: Lens' ListSecurityProfilePermissions Text
- listSecurityProfilePermissions_instanceId :: Lens' ListSecurityProfilePermissions Text
- data ListSecurityProfilePermissionsResponse = ListSecurityProfilePermissionsResponse' {
- nextToken :: Maybe Text
- permissions :: Maybe [Text]
- httpStatus :: Int
- newListSecurityProfilePermissionsResponse :: Int -> ListSecurityProfilePermissionsResponse
- listSecurityProfilePermissionsResponse_nextToken :: Lens' ListSecurityProfilePermissionsResponse (Maybe Text)
- listSecurityProfilePermissionsResponse_permissions :: Lens' ListSecurityProfilePermissionsResponse (Maybe [Text])
- listSecurityProfilePermissionsResponse_httpStatus :: Lens' ListSecurityProfilePermissionsResponse Int
Creating a Request
data ListSecurityProfilePermissions Source #
See: newListSecurityProfilePermissions
smart constructor.
ListSecurityProfilePermissions' | |
|
Instances
newListSecurityProfilePermissions Source #
Create a value of ListSecurityProfilePermissions
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:ListSecurityProfilePermissions'
, listSecurityProfilePermissions_maxResults
- The maximum number of results to return per page.
ListSecurityProfilePermissions
, listSecurityProfilePermissions_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:securityProfileId:ListSecurityProfilePermissions'
, listSecurityProfilePermissions_securityProfileId
- The identifier for the security profle.
ListSecurityProfilePermissions
, listSecurityProfilePermissions_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listSecurityProfilePermissions_maxResults :: Lens' ListSecurityProfilePermissions (Maybe Natural) Source #
The maximum number of results to return per page.
listSecurityProfilePermissions_nextToken :: Lens' ListSecurityProfilePermissions (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.
listSecurityProfilePermissions_securityProfileId :: Lens' ListSecurityProfilePermissions Text Source #
The identifier for the security profle.
listSecurityProfilePermissions_instanceId :: Lens' ListSecurityProfilePermissions Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListSecurityProfilePermissionsResponse Source #
See: newListSecurityProfilePermissionsResponse
smart constructor.
ListSecurityProfilePermissionsResponse' | |
|
Instances
newListSecurityProfilePermissionsResponse Source #
Create a value of ListSecurityProfilePermissionsResponse
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:
ListSecurityProfilePermissions
, listSecurityProfilePermissionsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:permissions:ListSecurityProfilePermissionsResponse'
, listSecurityProfilePermissionsResponse_permissions
- The permissions granted to the security profile. For a complete list of
valid permissions, see
List of security profile permissions.
$sel:httpStatus:ListSecurityProfilePermissionsResponse'
, listSecurityProfilePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSecurityProfilePermissionsResponse_nextToken :: Lens' ListSecurityProfilePermissionsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listSecurityProfilePermissionsResponse_permissions :: Lens' ListSecurityProfilePermissionsResponse (Maybe [Text]) Source #
The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
listSecurityProfilePermissionsResponse_httpStatus :: Lens' ListSecurityProfilePermissionsResponse Int Source #
The response's http status code.