aws_sdk_sagemaker/client/delete_context.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 [`DeleteContext`](crate::operation::delete_context::builders::DeleteContextFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`context_name(impl Into<String>)`](crate::operation::delete_context::builders::DeleteContextFluentBuilder::context_name) / [`set_context_name(Option<String>)`](crate::operation::delete_context::builders::DeleteContextFluentBuilder::set_context_name):<br>required: **true**<br><p>The name of the context to delete.</p><br>
7 /// - On success, responds with [`DeleteContextOutput`](crate::operation::delete_context::DeleteContextOutput) with field(s):
8 /// - [`context_arn(Option<String>)`](crate::operation::delete_context::DeleteContextOutput::context_arn): <p>The Amazon Resource Name (ARN) of the context.</p>
9 /// - On failure, responds with [`SdkError<DeleteContextError>`](crate::operation::delete_context::DeleteContextError)
10 pub fn delete_context(&self) -> crate::operation::delete_context::builders::DeleteContextFluentBuilder {
11 crate::operation::delete_context::builders::DeleteContextFluentBuilder::new(self.handle.clone())
12 }
13}