amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.SearchSecurityProfiles

Description

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

Creating a Request

data SearchSecurityProfiles Source #

See: newSearchSecurityProfiles smart constructor.

Constructors

SearchSecurityProfiles' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • nextToken :: Maybe Text

    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.

  • searchCriteria :: Maybe SecurityProfileSearchCriteria

    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

  • searchFilter :: Maybe SecurityProfilesSearchFilter

    Filters to be applied to search results.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Instances

Instances details
ToJSON SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

ToHeaders SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

ToPath SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

ToQuery SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

AWSPager SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

AWSRequest SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Associated Types

type AWSResponse SearchSecurityProfiles #

Generic SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Associated Types

type Rep SearchSecurityProfiles :: Type -> Type #

Read SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Show SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

NFData SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Methods

rnf :: SearchSecurityProfiles -> () #

Eq SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Hashable SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

type AWSResponse SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

type Rep SearchSecurityProfiles Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

type Rep SearchSecurityProfiles = D1 ('MetaData "SearchSecurityProfiles" "Amazonka.Connect.SearchSecurityProfiles" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "SearchSecurityProfiles'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "searchCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityProfileSearchCriteria)) :*: (S1 ('MetaSel ('Just "searchFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityProfilesSearchFilter)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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_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.

Constructors

SearchSecurityProfilesResponse' 

Fields

Instances

Instances details
Generic SearchSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Associated Types

type Rep SearchSecurityProfilesResponse :: Type -> Type #

Read SearchSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Show SearchSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

NFData SearchSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

Eq SearchSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

type Rep SearchSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchSecurityProfiles

type Rep SearchSecurityProfilesResponse = D1 ('MetaData "SearchSecurityProfilesResponse" "Amazonka.Connect.SearchSecurityProfiles" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "SearchSecurityProfilesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "approximateTotalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityProfiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecurityProfileSearchSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.