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 [`DisassociateManagedApis`](crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`product_id(impl Into<String>)`](crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder::set_product_id):<br>required: **true**<br>The identifier of the product to disassociate the Managed APIs from.<br>
    ///   - [`managed_api_ids(impl Into<String>)`](crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder::managed_api_ids) / [`set_managed_api_ids(Option<Vec::<String>>)`](crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder::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 [`DisassociateManagedApisOutput`](crate::operation::disassociate_managed_apis::DisassociateManagedApisOutput) with field(s):
    ///   - [`failed_items(Vec::<FailedManagedApiItem>)`](crate::operation::disassociate_managed_apis::DisassociateManagedApisOutput::failed_items): The Managed APIs that could not be processed. IDs not listed here succeeded.
    /// - On failure, responds with [`SdkError<DisassociateManagedApisError>`](crate::operation::disassociate_managed_apis::DisassociateManagedApisError)
    pub fn disassociate_managed_apis(&self) -> crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder {
        crate::operation::disassociate_managed_apis::builders::DisassociateManagedApisFluentBuilder::new(self.handle.clone())
    }
}