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

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

The ID of the RestApi that you want to clone from.

The description of the RestApi.

The name of the RestApi.

A version identifier for the API.

Trait Implementations

impl Default for CreateRestApiRequest
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for CreateRestApiRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for CreateRestApiRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more