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)


44
45
46
47
48
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 44

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

#attachmentsArray<Types::Attachment>

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.

Returns:



44
45
46
47
48
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 44

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