Skip to content

WorkSpacesWebClient#

Index > WorkSpacesWeb > WorkSpacesWebClient

Auto-generated documentation for WorkSpacesWeb type annotations stubs module mypy-boto3-workspaces-web.

WorkSpacesWebClient#

Type annotations and code completion for boto3.client("workspaces-web"). boto3 documentation

# WorkSpacesWebClient usage example

from boto3.session import Session
from mypy_boto3_workspaces_web.client import WorkSpacesWebClient

def get_workspaces-web_client() -> WorkSpacesWebClient:
    return Session().client("workspaces-web")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("workspaces-web").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("workspaces-web")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.TooManyTagsException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_workspaces_web.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

associate_browser_settings#

Associates a browser settings resource with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_browser_settings method. boto3 documentation

# associate_browser_settings method definition

def associate_browser_settings(
    self,
    *,
    browserSettingsArn: str,
    portalArn: str,
) -> AssociateBrowserSettingsResponseTypeDef:  # (1)
    ...
  1. See AssociateBrowserSettingsResponseTypeDef
# associate_browser_settings method usage example with argument unpacking

kwargs: AssociateBrowserSettingsRequestRequestTypeDef = {  # (1)
    "browserSettingsArn": ...,
    "portalArn": ...,
}

parent.associate_browser_settings(**kwargs)
  1. See AssociateBrowserSettingsRequestRequestTypeDef

associate_data_protection_settings#

Associates a data protection settings resource with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_data_protection_settings method. boto3 documentation

# associate_data_protection_settings method definition

def associate_data_protection_settings(
    self,
    *,
    dataProtectionSettingsArn: str,
    portalArn: str,
) -> AssociateDataProtectionSettingsResponseTypeDef:  # (1)
    ...
  1. See AssociateDataProtectionSettingsResponseTypeDef
# associate_data_protection_settings method usage example with argument unpacking

kwargs: AssociateDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "dataProtectionSettingsArn": ...,
    "portalArn": ...,
}

parent.associate_data_protection_settings(**kwargs)
  1. See AssociateDataProtectionSettingsRequestRequestTypeDef

associate_ip_access_settings#

Associates an IP access settings resource with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_ip_access_settings method. boto3 documentation

# associate_ip_access_settings method definition

def associate_ip_access_settings(
    self,
    *,
    ipAccessSettingsArn: str,
    portalArn: str,
) -> AssociateIpAccessSettingsResponseTypeDef:  # (1)
    ...
  1. See AssociateIpAccessSettingsResponseTypeDef
# associate_ip_access_settings method usage example with argument unpacking

kwargs: AssociateIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "ipAccessSettingsArn": ...,
    "portalArn": ...,
}

parent.associate_ip_access_settings(**kwargs)
  1. See AssociateIpAccessSettingsRequestRequestTypeDef

associate_network_settings#

Associates a network settings resource with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_network_settings method. boto3 documentation

# associate_network_settings method definition

def associate_network_settings(
    self,
    *,
    networkSettingsArn: str,
    portalArn: str,
) -> AssociateNetworkSettingsResponseTypeDef:  # (1)
    ...
  1. See AssociateNetworkSettingsResponseTypeDef
# associate_network_settings method usage example with argument unpacking

kwargs: AssociateNetworkSettingsRequestRequestTypeDef = {  # (1)
    "networkSettingsArn": ...,
    "portalArn": ...,
}

parent.associate_network_settings(**kwargs)
  1. See AssociateNetworkSettingsRequestRequestTypeDef

associate_trust_store#

Associates a trust store with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_trust_store method. boto3 documentation

# associate_trust_store method definition

def associate_trust_store(
    self,
    *,
    portalArn: str,
    trustStoreArn: str,
) -> AssociateTrustStoreResponseTypeDef:  # (1)
    ...
  1. See AssociateTrustStoreResponseTypeDef
# associate_trust_store method usage example with argument unpacking

kwargs: AssociateTrustStoreRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
    "trustStoreArn": ...,
}

parent.associate_trust_store(**kwargs)
  1. See AssociateTrustStoreRequestRequestTypeDef

associate_user_access_logging_settings#

Associates a user access logging settings resource with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_user_access_logging_settings method. boto3 documentation

# associate_user_access_logging_settings method definition

def associate_user_access_logging_settings(
    self,
    *,
    portalArn: str,
    userAccessLoggingSettingsArn: str,
) -> AssociateUserAccessLoggingSettingsResponseTypeDef:  # (1)
    ...
  1. See AssociateUserAccessLoggingSettingsResponseTypeDef
# associate_user_access_logging_settings method usage example with argument unpacking

kwargs: AssociateUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
    "userAccessLoggingSettingsArn": ...,
}

parent.associate_user_access_logging_settings(**kwargs)
  1. See AssociateUserAccessLoggingSettingsRequestRequestTypeDef

associate_user_settings#

Associates a user settings resource with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").associate_user_settings method. boto3 documentation

# associate_user_settings method definition

def associate_user_settings(
    self,
    *,
    portalArn: str,
    userSettingsArn: str,
) -> AssociateUserSettingsResponseTypeDef:  # (1)
    ...
  1. See AssociateUserSettingsResponseTypeDef
# associate_user_settings method usage example with argument unpacking

kwargs: AssociateUserSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
    "userSettingsArn": ...,
}

parent.associate_user_settings(**kwargs)
  1. See AssociateUserSettingsRequestRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("workspaces-web").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("workspaces-web").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_browser_settings#

Creates a browser settings resource that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_browser_settings method. boto3 documentation

# create_browser_settings method definition

