rePostPrivate / Client / create_space
create_space¶
- rePostPrivate.Client.create_space(**kwargs)¶
Creates an AWS re:Post Private private re:Post.
See also: AWS API Documentation
Request Syntax
response = client.create_space( name='string', subdomain='string', tier='BASIC'|'STANDARD', description='string', userKMSKey='string', tags={ 'string': 'string' }, roleArn='string', supportedEmailDomains={ 'enabled': 'ENABLED'|'DISABLED', 'allowedDomains': [ 'string', ] } )
- Parameters:
name (string) –
[REQUIRED]
The name for the private re:Post. This must be unique in your account.
subdomain (string) –
[REQUIRED]
The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.
tier (string) –
[REQUIRED]
The pricing tier for the private re:Post.
description (string) – A description for the private re:Post. This is used only to help you identify this private re:Post.
userKMSKey (string) – The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don’t provide a key, your data is encrypted by default with a key that AWS owns and manages for you.
tags (dict) –
The list of tags associated with the private re:Post.
(string) –
(string) –
roleArn (string) – The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
supportedEmailDomains (dict) –
enabled (string) –
allowedDomains (list) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'spaceId': 'string' }
Response Structure
(dict) –
spaceId (string) –
The unique ID of the private re:Post.
Exceptions