libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AlexaBusiness.SearchProfiles

Description

Searches room profiles and lists the ones that meet a set of filter criteria.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchProfiles Source #

See: newSearchProfiles smart constructor.

Constructors

SearchProfiles' 

Fields

  • filters :: Maybe [Filter]

    The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required.

  • sortCriteria :: Maybe [Sort]

    The sort order to use in listing the specified set of room profiles. Supported sort keys are ProfileName and Address.

  • nextToken :: Maybe Text

    An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Instances

Instances details
Eq SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Read SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Show SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Generic SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Associated Types

type Rep SearchProfiles :: Type -> Type #

NFData SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Methods

rnf :: SearchProfiles -> () #

Hashable SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

ToJSON SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

AWSPager SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

AWSRequest SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Associated Types

type AWSResponse SearchProfiles #

ToHeaders SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

ToPath SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

ToQuery SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

type Rep SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

type Rep SearchProfiles = D1 ('MetaData "SearchProfiles" "Amazonka.AlexaBusiness.SearchProfiles" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "SearchProfiles'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sort]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse SearchProfiles Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

newSearchProfiles :: SearchProfiles Source #

Create a value of SearchProfiles 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:filters:SearchProfiles', searchProfiles_filters - The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required.

$sel:sortCriteria:SearchProfiles', searchProfiles_sortCriteria - The sort order to use in listing the specified set of room profiles. Supported sort keys are ProfileName and Address.

$sel:nextToken:SearchProfiles', searchProfiles_nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

$sel:maxResults:SearchProfiles', searchProfiles_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Request Lenses

searchProfiles_filters :: Lens' SearchProfiles (Maybe [Filter]) Source #

The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required.

searchProfiles_sortCriteria :: Lens' SearchProfiles (Maybe [Sort]) Source #

The sort order to use in listing the specified set of room profiles. Supported sort keys are ProfileName and Address.

searchProfiles_nextToken :: Lens' SearchProfiles (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

searchProfiles_maxResults :: Lens' SearchProfiles (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Destructuring the Response

data SearchProfilesResponse Source #

See: newSearchProfilesResponse smart constructor.

Constructors

SearchProfilesResponse' 

Fields

Instances

Instances details
Eq SearchProfilesResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Read SearchProfilesResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Show SearchProfilesResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Generic SearchProfilesResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Associated Types

type Rep SearchProfilesResponse :: Type -> Type #

NFData SearchProfilesResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

Methods

rnf :: SearchProfilesResponse -> () #

type Rep SearchProfilesResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchProfiles

type Rep SearchProfilesResponse = D1 ('MetaData "SearchProfilesResponse" "Amazonka.AlexaBusiness.SearchProfiles" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "SearchProfilesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProfileData])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchProfilesResponse Source #

Create a value of SearchProfilesResponse 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:profiles:SearchProfilesResponse', searchProfilesResponse_profiles - The profiles that meet the specified set of filter criteria, in sort order.

$sel:nextToken:SearchProfiles', searchProfilesResponse_nextToken - The token returned to indicate that there is more data available.

$sel:totalCount:SearchProfilesResponse', searchProfilesResponse_totalCount - The total number of room profiles returned.

$sel:httpStatus:SearchProfilesResponse', searchProfilesResponse_httpStatus - The response's http status code.

Response Lenses

searchProfilesResponse_profiles :: Lens' SearchProfilesResponse (Maybe [ProfileData]) Source #

The profiles that meet the specified set of filter criteria, in sort order.

searchProfilesResponse_nextToken :: Lens' SearchProfilesResponse (Maybe Text) Source #

The token returned to indicate that there is more data available.

searchProfilesResponse_totalCount :: Lens' SearchProfilesResponse (Maybe Int) Source #

The total number of room profiles returned.