SSMGUIConnectClient#
Index > SSMGUIConnect > SSMGUIConnectClient
Auto-generated documentation for SSMGUIConnect type annotations stubs module mypy-boto3-ssm-guiconnect.
SSMGUIConnectClient#
Type annotations and code completion for boto3.client("ssm-guiconnect")
.
boto3 documentation
# SSMGUIConnectClient usage example
from boto3.session import Session
from mypy_boto3_ssm_guiconnect.client import SSMGUIConnectClient
def get_ssm-guiconnect_client() -> SSMGUIConnectClient:
return Session().client("ssm-guiconnect")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("ssm-guiconnect").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("ssm-guiconnect")
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.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_ssm_guiconnect.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("ssm-guiconnect").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("ssm-guiconnect").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:
...
delete_connection_recording_preferences#
Deletes the preferences for recording RDP connections.
Type annotations and code completion for boto3.client("ssm-guiconnect").delete_connection_recording_preferences
method.
boto3 documentation
# delete_connection_recording_preferences method definition
def delete_connection_recording_preferences(
self,
*,
ClientToken: str = ...,
) -> DeleteConnectionRecordingPreferencesResponseTypeDef: # (1)
...
# delete_connection_recording_preferences method usage example with argument unpacking
kwargs: DeleteConnectionRecordingPreferencesRequestTypeDef = { # (1)
"ClientToken": ...,
}
parent.delete_connection_recording_preferences(**kwargs)
get_connection_recording_preferences#
Returns the preferences specified for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region.
Type annotations and code completion for boto3.client("ssm-guiconnect").get_connection_recording_preferences
method.
boto3 documentation
# get_connection_recording_preferences method definition
def get_connection_recording_preferences(
self,
) -> GetConnectionRecordingPreferencesResponseTypeDef: # (1)
...
update_connection_recording_preferences#
Updates the preferences for recording RDP connections.
Type annotations and code completion for boto3.client("ssm-guiconnect").update_connection_recording_preferences
method.
boto3 documentation
# update_connection_recording_preferences method definition
def update_connection_recording_preferences(
self,
*,
ConnectionRecordingPreferences: ConnectionRecordingPreferencesUnionTypeDef, # (1)
ClientToken: str = ...,
) -> UpdateConnectionRecordingPreferencesResponseTypeDef: # (2)
...
- See ConnectionRecordingPreferencesUnionTypeDef
- See UpdateConnectionRecordingPreferencesResponseTypeDef
# update_connection_recording_preferences method usage example with argument unpacking
kwargs: UpdateConnectionRecordingPreferencesRequestTypeDef = { # (1)
"ConnectionRecordingPreferences": ...,
}
parent.update_connection_recording_preferences(**kwargs)