aws-sdk-apiportal 1.1.0

AWS SDK for APIPortal
Documentation
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 [`StartDiscovery`](crate::operation::start_discovery::builders::StartDiscoveryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::start_discovery::builders::StartDiscoveryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::start_discovery::builders::StartDiscoveryFluentBuilder::set_id):<br>required: **true**<br>Identifier of the discovery configuration to start. Required. Today this is the configuration ARN, which carries the owner account id so a delegated admin or org admin can start an org-scoped configuration that lives in a different account.<br>
    /// - On success, responds with [`StartDiscoveryOutput`](crate::operation::start_discovery::StartDiscoveryOutput)
    /// - On failure, responds with [`SdkError<StartDiscoveryError>`](crate::operation::start_discovery::StartDiscoveryError)
    pub fn start_discovery(&self) -> crate::operation::start_discovery::builders::StartDiscoveryFluentBuilder {
        crate::operation::start_discovery::builders::StartDiscoveryFluentBuilder::new(self.handle.clone())
    }
}