PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::SQS::SendMessage; use Moose; has DelaySeconds => (is => 'ro', isa => 'Int'); has MessageAttributes => (is => 'ro', isa => 'Paws::SQS::MessageBodyAttributeMap', traits => ['NameInRequest'], request_name => 'MessageAttribute' ); has MessageBody => (is => 'ro', isa => 'Str', required => 1); has MessageDeduplicationId => (is => 'ro', isa => 'Str'); has MessageGroupId => (is => 'ro', isa => 'Str'); has MessageSystemAttributes => (is => 'ro', isa => 'Paws::SQS::MessageBodySystemAttributeMap', traits => ['NameInRequest'], request_name => 'MessageSystemAttribute' ); has QueueUrl => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'SendMessage'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SQS::SendMessageResult'); class_has _result_key => (isa => 'Str', is => 'ro', default => 'SendMessageResult'); 1; ### main pod documentation begin ### =head1 NAME Paws::SQS::SendMessage - Arguments for method SendMessage on L =head1 DESCRIPTION This class represents the parameters used for calling the method SendMessage on the L service. Use the attributes of this class as arguments to method SendMessage. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendMessage. =head1 SYNOPSIS my $sqs = Paws->service('SQS'); my $SendMessageResult = $sqs->SendMessage( MessageBody => 'MyString', QueueUrl => 'MyString', DelaySeconds => 1, # OPTIONAL MessageAttributes => { 'MyString' => { DataType => 'MyString', BinaryListValues => [ 'BlobBinary', ... ], # OPTIONAL BinaryValue => 'BlobBinary', StringListValues => [ 'MyString', ... ], # OPTIONAL StringValue => 'MyString', }, }, # OPTIONAL MessageDeduplicationId => 'MyString', # OPTIONAL MessageGroupId => 'MyString', # OPTIONAL MessageSystemAttributes => { 'AWSTraceHeader' => { DataType => 'MyString', BinaryListValues => [ 'BlobBinary', ... ], # OPTIONAL BinaryValue => 'BlobBinary', StringListValues => [ 'MyString', ... ], # OPTIONAL StringValue => 'MyString', }, # key: values: AWSTraceHeader }, # OPTIONAL ); # Results: my $MD5OfMessageAttributes = $SendMessageResult->MD5OfMessageAttributes; my $MD5OfMessageBody = $SendMessageResult->MD5OfMessageBody; my $MD5OfMessageSystemAttributes = $SendMessageResult->MD5OfMessageSystemAttributes; my $MessageId = $SendMessageResult->MessageId; my $SequenceNumber = $SendMessageResult->SequenceNumber; # Returns a L 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 L =head1 ATTRIBUTES =head2 DelaySeconds => Int The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive C value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies. When you set C, you can't set C per message. You can set this parameter only on a queue level. =head2 MessageAttributes => L Each message attribute consists of a C, C, and C. For more information, see Amazon SQS message attributes (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes) in the I. =head2 B MessageBody => Str The message to send. The minimum size is one character. The maximum size is 256 KB. A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed: C<#x9> | C<#xA> | C<#xD> | C<#x20> to C<#xD7FF> | C<#xE000> to C<#xFFFD> | C<#x10000> to C<#x10FFFF> Any characters not included in this list will be rejected. For more information, see the W3C specification for characters (http://www.w3.org/TR/REC-xml/#charsets). =head2 MessageDeduplicationId => Str This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages. If a message with a particular C is sent successfully, any messages sent with the same C are accepted successfully but aren't delivered during the 5-minute deduplication interval. For more information, see Exactly-once processing (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html) in the I. =over =item * Every message must have a unique C, =over =item * You may provide a C explicitly. =item * If you aren't able to provide a C and you enable C for your queue, Amazon SQS uses a SHA-256 hash to generate the C using the body of the message (but not the attributes of the message). =item * If you don't provide a C and the queue doesn't have C set, the action fails with an error. =item * If the queue has C set, your C overrides the generated one. =back =item * When C is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. =item * If you send one message with C enabled and then another message with a C that is the same as the one generated for the first C, the two messages are treated as duplicates and only one copy of the message is delivered. =back The C is available to the consumer of the message (this can be useful for troubleshooting delivery issues). If a message is sent successfully but the acknowledgement is lost and the message is resent with the same C after the deduplication interval, Amazon SQS can't detect duplicate messages. Amazon SQS continues to keep track of the message deduplication ID even after the message is received and deleted. The maximum length of C is 128 characters. C can contain alphanumeric characters (C, C, C<0-9>) and punctuation (C=E?@[\]^_`{|}~>). For best practices of using C, see Using the MessageDeduplicationId Property (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html) in the I. =head2 MessageGroupId => Str This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use C values (for example, session data for multiple users). In this scenario, multiple consumers can process the queue, but the session data of each user is processed in a FIFO fashion. =over =item * You must associate a non-empty C with a message. If you don't provide a C, the action fails. =item * C might return messages with multiple C values. For each C, the messages are sorted by time sent. The caller can't specify a C. =back The length of C is 128 characters. Valid values: alphanumeric characters and punctuation C<(!"#$%&'()*+,-./:;E=E?@[\]^_`{|}~)>. For best practices of using C, see Using the MessageGroupId Property (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html) in the I. C is required for FIFO queues. You can't use it for Standard queues. =head2 MessageSystemAttributes => L The message system attribute to send. Each message system attribute consists of a C, C, and C. =over =item * Currently, the only supported message system attribute is C. Its type must be C and its value must be a correctly formatted X-Ray trace header string. =item * The size of a message system attribute doesn't count towards the total size of a message. =back =head2 B QueueUrl => Str The URL of the Amazon SQS queue to which a message is sent. Queue URLs and names are case-sensitive. =head1 SEE ALSO This class forms part of L, documenting arguments for method SendMessage in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut