aws-sdk-appmonetization 1.0.0

AWS SDK for AWS App Monetization
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteOneTimePrice`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app the one-time price belongs to.<br>
    ///   - [`one_time_price_id(impl Into<String>)`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::one_time_price_id) / [`set_one_time_price_id(Option<String>)`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::set_one_time_price_id):<br>required: **true**<br>The ID of the one-time price to delete.<br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::set_client_token):<br>required: **false**<br>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.<br>
    /// - On success, responds with [`DeleteOneTimePriceOutput`](crate::operation::delete_one_time_price::DeleteOneTimePriceOutput)
    /// - On failure, responds with [`SdkError<DeleteOneTimePriceError>`](crate::operation::delete_one_time_price::DeleteOneTimePriceError)
    pub fn delete_one_time_price(&self) -> crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder {
        crate::operation::delete_one_time_price::builders::DeleteOneTimePriceFluentBuilder::new(self.handle.clone())
    }
}