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( description='string', name='string', roleArn='string', subdomain='string', tags={ 'string': 'string' }, tier='BASIC'|'STANDARD', userKMSKey='string' )
- Parameters:
description (string) – A description for the private re:Post. This is used only to help you identify this private re:Post.
name (string) –
[REQUIRED]
The name for the private re:Post. This must be unique in your account.
roleArn (string) – The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
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.
tags (dict) –
The list of tags associated with the private re:Post.
(string) –
(string) –
tier (string) –
[REQUIRED]
The pricing tier for the 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'spaceId': 'string' }
Response Structure
(dict) –
spaceId (string) –
The unique ID of the private re:Post.
Exceptions
rePostPrivate.Client.exceptions.ServiceQuotaExceededException
rePostPrivate.Client.exceptions.AccessDeniedException
rePostPrivate.Client.exceptions.ConflictException
rePostPrivate.Client.exceptions.ValidationException
rePostPrivate.Client.exceptions.ResourceNotFoundException
rePostPrivate.Client.exceptions.ThrottlingException
rePostPrivate.Client.exceptions.InternalServerException