GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::LexModelsV2::UpdateIntent(3) User Contributed Perl Documentation Paws::LexModelsV2::UpdateIntent(3)

Paws::LexModelsV2::UpdateIntent - Arguments for method UpdateIntent on Paws::LexModelsV2

This class represents the parameters used for calling the method UpdateIntent on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method UpdateIntent.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateIntent.

    my $models-v2-lex = Paws->service('LexModelsV2');
    my $UpdateIntentResponse = $models - v2 -lex->UpdateIntent(
      BotId          => 'MyId',
      BotVersion     => 'MyDraftBotVersion',
      IntentId       => 'MyId',
      IntentName     => 'MyName',
      LocaleId       => 'MyLocaleId',
      Description    => 'MyDescription',       # OPTIONAL
      DialogCodeHook => {
        Enabled => 1,
      },                                       # OPTIONAL
      FulfillmentCodeHook => {
        Enabled => 1,
      },                                       # OPTIONAL
      InputContexts => [
        {
          Name => 'MyName',                    # min: 1, max: 100
        },
        ...
      ],    # OPTIONAL
      IntentClosingSetting => {
        ClosingResponse => {
          MessageGroups => [
            {
              Message => {
                CustomPayload => {
                  Value => 'MyCustomPayloadValue',    # min: 1, max: 1000
                },    # OPTIONAL
                ImageResponseCard => {
                  Title   => 'MyAttachmentTitle',    # min: 1, max: 250
                  Buttons => [
                    {
                      Text  => 'MyButtonText',     # min: 1, max: 50
                      Value => 'MyButtonValue',    # min: 1, max: 50
                    },
                    ...
                  ],    # max: 5; OPTIONAL
                  ImageUrl => 'MyAttachmentUrl',    # min: 1, max: 250; OPTIONAL
                  Subtitle => 'MyAttachmentTitle',  # min: 1, max: 250
                },    # OPTIONAL
                PlainTextMessage => {
                  Value => 'MyPlainTextMessageValue',    # min: 1, max: 1000
                },    # OPTIONAL
                SsmlMessage => {
                  Value => 'MySSMLMessageValue',    # min: 1, max: 1000
                },    # OPTIONAL
              },
              Variations => [
                {
                  CustomPayload => {
                    Value => 'MyCustomPayloadValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                  ImageResponseCard => {
                    Title   => 'MyAttachmentTitle',    # min: 1, max: 250
                    Buttons => [
                      {
                        Text  => 'MyButtonText',     # min: 1, max: 50
                        Value => 'MyButtonValue',    # min: 1, max: 50
                      },
                      ...
                    ],    # max: 5; OPTIONAL
                    ImageUrl => 'MyAttachmentUrl',  # min: 1, max: 250; OPTIONAL
                    Subtitle => 'MyAttachmentTitle',    # min: 1, max: 250
                  },    # OPTIONAL
                  PlainTextMessage => {
                    Value => 'MyPlainTextMessageValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                  SsmlMessage => {
                    Value => 'MySSMLMessageValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                },
                ...
              ],    # max: 2; OPTIONAL
            },
            ...
          ],    # min: 1, max: 5
          AllowInterrupt => 1,    # OPTIONAL
        },
      },    # OPTIONAL
      IntentConfirmationSetting => {
        DeclinationResponse => {
          MessageGroups => [
            {
              Message => {
                CustomPayload => {
                  Value => 'MyCustomPayloadValue',    # min: 1, max: 1000
                },    # OPTIONAL
                ImageResponseCard => {
                  Title   => 'MyAttachmentTitle',    # min: 1, max: 250
                  Buttons => [
                    {
                      Text  => 'MyButtonText',     # min: 1, max: 50
                      Value => 'MyButtonValue',    # min: 1, max: 50
                    },
                    ...
                  ],    # max: 5; OPTIONAL
                  ImageUrl => 'MyAttachmentUrl',    # min: 1, max: 250; OPTIONAL
                  Subtitle => 'MyAttachmentTitle',  # min: 1, max: 250
                },    # OPTIONAL
                PlainTextMessage => {
                  Value => 'MyPlainTextMessageValue',    # min: 1, max: 1000
                },    # OPTIONAL
                SsmlMessage => {
                  Value => 'MySSMLMessageValue',    # min: 1, max: 1000
                },    # OPTIONAL
              },
              Variations => [
                {
                  CustomPayload => {
                    Value => 'MyCustomPayloadValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                  ImageResponseCard => {
                    Title   => 'MyAttachmentTitle',    # min: 1, max: 250
                    Buttons => [
                      {
                        Text  => 'MyButtonText',     # min: 1, max: 50
                        Value => 'MyButtonValue',    # min: 1, max: 50
                      },
                      ...
                    ],    # max: 5; OPTIONAL
                    ImageUrl => 'MyAttachmentUrl',  # min: 1, max: 250; OPTIONAL
                    Subtitle => 'MyAttachmentTitle',    # min: 1, max: 250
                  },    # OPTIONAL
                  PlainTextMessage => {
                    Value => 'MyPlainTextMessageValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                  SsmlMessage => {
                    Value => 'MySSMLMessageValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                },
                ...
              ],    # max: 2; OPTIONAL
            },
            ...
          ],    # min: 1, max: 5
          AllowInterrupt => 1,    # OPTIONAL
        },
        PromptSpecification => {
          MaxRetries    => 1,     # max: 5
          MessageGroups => [
            {
              Message => {
                CustomPayload => {
                  Value => 'MyCustomPayloadValue',    # min: 1, max: 1000
                },    # OPTIONAL
                ImageResponseCard => {
                  Title   => 'MyAttachmentTitle',    # min: 1, max: 250
                  Buttons => [
                    {
                      Text  => 'MyButtonText',     # min: 1, max: 50
                      Value => 'MyButtonValue',    # min: 1, max: 50
                    },
                    ...
                  ],    # max: 5; OPTIONAL
                  ImageUrl => 'MyAttachmentUrl',    # min: 1, max: 250; OPTIONAL
                  Subtitle => 'MyAttachmentTitle',  # min: 1, max: 250
                },    # OPTIONAL
                PlainTextMessage => {
                  Value => 'MyPlainTextMessageValue',    # min: 1, max: 1000
                },    # OPTIONAL
                SsmlMessage => {
                  Value => 'MySSMLMessageValue',    # min: 1, max: 1000
                },    # OPTIONAL
              },
              Variations => [
                {
                  CustomPayload => {
                    Value => 'MyCustomPayloadValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                  ImageResponseCard => {
                    Title   => 'MyAttachmentTitle',    # min: 1, max: 250
                    Buttons => [
                      {
                        Text  => 'MyButtonText',     # min: 1, max: 50
                        Value => 'MyButtonValue',    # min: 1, max: 50
                      },
                      ...
                    ],    # max: 5; OPTIONAL
                    ImageUrl => 'MyAttachmentUrl',  # min: 1, max: 250; OPTIONAL
                    Subtitle => 'MyAttachmentTitle',    # min: 1, max: 250
                  },    # OPTIONAL
                  PlainTextMessage => {
                    Value => 'MyPlainTextMessageValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                  SsmlMessage => {
                    Value => 'MySSMLMessageValue',    # min: 1, max: 1000
                  },    # OPTIONAL
                },
                ...
              ],    # max: 2; OPTIONAL
            },
            ...
          ],    # min: 1, max: 5
          AllowInterrupt => 1,    # OPTIONAL
        },
      },    # OPTIONAL
      KendraConfiguration => {
        KendraIndex       => 'MyKendraIndexArn',    # min: 32, max: 2048
        QueryFilterString =>
          'MyQueryFilterString',    # min: 1, max: 5000; OPTIONAL
        QueryFilterStringEnabled => 1,
      },    # OPTIONAL
      OutputContexts => [
        {
          Name                => 'MyName',    # min: 1, max: 100
          TimeToLiveInSeconds => 1,           # min: 5, max: 86400
          TurnsToLive         => 1,           # min: 1, max: 20
        },
        ...
      ],    # OPTIONAL
      ParentIntentSignature => 'MyIntentSignature',    # OPTIONAL
      SampleUtterances      => [
        {
          Utterance => 'MyUtterance',
        },
        ...
      ],                                               # OPTIONAL
      SlotPriorities => [
        {
          Priority => 1,         # max: 25
          SlotId   => 'MyId',    # min: 10, max: 10
        },
        ...
      ],    # OPTIONAL
    );
    # Results:
    my $BotId                = $UpdateIntentResponse->BotId;
    my $BotVersion           = $UpdateIntentResponse->BotVersion;
    my $CreationDateTime     = $UpdateIntentResponse->CreationDateTime;
    my $Description          = $UpdateIntentResponse->Description;
    my $DialogCodeHook       = $UpdateIntentResponse->DialogCodeHook;
    my $FulfillmentCodeHook  = $UpdateIntentResponse->FulfillmentCodeHook;
    my $InputContexts        = $UpdateIntentResponse->InputContexts;
    my $IntentClosingSetting = $UpdateIntentResponse->IntentClosingSetting;
    my $IntentConfirmationSetting =
      $UpdateIntentResponse->IntentConfirmationSetting;
    my $IntentId              = $UpdateIntentResponse->IntentId;
    my $IntentName            = $UpdateIntentResponse->IntentName;
    my $KendraConfiguration   = $UpdateIntentResponse->KendraConfiguration;
    my $LastUpdatedDateTime   = $UpdateIntentResponse->LastUpdatedDateTime;
    my $LocaleId              = $UpdateIntentResponse->LocaleId;
    my $OutputContexts        = $UpdateIntentResponse->OutputContexts;
    my $ParentIntentSignature = $UpdateIntentResponse->ParentIntentSignature;
    my $SampleUtterances      = $UpdateIntentResponse->SampleUtterances;
    my $SlotPriorities        = $UpdateIntentResponse->SlotPriorities;
    # Returns a L<Paws::LexModelsV2::UpdateIntentResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/UpdateIntent>

REQUIRED BotId => Str

The identifier of the bot that contains the intent.

REQUIRED BotVersion => Str

The version of the bot that contains the intent. Must be "DRAFT".

The new description of the intent.

The new Lambda function to use between each turn of the conversation with the bot.

The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

A new list of contexts that must be active in order for Amazon Lex to consider the intent.

The new response that Amazon Lex sends the user when the intent is closed.

New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

REQUIRED IntentId => Str

The unique identifier of the intent to update.

REQUIRED IntentName => Str

The new name for the intent.

New configuration settings for connecting to an Amazon Kendra index.

REQUIRED LocaleId => Str

The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

A new list of contexts that Amazon Lex activates when the intent is fulfilled.

The signature of the new built-in intent to use as the parent of this intent.

New utterances used to invoke the intent.

A new list of slots and their priorities that are contained by the intent.

This class forms part of Paws, documenting arguments for method UpdateIntent in Paws::LexModelsV2

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.