Skip to content

List Mail Domains

workmail_list_mail_domains R Documentation

Lists the mail domains in a given WorkMail organization

Description

Lists the mail domains in a given WorkMail organization.

Usage

workmail_list_mail_domains(OrganizationId, MaxResults, NextToken)

Arguments

OrganizationId

[required] The WorkMail organization for which to list domains.

MaxResults

The maximum number of results to return in a single call.

NextToken

The token to use to retrieve the next page of results. The first call does not require a token.

Value

A list with the following syntax:

list(
  MailDomains = list(
    list(
      DomainName = "string",
      DefaultDomain = TRUE|FALSE
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_mail_domains(
  OrganizationId = "string",
  MaxResults = 123,
  NextToken = "string"
)