create_portal
¶
create_portal(
*,
config_overrides: Optional[WorkSpacesWebClientConfig] = None,
display_name: Optional[DisplayName] = None,
tags: Optional[TagList] = None,
customer_managed_key: Optional[keyArn] = None,
additional_encryption_context: Optional[EncryptionContextMap] = None,
client_token: Optional[ClientToken] = None,
authentication_type: Optional[AuthenticationType] = None,
instance_type: Optional[InstanceType] = None,
max_concurrent_sessions: Optional[MaxConcurrentSessions] = None,
portal_custom_domain: Optional[PortalCustomDomain] = None,
) -> CreatePortalResponse
Creates a web portal.
Parameters:
-
display_name(Optional[DisplayName], default:None) –The name of the web portal. This is not visible to users who log into the web portal.
-
tags(Optional[TagList], default:None) –The tags to add to the web portal. A tag is a key-value pair.
-
customer_managed_key(Optional[keyArn], default:None) –The customer managed key of the web portal.
-
additional_encryption_context(Optional[EncryptionContextMap], default:None) –The additional encryption context of the portal.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
-
authentication_type(Optional[AuthenticationType], default:None) –The type of authentication integration points used when signing into the web portal. Defaults to
Standard.Standardweb portals are authenticated directly through your identity provider. You need to callCreateIdentityProviderto integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.IAM Identity Centerweb portals are authenticated through IAM Identity Center. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center. -
instance_type(Optional[InstanceType], default:None) –The type and resources of the underlying instance.
-
max_concurrent_sessions(Optional[MaxConcurrentSessions], default:None) –The maximum number of concurrent sessions for the portal.
-
portal_custom_domain(Optional[PortalCustomDomain], default:None) –The custom domain of the web portal that users access in order to start streaming sessions.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictException–There is a conflict.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_web/_services/work_spaces_web.py
2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 | |