« blib/lib/Paws/ApiGateway/VpcLinks.pm
↑ Summary
blib/lib/Paws/ApiGatewayManagement/DeleteConnection.pm »
| 1 | package Paws::ApiGatewayManagement; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'execute-api' } | ||
| 4 | sub signing_name { 'execute-api' } | ||
| 5 | sub version { '2018-11-29' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub DeleteConnection { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::ApiGatewayManagement::DeleteConnection', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub GetConnection { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::ApiGatewayManagement::GetConnection', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub PostToConnection { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::ApiGatewayManagement::PostToConnection', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | sub operations { qw/DeleteConnection GetConnection PostToConnection / } | ||
| 36 | |||
| 37 | 1; | ||
| 38 | |||
| 39 | ### main pod documentation begin ### | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | Paws::ApiGatewayManagement - Perl Interface to AWS AmazonApiGatewayManagementApi | ||
| 44 | |||
| 45 | =head1 SYNOPSIS | ||
| 46 | |||
| 47 | use Paws; | ||
| 48 | |||
| 49 | my $obj = Paws->service('ApiGatewayManagement'); | ||
| 50 | my $res = $obj->Method( | ||
| 51 | Arg1 => $val1, | ||
| 52 | Arg2 => [ 'V1', 'V2' ], | ||
| 53 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 54 | # of the arguments type | ||
| 55 | Arg3 => { Att1 => 'Val1' }, | ||
| 56 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 57 | # the constructor of the arguments type | ||
| 58 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 59 | ); | ||
| 60 | |||
| 61 | =head1 DESCRIPTION | ||
| 62 | |||
| 63 | The Amazon API Gateway Management API allows you to directly manage | ||
| 64 | runtime aspects of your deployed APIs. To use it, you must explicitly | ||
| 65 | set the SDK's endpoint to point to the endpoint of your deployed API. | ||
| 66 | The endpoint will be of the form | ||
| 67 | https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be | ||
| 68 | the endpoint corresponding to your API's custom domain and base path, | ||
| 69 | if applicable. | ||
| 70 | |||
| 71 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/execute-api-2018-11-29> | ||
| 72 | |||
| 73 | |||
| 74 | =head1 METHODS | ||
| 75 | |||
| 76 | =head2 DeleteConnection | ||
| 77 | |||
| 78 | =over | ||
| 79 | |||
| 80 | =item ConnectionId => Str | ||
| 81 | |||
| 82 | |||
| 83 | =back | ||
| 84 | |||
| 85 | Each argument is described in detail in: L<Paws::ApiGatewayManagement::DeleteConnection> | ||
| 86 | |||
| 87 | Returns: nothing | ||
| 88 | |||
| 89 | Delete the connection with the provided id. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 GetConnection | ||
| 93 | |||
| 94 | =over | ||
| 95 | |||
| 96 | =item ConnectionId => Str | ||
| 97 | |||
| 98 | |||
| 99 | =back | ||
| 100 | |||
| 101 | Each argument is described in detail in: L<Paws::ApiGatewayManagement::GetConnection> | ||
| 102 | |||
| 103 | Returns: a L<Paws::ApiGatewayManagement::GetConnectionResponse> instance | ||
| 104 | |||
| 105 | Get information about the connection with the provided id. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 PostToConnection | ||
| 109 | |||
| 110 | =over | ||
| 111 | |||
| 112 | =item ConnectionId => Str | ||
| 113 | |||
| 114 | =item Data => Str | ||
| 115 | |||
| 116 | |||
| 117 | =back | ||
| 118 | |||
| 119 | Each argument is described in detail in: L<Paws::ApiGatewayManagement::PostToConnection> | ||
| 120 | |||
| 121 | Returns: nothing | ||
| 122 | |||
| 123 | Sends the provided data to the specified connection. | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head1 PAGINATORS | ||
| 129 | |||
| 130 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head1 SEE ALSO | ||
| 136 | |||
| 137 | This service class forms part of L<Paws> | ||
| 138 | |||
| 139 | =head1 BUGS and CONTRIBUTIONS | ||
| 140 | |||
| 141 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 142 | |||
| 143 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 144 | |||
| 145 | =cut | ||
| 146 |