Amazon WorkSpaces Web

2021/11/30 - Amazon WorkSpaces Web - 44 new api methods

Changes  This is the initial SDK release for Amazon WorkSpaces Web. Amazon WorkSpaces Web is a low-cost, fully managed WorkSpace built to deliver secure web-based workloads and software-as-a-service (SaaS) application access to users within existing web browsers.

UpdateUserSettings (new) Link ¶

Updates the user settings.

See also: AWS API Documentation

Request Syntax

client.update_user_settings(
    clientToken='string',
    copyAllowed='Disabled'|'Enabled',
    downloadAllowed='Disabled'|'Enabled',
    pasteAllowed='Disabled'|'Enabled',
    printAllowed='Disabled'|'Enabled',
    uploadAllowed='Disabled'|'Enabled',
    userSettingsArn='string'
)
type clientToken

string

param clientToken

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 return the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

This field is autopopulated if not provided.

type copyAllowed

string

param copyAllowed

Specifies whether the user can copy text from the streaming session to the local device.

type downloadAllowed

string

param downloadAllowed

Specifies whether the user can download files from the streaming session to the local device.

type pasteAllowed

string

param pasteAllowed

Specifies whether the user can paste text from the local device to the streaming session.

type printAllowed

string

param printAllowed

Specifies whether the user can print to the local device.

type uploadAllowed

string

param uploadAllowed

Specifies whether the user can upload files from the local device to the streaming session.

type userSettingsArn

string

param userSettingsArn

[REQUIRED]

The ARN of the user settings.

rtype

dict

returns

Response Syntax

