Skip to main content

aws_sdk_supportauthz/client/
delete_support_permit.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 [`DeleteSupportPermit`](crate::operation::delete_support_permit::builders::DeleteSupportPermitFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`support_permit_identifier(impl Into<String>)`](crate::operation::delete_support_permit::builders::DeleteSupportPermitFluentBuilder::support_permit_identifier) / [`set_support_permit_identifier(Option<String>)`](crate::operation::delete_support_permit::builders::DeleteSupportPermitFluentBuilder::set_support_permit_identifier):<br>required: **true**<br><p>The Amazon Resource Name (ARN) or name of the support permit to delete.</p><br>
7    /// - On success, responds with [`DeleteSupportPermitOutput`](crate::operation::delete_support_permit::DeleteSupportPermitOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::name): <p>The name of the deleted support permit.</p>
9    ///   - [`arn(String)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::arn): <p>The ARN of the deleted support permit.</p>
10    ///   - [`description(Option<String>)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::description): <p>The description of the deleted support permit.</p>
11    ///   - [`permit(Option<Permit>)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::permit): <p>The permit definition of the deleted permit.</p>
12    ///   - [`status(SupportPermitStatus)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::status): <p>The status of the support permit. Returns DELETING.</p>
13    ///   - [`signing_key_info(Option<SigningKeyInfo>)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::signing_key_info): <p>The signing key information for the deleted permit.</p>
14    ///   - [`created_at(DateTime)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::created_at): <p>The timestamp when the permit was originally created.</p>
15    ///   - [`support_case_display_id(Option<String>)`](crate::operation::delete_support_permit::DeleteSupportPermitOutput::support_case_display_id): <p>The display identifier of the support case associated with the deleted permit.</p>
16    /// - On failure, responds with [`SdkError<DeleteSupportPermitError>`](crate::operation::delete_support_permit::DeleteSupportPermitError)
17    pub fn delete_support_permit(&self) -> crate::operation::delete_support_permit::builders::DeleteSupportPermitFluentBuilder {
18        crate::operation::delete_support_permit::builders::DeleteSupportPermitFluentBuilder::new(self.handle.clone())
19    }
20}