aws-sdk-apiportal 1.1.0

AWS SDK for APIPortal
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 [`AssociateManagedApis`](crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`product_id(impl Into<String>)`](crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder::set_product_id):<br>required: **true**<br>The identifier of the product to associate the Managed APIs with.<br>
    ///   - [`managed_api_ids(impl Into<String>)`](crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder::managed_api_ids) / [`set_managed_api_ids(Option<Vec::<String>>)`](crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder::set_managed_api_ids):<br>required: **true**<br>Bounded list of Managed API IDs, used as the request payload for batch associate/disassociate.<br>
    /// - On success, responds with [`AssociateManagedApisOutput`](crate::operation::associate_managed_apis::AssociateManagedApisOutput) with field(s):
    ///   - [`failed_items(Vec::<FailedManagedApiItem>)`](crate::operation::associate_managed_apis::AssociateManagedApisOutput::failed_items): The Managed APIs that could not be processed. IDs not listed here succeeded.
    /// - On failure, responds with [`SdkError<AssociateManagedApisError>`](crate::operation::associate_managed_apis::AssociateManagedApisError)
    pub fn associate_managed_apis(&self) -> crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder {
        crate::operation::associate_managed_apis::builders::AssociateManagedApisFluentBuilder::new(self.handle.clone())
    }
}