« blib/lib/Paws/ApiGateway/UpdateIntegration.pm
↑ Summary
blib/lib/Paws/ApiGateway/UpdateMethod.pm »
| 1 | |||
| 2 | package Paws::ApiGateway::UpdateIntegrationResponse; | ||
| 3 | use Moose; | ||
| 4 | has HttpMethod => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'http_method', required => 1); | ||
| 5 | has PatchOperations => (is => 'ro', isa => 'ArrayRef[Paws::ApiGateway::PatchOperation]', traits => ['NameInRequest'], request_name => 'patchOperations'); | ||
| 6 | has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'resource_id', required => 1); | ||
| 7 | has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restapi_id', required => 1); | ||
| 8 | has StatusCode => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'status_code', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateIntegrationResponse'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::IntegrationResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::ApiGateway::UpdateIntegrationResponse - Arguments for method UpdateIntegrationResponse on L<Paws::ApiGateway> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateIntegrationResponse on the | ||
| 27 | L<Amazon API Gateway|Paws::ApiGateway> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateIntegrationResponse. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateIntegrationResponse. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $apigateway = Paws->service('ApiGateway'); | ||
| 35 | my $IntegrationResponse = $apigateway->UpdateIntegrationResponse( | ||
| 36 | HttpMethod => 'MyString', | ||
| 37 | ResourceId => 'MyString', | ||
| 38 | RestApiId => 'MyString', | ||
| 39 | StatusCode => 'MyStatusCode', | ||
| 40 | PatchOperations => [ | ||
| 41 | { | ||
| 42 | From => 'MyString', | ||
| 43 | Op => | ||
| 44 | 'add', # values: add, remove, replace, move, copy, test; OPTIONAL | ||
| 45 | Path => 'MyString', | ||
| 46 | Value => 'MyString', | ||
| 47 | }, | ||
| 48 | ... | ||
| 49 | ], # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $ContentHandling = $IntegrationResponse->ContentHandling; | ||
| 54 | my $ResponseParameters = $IntegrationResponse->ResponseParameters; | ||
| 55 | my $ResponseTemplates = $IntegrationResponse->ResponseTemplates; | ||
| 56 | my $SelectionPattern = $IntegrationResponse->SelectionPattern; | ||
| 57 | my $StatusCode = $IntegrationResponse->StatusCode; | ||
| 58 | |||
| 59 | # Returns a L<Paws::ApiGateway::IntegrationResponse> object. | ||
| 60 | |||
| 61 | 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. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/UpdateIntegrationResponse> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> HttpMethod => Str | ||
| 68 | |||
| 69 | [Required] Specifies an update integration response request's HTTP | ||
| 70 | method. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 PatchOperations => ArrayRef[L<Paws::ApiGateway::PatchOperation>] | ||
| 75 | |||
| 76 | A list of update operations to be applied to the specified resource and | ||
| 77 | in the order specified in this list. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> ResourceId => Str | ||
| 82 | |||
| 83 | [Required] Specifies an update integration response request's resource | ||
| 84 | identifier. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> RestApiId => Str | ||
| 89 | |||
| 90 | [Required] The string identifier of the associated RestApi. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> StatusCode => Str | ||
| 95 | |||
| 96 | [Required] Specifies an update integration response request's status | ||
| 97 | code. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head1 SEE ALSO | ||
| 103 | |||
| 104 | This class forms part of L<Paws>, documenting arguments for method UpdateIntegrationResponse in L<Paws::ApiGateway> | ||
| 105 | |||
| 106 | =head1 BUGS and CONTRIBUTIONS | ||
| 107 | |||
| 108 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 109 | |||
| 110 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 111 | |||
| 112 | =cut | ||
| 113 |