![]() |
![]()
| ![]() |
![]()
NAMEPaws::Chime::SendChannelMessage - Arguments for method SendChannelMessage on Paws::Chime DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED ChannelArn => StrThe ARN of the channel. ChimeBearer => StrThe "AppInstanceUserArn" of the user that makes the API call. REQUIRED ClientRequestToken => StrThe "Idempotency" token for each client request. REQUIRED Content => StrThe content of the message. Metadata => StrThe optional metadata for each message. REQUIRED Persistence => StrBoolean that controls whether the message is persisted on the back end. Required. Valid values are: "PERSISTENT", "NON_PERSISTENT" REQUIRED Type => StrThe type of message, "STANDARD" or "CONTROL". Valid values are: "STANDARD", "CONTROL" SEE ALSOThis class forms part of Paws, documenting arguments for method SendChannelMessage in Paws::Chime BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|