CloudWatchApplicationSignalsClient#
Index > CloudWatchApplicationSignals > CloudWatchApplicationSignalsClient
Auto-generated documentation for CloudWatchApplicationSignals type annotations stubs module mypy-boto3-application-signals.
CloudWatchApplicationSignalsClient#
Type annotations and code completion for boto3.client("application-signals")
.
boto3 documentation
# CloudWatchApplicationSignalsClient usage example
from boto3.session import Session
from mypy_boto3_application_signals.client import CloudWatchApplicationSignalsClient
def get_application-signals_client() -> CloudWatchApplicationSignalsClient:
return Session().client("application-signals")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("application-signals").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("application-signals")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_application_signals.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
batch_get_service_level_objective_budget_report#
Use this operation to retrieve one or more service level objective (SLO) budget reports.
Type annotations and code completion for boto3.client("application-signals").batch_get_service_level_objective_budget_report
method.
boto3 documentation
# batch_get_service_level_objective_budget_report method definition
def batch_get_service_level_objective_budget_report(
self,
*,
Timestamp: Union[datetime, str],
SloIds: Sequence[str],
) -> BatchGetServiceLevelObjectiveBudgetReportOutputTypeDef: # (1)
...
# batch_get_service_level_objective_budget_report method usage example with argument unpacking
kwargs: BatchGetServiceLevelObjectiveBudgetReportInputRequestTypeDef = { # (1)
"Timestamp": ...,
"SloIds": ...,
}
parent.batch_get_service_level_objective_budget_report(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("application-signals").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 boto3.client("application-signals").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_service_level_objective#
Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations.
Type annotations and code completion for boto3.client("application-signals").create_service_level_objective
method.
boto3 documentation
# create_service_level_objective method definition
def create_service_level_objective(
self,
*,
Name: str,
Description: str = ...,
SliConfig: ServiceLevelIndicatorConfigTypeDef = ..., # (1)
RequestBasedSliConfig: RequestBasedServiceLevelIndicatorConfigTypeDef = ..., # (2)
Goal: Union[GoalTypeDef, GoalOutputTypeDef] = ..., # (3)
Tags: Sequence[TagTypeDef] = ..., # (4)
) -> CreateServiceLevelObjectiveOutputTypeDef: # (5)
...
- See ServiceLevelIndicatorConfigTypeDef
- See RequestBasedServiceLevelIndicatorConfigTypeDef
- See GoalTypeDef GoalOutputTypeDef
- See TagTypeDef
- See CreateServiceLevelObjectiveOutputTypeDef
# create_service_level_objective method usage example with argument unpacking
kwargs: CreateServiceLevelObjectiveInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_service_level_objective(**kwargs)
delete_service_level_objective#
Deletes the specified service level objective.
Type annotations and code completion for boto3.client("application-signals").delete_service_level_objective
method.
boto3 documentation
# delete_service_level_objective method definition
def delete_service_level_objective(
self,
*,
Id: str,
) -> Dict[str, Any]:
...
# delete_service_level_objective method usage example with argument unpacking
kwargs: DeleteServiceLevelObjectiveInputRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_service_level_objective(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("application-signals").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:
...
get_service#
Returns information about a service discovered by Application Signals.
Type annotations and code completion for boto3.client("application-signals").get_service
method.
boto3 documentation
# get_service method definition
def get_service(
self,
*,
StartTime: Union[datetime, str],
EndTime: Union[datetime, str],
KeyAttributes: Mapping[str, str],
) -> GetServiceOutputTypeDef: # (1)
...
# get_service method usage example with argument unpacking
kwargs: GetServiceInputRequestTypeDef = { # (1)
"StartTime": ...,
"EndTime": ...,
"KeyAttributes": ...,
}
parent.get_service(**kwargs)
get_service_level_objective#
Returns information about one SLO created in the account.
Type annotations and code completion for boto3.client("application-signals").get_service_level_objective
method.
boto3 documentation
# get_service_level_objective method definition
def get_service_level_objective(
self,
*,
Id: str,
) -> GetServiceLevelObjectiveOutputTypeDef: # (1)
...
# get_service_level_objective method usage example with argument unpacking
kwargs: GetServiceLevelObjectiveInputRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_service_level_objective(**kwargs)
list_service_dependencies#
Returns a list of service dependencies of the service that you specify.
Type annotations and code completion for boto3.client("application-signals").list_service_dependencies
method.