Struct aws_sdk_support::input::AddAttachmentsToSetInput [−][src]
#[non_exhaustive]pub struct AddAttachmentsToSetInput {
pub attachment_set_id: Option<String>,
pub attachments: Option<Vec<Attachment>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attachment_set_id: Option<String>
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.
attachments: Option<Vec<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
.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddAttachmentsToSet, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddAttachmentsToSet, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AddAttachmentsToSet
>
Creates a new builder-style object to manufacture AddAttachmentsToSetInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AddAttachmentsToSetInput
impl Send for AddAttachmentsToSetInput
impl Sync for AddAttachmentsToSetInput
impl Unpin for AddAttachmentsToSetInput
impl UnwindSafe for AddAttachmentsToSetInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more