« blib/lib/Paws/LexRuntimeV2/AudioInputEvent.pm
↑ Summary
blib/lib/Paws/LexRuntimeV2/BadGatewayException.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LexRuntimeV2::AudioResponseEvent; | ||
| 3 | use Moose; | ||
| 4 | has AudioChunk => (is => 'ro', isa => 'Str', request_name => 'audioChunk', traits => ['NameInRequest']); | ||
| 5 | has ContentType => (is => 'ro', isa => 'Str', request_name => 'contentType', traits => ['NameInRequest']); | ||
| 6 | has EventId => (is => 'ro', isa => 'Str', request_name => 'eventId', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::LexRuntimeV2::AudioResponseEvent | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::LexRuntimeV2::AudioResponseEvent object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { AudioChunk => $value, ..., EventId => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::LexRuntimeV2::AudioResponseEvent object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->AudioChunk | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | An event sent from Amazon Lex V2 to your client application containing | ||
| 39 | audio to play to the user. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 AudioChunk => Str | ||
| 45 | |||
| 46 | A chunk of the audio to play. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 ContentType => Str | ||
| 50 | |||
| 51 | The encoding of the audio chunk. This is the same as the encoding | ||
| 52 | configure in the C<contentType> field of the C<ConfigurationEvent>. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 EventId => Str | ||
| 56 | |||
| 57 | A unique identifier of the event sent by Amazon Lex V2. The identifier | ||
| 58 | is in the form C<RESPONSE-N>, where N is a number starting with one and | ||
| 59 | incremented for each event sent by Amazon Lex V2 in the current | ||
| 60 | session. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | This class forms part of L<Paws>, describing an object used in L<Paws::LexRuntimeV2> | ||
| 67 | |||
| 68 | =head1 BUGS and CONTRIBUTIONS | ||
| 69 | |||
| 70 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 71 | |||
| 72 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 73 | |||
| 74 | =cut | ||
| 75 |