SupportClient
Auto-generated documentation for Support type annotations stubs module types-aiobotocore-support.
SupportClient
Type annotations and code completion for session.client("support")
boto3 documentation
from aioboto3.session import Session
from types_aiobotocore_support.client import SupportClient
session = Session()
async with session.client("support") as client:
client: SupportClient
Exceptions
aioboto3
client exceptions are generated in runtime.
This class provides code completion for session.client("support").exceptions
structure.
async with session.client("support") as client:
try:
do_something(client)
except (
client.AttachmentIdNotFound,
client.AttachmentLimitExceeded,
client.AttachmentSetExpired,
client.AttachmentSetIdNotFound,
client.AttachmentSetSizeLimitExceeded,
client.CaseCreationLimitExceeded,
client.CaseIdNotFound,
client.ClientError,
client.DescribeAttachmentLimitExceeded,
client.InternalServerError,
) as e:
print(e)
from types_aiobotocore_support.client import Exceptions
def handle_error(exc: Exceptions.AttachmentIdNotFound) -> None:
...
Methods
add_attachments_to_set
Adds one or more attachments to an attachment set.
Type annotations and code completion for session.client("support").add_attachments_to_set
method.
boto3 documentation
await def add_attachments_to_set(
self,
*,
attachments: Sequence[AttachmentTypeDef], # (1)
attachmentSetId: str = ...,
) -> AddAttachmentsToSetResponseTypeDef: # (2)
...
kwargs: AddAttachmentsToSetRequestRequestTypeDef = { # (1)
"attachments": ...,
}
parent.add_attachments_to_set(**kwargs)
add_communication_to_case
Adds additional customer communication to an Amazon Web Services Support case.
Type annotations and code completion for session.client("support").add_communication_to_case
method.
boto3 documentation
await def add_communication_to_case(
self,
*,
communicationBody: str,
caseId: str = ...,
ccEmailAddresses: Sequence[str] = ...,
attachmentSetId: str = ...,
) -> AddCommunicationToCaseResponseTypeDef: # (1)
...
kwargs: AddCommunicationToCaseRequestRequestTypeDef = { # (1)
"communicationBody": ...,
}
parent.add_communication_to_case(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for session.client("support").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for session.client("support").close
method.
boto3 documentation
create_case
Creates a case in the Amazon Web Services Support Center.
Type annotations and code completion for session.client("support").create_case
method.
boto3 documentation
await def create_case(
self,
*,
subject: str,
communicationBody: str,
serviceCode: str = ...,
severityCode: str = ...,
categoryCode: str = ...,
ccEmailAddresses: Sequence[str] = ...,
language: str = ...,
issueType: str = ...,
attachmentSetId: str = ...,
) -> CreateCaseResponseTypeDef: # (1)
...
kwargs: CreateCaseRequestRequestTypeDef = { # (1)
"subject": ...,
"communicationBody": ...,
}
parent.create_case(**kwargs)
describe_attachment
Returns the attachment that has the specified ID.
Type annotations and code completion for session.client("support").describe_attachment
method.
boto3 documentation
await def describe_attachment(
self,
*,
attachmentId: str,
) -> DescribeAttachmentResponseTypeDef: # (1)
...
kwargs: DescribeAttachmentRequestRequestTypeDef = { # (1)
"attachmentId": ...,
}
parent.describe_attachment(**kwargs)
describe_cases
Returns a list of cases that you specify by passing one or more case IDs.
Type annotations and code completion for session.client("support").describe_cases
method.
boto3 documentation
await def describe_cases(
self,
*,
caseIdList: Sequence[str] = ...,
displayId: str = ...,
afterTime: str = ...,
beforeTime: str = ...,
includeResolvedCases: bool = ...,
nextToken: str = ...,
maxResults: int = ...,
language: str = ...,
includeCommunications: bool = ...,
) -> DescribeCasesResponseTypeDef: # (1)
...
kwargs: DescribeCasesRequestRequestTypeDef = { # (1)
"caseIdList": ...,
}
parent.describe_cases(**kwargs)
describe_communications
Returns communications and attachments for one or more support cases.
Type annotations and code completion for session.client("support").describe_communications
method.
boto3 documentation
await def describe_communications(
self,
*,
caseId: str,
beforeTime: str = ...,
afterTime: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> DescribeCommunicationsResponseTypeDef: # (1)
...
kwargs: DescribeCommunicationsRequestRequestTypeDef = { # (1)
"caseId": ...,
}
parent.describe_communications(**kwargs)
describe_services
Returns the current list of Amazon Web Services services and a list of service categories for each service.
Type annotations and code completion for session.client("support").describe_services
method.
boto3 documentation
await def describe_services(
self,
*,
serviceCodeList: Sequence[str] = ...,
language: str = ...,
) -> DescribeServicesResponseTypeDef: # (1)
...
kwargs: DescribeServicesRequestRequestTypeDef = { # (1)
"serviceCodeList": ...,
}
parent.describe_services(**kwargs)
describe_severity_levels
Returns the list of severity levels that you can assign to a support case.
Type annotations and code completion for session.client("support").describe_severity_levels
method.
boto3 documentation
await def describe_severity_levels(
self,
*,
language: str = ...,
) -> DescribeSeverityLevelsResponseTypeDef: # (1)
...
kwargs: DescribeSeverityLevelsRequestRequestTypeDef = { # (1)
"language": ...,
}
parent.describe_severity_levels(**kwargs)
describe_trusted_advisor_check_refresh_statuses
Returns the refresh status of the Trusted Advisor checks that have the specified check IDs.
Type annotations and code completion for session.client("support").describe_trusted_advisor_check_refresh_statuses
method.
boto3 documentation
await def describe_trusted_advisor_check_refresh_statuses(
self,
*,
checkIds: Sequence[str],
) -> DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef: # (1)
...
kwargs: DescribeTrustedAdvisorCheckRefreshStatusesRequestRequestTypeDef = { # (1)
"checkIds": ...,
}
parent.describe_trusted_advisor_check_refresh_statuses(**kwargs)
describe_trusted_advisor_check_result
Returns the results of the Trusted Advisor check that has the specified check ID.
Type annotations and code completion for session.client("support").describe_trusted_advisor_check_result
method.
boto3 documentation
await def describe_trusted_advisor_check_result(
self,
*,
checkId: str,
language: str = ...,
) -> DescribeTrustedAdvisorCheckResultResponseTypeDef: # (1)
...
kwargs: DescribeTrustedAdvisorCheckResultRequestRequestTypeDef = { # (1)
"checkId": ...,
}
parent.describe_trusted_advisor_check_result(**kwargs)
describe_trusted_advisor_check_summaries
Returns the results for the Trusted Advisor check summaries for the check IDs that you specified.
Type annotations and code completion for session.client("support").describe_trusted_advisor_check_summaries
method.
boto3 documentation
await def describe_trusted_advisor_check_summaries(
self,
*,
checkIds: Sequence[str],
) -> DescribeTrustedAdvisorCheckSummariesResponseTypeDef: # (1)
...
kwargs: DescribeTrustedAdvisorCheckSummariesRequestRequestTypeDef = { # (1)
"checkIds": ...,
}
parent.describe_trusted_advisor_check_summaries(**kwargs)
describe_trusted_advisor_checks
Returns information about all available Trusted Advisor checks, including the name, ID, category, description, and metadata.
Type annotations and code completion for session.client("support").describe_trusted_advisor_checks
method.
boto3 documentation
await def describe_trusted_advisor_checks(
self,
*,
language: str,
) -> DescribeTrustedAdvisorChecksResponseTypeDef: # (1)
...
kwargs: DescribeTrustedAdvisorChecksRequestRequestTypeDef = { # (1)
"language": ...,
}
parent.describe_trusted_advisor_checks(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for session.client("support").generate_presigned_url
method.
boto3 documentation
await def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
refresh_trusted_advisor_check
Refreshes the Trusted Advisor check that you specify using the check ID.
Type annotations and code completion for session.client("support").refresh_trusted_advisor_check
method.
boto3 documentation
await def refresh_trusted_advisor_check(
self,
*,
checkId: str,
) -> RefreshTrustedAdvisorCheckResponseTypeDef: # (1)
...
kwargs: RefreshTrustedAdvisorCheckRequestRequestTypeDef = { # (1)
"checkId": ...,
}
parent.refresh_trusted_advisor_check(**kwargs)
resolve_case
Resolves a support case.
Type annotations and code completion for session.client("support").resolve_case
method.
boto3 documentation
await def resolve_case(
self,
*,
caseId: str = ...,
) -> ResolveCaseResponseTypeDef: # (1)
...
kwargs: ResolveCaseRequestRequestTypeDef = { # (1)
"caseId": ...,
}
parent.resolve_case(**kwargs)
__aenter__
Type annotations and code completion for session.client("support").__aenter__
method.
boto3 documentation
__aexit__
Type annotations and code completion for session.client("support").__aexit__
method.
boto3 documentation
get_paginator
Type annotations and code completion for session.client("support").get_paginator
method with overloads.
client.get_paginator("describe_cases")
-> DescribeCasesPaginatorclient.get_paginator("describe_communications")
-> DescribeCommunicationsPaginator