aws_sdk_glue/client/delete_session.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 [`DeleteSession`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the session to be deleted.</p><br>
7 /// - [`request_origin(impl Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::request_origin) / [`set_request_origin(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_request_origin):<br>required: **false**<br><p>The name of the origin of the delete session request.</p><br>
8 /// - On success, responds with [`DeleteSessionOutput`](crate::operation::delete_session::DeleteSessionOutput) with field(s):
9 /// - [`id(Option<String>)`](crate::operation::delete_session::DeleteSessionOutput::id): <p>Returns the ID of the deleted session.</p>
10 /// - On failure, responds with [`SdkError<DeleteSessionError>`](crate::operation::delete_session::DeleteSessionError)
11 pub fn delete_session(&self) -> crate::operation::delete_session::builders::DeleteSessionFluentBuilder {
12 crate::operation::delete_session::builders::DeleteSessionFluentBuilder::new(self.handle.clone())
13 }
14}