File Coverage

blib/lib/Paws/CloudDirectory/AttachTypedLink.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CloudDirectory::AttachTypedLink;
3 1     1   585 use Moose;
  1         4  
  1         10  
4             has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::CloudDirectory::AttributeNameAndValue]', required => 1);
5             has DirectoryArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1);
6             has SourceObjectReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1);
7             has TargetObjectReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1);
8             has TypedLinkFacet => (is => 'ro', isa => 'Paws::CloudDirectory::TypedLinkSchemaAndFacetName', required => 1);
9              
10 1     1   6684 use MooseX::ClassAttribute;
  1         3  
  1         11  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'AttachTypedLink');
13             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/typedlink/attach');
14             class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::AttachTypedLinkResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::CloudDirectory::AttachTypedLink - Arguments for method AttachTypedLink on Paws::CloudDirectory
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method AttachTypedLink on the
28             Amazon CloudDirectory service. Use the attributes of this class
29             as arguments to method AttachTypedLink.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AttachTypedLink.
32              
33             As an example:
34              
35             $service_obj->AttachTypedLink(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> Attributes => ArrayRef[L<Paws::CloudDirectory::AttributeNameAndValue>]
43              
44             A set of attributes that are associated with the typed link.
45              
46              
47              
48             =head2 B<REQUIRED> DirectoryArn => Str
49              
50             The Amazon Resource Name (ARN) of the directory where you want to
51             attach the typed link.
52              
53              
54              
55             =head2 B<REQUIRED> SourceObjectReference => L<Paws::CloudDirectory::ObjectReference>
56              
57             Identifies the source object that the typed link will attach to.
58              
59              
60              
61             =head2 B<REQUIRED> TargetObjectReference => L<Paws::CloudDirectory::ObjectReference>
62              
63             Identifies the target object that the typed link will attach to.
64              
65              
66              
67             =head2 B<REQUIRED> TypedLinkFacet => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>
68              
69             Identifies the typed link facet that is associated with the typed link.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method AttachTypedLink in L<Paws::CloudDirectory>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85