SupportAppClient#
Index > SupportApp > SupportAppClient
Auto-generated documentation for SupportApp type annotations stubs module mypy-boto3-support-app.
SupportAppClient#
Type annotations and code completion for boto3.client("support-app")
.
boto3 documentation
# SupportAppClient usage example
from boto3.session import Session
from mypy_boto3_support_app.client import SupportAppClient
def get_support-app_client() -> SupportAppClient:
return Session().client("support-app")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("support-app").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("support-app")
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.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_support_app.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("support-app").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("support-app").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:
...
create_slack_channel_configuration#
Creates a Slack channel configuration for your Amazon Web Services account.
Type annotations and code completion for boto3.client("support-app").create_slack_channel_configuration
method.
boto3 documentation
# create_slack_channel_configuration method definition
def create_slack_channel_configuration(
self,
*,
channelId: str,
channelRoleArn: str,
notifyOnCaseSeverity: NotificationSeverityLevelType, # (1)
teamId: str,
channelName: str = ...,
notifyOnAddCorrespondenceToCase: bool = ...,
notifyOnCreateOrReopenCase: bool = ...,
notifyOnResolveCase: bool = ...,
) -> dict[str, Any]:
...
# create_slack_channel_configuration method usage example with argument unpacking
kwargs: CreateSlackChannelConfigurationRequestRequestTypeDef = { # (1)
"channelId": ...,
"channelRoleArn": ...,
"notifyOnCaseSeverity": ...,
"teamId": ...,
}
parent.create_slack_channel_configuration(**kwargs)
delete_account_alias#
Deletes an alias for an Amazon Web Services account ID.
Type annotations and code completion for boto3.client("support-app").delete_account_alias
method.
boto3 documentation
# delete_account_alias method definition
def delete_account_alias(
self,
) -> dict[str, Any]:
...
delete_slack_channel_configuration#
Deletes a Slack channel configuration from your Amazon Web Services account.
Type annotations and code completion for boto3.client("support-app").delete_slack_channel_configuration
method.
boto3 documentation
# delete_slack_channel_configuration method definition
def delete_slack_channel_configuration(
self,
*,
channelId: str,
teamId: str,
) -> dict[str, Any]:
...
# delete_slack_channel_configuration method usage example with argument unpacking
kwargs: DeleteSlackChannelConfigurationRequestRequestTypeDef = { # (1)
"channelId": ...,
"teamId": ...,
}
parent.delete_slack_channel_configuration(**kwargs)
delete_slack_workspace_configuration#
Deletes a Slack workspace configuration from your Amazon Web Services account.
Type annotations and code completion for boto3.client("support-app").delete_slack_workspace_configuration
method.
boto3 documentation
# delete_slack_workspace_configuration method definition
def delete_slack_workspace_configuration(
self,
*,
teamId: str,
) -> dict[str, Any]:
...
# delete_slack_workspace_configuration method usage example with argument unpacking
kwargs: DeleteSlackWorkspaceConfigurationRequestRequestTypeDef = { # (1)
"teamId": ...,
}
parent.delete_slack_workspace_configuration(**kwargs)
get_account_alias#
Retrieves the alias from an Amazon Web Services account ID.
Type annotations and code completion for boto3.client("support-app").get_account_alias
method.
boto3 documentation
# get_account_alias method definition
def get_account_alias(
self,
) -> GetAccountAliasResultTypeDef: # (1)
...
list_slack_channel_configurations#
Lists the Slack channel configurations for an Amazon Web Services account.
Type annotations and code completion for boto3.client("support-app").list_slack_channel_configurations
method.
boto3 documentation
# list_slack_channel_configurations method definition
def list_slack_channel_configurations(
self,
*,
nextToken: str = ...,
) -> ListSlackChannelConfigurationsResultTypeDef: # (1)
...
# list_slack_channel_configurations method usage example with argument unpacking
kwargs: ListSlackChannelConfigurationsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_slack_channel_configurations(**kwargs)
list_slack_workspace_configurations#
Lists the Slack workspace configurations for an Amazon Web Services account.
Type annotations and code completion for boto3.client("support-app").list_slack_workspace_configurations
method.
boto3 documentation
# list_slack_workspace_configurations method definition
def list_slack_workspace_configurations(
self,
*,
nextToken: str = ...,
) -> ListSlackWorkspaceConfigurationsResultTypeDef: # (1)
...
# list_slack_workspace_configurations method usage example with argument unpacking
kwargs: ListSlackWorkspaceConfigurationsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_slack_workspace_configurations(**kwargs)
put_account_alias#
Creates or updates an individual alias for each Amazon Web Services account ID.
Type annotations and code completion for boto3.client("support-app").put_account_alias
method.
boto3 documentation
# put_account_alias method definition
def put_account_alias(
self,
*,
accountAlias: str,
) -> dict[str, Any]:
...
# put_account_alias method usage example with argument unpacking
kwargs: PutAccountAliasRequestRequestTypeDef = { # (1)
"accountAlias": ...,
}
parent.put_account_alias(**kwargs)
register_slack_workspace_for_organization#
Registers a Slack workspace for your Amazon Web Services account.
Type annotations and code completion for boto3.client("support-app").register_slack_workspace_for_organization
method.
boto3 documentation
# register_slack_workspace_for_organization method definition
def register_slack_workspace_for_organization(
self,
*,
teamId: str,
) -> RegisterSlackWorkspaceForOrganizationResultTypeDef: # (1)
...
# register_slack_workspace_for_organization method usage example with argument unpacking
kwargs: RegisterSlackWorkspaceForOrganizationRequestRequestTypeDef = { # (1)
"teamId": ...,
}
parent.register_slack_workspace_for_organization(**kwargs)
update_slack_channel_configuration#
Updates the configuration for a Slack channel, such as case update notifications.
Type annotations and code completion for boto3.client("support-app").update_slack_channel_configuration
method.
boto3 documentation
# update_slack_channel_configuration method definition
def update_slack_channel_configuration(
self,
*,
channelId: str,
teamId: str,
channelName: str = ...,
channelRoleArn: str = ...,
notifyOnAddCorrespondenceToCase: bool = ...,
notifyOnCaseSeverity: NotificationSeverityLevelType = ..., # (1)
notifyOnCreateOrReopenCase: bool = ...,
notifyOnResolveCase: bool = ...,
) -> UpdateSlackChannelConfigurationResultTypeDef: # (2)
...
# update_slack_channel_configuration method usage example with argument unpacking
kwargs: UpdateSlackChannelConfigurationRequestRequestTypeDef = { # (1)
"channelId": ...,
"teamId": ...,
}
parent.update_slack_channel_configuration(**kwargs)