aws_sdk_cloudfront/client/
delete_connection_group.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 [`DeleteConnectionGroup`](crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the connection group to delete.</p><br>
7    ///   - [`if_match(impl Into<String>)`](crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder::set_if_match):<br>required: **true**<br><p>The value of the <code>ETag</code> header that you received when retrieving the connection group to delete.</p><br>
8    /// - On success, responds with [`DeleteConnectionGroupOutput`](crate::operation::delete_connection_group::DeleteConnectionGroupOutput)
9    /// - On failure, responds with [`SdkError<DeleteConnectionGroupError>`](crate::operation::delete_connection_group::DeleteConnectionGroupError)
10    pub fn delete_connection_group(&self) -> crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder {
11        crate::operation::delete_connection_group::builders::DeleteConnectionGroupFluentBuilder::new(self.handle.clone())
12    }
13}