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
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.
client = boto3.client("support-app")
try:
do_something(client)
except (
client.AccessDeniedException,
client.ClientError,
client.ConflictException,
client.InternalServerException,
client.ResourceNotFoundException,
client.ServiceQuotaExceededException,
client.ValidationException,
) as e:
print(e)
from mypy_boto3_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 boto3.client("support-app").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("support-app").close
method.
boto3 documentation
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
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]:
...
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_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
def delete_slack_channel_configuration(
self,
*,
channelId: str,
teamId: str,
) -> Dict[str, Any]:
...
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
def delete_slack_workspace_configuration(
self,
*,
teamId: str,
) -> Dict[str, Any]:
...
kwargs: DeleteSlackWorkspaceConfigurationRequestRequestTypeDef = { # (1)
"teamId": ...,
}
parent.delete_slack_workspace_configuration(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("support-app").generate_presigned_url
method.
boto3 documentation
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 boto3.client("support-app").get_account_alias
method.
boto3 documentation
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
def list_slack_channel_configurations(
self,
*,
nextToken: str = ...,
) -> ListSlackChannelConfigurationsResultTypeDef: # (1)
...
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
def list_slack_workspace_configurations(
self,
*,
nextToken: str = ...,
) -> ListSlackWorkspaceConfigurationsResultTypeDef: # (1)
...
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
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
def register_slack_workspace_for_organization(
self,
*,
teamId: str,
) -> RegisterSlackWorkspaceForOrganizationResultTypeDef: # (1)
...
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
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)
...