{
    'userSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'copyAllowed': 'Disabled'|'Enabled',
        'downloadAllowed': 'Disabled'|'Enabled',
        'pasteAllowed': 'Disabled'|'Enabled',
        'printAllowed': 'Disabled'|'Enabled',
        'uploadAllowed': 'Disabled'|'Enabled',
        'userSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • userSettings (dict) --

      The user settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this user settings is associated with.

        • (string) --

      • copyAllowed (string) --

        Specifies whether the user can copy text from the streaming session to the local device.

      • downloadAllowed (string) --

        Specifies whether the user can download files from the streaming session to the local device.

      • pasteAllowed (string) --

        Specifies whether the user can paste text from the local device to the streaming session.

      • printAllowed (string) --

        Specifies whether the user can print to the local device.

      • uploadAllowed (string) --

        Specifies whether the user can upload files from the local device to the streaming session.

      • userSettingsArn (string) --

        The ARN of the user settings.

UpdatePortal (new) Link ¶

Updates a web portal.

See also: AWS API Documentation

Request Syntax

client.update_portal(
    displayName='string',
    portalArn='string'
)
type displayName

string

param displayName

The name of the web portal. This is not visible to users who log into the web portal.

type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'portal': {
        'browserSettingsArn': 'string',
        'browserType': 'Chrome',
        'creationDate': datetime(2015, 1, 1),
        'displayName': 'string',
        'networkSettingsArn': 'string',
        'portalArn': 'string',
        'portalEndpoint': 'string',
        'portalStatus': 'Incomplete'|'Pending'|'Active',
        'rendererType': 'AppStream',
        'statusReason': 'string',
        'trustStoreArn': 'string',
        'userSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • portal (dict) --

      The web portal.

      • browserSettingsArn (string) --

        The ARN of the browser settings that is associated with this web portal.

      • browserType (string) --

        The browser that users see when using a streaming session.

      • creationDate (datetime) --

        The creation date of the web portal.

      • displayName (string) --

        The name of the web portal.

      • networkSettingsArn (string) --

        The ARN of the network settings that is associated with the web portal.

      • 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.

      • portalStatus (string) --

        The status of the web portal.

      • rendererType (string) --

        The renderer that is used in streaming sessions.

      • statusReason (string) --

        A message that explains why the web portal is in its current status.

      • trustStoreArn (string) --

        The ARN of the trust store that is associated with the web portal.

      • userSettingsArn (string) --

        The ARN of the trust store that is associated with the web portal.

UpdateIdentityProvider (new) Link ¶

Updates the identity provider.

See also: AWS API Documentation

Request Syntax

client.update_identity_provider(
    clientToken='string',
    identityProviderArn='string',
    identityProviderDetails={
        'string': 'string'
    },
    identityProviderName='string',
    identityProviderType='SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC'
)
type clientToken

string

param clientToken

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 return the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

This field is autopopulated if not provided.

type identityProviderArn

string

param identityProviderArn

[REQUIRED]

The ARN of the identity provider.

type identityProviderDetails

dict

param identityProviderDetails

The details of the identity provider.

  • (string) --

    • (string) --

type identityProviderName

string

param identityProviderName

The name of the identity provider.

type identityProviderType

string

param identityProviderType

The type of the identity provider.

rtype

dict

returns

Response Syntax

{
    'identityProvider': {
        'identityProviderArn': 'string',
        'identityProviderDetails': {
            'string': 'string'
        },
        'identityProviderName': 'string',
        'identityProviderType': 'SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC'
    }
}

Response Structure

  • (dict) --

    • identityProvider (dict) --

      The identity provider.

      • identityProviderArn (string) --

        The ARN of the identity provider.

      • identityProviderDetails (dict) --

        The identity provider details. The following list describes the provider detail keys for each identity provider type.

        • For Google and Login with Amazon:

          • client_id

          • client_secret

          • authorize_scopes

        • For Facebook:

          • client_id

          • client_secret

          • authorize_scopes

          • api_version

        • For Sign in with Apple:

          • client_id

          • team_id

          • key_id

          • private_key

          • authorize_scopes

        • For OIDC providers:

          • client_id

          • client_secret

          • attributes_request_method

          • oidc_issuer

          • authorize_scopes

          • authorize_url if not available from discovery URL specified by oidc_issuer key

          • token_url if not available from discovery URL specified by oidc_issuer key

          • attributes_url if not available from discovery URL specified by oidc_issuer key

          • jwks_uri if not available from discovery URL specified by oidc_issuer key

        • For SAML providers:

          • MetadataFile OR MetadataURL

          • IDPSignout optional

        • (string) --

          • (string) --

      • identityProviderName (string) --

        The identity provider name.

      • identityProviderType (string) --

        The identity provider type.

UpdateTrustStore (new) Link ¶

Updates the trust store.

See also: AWS API Documentation

Request Syntax

client.update_trust_store(
    certificatesToAdd=[
        b'bytes',
    ],
    certificatesToDelete=[
        'string',
    ],
    clientToken='string',
    trustStoreArn='string'
)
type certificatesToAdd

list

param certificatesToAdd

A list of CA certificates to add to the trust store.

  • (bytes) --

type certificatesToDelete

list

param certificatesToDelete

A list of CA certificates to delete from a trust store.

  • (string) --

type clientToken

string

param clientToken

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 return the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

This field is autopopulated if not provided.

type trustStoreArn

string

param trustStoreArn

[REQUIRED]

The ARN of the trust store.

rtype

dict

returns

Response Syntax

{
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • trustStoreArn (string) --

      The ARN of the trust store.

GetPortalServiceProviderMetadata (new) Link ¶

Gets the service provider metadata.

See also: AWS API Documentation

Request Syntax

client.get_portal_service_provider_metadata(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'portalArn': 'string',
    'serviceProviderSamlMetadata': 'string'
}

Response Structure

  • (dict) --

    • portalArn (string) --

      The ARN of the web portal.

    • serviceProviderSamlMetadata (string) --

      The service provider SAML metadata.

ListTrustStores (new) Link ¶

Retrieves a list of trust stores.

See also: AWS API Documentation

Request Syntax

client.list_trust_stores(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'trustStores': [
        {
            'trustStoreArn': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.

    • trustStores (list) --

      The trust stores.

      • (dict) --

        The summary of the trust store.

        • trustStoreArn (string) --

          The ARN of the trust store.

UpdateNetworkSettings (new) Link ¶

Updates network settings.

See also: AWS API Documentation

Request Syntax

client.update_network_settings(
    clientToken='string',
    networkSettingsArn='string',
    securityGroupIds=[
        'string',
    ],
    subnetIds=[
        'string',
    ],
    vpcId='string'
)
type clientToken

string

param clientToken

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 return the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

This field is autopopulated if not provided.

type networkSettingsArn

string

param networkSettingsArn

[REQUIRED]

The ARN of the network settings.

type securityGroupIds

list

param securityGroupIds

One or more security groups used to control access from streaming instances to your VPC.

  • (string) --

type subnetIds

list

param subnetIds

The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

  • (string) --

type vpcId

string

param vpcId

The VPC that streaming instances will connect to.

rtype

dict

returns

Response Syntax

{
    'networkSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'networkSettingsArn': 'string',
        'securityGroupIds': [
            'string',
        ],
        'subnetIds': [
            'string',
        ],
        'vpcId': 'string'
    }
}

Response Structure

  • (dict) --

    • networkSettings (dict) --

      The network settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this network settings is associated with.

        • (string) --

      • networkSettingsArn (string) --

        The ARN of the network settings.

      • securityGroupIds (list) --

        One or more security groups used to control access from streaming instances to your VPC.

        • (string) --

      • subnetIds (list) --

        The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

        • (string) --

      • vpcId (string) --

        The VPC that streaming instances will connect to.

GetPortal (new) Link ¶

Gets the web portal.

See also: AWS API Documentation

Request Syntax

client.get_portal(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'portal': {
        'browserSettingsArn': 'string',
        'browserType': 'Chrome',
        'creationDate': datetime(2015, 1, 1),
        'displayName': 'string',
        'networkSettingsArn': 'string',
        'portalArn': 'string',
        'portalEndpoint': 'string',
        'portalStatus': 'Incomplete'|'Pending'|'Active',
        'rendererType': 'AppStream',
        'statusReason': 'string',
        'trustStoreArn': 'string',
        'userSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • portal (dict) --

      The web portal.

      • browserSettingsArn (string) --

        The ARN of the browser settings that is associated with this web portal.

      • browserType (string) --

        The browser that users see when using a streaming session.

      • creationDate (datetime) --

        The creation date of the web portal.

      • displayName (string) --

        The name of the web portal.

      • networkSettingsArn (string) --

        The ARN of the network settings that is associated with the web portal.

      • 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.

      • portalStatus (string) --

        The status of the web portal.

      • rendererType (string) --

        The renderer that is used in streaming sessions.

      • statusReason (string) --

        A message that explains why the web portal is in its current status.

      • trustStoreArn (string) --

        The ARN of the trust store that is associated with the web portal.

      • userSettingsArn (string) --

        The ARN of the trust store that is associated with the web portal.

DeleteTrustStore (new) Link ¶

Deletes the trust store.

See also: AWS API Documentation

Request Syntax

client.delete_trust_store(
    trustStoreArn='string'
)
type trustStoreArn

string

param trustStoreArn

[REQUIRED]

The ARN of the trust store.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

CreatePortal (new) Link ¶

Creates a web portal.

See also: AWS API Documentation

Request Syntax

client.create_portal(
    additionalEncryptionContext={
        'string': 'string'
    },
    clientToken='string',
    customerManagedKey='string',
    displayName='string',
    tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type additionalEncryptionContext

dict

param additionalEncryptionContext

The additional encryption context of the portal.

  • (string) --

    • (string) --

type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type customerManagedKey

string

param customerManagedKey

The customer managed key of the web portal.

type displayName

string

param displayName

The name of the web portal. This is not visible to users who log into the web portal.

type tags

list

param tags

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

rtype

dict

returns

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.

ListTrustStoreCertificates (new) Link ¶

Retrieves a list of trust store certificates.

See also: AWS API Documentation

Request Syntax

client.list_trust_store_certificates(
    maxResults=123,
    nextToken='string',
    trustStoreArn='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

type trustStoreArn

string

param trustStoreArn

[REQUIRED]

The ARN of the trust store

rtype

dict

returns

Response Syntax

{
    'certificateList': [
        {
            'issuer': 'string',
            'notValidAfter': datetime(2015, 1, 1),
            'notValidBefore': datetime(2015, 1, 1),
            'subject': 'string',
            'thumbprint': 'string'
        },
    ],
    'nextToken': 'string',
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • certificateList (list) --

      The certificate list.

      • (dict) --

        The summary of the certificate.

        • issuer (string) --

          The entity that issued the certificate.

        • notValidAfter (datetime) --

          The certificate is not valid after this date.

        • notValidBefore (datetime) --

          The certificate is not valid before this date.

        • subject (string) --

          The entity the certificate belongs to.

        • thumbprint (string) --

          A hexadecimal identifier for the certificate.

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.>

    • trustStoreArn (string) --

      The ARN of the trust store.

CreateUserSettings (new) Link ¶

Creates a user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.

See also: AWS API Documentation

Request Syntax

client.create_user_settings(
    clientToken='string',
    copyAllowed='Disabled'|'Enabled',
    downloadAllowed='Disabled'|'Enabled',
    pasteAllowed='Disabled'|'Enabled',
    printAllowed='Disabled'|'Enabled',
    tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    uploadAllowed='Disabled'|'Enabled'
)
type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type copyAllowed

string

param copyAllowed

[REQUIRED]

Specifies whether the user can copy text from the streaming session to the local device.

type downloadAllowed

string

param downloadAllowed

[REQUIRED]

Specifies whether the user can download files from the streaming session to the local device.

type pasteAllowed

string

param pasteAllowed

[REQUIRED]

Specifies whether the user can paste text from the local device to the streaming session.

type printAllowed

string

param printAllowed

[REQUIRED]

Specifies whether the user can print to the local device.

type tags

list

param tags

The tags to add to the user settings resource. 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

type uploadAllowed

string

param uploadAllowed

[REQUIRED]

Specifies whether the user can upload files from the local device to the streaming session.

rtype

dict

returns

Response Syntax

{
    'userSettingsArn': 'string'
}

Response Structure

  • (dict) --

    • userSettingsArn (string) --

      The ARN of the user settings.

DeleteIdentityProvider (new) Link ¶

Deletes the identity provider.

See also: AWS API Documentation

Request Syntax

client.delete_identity_provider(
    identityProviderArn='string'
)
type identityProviderArn

string

param identityProviderArn

[REQUIRED]

The ARN of the identity provider.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

UntagResource (new) Link ¶

Removes one or more tags from the specified resource.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
type resourceArn

string

param resourceArn

[REQUIRED]

The ARN of the resource.

type tagKeys

list

param tagKeys

[REQUIRED]

The list of tag keys to remove from the resource.

  • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

CreateBrowserSettings (new) Link ¶

Creates a browser settings resource that can be associated with a web portal. Once associated with a web portal, browser settings control how the browser will behave once a user starts a streaming session for the web portal.

See also: AWS API Documentation

Request Syntax

client.create_browser_settings(
    additionalEncryptionContext={
        'string': 'string'
    },
    browserPolicy='string',
    clientToken='string',
    customerManagedKey='string',
    tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type additionalEncryptionContext

dict

param additionalEncryptionContext

Additional encryption context of the browser settings.

  • (string) --

    • (string) --

type browserPolicy

string

param browserPolicy

[REQUIRED]

A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type customerManagedKey

string

param customerManagedKey

The custom managed key of the browser settings.

type tags

list

param tags

The tags to add to the browser settings resource. 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

rtype

dict

returns

Response Syntax

{
    'browserSettingsArn': 'string'
}

Response Structure

  • (dict) --

    • browserSettingsArn (string) --

      The ARN of the browser settings.

GetUserSettings (new) Link ¶

Gets user settings.

See also: AWS API Documentation

Request Syntax

client.get_user_settings(
    userSettingsArn='string'
)
type userSettingsArn

string

param userSettingsArn

[REQUIRED]

The ARN of the user settings.

rtype

dict

returns

Response Syntax

{
    'userSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'copyAllowed': 'Disabled'|'Enabled',
        'downloadAllowed': 'Disabled'|'Enabled',
        'pasteAllowed': 'Disabled'|'Enabled',
        'printAllowed': 'Disabled'|'Enabled',
        'uploadAllowed': 'Disabled'|'Enabled',
        'userSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • userSettings (dict) --

      The user settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this user settings is associated with.

        • (string) --

      • copyAllowed (string) --

        Specifies whether the user can copy text from the streaming session to the local device.

      • downloadAllowed (string) --

        Specifies whether the user can download files from the streaming session to the local device.

      • pasteAllowed (string) --

        Specifies whether the user can paste text from the local device to the streaming session.

      • printAllowed (string) --

        Specifies whether the user can print to the local device.

      • uploadAllowed (string) --

        Specifies whether the user can upload files from the local device to the streaming session.

      • userSettingsArn (string) --

        The ARN of the user settings.

DisassociateBrowserSettings (new) Link ¶

Disassociates browser settings from a web portal.

See also: AWS API Documentation

Request Syntax

client.disassociate_browser_settings(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

DisassociateNetworkSettings (new) Link ¶

Disassociates network settings from a web portal.

See also: AWS API Documentation

Request Syntax

client.disassociate_network_settings(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

DeleteBrowserSettings (new) Link ¶

Deletes browser settings.

See also: AWS API Documentation

Request Syntax

client.delete_browser_settings(
    browserSettingsArn='string'
)
type browserSettingsArn

string

param browserSettingsArn

[REQUIRED]

The ARN of the browser settings.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListIdentityProviders (new) Link ¶

Retrieves a list of identity providers for a specific web portal.

See also: AWS API Documentation

Request Syntax

client.list_identity_providers(
    maxResults=123,
    nextToken='string',
    portalArn='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'identityProviders': [
        {
            'identityProviderArn': 'string',
            'identityProviderName': 'string',
            'identityProviderType': 'SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • identityProviders (list) --

      The identity providers.

      • (dict) --

        The summary of the identity provider.

        • identityProviderArn (string) --

          The ARN of the identity provider.

        • identityProviderName (string) --

          The identity provider name.

        • identityProviderType (string) --

          The identity provider type.

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.

AssociateBrowserSettings (new) Link ¶

Associates a browser settings resource with a web portal.

See also: AWS API Documentation

Request Syntax

client.associate_browser_settings(
    browserSettingsArn='string',
    portalArn='string'
)
type browserSettingsArn

string

param browserSettingsArn

[REQUIRED]

The ARN of the browser settings.

type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'browserSettingsArn': 'string',
    'portalArn': 'string'
}

Response Structure

  • (dict) --

    • browserSettingsArn (string) --

      The ARN of the browser settings.

    • portalArn (string) --

      The ARN of the web portal.

TagResource (new) Link ¶

Adds or overwrites one or more tags for the specified resource.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    clientToken='string',
    resourceArn='string',
    tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type resourceArn

string

param resourceArn

[REQUIRED]

The ARN of the resource.

type tags

list

param tags

[REQUIRED]

The tags of the resource.

  • (dict) --

    The tag.

    • Key (string) -- [REQUIRED]

      The key of the tag.

    • Value (string) -- [REQUIRED]

      The value of the tag

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListUserSettings (new) Link ¶

Retrieves a list of user settings.

See also: AWS API Documentation

Request Syntax

client.list_user_settings(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'userSettings': [
        {
            'copyAllowed': 'Disabled'|'Enabled',
            'downloadAllowed': 'Disabled'|'Enabled',
            'pasteAllowed': 'Disabled'|'Enabled',
            'printAllowed': 'Disabled'|'Enabled',
            'uploadAllowed': 'Disabled'|'Enabled',
            'userSettingsArn': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.

    • userSettings (list) --

      The user settings.

      • (dict) --

        The summary of user settings.

        • copyAllowed (string) --

          Specifies whether the user can copy text from the streaming session to the local device.

        • downloadAllowed (string) --

          Specifies whether the user can download files from the streaming session to the local device.

        • pasteAllowed (string) --

          Specifies whether the user can paste text from the local device to the streaming session.

        • printAllowed (string) --

          Specifies whether the user can print to the local device.

        • uploadAllowed (string) --

          Specifies whether the user can upload files from the local device to the streaming session.

        • userSettingsArn (string) --

          The ARN of the user settings.

AssociateNetworkSettings (new) Link ¶

Associates a network settings resource with a web portal.

See also: AWS API Documentation

Request Syntax

client.associate_network_settings(
    networkSettingsArn='string',
    portalArn='string'
)
type networkSettingsArn

string

param networkSettingsArn

[REQUIRED]

The ARN of the network settings.

type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'networkSettingsArn': 'string',
    'portalArn': 'string'
}

Response Structure

  • (dict) --

    • networkSettingsArn (string) --

      The ARN of the network settings.

    • portalArn (string) --

      The ARN of the web portal.

CreateTrustStore (new) Link ¶

Creates a trust store that can be associated with a web portal. A trust store contains certificate authority (CA) certificates. Once associated with a web portal, the browser in a streaming session will recognize certificates that have been issued using any of the CAs in the trust store. If your organization has internal websites that use certificates issued by private CAs, you should add the private CA certificate to the trust store.

See also: AWS API Documentation

Request Syntax

client.create_trust_store(
    certificateList=[
        b'bytes',
    ],
    clientToken='string',
    tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type certificateList

list

param certificateList

[REQUIRED]

A list of CA certificates to be added to the trust store.

  • (bytes) --

type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type tags

list

param tags

The tags to add to the trust store. 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

rtype

dict

returns

Response Syntax

{
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • trustStoreArn (string) --

      The ARN of the trust store.

AssociateUserSettings (new) Link ¶

Associates a user settings resource with a web portal.

See also: AWS API Documentation

Request Syntax

client.associate_user_settings(
    portalArn='string',
    userSettingsArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

type userSettingsArn

string

param userSettingsArn

[REQUIRED]

The ARN of the user settings.

rtype

dict

returns

Response Syntax

{
    'portalArn': 'string',
    'userSettingsArn': 'string'
}

Response Structure

  • (dict) --

    • portalArn (string) --

      The ARN of the web portal.

    • userSettingsArn (string) --

      The ARN of the user settings.

GetNetworkSettings (new) Link ¶

Gets the network settings.

See also: AWS API Documentation

Request Syntax

client.get_network_settings(
    networkSettingsArn='string'
)
type networkSettingsArn

string

param networkSettingsArn

[REQUIRED]

The ARN of the network settings.

rtype

dict

returns

Response Syntax

{
    'networkSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'networkSettingsArn': 'string',
        'securityGroupIds': [
            'string',
        ],
        'subnetIds': [
            'string',
        ],
        'vpcId': 'string'
    }
}

Response Structure

  • (dict) --

    • networkSettings (dict) --

      The network settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this network settings is associated with.

        • (string) --

      • networkSettingsArn (string) --

        The ARN of the network settings.

      • securityGroupIds (list) --

        One or more security groups used to control access from streaming instances to your VPC.

        • (string) --

      • subnetIds (list) --

        The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

        • (string) --

      • vpcId (string) --

        The VPC that streaming instances will connect to.

ListBrowserSettings (new) Link ¶

Retrieves a list of browser settings.

See also: AWS API Documentation

Request Syntax

client.list_browser_settings(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

rtype

dict

returns

Response Syntax

{
    'browserSettings': [
        {
            'browserSettingsArn': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • browserSettings (list) --

      The browser settings.

      • (dict) --

        The summary for browser settings.

        • browserSettingsArn (string) --

          The ARN of the browser settings.

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.

UpdateBrowserSettings (new) Link ¶

Updates browser settings.

See also: AWS API Documentation

Request Syntax

client.update_browser_settings(
    browserPolicy='string',
    browserSettingsArn='string',
    clientToken='string'
)
type browserPolicy

string

param browserPolicy

A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

type browserSettingsArn

string

param browserSettingsArn

[REQUIRED]

The ARN of the browser settings.

type clientToken

string

param clientToken

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 return the result from the original successful request.

If you do not specify a client token, one is automatically generated by the AWS SDK.

This field is autopopulated if not provided.

rtype

dict

returns

Response Syntax

{
    'browserSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'browserPolicy': 'string',
        'browserSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • browserSettings (dict) --

      The browser settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this browser settings is associated with.

        • (string) --

      • browserPolicy (string) --

        A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

      • browserSettingsArn (string) --

        The ARN of the browser settings.

DisassociateTrustStore (new) Link ¶

Disassociates a trust store from a web portal.

See also: AWS API Documentation

Request Syntax

client.disassociate_trust_store(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

DeleteNetworkSettings (new) Link ¶

Deletes network settings.

See also: AWS API Documentation

Request Syntax

client.delete_network_settings(
    networkSettingsArn='string'
)
type networkSettingsArn

string

param networkSettingsArn

[REQUIRED]

The ARN of the network settings.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

CreateIdentityProvider (new) Link ¶

Creates an identity provider resource that is then associated with a web portal.

See also: AWS API Documentation

Request Syntax

client.create_identity_provider(
    clientToken='string',
    identityProviderDetails={
        'string': 'string'
    },
    identityProviderName='string',
    identityProviderType='SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC',
    portalArn='string'
)
type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type identityProviderDetails

dict

param identityProviderDetails

[REQUIRED]

The identity provider details. The following list describes the provider detail keys for each identity provider type.

  • For Google and Login with Amazon:

    • client_id

    • client_secret

    • authorize_scopes

  • For Facebook:

    • client_id

    • client_secret

    • authorize_scopes

    • api_version

  • For Sign in with Apple:

    • client_id

    • team_id

    • key_id

    • private_key

    • authorize_scopes

  • For OIDC providers:

    • client_id

    • client_secret

    • attributes_request_method

    • oidc_issuer

    • authorize_scopes

    • authorize_url if not available from discovery URL specified by ``oidc_issuer`` key

    • token_url if not available from discovery URL specified by ``oidc_issuer`` key

    • attributes_url if not available from discovery URL specified by ``oidc_issuer`` key

    • jwks_uri if not available from discovery URL specified by ``oidc_issuer`` key

  • For SAML providers:

    • MetadataFile OR MetadataURL

    • IDPSignout optional

  • (string) --

    • (string) --

type identityProviderName

string

param identityProviderName

[REQUIRED]

The identity provider name.

type identityProviderType

string

param identityProviderType

[REQUIRED]

The identity provider type.

type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{
    'identityProviderArn': 'string'
}

Response Structure

  • (dict) --

    • identityProviderArn (string) --

      The ARN of the identity provider.

DisassociateUserSettings (new) Link ¶

Disassociates user settings from a web portal.

See also: AWS API Documentation

Request Syntax

client.disassociate_user_settings(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

GetTrustStore (new) Link ¶

Gets the trust store.

See also: AWS API Documentation

Request Syntax

client.get_trust_store(
    trustStoreArn='string'
)
type trustStoreArn

string

param trustStoreArn

[REQUIRED]

The ARN of the trust store.

rtype

dict

returns

Response Syntax

{
    'trustStore': {
        'associatedPortalArns': [
            'string',
        ],
        'trustStoreArn': 'string'
    }
}

Response Structure

  • (dict) --

    • trustStore (dict) --

      The trust store.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this trust store is associated with.

        • (string) --

      • trustStoreArn (string) --

        The ARN of the trust store.

AssociateTrustStore (new) Link ¶

Associates a trust store with a web portal.

See also: AWS API Documentation

Request Syntax

client.associate_trust_store(
    portalArn='string',
    trustStoreArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

type trustStoreArn

string

param trustStoreArn

[REQUIRED]

The ARN of the trust store.

rtype

dict

returns

Response Syntax

{
    'portalArn': 'string',
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • portalArn (string) --

      The ARN of the web portal.

    • trustStoreArn (string) --

      The ARN of the trust store.

DeleteUserSettings (new) Link ¶

Deletes user settings.

See also: AWS API Documentation

Request Syntax

client.delete_user_settings(
    userSettingsArn='string'
)
type userSettingsArn

string

param userSettingsArn

[REQUIRED]

The ARN of the user settings.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

GetBrowserSettings (new) Link ¶

Gets browser settings.

See also: AWS API Documentation

Request Syntax

client.get_browser_settings(
    browserSettingsArn='string'
)
type browserSettingsArn

string

param browserSettingsArn

[REQUIRED]

The ARN of the browser settings.

rtype

dict

returns

Response Syntax

{
    'browserSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'browserPolicy': 'string',
        'browserSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • browserSettings (dict) --

      The browser settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this browser settings is associated with.

        • (string) --

      • browserPolicy (string) --

        A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

      • browserSettingsArn (string) --

        The ARN of the browser settings.

DeletePortal (new) Link ¶

Deletes a web portal.

See also: AWS API Documentation

Request Syntax

client.delete_portal(
    portalArn='string'
)
type portalArn

string

param portalArn

[REQUIRED]

The ARN of the web portal.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

GetIdentityProvider (new) Link ¶

Gets the identity provider.

See also: AWS API Documentation

Request Syntax

client.get_identity_provider(
    identityProviderArn='string'
)
type identityProviderArn

string

param identityProviderArn

[REQUIRED]

The ARN of the identity provider.

rtype

dict

returns

Response Syntax

{
    'identityProvider': {
        'identityProviderArn': 'string',
        'identityProviderDetails': {
            'string': 'string'
        },
        'identityProviderName': 'string',
        'identityProviderType': 'SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC'
    }
}

Response Structure

  • (dict) --

    • identityProvider (dict) --

      The identity provider.

      • identityProviderArn (string) --

        The ARN of the identity provider.

      • identityProviderDetails (dict) --

        The identity provider details. The following list describes the provider detail keys for each identity provider type.

        • For Google and Login with Amazon:

          • client_id

          • client_secret

          • authorize_scopes

        • For Facebook:

          • client_id

          • client_secret

          • authorize_scopes

          • api_version

        • For Sign in with Apple:

          • client_id

          • team_id

          • key_id

          • private_key

          • authorize_scopes

        • For OIDC providers:

          • client_id

          • client_secret

          • attributes_request_method

          • oidc_issuer

          • authorize_scopes

          • authorize_url if not available from discovery URL specified by oidc_issuer key

          • token_url if not available from discovery URL specified by oidc_issuer key

          • attributes_url if not available from discovery URL specified by oidc_issuer key

          • jwks_uri if not available from discovery URL specified by oidc_issuer key

        • For SAML providers:

          • MetadataFile OR MetadataURL

          • IDPSignout optional

        • (string) --

          • (string) --

      • identityProviderName (string) --

        The identity provider name.

      • identityProviderType (string) --

        The identity provider type.

ListNetworkSettings (new) Link ¶

Retrieves a list of network settings.

See also: AWS API Documentation

Request Syntax

client.list_network_settings(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

rtype

dict

returns

Response Syntax

{
    'networkSettings': [
        {
            'networkSettingsArn': 'string',
            'vpcId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • networkSettings (list) --

      The network settings.

      • (dict) --

        The summary of network settings.

        • networkSettingsArn (string) --

          The ARN of the network settings.

        • vpcId (string) --

          The VPC ID of the network settings.

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.

GetTrustStoreCertificate (new) Link ¶

Gets the trust store certificate.

See also: AWS API Documentation

Request Syntax

client.get_trust_store_certificate(
    thumbprint='string',
    trustStoreArn='string'
)
type thumbprint

string

param thumbprint

[REQUIRED]

The thumbprint of the trust store certificate.

type trustStoreArn

string

param trustStoreArn

[REQUIRED]

The ARN of the trust store certificate.

rtype

dict

returns

Response Syntax

{
    'certificate': {
        'body': b'bytes',
        'issuer': 'string',
        'notValidAfter': datetime(2015, 1, 1),
        'notValidBefore': datetime(2015, 1, 1),
        'subject': 'string',
        'thumbprint': 'string'
    },
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • certificate (dict) --

      The certificate of the trust store certificate.

      • body (bytes) --

        The body of the certificate.

      • issuer (string) --

        The entity that issued the certificate.

      • notValidAfter (datetime) --

        The certificate is not valid after this date.

      • notValidBefore (datetime) --

        The certificate is not valid before this date.

      • subject (string) --

        The entity the certificate belongs to.

      • thumbprint (string) --

        A hexadecimal identifier for the certificate.

    • trustStoreArn (string) --

      The ARN of the trust store certificate.

ListPortals (new) Link ¶

Retrieves a list or web portals.

See also: AWS API Documentation

Request Syntax

client.list_portals(
    maxResults=123,
    nextToken='string'
)
type maxResults

integer

param maxResults

The maximum number of results to be included in the next page.

type nextToken

string

param nextToken

The pagination token used to retrieve the next page of results for this operation.

rtype

dict

returns

Response Syntax

{
    'nextToken': 'string',
    'portals': [
        {
            'browserSettingsArn': 'string',
            'browserType': 'Chrome',
            'creationDate': datetime(2015, 1, 1),
            'displayName': 'string',
            'networkSettingsArn': 'string',
            'portalArn': 'string',
            'portalEndpoint': 'string',
            'portalStatus': 'Incomplete'|'Pending'|'Active',
            'rendererType': 'AppStream',
            'trustStoreArn': 'string',
            'userSettingsArn': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.

    • portals (list) --

      The portals in the list.

      • (dict) --

        The summary of the portal.

        • browserSettingsArn (string) --

          The ARN of the browser settings that is associated with the web portal.

        • browserType (string) --

          The browser type of the web portal.

        • creationDate (datetime) --

          The creation date of the web portal.

        • displayName (string) --

          The name of the web portal.

        • networkSettingsArn (string) --

          The ARN of the network settings that is associated with the web portal.

        • 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.

        • portalStatus (string) --

          The status of the web portal.

        • rendererType (string) --

          The renderer that is used in streaming sessions.

        • trustStoreArn (string) --

          The ARN of the trust that is associated with this web portal.

        • userSettingsArn (string) --

          The ARN of the user settings that is associated with the web portal.

ListTagsForResource (new) Link ¶

Retrieves a list of tags for a resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

[REQUIRED]

The ARN of the resource.

rtype

dict

returns

Response Syntax

{
    'tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • tags (list) --

      The tags of the resource.

      • (dict) --

        The tag.

        • Key (string) --

          The key of the tag.

        • Value (string) --

          The value of the tag

CreateNetworkSettings (new) Link ¶

Creates a network settings resource that can be associated with a web portal. Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.

See also: AWS API Documentation

Request Syntax

client.create_network_settings(
    clientToken='string',
    securityGroupIds=[
        'string',
    ],
    subnetIds=[
        'string',
    ],
    tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    vpcId='string'
)
type clientToken

string

param clientToken

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 AWS SDK.

This field is autopopulated if not provided.

type securityGroupIds

list

param securityGroupIds

[REQUIRED]

One or more security groups used to control access from streaming instances to your VPC.

  • (string) --

type subnetIds

list

param subnetIds

[REQUIRED]

The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

  • (string) --

type tags

list

param tags

The tags to add to the network settings resource. 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

type vpcId

string

param vpcId

[REQUIRED]

The VPC that streaming instances will connect to.

rtype

dict

returns

Response Syntax

{
    'networkSettingsArn': 'string'
}

Response Structure

  • (dict) --

    • networkSettingsArn (string) --

      The ARN of the network settings.