You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Support::Types::AddAttachmentsToSetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-support/lib/aws-sdk-support/types.rb

Overview

Note:

When making an API call, you may pass AddAttachmentsToSetRequest data as a hash:

{
  attachment_set_id: "AttachmentSetId",
  attachments: [ # required
    {
      file_name: "FileName",
      data: "data",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_set_idString

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.

Returns:

  • (String)


38
39
40
41
42
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 38

class AddAttachmentsToSetRequest < Struct.new(
  :attachment_set_id,
  :attachments)
  include Aws::Structure
end

#attachmentsArray<Types::Attachment>

One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.

Returns:



38
39
40
41
42
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 38

class AddAttachmentsToSetRequest < Struct.new(
  :attachment_set_id,
  :attachments)
  include Aws::Structure
end