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 [`CreateManagedApi`](crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`api_signature(ApiSignature)`](crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder::api_signature) / [`set_api_signature(Option<ApiSignature>)`](crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder::set_api_signature):<br>required: **true**<br>The resource, method, host, port, and path that identify the API.<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder::set_tags):<br>required: **false**<br>Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.<br>
    /// - On success, responds with [`CreateManagedApiOutput`](crate::operation::create_managed_api::CreateManagedApiOutput) with field(s):
    ///   - [`managed_api_id(String)`](crate::operation::create_managed_api::CreateManagedApiOutput::managed_api_id): The identifier of the Managed API.
    ///   - [`managed_api_arn(String)`](crate::operation::create_managed_api::CreateManagedApiOutput::managed_api_arn): The ARN of the Managed API.
    ///   - [`api_signature(Option<ApiSignature>)`](crate::operation::create_managed_api::CreateManagedApiOutput::api_signature): The attributes that identify the API.
    ///   - [`created_at(DateTime)`](crate::operation::create_managed_api::CreateManagedApiOutput::created_at): When the resource was created.
    ///   - [`updated_at(DateTime)`](crate::operation::create_managed_api::CreateManagedApiOutput::updated_at): When the resource was last updated.
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_managed_api::CreateManagedApiOutput::tags): Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.
    /// - On failure, responds with [`SdkError<CreateManagedApiError>`](crate::operation::create_managed_api::CreateManagedApiError)
    pub fn create_managed_api(&self) -> crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder {
        crate::operation::create_managed_api::builders::CreateManagedApiFluentBuilder::new(self.handle.clone())
    }
}