Skip to content

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)
    ...
  1. See BatchGetServiceLevelObjectiveBudgetReportOutputTypeDef
# 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)
  1. See BatchGetServiceLevelObjectiveBudgetReportInputRequestTypeDef

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,
    SliConfig: ServiceLevelIndicatorConfigTypeDef,  # (1)
    Description: str = ...,
    Goal: Union[GoalTypeDef, GoalOutputTypeDef] = ...,  # (2)
    Tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreateServiceLevelObjectiveOutputTypeDef:  # (4)
    ...
  1. See ServiceLevelIndicatorConfigTypeDef
  2. See GoalTypeDef GoalOutputTypeDef
  3. See TagTypeDef
  4. See CreateServiceLevelObjectiveOutputTypeDef
# create_service_level_objective method usage example with argument unpacking

kwargs: CreateServiceLevelObjectiveInputRequestTypeDef = {  # (1)
    "Name": ...,
    "SliConfig": ...,
}

parent.create_service_level_objective(**kwargs)
  1. See CreateServiceLevelObjectiveInputRequestTypeDef

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

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)
    ...
  1. See GetServiceOutputTypeDef
# get_service method usage example with argument unpacking

kwargs: GetServiceInputRequestTypeDef = {  # (1)
    "StartTime": ...,
    "EndTime": ...,
    "KeyAttributes": ...,
}

parent.get_service(**kwargs)
  1. See GetServiceInputRequestTypeDef

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)
    ...
  1. See GetServiceLevelObjectiveOutputTypeDef
# get_service_level_objective method usage example with argument unpacking

kwargs: GetServiceLevelObjectiveInputRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.get_service_level_objective(**kwargs)
  1. See GetServiceLevelObjectiveInputRequestTypeDef

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. boto3 documentation

# list_service_dependencies method definition

def list_service_dependencies(
    self,
    *,
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListServiceDependenciesOutputTypeDef:  # (1)
    ...
  1. See ListServiceDependenciesOutputTypeDef
# list_service_dependencies method usage example with argument unpacking

kwargs: ListServiceDependenciesInputRequestTypeDef = {  # (1)
    "StartTime": ...,
    "EndTime": ...,
    "KeyAttributes": ...,
}

parent.list_service_dependencies(**kwargs)
  1. See ListServiceDependenciesInputRequestTypeDef

list_service_dependents#

Returns the list of dependents that invoked the specified service during the provided time range.

Type annotations and code completion for boto3.client("application-signals").list_service_dependents method. boto3 documentation

# list_service_dependents method definition

def list_service_dependents(
    self,
    *,
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListServiceDependentsOutputTypeDef:  # (1)
    ...
  1. See ListServiceDependentsOutputTypeDef
# list_service_dependents method usage example with argument unpacking

kwargs: ListServiceDependentsInputRequestTypeDef = {  # (1)
    "StartTime": ...,
    "EndTime": ...,
    "KeyAttributes": ...,
}

parent.list_service_dependents(**kwargs)
  1. See ListServiceDependentsInputRequestTypeDef

list_service_level_objectives#

Returns a list of SLOs created in this account.

Type annotations and code completion for boto3.client("application-signals").list_service_level_objectives method. boto3 documentation

# list_service_level_objectives method definition

def list_service_level_objectives(
    self,
    *,
    KeyAttributes: Mapping[str, str] = ...,
    OperationName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListServiceLevelObjectivesOutputTypeDef:  # (1)
    ...
  1. See ListServiceLevelObjectivesOutputTypeDef
# list_service_level_objectives method usage example with argument unpacking

kwargs: ListServiceLevelObjectivesInputRequestTypeDef = {  # (1)
    "KeyAttributes": ...,
}

parent.list_service_level_objectives(**kwargs)
  1. See ListServiceLevelObjectivesInputRequestTypeDef

list_service_operations#

Returns a list of the operations of this service that have been discovered by Application Signals.

Type annotations and code completion for boto3.client("application-signals").list_service_operations method. boto3 documentation

# list_service_operations method definition

def list_service_operations(
    self,
    *,
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListServiceOperationsOutputTypeDef:  # (1)
    ...
  1. See ListServiceOperationsOutputTypeDef
# list_service_operations method usage example with argument unpacki