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

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LakeFormation::RemoveLFTagsFromResource;
3 use Moose;
4 has CatalogId => (is => 'ro', isa => 'Str');
5 has LFTags => (is => 'ro', isa => 'ArrayRef[Paws::LakeFormation::LFTagPair]', required => 1);
6 has Resource => (is => 'ro', isa => 'Paws::LakeFormation::Resource', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'RemoveLFTagsFromResource');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LakeFormation::RemoveLFTagsFromResourceResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::LakeFormation::RemoveLFTagsFromResource - Arguments for method RemoveLFTagsFromResource on L<Paws::LakeFormation>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method RemoveLFTagsFromResource on the
24 L<AWS Lake Formation|Paws::LakeFormation> service. Use the attributes of this class
25 as arguments to method RemoveLFTagsFromResource.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RemoveLFTagsFromResource.
28  
29 =head1 SYNOPSIS
30  
31 my $lakeformation = Paws->service('LakeFormation');
32 my $RemoveLFTagsFromResourceResponse =
33 $lakeformation->RemoveLFTagsFromResource(
34 LFTags => [
35 {
36 TagKey => 'MyLFTagKey', # min: 1, max: 128
37 TagValues => [
38 'MyLFTagValue', ... # max: 256
39 ], # min: 1, max: 50
40 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
41 },
42 ...
43 ],
44 Resource => {
45 Catalog => {
46  
47 }, # OPTIONAL
48 DataLocation => {
49 ResourceArn => 'MyResourceArnString',
50 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
51 }, # OPTIONAL
52 Database => {
53 Name => 'MyNameString', # min: 1, max: 255
54 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
55 }, # OPTIONAL
56 LFTag => {
57 TagKey => 'MyNameString', # min: 1, max: 255
58 TagValues => [
59 'MyLFTagValue', ... # max: 256
60 ], # min: 1, max: 50
61 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
62 }, # OPTIONAL
63 LFTagPolicy => {
64 Expression => [
65 {
66 TagKey => 'MyLFTagKey', # min: 1, max: 128
67 TagValues => [
68 'MyLFTagValue', ... # max: 256
69 ], # min: 1, max: 50
70  
71 },
72 ...
73 ], # min: 1, max: 5
74 ResourceType => 'DATABASE', # values: DATABASE, TABLE
75 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
76 }, # OPTIONAL
77 Table => {
78 DatabaseName => 'MyNameString', # min: 1, max: 255
79 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
80 Name => 'MyNameString', # min: 1, max: 255
81 TableWildcard => {
82  
83 }, # OPTIONAL
84 }, # OPTIONAL
85 TableWithColumns => {
86 DatabaseName => 'MyNameString', # min: 1, max: 255
87 Name => 'MyNameString', # min: 1, max: 255
88 CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL
89 ColumnNames => [
90 'MyNameString', ... # min: 1, max: 255
91 ], # OPTIONAL
92 ColumnWildcard => {
93 ExcludedColumnNames => [
94 'MyNameString', ... # min: 1, max: 255
95 ], # OPTIONAL
96 }, # OPTIONAL
97 }, # OPTIONAL
98 },
99 CatalogId => 'MyCatalogIdString', # OPTIONAL
100 );
101  
102 # Results:
103 my $Failures = $RemoveLFTagsFromResourceResponse->Failures;
104  
105 # Returns a L<Paws::LakeFormation::RemoveLFTagsFromResourceResponse> object.
106  
107 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.
108 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lakeformation/RemoveLFTagsFromResource>
109  
110 =head1 ATTRIBUTES
111  
112  
113 =head2 CatalogId => Str
114  
115 The identifier for the Data Catalog. By default, the account ID. The
116 Data Catalog is the persistent metadata store. It contains database
117 definitions, table definitions, and other control information to manage
118 your AWS Lake Formation environment.
119  
120  
121  
122 =head2 B<REQUIRED> LFTags => ArrayRef[L<Paws::LakeFormation::LFTagPair>]
123  
124 The tags to be removed from the resource.
125  
126  
127  
128 =head2 B<REQUIRED> Resource => L<Paws::LakeFormation::Resource>
129  
130 The resource where you want to remove a tag.
131  
132  
133  
134  
135 =head1 SEE ALSO
136  
137 This class forms part of L<Paws>, documenting arguments for method RemoveLFTagsFromResource in L<Paws::LakeFormation>
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