def create_browser_settings(
    self,
    *,
    browserPolicy: str,
    additionalEncryptionContext: Mapping[str, str] = ...,
    clientToken: str = ...,
    customerManagedKey: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateBrowserSettingsResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateBrowserSettingsResponseTypeDef
# create_browser_settings method usage example with argument unpacking

kwargs: CreateBrowserSettingsRequestRequestTypeDef = {  # (1)
    "browserPolicy": ...,
}

parent.create_browser_settings(**kwargs)
  1. See CreateBrowserSettingsRequestRequestTypeDef

create_data_protection_settings#

Creates a data protection settings resource that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_data_protection_settings method. boto3 documentation

# create_data_protection_settings method definition

def create_data_protection_settings(
    self,
    *,
    additionalEncryptionContext: Mapping[str, str] = ...,
    clientToken: str = ...,
    customerManagedKey: str = ...,
    description: str = ...,
    displayName: str = ...,
    inlineRedactionConfiguration: InlineRedactionConfigurationTypeDef = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateDataProtectionSettingsResponseTypeDef:  # (3)
    ...
  1. See InlineRedactionConfigurationTypeDef
  2. See TagTypeDef
  3. See CreateDataProtectionSettingsResponseTypeDef
# create_data_protection_settings method usage example with argument unpacking

kwargs: CreateDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "additionalEncryptionContext": ...,
}

parent.create_data_protection_settings(**kwargs)
  1. See CreateDataProtectionSettingsRequestRequestTypeDef

create_identity_provider#

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

Type annotations and code completion for boto3.client("workspaces-web").create_identity_provider method. boto3 documentation

# create_identity_provider method definition

def create_identity_provider(
    self,
    *,
    identityProviderDetails: Mapping[str, str],
    identityProviderName: str,
    identityProviderType: IdentityProviderTypeType,  # (1)
    portalArn: str,
    clientToken: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateIdentityProviderResponseTypeDef:  # (3)
    ...
  1. See IdentityProviderTypeType
  2. See TagTypeDef
  3. See CreateIdentityProviderResponseTypeDef
# create_identity_provider method usage example with argument unpacking

kwargs: CreateIdentityProviderRequestRequestTypeDef = {  # (1)
    "identityProviderDetails": ...,
    "identityProviderName": ...,
    "identityProviderType": ...,
    "portalArn": ...,
}

parent.create_identity_provider(**kwargs)
  1. See CreateIdentityProviderRequestRequestTypeDef

create_ip_access_settings#

Creates an IP access settings resource that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_ip_access_settings method. boto3 documentation

# create_ip_access_settings method definition

def create_ip_access_settings(
    self,
    *,
    ipRules: Sequence[IpRuleTypeDef],  # (1)
    additionalEncryptionContext: Mapping[str, str] = ...,
    clientToken: str = ...,
    customerManagedKey: str = ...,
    description: str = ...,
    displayName: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateIpAccessSettingsResponseTypeDef:  # (3)
    ...
  1. See IpRuleTypeDef
  2. See TagTypeDef
  3. See CreateIpAccessSettingsResponseTypeDef
# create_ip_access_settings method usage example with argument unpacking

kwargs: CreateIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "ipRules": ...,
}

parent.create_ip_access_settings(**kwargs)
  1. See CreateIpAccessSettingsRequestRequestTypeDef

create_network_settings#

Creates a network settings resource that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_network_settings method. boto3 documentation

# create_network_settings method definition

def create_network_settings(
    self,
    *,
    securityGroupIds: Sequence[str],
    subnetIds: Sequence[str],
    vpcId: str,
    clientToken: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateNetworkSettingsResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateNetworkSettingsResponseTypeDef
# create_network_settings method usage example with argument unpacking

kwargs: CreateNetworkSettingsRequestRequestTypeDef = {  # (1)
    "securityGroupIds": ...,
    "subnetIds": ...,
    "vpcId": ...,
}

parent.create_network_settings(**kwargs)
  1. See CreateNetworkSettingsRequestRequestTypeDef

create_portal#

Creates a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_portal method. boto3 documentation

# create_portal method definition

def create_portal(
    self,
    *,
    additionalEncryptionContext: Mapping[str, str] = ...,
    authenticationType: AuthenticationTypeType = ...,  # (1)
    clientToken: str = ...,
    customerManagedKey: str = ...,
    displayName: str = ...,
    instanceType: InstanceTypeType = ...,  # (2)
    maxConcurrentSessions: int = ...,
    tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreatePortalResponseTypeDef:  # (4)
    ...
  1. See AuthenticationTypeType
  2. See InstanceTypeType
  3. See TagTypeDef
  4. See CreatePortalResponseTypeDef
# create_portal method usage example with argument unpacking

kwargs: CreatePortalRequestRequestTypeDef = {  # (1)
    "additionalEncryptionContext": ...,
}

parent.create_portal(**kwargs)
  1. See CreatePortalRequestRequestTypeDef

create_trust_store#

Creates a trust store that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_trust_store method. boto3 documentation

# create_trust_store method definition

def create_trust_store(
    self,
    *,
    certificateList: Sequence[BlobTypeDef],
    clientToken: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateTrustStoreResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateTrustStoreResponseTypeDef
# create_trust_store method usage example with argument unpacking

kwargs: CreateTrustStoreRequestRequestTypeDef = {  # (1)
    "certificateList": ...,
}

parent.create_trust_store(**kwargs)
  1. See CreateTrustStoreRequestRequestTypeDef

create_user_access_logging_settings#

Creates a user access logging settings resource that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_user_access_logging_settings method. boto3 documentation

# create_user_access_logging_settings method definition

def create_user_access_logging_settings(
    self,
    *,
    kinesisStreamArn: str,
    clientToken: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateUserAccessLoggingSettingsResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateUserAccessLoggingSettingsResponseTypeDef
# create_user_access_logging_settings method usage example with argument unpacking

kwargs: CreateUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "kinesisStreamArn": ...,
}

parent.create_user_access_logging_settings(**kwargs)
  1. See CreateUserAccessLoggingSettingsRequestRequestTypeDef

create_user_settings#

Creates a user settings resource that can be associated with a web portal.

Type annotations and code completion for boto3.client("workspaces-web").create_user_settings method. boto3 documentation

# create_user_settings method definition

def create_user_settings(
    self,
    *,
    copyAllowed: EnabledTypeType,  # (1)
    downloadAllowed: EnabledTypeType,  # (1)
    pasteAllowed: EnabledTypeType,  # (1)
    printAllowed: EnabledTypeType,  # (1)
    uploadAllowed: EnabledTypeType,  # (1)
    additionalEncryptionContext: Mapping[str, str] = ...,
    clientToken: str = ...,
    cookieSynchronizationConfiguration: CookieSynchronizationConfigurationTypeDef = ...,  # (6)
    customerManagedKey: str = ...,
    deepLinkAllowed: EnabledTypeType = ...,  # (1)
    disconnectTimeoutInMinutes: int = ...,
    idleDisconnectTimeoutInMinutes: int = ...,
    tags: Sequence[TagTypeDef] = ...,  # (8)
) -> CreateUserSettingsResponseTypeDef:  # (9)
    ...
  1. See EnabledTypeType
  2. See EnabledTypeType
  3. See EnabledTypeType
  4. See EnabledTypeType
  5. See EnabledTypeType
  6. See CookieSynchronizationConfigurationTypeDef
  7. See EnabledTypeType
  8. See TagTypeDef
  9. See CreateUserSettingsResponseTypeDef
# create_user_settings method usage example with argument unpacking

kwargs: CreateUserSettingsRequestRequestTypeDef = {  # (1)
    "copyAllowed": ...,
    "downloadAllowed": ...,
    "pasteAllowed": ...,
    "printAllowed": ...,
    "uploadAllowed": ...,
}

parent.create_user_settings(**kwargs)
  1. See CreateUserSettingsRequestRequestTypeDef

delete_browser_settings#

Deletes browser settings.

Type annotations and code completion for boto3.client("workspaces-web").delete_browser_settings method. boto3 documentation

# delete_browser_settings method definition

def delete_browser_settings(
    self,
    *,
    browserSettingsArn: str,
) -> Dict[str, Any]:
    ...
# delete_browser_settings method usage example with argument unpacking

kwargs: DeleteBrowserSettingsRequestRequestTypeDef = {  # (1)
    "browserSettingsArn": ...,
}

parent.delete_browser_settings(**kwargs)
  1. See DeleteBrowserSettingsRequestRequestTypeDef

delete_data_protection_settings#

Deletes data protection settings.

Type annotations and code completion for boto3.client("workspaces-web").delete_data_protection_settings method. boto3 documentation

# delete_data_protection_settings method definition

def delete_data_protection_settings(
    self,
    *,
    dataProtectionSettingsArn: str,
) -> Dict[str, Any]:
    ...
# delete_data_protection_settings method usage example with argument unpacking

kwargs: DeleteDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "dataProtectionSettingsArn": ...,
}

parent.delete_data_protection_settings(**kwargs)
  1. See DeleteDataProtectionSettingsRequestRequestTypeDef

delete_identity_provider#

Deletes the identity provider.

Type annotations and code completion for boto3.client("workspaces-web").delete_identity_provider method. boto3 documentation

# delete_identity_provider method definition

def delete_identity_provider(
    self,
    *,
    identityProviderArn: str,
) -> Dict[str, Any]:
    ...
# delete_identity_provider method usage example with argument unpacking

kwargs: DeleteIdentityProviderRequestRequestTypeDef = {  # (1)
    "identityProviderArn": ...,
}

parent.delete_identity_provider(**kwargs)
  1. See DeleteIdentityProviderRequestRequestTypeDef

delete_ip_access_settings#

Deletes IP access settings.

Type annotations and code completion for boto3.client("workspaces-web").delete_ip_access_settings method. boto3 documentation

# delete_ip_access_settings method definition

def delete_ip_access_settings(
    self,
    *,
    ipAccessSettingsArn: str,
) -> Dict[str, Any]:
    ...
# delete_ip_access_settings method usage example with argument unpacking

kwargs: DeleteIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "ipAccessSettingsArn": ...,
}

parent.delete_ip_access_settings(**kwargs)
  1. See DeleteIpAccessSettingsRequestRequestTypeDef

delete_network_settings#

Deletes network settings.

Type annotations and code completion for boto3.client("workspaces-web").delete_network_settings method. boto3 documentation

# delete_network_settings method definition

def delete_network_settings(
    self,
    *,
    networkSettingsArn: str,
) -> Dict[str, Any]:
    ...
# delete_network_settings method usage example with argument unpacking

kwargs: DeleteNetworkSettingsRequestRequestTypeDef = {  # (1)
    "networkSettingsArn": ...,
}

parent.delete_network_settings(**kwargs)
  1. See DeleteNetworkSettingsRequestRequestTypeDef

delete_portal#

Deletes a web portal.

Type annotations and code completion for boto3.client("workspaces-web").delete_portal method. boto3 documentation

# delete_portal method definition

def delete_portal(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# delete_portal method usage example with argument unpacking

kwargs: DeletePortalRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.delete_portal(**kwargs)
  1. See DeletePortalRequestRequestTypeDef

delete_trust_store#

Deletes the trust store.

Type annotations and code completion for boto3.client("workspaces-web").delete_trust_store method. boto3 documentation

# delete_trust_store method definition

def delete_trust_store(
    self,
    *,
    trustStoreArn: str,
) -> Dict[str, Any]:
    ...
# delete_trust_store method usage example with argument unpacking

kwargs: DeleteTrustStoreRequestRequestTypeDef = {  # (1)
    "trustStoreArn": ...,
}

parent.delete_trust_store(**kwargs)
  1. See DeleteTrustStoreRequestRequestTypeDef

delete_user_access_logging_settings#

Deletes user access logging settings.

Type annotations and code completion for boto3.client("workspaces-web").delete_user_access_logging_settings method. boto3 documentation

# delete_user_access_logging_settings method definition

def delete_user_access_logging_settings(
    self,
    *,
    userAccessLoggingSettingsArn: str,
) -> Dict[str, Any]:
    ...
# delete_user_access_logging_settings method usage example with argument unpacking

kwargs: DeleteUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "userAccessLoggingSettingsArn": ...,
}

parent.delete_user_access_logging_settings(**kwargs)
  1. See DeleteUserAccessLoggingSettingsRequestRequestTypeDef

delete_user_settings#

Deletes user settings.

Type annotations and code completion for boto3.client("workspaces-web").delete_user_settings method. boto3 documentation

# delete_user_settings method definition

def delete_user_settings(
    self,
    *,
    userSettingsArn: str,
) -> Dict[str, Any]:
    ...
# delete_user_settings method usage example with argument unpacking

kwargs: DeleteUserSettingsRequestRequestTypeDef = {  # (1)
    "userSettingsArn": ...,
}

parent.delete_user_settings(**kwargs)
  1. See DeleteUserSettingsRequestRequestTypeDef

disassociate_browser_settings#

Disassociates browser settings from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_browser_settings method. boto3 documentation

# disassociate_browser_settings method definition

def disassociate_browser_settings(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_browser_settings method usage example with argument unpacking

kwargs: DisassociateBrowserSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_browser_settings(**kwargs)
  1. See DisassociateBrowserSettingsRequestRequestTypeDef

disassociate_data_protection_settings#

Disassociates data protection settings from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_data_protection_settings method. boto3 documentation

# disassociate_data_protection_settings method definition

def disassociate_data_protection_settings(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_data_protection_settings method usage example with argument unpacking

kwargs: DisassociateDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_data_protection_settings(**kwargs)
  1. See DisassociateDataProtectionSettingsRequestRequestTypeDef

disassociate_ip_access_settings#

Disassociates IP access settings from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_ip_access_settings method. boto3 documentation

# disassociate_ip_access_settings method definition

def disassociate_ip_access_settings(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_ip_access_settings method usage example with argument unpacking

kwargs: DisassociateIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_ip_access_settings(**kwargs)
  1. See DisassociateIpAccessSettingsRequestRequestTypeDef

disassociate_network_settings#

Disassociates network settings from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_network_settings method. boto3 documentation

# disassociate_network_settings method definition

def disassociate_network_settings(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_network_settings method usage example with argument unpacking

kwargs: DisassociateNetworkSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_network_settings(**kwargs)
  1. See DisassociateNetworkSettingsRequestRequestTypeDef

disassociate_trust_store#

Disassociates a trust store from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_trust_store method. boto3 documentation

# disassociate_trust_store method definition

def disassociate_trust_store(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_trust_store method usage example with argument unpacking

kwargs: DisassociateTrustStoreRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_trust_store(**kwargs)
  1. See DisassociateTrustStoreRequestRequestTypeDef

disassociate_user_access_logging_settings#

Disassociates user access logging settings from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_user_access_logging_settings method. boto3 documentation

# disassociate_user_access_logging_settings method definition

def disassociate_user_access_logging_settings(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_user_access_logging_settings method usage example with argument unpacking

kwargs: DisassociateUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_user_access_logging_settings(**kwargs)
  1. See DisassociateUserAccessLoggingSettingsRequestRequestTypeDef

disassociate_user_settings#

Disassociates user settings from a web portal.

Type annotations and code completion for boto3.client("workspaces-web").disassociate_user_settings method. boto3 documentation

# disassociate_user_settings method definition

def disassociate_user_settings(
    self,
    *,
    portalArn: str,
) -> Dict[str, Any]:
    ...
# disassociate_user_settings method usage example with argument unpacking

kwargs: DisassociateUserSettingsRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.disassociate_user_settings(**kwargs)
  1. See DisassociateUserSettingsRequestRequestTypeDef

expire_session#

Expires an active secure browser session.

Type annotations and code completion for boto3.client("workspaces-web").expire_session method. boto3 documentation

# expire_session method definition

def expire_session(
    self,
    *,
    portalId: str,
    sessionId: str,
) -> Dict[str, Any]:
    ...
# expire_session method usage example with argument unpacking

kwargs: ExpireSessionRequestRequestTypeDef = {  # (1)
    "portalId": ...,
    "sessionId": ...,
}

parent.expire_session(**kwargs)
  1. See ExpireSessionRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("workspaces-web").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_browser_settings#

Gets browser settings.

Type annotations and code completion for boto3.client("workspaces-web").get_browser_settings method. boto3 documentation

# get_browser_settings method definition

def get_browser_settings(
    self,
    *,
    browserSettingsArn: str,
) -> GetBrowserSettingsResponseTypeDef:  # (1)
    ...
  1. See GetBrowserSettingsResponseTypeDef
# get_browser_settings method usage example with argument unpacking

kwargs: GetBrowserSettingsRequestRequestTypeDef = {  # (1)
    "browserSettingsArn": ...,
}

parent.get_browser_settings(**kwargs)
  1. See GetBrowserSettingsRequestRequestTypeDef

get_data_protection_settings#

Gets the data protection settings.

Type annotations and code completion for boto3.client("workspaces-web").get_data_protection_settings method. boto3 documentation

# get_data_protection_settings method definition

def get_data_protection_settings(
    self,
    *,
    dataProtectionSettingsArn: str,
) -> GetDataProtectionSettingsResponseTypeDef:  # (1)
    ...
  1. See GetDataProtectionSettingsResponseTypeDef
# get_data_protection_settings method usage example with argument unpacking

kwargs: GetDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "dataProtectionSettingsArn": ...,
}

parent.get_data_protection_settings(**kwargs)
  1. See GetDataProtectionSettingsRequestRequestTypeDef

get_identity_provider#

Gets the identity provider.

Type annotations and code completion for boto3.client("workspaces-web").get_identity_provider method. boto3 documentation

# get_identity_provider method definition

def get_identity_provider(
    self,
    *,
    identityProviderArn: str,
) -> GetIdentityProviderResponseTypeDef:  # (1)
    ...
  1. See GetIdentityProviderResponseTypeDef
# get_identity_provider method usage example with argument unpacking

kwargs: GetIdentityProviderRequestRequestTypeDef = {  # (1)
    "identityProviderArn": ...,
}

parent.get_identity_provider(**kwargs)
  1. See GetIdentityProviderRequestRequestTypeDef

get_ip_access_settings#

Gets the IP access settings.

Type annotations and code completion for boto3.client("workspaces-web").get_ip_access_settings method. boto3 documentation

# get_ip_access_settings method definition

def get_ip_access_settings(
    self,
    *,
    ipAccessSettingsArn: str,
) -> GetIpAccessSettingsResponseTypeDef:  # (1)
    ...
  1. See GetIpAccessSettingsResponseTypeDef
# get_ip_access_settings method usage example with argument unpacking

kwargs: GetIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "ipAccessSettingsArn": ...,
}

parent.get_ip_access_settings(**kwargs)
  1. See GetIpAccessSettingsRequestRequestTypeDef

get_network_settings#

Gets the network settings.

Type annotations and code completion for boto3.client("workspaces-web").get_network_settings method. boto3 documentation

# get_network_settings method definition

def get_network_settings(
    self,
    *,
    networkSettingsArn: str,
) -> GetNetworkSettingsResponseTypeDef:  # (1)
    ...
  1. See GetNetworkSettingsResponseTypeDef
# get_network_settings method usage example with argument unpacking

kwargs: GetNetworkSettingsRequestRequestTypeDef = {  # (1)
    "networkSettingsArn": ...,
}

parent.get_network_settings(**kwargs)
  1. See GetNetworkSettingsRequestRequestTypeDef

get_portal#

Gets the web portal.

Type annotations and code completion for boto3.client("workspaces-web").get_portal method. boto3 documentation

# get_portal method definition

def get_portal(
    self,
    *,
    portalArn: str,
) -> GetPortalResponseTypeDef:  # (1)
    ...
  1. See GetPortalResponseTypeDef
# get_portal method usage example with argument unpacking

kwargs: GetPortalRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.get_portal(**kwargs)
  1. See GetPortalRequestRequestTypeDef

get_portal_service_provider_metadata#

Gets the service provider metadata.

Type annotations and code completion for boto3.client("workspaces-web").get_portal_service_provider_metadata method. boto3 documentation

# get_portal_service_provider_metadata method definition

def get_portal_service_provider_metadata(
    self,
    *,
    portalArn: str,
) -> GetPortalServiceProviderMetadataResponseTypeDef:  # (1)
    ...
  1. See GetPortalServiceProviderMetadataResponseTypeDef
# get_portal_service_provider_metadata method usage example with argument unpacking

kwargs: GetPortalServiceProviderMetadataRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.get_portal_service_provider_metadata(**kwargs)
  1. See GetPortalServiceProviderMetadataRequestRequestTypeDef

get_session#

Gets information for a secure browser session.

Type annotations and code completion for boto3.client("workspaces-web").get_session method. boto3 documentation

# get_session method definition

def get_session(
    self,
    *,
    portalId: str,
    sessionId: str,
) -> GetSessionResponseTypeDef:  # (1)
    ...
  1. See GetSessionResponseTypeDef
# get_session method usage example with argument unpacking

kwargs: GetSessionRequestRequestTypeDef = {  # (1)
    "portalId": ...,
    "sessionId": ...,
}

parent.get_session(**kwargs)
  1. See GetSessionRequestRequestTypeDef

get_trust_store#

Gets the trust store.

Type annotations and code completion for boto3.client("workspaces-web").get_trust_store method. boto3 documentation

# get_trust_store method definition

def get_trust_store(
    self,
    *,
    trustStoreArn: str,
) -> GetTrustStoreResponseTypeDef:  # (1)
    ...
  1. See GetTrustStoreResponseTypeDef
# get_trust_store method usage example with argument unpacking

kwargs: GetTrustStoreRequestRequestTypeDef = {  # (1)
    "trustStoreArn": ...,
}

parent.get_trust_store(**kwargs)
  1. See GetTrustStoreRequestRequestTypeDef

get_trust_store_certificate#

Gets the trust store certificate.

Type annotations and code completion for boto3.client("workspaces-web").get_trust_store_certificate method. boto3 documentation

# get_trust_store_certificate method definition

def get_trust_store_certificate(
    self,
    *,
    thumbprint: str,
    trustStoreArn: str,
) -> GetTrustStoreCertificateResponseTypeDef:  # (1)
    ...
  1. See GetTrustStoreCertificateResponseTypeDef
# get_trust_store_certificate method usage example with argument unpacking

kwargs: GetTrustStoreCertificateRequestRequestTypeDef = {  # (1)
    "thumbprint": ...,
    "trustStoreArn": ...,
}

parent.get_trust_store_certificate(**kwargs)
  1. See GetTrustStoreCertificateRequestRequestTypeDef

get_user_access_logging_settings#

Gets user access logging settings.

Type annotations and code completion for boto3.client("workspaces-web").get_user_access_logging_settings method. boto3 documentation

# get_user_access_logging_settings method definition

def get_user_access_logging_settings(
    self,
    *,
    userAccessLoggingSettingsArn: str,
) -> GetUserAccessLoggingSettingsResponseTypeDef:  # (1)
    ...
  1. See GetUserAccessLoggingSettingsResponseTypeDef
# get_user_access_logging_settings method usage example with argument unpacking

kwargs: GetUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "userAccessLoggingSettingsArn": ...,
}

parent.get_user_access_logging_settings(**kwargs)
  1. See GetUserAccessLoggingSettingsRequestRequestTypeDef

get_user_settings#

Gets user settings.

Type annotations and code completion for boto3.client("workspaces-web").get_user_settings method. boto3 documentation

# get_user_settings method definition

def get_user_settings(
    self,
    *,
    userSettingsArn: str,
) -> GetUserSettingsResponseTypeDef:  # (1)
    ...
  1. See GetUserSettingsResponseTypeDef
# get_user_settings method usage example with argument unpacking

kwargs: GetUserSettingsRequestRequestTypeDef = {  # (1)
    "userSettingsArn": ...,
}

parent.get_user_settings(**kwargs)
  1. See GetUserSettingsRequestRequestTypeDef

list_browser_settings#

Retrieves a list of browser settings.

Type annotations and code completion for boto3.client("workspaces-web").list_browser_settings method. boto3 documentation

# list_browser_settings method definition

def list_browser_settings(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListBrowserSettingsResponseTypeDef:  # (1)
    ...
  1. See ListBrowserSettingsResponseTypeDef
# list_browser_settings method usage example with argument unpacking

kwargs: ListBrowserSettingsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_browser_settings(**kwargs)
  1. See ListBrowserSettingsRequestRequestTypeDef

list_data_protection_settings#

Retrieves a list of data protection settings.

Type annotations and code completion for boto3.client("workspaces-web").list_data_protection_settings method. boto3 documentation

# list_data_protection_settings method definition

def list_data_protection_settings(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListDataProtectionSettingsResponseTypeDef:  # (1)
    ...
  1. See ListDataProtectionSettingsResponseTypeDef
# list_data_protection_settings method usage example with argument unpacking

kwargs: ListDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_data_protection_settings(**kwargs)
  1. See ListDataProtectionSettingsRequestRequestTypeDef

list_identity_providers#

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

Type annotations and code completion for boto3.client("workspaces-web").list_identity_providers method. boto3 documentation

# list_identity_providers method definition

def list_identity_providers(
    self,
    *,
    portalArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListIdentityProvidersResponseTypeDef:  # (1)
    ...
  1. See ListIdentityProvidersResponseTypeDef
# list_identity_providers method usage example with argument unpacking

kwargs: ListIdentityProvidersRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.list_identity_providers(**kwargs)
  1. See ListIdentityProvidersRequestRequestTypeDef

list_ip_access_settings#

Retrieves a list of IP access settings.

Type annotations and code completion for boto3.client("workspaces-web").list_ip_access_settings method. boto3 documentation

# list_ip_access_settings method definition

def list_ip_access_settings(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListIpAccessSettingsResponseTypeDef:  # (1)
    ...
  1. See ListIpAccessSettingsResponseTypeDef
# list_ip_access_settings method usage example with argument unpacking

kwargs: ListIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_ip_access_settings(**kwargs)
  1. See ListIpAccessSettingsRequestRequestTypeDef

list_network_settings#

Retrieves a list of network settings.

Type annotations and code completion for boto3.client("workspaces-web").list_network_settings method. boto3 documentation

# list_network_settings method definition

def list_network_settings(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListNetworkSettingsResponseTypeDef:  # (1)
    ...
  1. See ListNetworkSettingsResponseTypeDef
# list_network_settings method usage example with argument unpacking

kwargs: ListNetworkSettingsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_network_settings(**kwargs)
  1. See ListNetworkSettingsRequestRequestTypeDef

list_portals#

Retrieves a list or web portals.

Type annotations and code completion for boto3.client("workspaces-web").list_portals method. boto3 documentation

# list_portals method definition

def list_portals(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListPortalsResponseTypeDef:  # (1)
    ...
  1. See ListPortalsResponseTypeDef
# list_portals method usage example with argument unpacking

kwargs: ListPortalsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_portals(**kwargs)
  1. See ListPortalsRequestRequestTypeDef

list_sessions#

Lists information for multiple secure browser sessions from a specific portal.

Type annotations and code completion for boto3.client("workspaces-web").list_sessions method. boto3 documentation

# list_sessions method definition

def list_sessions(
    self,
    *,
    portalId: str,
    maxResults: int = ...,
    nextToken: str = ...,
    sessionId: str = ...,
    sortBy: SessionSortByType = ...,  # (1)
    status: SessionStatusType = ...,  # (2)
    username: str = ...,
) -> ListSessionsResponseTypeDef:  # (3)
    ...
  1. See SessionSortByType
  2. See SessionStatusType
  3. See ListSessionsResponseTypeDef
# list_sessions method usage example with argument unpacking

kwargs: ListSessionsRequestRequestTypeDef = {  # (1)
    "portalId": ...,
}

parent.list_sessions(**kwargs)
  1. See ListSessionsRequestRequestTypeDef

list_tags_for_resource#

Retrieves a list of tags for a resource.

Type annotations and code completion for boto3.client("workspaces-web").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

list_trust_store_certificates#

Retrieves a list of trust store certificates.

Type annotations and code completion for boto3.client("workspaces-web").list_trust_store_certificates method. boto3 documentation

# list_trust_store_certificates method definition

def list_trust_store_certificates(
    self,
    *,
    trustStoreArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTrustStoreCertificatesResponseTypeDef:  # (1)
    ...
  1. See ListTrustStoreCertificatesResponseTypeDef
# list_trust_store_certificates method usage example with argument unpacking

kwargs: ListTrustStoreCertificatesRequestRequestTypeDef = {  # (1)
    "trustStoreArn": ...,
}

parent.list_trust_store_certificates(**kwargs)
  1. See ListTrustStoreCertificatesRequestRequestTypeDef

list_trust_stores#

Retrieves a list of trust stores.

Type annotations and code completion for boto3.client("workspaces-web").list_trust_stores method. boto3 documentation

# list_trust_stores method definition

def list_trust_stores(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTrustStoresResponseTypeDef:  # (1)
    ...
  1. See ListTrustStoresResponseTypeDef
# list_trust_stores method usage example with argument unpacking

kwargs: ListTrustStoresRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_trust_stores(**kwargs)
  1. See ListTrustStoresRequestRequestTypeDef

list_user_access_logging_settings#

Retrieves a list of user access logging settings.

Type annotations and code completion for boto3.client("workspaces-web").list_user_access_logging_settings method. boto3 documentation

# list_user_access_logging_settings method definition

def list_user_access_logging_settings(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListUserAccessLoggingSettingsResponseTypeDef:  # (1)
    ...
  1. See ListUserAccessLoggingSettingsResponseTypeDef
# list_user_access_logging_settings method usage example with argument unpacking

kwargs: ListUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_user_access_logging_settings(**kwargs)
  1. See ListUserAccessLoggingSettingsRequestRequestTypeDef

list_user_settings#

Retrieves a list of user settings.

Type annotations and code completion for boto3.client("workspaces-web").list_user_settings method. boto3 documentation

# list_user_settings method definition

def list_user_settings(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListUserSettingsResponseTypeDef:  # (1)
    ...
  1. See ListUserSettingsResponseTypeDef
# list_user_settings method usage example with argument unpacking

kwargs: ListUserSettingsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_user_settings(**kwargs)
  1. See ListUserSettingsRequestRequestTypeDef

tag_resource#

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

Type annotations and code completion for boto3.client("workspaces-web").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
    clientToken: str = ...,
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes one or more tags from the specified resource.

Type annotations and code completion for boto3.client("workspaces-web").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_browser_settings#

Updates browser settings.

Type annotations and code completion for boto3.client("workspaces-web").update_browser_settings method. boto3 documentation

# update_browser_settings method definition

def update_browser_settings(
    self,
    *,
    browserSettingsArn: str,
    browserPolicy: str = ...,
    clientToken: str = ...,
) -> UpdateBrowserSettingsResponseTypeDef:  # (1)
    ...
  1. See UpdateBrowserSettingsResponseTypeDef
# update_browser_settings method usage example with argument unpacking

kwargs: UpdateBrowserSettingsRequestRequestTypeDef = {  # (1)
    "browserSettingsArn": ...,
}

parent.update_browser_settings(**kwargs)
  1. See UpdateBrowserSettingsRequestRequestTypeDef

update_data_protection_settings#

Updates data protection settings.

Type annotations and code completion for boto3.client("workspaces-web").update_data_protection_settings method. boto3 documentation

# update_data_protection_settings method definition

def update_data_protection_settings(
    self,
    *,
    dataProtectionSettingsArn: str,
    clientToken: str = ...,
    description: str = ...,
    displayName: str = ...,
    inlineRedactionConfiguration: InlineRedactionConfigurationTypeDef = ...,  # (1)
) -> UpdateDataProtectionSettingsResponseTypeDef:  # (2)
    ...
  1. See InlineRedactionConfigurationTypeDef
  2. See UpdateDataProtectionSettingsResponseTypeDef
# update_data_protection_settings method usage example with argument unpacking

kwargs: UpdateDataProtectionSettingsRequestRequestTypeDef = {  # (1)
    "dataProtectionSettingsArn": ...,
}

parent.update_data_protection_settings(**kwargs)
  1. See UpdateDataProtectionSettingsRequestRequestTypeDef

update_identity_provider#

Updates the identity provider.

Type annotations and code completion for boto3.client("workspaces-web").update_identity_provider method. boto3 documentation

# update_identity_provider method definition

def update_identity_provider(
    self,
    *,
    identityProviderArn: str,
    clientToken: str = ...,
    identityProviderDetails: Mapping[str, str] = ...,
    identityProviderName: str = ...,
    identityProviderType: IdentityProviderTypeType = ...,  # (1)
) -> UpdateIdentityProviderResponseTypeDef:  # (2)
    ...
  1. See IdentityProviderTypeType
  2. See UpdateIdentityProviderResponseTypeDef
# update_identity_provider method usage example with argument unpacking

kwargs: UpdateIdentityProviderRequestRequestTypeDef = {  # (1)
    "identityProviderArn": ...,
}

parent.update_identity_provider(**kwargs)
  1. See UpdateIdentityProviderRequestRequestTypeDef

update_ip_access_settings#

Updates IP access settings.

Type annotations and code completion for boto3.client("workspaces-web").update_ip_access_settings method. boto3 documentation

# update_ip_access_settings method definition

def update_ip_access_settings(
    self,
    *,
    ipAccessSettingsArn: str,
    clientToken: str = ...,
    description: str = ...,
    displayName: str = ...,
    ipRules: Sequence[IpRuleTypeDef] = ...,  # (1)
) -> UpdateIpAccessSettingsResponseTypeDef:  # (2)
    ...
  1. See IpRuleTypeDef
  2. See UpdateIpAccessSettingsResponseTypeDef
# update_ip_access_settings method usage example with argument unpacking

kwargs: UpdateIpAccessSettingsRequestRequestTypeDef = {  # (1)
    "ipAccessSettingsArn": ...,
}

parent.update_ip_access_settings(**kwargs)
  1. See UpdateIpAccessSettingsRequestRequestTypeDef

update_network_settings#

Updates network settings.

Type annotations and code completion for boto3.client("workspaces-web").update_network_settings method. boto3 documentation

# update_network_settings method definition

def update_network_settings(
    self,
    *,
    networkSettingsArn: str,
    clientToken: str = ...,
    securityGroupIds: Sequence[str] = ...,
    subnetIds: Sequence[str] = ...,
    vpcId: str = ...,
) -> UpdateNetworkSettingsResponseTypeDef:  # (1)
    ...
  1. See UpdateNetworkSettingsResponseTypeDef
# update_network_settings method usage example with argument unpacking

kwargs: UpdateNetworkSettingsRequestRequestTypeDef = {  # (1)
    "networkSettingsArn": ...,
}

parent.update_network_settings(**kwargs)
  1. See UpdateNetworkSettingsRequestRequestTypeDef

update_portal#

Updates a web portal.

Type annotations and code completion for boto3.client("workspaces-web").update_portal method. boto3 documentation

# update_portal method definition

def update_portal(
    self,
    *,
    portalArn: str,
    authenticationType: AuthenticationTypeType = ...,  # (1)
    displayName: str = ...,
    instanceType: InstanceTypeType = ...,  # (2)
    maxConcurrentSessions: int = ...,
) -> UpdatePortalResponseTypeDef:  # (3)
    ...
  1. See AuthenticationTypeType
  2. See InstanceTypeType
  3. See UpdatePortalResponseTypeDef
# update_portal method usage example with argument unpacking

kwargs: UpdatePortalRequestRequestTypeDef = {  # (1)
    "portalArn": ...,
}

parent.update_portal(**kwargs)
  1. See UpdatePortalRequestRequestTypeDef

update_trust_store#

Updates the trust store.

Type annotations and code completion for boto3.client("workspaces-web").update_trust_store method. boto3 documentation

# update_trust_store method definition

def update_trust_store(
    self,
    *,
    trustStoreArn: str,
    certificatesToAdd: Sequence[BlobTypeDef] = ...,
    certificatesToDelete: Sequence[str] = ...,
    clientToken: str = ...,
) -> UpdateTrustStoreResponseTypeDef:  # (1)
    ...
  1. See UpdateTrustStoreResponseTypeDef
# update_trust_store method usage example with argument unpacking

kwargs: UpdateTrustStoreRequestRequestTypeDef = {  # (1)
    "trustStoreArn": ...,
}

parent.update_trust_store(**kwargs)
  1. See UpdateTrustStoreRequestRequestTypeDef

update_user_access_logging_settings#

Updates the user access logging settings.

Type annotations and code completion for boto3.client("workspaces-web").update_user_access_logging_settings method. boto3 documentation

# update_user_access_logging_settings method definition

def update_user_access_logging_settings(
    self,
    *,
    userAccessLoggingSettingsArn: str,
    clientToken: str = ...,
    kinesisStreamArn: str = ...,
) -> UpdateUserAccessLoggingSettingsResponseTypeDef:  # (1)
    ...
  1. See UpdateUserAccessLoggingSettingsResponseTypeDef
# update_user_access_logging_settings method usage example with argument unpacking

kwargs: UpdateUserAccessLoggingSettingsRequestRequestTypeDef = {  # (1)
    "userAccessLoggingSettingsArn": ...,
}

parent.update_user_access_logging_settings(**kwargs)
  1. See UpdateUserAccessLoggingSettingsRequestRequestTypeDef

update_user_settings#

Updates the user settings.

Type annotations and code completion for boto3.client("workspaces-web").update_user_settings method. boto3 documentation

# update_user_settings method definition

def update_user_settings(
    self,
    *,
    userSettingsArn: str,
    clientToken: str = ...,
    cookieSynchronizationConfiguration: CookieSynchronizationConfigurationTypeDef = ...,  # (1)
    copyAllowed: EnabledTypeType = ...,  # (2)
    deepLinkAllowed: EnabledTypeType = ...,  # (2)
    disconnectTimeoutInMinutes: int = ...,
    downloadAllowed: EnabledTypeType = ...,  # (2)
    idleDisconnectTimeoutInMinutes: int = ...,
    pasteAllowed: EnabledTypeType = ...,  # (2)
    printAllowed: EnabledTypeType = ...,  # (2)
    uploadAllowed: EnabledTypeType = ...,  # (2)
) -> UpdateUserSettingsResponseTypeDef:  # (8)
    ...
  1. See CookieSynchronizationConfigurationTypeDef
  2. See EnabledTypeType
  3. See EnabledTypeType
  4. See EnabledTypeType
  5. See EnabledTypeType
  6. See EnabledTypeType
  7. See EnabledTypeType
  8. See UpdateUserSettingsResponseTypeDef
# update_user_settings method usage example with argument unpacking

kwargs: UpdateUserSettingsRequestRequestTypeDef = {  # (1)
    "userSettingsArn": ...,
}

parent.update_user_settings(**kwargs)
  1. See UpdateUserSettingsRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("workspaces-web").get_paginator method with overloads.