2026/02/04 - Amazon WorkSpaces Web - 4 updated api methods
Changes Support for configuring and managing custom domain names for WorkSpaces Secure Browser portals.
{'portalCustomDomain': 'string'}
Creates a web portal.
See also: AWS API Documentation
Request Syntax
client.create_portal(
displayName='string',
tags=[
{
'Key': 'string',
'Value': 'string'
},
],
customerManagedKey='string',
additionalEncryptionContext={
'string': 'string'
},
clientToken='string',
authenticationType='Standard'|'IAM_Identity_Center',
instanceType='standard.regular'|'standard.large'|'standard.xlarge',
maxConcurrentSessions=123,
portalCustomDomain='string'
)
string
The name of the web portal. This is not visible to users who log into the web portal.
list
The tags to add to the web portal. A tag is a key-value pair.
(dict) --
The tag.
Key (string) -- [REQUIRED]
The key of the tag.
Value (string) -- [REQUIRED]
The value of the tag
string
The customer managed key of the web portal.
dict
The additional encryption context of the portal.
(string) --
(string) --
string
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.
This field is autopopulated if not provided.
string
The type of authentication integration points used when signing into the web portal. Defaults to Standard.
Standard web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center web 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.
string
The type and resources of the underlying instance.
integer
The maximum number of concurrent sessions for the portal.
string
The custom domain of the web portal that users access in order to start streaming sessions.
dict
Response Syntax
{
'portalArn': 'string',
'portalEndpoint': 'string'
}
Response Structure
(dict) --
portalArn (string) --
The ARN of the web portal.
portalEndpoint (string) --
The endpoint URL of the web portal that users access in order to start streaming sessions.
{'portal': {'portalCustomDomain': 'string'}}
Gets the web portal.
See also: AWS API Documentation
Request Syntax
client.get_portal(
portalArn='string'
)
string
[REQUIRED]
The ARN of the web portal.
dict
Response Syntax
{
'portal': {
'portalArn': 'string',
'rendererType': 'AppStream',
'browserType': 'Chrome',
'portalStatus': 'Incomplete'|'Pending'|'Active',
'portalEndpoint': 'string',
'displayName': 'string',
'creationDate': datetime(2015, 1, 1),
'browserSettingsArn': 'string',
'dataProtectionSettingsArn': 'string',
'userSettingsArn': 'string',
'networkSettingsArn': 'string',
'sessionLoggerArn': 'string',
'trustStoreArn': 'string',
'statusReason': 'string',
'userAccessLoggingSettingsArn': 'string',
'authenticationType': 'Standard'|'IAM_Identity_Center',
'ipAccessSettingsArn': 'string',
'customerManagedKey': 'string',
'additionalEncryptionContext': {
'string': 'string'
},
'instanceType': 'standard.regular'|'standard.large'|'standard.xlarge',
'maxConcurrentSessions': 123,
'portalCustomDomain': 'string'
}
}
Response Structure
(dict) --
portal (dict) --
The web portal.
portalArn (string) --
The ARN of the web portal.
rendererType (string) --
The renderer that is used in streaming sessions.
browserType (string) --
The browser that users see when using a streaming session.
portalStatus (string) --
The status of the web portal.
portalEndpoint (string) --
The endpoint URL of the web portal that users access in order to start streaming sessions.
displayName (string) --
The name of the web portal.
creationDate (datetime) --
The creation date of the web portal.
browserSettingsArn (string) --
The ARN of the browser settings that is associated with this web portal.
dataProtectionSettingsArn (string) --
The ARN of the data protection settings.
userSettingsArn (string) --
The ARN of the user settings that is associated with the web portal.
networkSettingsArn (string) --
The ARN of the network settings that is associated with the web portal.
sessionLoggerArn (string) --
The ARN of the session logger that is assocaited with the portal.
trustStoreArn (string) --
The ARN of the trust store that is associated with the web portal.
statusReason (string) --
A message that explains why the web portal is in its current status.
userAccessLoggingSettingsArn (string) --
The ARN of the user access logging settings that is associated with the web portal.
authenticationType (string) --
The type of authentication integration points used when signing into the web portal. Defaults to Standard.
Standard web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center web 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.
ipAccessSettingsArn (string) --
The ARN of the IP access settings.
customerManagedKey (string) --
The customer managed key used to encrypt sensitive information in the portal.
additionalEncryptionContext (dict) --
The additional encryption context of the portal.
(string) --
(string) --
instanceType (string) --
The type and resources of the underlying instance.
maxConcurrentSessions (integer) --
The maximum number of concurrent sessions for the portal.
portalCustomDomain (string) --
The custom domain of the web portal that users access in order to start streaming sessions.
{'portals': {'portalCustomDomain': 'string'}}
Retrieves a list or web portals.
See also: AWS API Documentation
Request Syntax
client.list_portals(
nextToken='string',
maxResults=123
)
string
The pagination token used to retrieve the next page of results for this operation.
integer
The maximum number of results to be included in the next page.
dict
Response Syntax
{
'portals': [
{
'portalArn': 'string',
'rendererType': 'AppStream',
'browserType': 'Chrome',
'portalStatus': 'Incomplete'|'Pending'|'Active',
'portalEndpoint': 'string',
'displayName': 'string',
'creationDate': datetime(2015, 1, 1),
'browserSettingsArn': 'string',
'dataProtectionSettingsArn': 'string',
'userSettingsArn': 'string',
'networkSettingsArn': 'string',
'sessionLoggerArn': 'string',
'trustStoreArn': 'string',
'userAccessLoggingSettingsArn': 'string',
'authenticationType': 'Standard'|'IAM_Identity_Center',
'ipAccessSettingsArn': 'string',
'instanceType': 'standard.regular'|'standard.large'|'standard.xlarge',
'maxConcurrentSessions': 123,
'portalCustomDomain': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
portals (list) --
The portals in the list.
(dict) --
The summary of the portal.
portalArn (string) --
The ARN of the web portal.
rendererType (string) --
The renderer that is used in streaming sessions.
browserType (string) --
The browser type of the web portal.
portalStatus (string) --
The status of the web portal.
portalEndpoint (string) --
The endpoint URL of the web portal that users access in order to start streaming sessions.
displayName (string) --
The name of the web portal.
creationDate (datetime) --
The creation date of the web portal.
browserSettingsArn (string) --
The ARN of the browser settings that is associated with the web portal.
dataProtectionSettingsArn (string) --
The ARN of the data protection settings.
userSettingsArn (string) --
The ARN of the user settings that is associated with the web portal.
networkSettingsArn (string) --
The ARN of the network settings that is associated with the web portal.
sessionLoggerArn (string) --
The ARN of the session logger that is assocaited with the portal.
trustStoreArn (string) --
The ARN of the trust that is associated with this web portal.
userAccessLoggingSettingsArn (string) --
The ARN of the user access logging settings that is associated with the web portal.
authenticationType (string) --
The type of authentication integration points used when signing into the web portal. Defaults to Standard.
Standard web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center web 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.
ipAccessSettingsArn (string) --
The ARN of the IP access settings.
instanceType (string) --
The type and resources of the underlying instance.
maxConcurrentSessions (integer) --
The maximum number of concurrent sessions for the portal.
portalCustomDomain (string) --
The custom domain of the web portal that users access in order to start streaming sessions.
nextToken (string) --
The pagination token used to retrieve the next page of results for this operation.
{'portalCustomDomain': 'string'}
Response {'portal': {'portalCustomDomain': 'string'}}
Updates a web portal.
See also: AWS API Documentation
Request Syntax
client.update_portal(
portalArn='string',
displayName='string',
authenticationType='Standard'|'IAM_Identity_Center',
instanceType='standard.regular'|'standard.large'|'standard.xlarge',
maxConcurrentSessions=123,
portalCustomDomain='string'
)
string
[REQUIRED]
The ARN of the web portal.
string
The name of the web portal. This is not visible to users who log into the web portal.
string
The type of authentication integration points used when signing into the web portal. Defaults to Standard.
Standard web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center web 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.
string
The type and resources of the underlying instance.
integer
The maximum number of concurrent sessions for the portal.
string
The custom domain of the web portal that users access in order to start streaming sessions.
dict
Response Syntax
{
'portal': {
'portalArn': 'string',
'rendererType': 'AppStream',
'browserType': 'Chrome',
'portalStatus': 'Incomplete'|'Pending'|'Active',
'portalEndpoint': 'string',
'displayName': 'string',
'creationDate': datetime(2015, 1, 1),
'browserSettingsArn': 'string',
'dataProtectionSettingsArn': 'string',
'userSettingsArn': 'string',
'networkSettingsArn': 'string',
'sessionLoggerArn': 'string',
'trustStoreArn': 'string',
'statusReason': 'string',
'userAccessLoggingSettingsArn': 'string',
'authenticationType': 'Standard'|'IAM_Identity_Center',
'ipAccessSettingsArn': 'string',
'customerManagedKey': 'string',
'additionalEncryptionContext': {
'string': 'string'
},
'instanceType': 'standard.regular'|'standard.large'|'standard.xlarge',
'maxConcurrentSessions': 123,
'portalCustomDomain': 'string'
}
}
Response Structure
(dict) --
portal (dict) --
The web portal.
portalArn (string) --
The ARN of the web portal.
rendererType (string) --
The renderer that is used in streaming sessions.
browserType (string) --
The browser that users see when using a streaming session.
portalStatus (string) --
The status of the web portal.
portalEndpoint (string) --
The endpoint URL of the web portal that users access in order to start streaming sessions.
displayName (string) --
The name of the web portal.
creationDate (datetime) --
The creation date of the web portal.
browserSettingsArn (string) --
The ARN of the browser settings that is associated with this web portal.
dataProtectionSettingsArn (string) --
The ARN of the data protection settings.
userSettingsArn (string) --
The ARN of the user settings that is associated with the web portal.
networkSettingsArn (string) --
The ARN of the network settings that is associated with the web portal.
sessionLoggerArn (string) --
The ARN of the session logger that is assocaited with the portal.
trustStoreArn (string) --
The ARN of the trust store that is associated with the web portal.
statusReason (string) --
A message that explains why the web portal is in its current status.
userAccessLoggingSettingsArn (string) --
The ARN of the user access logging settings that is associated with the web portal.
authenticationType (string) --
The type of authentication integration points used when signing into the web portal. Defaults to Standard.
Standard web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center web 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.
ipAccessSettingsArn (string) --
The ARN of the IP access settings.
customerManagedKey (string) --
The customer managed key used to encrypt sensitive information in the portal.
additionalEncryptionContext (dict) --
The additional encryption context of the portal.
(string) --
(string) --
instanceType (string) --
The type and resources of the underlying instance.
maxConcurrentSessions (integer) --
The maximum number of concurrent sessions for the portal.
portalCustomDomain (string) --
The custom domain of the web portal that users access in order to start streaming sessions.