| 1 | |||
| 2 | package Paws::DS::ConnectDirectory; | ||
| 3 | use Moose; | ||
| 4 | has ConnectSettings => (is => 'ro', isa => 'Paws::DS::DirectoryConnectSettings', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Password => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has ShortName => (is => 'ro', isa => 'Str'); | ||
| 9 | has Size => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DS::Tag]'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ConnectDirectory'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DS::ConnectDirectoryResult'); | ||
| 16 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::DS::ConnectDirectory - Arguments for method ConnectDirectory on L<Paws::DS> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method ConnectDirectory on the | ||
| 28 | L<AWS Directory Service|Paws::DS> service. Use the attributes of this class | ||
| 29 | as arguments to method ConnectDirectory. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ConnectDirectory. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $ds = Paws->service('DS'); | ||
| 36 | my $ConnectDirectoryResult = $ds->ConnectDirectory( | ||
| 37 | ConnectSettings => { | ||
| 38 | CustomerDnsIps => [ 'MyIpAddr', ... ], | ||
| 39 | CustomerUserName => 'MyUserName', # min: 1 | ||
| 40 | SubnetIds => [ 'MySubnetId', ... ], | ||
| 41 | VpcId => 'MyVpcId', | ||
| 42 | |||
| 43 | }, | ||
| 44 | Name => 'MyDirectoryName', | ||
| 45 | Password => 'MyConnectPassword', | ||
| 46 | Size => 'Small', | ||
| 47 | Description => 'MyDescription', # OPTIONAL | ||
| 48 | ShortName => 'MyDirectoryShortName', # OPTIONAL | ||
| 49 | Tags => [ | ||
| 50 | { | ||
| 51 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 52 | Value => 'MyTagValue', # max: 256 | ||
| 53 | |||
| 54 | }, | ||
| 55 | ... | ||
| 56 | ], # OPTIONAL | ||
| 57 | ); | ||
| 58 | |||
| 59 | # Results: | ||
| 60 | my $DirectoryId = $ConnectDirectoryResult->DirectoryId; | ||
| 61 | |||
| 62 | # Returns a L<Paws::DS::ConnectDirectoryResult> object. | ||
| 63 | |||
| 64 | 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. | ||
| 65 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ds/ConnectDirectory> | ||
| 66 | |||
| 67 | =head1 ATTRIBUTES | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> ConnectSettings => L<Paws::DS::DirectoryConnectSettings> | ||
| 71 | |||
| 72 | A DirectoryConnectSettings object that contains additional information | ||
| 73 | for the operation. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 Description => Str | ||
| 78 | |||
| 79 | A description for the directory. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> Name => Str | ||
| 84 | |||
| 85 | The fully qualified name of the on-premises directory, such as | ||
| 86 | C<corp.example.com>. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> Password => Str | ||
| 91 | |||
| 92 | The password for the on-premises user account. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head2 ShortName => Str | ||
| 97 | |||
| 98 | The NetBIOS name of the on-premises directory, such as C<CORP>. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 B<REQUIRED> Size => Str | ||
| 103 | |||
| 104 | The size of the directory. | ||
| 105 | |||
| 106 | Valid values are: C<"Small">, C<"Large"> | ||
| 107 | |||
| 108 | =head2 Tags => ArrayRef[L<Paws::DS::Tag>] | ||
| 109 | |||
| 110 | The tags to be assigned to AD Connector. | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head1 SEE ALSO | ||
| 116 | |||
| 117 | This class forms part of L<Paws>, documenting arguments for method ConnectDirectory in L<Paws::DS> | ||
| 118 | |||
| 119 | =head1 BUGS and CONTRIBUTIONS | ||
| 120 | |||
| 121 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 122 | |||
| 123 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 124 | |||
| 125 | =cut | ||
| 126 |