Skip to main content

aws_sdk_accountaccess/client/
delete_entitlement.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 [`DeleteEntitlement`](crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_arn(impl Into<String>)`](crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder::application_arn) / [`set_application_arn(Option<String>)`](crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder::set_application_arn):<br>required: **true**<br><p>Specifies the ARN of the application that the entitlement belongs to.</p><br>
7    ///   - [`entitlement_id(impl Into<String>)`](crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder::entitlement_id) / [`set_entitlement_id(Option<String>)`](crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder::set_entitlement_id):<br>required: **true**<br><p>Specifies the unique identifier of the entitlement to delete.</p><br>
8    /// - On success, responds with [`DeleteEntitlementOutput`](crate::operation::delete_entitlement::DeleteEntitlementOutput)
9    /// - On failure, responds with [`SdkError<DeleteEntitlementError>`](crate::operation::delete_entitlement::DeleteEntitlementError)
10    pub fn delete_entitlement(&self) -> crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder {
11        crate::operation::delete_entitlement::builders::DeleteEntitlementFluentBuilder::new(self.handle.clone())
12    }
13}