create_space
¶
create_space(
name: SpaceName,
subdomain: SpaceSubdomain,
tier: TierLevel,
*,
config_overrides: Optional[repostspaceClientConfig] = None,
description: Optional[SpaceDescription] = None,
user_kms_key: Optional[KMSKey] = None,
tags: Optional[Tags] = None,
role_arn: Optional[Arn] = None,
supported_email_domains: Optional[SupportedEmailDomainsParameters] = None,
) -> CreateSpaceOutput
Creates an AWS re:Post Private private re:Post.
Parameters:
-
name(SpaceName) –The name for the private re:Post. This must be unique in your account.
-
subdomain(SpaceSubdomain) –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(TierLevel) –The pricing tier for the private re:Post.
-
description(Optional[SpaceDescription], default:None) –A description for the private re:Post. This is used only to help you identify this private re:Post.
-
user_kms_key(Optional[KMSKey], default:None) –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(Optional[Tags], default:None) –The list of tags associated with the private re:Post.
-
role_arn(Optional[Arn], default:None) –The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
-
supported_email_domains(Optional[SupportedEmailDomainsParameters], default:None) –
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_repostspace/_services/repostspace.py
520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 | |