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

Description

Lists all enabled skills in a specific skill group.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSkills Source #

See: newListSkills smart constructor.

Constructors

ListSkills' 

Fields

  • skillGroupArn :: Maybe Text

    The ARN of the skill group for which to list enabled skills.

  • skillType :: Maybe SkillTypeFilter

    Whether the skill is publicly available or is a private skill.

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

  • enablementType :: Maybe EnablementTypeFilter

    Whether the skill is enabled under the user's account.

  • 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 ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Read ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Show ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Generic ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Associated Types

type Rep ListSkills :: Type -> Type #

NFData ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Methods

rnf :: ListSkills -> () #

Hashable ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

ToJSON ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

AWSPager ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

AWSRequest ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Associated Types

type AWSResponse ListSkills #

ToHeaders ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Methods

toHeaders :: ListSkills -> [Header] #

ToPath ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

ToQuery ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

type Rep ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

type Rep ListSkills = D1 ('MetaData "ListSkills" "Amazonka.AlexaBusiness.ListSkills" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "ListSkills'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "skillGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "skillType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SkillTypeFilter))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enablementType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnablementTypeFilter)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse ListSkills Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

newListSkills :: ListSkills Source #

Create a value of ListSkills 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:skillGroupArn:ListSkills', listSkills_skillGroupArn - The ARN of the skill group for which to list enabled skills.

$sel:skillType:ListSkills', listSkills_skillType - Whether the skill is publicly available or is a private skill.

$sel:nextToken:ListSkills', listSkills_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:enablementType:ListSkills', listSkills_enablementType - Whether the skill is enabled under the user's account.

$sel:maxResults:ListSkills', listSkills_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

listSkills_skillGroupArn :: Lens' ListSkills (Maybe Text) Source #

The ARN of the skill group for which to list enabled skills.

listSkills_skillType :: Lens' ListSkills (Maybe SkillTypeFilter) Source #

Whether the skill is publicly available or is a private skill.

listSkills_nextToken :: Lens' ListSkills (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.

listSkills_enablementType :: Lens' ListSkills (Maybe EnablementTypeFilter) Source #

Whether the skill is enabled under the user's account.

listSkills_maxResults :: Lens' ListSkills (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 ListSkillsResponse Source #

See: newListSkillsResponse smart constructor.

Constructors

ListSkillsResponse' 

Fields

Instances

Instances details
Eq ListSkillsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Read ListSkillsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Show ListSkillsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Generic ListSkillsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Associated Types

type Rep ListSkillsResponse :: Type -> Type #

NFData ListSkillsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

Methods

rnf :: ListSkillsResponse -> () #

type Rep ListSkillsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListSkills

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

newListSkillsResponse Source #

Create a value of ListSkillsResponse 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:nextToken:ListSkills', listSkillsResponse_nextToken - The token returned to indicate that there is more data available.

$sel:skillSummaries:ListSkillsResponse', listSkillsResponse_skillSummaries - The list of enabled skills requested. Required.

$sel:httpStatus:ListSkillsResponse', listSkillsResponse_httpStatus - The response's http status code.

Response Lenses

listSkillsResponse_nextToken :: Lens' ListSkillsResponse (Maybe Text) Source #

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

listSkillsResponse_skillSummaries :: Lens' ListSkillsResponse (Maybe [SkillSummary]) Source #

The list of enabled skills requested. Required.