AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

The target performance quality that is defined for an SLO is the attainment goal.

You can 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.

You can't create an SLO for a service operation that was discovered by Application Signals until after that operation has reported standard metrics to Application Signals.

When you create an SLO, you specify whether it is a period-based SLO or a request-based SLO. Each type of SLO has a different way of evaluating your application's performance against its attainment goal.

After you have created an SLO, you can retrieve error budget reports for it. An error budget is the amount of time or amount of requests that your application can be non-compliant with the SLO's goal, and still have your application meet the goal.

For more information about SLOs, see Service level objectives (SLOs).

When you perform a CreateServiceLevelObjective 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:

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateServiceLevelObjectiveAsync.

Namespace: Amazon.ApplicationSignals
Assembly: AWSSDK.ApplicationSignals.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateServiceLevelObjectiveResponse CreateServiceLevelObjective(
         CreateServiceLevelObjectiveRequest request
)

Parameters

request
Type: Amazon.ApplicationSignals.Model.CreateServiceLevelObjectiveRequest

Container for the necessary parameters to execute the CreateServiceLevelObjective service method.

Return Value


The response from the CreateServiceLevelObjective service method, as returned by ApplicationSignals.

Exceptions

ExceptionCondition
AccessDeniedException You don't have sufficient permissions to perform this action.
ConflictException This operation attempted to create a resource that already exists.
ServiceQuotaExceededException This request exceeds a service quota.
ThrottlingException The request was throttled because of quota limits.
ValidationException The resource is not valid.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also