aws_sdk_devopsagent/client/get_backlog_task.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetBacklogTask`](crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_space_id(impl Into<String>)`](crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier for the agent space containing the task<br>
7 /// - [`task_id(impl Into<String>)`](crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder::task_id) / [`set_task_id(Option<String>)`](crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder::set_task_id):<br>required: **true**<br>The unique identifier of the task to retrieve<br>
8 /// - On success, responds with [`GetBacklogTaskOutput`](crate::operation::get_backlog_task::GetBacklogTaskOutput) with field(s):
9 /// - [`task(Option<Task>)`](crate::operation::get_backlog_task::GetBacklogTaskOutput::task): The requested task object
10 /// - On failure, responds with [`SdkError<GetBacklogTaskError>`](crate::operation::get_backlog_task::GetBacklogTaskError)
11 pub fn get_backlog_task(&self) -> crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder {
12 crate::operation::get_backlog_task::builders::GetBacklogTaskFluentBuilder::new(self.handle.clone())
13 }
14}