File Coverage

blib/lib/Paws/DS/CreateTrust.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::DS::CreateTrust;
3 1     1   487 use Moose;
  1         2  
  1         6  
4             has ConditionalForwarderIpAddrs => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has DirectoryId => (is => 'ro', isa => 'Str', required => 1);
6             has RemoteDomainName => (is => 'ro', isa => 'Str', required => 1);
7             has TrustDirection => (is => 'ro', isa => 'Str', required => 1);
8             has TrustPassword => (is => 'ro', isa => 'Str', required => 1);
9             has TrustType => (is => 'ro', isa => 'Str');
10              
11 1     1   6100 use MooseX::ClassAttribute;
  1         3  
  1         7  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateTrust');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DS::CreateTrustResult');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::DS::CreateTrust - Arguments for method CreateTrust on Paws::DS
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method CreateTrust on the
27             AWS Directory Service service. Use the attributes of this class
28             as arguments to method CreateTrust.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTrust.
31              
32             As an example:
33              
34             $service_obj->CreateTrust(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 ConditionalForwarderIpAddrs => ArrayRef[Str|Undef]
42              
43             The IP addresses of the remote DNS server associated with
44             RemoteDomainName.
45              
46              
47              
48             =head2 B<REQUIRED> DirectoryId => Str
49              
50             The Directory ID of the Microsoft AD in the AWS cloud for which to
51             establish the trust relationship.
52              
53              
54              
55             =head2 B<REQUIRED> RemoteDomainName => Str
56              
57             The Fully Qualified Domain Name (FQDN) of the external domain for which
58             to create the trust relationship.
59              
60              
61              
62             =head2 B<REQUIRED> TrustDirection => Str
63              
64             The direction of the trust relationship.
65              
66             Valid values are: C<"One-Way: Outgoing">, C<"One-Way: Incoming">, C<"Two-Way">
67              
68             =head2 B<REQUIRED> TrustPassword => Str
69              
70             The trust password. The must be the same password that was used when
71             creating the trust relationship on the external domain.
72              
73              
74              
75             =head2 TrustType => Str
76              
77             The trust relationship type.
78              
79             Valid values are: C<"Forest">
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, documenting arguments for method CreateTrust in L<Paws::DS>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93