Paws::Support::AddAttachmentsToSet - Arguments for method AddAttachmentsToSet on Paws::Support
This class represents the parameters used for calling the method AddAttachmentsToSet on the AWS Support service. Use the attributes of this class as arguments to method AddAttachmentsToSet.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddAttachmentsToSet.
my $support = Paws->service('Support'); my $AddAttachmentsToSetResponse = $support->AddAttachmentsToSet( Attachments => [ { Data => 'BlobData', # OPTIONAL FileName => 'MyFileName', # OPTIONAL }, ... ], AttachmentSetId => 'MyAttachmentSetId', # OPTIONAL ); # Results: my $AttachmentSetId = $AddAttachmentsToSetResponse->AttachmentSetId; my $ExpiryTime = $AddAttachmentsToSetResponse->ExpiryTime; # Returns a L<Paws::Support::AddAttachmentsToSetResponse> 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/support/AddAttachmentsToSet
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.
Attachment
data
blob
fileName
troubleshoot-screenshot.png
The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.
attachmentSetId
This class forms part of Paws, documenting arguments for method AddAttachmentsToSet in Paws::Support
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.