aws_sdk_appmonetization/client/get_app_payment_registration.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 [`GetAppPaymentRegistration`](crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetAppPaymentRegistrationOutput`](crate::operation::get_app_payment_registration::GetAppPaymentRegistrationOutput) with field(s):
9 /// - [`app_payment_registration(Option<AppPaymentRegistration>)`](crate::operation::get_app_payment_registration::GetAppPaymentRegistrationOutput::app_payment_registration): The app's current payment registration.
10 /// - On failure, responds with [`SdkError<GetAppPaymentRegistrationError>`](crate::operation::get_app_payment_registration::GetAppPaymentRegistrationError)
11 pub fn get_app_payment_registration(&self) -> crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder {
12 crate::operation::get_app_payment_registration::builders::GetAppPaymentRegistrationFluentBuilder::new(self.handle.clone())
13 }
14}