NAME

Paws::WorkMail::CreateOrganization - Arguments for method CreateOrganization on Paws::WorkMail

DESCRIPTION

This class represents the parameters used for calling the method CreateOrganization on the Amazon WorkMail service. Use the attributes of this class as arguments to method CreateOrganization.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateOrganization.

SYNOPSIS

my $workmail = Paws->service('WorkMail');
my $CreateOrganizationResponse = $workmail->CreateOrganization(
  Alias       => 'MyOrganizationName',
  ClientToken => 'MyIdempotencyClientToken',    # OPTIONAL
  DirectoryId => 'MyDirectoryId',               # OPTIONAL
  Domains     => [
    {
      DomainName   => 'MyDomainName',      # min: 3, max: 255; OPTIONAL
      HostedZoneId => 'MyHostedZoneId',    # min: 1, max: 32; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  EnableInteroperability => 1,                # OPTIONAL
  KmsKeyArn              => 'MyKmsKeyArn',    # OPTIONAL
);

# Results:
my $OrganizationId = $CreateOrganizationResponse->OrganizationId;

# Returns a L<Paws::WorkMail::CreateOrganizationResponse> 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/workmail/CreateOrganization

ATTRIBUTES

REQUIRED Alias => Str

The organization alias.

ClientToken => Str

The idempotency token associated with the request.

DirectoryId => Str

The AWS Directory Service directory ID.

Domains => ArrayRef[Paws::WorkMail::Domain]

The email domains to associate with the organization.

EnableInteroperability => Bool

When true, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true if an AD Connector directory ID is included in the request.

KmsKeyArn => Str

The Amazon Resource Name (ARN) of a customer managed master key from AWS KMS.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateOrganization in Paws::WorkMail

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