pub struct CreateStageRequest {
pub cache_cluster_enabled: Option<bool>,
pub cache_cluster_size: Option<String>,
pub canary_settings: Option<CanarySettings>,
pub deployment_id: String,
pub description: Option<String>,
pub documentation_version: Option<String>,
pub rest_api_id: String,
pub stage_name: String,
pub tags: Option<HashMap<String, String>>,
pub variables: Option<HashMap<String, String>>,
}
Requests API Gateway to create a Stage resource.
Whether cache clustering is enabled for the stage.
The stage's cache cluster size.
The canary deployment settings of this stage.
[Required] The identifier of the Deployment resource for the Stage resource.
The description of the Stage resource.
The version of the associated API documentation.
[Required] The string identifier of the associated RestApi.
[Required] The name for the Stage resource.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static