blib/lib/Paws/LakeFormation/SearchDatabasesByLFTags.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LakeFormation::SearchDatabasesByLFTags;
3 use Moose;
4 has CatalogId => (is => 'ro', isa => 'Str');
5 has Expression => (is => 'ro', isa => 'ArrayRef[Paws::LakeFormation::LFTag]', required => 1);
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'SearchDatabasesByLFTags');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LakeFormation::SearchDatabasesByLFTagsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::LakeFormation::SearchDatabasesByLFTags - Arguments for method SearchDatabasesByLFTags on L<Paws::LakeFormation>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method SearchDatabasesByLFTags on the
25 L<AWS Lake Formation|Paws::LakeFormation> service. Use the attributes of this class
26 as arguments to method SearchDatabasesByLFTags.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchDatabasesByLFTags.
29  
30 =head1 SYNOPSIS
31  
32 my $lakeformation = Paws->service('LakeFormation');
33 my $SearchDatabasesByLFTagsResponse =
34 $lakeformation->SearchDatabasesByLFTags(
35 Expression => [
36 {
37 TagKey => 'MyLFTagKey', # min: 1, max: 128
38 TagValues => [
39 'MyLFTagValue', ... # max: 256
40 ], # min: 1, max: 50
41  
42 },
43 ...
44 ],
45 CatalogId => 'MyCatalogIdString', # OPTIONAL
46 MaxResults => 1, # OPTIONAL
47 NextToken => 'MyToken', # OPTIONAL
48 );
49  
50 # Results:
51 my $DatabaseList = $SearchDatabasesByLFTagsResponse->DatabaseList;
52 my $NextToken = $SearchDatabasesByLFTagsResponse->NextToken;
53  
54 # Returns a L<Paws::LakeFormation::SearchDatabasesByLFTagsResponse> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lakeformation/SearchDatabasesByLFTags>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 CatalogId => Str
63  
64 The identifier for the Data Catalog. By default, the account ID. The
65 Data Catalog is the persistent metadata store. It contains database
66 definitions, table definitions, and other control information to manage
67 your AWS Lake Formation environment.
68  
69  
70  
71 =head2 B<REQUIRED> Expression => ArrayRef[L<Paws::LakeFormation::LFTag>]
72  
73 A list of conditions (C<LFTag> structures) to search for in database
74 resources.
75  
76  
77  
78 =head2 MaxResults => Int
79  
80 The maximum number of results to return.
81  
82  
83  
84 =head2 NextToken => Str
85  
86 A continuation token, if this is not the first call to retrieve this
87 list.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method SearchDatabasesByLFTags in L<Paws::LakeFormation>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103