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#

can_paginate#

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:
    ...

generate_presigned_url#

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:
    ...

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: TimestampTypeDef,
    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

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: GoalTypeDef = ...,  # (3)
    Tags: Sequence[TagTypeDef] = ...,  # (4)
    BurnRateConfigurations: Sequence[BurnRateConfigurationTypeDef] = ...,  # (5)
) -> CreateServiceLevelObjectiveOutputTypeDef:  # (6)
    ...
  1. See ServiceLevelIndicatorConfigTypeDef
  2. See RequestBasedServiceLevelIndicatorConfigTypeDef
  3. See GoalTypeDef
  4. See TagTypeDef
  5. See BurnRateConfigurationTypeDef
  6. See CreateServiceLevelObjectiveOutputTypeDef
# create_service_level_objective method usage example with argument unpacking

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

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

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: TimestampTypeDef,
    EndTime: TimestampTypeDef,
    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: TimestampTypeDef,
    EndTime: TimestampTypeDef,
    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: TimestampTypeDef,
    EndTime: TimestampTypeDef,
    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: TimestampTypeDef,
    EndTime: TimestampTypeDef,
    KeyAttributes: Mapping[str, str],
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListServiceOperationsOutputTypeDef:  # (1)
    ...
  1. See ListServiceOperationsOutputTypeDef
# list_service_operations method usage example with argument unpacking

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

parent.list_service_operations(**kwargs)
  1. See ListServiceOperationsInputRequestTypeDef

list_services#

Returns a list of services that have been discovered by Application Signals.

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

# list_services method definition

def list_services(
    self,
    *,
    StartTime: TimestampTypeDef,
    EndTime: TimestampTypeDef,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListServicesOutputTypeDef:  # (1)
    ...
  1. See ListServicesOutputTypeDef
# list_services method usage example with argument unpacking

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

parent.list_services(**kwargs)
  1. See ListServicesInputRequestTypeDef

list_tags_for_resource#

Displays the tags associated with a CloudWatch resource.

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

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

start_discovery#

Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role.

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

# start_discovery method definition

def start_discovery(
    self,
) -> dict[str, Any]:
    ...

tag_resource#

Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.

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

# tag_resource method definition

def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> dict[str, Any]:
    ...
  1. See TagTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes one or more tags from the specified resource.

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

# untag_resource method definition

def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_service_level_objective#

Updates an existing service level objective (SLO).

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

# update_service_level_objective method definition

def update_service_level_objective(
    self,
    *,
    Id: str,
    Description: str = ...,
    SliConfig: ServiceLevelIndicatorConfigTypeDef = ...,  # (1)
    RequestBasedSliConfig: RequestBasedServiceLevelIndicatorConfigTypeDef = ...,  # (2)
    Goal: GoalTypeDef = ...,  # (3)
    BurnRateConfigurations: Sequence[BurnRateConfigurationTypeDef] = ...,  # (4)
) -> UpdateServiceLevelObjectiveOutputTypeDef:  # (5)
    ...
  1. See ServiceLevelIndicatorConfigTypeDef
  2. See RequestBasedServiceLevelIndicatorConfigTypeDef
  3. See GoalTypeDef
  4. See BurnRateConfigurationTypeDef
  5. See UpdateServiceLevelObjectiveOutputTypeDef
# update_service_level_objective method usage example with argument unpacking

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

parent.update_service_level_objective(**kwargs)
  1. See UpdateServiceLevelObjectiveInputRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("application-signals").get_paginator method with overloads.