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 [`GetThirdPartyCost`](crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
    ///   - [`cost_id(impl Into<String>)`](crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder::cost_id) / [`set_cost_id(Option<String>)`](crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder::set_cost_id):<br>required: **true**<br>The ID of the cost to return.<br>
    /// - On success, responds with [`GetThirdPartyCostOutput`](crate::operation::get_third_party_cost::GetThirdPartyCostOutput) with field(s):
    ///   - [`item(Option<ThirdPartyCostItem>)`](crate::operation::get_third_party_cost::GetThirdPartyCostOutput::item): The requested third-party cost.
    /// - On failure, responds with [`SdkError<GetThirdPartyCostError>`](crate::operation::get_third_party_cost::GetThirdPartyCostError)
    pub fn get_third_party_cost(&self) -> crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder {
        crate::operation::get_third_party_cost::builders::GetThirdPartyCostFluentBuilder::new(self.handle.clone())
    }
}