Struct aws_sdk_apigateway::input::CreateModelInput
source · #[non_exhaustive]pub struct CreateModelInput { /* private fields */ }Expand description
Request to add a new Model to an existing RestApi resource.
Implementations§
source§impl CreateModelInput
impl CreateModelInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateModel, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateModel, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateModel>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateModelInput.
source§impl CreateModelInput
impl CreateModelInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The RestApi identifier under which the Model will be created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the model.
sourcepub fn schema(&self) -> Option<&str>
pub fn schema(&self) -> Option<&str>
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The content-type for the model.
Trait Implementations§
source§impl Clone for CreateModelInput
impl Clone for CreateModelInput
source§fn clone(&self) -> CreateModelInput
fn clone(&self) -> CreateModelInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateModelInput
impl Debug for CreateModelInput
source§impl PartialEq<CreateModelInput> for CreateModelInput
impl PartialEq<CreateModelInput> for CreateModelInput
source§fn eq(&self, other: &CreateModelInput) -> bool
fn eq(&self, other: &CreateModelInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.