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

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