aws_sdk_connectcases/client/
update_case.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCase`](crate::operation::update_case::builders::UpdateCaseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
    ///   - [`case_id(impl Into<String>)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::case_id) / [`set_case_id(Option<String>)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::set_case_id):<br>required: **true**<br><p>A unique identifier of the case.</p><br>
    ///   - [`fields(FieldValue)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::fields) / [`set_fields(Option<Vec::<FieldValue>>)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::set_fields):<br>required: **true**<br><p>An array of objects with <code>fieldId</code> (matching ListFields/DescribeField) and value union data, structured identical to <code>CreateCase</code>.</p><br>
    ///   - [`performed_by(UserUnion)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::performed_by) / [`set_performed_by(Option<UserUnion>)`](crate::operation::update_case::builders::UpdateCaseFluentBuilder::set_performed_by):<br>required: **false**<br><p>Represents the identity of the person who performed the action.</p><br>
    /// - On success, responds with [`UpdateCaseOutput`](crate::operation::update_case::UpdateCaseOutput)
    /// - On failure, responds with [`SdkError<UpdateCaseError>`](crate::operation::update_case::UpdateCaseError)
    pub fn update_case(&self) -> crate::operation::update_case::builders::UpdateCaseFluentBuilder {
        crate::operation::update_case::builders::UpdateCaseFluentBuilder::new(self.handle.clone())
    }
}