aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
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 [`StartAuthorizationFlow`](crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`provider(GitProvider)`](crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder::provider) / [`set_provider(Option<GitProvider>)`](crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder::set_provider):<br>required: **true**<br><p>The Git provider.</p><br>
    ///   - [`redirect_url(impl Into<String>)`](crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder::redirect_url) / [`set_redirect_url(Option<String>)`](crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder::set_redirect_url):<br>required: **true**<br><p>The AWS Management Console page to return to after authorization completes.</p><br>
    /// - On success, responds with [`StartAuthorizationFlowOutput`](crate::operation::start_authorization_flow::StartAuthorizationFlowOutput) with field(s):
    ///   - [`git_provider_authorization_url(String)`](crate::operation::start_authorization_flow::StartAuthorizationFlowOutput::git_provider_authorization_url): <p>The Git provider page where you sign in and grant access.</p>
    /// - On failure, responds with [`SdkError<StartAuthorizationFlowError>`](crate::operation::start_authorization_flow::StartAuthorizationFlowError)
    pub fn start_authorization_flow(&self) -> crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder {
        crate::operation::start_authorization_flow::builders::StartAuthorizationFlowFluentBuilder::new(self.handle.clone())
    }
}