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 |
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName
and metricName
cannot be used in the same request.
This operation returns paginated results.
Synopsis
- data ListSecurityProfiles = ListSecurityProfiles' {}
- newListSecurityProfiles :: ListSecurityProfiles
- listSecurityProfiles_dimensionName :: Lens' ListSecurityProfiles (Maybe Text)
- listSecurityProfiles_maxResults :: Lens' ListSecurityProfiles (Maybe Natural)
- listSecurityProfiles_metricName :: Lens' ListSecurityProfiles (Maybe Text)
- listSecurityProfiles_nextToken :: Lens' ListSecurityProfiles (Maybe Text)
- data ListSecurityProfilesResponse = ListSecurityProfilesResponse' {}
- newListSecurityProfilesResponse :: Int -> ListSecurityProfilesResponse
- listSecurityProfilesResponse_nextToken :: Lens' ListSecurityProfilesResponse (Maybe Text)
- listSecurityProfilesResponse_securityProfileIdentifiers :: Lens' ListSecurityProfilesResponse (Maybe [SecurityProfileIdentifier])
- listSecurityProfilesResponse_httpStatus :: Lens' ListSecurityProfilesResponse Int
Creating a Request
data ListSecurityProfiles Source #
See: newListSecurityProfiles
smart constructor.
ListSecurityProfiles' | |
|
Instances
newListSecurityProfiles :: ListSecurityProfiles Source #
Create a value of ListSecurityProfiles
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:
ListSecurityProfiles
, listSecurityProfiles_dimensionName
- A filter to limit results to the security profiles that use the defined
dimension. Cannot be used with metricName
$sel:maxResults:ListSecurityProfiles'
, listSecurityProfiles_maxResults
- The maximum number of results to return at one time.
ListSecurityProfiles
, listSecurityProfiles_metricName
- The name of the custom metric. Cannot be used with dimensionName
.
ListSecurityProfiles
, listSecurityProfiles_nextToken
- The token for the next set of results.
Request Lenses
listSecurityProfiles_dimensionName :: Lens' ListSecurityProfiles (Maybe Text) Source #
A filter to limit results to the security profiles that use the defined
dimension. Cannot be used with metricName
listSecurityProfiles_maxResults :: Lens' ListSecurityProfiles (Maybe Natural) Source #
The maximum number of results to return at one time.
listSecurityProfiles_metricName :: Lens' ListSecurityProfiles (Maybe Text) Source #
The name of the custom metric. Cannot be used with dimensionName
.
listSecurityProfiles_nextToken :: Lens' ListSecurityProfiles (Maybe Text) Source #
The token for the next set of results.
Destructuring the Response
data ListSecurityProfilesResponse Source #
See: newListSecurityProfilesResponse
smart constructor.
ListSecurityProfilesResponse' | |
|
Instances
newListSecurityProfilesResponse Source #
Create a value of ListSecurityProfilesResponse
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:
ListSecurityProfiles
, listSecurityProfilesResponse_nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:securityProfileIdentifiers:ListSecurityProfilesResponse'
, listSecurityProfilesResponse_securityProfileIdentifiers
- A list of security profile identifiers (names and ARNs).
$sel:httpStatus:ListSecurityProfilesResponse'
, listSecurityProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
listSecurityProfilesResponse_nextToken :: Lens' ListSecurityProfilesResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listSecurityProfilesResponse_securityProfileIdentifiers :: Lens' ListSecurityProfilesResponse (Maybe [SecurityProfileIdentifier]) Source #
A list of security profile identifiers (names and ARNs).
listSecurityProfilesResponse_httpStatus :: Lens' ListSecurityProfilesResponse Int Source #
The response's http status code.