blib/lib/Paws/ECS/DeleteAttributes.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::ECS::DeleteAttributes;
3 use Moose;
4 has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::ECS::Attribute]', traits => ['NameInRequest'], request_name => 'attributes' , required => 1);
5 has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteAttributes');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::DeleteAttributesResponse');
11 class_has _result_key => (isa => 'Str', is => 'ro');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::ECS::DeleteAttributes - Arguments for method DeleteAttributes on L<Paws::ECS>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method DeleteAttributes on the
23 L<Amazon EC2 Container Service|Paws::ECS> service. Use the attributes of this class
24 as arguments to method DeleteAttributes.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteAttributes.
27  
28 =head1 SYNOPSIS
29  
30 my $ecs = Paws->service('ECS');
31 my $DeleteAttributesResponse = $ecs->DeleteAttributes(
32 Attributes => [
33 {
34 Name => 'MyString',
35 TargetId => 'MyString',
36 TargetType =>
37 'container-instance', # values: container-instance; OPTIONAL
38 Value => 'MyString',
39 },
40 ...
41 ],
42 Cluster => 'MyString', # OPTIONAL
43 );
44  
45 # Results:
46 my $Attributes = $DeleteAttributesResponse->Attributes;
47  
48 # Returns a L<Paws::ECS::DeleteAttributesResponse> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ecs/DeleteAttributes>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 B<REQUIRED> Attributes => ArrayRef[L<Paws::ECS::Attribute>]
57  
58 The attributes to delete from your resource. You can specify up to 10
59 attributes per request. For custom attributes, specify the attribute
60 name and target ID, but do not specify the value. If you specify the
61 target ID using the short form, you must also specify the target type.
62  
63  
64  
65 =head2 Cluster => Str
66  
67 The short name or full Amazon Resource Name (ARN) of the cluster that
68 contains the resource to delete attributes. If you do not specify a
69 cluster, the default cluster is assumed.
70  
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, documenting arguments for method DeleteAttributes in L<Paws::ECS>
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