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 [`CreatePortalPreview`](crate::operation::create_portal_preview::builders::CreatePortalPreviewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`portal_id(impl Into<String>)`](crate::operation::create_portal_preview::builders::CreatePortalPreviewFluentBuilder::portal_id) / [`set_portal_id(Option<String>)`](crate::operation::create_portal_preview::builders::CreatePortalPreviewFluentBuilder::set_portal_id):<br>required: **true**<br>The identifier of the portal.<br>
    /// - On success, responds with [`CreatePortalPreviewOutput`](crate::operation::create_portal_preview::CreatePortalPreviewOutput)
    /// - On failure, responds with [`SdkError<CreatePortalPreviewError>`](crate::operation::create_portal_preview::CreatePortalPreviewError)
    pub fn create_portal_preview(&self) -> crate::operation::create_portal_preview::builders::CreatePortalPreviewFluentBuilder {
        crate::operation::create_portal_preview::builders::CreatePortalPreviewFluentBuilder::new(self.handle.clone())
    }
}