You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ApiGatewayV2::Types::CreateModelRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateModelRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  api_id: "__string", # required
  content_type: "StringWithLengthBetween1And256",
  description: "StringWithLengthBetween0And1024",
  name: "StringWithLengthBetween1And128", # required
  schema: "StringWithLengthBetween0And32K", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

Returns:

  • (String)

#content_typeString

A string with a length between [1-256].

Returns:

  • (String)

    A string with a length between [1-256].

    .

#descriptionString

A string with a length between [0-1024].

Returns:

  • (String)

    A string with a length between [0-1024].

    .

#nameString

A string with a length between [1-128].

Returns:

  • (String)

    A string with a length between [1-128].

    .

#schemaString

A string with a length between [0-32768].

Returns:

  • (String)

    A string with a length between [0-32768].

    .