NAME

Paws::DS::ShareDirectory - Arguments for method ShareDirectory on Paws::DS

DESCRIPTION

This 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.

SYNOPSIS

my $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

ATTRIBUTES

REQUIRED DirectoryId => Str

Identifier of the AWS Managed Microsoft AD directory that you want to share with other AWS accounts.

REQUIRED ShareMethod => Str

The 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 => Str

A 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::ShareTarget

Identifier for the directory consumer account with whom the directory is to be shared.

SEE ALSO

This class forms part of Paws, documenting arguments for method ShareDirectory in Paws::DS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues