- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::ApiGatewayV2::CreateModel - Arguments for method CreateModel on Paws::ApiGatewayV2
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.
my $apigateway = Paws->service('ApiGatewayV2'); my $CreateModelResponse = $apigateway->CreateModel( ApiId => 'My__string', Name => 'MyStringWithLengthBetween1And128', Schema => 'MyStringWithLengthBetween0And32K', ContentType => 'MyStringWithLengthBetween1And256', # OPTIONAL Description => 'MyStringWithLengthBetween0And1024', # 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
The API identifier.
The content-type for the model, for example, "application/json".
The description of the model.
The name of the model. Must be alphanumeric.
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
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