blib/lib/Paws/ApiGateway/ImportApiKeys.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/API/StrToNativeMapParser.pm ↑ Summary blib/lib/Paws/AutoScaling/ActivitiesType.pm »
1  
2 package Paws::ApiGateway::ImportApiKeys;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Body => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'body', required => 1);
5 1 has FailOnWarnings => (is => 'ro', isa => 'Bool', traits => ['ParamInQuery'], query_name => 'failonwarnings');
6 1 has Format => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'format', required => 1);
7  
8 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 class_has _stream_param => (is => 'ro', default => 'Body');
10 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ImportApiKeys');
11 1 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/apikeys?mode=import');
12 1 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
13 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::ApiKeyIds');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ApiGateway::ImportApiKeys - Arguments for method ImportApiKeys on L<Paws::ApiGateway>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ImportApiKeys on the
25 L<Amazon API Gateway|Paws::ApiGateway> service. Use the attributes of this class
26 as arguments to method ImportApiKeys.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ImportApiKeys.
29  
30 =head1 SYNOPSIS
31  
32 my $apigateway = Paws->service('ApiGateway');
33 my $ApiKeyIds = $apigateway->ImportApiKeys(
34 Body => 'BlobBlob',
35 Format => 'csv',
36 FailOnWarnings => 1, # OPTIONAL
37 );
38  
39 # Results:
40 my $Ids = $ApiKeyIds->Ids;
41 my $Warnings = $ApiKeyIds->Warnings;
42  
43 # Returns a L<Paws::ApiGateway::ApiKeyIds> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/ImportApiKeys>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 B<REQUIRED> Body => Str
52  
53 The payload of the POST request to import API keys. For the payload
54 format, see API Key File Format
55 (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-key-file-format.html).
56  
57  
58  
59 =head2 FailOnWarnings => Bool
60  
61 A query parameter to indicate whether to rollback ApiKey importation
62 (C<true>) or not (C<false>) when error is encountered.
63  
64  
65  
66 =head2 B<REQUIRED> Format => Str
67  
68 A query parameter to specify the input format to imported API keys.
69 Currently, only the C<csv> format is supported.
70  
71 Valid values are: C<"csv">
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, documenting arguments for method ImportApiKeys in L<Paws::ApiGateway>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85  
« blib/lib/Paws/API/StrToNativeMapParser.pm ↑ Summary blib/lib/Paws/AutoScaling/ActivitiesType.pm »