Skip to content

/AWS1/CL_WML=>CREATEORGANIZATION()

About CreateOrganization

Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide.

You can associate multiple email domains with an organization, then choose your default email domain from the WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the WorkMail Administrator Guide.

Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.

Method Signature

IMPORTING

Required arguments:

IV_ALIAS TYPE /AWS1/WMLORGANIZATIONNAME /AWS1/WMLORGANIZATIONNAME

The organization alias.

Optional arguments:

IV_DIRECTORYID TYPE /AWS1/WMLDIRECTORYID /AWS1/WMLDIRECTORYID

The AWS Directory Service directory ID.

IV_CLIENTTOKEN TYPE /AWS1/WMLIDEMPOTENCYCLITOKEN /AWS1/WMLIDEMPOTENCYCLITOKEN

The idempotency token associated with the request.

IT_DOMAINS TYPE /AWS1/CL_WMLDOMAIN=>TT_DOMAINS TT_DOMAINS

The email domains to associate with the organization.

IV_KMSKEYARN TYPE /AWS1/WMLKMSKEYARN /AWS1/WMLKMSKEYARN

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

IV_ENABLEINTEROPERABILITY TYPE /AWS1/WMLBOOLEAN /AWS1/WMLBOOLEAN

When true, allows organization interoperability between WorkMail and Microsoft Exchange. If true, you must include a AD Connector directory ID in the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLCREATEORGRESPONSE /AWS1/CL_WMLCREATEORGRESPONSE