Struct aws_sdk_support::input::AddAttachmentsToSetInput
source · [−]#[non_exhaustive]pub struct AddAttachmentsToSetInput { /* private fields */ }Implementations
sourceimpl AddAttachmentsToSetInput
impl AddAttachmentsToSetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddAttachmentsToSet, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddAttachmentsToSet, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AddAttachmentsToSet>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddAttachmentsToSetInput.
sourceimpl AddAttachmentsToSetInput
impl AddAttachmentsToSetInput
sourcepub fn attachment_set_id(&self) -> Option<&str>
pub fn attachment_set_id(&self) -> Option<&str>
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.
sourcepub fn attachments(&self) -> Option<&[Attachment]>
pub fn attachments(&self) -> Option<&[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.
Trait Implementations
sourceimpl Clone for AddAttachmentsToSetInput
impl Clone for AddAttachmentsToSetInput
sourcefn clone(&self) -> AddAttachmentsToSetInput
fn clone(&self) -> AddAttachmentsToSetInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more