aws_sdk_apigatewayv2/client/
publish_portal.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PublishPortal`](crate::operation::publish_portal::builders::PublishPortalFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`description(impl Into<String>)`](crate::operation::publish_portal::builders::PublishPortalFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::publish_portal::builders::PublishPortalFluentBuilder::set_description):<br>required: **false**<br><p>The description of the portal. When the portal is published, this description becomes the last published description.</p><br>
7    ///   - [`portal_id(impl Into<String>)`](crate::operation::publish_portal::builders::PublishPortalFluentBuilder::portal_id) / [`set_portal_id(Option<String>)`](crate::operation::publish_portal::builders::PublishPortalFluentBuilder::set_portal_id):<br>required: **true**<br><p>The portal identifier.</p><br>
8    /// - On success, responds with [`PublishPortalOutput`](crate::operation::publish_portal::PublishPortalOutput)
9    /// - On failure, responds with [`SdkError<PublishPortalError>`](crate::operation::publish_portal::PublishPortalError)
10    pub fn publish_portal(&self) -> crate::operation::publish_portal::builders::PublishPortalFluentBuilder {
11        crate::operation::publish_portal::builders::PublishPortalFluentBuilder::new(self.handle.clone())
12    }
13}