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.client("support-app") boto3 documentation

Usage example
from aioboto3.session import Session
from types_aiobotocore_support_app.client import SupportAppClient

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

Exceptions

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

Usage example
async with session.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)
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.client("support-app").can_paginate method. boto3 documentation

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

close

Closes underlying endpoint connections.

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

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.client("support-app").create_slack_channel_configuration method. boto3 documentation

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
Usage example with kwargs
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.client("support-app").delete_account_alias method. boto3 documentation

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

Method definition
await def delete_slack_channel_configuration(
    self,
    *,
    channelId: str,
    teamId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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.client("support-app").delete_slack_workspace_configuration method. boto3 documentation

Method definition
await def delete_slack_workspace_configuration(
    self,
    *,
    teamId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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.client("support-app").generate_presigned_url method. boto3 documentation

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.client("support-app").get_account_alias method. boto3 documentation

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.client("support-app").list_slack_channel_configurations method. boto3 documentation

Method definition
await def list_slack_channel_configurations(
    self,
    *,
    nextToken: str = ...,
) -> ListSlackChannelConfigurationsResultTypeDef:  # (1)
    ...
  1. See ListSlackChannelConfigurationsResultTypeDef
Usage example with kwargs
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.client("support-app").list_slack_workspace_configurations method. boto3 documentation

Method definition
await def list_slack_workspace_configurations(
    self,
    *,
    nextToken: str = ...,
) -> ListSlackWorkspaceConfigurationsResultTypeDef:  # (1)
    ...
  1. See ListSlackWorkspaceConfigurationsResultTypeDef
Usage example with kwargs
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.client("support-app").put_account_alias method. boto3 documentation

Method definition
await def put_account_alias(
    self,
    *,
    accountAlias: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: PutAccountAliasRequestRequestTypeDef = {  # (1)
    "accountAlias": ...,
}

parent.put_account_alias(**kwargs)
  1. See PutAccountAliasRequestRequestTypeDef

update_slack_channel_configuration

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

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

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
Usage example with kwargs
kwargs: UpdateSlackChannelConfigurationRequestRequestTypeDef = {  # (1)
    "channelId": ...,
    "teamId": ...,
}

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

__aenter__

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

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

__aexit__

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

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