@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonApplicationSignalsAsync extends AmazonApplicationSignals
AsyncHandler
can be
used to receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonApplicationSignalsAsync
instead.
Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications. It enables real-time service health dashboards and helps you track long-term performance trends against your business goals. The application-centric view provides you with unified visibility across your applications, services, and dependencies, so you can proactively monitor and efficiently triage any issues that may arise, ensuring optimal customer experience.
Application Signals provides the following benefits:
Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors.
Create and monitor service level objectives (SLOs).
See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.
Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries, and application names within dashboards and maps.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<BatchGetServiceLevelObjectiveBudgetReportResult> |
batchGetServiceLevelObjectiveBudgetReportAsync(BatchGetServiceLevelObjectiveBudgetReportRequest batchGetServiceLevelObjectiveBudgetReportRequest)
Use this operation to retrieve one or more service level objective (SLO) budget reports.
|
Future<BatchGetServiceLevelObjectiveBudgetReportResult> |
batchGetServiceLevelObjectiveBudgetReportAsync(BatchGetServiceLevelObjectiveBudgetReportRequest batchGetServiceLevelObjectiveBudgetReportRequest,
AsyncHandler<BatchGetServiceLevelObjectiveBudgetReportRequest,BatchGetServiceLevelObjectiveBudgetReportResult> asyncHandler)
Use this operation to retrieve one or more service level objective (SLO) budget reports.
|
Future<CreateServiceLevelObjectiveResult> |
createServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest createServiceLevelObjectiveRequest)
Creates a service level objective (SLO), which can help you ensure that your critical business operations are
meeting customer expectations.
|
Future<CreateServiceLevelObjectiveResult> |
createServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest createServiceLevelObjectiveRequest,
AsyncHandler<CreateServiceLevelObjectiveRequest,CreateServiceLevelObjectiveResult> asyncHandler)
Creates a service level objective (SLO), which can help you ensure that your critical business operations are
meeting customer expectations.
|
Future<DeleteServiceLevelObjectiveResult> |
deleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest deleteServiceLevelObjectiveRequest)
Deletes the specified service level objective.
|
Future<DeleteServiceLevelObjectiveResult> |
deleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest deleteServiceLevelObjectiveRequest,
AsyncHandler<DeleteServiceLevelObjectiveRequest,DeleteServiceLevelObjectiveResult> asyncHandler)
Deletes the specified service level objective.
|
Future<GetServiceResult> |
getServiceAsync(GetServiceRequest getServiceRequest)
Returns information about a service discovered by Application Signals.
|
Future<GetServiceResult> |
getServiceAsync(GetServiceRequest getServiceRequest,
AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
Returns information about a service discovered by Application Signals.
|
Future<GetServiceLevelObjectiveResult> |
getServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest getServiceLevelObjectiveRequest)
Returns information about one SLO created in the account.
|
Future<GetServiceLevelObjectiveResult> |
getServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest getServiceLevelObjectiveRequest,
AsyncHandler<GetServiceLevelObjectiveRequest,GetServiceLevelObjectiveResult> asyncHandler)
Returns information about one SLO created in the account.
|
Future<ListServiceDependenciesResult> |
listServiceDependenciesAsync(ListServiceDependenciesRequest listServiceDependenciesRequest)
Returns a list of service dependencies of the service that you specify.
|
Future<ListServiceDependenciesResult> |
listServiceDependenciesAsync(ListServiceDependenciesRequest listServiceDependenciesRequest,
AsyncHandler<ListServiceDependenciesRequest,ListServiceDependenciesResult> asyncHandler)
Returns a list of service dependencies of the service that you specify.
|
Future<ListServiceDependentsResult> |
listServiceDependentsAsync(ListServiceDependentsRequest listServiceDependentsRequest)
Returns the list of dependents that invoked the specified service during the provided time range.
|
Future<ListServiceDependentsResult> |
listServiceDependentsAsync(ListServiceDependentsRequest listServiceDependentsRequest,
AsyncHandler<ListServiceDependentsRequest,ListServiceDependentsResult> asyncHandler)
Returns the list of dependents that invoked the specified service during the provided time range.
|
Future<ListServiceLevelObjectivesResult> |
listServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest)
Returns a list of SLOs created in this account.
|
Future<ListServiceLevelObjectivesResult> |
listServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest,
AsyncHandler<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResult> asyncHandler)
Returns a list of SLOs created in this account.
|
Future<ListServiceOperationsResult> |
listServiceOperationsAsync(ListServiceOperationsRequest listServiceOperationsRequest)
Returns a list of the operations of this service that have been discovered by Application Signals.
|
Future<ListServiceOperationsResult> |
listServiceOperationsAsync(ListServiceOperationsRequest listServiceOperationsRequest,
AsyncHandler<ListServiceOperationsRequest,ListServiceOperationsResult> asyncHandler)
Returns a list of the operations of this service that have been discovered by Application Signals.
|
Future<ListServicesResult> |
listServicesAsync(ListServicesRequest listServicesRequest)
Returns a list of services that have been discovered by Application Signals.
|
Future<ListServicesResult> |
listServicesAsync(ListServicesRequest listServicesRequest,
AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
Returns a list of services that have been discovered by Application Signals.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Displays the tags associated with a CloudWatch resource.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Displays the tags associated with a CloudWatch resource.
|
Future<StartDiscoveryResult> |
startDiscoveryAsync(StartDiscoveryRequest startDiscoveryRequest)
Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the
AWSServiceRoleForCloudWatchApplicationSignals service-linked role.
|
Future<StartDiscoveryResult> |
startDiscoveryAsync(StartDiscoveryRequest startDiscoveryRequest,
AsyncHandler<StartDiscoveryRequest,StartDiscoveryResult> asyncHandler)
Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the
AWSServiceRoleForCloudWatchApplicationSignals service-linked role.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level
objective.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level
objective.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes one or more tags from the specified resource.
|
Future<UpdateServiceLevelObjectiveResult> |
updateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest updateServiceLevelObjectiveRequest)
Updates an existing service level objective (SLO).
|
Future<UpdateServiceLevelObjectiveResult> |
updateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest updateServiceLevelObjectiveRequest,
AsyncHandler<UpdateServiceLevelObjectiveRequest,UpdateServiceLevelObjectiveResult> asyncHandler)
Updates an existing service level objective (SLO).
|
batchGetServiceLevelObjectiveBudgetReport, createServiceLevelObjective, deleteServiceLevelObjective, getCachedResponseMetadata, getService, getServiceLevelObjective, listServiceDependencies, listServiceDependents, listServiceLevelObjectives, listServiceOperations, listServices, listTagsForResource, shutdown, startDiscovery, tagResource, untagResource, updateServiceLevelObjective
Future<BatchGetServiceLevelObjectiveBudgetReportResult> batchGetServiceLevelObjectiveBudgetReportAsync(BatchGetServiceLevelObjectiveBudgetReportRequest batchGetServiceLevelObjectiveBudgetReportRequest)
Use this operation to retrieve one or more service level objective (SLO) budget reports.
An error budget is the amount of time in unhealthy periods that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month.
Budget reports include a health indicator, the attainment value, and remaining budget.
For more information about SLO error budgets, see SLO concepts.
batchGetServiceLevelObjectiveBudgetReportRequest
- Future<BatchGetServiceLevelObjectiveBudgetReportResult> batchGetServiceLevelObjectiveBudgetReportAsync(BatchGetServiceLevelObjectiveBudgetReportRequest batchGetServiceLevelObjectiveBudgetReportRequest, AsyncHandler<BatchGetServiceLevelObjectiveBudgetReportRequest,BatchGetServiceLevelObjectiveBudgetReportResult> asyncHandler)
Use this operation to retrieve one or more service level objective (SLO) budget reports.
An error budget is the amount of time in unhealthy periods that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month.
Budget reports include a health indicator, the attainment value, and remaining budget.
For more information about SLO error budgets, see SLO concepts.
batchGetServiceLevelObjectiveBudgetReportRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateServiceLevelObjectiveResult> createServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest createServiceLevelObjectiveRequest)
Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want.
Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached.
When you create an SLO, you set an attainment goal for it. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
After you have created an SLO, you can retrieve error budget reports for it. An error budget is the number of periods or amount of time that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. for example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month.
When you call this operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions:
xray:GetServiceGraph
logs:StartQuery
logs:GetQueryResults
cloudwatch:GetMetricData
cloudwatch:ListMetrics
tag:GetResources
autoscaling:DescribeAutoScalingGroups
You can easily set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series.
For more information about SLOs, see Service level objectives (SLOs).
createServiceLevelObjectiveRequest
- Future<CreateServiceLevelObjectiveResult> createServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest createServiceLevelObjectiveRequest, AsyncHandler<CreateServiceLevelObjectiveRequest,CreateServiceLevelObjectiveResult> asyncHandler)
Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want.
Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached.
When you create an SLO, you set an attainment goal for it. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
After you have created an SLO, you can retrieve error budget reports for it. An error budget is the number of periods or amount of time that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. for example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month.
When you call this operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions:
xray:GetServiceGraph
logs:StartQuery
logs:GetQueryResults
cloudwatch:GetMetricData
cloudwatch:ListMetrics
tag:GetResources
autoscaling:DescribeAutoScalingGroups
You can easily set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series.
For more information about SLOs, see Service level objectives (SLOs).
createServiceLevelObjectiveRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteServiceLevelObjectiveResult> deleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest deleteServiceLevelObjectiveRequest)
Deletes the specified service level objective.
deleteServiceLevelObjectiveRequest
- Future<DeleteServiceLevelObjectiveResult> deleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest deleteServiceLevelObjectiveRequest, AsyncHandler<DeleteServiceLevelObjectiveRequest,DeleteServiceLevelObjectiveResult> asyncHandler)
Deletes the specified service level objective.
deleteServiceLevelObjectiveRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceResult> getServiceAsync(GetServiceRequest getServiceRequest)
Returns information about a service discovered by Application Signals.
getServiceRequest
- Future<GetServiceResult> getServiceAsync(GetServiceRequest getServiceRequest, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
Returns information about a service discovered by Application Signals.
getServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceLevelObjectiveResult> getServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest getServiceLevelObjectiveRequest)
Returns information about one SLO created in the account.
getServiceLevelObjectiveRequest
- Future<GetServiceLevelObjectiveResult> getServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest getServiceLevelObjectiveRequest, AsyncHandler<GetServiceLevelObjectiveRequest,GetServiceLevelObjectiveResult> asyncHandler)
Returns information about one SLO created in the account.
getServiceLevelObjectiveRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceDependenciesResult> listServiceDependenciesAsync(ListServiceDependenciesRequest listServiceDependenciesRequest)
Returns a list of service dependencies of the service that you specify. A dependency is an infrastructure component that an operation of this service connects with. Dependencies can include Amazon Web Services services, Amazon Web Services resources, and third-party services.
listServiceDependenciesRequest
- Future<ListServiceDependenciesResult> listServiceDependenciesAsync(ListServiceDependenciesRequest listServiceDependenciesRequest, AsyncHandler<ListServiceDependenciesRequest,ListServiceDependenciesResult> asyncHandler)
Returns a list of service dependencies of the service that you specify. A dependency is an infrastructure component that an operation of this service connects with. Dependencies can include Amazon Web Services services, Amazon Web Services resources, and third-party services.
listServiceDependenciesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceDependentsResult> listServiceDependentsAsync(ListServiceDependentsRequest listServiceDependentsRequest)
Returns the list of dependents that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors.
listServiceDependentsRequest
- Future<ListServiceDependentsResult> listServiceDependentsAsync(ListServiceDependentsRequest listServiceDependentsRequest, AsyncHandler<ListServiceDependentsRequest,ListServiceDependentsResult> asyncHandler)
Returns the list of dependents that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors.
listServiceDependentsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceLevelObjectivesResult> listServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest)
Returns a list of SLOs created in this account.
listServiceLevelObjectivesRequest
- Future<ListServiceLevelObjectivesResult> listServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest, AsyncHandler<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResult> asyncHandler)
Returns a list of SLOs created in this account.
listServiceLevelObjectivesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceOperationsResult> listServiceOperationsAsync(ListServiceOperationsRequest listServiceOperationsRequest)
Returns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.
listServiceOperationsRequest
- Future<ListServiceOperationsResult> listServiceOperationsAsync(ListServiceOperationsRequest listServiceOperationsRequest, AsyncHandler<ListServiceOperationsRequest,ListServiceOperationsResult> asyncHandler)
Returns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.
listServiceOperationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest)
Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.
listServicesRequest
- Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.
listServicesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartDiscoveryResult> startDiscoveryAsync(StartDiscoveryRequest startDiscoveryRequest)
Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service- linked role has the following permissions:
xray:GetServiceGraph
logs:StartQuery
logs:GetQueryResults
cloudwatch:GetMetricData
cloudwatch:ListMetrics
tag:GetResources
autoscaling:DescribeAutoScalingGroups
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals.
startDiscoveryRequest
- Future<StartDiscoveryResult> startDiscoveryAsync(StartDiscoveryRequest startDiscoveryRequest, AsyncHandler<StartDiscoveryRequest,StartDiscoveryResult> asyncHandler)
Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service- linked role has the following permissions:
xray:GetServiceGraph
logs:StartQuery
logs:GetQueryResults
cloudwatch:GetMetricData
cloudwatch:ListMetrics
tag:GetResources
autoscaling:DescribeAutoScalingGroups
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals.
startDiscoveryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the TagResource
action with an alarm that already has tags. If you specify a new tag key
for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that
is already associated with the alarm, the new tag value that you specify replaces the previous value for that
tag.
You can associate as many as 50 tags with a CloudWatch resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the TagResource
action with an alarm that already has tags. If you specify a new tag key
for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that
is already associated with the alarm, the new tag value that you specify replaces the previous value for that
tag.
You can associate as many as 50 tags with a CloudWatch resource.
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes one or more tags from the specified resource.
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateServiceLevelObjectiveResult> updateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest updateServiceLevelObjectiveRequest)
Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.
updateServiceLevelObjectiveRequest
- Future<UpdateServiceLevelObjectiveResult> updateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest updateServiceLevelObjectiveRequest, AsyncHandler<UpdateServiceLevelObjectiveRequest,UpdateServiceLevelObjectiveResult> asyncHandler)
Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.
updateServiceLevelObjectiveRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.