« blib/lib/Paws/Chime/UpdateChannel.pm
↑ Summary
blib/lib/Paws/Chime/UpdateChannelMessageResponse.pm »
| 1 | |||
| 2 | package Paws::Chime::UpdateChannelMessage; | ||
| 3 | use Moose; | ||
| 4 | has ChannelArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'channelArn', required => 1); | ||
| 5 | has ChimeBearer => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-chime-bearer'); | ||
| 6 | has Content => (is => 'ro', isa => 'Str'); | ||
| 7 | has MessageId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'messageId', required => 1); | ||
| 8 | has Metadata => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateChannelMessage'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/channels/{channelArn}/messages/{messageId}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Chime::UpdateChannelMessageResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Chime::UpdateChannelMessage - Arguments for method UpdateChannelMessage on L<Paws::Chime> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateChannelMessage on the | ||
| 27 | L<Amazon Chime|Paws::Chime> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateChannelMessage. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateChannelMessage. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $chime = Paws->service('Chime'); | ||
| 35 | my $UpdateChannelMessageResponse = $chime->UpdateChannelMessage( | ||
| 36 | ChannelArn => 'MyChimeArn', | ||
| 37 | MessageId => 'MyMessageId', | ||
| 38 | ChimeBearer => 'MyChimeArn', # OPTIONAL | ||
| 39 | Content => 'MyContent', # OPTIONAL | ||
| 40 | Metadata => 'MyMetadata', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $ChannelArn = $UpdateChannelMessageResponse->ChannelArn; | ||
| 45 | my $MessageId = $UpdateChannelMessageResponse->MessageId; | ||
| 46 | |||
| 47 | # Returns a L<Paws::Chime::UpdateChannelMessageResponse> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/chime/UpdateChannelMessage> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> ChannelArn => Str | ||
| 56 | |||
| 57 | The ARN of the channel. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 ChimeBearer => Str | ||
| 62 | |||
| 63 | The C<AppInstanceUserArn> of the user that makes the API call. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 Content => Str | ||
| 68 | |||
| 69 | The content of the message being updated. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> MessageId => Str | ||
| 74 | |||
| 75 | The ID string of the message being updated. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 Metadata => Str | ||
| 80 | |||
| 81 | The metadata of the message being updated. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method UpdateChannelMessage in L<Paws::Chime> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |