aws-sdk-apiportal 1.1.0

AWS SDK for APIPortal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetApiInventoryItem`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`method(HttpMethod)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::method) / [`set_method(Option<HttpMethod>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::set_method):<br>required: **true**<br>The HTTP method of the API.<br>
    ///   - [`host(impl Into<String>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::host) / [`set_host(Option<String>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::set_host):<br>required: **true**<br>A discovered API's front-door hostname (e.g. an ALB, CloudFront, or API Gateway DNS name), bounded by the DNS name limit (RFC 1035). Usually literal, but may contain placeholders: &lt;*&gt; - stands for one dot-separated part of the hostname. When 10 or more hosts differ only in that part, they fold into one, e.g. a.example.com, b.example.com, ... become "&lt;*&gt;.example.com". Deeper levels fold the same way ("&lt;*&gt;.&lt;*&gt;.example.com"). The registrable domain never folds. <ip>  - an IP-literal host. </ip><br>
    ///   - [`port(i32)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::port) / [`set_port(Option<i32>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::set_port):<br>required: **true**<br>The port the API listens on, from 0 to 65535.<br>
    ///   - [`path(impl Into<String>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::path) / [`set_path(Option<String>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::set_path):<br>required: **true**<br>The request path of the API.<br>
    ///   - [`resource_arn(impl Into<String>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::set_resource_arn):<br>required: **true**<br>The ARN of the resource that serves the API, such as an API Gateway stage or a load balancer.<br>
    /// - On success, responds with [`GetApiInventoryItemOutput`](crate::operation::get_api_inventory_item::GetApiInventoryItemOutput) with field(s):
    ///   - [`item(Option<ApiInventoryItemDetail>)`](crate::operation::get_api_inventory_item::GetApiInventoryItemOutput::item): The details of the API inventory item.
    /// - On failure, responds with [`SdkError<GetApiInventoryItemError>`](crate::operation::get_api_inventory_item::GetApiInventoryItemError)
    pub fn get_api_inventory_item(&self) -> crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder {
        crate::operation::get_api_inventory_item::builders::GetApiInventoryItemFluentBuilder::new(self.handle.clone())
    }
}