NAME
Paws::ApiGatewayV2::CreateModel - Arguments for method CreateModel on Paws::ApiGatewayV2
DESCRIPTION
This class represents the parameters used for calling the method CreateModel on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method CreateModel.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateModel.
SYNOPSIS
my $apigateway = Paws->service('ApiGatewayV2');
my $CreateModelResponse = $apigateway->CreateModel(
ApiId => 'My__string',
Name => 'MyStringWithLengthBetween1And128',
ContentType => 'MyStringWithLengthBetween1And256', # OPTIONAL
Description => 'MyStringWithLengthBetween0And1024', # OPTIONAL
Schema => 'MyStringWithLengthBetween0And32K', # OPTIONAL
);
# Results:
my $ContentType = $CreateModelResponse->ContentType;
my $Description = $CreateModelResponse->Description;
my $ModelId = $CreateModelResponse->ModelId;
my $Name = $CreateModelResponse->Name;
my $Schema = $CreateModelResponse->Schema;
# Returns a L<Paws::ApiGatewayV2::CreateModelResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/apigateway/CreateModel
ATTRIBUTES
REQUIRED ApiId => Str
The API identifier.
ContentType => Str
The content-type for the model, for example, "application/json".
Description => Str
The description of the model.
REQUIRED Name => Str
The name of the model. Must be alphanumeric.
Schema => Str
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateModel in Paws::ApiGatewayV2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues