WorkMail / Client / create_resource
create_resource#
- WorkMail.Client.create_resource(**kwargs)#
Creates a new WorkMail resource.
See also: AWS API Documentation
Request Syntax
response = client.create_resource( OrganizationId='string', Name='string', Type='ROOM'|'EQUIPMENT', Description='string', HiddenFromGlobalAddressList=True|False )
- Parameters:
OrganizationId (string) –
[REQUIRED]
The identifier associated with the organization for which the resource is created.
Name (string) –
[REQUIRED]
The name of the new resource.
Type (string) –
[REQUIRED]
The type of the new resource. The available types are
equipment
androom
.Description (string) – Resource description.
HiddenFromGlobalAddressList (boolean) – If this parameter is enabled, the resource will be hidden from the address book.
- Return type:
dict
- Returns:
Response Syntax
{ 'ResourceId': 'string' }
Response Structure
(dict) –
ResourceId (string) –
The identifier of the new resource.
Exceptions