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 |
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
This operation returns paginated results.
Synopsis
- data ListSecurityProfilesForTarget = ListSecurityProfilesForTarget' {}
- newListSecurityProfilesForTarget :: Text -> ListSecurityProfilesForTarget
- listSecurityProfilesForTarget_nextToken :: Lens' ListSecurityProfilesForTarget (Maybe Text)
- listSecurityProfilesForTarget_recursive :: Lens' ListSecurityProfilesForTarget (Maybe Bool)
- listSecurityProfilesForTarget_maxResults :: Lens' ListSecurityProfilesForTarget (Maybe Natural)
- listSecurityProfilesForTarget_securityProfileTargetArn :: Lens' ListSecurityProfilesForTarget Text
- data ListSecurityProfilesForTargetResponse = ListSecurityProfilesForTargetResponse' {}
- newListSecurityProfilesForTargetResponse :: Int -> ListSecurityProfilesForTargetResponse
- listSecurityProfilesForTargetResponse_nextToken :: Lens' ListSecurityProfilesForTargetResponse (Maybe Text)
- listSecurityProfilesForTargetResponse_securityProfileTargetMappings :: Lens' ListSecurityProfilesForTargetResponse (Maybe [SecurityProfileTargetMapping])
- listSecurityProfilesForTargetResponse_httpStatus :: Lens' ListSecurityProfilesForTargetResponse Int
Creating a Request
data ListSecurityProfilesForTarget Source #
See: newListSecurityProfilesForTarget
smart constructor.
ListSecurityProfilesForTarget' | |
|
Instances
newListSecurityProfilesForTarget Source #
Create a value of ListSecurityProfilesForTarget
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:ListSecurityProfilesForTarget'
, listSecurityProfilesForTarget_nextToken
- The token for the next set of results.
$sel:recursive:ListSecurityProfilesForTarget'
, listSecurityProfilesForTarget_recursive
- If true, return child groups too.
$sel:maxResults:ListSecurityProfilesForTarget'
, listSecurityProfilesForTarget_maxResults
- The maximum number of results to return at one time.
$sel:securityProfileTargetArn:ListSecurityProfilesForTarget'
, listSecurityProfilesForTarget_securityProfileTargetArn
- The ARN of the target (thing group) whose attached security profiles you
want to get.
Request Lenses
listSecurityProfilesForTarget_nextToken :: Lens' ListSecurityProfilesForTarget (Maybe Text) Source #
The token for the next set of results.
listSecurityProfilesForTarget_recursive :: Lens' ListSecurityProfilesForTarget (Maybe Bool) Source #
If true, return child groups too.
listSecurityProfilesForTarget_maxResults :: Lens' ListSecurityProfilesForTarget (Maybe Natural) Source #
The maximum number of results to return at one time.
listSecurityProfilesForTarget_securityProfileTargetArn :: Lens' ListSecurityProfilesForTarget Text Source #
The ARN of the target (thing group) whose attached security profiles you want to get.
Destructuring the Response
data ListSecurityProfilesForTargetResponse Source #
See: newListSecurityProfilesForTargetResponse
smart constructor.
ListSecurityProfilesForTargetResponse' | |
|
Instances
newListSecurityProfilesForTargetResponse Source #
Create a value of ListSecurityProfilesForTargetResponse
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:ListSecurityProfilesForTarget'
, listSecurityProfilesForTargetResponse_nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:securityProfileTargetMappings:ListSecurityProfilesForTargetResponse'
, listSecurityProfilesForTargetResponse_securityProfileTargetMappings
- A list of security profiles and their associated targets.
$sel:httpStatus:ListSecurityProfilesForTargetResponse'
, listSecurityProfilesForTargetResponse_httpStatus
- The response's http status code.
Response Lenses
listSecurityProfilesForTargetResponse_nextToken :: Lens' ListSecurityProfilesForTargetResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listSecurityProfilesForTargetResponse_securityProfileTargetMappings :: Lens' ListSecurityProfilesForTargetResponse (Maybe [SecurityProfileTargetMapping]) Source #
A list of security profiles and their associated targets.
listSecurityProfilesForTargetResponse_httpStatus :: Lens' ListSecurityProfilesForTargetResponse Int Source #
The response's http status code.