line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ApiGateway::GetExport; |
3
|
1
|
|
|
1
|
|
574
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
4
|
|
|
|
|
|
|
has Accepts => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'accepts' ); |
5
|
|
|
|
|
|
|
has ExportType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'exportType' , required => 1); |
6
|
|
|
|
|
|
|
has Parameters => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString', traits => ['ParamInQuery'], query_name => 'parameters' ); |
7
|
|
|
|
|
|
|
has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1); |
8
|
|
|
|
|
|
|
has StageName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'stageName' , required => 1); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6367
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetExport'); |
13
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}'); |
14
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); |
15
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::ExportResponse'); |
16
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
### main pod documentation begin ### |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Paws::ApiGateway::GetExport - Arguments for method GetExport on Paws::ApiGateway |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This class represents the parameters used for calling the method GetExport on the |
28
|
|
|
|
|
|
|
Amazon API Gateway service. Use the attributes of this class |
29
|
|
|
|
|
|
|
as arguments to method GetExport. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetExport. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
As an example: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->GetExport(Att1 => $value1, Att2 => $value2, ...); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
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. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 Accepts => Str |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The content-type of the export, for example C<application/json>. |
45
|
|
|
|
|
|
|
Currently C<application/json> and C<application/yaml> are supported for |
46
|
|
|
|
|
|
|
C<exportType> of C<swagger>. This should be specified in the C<Accept> |
47
|
|
|
|
|
|
|
header for direct API requests. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 B<REQUIRED> ExportType => Str |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The type of export. Currently only 'swagger' is supported. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 Parameters => L<Paws::ApiGateway::MapOfStringToString> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
A key-value map of query string parameters that specify properties of |
60
|
|
|
|
|
|
|
the export, depending on the requested C<exportType>. For C<exportType> |
61
|
|
|
|
|
|
|
C<swagger>, any combination of the following parameters are supported: |
62
|
|
|
|
|
|
|
C<integrations> will export the API with |
63
|
|
|
|
|
|
|
x-amazon-apigateway-integration extensions. C<authorizers> will export |
64
|
|
|
|
|
|
|
the API with x-amazon-apigateway-authorizer extensions. C<postman> will |
65
|
|
|
|
|
|
|
export the API with Postman extensions, allowing for import to the |
66
|
|
|
|
|
|
|
Postman tool |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 B<REQUIRED> RestApiId => Str |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
The identifier of the RestApi to be exported. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 B<REQUIRED> StageName => Str |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The name of the Stage that will be exported. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 SEE ALSO |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method GetExport in L<Paws::ApiGateway> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
94
|
|
|
|
|
|
|
|