aws_sdk_connect/client/create_agent_status.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateAgentStatus`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::set_name):<br>required: **true**<br><p>The name of the status.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::set_description):<br>required: **false**<br><p>The description of the status.</p><br>
/// - [`state(AgentStatusState)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::state) / [`set_state(Option<AgentStatusState>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::set_state):<br>required: **true**<br><p>The state of the status.</p><br>
/// - [`display_order(i32)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::display_order) / [`set_display_order(Option<i32>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::set_display_order):<br>required: **false**<br><p>The display order of the status.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.</p><br>
/// - On success, responds with [`CreateAgentStatusOutput`](crate::operation::create_agent_status::CreateAgentStatusOutput) with field(s):
/// - [`agent_status_arn(Option<String>)`](crate::operation::create_agent_status::CreateAgentStatusOutput::agent_status_arn): <p>The Amazon Resource Name (ARN) of the agent status.</p>
/// - [`agent_status_id(Option<String>)`](crate::operation::create_agent_status::CreateAgentStatusOutput::agent_status_id): <p>The identifier of the agent status.</p>
/// - On failure, responds with [`SdkError<CreateAgentStatusError>`](crate::operation::create_agent_status::CreateAgentStatusError)
pub fn create_agent_status(&self) -> crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder {
crate::operation::create_agent_status::builders::CreateAgentStatusFluentBuilder::new(self.handle.clone())
}
}