1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ImportAppCatalog`](crate::operation::import_app_catalog::builders::ImportAppCatalogFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`role_name(impl Into<String>)`](crate::operation::import_app_catalog::builders::ImportAppCatalogFluentBuilder::role_name) / [`set_role_name(Option<String>)`](crate::operation::import_app_catalog::builders::ImportAppCatalogFluentBuilder::set_role_name):<br>required: **false**<br><p>The name of the service role. If you omit this parameter, we create a service-linked role for Migration Hub in your account. Otherwise, the role that you provide must have the <a href="https://docs.aws.amazon.com/migrationhub/latest/ug/new-customer-setup.html#sms-managed">policy and trust policy</a> described in the <i>Migration Hub User Guide</i>.</p><br>
    /// - On success, responds with [`ImportAppCatalogOutput`](crate::operation::import_app_catalog::ImportAppCatalogOutput)
    /// - On failure, responds with [`SdkError<ImportAppCatalogError>`](crate::operation::import_app_catalog::ImportAppCatalogError)
    pub fn import_app_catalog(&self) -> crate::operation::import_app_catalog::builders::ImportAppCatalogFluentBuilder {
        crate::operation::import_app_catalog::builders::ImportAppCatalogFluentBuilder::new(self.handle.clone())
    }
}