Struct rusoto_apigateway::CreateRestApiRequest
[−]
[src]
pub struct CreateRestApiRequest { pub binary_media_types: Option<Vec<String>>, pub clone_from: Option<String>, pub description: Option<String>, pub name: String, pub version: Option<String>, }
The POST Request to add a new RestApi resource to your collection.
Fields
binary_media_types: Option<Vec<String>>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
clone_from: Option<String>
The ID of the RestApi that you want to clone from.
description: Option<String>
The description of the RestApi.
name: String
The name of the RestApi.
version: Option<String>
A version identifier for the API.
Trait Implementations
impl Default for CreateRestApiRequest
[src]
fn default() -> CreateRestApiRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreateRestApiRequest
[src]
impl Clone for CreateRestApiRequest
[src]
fn clone(&self) -> CreateRestApiRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more