blib/lib/Paws/SSM/RemoveTagsFromResource.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::SSM::RemoveTagsFromResource;
3 use Moose;
4 has ResourceId => (is => 'ro', isa => 'Str', required => 1);
5 has ResourceType => (is => 'ro', isa => 'Str', required => 1);
6 has TagKeys => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'RemoveTagsFromResource');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::RemoveTagsFromResourceResult');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::SSM::RemoveTagsFromResource - Arguments for method RemoveTagsFromResource on L<Paws::SSM>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method RemoveTagsFromResource on the
24 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
25 as arguments to method RemoveTagsFromResource.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RemoveTagsFromResource.
28  
29 =head1 SYNOPSIS
30  
31 my $ssm = Paws->service('SSM');
32 my $RemoveTagsFromResourceResult = $ssm->RemoveTagsFromResource(
33 ResourceId => 'MyResourceId',
34 ResourceType => 'Document',
35 TagKeys => [
36 'MyTagKey', ... # min: 1, max: 128
37 ],
38  
39 );
40  
41 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.
42 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/RemoveTagsFromResource>
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> ResourceId => Str
48  
49 The ID of the resource from which you want to remove tags. For example:
50  
51 ManagedInstance: mi-012345abcde
52  
53 MaintenanceWindow: mw-012345abcde
54  
55 PatchBaseline: pb-012345abcde
56  
57 OpsMetadata object: C<ResourceID> for tagging is created from the
58 Amazon Resource Name (ARN) for the object. Specifically, C<ResourceID>
59 is created from the strings that come after the word C<opsmetadata> in
60 the ARN. For example, an OpsMetadata object with an ARN of
61 C<arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager>
62 has a C<ResourceID> of either C<aws/ssm/MyGroup/appmanager> or
63 C</aws/ssm/MyGroup/appmanager>.
64  
65 For the Document and Parameter values, use the name of the resource.
66  
67 The ManagedInstance type for this API action is only for on-premises
68 managed instances. Specify the name of the managed instance in the
69 following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
70  
71  
72  
73 =head2 B<REQUIRED> ResourceType => Str
74  
75 The type of resource from which you want to remove a tag.
76  
77 The ManagedInstance type for this API action is only for on-premises
78 managed instances. Specify the name of the managed instance in the
79 following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
80  
81 Valid values are: C<"Document">, C<"ManagedInstance">, C<"MaintenanceWindow">, C<"Parameter">, C<"PatchBaseline">, C<"OpsItem">, C<"OpsMetadata">
82  
83 =head2 B<REQUIRED> TagKeys => ArrayRef[Str|Undef]
84  
85 Tag keys that you want to remove from the specified resource.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method RemoveTagsFromResource in L<Paws::SSM>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101