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 [`GetAppPaymentRegistration`](crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
    ///   - [`scope(RequestScope)`](crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder::scope) / [`set_scope(Option<RequestScope>)`](crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder::set_scope):<br>required: **true**<br>Required. The environment: live or sandbox.<br>
    /// - On success, responds with [`GetAppPaymentRegistrationOutput`](crate::operation::get_app_payment_registration::GetAppPaymentRegistrationOutput) with field(s):
    ///   - [`app_payment_registration(Option<AppPaymentRegistration>)`](crate::operation::get_app_payment_registration::GetAppPaymentRegistrationOutput::app_payment_registration): The app's current payment registration.
    /// - On failure, responds with [`SdkError<GetAppPaymentRegistrationError>`](crate::operation::get_app_payment_registration::GetAppPaymentRegistrationError)
    pub fn get_app_payment_registration(&self) -> crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder {
        crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder::new(self.handle.clone())
    }
}