aws_sdk_cloudfront/client/delete_key_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 [`DeleteKeyGroup`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the key group that you are deleting. To get the identifier, use <code>ListKeyGroups</code>.</p><br>
7 /// - [`if_match(impl Into<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::set_if_match):<br>required: **false**<br><p>The version of the key group that you are deleting. The version is the key group's <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code> or <code>GetKeyGroupConfig</code>.</p><br>
8 /// - On success, responds with [`DeleteKeyGroupOutput`](crate::operation::delete_key_group::DeleteKeyGroupOutput)
9 /// - On failure, responds with [`SdkError<DeleteKeyGroupError>`](crate::operation::delete_key_group::DeleteKeyGroupError)
10 pub fn delete_key_group(&self) -> crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder {
11 crate::operation::delete_key_group::builders::DeleteKeyGroupFluentBuilder::new(self.handle.clone())
12 }
13}