aws-sdk-apiportal 1.1.0

AWS SDK for APIPortal
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetProductApiPage`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`product_id(impl Into<String>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::set_product_id):<br>required: **true**<br>The identifier of the product.<br>
    ///   - [`product_api_page_id(impl Into<String>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::product_api_page_id) / [`set_product_api_page_id(Option<String>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::set_product_api_page_id):<br>required: **true**<br>The identifier of the API page.<br>
    ///   - [`resource_owner_account_id(impl Into<String>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::resource_owner_account_id) / [`set_resource_owner_account_id(Option<String>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::set_resource_owner_account_id):<br>required: **false**<br>The AWS account ID that owns the product. Supply it to read a product shared with you by another account. Omit it for products in your own account.<br>
    ///   - [`include_raw_display_content(bool)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::include_raw_display_content) / [`set_include_raw_display_content(Option<bool>)`](crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::set_include_raw_display_content):<br>required: **false**<br>Set to `true` to also return the page body in `rawDisplayContent`.<br>
    /// - On success, responds with [`GetProductApiPageOutput`](crate::operation::get_product_api_page::GetProductApiPageOutput) with field(s):
    ///   - [`product_api_page_id(String)`](crate::operation::get_product_api_page::GetProductApiPageOutput::product_api_page_id): The identifier of the API page.
    ///   - [`product_api_page_arn(String)`](crate::operation::get_product_api_page::GetProductApiPageOutput::product_api_page_arn): The ARN of the API page.
    ///   - [`api_id(Option<ApiId>)`](crate::operation::get_product_api_page::GetProductApiPageOutput::api_id): The API the page documents.
    ///   - [`display_content(Option<ApiPageDisplayContentResponse>)`](crate::operation::get_product_api_page::GetProductApiPageOutput::display_content): The content shown on the page.
    ///   - [`try_it_state(TryItState)`](crate::operation::get_product_api_page::GetProductApiPageOutput::try_it_state): Whether Try-It is enabled on the page.
    ///   - [`updated_at(DateTime)`](crate::operation::get_product_api_page::GetProductApiPageOutput::updated_at): When the resource was last updated.
    ///   - [`status(Status)`](crate::operation::get_product_api_page::GetProductApiPageOutput::status): The status of the page content: `IN_PROGRESS` while it is generated, then `AVAILABLE` or `FAILED`.
    ///   - [`raw_display_content(Option<String>)`](crate::operation::get_product_api_page::GetProductApiPageOutput::raw_display_content): The Markdown body of the page. Returned only when `includeRawDisplayContent` is `true`.
    ///   - [`status_exception(Option<ProductApiPageStatusException>)`](crate::operation::get_product_api_page::GetProductApiPageOutput::status_exception): Failure detail attached to a ProductApiPage's status: a typed reason plus an optional human-readable message.
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_product_api_page::GetProductApiPageOutput::tags): Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.
    /// - On failure, responds with [`SdkError<GetProductApiPageError>`](crate::operation::get_product_api_page::GetProductApiPageError)
    pub fn get_product_api_page(&self) -> crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder {
        crate::operation::get_product_api_page::builders::GetProductApiPageFluentBuilder::new(self.handle.clone())
    }
}