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.
Searches security profiles in an Amazon Connect instance, with optional filtering.
This operation returns paginated results.
Synopsis
- data SearchSecurityProfiles = SearchSecurityProfiles' {}
- newSearchSecurityProfiles :: Text -> SearchSecurityProfiles
- searchSecurityProfiles_maxResults :: Lens' SearchSecurityProfiles (Maybe Natural)
- searchSecurityProfiles_nextToken :: Lens' SearchSecurityProfiles (Maybe Text)
- searchSecurityProfiles_searchCriteria :: Lens' SearchSecurityProfiles (Maybe SecurityProfileSearchCriteria)
- searchSecurityProfiles_searchFilter :: Lens' SearchSecurityProfiles (Maybe SecurityProfilesSearchFilter)
- searchSecurityProfiles_instanceId :: Lens' SearchSecurityProfiles Text
- data SearchSecurityProfilesResponse = SearchSecurityProfilesResponse' {}
- newSearchSecurityProfilesResponse :: Int -> SearchSecurityProfilesResponse
- searchSecurityProfilesResponse_approximateTotalCount :: Lens' SearchSecurityProfilesResponse (Maybe Integer)
- searchSecurityProfilesResponse_nextToken :: Lens' SearchSecurityProfilesResponse (Maybe Text)
- searchSecurityProfilesResponse_securityProfiles :: Lens' SearchSecurityProfilesResponse (Maybe [SecurityProfileSearchSummary])
- searchSecurityProfilesResponse_httpStatus :: Lens' SearchSecurityProfilesResponse Int
Creating a Request
data SearchSecurityProfiles Source #
See: newSearchSecurityProfiles
smart constructor.
SearchSecurityProfiles' | |
|
Instances
newSearchSecurityProfiles Source #
Create a value of SearchSecurityProfiles
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:SearchSecurityProfiles'
, searchSecurityProfiles_maxResults
- The maximum number of results to return per page.
SearchSecurityProfiles
, searchSecurityProfiles_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:searchCriteria:SearchSecurityProfiles'
, searchSecurityProfiles_searchCriteria
- The search criteria to be used to return security profiles.
The name
field support "contains" queries with a minimum of 2
characters and maximum of 25 characters. Any queries with character
lengths outside of this range will throw invalid results.
The currently supported value for FieldName
: name
$sel:searchFilter:SearchSecurityProfiles'
, searchSecurityProfiles_searchFilter
- Filters to be applied to search results.
SearchSecurityProfiles
, searchSecurityProfiles_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
searchSecurityProfiles_maxResults :: Lens' SearchSecurityProfiles (Maybe Natural) Source #
The maximum number of results to return per page.
searchSecurityProfiles_nextToken :: Lens' SearchSecurityProfiles (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.
searchSecurityProfiles_searchCriteria :: Lens' SearchSecurityProfiles (Maybe SecurityProfileSearchCriteria) Source #
The search criteria to be used to return security profiles.
The name
field support "contains" queries with a minimum of 2
characters and maximum of 25 characters. Any queries with character
lengths outside of this range will throw invalid results.
The currently supported value for FieldName
: name
searchSecurityProfiles_searchFilter :: Lens' SearchSecurityProfiles (Maybe SecurityProfilesSearchFilter) Source #
Filters to be applied to search results.
searchSecurityProfiles_instanceId :: Lens' SearchSecurityProfiles Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data SearchSecurityProfilesResponse Source #
See: newSearchSecurityProfilesResponse
smart constructor.
SearchSecurityProfilesResponse' | |
|
Instances
newSearchSecurityProfilesResponse Source #
Create a value of SearchSecurityProfilesResponse
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:approximateTotalCount:SearchSecurityProfilesResponse'
, searchSecurityProfilesResponse_approximateTotalCount
- The total number of security profiles which matched your search query.
SearchSecurityProfiles
, searchSecurityProfilesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:securityProfiles:SearchSecurityProfilesResponse'
, searchSecurityProfilesResponse_securityProfiles
- Information about the security profiles.
$sel:httpStatus:SearchSecurityProfilesResponse'
, searchSecurityProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
searchSecurityProfilesResponse_approximateTotalCount :: Lens' SearchSecurityProfilesResponse (Maybe Integer) Source #
The total number of security profiles which matched your search query.
searchSecurityProfilesResponse_nextToken :: Lens' SearchSecurityProfilesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
searchSecurityProfilesResponse_securityProfiles :: Lens' SearchSecurityProfilesResponse (Maybe [SecurityProfileSearchSummary]) Source #
Information about the security profiles.
searchSecurityProfilesResponse_httpStatus :: Lens' SearchSecurityProfilesResponse Int Source #
The response's http status code.