blib/lib/Paws/ApiGateway/GetSdk.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApiGateway::GetSdk;
3 use Moose;
4 has Parameters => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString', traits => ['ParamInQuery'], query_name => 'parameters');
5 has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restapi_id', required => 1);
6 has SdkType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'sdk_type', required => 1);
7 has StageName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'stage_name', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetSdk');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::SdkResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::ApiGateway::GetSdk - Arguments for method GetSdk on L<Paws::ApiGateway>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method GetSdk on the
26 L<Amazon API Gateway|Paws::ApiGateway> service. Use the attributes of this class
27 as arguments to method GetSdk.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetSdk.
30  
31 =head1 SYNOPSIS
32  
33 my $apigateway = Paws->service('ApiGateway');
34 my $SdkResponse = $apigateway->GetSdk(
35 RestApiId => 'MyString',
36 SdkType => 'MyString',
37 StageName => 'MyString',
38 Parameters => { 'MyString' => 'MyString', }, # OPTIONAL
39 );
40  
41 # Results:
42 my $Body = $SdkResponse->Body;
43 my $ContentDisposition = $SdkResponse->ContentDisposition;
44 my $ContentType = $SdkResponse->ContentType;
45  
46 # Returns a L<Paws::ApiGateway::SdkResponse> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/GetSdk>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Parameters => L<Paws::ApiGateway::MapOfStringToString>
55  
56 A string-to-string key-value map of query parameters
57 C<sdkType>-dependent properties of the SDK. For C<sdkType> of
58 C<objectivec> or C<swift>, a parameter named C<classPrefix> is
59 required. For C<sdkType> of C<android>, parameters named C<groupId>,
60 C<artifactId>, C<artifactVersion>, and C<invokerPackage> are required.
61 For C<sdkType> of C<java>, parameters named C<serviceName> and
62 C<javaPackageName> are required.
63  
64  
65  
66 =head2 B<REQUIRED> RestApiId => Str
67  
68 [Required] The string identifier of the associated RestApi.
69  
70  
71  
72 =head2 B<REQUIRED> SdkType => Str
73  
74 [Required] The language for the generated SDK. Currently C<java>,
75 C<javascript>, C<android>, C<objectivec> (for iOS), C<swift> (for iOS),
76 and C<ruby> are supported.
77  
78  
79  
80 =head2 B<REQUIRED> StageName => Str
81  
82 [Required] The name of the Stage that the SDK will use.
83  
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, documenting arguments for method GetSdk in L<Paws::ApiGateway>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98