« blib/lib/Paws/StorageGateway/VolumeiSCSIAttributes.pm
↑ Summary
blib/lib/Paws/Support/AddAttachmentsToSetResponse.pm »
| 1 | |||
| 2 | package Paws::Support::AddAttachmentsToSet; | ||
| 3 | use Moose; | ||
| 4 | has Attachments => (is => 'ro', isa => 'ArrayRef[Paws::Support::Attachment]', traits => ['NameInRequest'], request_name => 'attachments' , required => 1); | ||
| 5 | has AttachmentSetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'attachmentSetId' ); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddAttachmentsToSet'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Support::AddAttachmentsToSetResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::Support::AddAttachmentsToSet - Arguments for method AddAttachmentsToSet on L<Paws::Support> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method AddAttachmentsToSet on the | ||
| 23 | L<AWS Support|Paws::Support> service. Use the attributes of this class | ||
| 24 | as arguments to method AddAttachmentsToSet. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddAttachmentsToSet. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $support = Paws->service('Support'); | ||
| 31 | my $AddAttachmentsToSetResponse = $support->AddAttachmentsToSet( | ||
| 32 | Attachments => [ | ||
| 33 | { | ||
| 34 | Data => 'BlobData', # OPTIONAL | ||
| 35 | FileName => 'MyFileName', # OPTIONAL | ||
| 36 | }, | ||
| 37 | ... | ||
| 38 | ], | ||
| 39 | AttachmentSetId => 'MyAttachmentSetId', # OPTIONAL | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $AttachmentSetId = $AddAttachmentsToSetResponse->AttachmentSetId; | ||
| 44 | my $ExpiryTime = $AddAttachmentsToSetResponse->ExpiryTime; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Support::AddAttachmentsToSetResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/support/AddAttachmentsToSet> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> Attachments => ArrayRef[L<Paws::Support::Attachment>] | ||
| 55 | |||
| 56 | One or more attachments to add to the set. You can add up to three | ||
| 57 | attachments per set. The size limit is 5 MB per attachment. | ||
| 58 | |||
| 59 | In the C<Attachment> object, use the C<data> parameter to specify the | ||
| 60 | contents of the attachment file. In the previous request syntax, the | ||
| 61 | value for C<data> appear as C<blob>, which is represented as a | ||
| 62 | base64-encoded string. The value for C<fileName> is the name of the | ||
| 63 | attachment, such as C<troubleshoot-screenshot.png>. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 AttachmentSetId => Str | ||
| 68 | |||
| 69 | The ID of the attachment set. If an C<attachmentSetId> is not | ||
| 70 | specified, a new attachment set is created, and the ID of the set is | ||
| 71 | returned in the response. If an C<attachmentSetId> is specified, the | ||
| 72 | attachments are added to the specified set, if it exists. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method AddAttachmentsToSet in L<Paws::Support> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |