aws_sdk_ec2/client/
delete_verified_access_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 [`DeleteVerifiedAccessGroup`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`verified_access_group_id(impl Into<String>)`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::verified_access_group_id) / [`set_verified_access_group_id(Option<String>)`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::set_verified_access_group_id):<br>required: **true**<br><p>The ID of the Verified Access group.</p><br>
7    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p><br>
8    ///   - [`dry_run(bool)`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, 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>
9    /// - On success, responds with [`DeleteVerifiedAccessGroupOutput`](crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupOutput) with field(s):
10    ///   - [`verified_access_group(Option<VerifiedAccessGroup>)`](crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupOutput::verified_access_group): <p>Details about the Verified Access group.</p>
11    /// - On failure, responds with [`SdkError<DeleteVerifiedAccessGroupError>`](crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError)
12    pub fn delete_verified_access_group(&self) -> crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder {
13        crate::operation::delete_verified_access_group::builders::DeleteVerifiedAccessGroupFluentBuilder::new(self.handle.clone())
14    }
15}