amazonka-alexa-business-2.0: Amazon Alexa For Business 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.AlexaBusiness.SearchSkillGroups

Description

Searches skill groups and lists the ones that meet a set of filter and sort criteria.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchSkillGroups Source #

See: newSearchSkillGroups smart constructor.

Constructors

SearchSkillGroups' 

Fields

  • filters :: Maybe [Filter]

    The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.

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

  • 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. Required.

  • sortCriteria :: Maybe [Sort]

    The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.

Instances

Instances details
ToJSON SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

ToHeaders SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

ToPath SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

ToQuery SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

AWSPager SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

AWSRequest SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Associated Types

type AWSResponse SearchSkillGroups #

Generic SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Associated Types

type Rep SearchSkillGroups :: Type -> Type #

Read SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Show SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

NFData SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Methods

rnf :: SearchSkillGroups -> () #

Eq SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Hashable SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

type AWSResponse SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

type Rep SearchSkillGroups Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

type Rep SearchSkillGroups = D1 ('MetaData "SearchSkillGroups" "Amazonka.AlexaBusiness.SearchSkillGroups" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "SearchSkillGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sort])))))

newSearchSkillGroups :: SearchSkillGroups Source #

Create a value of SearchSkillGroups 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:SearchSkillGroups', searchSkillGroups_filters - The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.

$sel:maxResults:SearchSkillGroups', searchSkillGroups_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.

SearchSkillGroups, searchSkillGroups_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. Required.

$sel:sortCriteria:SearchSkillGroups', searchSkillGroups_sortCriteria - The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.

Request Lenses

searchSkillGroups_filters :: Lens' SearchSkillGroups (Maybe [Filter]) Source #

The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.

searchSkillGroups_maxResults :: Lens' SearchSkillGroups (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.

searchSkillGroups_nextToken :: Lens' SearchSkillGroups (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. Required.

searchSkillGroups_sortCriteria :: Lens' SearchSkillGroups (Maybe [Sort]) Source #

The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.

Destructuring the Response

data SearchSkillGroupsResponse Source #

See: newSearchSkillGroupsResponse smart constructor.

Constructors

SearchSkillGroupsResponse' 

Fields

Instances

Instances details
Generic SearchSkillGroupsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Associated Types

type Rep SearchSkillGroupsResponse :: Type -> Type #

Read SearchSkillGroupsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Show SearchSkillGroupsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

NFData SearchSkillGroupsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

Eq SearchSkillGroupsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

type Rep SearchSkillGroupsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchSkillGroups

type Rep SearchSkillGroupsResponse = D1 ('MetaData "SearchSkillGroupsResponse" "Amazonka.AlexaBusiness.SearchSkillGroups" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "SearchSkillGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "skillGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SkillGroupData]))) :*: (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchSkillGroupsResponse Source #

Create a value of SearchSkillGroupsResponse 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:

SearchSkillGroups, searchSkillGroupsResponse_nextToken - The token returned to indicate that there is more data available.

$sel:skillGroups:SearchSkillGroupsResponse', searchSkillGroupsResponse_skillGroups - The skill groups that meet the filter criteria, in sort order.

$sel:totalCount:SearchSkillGroupsResponse', searchSkillGroupsResponse_totalCount - The total number of skill groups returned.

$sel:httpStatus:SearchSkillGroupsResponse', searchSkillGroupsResponse_httpStatus - The response's http status code.

Response Lenses

searchSkillGroupsResponse_nextToken :: Lens' SearchSkillGroupsResponse (Maybe Text) Source #

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

searchSkillGroupsResponse_skillGroups :: Lens' SearchSkillGroupsResponse (Maybe [SkillGroupData]) Source #

The skill groups that meet the filter criteria, in sort order.