![]() |
![]()
| ![]() |
![]()
NAMEPaws::DS::ShareDirectory - Arguments for method ShareDirectory on Paws::DS DESCRIPTIONThis class represents the parameters used for calling the method ShareDirectory on the AWS Directory Service service. Use the attributes of this class as arguments to method ShareDirectory. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ShareDirectory. SYNOPSISmy $ds = Paws->service('DS'); my $ShareDirectoryResult = $ds->ShareDirectory( DirectoryId => 'MyDirectoryId', ShareMethod => 'ORGANIZATIONS', ShareTarget => { Id => 'MyTargetId', # min: 1, max: 64 Type => 'ACCOUNT', # values: ACCOUNT }, ShareNotes => 'MyNotes', # OPTIONAL ); # Results: my $SharedDirectoryId = $ShareDirectoryResult->SharedDirectoryId; # Returns a L<Paws::DS::ShareDirectoryResult> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ds/ShareDirectory> ATTRIBUTESREQUIRED DirectoryId => StrIdentifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts. REQUIRED ShareMethod => StrThe method used when sharing a directory to determine whether the directory should be shared within your AWS organization ("ORGANIZATIONS") or with any AWS account by sending a directory sharing request ("HANDSHAKE"). Valid values are: "ORGANIZATIONS", "HANDSHAKE" ShareNotes => StrA directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation. REQUIRED ShareTarget => Paws::DS::ShareTargetIdentifier for the directory consumer account with whom the directory is to be shared. SEE ALSOThis class forms part of Paws, documenting arguments for method ShareDirectory in Paws::DS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|