1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreatePortal`](crate::operation::create_portal::builders::CreatePortalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`display_name(impl ::std::convert::Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_display_name): <p>The name of the web portal. This is not visible to users who log into the web portal.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_tags): <p>The tags to add to the web portal. A tag is a key-value pair.</p>
    ///   - [`customer_managed_key(impl ::std::convert::Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::customer_managed_key) / [`set_customer_managed_key(Option<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_customer_managed_key): <p>The customer managed key of the web portal.</p>
    ///   - [`additional_encryption_context(HashMap<String, String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::additional_encryption_context) / [`set_additional_encryption_context(Option<HashMap<String, String>>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_additional_encryption_context): <p>The additional encryption context of the portal.</p>
    ///   - [`client_token(impl ::std::convert::Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_client_token): <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. </p>  <p>If you do not specify a client token, one is automatically generated by the AWS SDK.</p>
    ///   - [`authentication_type(AuthenticationType)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::authentication_type) / [`set_authentication_type(Option<AuthenticationType>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_authentication_type): <p>The type of authentication integration points used when signing into the web portal. Defaults to <code>Standard</code>.</p>  <p> <code>Standard</code> web portals are authenticated directly through your identity provider. You need to call <code>CreateIdentityProvider</code> to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.</p>  <p> <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity Center (successor to AWS Single Sign-On). They provide additional features, such as IdP-initiated authentication. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.</p>
    /// - On success, responds with [`CreatePortalOutput`](crate::operation::create_portal::CreatePortalOutput) with field(s):
    ///   - [`portal_arn(Option<String>)`](crate::operation::create_portal::CreatePortalOutput::portal_arn): <p>The ARN of the web portal.</p>
    ///   - [`portal_endpoint(Option<String>)`](crate::operation::create_portal::CreatePortalOutput::portal_endpoint): <p>The endpoint URL of the web portal that users access in order to start streaming sessions.</p>
    /// - On failure, responds with [`SdkError<CreatePortalError>`](crate::operation::create_portal::CreatePortalError)
    pub fn create_portal(
        &self,
    ) -> crate::operation::create_portal::builders::CreatePortalFluentBuilder {
        crate::operation::create_portal::builders::CreatePortalFluentBuilder::new(
            self.handle.clone(),
        )
    }
}