NAME
Paws::Chime::SendChannelMessage - Arguments for method SendChannelMessage on Paws::Chime
DESCRIPTION
This class represents the parameters used for calling the method SendChannelMessage on the Amazon Chime service. Use the attributes of this class as arguments to method SendChannelMessage.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendChannelMessage.
SYNOPSIS
my $chime = Paws->service('Chime');
my $SendChannelMessageResponse = $chime->SendChannelMessage(
ChannelArn => 'MyChimeArn',
ClientRequestToken => 'MyClientRequestToken',
Content => 'MyNonEmptyContent',
Persistence => 'PERSISTENT',
Type => 'STANDARD',
ChimeBearer => 'MyChimeArn', # OPTIONAL
Metadata => 'MyMetadata', # OPTIONAL
);
# Results:
my $ChannelArn = $SendChannelMessageResponse->ChannelArn;
my $MessageId = $SendChannelMessageResponse->MessageId;
# Returns a L<Paws::Chime::SendChannelMessageResponse> 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/chime/SendChannelMessage
ATTRIBUTES
REQUIRED ChannelArn => Str
The ARN of the channel.
ChimeBearer => Str
The AppInstanceUserArn
of the user that makes the API call.
REQUIRED ClientRequestToken => Str
The Idempotency
token for each client request.
REQUIRED Content => Str
The content of the message.
Metadata => Str
The optional metadata for each message.
REQUIRED Persistence => Str
Boolean that controls whether the message is persisted on the back end. Required.
Valid values are: "PERSISTENT"
, "NON_PERSISTENT"
REQUIRED Type => Str
The type of message, STANDARD
or CONTROL
.
Valid values are: "STANDARD"
, "CONTROL"
SEE ALSO
This class forms part of Paws, documenting arguments for method SendChannelMessage in Paws::Chime
BUGS and CONTRIBUTIONS
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