blib/lib/Paws/CloudDirectory/UpdateLinkAttributes.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudDirectory::UpdateLinkAttributes;
3 use Moose;
4 has AttributeUpdates => (is => 'ro', isa => 'ArrayRef[Paws::CloudDirectory::LinkAttributeUpdate]', required => 1);
5 has DirectoryArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1);
6 has TypedLinkSpecifier => (is => 'ro', isa => 'Paws::CloudDirectory::TypedLinkSpecifier', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLinkAttributes');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/typedlink/attributes/update');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::UpdateLinkAttributesResponse');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CloudDirectory::UpdateLinkAttributes - Arguments for method UpdateLinkAttributes on L<Paws::CloudDirectory>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateLinkAttributes on the
25 L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class
26 as arguments to method UpdateLinkAttributes.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLinkAttributes.
29  
30 =head1 SYNOPSIS
31  
32 my $clouddirectory = Paws->service('CloudDirectory');
33 my $UpdateLinkAttributesResponse = $clouddirectory->UpdateLinkAttributes(
34 AttributeUpdates => [
35 {
36 AttributeAction => {
37 AttributeActionType =>
38 'CREATE_OR_UPDATE', # values: CREATE_OR_UPDATE, DELETE; OPTIONAL
39 AttributeUpdateValue => {
40 BinaryValue => 'BlobBinaryAttributeValue', # OPTIONAL
41 BooleanValue => 1, # OPTIONAL
42 DatetimeValue => '1970-01-01T01:00:00', # OPTIONAL
43 NumberValue => 'MyNumberAttributeValue', # OPTIONAL
44 StringValue => 'MyStringAttributeValue', # OPTIONAL
45 }, # OPTIONAL
46 }, # OPTIONAL
47 AttributeKey => {
48 FacetName => 'MyFacetName', # min: 1, max: 64
49 Name => 'MyAttributeName', # min: 1, max: 230
50 SchemaArn => 'MyArn',
51  
52 }, # OPTIONAL
53 },
54 ...
55 ],
56 DirectoryArn => 'MyArn',
57 TypedLinkSpecifier => {
58 IdentityAttributeValues => [
59 {
60 AttributeName => 'MyAttributeName', # min: 1, max: 230
61 Value => {
62 BinaryValue => 'BlobBinaryAttributeValue', # OPTIONAL
63 BooleanValue => 1, # OPTIONAL
64 DatetimeValue => '1970-01-01T01:00:00', # OPTIONAL
65 NumberValue => 'MyNumberAttributeValue', # OPTIONAL
66 StringValue => 'MyStringAttributeValue', # OPTIONAL
67 }, # OPTIONAL
68  
69 },
70 ...
71 ],
72 SourceObjectReference => {
73 Selector => 'MySelectorObjectReference', # OPTIONAL
74 },
75 TargetObjectReference => {
76 Selector => 'MySelectorObjectReference', # OPTIONAL
77 },
78 TypedLinkFacet => {
79 SchemaArn => 'MyArn',
80 TypedLinkName => 'MyTypedLinkName',
81  
82 },
83  
84 },
85  
86 );
87  
88 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.
89 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/clouddirectory/UpdateLinkAttributes>
90  
91 =head1 ATTRIBUTES
92  
93  
94 =head2 B<REQUIRED> AttributeUpdates => ArrayRef[L<Paws::CloudDirectory::LinkAttributeUpdate>]
95  
96 The attributes update structure.
97  
98  
99  
100 =head2 B<REQUIRED> DirectoryArn => Str
101  
102 The Amazon Resource Name (ARN) that is associated with the Directory
103 where the updated typed link resides. For more information, see arns or
104 Typed Links
105 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
106  
107  
108  
109 =head2 B<REQUIRED> TypedLinkSpecifier => L<Paws::CloudDirectory::TypedLinkSpecifier>
110  
111 Allows a typed link specifier to be accepted as input.
112  
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, documenting arguments for method UpdateLinkAttributes in L<Paws::CloudDirectory>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127