Skip to content

SupportAppClient#

Index > SupportApp > SupportAppClient

Auto-generated documentation for SupportApp type annotations stubs module types-aiobotocore-support-app.

SupportAppClient#

Type annotations and code completion for session.create_client("support-app") boto3 documentation

SupportAppClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_support_app.client import SupportAppClient

session = get_session()
async with session.create_client("support-app") as client:
    client: SupportAppClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("support-app").exceptions structure.

SupportAppClient.exceptions usage example

async with session.create_client("support-app") as client:
    try:
        do_something(client)
    except (
            client.AccessDeniedException,
        client.ClientError,
        client.ConflictException,
        client.InternalServerException,
        client.ResourceNotFoundException,
        client.ServiceQuotaExceededException,
        client.ValidationException,
    ) as e:
        print(e)
SupportAppClient usage type checking example

from types_aiobotocore_support_app.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for session.create_client("support-app").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 session.create_client("support-app").close method. boto3 documentation

# close method definition

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

create_slack_channel_configuration#

Creates a Slack channel configuration for your Amazon Web Services account.

Type annotations and code completion for session.create_client("support-app").create_slack_channel_configuration method. boto3 documentation

# create_slack_channel_configuration method definition

await 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]:
    ...
  1. See NotificationSeverityLevelType
# create_slack_channel_configuration method usage example with argument unpacking

kwargs: CreateSlackChannelConfigurationRequestRequestTypeDef = {  # (1)
    "channelId": ...,
    "channelRoleArn": ...,
    "notifyOnCaseSeverity": ...,
    "teamId": ...,
}

parent.create_slack_channel_configuration(**kwargs)
  1. See CreateSlackChannelConfigurationRequestRequestTypeDef

delete_account_alias#

Deletes an alias for an Amazon Web Services account ID.

Type annotations and code completion for session.create_client("support-app").delete_account_alias method. boto3 documentation

# delete_account_alias method definition

await 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 session.create_client("support-app").delete_slack_channel_configuration method. boto3 documentation

# delete_slack_channel_configuration method definition

await 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)
  1. See DeleteSlackChannelConfigurationRequestRequestTypeDef

delete_slack_workspace_configuration#

Deletes a Slack workspace configuration from your Amazon Web Services account.

Type annotations and code completion for session.create_client("support-app").delete_slack_workspace_configuration method. boto3 documentation

# delete_slack_workspace_configuration method definition

await 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)
  1. See DeleteSlackWorkspaceConfigurationRequestRequestTypeDef

generate_presigned_url#

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

Type annotations and code completion for session.create_client("support-app").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

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

get_account_alias#

Retrieves the alias from an Amazon Web Services account ID.

Type annotations and code completion for session.create_client("support-app").get_account_alias method. boto3 documentation

# get_account_alias method definition

await def get_account_alias(
    self,
) -> GetAccountAliasResultTypeDef:  # (1)
    ...
  1. See GetAccountAliasResultTypeDef

list_slack_channel_configurations#

Lists the Slack channel configurations for an Amazon Web Services account.

Type annotations and code completion for session.create_client("support-app").list_slack_channel_configurations method. boto3 documentation

# list_slack_channel_configurations method definition

await def list_slack_channel_configurations(
    self,
    *,
    nextToken: str = ...,
) -> ListSlackChannelConfigurationsResultTypeDef:  # (1)
    ...
  1. See ListSlackChannelConfigurationsResultTypeDef
# list_slack_channel_configurations method usage example with argument unpacking

kwargs: ListSlackChannelConfigurationsRequestRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_slack_channel_configurations(**kwargs)
  1. See ListSlackChannelConfigurationsRequestRequestTypeDef

list_slack_workspace_configurations#

Lists the Slack workspace configurations for an Amazon Web Services account.

Type annotations and code completion for session.create_client("support-app").list_slack_workspace_configurations method. boto3 documentation

# list_slack_workspace_configurations method definition

await def list_slack_workspace_configurations(
    self,
    *,
    nextToken: str = ...,
) -> ListSlackWorkspaceConfigurationsResultTypeDef:  # (1)
    ...
  1. See ListSlackWorkspaceConfigurationsResultTypeDef
# list_slack_workspace_configurations method usage example with argument unpacking

kwargs: ListSlackWorkspaceConfigurationsRequestRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_slack_workspace_configurations(**kwargs)
  1. See ListSlackWorkspaceConfigurationsRequestRequestTypeDef

put_account_alias#

Creates or updates an individual alias for each Amazon Web Services account ID.

Type annotations and code completion for session.create_client("support-app").put_account_alias method. boto3 documentation

# put_account_alias method definition

await 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)
  1. See PutAccountAliasRequestRequestTypeDef

register_slack_workspace_for_organization#

Registers a Slack workspace for your Amazon Web Services account.

Type annotations and code completion for session.create_client("support-app").register_slack_workspace_for_organization method. boto3 documentation

# register_slack_workspace_for_organization method definition

await def register_slack_workspace_for_organization(
    self,
    *,
    teamId: str,
) -> RegisterSlackWorkspaceForOrganizationResultTypeDef:  # (1)
    ...
  1. See RegisterSlackWorkspaceForOrganizationResultTypeDef
# register_slack_workspace_for_organization method usage example with argument unpacking

kwargs: RegisterSlackWorkspaceForOrganizationRequestRequestTypeDef = {  # (1)
    "teamId": ...,
}

parent.register_slack_workspace_for_organization(**kwargs)
  1. See RegisterSlackWorkspaceForOrganizationRequestRequestTypeDef

update_slack_channel_configuration#

Updates the configuration for a Slack channel, such as case update notifications.

Type annotations and code completion for session.create_client("support-app").update_slack_channel_configuration method. boto3 documentation

# update_slack_channel_configuration method definition

await 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)
    ...
  1. See NotificationSeverityLevelType
  2. See UpdateSlackChannelConfigurationResultTypeDef
# update_slack_channel_configuration method usage example with argument unpacking

kwargs: UpdateSlackChannelConfigurationRequestRequestTypeDef = {  # (1)
    "channelId": ...,
    "teamId": ...,
}

parent.update_slack_channel_configuration(**kwargs)
  1. See UpdateSlackChannelConfigurationRequestRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("support-app").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> SupportAppClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("support-app").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...