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 targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
This operation returns paginated results.
Synopsis
- data ListTargetsForSecurityProfile = ListTargetsForSecurityProfile' {}
- newListTargetsForSecurityProfile :: Text -> ListTargetsForSecurityProfile
- listTargetsForSecurityProfile_nextToken :: Lens' ListTargetsForSecurityProfile (Maybe Text)
- listTargetsForSecurityProfile_maxResults :: Lens' ListTargetsForSecurityProfile (Maybe Natural)
- listTargetsForSecurityProfile_securityProfileName :: Lens' ListTargetsForSecurityProfile Text
- data ListTargetsForSecurityProfileResponse = ListTargetsForSecurityProfileResponse' {}
- newListTargetsForSecurityProfileResponse :: Int -> ListTargetsForSecurityProfileResponse
- listTargetsForSecurityProfileResponse_securityProfileTargets :: Lens' ListTargetsForSecurityProfileResponse (Maybe [SecurityProfileTarget])
- listTargetsForSecurityProfileResponse_nextToken :: Lens' ListTargetsForSecurityProfileResponse (Maybe Text)
- listTargetsForSecurityProfileResponse_httpStatus :: Lens' ListTargetsForSecurityProfileResponse Int
Creating a Request
data ListTargetsForSecurityProfile Source #
See: newListTargetsForSecurityProfile
smart constructor.
ListTargetsForSecurityProfile' | |
|
Instances
newListTargetsForSecurityProfile Source #
Create a value of ListTargetsForSecurityProfile
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:ListTargetsForSecurityProfile'
, listTargetsForSecurityProfile_nextToken
- The token for the next set of results.
$sel:maxResults:ListTargetsForSecurityProfile'
, listTargetsForSecurityProfile_maxResults
- The maximum number of results to return at one time.
$sel:securityProfileName:ListTargetsForSecurityProfile'
, listTargetsForSecurityProfile_securityProfileName
- The security profile.
Request Lenses
listTargetsForSecurityProfile_nextToken :: Lens' ListTargetsForSecurityProfile (Maybe Text) Source #
The token for the next set of results.
listTargetsForSecurityProfile_maxResults :: Lens' ListTargetsForSecurityProfile (Maybe Natural) Source #
The maximum number of results to return at one time.
listTargetsForSecurityProfile_securityProfileName :: Lens' ListTargetsForSecurityProfile Text Source #
The security profile.
Destructuring the Response
data ListTargetsForSecurityProfileResponse Source #
See: newListTargetsForSecurityProfileResponse
smart constructor.
ListTargetsForSecurityProfileResponse' | |
|
Instances
newListTargetsForSecurityProfileResponse Source #
Create a value of ListTargetsForSecurityProfileResponse
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:securityProfileTargets:ListTargetsForSecurityProfileResponse'
, listTargetsForSecurityProfileResponse_securityProfileTargets
- The thing groups to which the security profile is attached.
$sel:nextToken:ListTargetsForSecurityProfile'
, listTargetsForSecurityProfileResponse_nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:httpStatus:ListTargetsForSecurityProfileResponse'
, listTargetsForSecurityProfileResponse_httpStatus
- The response's http status code.
Response Lenses
listTargetsForSecurityProfileResponse_securityProfileTargets :: Lens' ListTargetsForSecurityProfileResponse (Maybe [SecurityProfileTarget]) Source #
The thing groups to which the security profile is attached.
listTargetsForSecurityProfileResponse_nextToken :: Lens' ListTargetsForSecurityProfileResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listTargetsForSecurityProfileResponse_httpStatus :: Lens' ListTargetsForSecurityProfileResponse Int Source #
The response's http status code.