fn add_attachments_to_set(
        &self,
        input: AddAttachmentsToSetRequest,
    ) -> RusotoFuture<AddAttachmentsToSetResponse, AddAttachmentsToSetError> {
        let mut request = SignedRequest::new("POST", "support", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AWSSupport_20130415.AddAttachmentsToSet");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<AddAttachmentsToSetResponse, _>()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(AddAttachmentsToSetError::from_response(response))
                    }),
                )
            }
        })
    }
/// <p>Adds one or more attachments to an attachment set. If an <code>attachmentSetId</code> is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an <code>attachmentSetId</code> is specified, the attachments are added to the specified set, if it exists.</p> <p>An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the <code>expiryTime</code> returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.</p>
Adds one or more attachments to an 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. An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.
Adds one or more attachments to an 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 . An attachment set is a temporary container for attachments that are to be added to a case or case communication . The set is available for one hour after it is created ; the expiryTime returned in the response indicates when the set expires . The maximum number of attachments in a set is 3 and the maximum size of any attachment in the set is 5 MB .
fn add_attachments_to_set(
        &self,
        input: AddAttachmentsToSetRequest,
    ) -> RusotoFuture<AddAttachmentsToSetResponse, AddAttachmentsToSetError> {
        let mut request = SignedRequest::new("POST", "support", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AWSSupport_20130415.AddAttachmentsToSet");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<AddAttachmentsToSetResponse, _>()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(AddAttachmentsToSetError::from_response(response))
                    }),
                )
            }
        })
    }
fn add_attachments_to_set ( & self , input : AddAttachmentsToSetRequest , ) -> RusotoFuture < AddAttachmentsToSetResponse , AddAttachmentsToSetError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < AddAttachmentsToSetResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( AddAttachmentsToSetError :: from_response ( response ) ) } ) , ) } } ) }
<p>Adds one or more attachments to an attachment set.
<p > Adds one or more attachments to an attachment set .
&self
input
AddAttachmentsToSetRequest
&self
input
AddAttachmentsToSetRequest