| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SQS::MessageAttributeValue; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has BinaryListValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'BinaryListValue', traits => ['NameInRequest']); | |
| 5 | 1 | has BinaryValue => (is => 'ro', isa => 'Str'); | |
| 6 | 1 | has DataType => (is => 'ro', isa => 'Str', required => 1); | |
| 7 | 1 | has StringListValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'StringListValue', traits => ['NameInRequest']); | |
| 8 | 1 | has StringValue => (is => 'ro', isa => 'Str'); | |
| 9 | |||
| 10 | 1 | 1; | |
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::SQS::MessageAttributeValue | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::SQS::MessageAttributeValue object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { BinaryListValues => $value, ..., StringValue => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::SQS::MessageAttributeValue object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->BinaryListValues | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | The user-specified message attribute value. For string data types, the | ||
| 41 | C<Value> attribute has the same restrictions on the content as the | ||
| 42 | message body. For more information, see C< SendMessage.> | ||
| 43 | |||
| 44 | C<Name>, C<type>, C<value> and the message body must not be empty or | ||
| 45 | null. All parts of the message attribute, including C<Name>, C<Type>, | ||
| 46 | and C<Value>, are part of the message size restriction (256 KB or | ||
| 47 | 262,144 bytes). | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 BinaryListValues => ArrayRef[Str|Undef] | ||
| 53 | |||
| 54 | Not implemented. Reserved for future use. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 BinaryValue => Str | ||
| 58 | |||
| 59 | Binary type attributes can store any binary data, such as compressed | ||
| 60 | data, encrypted data, or images. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> DataType => Str | ||
| 64 | |||
| 65 | Amazon SQS supports the following logical data types: C<String>, | ||
| 66 | C<Number>, and C<Binary>. For the C<Number> data type, you must use | ||
| 67 | C<StringValue>. | ||
| 68 | |||
| 69 | You can also append custom labels. For more information, see Amazon SQS | ||
| 70 | Message Attributes | ||
| 71 | (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes) | ||
| 72 | in the I<Amazon SQS Developer Guide>. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 StringListValues => ArrayRef[Str|Undef] | ||
| 76 | |||
| 77 | Not implemented. Reserved for future use. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 StringValue => Str | ||
| 81 | |||
| 82 | Strings are Unicode with UTF-8 binary encoding. For a list of code | ||
| 83 | values, see ASCII Printable Characters | ||
| 84 | (http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters). | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, describing an object used in L<Paws::SQS> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 | |||