libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
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.LexModels.GetBotChannelAssociations

Description

Returns a list of all of the channels associated with the specified bot.

The GetBotChannelAssociations operation requires permissions for the lex:GetBotChannelAssociations action.

This operation returns paginated results.

Synopsis

Creating a Request

data GetBotChannelAssociations Source #

See: newGetBotChannelAssociations smart constructor.

Constructors

GetBotChannelAssociations' 

Fields

  • nameContains :: Maybe Text

    Substring to match in channel association names. An association will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To return all bot channel associations, use a hyphen ("-") as the nameContains parameter.

  • nextToken :: Maybe Text

    A pagination token for fetching the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.

  • maxResults :: Maybe Natural

    The maximum number of associations to return in the response. The default is 50.

  • botName :: Text

    The name of the Amazon Lex bot in the association.

  • botAlias :: Text

    An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

Instances

Instances details
Eq GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Read GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Show GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Generic GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Associated Types

type Rep GetBotChannelAssociations :: Type -> Type #

NFData GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Hashable GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

AWSPager GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

AWSRequest GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

ToHeaders GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

ToPath GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

ToQuery GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

type Rep GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

type Rep GetBotChannelAssociations = D1 ('MetaData "GetBotChannelAssociations" "Amazonka.LexModels.GetBotChannelAssociations" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetBotChannelAssociations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetBotChannelAssociations Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

newGetBotChannelAssociations Source #

Create a value of GetBotChannelAssociations 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:nameContains:GetBotChannelAssociations', getBotChannelAssociations_nameContains - Substring to match in channel association names. An association will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To return all bot channel associations, use a hyphen ("-") as the nameContains parameter.

$sel:nextToken:GetBotChannelAssociations', getBotChannelAssociations_nextToken - A pagination token for fetching the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.

$sel:maxResults:GetBotChannelAssociations', getBotChannelAssociations_maxResults - The maximum number of associations to return in the response. The default is 50.

$sel:botName:GetBotChannelAssociations', getBotChannelAssociations_botName - The name of the Amazon Lex bot in the association.

$sel:botAlias:GetBotChannelAssociations', getBotChannelAssociations_botAlias - An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

Request Lenses

getBotChannelAssociations_nameContains :: Lens' GetBotChannelAssociations (Maybe Text) Source #

Substring to match in channel association names. An association will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To return all bot channel associations, use a hyphen ("-") as the nameContains parameter.

getBotChannelAssociations_nextToken :: Lens' GetBotChannelAssociations (Maybe Text) Source #

A pagination token for fetching the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.

getBotChannelAssociations_maxResults :: Lens' GetBotChannelAssociations (Maybe Natural) Source #

The maximum number of associations to return in the response. The default is 50.

getBotChannelAssociations_botName :: Lens' GetBotChannelAssociations Text Source #

The name of the Amazon Lex bot in the association.

getBotChannelAssociations_botAlias :: Lens' GetBotChannelAssociations Text Source #

An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

Destructuring the Response

data GetBotChannelAssociationsResponse Source #

See: newGetBotChannelAssociationsResponse smart constructor.

Constructors

GetBotChannelAssociationsResponse' 

Fields

  • botChannelAssociations :: Maybe [BotChannelAssociation]

    An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.

  • nextToken :: Maybe Text

    A pagination token that fetches the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetBotChannelAssociationsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Show GetBotChannelAssociationsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Generic GetBotChannelAssociationsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

Associated Types

type Rep GetBotChannelAssociationsResponse :: Type -> Type #

NFData GetBotChannelAssociationsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

type Rep GetBotChannelAssociationsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociations

type Rep GetBotChannelAssociationsResponse = D1 ('MetaData "GetBotChannelAssociationsResponse" "Amazonka.LexModels.GetBotChannelAssociations" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetBotChannelAssociationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "botChannelAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BotChannelAssociation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetBotChannelAssociationsResponse Source #

Create a value of GetBotChannelAssociationsResponse 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:botChannelAssociations:GetBotChannelAssociationsResponse', getBotChannelAssociationsResponse_botChannelAssociations - An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.

$sel:nextToken:GetBotChannelAssociations', getBotChannelAssociationsResponse_nextToken - A pagination token that fetches the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.

$sel:httpStatus:GetBotChannelAssociationsResponse', getBotChannelAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

getBotChannelAssociationsResponse_botChannelAssociations :: Lens' GetBotChannelAssociationsResponse (Maybe [BotChannelAssociation]) Source #

An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.

getBotChannelAssociationsResponse_nextToken :: Lens' GetBotChannelAssociationsResponse (Maybe Text) Source #

A pagination token that fetches the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.