aws_sdk_ec2/client/delete_placement_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 [`DeletePlacementGroup`](crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
7 /// - [`group_name(impl Into<String>)`](crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder::set_group_name):<br>required: **true**<br><p>The name of the placement group.</p><br>
8 /// - On success, responds with [`DeletePlacementGroupOutput`](crate::operation::delete_placement_group::DeletePlacementGroupOutput)
9 /// - On failure, responds with [`SdkError<DeletePlacementGroupError>`](crate::operation::delete_placement_group::DeletePlacementGroupError)
10 pub fn delete_placement_group(&self) -> crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder {
11 crate::operation::delete_placement_group::builders::DeletePlacementGroupFluentBuilder::new(self.handle.clone())
12 }
13}