| 1 | |||
| 2 | package Paws::ApiGateway::UpdateRestApi; | ||
| 3 | use Moose; | ||
| 4 | has PatchOperations => (is => 'ro', isa => 'ArrayRef[Paws::ApiGateway::PatchOperation]', traits => ['NameInRequest'], request_name => 'patchOperations'); | ||
| 5 | has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restapi_id', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRestApi'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::RestApi'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ApiGateway::UpdateRestApi - Arguments for method UpdateRestApi on L<Paws::ApiGateway> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdateRestApi on the | ||
| 24 | L<Amazon API Gateway|Paws::ApiGateway> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdateRestApi. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRestApi. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $apigateway = Paws->service('ApiGateway'); | ||
| 32 | my $RestApi = $apigateway->UpdateRestApi( | ||
| 33 | RestApiId => 'MyString', | ||
| 34 | PatchOperations => [ | ||
| 35 | { | ||
| 36 | From => 'MyString', | ||
| 37 | Op => | ||
| 38 | 'add', # values: add, remove, replace, move, copy, test; OPTIONAL | ||
| 39 | Path => 'MyString', | ||
| 40 | Value => 'MyString', | ||
| 41 | }, | ||
| 42 | ... | ||
| 43 | ], # OPTIONAL | ||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $ApiKeySource = $RestApi->ApiKeySource; | ||
| 48 | my $BinaryMediaTypes = $RestApi->BinaryMediaTypes; | ||
| 49 | my $CreatedDate = $RestApi->CreatedDate; | ||
| 50 | my $Description = $RestApi->Description; | ||
| 51 | my $DisableExecuteApiEndpoint = $RestApi->DisableExecuteApiEndpoint; | ||
| 52 | my $EndpointConfiguration = $RestApi->EndpointConfiguration; | ||
| 53 | my $Id = $RestApi->Id; | ||
| 54 | my $MinimumCompressionSize = $RestApi->MinimumCompressionSize; | ||
| 55 | my $Name = $RestApi->Name; | ||
| 56 | my $Policy = $RestApi->Policy; | ||
| 57 | my $Tags = $RestApi->Tags; | ||
| 58 | my $Version = $RestApi->Version; | ||
| 59 | my $Warnings = $RestApi->Warnings; | ||
| 60 | |||
| 61 | # Returns a L<Paws::ApiGateway::RestApi> object. | ||
| 62 | |||
| 63 | 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. | ||
| 64 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/UpdateRestApi> | ||
| 65 | |||
| 66 | =head1 ATTRIBUTES | ||
| 67 | |||
| 68 | |||
| 69 | =head2 PatchOperations => ArrayRef[L<Paws::ApiGateway::PatchOperation>] | ||
| 70 | |||
| 71 | A list of update operations to be applied to the specified resource and | ||
| 72 | in the order specified in this list. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> RestApiId => Str | ||
| 77 | |||
| 78 | [Required] The string identifier of the associated RestApi. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SEE ALSO | ||
| 84 | |||
| 85 | This class forms part of L<Paws>, documenting arguments for method UpdateRestApi in L<Paws::ApiGateway> | ||
| 86 | |||
| 87 | =head1 BUGS and CONTRIBUTIONS | ||
| 88 | |||
| 89 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 90 | |||
| 91 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 92 | |||
| 93 | =cut | ||
| 94 |