NAME

Paws::ApiGatewayV2::UpdateModel - Arguments for method UpdateModel on Paws::ApiGatewayV2

DESCRIPTION

This class represents the parameters used for calling the method UpdateModel on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method UpdateModel.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateModel.

SYNOPSIS

    my $apigateway = Paws->service('ApiGatewayV2');
    my $UpdateModelResponse = $apigateway->UpdateModel(
      ApiId       => 'My__string',
      ModelId     => 'My__string',
      ContentType => 'MyStringWithLengthBetween1And256',     # OPTIONAL
      Description => 'MyStringWithLengthBetween0And1024',    # OPTIONAL
      Name        => 'MyStringWithLengthBetween1And128',     # OPTIONAL
      Schema      => 'MyStringWithLengthBetween0And32K',     # OPTIONAL
    );

    # Results:
    my $ContentType = $UpdateModelResponse->ContentType;
    my $Description = $UpdateModelResponse->Description;
    my $ModelId     = $UpdateModelResponse->ModelId;
    my $Name        = $UpdateModelResponse->Name;
    my $Schema      = $UpdateModelResponse->Schema;

    # Returns a L<Paws::ApiGatewayV2::UpdateModelResponse> 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/UpdateModel

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 ModelId => Str

The model ID.

Name => Str

The name of the model.

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 UpdateModel 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