Skip to main content

aws_sdk_appmonetization/client/
delete_third_party_cost.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 [`DeleteThirdPartyCost`](crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
7    ///   - [`cost_id(impl Into<String>)`](crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder::cost_id) / [`set_cost_id(Option<String>)`](crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder::set_cost_id):<br>required: **true**<br>The ID of the cost to remove.<br>
8    /// - On success, responds with [`DeleteThirdPartyCostOutput`](crate::operation::delete_third_party_cost::DeleteThirdPartyCostOutput)
9    /// - On failure, responds with [`SdkError<DeleteThirdPartyCostError>`](crate::operation::delete_third_party_cost::DeleteThirdPartyCostError)
10    pub fn delete_third_party_cost(&self) -> crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder {
11        crate::operation::delete_third_party_cost::builders::DeleteThirdPartyCostFluentBuilder::new(self.handle.clone())
12    }
13}