applicationsignals

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package applicationsignals provides the client and types for making API requests to Amazon CloudWatch Application Signals.

This is a Preview release of the Application Signals API Reference. Operations and parameters are subject to change before the general availability release.

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.

See https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15 for more information on this service.

See applicationsignals package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationsignals/

Using the Client

To contact Amazon CloudWatch Application Signals with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon CloudWatch Application Signals client ApplicationSignals for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationsignals/#New

Index

Constants

View Source
const (
	// DurationUnitDay is a DurationUnit enum value
	DurationUnitDay = "DAY"

	// DurationUnitMonth is a DurationUnit enum value
	DurationUnitMonth = "MONTH"
)
View Source
const (
	// ServiceLevelIndicatorComparisonOperatorGreaterThanOrEqualTo is a ServiceLevelIndicatorComparisonOperator enum value
	ServiceLevelIndicatorComparisonOperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo"

	// ServiceLevelIndicatorComparisonOperatorGreaterThan is a ServiceLevelIndicatorComparisonOperator enum value
	ServiceLevelIndicatorComparisonOperatorGreaterThan = "GreaterThan"

	// ServiceLevelIndicatorComparisonOperatorLessThan is a ServiceLevelIndicatorComparisonOperator enum value
	ServiceLevelIndicatorComparisonOperatorLessThan = "LessThan"

	// ServiceLevelIndicatorComparisonOperatorLessThanOrEqualTo is a ServiceLevelIndicatorComparisonOperator enum value
	ServiceLevelIndicatorComparisonOperatorLessThanOrEqualTo = "LessThanOrEqualTo"
)
View Source
const (
	// ServiceLevelIndicatorMetricTypeLatency is a ServiceLevelIndicatorMetricType enum value
	ServiceLevelIndicatorMetricTypeLatency = "LATENCY"

	// ServiceLevelIndicatorMetricTypeAvailability is a ServiceLevelIndicatorMetricType enum value
	ServiceLevelIndicatorMetricTypeAvailability = "AVAILABILITY"
)
View Source
const (
	// ServiceLevelObjectiveBudgetStatusOk is a ServiceLevelObjectiveBudgetStatus enum value
	ServiceLevelObjectiveBudgetStatusOk = "OK"

	// ServiceLevelObjectiveBudgetStatusWarning is a ServiceLevelObjectiveBudgetStatus enum value
	ServiceLevelObjectiveBudgetStatusWarning = "WARNING"

	// ServiceLevelObjectiveBudgetStatusBreached is a ServiceLevelObjectiveBudgetStatus enum value
	ServiceLevelObjectiveBudgetStatusBreached = "BREACHED"

	// ServiceLevelObjectiveBudgetStatusInsufficientData is a ServiceLevelObjectiveBudgetStatus enum value
	ServiceLevelObjectiveBudgetStatusInsufficientData = "INSUFFICIENT_DATA"
)
View Source
const (
	// StandardUnitMicroseconds is a StandardUnit enum value
	StandardUnitMicroseconds = "Microseconds"

	// StandardUnitMilliseconds is a StandardUnit enum value
	StandardUnitMilliseconds = "Milliseconds"

	// StandardUnitSeconds is a StandardUnit enum value
	StandardUnitSeconds = "Seconds"

	// StandardUnitBytes is a StandardUnit enum value
	StandardUnitBytes = "Bytes"

	// StandardUnitKilobytes is a StandardUnit enum value
	StandardUnitKilobytes = "Kilobytes"

	// StandardUnitMegabytes is a StandardUnit enum value
	StandardUnitMegabytes = "Megabytes"

	// StandardUnitGigabytes is a StandardUnit enum value
	StandardUnitGigabytes = "Gigabytes"

	// StandardUnitTerabytes is a StandardUnit enum value
	StandardUnitTerabytes = "Terabytes"

	// StandardUnitBits is a StandardUnit enum value
	StandardUnitBits = "Bits"

	// StandardUnitKilobits is a StandardUnit enum value
	StandardUnitKilobits = "Kilobits"

	// StandardUnitMegabits is a StandardUnit enum value
	StandardUnitMegabits = "Megabits"

	// StandardUnitGigabits is a StandardUnit enum value
	StandardUnitGigabits = "Gigabits"

	// StandardUnitTerabits is a StandardUnit enum value
	StandardUnitTerabits = "Terabits"

	// StandardUnitPercent is a StandardUnit enum value
	StandardUnitPercent = "Percent"

	// StandardUnitCount is a StandardUnit enum value
	StandardUnitCount = "Count"

	// StandardUnitBytesSecond is a StandardUnit enum value
	StandardUnitBytesSecond = "Bytes/Second"

	// StandardUnitKilobytesSecond is a StandardUnit enum value
	StandardUnitKilobytesSecond = "Kilobytes/Second"

	// StandardUnitMegabytesSecond is a StandardUnit enum value
	StandardUnitMegabytesSecond = "Megabytes/Second"

	// StandardUnitGigabytesSecond is a StandardUnit enum value
	StandardUnitGigabytesSecond = "Gigabytes/Second"

	// StandardUnitTerabytesSecond is a StandardUnit enum value
	StandardUnitTerabytesSecond = "Terabytes/Second"

	// StandardUnitBitsSecond is a StandardUnit enum value
	StandardUnitBitsSecond = "Bits/Second"

	// StandardUnitKilobitsSecond is a StandardUnit enum value
	StandardUnitKilobitsSecond = "Kilobits/Second"

	// StandardUnitMegabitsSecond is a StandardUnit enum value
	StandardUnitMegabitsSecond = "Megabits/Second"

	// StandardUnitGigabitsSecond is a StandardUnit enum value
	StandardUnitGigabitsSecond = "Gigabits/Second"

	// StandardUnitTerabitsSecond is a StandardUnit enum value
	StandardUnitTerabitsSecond = "Terabits/Second"

	// StandardUnitCountSecond is a StandardUnit enum value
	StandardUnitCountSecond = "Count/Second"

	// StandardUnitNone is a StandardUnit enum value
	StandardUnitNone = "None"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You don't have sufficient permissions to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// This operation attempted to create a resource that already exists.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Resource not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// This request exceeds a service quota.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was throttled because of quota limits.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The resource is not valid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Application Signals" // Name of service.
	EndpointsID = "application-signals" // ID to lookup a service endpoint with.
	ServiceID   = "Application Signals" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func DurationUnit_Values

func DurationUnit_Values() []string

DurationUnit_Values returns all elements of the DurationUnit enum

func ServiceLevelIndicatorComparisonOperator_Values

func ServiceLevelIndicatorComparisonOperator_Values() []string

ServiceLevelIndicatorComparisonOperator_Values returns all elements of the ServiceLevelIndicatorComparisonOperator enum

func ServiceLevelIndicatorMetricType_Values

func ServiceLevelIndicatorMetricType_Values() []string

ServiceLevelIndicatorMetricType_Values returns all elements of the ServiceLevelIndicatorMetricType enum

func ServiceLevelObjectiveBudgetStatus_Values

func ServiceLevelObjectiveBudgetStatus_Values() []string

ServiceLevelObjectiveBudgetStatus_Values returns all elements of the ServiceLevelObjectiveBudgetStatus enum

func StandardUnit_Values

func StandardUnit_Values() []string

StandardUnit_Values returns all elements of the StandardUnit enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You don't have sufficient permissions to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApplicationSignals

type ApplicationSignals struct {
	*client.Client
}

ApplicationSignals provides the API operation methods for making requests to Amazon CloudWatch Application Signals. See this package's package overview docs for details on the service.

ApplicationSignals methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the ApplicationSignals client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ApplicationSignals client from just a session.
svc := applicationsignals.New(mySession)

// Create a ApplicationSignals client with additional configuration
svc := applicationsignals.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ApplicationSignals) BatchGetServiceLevelObjectiveBudgetReport

BatchGetServiceLevelObjectiveBudgetReport API operation for Amazon CloudWatch Application Signals.

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 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html#CloudWatch-ServiceLevelObjectives-concepts).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation BatchGetServiceLevelObjectiveBudgetReport for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchGetServiceLevelObjectiveBudgetReport

func (*ApplicationSignals) BatchGetServiceLevelObjectiveBudgetReportRequest

func (c *ApplicationSignals) BatchGetServiceLevelObjectiveBudgetReportRequest(input *BatchGetServiceLevelObjectiveBudgetReportInput) (req *request.Request, output *BatchGetServiceLevelObjectiveBudgetReportOutput)

BatchGetServiceLevelObjectiveBudgetReportRequest generates a "aws/request.Request" representing the client's request for the BatchGetServiceLevelObjectiveBudgetReport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetServiceLevelObjectiveBudgetReport for more information on using the BatchGetServiceLevelObjectiveBudgetReport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetServiceLevelObjectiveBudgetReportRequest method.
req, resp := client.BatchGetServiceLevelObjectiveBudgetReportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchGetServiceLevelObjectiveBudgetReport

func (*ApplicationSignals) BatchGetServiceLevelObjectiveBudgetReportWithContext

func (c *ApplicationSignals) BatchGetServiceLevelObjectiveBudgetReportWithContext(ctx aws.Context, input *BatchGetServiceLevelObjectiveBudgetReportInput, opts ...request.Option) (*BatchGetServiceLevelObjectiveBudgetReportOutput, error)

BatchGetServiceLevelObjectiveBudgetReportWithContext is the same as BatchGetServiceLevelObjectiveBudgetReport with the addition of the ability to pass a context and additional request options.

See BatchGetServiceLevelObjectiveBudgetReport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) CreateServiceLevelObjective

CreateServiceLevelObjective API operation for Amazon CloudWatch Application Signals.

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) (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation CreateServiceLevelObjective for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

  • AccessDeniedException You don't have sufficient permissions to perform this action.

  • ServiceQuotaExceededException This request exceeds a service quota.

  • ConflictException This operation attempted to create a resource that already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CreateServiceLevelObjective

func (*ApplicationSignals) CreateServiceLevelObjectiveRequest

func (c *ApplicationSignals) CreateServiceLevelObjectiveRequest(input *CreateServiceLevelObjectiveInput) (req *request.Request, output *CreateServiceLevelObjectiveOutput)

CreateServiceLevelObjectiveRequest generates a "aws/request.Request" representing the client's request for the CreateServiceLevelObjective operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateServiceLevelObjective for more information on using the CreateServiceLevelObjective API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateServiceLevelObjectiveRequest method.
req, resp := client.CreateServiceLevelObjectiveRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CreateServiceLevelObjective

func (*ApplicationSignals) CreateServiceLevelObjectiveWithContext

func (c *ApplicationSignals) CreateServiceLevelObjectiveWithContext(ctx aws.Context, input *CreateServiceLevelObjectiveInput, opts ...request.Option) (*CreateServiceLevelObjectiveOutput, error)

CreateServiceLevelObjectiveWithContext is the same as CreateServiceLevelObjective with the addition of the ability to pass a context and additional request options.

See CreateServiceLevelObjective for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) DeleteServiceLevelObjective

DeleteServiceLevelObjective API operation for Amazon CloudWatch Application Signals.

Deletes the specified service level objective.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation DeleteServiceLevelObjective for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ResourceNotFoundException Resource not found.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/DeleteServiceLevelObjective

func (*ApplicationSignals) DeleteServiceLevelObjectiveRequest

func (c *ApplicationSignals) DeleteServiceLevelObjectiveRequest(input *DeleteServiceLevelObjectiveInput) (req *request.Request, output *DeleteServiceLevelObjectiveOutput)

DeleteServiceLevelObjectiveRequest generates a "aws/request.Request" representing the client's request for the DeleteServiceLevelObjective operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteServiceLevelObjective for more information on using the DeleteServiceLevelObjective API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteServiceLevelObjectiveRequest method.
req, resp := client.DeleteServiceLevelObjectiveRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/DeleteServiceLevelObjective

func (*ApplicationSignals) DeleteServiceLevelObjectiveWithContext

func (c *ApplicationSignals) DeleteServiceLevelObjectiveWithContext(ctx aws.Context, input *DeleteServiceLevelObjectiveInput, opts ...request.Option) (*DeleteServiceLevelObjectiveOutput, error)

DeleteServiceLevelObjectiveWithContext is the same as DeleteServiceLevelObjective with the addition of the ability to pass a context and additional request options.

See DeleteServiceLevelObjective for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) GetService

func (c *ApplicationSignals) GetService(input *GetServiceInput) (*GetServiceOutput, error)

GetService API operation for Amazon CloudWatch Application Signals.

Returns information about a service discovered by Application Signals.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation GetService for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetService

func (*ApplicationSignals) GetServiceLevelObjective

GetServiceLevelObjective API operation for Amazon CloudWatch Application Signals.

Returns information about one SLO created in the account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation GetServiceLevelObjective for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ResourceNotFoundException Resource not found.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetServiceLevelObjective

func (*ApplicationSignals) GetServiceLevelObjectiveRequest

func (c *ApplicationSignals) GetServiceLevelObjectiveRequest(input *GetServiceLevelObjectiveInput) (req *request.Request, output *GetServiceLevelObjectiveOutput)

GetServiceLevelObjectiveRequest generates a "aws/request.Request" representing the client's request for the GetServiceLevelObjective operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServiceLevelObjective for more information on using the GetServiceLevelObjective API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceLevelObjectiveRequest method.
req, resp := client.GetServiceLevelObjectiveRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetServiceLevelObjective

func (*ApplicationSignals) GetServiceLevelObjectiveWithContext

func (c *ApplicationSignals) GetServiceLevelObjectiveWithContext(ctx aws.Context, input *GetServiceLevelObjectiveInput, opts ...request.Option) (*GetServiceLevelObjectiveOutput, error)

GetServiceLevelObjectiveWithContext is the same as GetServiceLevelObjective with the addition of the ability to pass a context and additional request options.

See GetServiceLevelObjective for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) GetServiceRequest

func (c *ApplicationSignals) GetServiceRequest(input *GetServiceInput) (req *request.Request, output *GetServiceOutput)

GetServiceRequest generates a "aws/request.Request" representing the client's request for the GetService operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetService for more information on using the GetService API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceRequest method.
req, resp := client.GetServiceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetService

func (*ApplicationSignals) GetServiceWithContext

func (c *ApplicationSignals) GetServiceWithContext(ctx aws.Context, input *GetServiceInput, opts ...request.Option) (*GetServiceOutput, error)

GetServiceWithContext is the same as GetService with the addition of the ability to pass a context and additional request options.

See GetService for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceDependencies

ListServiceDependencies API operation for Amazon CloudWatch Application Signals.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation ListServiceDependencies for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependencies

func (*ApplicationSignals) ListServiceDependenciesPages

func (c *ApplicationSignals) ListServiceDependenciesPages(input *ListServiceDependenciesInput, fn func(*ListServiceDependenciesOutput, bool) bool) error

ListServiceDependenciesPages iterates over the pages of a ListServiceDependencies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServiceDependencies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListServiceDependencies operation.
pageNum := 0
err := client.ListServiceDependenciesPages(params,
    func(page *applicationsignals.ListServiceDependenciesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ApplicationSignals) ListServiceDependenciesPagesWithContext

func (c *ApplicationSignals) ListServiceDependenciesPagesWithContext(ctx aws.Context, input *ListServiceDependenciesInput, fn func(*ListServiceDependenciesOutput, bool) bool, opts ...request.Option) error

ListServiceDependenciesPagesWithContext same as ListServiceDependenciesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceDependenciesRequest

func (c *ApplicationSignals) ListServiceDependenciesRequest(input *ListServiceDependenciesInput) (req *request.Request, output *ListServiceDependenciesOutput)

ListServiceDependenciesRequest generates a "aws/request.Request" representing the client's request for the ListServiceDependencies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServiceDependencies for more information on using the ListServiceDependencies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServiceDependenciesRequest method.
req, resp := client.ListServiceDependenciesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependencies

func (*ApplicationSignals) ListServiceDependenciesWithContext

func (c *ApplicationSignals) ListServiceDependenciesWithContext(ctx aws.Context, input *ListServiceDependenciesInput, opts ...request.Option) (*ListServiceDependenciesOutput, error)

ListServiceDependenciesWithContext is the same as ListServiceDependencies with the addition of the ability to pass a context and additional request options.

See ListServiceDependencies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceDependents

ListServiceDependents API operation for Amazon CloudWatch Application Signals.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation ListServiceDependents for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependents

func (*ApplicationSignals) ListServiceDependentsPages

func (c *ApplicationSignals) ListServiceDependentsPages(input *ListServiceDependentsInput, fn func(*ListServiceDependentsOutput, bool) bool) error

ListServiceDependentsPages iterates over the pages of a ListServiceDependents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServiceDependents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListServiceDependents operation.
pageNum := 0
err := client.ListServiceDependentsPages(params,
    func(page *applicationsignals.ListServiceDependentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ApplicationSignals) ListServiceDependentsPagesWithContext

func (c *ApplicationSignals) ListServiceDependentsPagesWithContext(ctx aws.Context, input *ListServiceDependentsInput, fn func(*ListServiceDependentsOutput, bool) bool, opts ...request.Option) error

ListServiceDependentsPagesWithContext same as ListServiceDependentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceDependentsRequest

func (c *ApplicationSignals) ListServiceDependentsRequest(input *ListServiceDependentsInput) (req *request.Request, output *ListServiceDependentsOutput)

ListServiceDependentsRequest generates a "aws/request.Request" representing the client's request for the ListServiceDependents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServiceDependents for more information on using the ListServiceDependents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServiceDependentsRequest method.
req, resp := client.ListServiceDependentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependents

func (*ApplicationSignals) ListServiceDependentsWithContext

func (c *ApplicationSignals) ListServiceDependentsWithContext(ctx aws.Context, input *ListServiceDependentsInput, opts ...request.Option) (*ListServiceDependentsOutput, error)

ListServiceDependentsWithContext is the same as ListServiceDependents with the addition of the ability to pass a context and additional request options.

See ListServiceDependents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceLevelObjectives

ListServiceLevelObjectives API operation for Amazon CloudWatch Application Signals.

Returns a list of SLOs created in this account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation ListServiceLevelObjectives for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectives

func (*ApplicationSignals) ListServiceLevelObjectivesPages

func (c *ApplicationSignals) ListServiceLevelObjectivesPages(input *ListServiceLevelObjectivesInput, fn func(*ListServiceLevelObjectivesOutput, bool) bool) error

ListServiceLevelObjectivesPages iterates over the pages of a ListServiceLevelObjectives operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServiceLevelObjectives method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListServiceLevelObjectives operation.
pageNum := 0
err := client.ListServiceLevelObjectivesPages(params,
    func(page *applicationsignals.ListServiceLevelObjectivesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ApplicationSignals) ListServiceLevelObjectivesPagesWithContext

func (c *ApplicationSignals) ListServiceLevelObjectivesPagesWithContext(ctx aws.Context, input *ListServiceLevelObjectivesInput, fn func(*ListServiceLevelObjectivesOutput, bool) bool, opts ...request.Option) error

ListServiceLevelObjectivesPagesWithContext same as ListServiceLevelObjectivesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceLevelObjectivesRequest

func (c *ApplicationSignals) ListServiceLevelObjectivesRequest(input *ListServiceLevelObjectivesInput) (req *request.Request, output *ListServiceLevelObjectivesOutput)

ListServiceLevelObjectivesRequest generates a "aws/request.Request" representing the client's request for the ListServiceLevelObjectives operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServiceLevelObjectives for more information on using the ListServiceLevelObjectives API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServiceLevelObjectivesRequest method.
req, resp := client.ListServiceLevelObjectivesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectives

func (*ApplicationSignals) ListServiceLevelObjectivesWithContext

func (c *ApplicationSignals) ListServiceLevelObjectivesWithContext(ctx aws.Context, input *ListServiceLevelObjectivesInput, opts ...request.Option) (*ListServiceLevelObjectivesOutput, error)

ListServiceLevelObjectivesWithContext is the same as ListServiceLevelObjectives with the addition of the ability to pass a context and additional request options.

See ListServiceLevelObjectives for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceOperations

ListServiceOperations API operation for Amazon CloudWatch Application Signals.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation ListServiceOperations for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceOperations

func (*ApplicationSignals) ListServiceOperationsPages

func (c *ApplicationSignals) ListServiceOperationsPages(input *ListServiceOperationsInput, fn func(*ListServiceOperationsOutput, bool) bool) error

ListServiceOperationsPages iterates over the pages of a ListServiceOperations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServiceOperations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListServiceOperations operation.
pageNum := 0
err := client.ListServiceOperationsPages(params,
    func(page *applicationsignals.ListServiceOperationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ApplicationSignals) ListServiceOperationsPagesWithContext

func (c *ApplicationSignals) ListServiceOperationsPagesWithContext(ctx aws.Context, input *ListServiceOperationsInput, fn func(*ListServiceOperationsOutput, bool) bool, opts ...request.Option) error

ListServiceOperationsPagesWithContext same as ListServiceOperationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServiceOperationsRequest

func (c *ApplicationSignals) ListServiceOperationsRequest(input *ListServiceOperationsInput) (req *request.Request, output *ListServiceOperationsOutput)

ListServiceOperationsRequest generates a "aws/request.Request" representing the client's request for the ListServiceOperations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServiceOperations for more information on using the ListServiceOperations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServiceOperationsRequest method.
req, resp := client.ListServiceOperationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceOperations

func (*ApplicationSignals) ListServiceOperationsWithContext

func (c *ApplicationSignals) ListServiceOperationsWithContext(ctx aws.Context, input *ListServiceOperationsInput, opts ...request.Option) (*ListServiceOperationsOutput, error)

ListServiceOperationsWithContext is the same as ListServiceOperations with the addition of the ability to pass a context and additional request options.

See ListServiceOperations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServices

func (c *ApplicationSignals) ListServices(input *ListServicesInput) (*ListServicesOutput, error)

ListServices API operation for Amazon CloudWatch Application Signals.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation ListServices for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServices

func (*ApplicationSignals) ListServicesPages

func (c *ApplicationSignals) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error

ListServicesPages iterates over the pages of a ListServices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServices method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListServices operation.
pageNum := 0
err := client.ListServicesPages(params,
    func(page *applicationsignals.ListServicesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ApplicationSignals) ListServicesPagesWithContext

func (c *ApplicationSignals) ListServicesPagesWithContext(ctx aws.Context, input *ListServicesInput, fn func(*ListServicesOutput, bool) bool, opts ...request.Option) error

ListServicesPagesWithContext same as ListServicesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListServicesRequest

func (c *ApplicationSignals) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput)

ListServicesRequest generates a "aws/request.Request" representing the client's request for the ListServices operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServices for more information on using the ListServices API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServicesRequest method.
req, resp := client.ListServicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServices

func (*ApplicationSignals) ListServicesWithContext

func (c *ApplicationSignals) ListServicesWithContext(ctx aws.Context, input *ListServicesInput, opts ...request.Option) (*ListServicesOutput, error)

ListServicesWithContext is the same as ListServices with the addition of the ability to pass a context and additional request options.

See ListServices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) ListTagsForResource

ListTagsForResource API operation for Amazon CloudWatch Application Signals.

Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Resource not found.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListTagsForResource

func (*ApplicationSignals) ListTagsForResourceRequest

func (c *ApplicationSignals) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListTagsForResource

func (*ApplicationSignals) ListTagsForResourceWithContext

func (c *ApplicationSignals) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) StartDiscovery

func (c *ApplicationSignals) StartDiscovery(input *StartDiscoveryInput) (*StartDiscoveryOutput, error)

StartDiscovery API operation for Amazon CloudWatch Application Signals.

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 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Signals-Enable.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation StartDiscovery for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ThrottlingException The request was throttled because of quota limits.

  • AccessDeniedException You don't have sufficient permissions to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/StartDiscovery

func (*ApplicationSignals) StartDiscoveryRequest

func (c *ApplicationSignals) StartDiscoveryRequest(input *StartDiscoveryInput) (req *request.Request, output *StartDiscoveryOutput)

StartDiscoveryRequest generates a "aws/request.Request" representing the client's request for the StartDiscovery operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartDiscovery for more information on using the StartDiscovery API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartDiscoveryRequest method.
req, resp := client.StartDiscoveryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/StartDiscovery

func (*ApplicationSignals) StartDiscoveryWithContext

func (c *ApplicationSignals) StartDiscoveryWithContext(ctx aws.Context, input *StartDiscoveryInput, opts ...request.Option) (*StartDiscoveryOutput, error)

StartDiscoveryWithContext is the same as StartDiscovery with the addition of the ability to pass a context and additional request options.

See StartDiscovery for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) TagResource

func (c *ApplicationSignals) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon CloudWatch Application Signals.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation TagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Resource not found.

  • ThrottlingException The request was throttled because of quota limits.

  • ServiceQuotaExceededException This request exceeds a service quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/TagResource

func (*ApplicationSignals) TagResourceRequest

func (c *ApplicationSignals) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/TagResource

func (*ApplicationSignals) TagResourceWithContext

func (c *ApplicationSignals) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) UntagResource

func (c *ApplicationSignals) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon CloudWatch Application Signals.

Removes one or more tags from the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation UntagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Resource not found.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UntagResource

func (*ApplicationSignals) UntagResourceRequest

func (c *ApplicationSignals) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UntagResource

func (*ApplicationSignals) UntagResourceWithContext

func (c *ApplicationSignals) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ApplicationSignals) UpdateServiceLevelObjective

UpdateServiceLevelObjective API operation for Amazon CloudWatch Application Signals.

Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudWatch Application Signals's API operation UpdateServiceLevelObjective for usage and error information.

Returned Error Types:

  • ValidationException The resource is not valid.

  • ResourceNotFoundException Resource not found.

  • ThrottlingException The request was throttled because of quota limits.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UpdateServiceLevelObjective

func (*ApplicationSignals) UpdateServiceLevelObjectiveRequest

func (c *ApplicationSignals) UpdateServiceLevelObjectiveRequest(input *UpdateServiceLevelObjectiveInput) (req *request.Request, output *UpdateServiceLevelObjectiveOutput)

UpdateServiceLevelObjectiveRequest generates a "aws/request.Request" representing the client's request for the UpdateServiceLevelObjective operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateServiceLevelObjective for more information on using the UpdateServiceLevelObjective API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateServiceLevelObjectiveRequest method.
req, resp := client.UpdateServiceLevelObjectiveRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UpdateServiceLevelObjective

func (*ApplicationSignals) UpdateServiceLevelObjectiveWithContext

func (c *ApplicationSignals) UpdateServiceLevelObjectiveWithContext(ctx aws.Context, input *UpdateServiceLevelObjectiveInput, opts ...request.Option) (*UpdateServiceLevelObjectiveOutput, error)

UpdateServiceLevelObjectiveWithContext is the same as UpdateServiceLevelObjective with the addition of the ability to pass a context and additional request options.

See UpdateServiceLevelObjective for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type BatchGetServiceLevelObjectiveBudgetReportInput

type BatchGetServiceLevelObjectiveBudgetReportInput struct {

	// An array containing the IDs of the service level objectives that you want
	// to include in the report.
	//
	// SloIds is a required field
	SloIds []*string `min:"1" type:"list" required:"true"`

	// The date and time that you want the report to be for. It is expressed as
	// the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
	//
	// Timestamp is a required field
	Timestamp *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetServiceLevelObjectiveBudgetReportInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetServiceLevelObjectiveBudgetReportInput) SetSloIds

SetSloIds sets the SloIds field's value.

func (*BatchGetServiceLevelObjectiveBudgetReportInput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (BatchGetServiceLevelObjectiveBudgetReportInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetServiceLevelObjectiveBudgetReportInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type BatchGetServiceLevelObjectiveBudgetReportOutput

type BatchGetServiceLevelObjectiveBudgetReportOutput struct {

	// An array of structures, where each structure includes an error indicating
	// that one of the requests in the array was not valid.
	//
	// Errors is a required field
	Errors []*ServiceLevelObjectiveBudgetReportError `type:"list" required:"true"`

	// An array of structures, where each structure is one budget report.
	//
	// Reports is a required field
	Reports []*ServiceLevelObjectiveBudgetReport `type:"list" required:"true"`

	// The date and time that the report is for. It is expressed as the number of
	// milliseconds since Jan 1, 1970 00:00:00 UTC.
	//
	// Timestamp is a required field
	Timestamp *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetServiceLevelObjectiveBudgetReportOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetServiceLevelObjectiveBudgetReportOutput) SetErrors

SetErrors sets the Errors field's value.

func (*BatchGetServiceLevelObjectiveBudgetReportOutput) SetReports

SetReports sets the Reports field's value.

func (*BatchGetServiceLevelObjectiveBudgetReportOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (BatchGetServiceLevelObjectiveBudgetReportOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CalendarInterval

type CalendarInterval struct {

	// Specifies the duration of each calendar interval. For example, if Duration
	// is 1 and DurationUnit is MONTH, each interval is one month, aligned with
	// the calendar.
	//
	// Duration is a required field
	Duration *int64 `min:"1" type:"integer" required:"true"`

	// Specifies the calendar interval unit.
	//
	// DurationUnit is a required field
	DurationUnit *string `type:"string" required:"true" enum:"DurationUnit"`

	// The date and time when you want the first interval to start. Be sure to choose
	// a time that configures the intervals the way that you want. For example,
	// if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify
	// a start time that is a Monday at 6 a.m.
	//
	// When used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// As soon as one calendar interval ends, another automatically begins.
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.

func (CalendarInterval) GoString

func (s CalendarInterval) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CalendarInterval) SetDuration

func (s *CalendarInterval) SetDuration(v int64) *CalendarInterval

SetDuration sets the Duration field's value.

func (*CalendarInterval) SetDurationUnit

func (s *CalendarInterval) SetDurationUnit(v string) *CalendarInterval

SetDurationUnit sets the DurationUnit field's value.

func (*CalendarInterval) SetStartTime

func (s *CalendarInterval) SetStartTime(v time.Time) *CalendarInterval

SetStartTime sets the StartTime field's value.

func (CalendarInterval) String

func (s CalendarInterval) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CalendarInterval) Validate

func (s *CalendarInterval) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

This operation attempted to create a resource that already exists.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateServiceLevelObjectiveInput

type CreateServiceLevelObjectiveInput struct {

	// An optional description for this SLO.
	Description *string `min:"1" type:"string"`

	// A structure that contains the attributes that determine the goal of the SLO.
	// This includes the time period for evaluation and the attainment threshold.
	Goal *Goal `type:"structure"`

	// A name for this SLO.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// A structure that contains information about what service and what performance
	// metric that this SLO will monitor.
	//
	// SliConfig is a required field
	SliConfig *ServiceLevelIndicatorConfig `type:"structure" required:"true"`

	// A list of key-value pairs to associate with the SLO. You can associate as
	// many as 50 tags with an SLO. To be able to associate tags with the SLO when
	// you create the SLO, you must have the cloudwatch:TagResource permission.
	//
	// 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 []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateServiceLevelObjectiveInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateServiceLevelObjectiveInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateServiceLevelObjectiveInput) SetGoal

SetGoal sets the Goal field's value.

func (*CreateServiceLevelObjectiveInput) SetName

SetName sets the Name field's value.

func (*CreateServiceLevelObjectiveInput) SetSliConfig

SetSliConfig sets the SliConfig field's value.

func (*CreateServiceLevelObjectiveInput) SetTags

SetTags sets the Tags field's value.

func (CreateServiceLevelObjectiveInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateServiceLevelObjectiveInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateServiceLevelObjectiveOutput

type CreateServiceLevelObjectiveOutput struct {

	// A structure that contains information about the SLO that you just created.
	//
	// Slo is a required field
	Slo *ServiceLevelObjective `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateServiceLevelObjectiveOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateServiceLevelObjectiveOutput) SetSlo

SetSlo sets the Slo field's value.

func (CreateServiceLevelObjectiveOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteServiceLevelObjectiveInput

type DeleteServiceLevelObjectiveInput struct {

	// The ARN or name of the service level objective to delete.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteServiceLevelObjectiveInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteServiceLevelObjectiveInput) SetId

SetId sets the Id field's value.

func (DeleteServiceLevelObjectiveInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteServiceLevelObjectiveInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteServiceLevelObjectiveOutput

type DeleteServiceLevelObjectiveOutput struct {
	// contains filtered or unexported fields
}

func (DeleteServiceLevelObjectiveOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteServiceLevelObjectiveOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Dimension

type Dimension struct {

	// The name of the dimension. Dimension names must contain only ASCII characters,
	// must include at least one non-whitespace character, and cannot start with
	// a colon (:). ASCII control characters are not supported as part of dimension
	// names.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The value of the dimension. Dimension values must contain only ASCII characters
	// and must include at least one non-whitespace character. ASCII control characters
	// are not supported as part of dimension values.
	//
	// Value is a required field
	Value *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish InstanceId as a dimension name, and the actual instance ID as the value for that dimension.

You can assign up to 30 dimensions to a metric.

func (Dimension) GoString

func (s Dimension) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Dimension) SetName

func (s *Dimension) SetName(v string) *Dimension

SetName sets the Name field's value.

func (*Dimension) SetValue

func (s *Dimension) SetValue(v string) *Dimension

SetValue sets the Value field's value.

func (Dimension) String

func (s Dimension) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Dimension) Validate

func (s *Dimension) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetServiceInput

type GetServiceInput struct {

	// The end of the time period to retrieve information about. When used in a
	// raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"EndTime" type:"timestamp" required:"true"`

	// Use this field to specify which service you want to retrieve information
	// for. You must specify at least the Type, Name, and Environment attributes.
	//
	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// KeyAttributes is a required field
	KeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// The start of the time period to retrieve information about. When used in
	// a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"StartTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (GetServiceInput) GoString

func (s GetServiceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceInput) SetEndTime

func (s *GetServiceInput) SetEndTime(v time.Time) *GetServiceInput

SetEndTime sets the EndTime field's value.

func (*GetServiceInput) SetKeyAttributes

func (s *GetServiceInput) SetKeyAttributes(v map[string]*string) *GetServiceInput

SetKeyAttributes sets the KeyAttributes field's value.

func (*GetServiceInput) SetStartTime

func (s *GetServiceInput) SetStartTime(v time.Time) *GetServiceInput

SetStartTime sets the StartTime field's value.

func (GetServiceInput) String

func (s GetServiceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceInput) Validate

func (s *GetServiceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetServiceLevelObjectiveInput

type GetServiceLevelObjectiveInput struct {

	// The ARN or name of the SLO that you want to retrieve information about. You
	// can find the ARNs of SLOs by using the ListServiceLevelObjectives (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListServiceLevelObjectives.html)
	// operation.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetServiceLevelObjectiveInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceLevelObjectiveInput) SetId

SetId sets the Id field's value.

func (GetServiceLevelObjectiveInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceLevelObjectiveInput) Validate

func (s *GetServiceLevelObjectiveInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetServiceLevelObjectiveOutput

type GetServiceLevelObjectiveOutput struct {

	// A structure containing the information about the SLO.
	//
	// Slo is a required field
	Slo *ServiceLevelObjective `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetServiceLevelObjectiveOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceLevelObjectiveOutput) SetSlo

SetSlo sets the Slo field's value.

func (GetServiceLevelObjectiveOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetServiceOutput

type GetServiceOutput struct {

	// The end time of the data included in the response. In a raw HTTP Query API,
	// it is formatted as be epoch time in seconds. For example: 1698778057.
	//
	// EndTime is a required field
	EndTime *time.Time `type:"timestamp" required:"true"`

	// A structure containing information about the service.
	//
	// Service is a required field
	Service *Service `type:"structure" required:"true"`

	// The start time of the data included in the response. In a raw HTTP Query
	// API, it is formatted as be epoch time in seconds. For example: 1698778057.
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (GetServiceOutput) GoString

func (s GetServiceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceOutput) SetEndTime

func (s *GetServiceOutput) SetEndTime(v time.Time) *GetServiceOutput

SetEndTime sets the EndTime field's value.

func (*GetServiceOutput) SetService

func (s *GetServiceOutput) SetService(v *Service) *GetServiceOutput

SetService sets the Service field's value.

func (*GetServiceOutput) SetStartTime

func (s *GetServiceOutput) SetStartTime(v time.Time) *GetServiceOutput

SetStartTime sets the StartTime field's value.

func (GetServiceOutput) String

func (s GetServiceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Goal

type Goal struct {

	// The threshold that determines if the goal is being met. 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.
	//
	// If you omit this parameter, 99 is used to represent 99% as the attainment
	// goal.
	AttainmentGoal *float64 `type:"double"`

	// The time period used to evaluate the SLO. It can be either a calendar interval
	// or rolling interval.
	//
	// If you omit this parameter, a rolling interval of 7 days is used.
	Interval *Interval `type:"structure"`

	// The percentage of remaining budget over total budget that you want to get
	// warnings for. If you omit this parameter, the default of 50.0 is used.
	WarningThreshold *float64 `type:"double"`
	// contains filtered or unexported fields
}

This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.

func (Goal) GoString

func (s Goal) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Goal) SetAttainmentGoal

func (s *Goal) SetAttainmentGoal(v float64) *Goal

SetAttainmentGoal sets the AttainmentGoal field's value.

func (*Goal) SetInterval

func (s *Goal) SetInterval(v *Interval) *Goal

SetInterval sets the Interval field's value.

func (*Goal) SetWarningThreshold

func (s *Goal) SetWarningThreshold(v float64) *Goal

SetWarningThreshold sets the WarningThreshold field's value.

func (Goal) String

func (s Goal) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Goal) Validate

func (s *Goal) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Interval

type Interval struct {

	// If the interval is a calendar interval, this structure contains the interval
	// specifications.
	CalendarInterval *CalendarInterval `type:"structure"`

	// If the interval is a rolling interval, this structure contains the interval
	// specifications.
	RollingInterval *RollingInterval `type:"structure"`
	// contains filtered or unexported fields
}

The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

func (Interval) GoString

func (s Interval) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Interval) SetCalendarInterval

func (s *Interval) SetCalendarInterval(v *CalendarInterval) *Interval

SetCalendarInterval sets the CalendarInterval field's value.

func (*Interval) SetRollingInterval

func (s *Interval) SetRollingInterval(v *RollingInterval) *Interval

SetRollingInterval sets the RollingInterval field's value.

func (Interval) String

func (s Interval) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Interval) Validate

func (s *Interval) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServiceDependenciesInput

type ListServiceDependenciesInput struct {

	// The end of the time period to retrieve information about. When used in a
	// raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"EndTime" type:"timestamp" required:"true"`

	// Use this field to specify which service you want to retrieve information
	// for. You must specify at least the Type, Name, and Environment attributes.
	//
	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// KeyAttributes is a required field
	KeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// The maximum number of results to return in one operation. If you omit this
	// parameter, the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	// Include this value, if it was returned by the previous operation, to get
	// the next set of service dependencies.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The start of the time period to retrieve information about. When used in
	// a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"StartTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServiceDependenciesInput) GoString

func (s ListServiceDependenciesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceDependenciesInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListServiceDependenciesInput) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ListServiceDependenciesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListServiceDependenciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceDependenciesInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListServiceDependenciesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceDependenciesInput) Validate

func (s *ListServiceDependenciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServiceDependenciesOutput

type ListServiceDependenciesOutput struct {

	// The end of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `type:"timestamp" required:"true"`

	// Include this value in your next use of this API to get next set of service
	// dependencies.
	NextToken *string `type:"string"`

	// An array, where each object in the array contains information about one of
	// the dependencies of this service.
	//
	// ServiceDependencies is a required field
	ServiceDependencies []*ServiceDependency `type:"list" required:"true"`

	// The start of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServiceDependenciesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceDependenciesOutput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListServiceDependenciesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceDependenciesOutput) SetServiceDependencies

SetServiceDependencies sets the ServiceDependencies field's value.

func (*ListServiceDependenciesOutput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListServiceDependenciesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListServiceDependentsInput

type ListServiceDependentsInput struct {

	// The end of the time period to retrieve information about. When used in a
	// raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"EndTime" type:"timestamp" required:"true"`

	// Use this field to specify which service you want to retrieve information
	// for. You must specify at least the Type, Name, and Environment attributes.
	//
	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// KeyAttributes is a required field
	KeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// The maximum number of results to return in one operation. If you omit this
	// parameter, the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	// Include this value, if it was returned by the previous operation, to get
	// the next set of service dependents.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The start of the time period to retrieve information about. When used in
	// a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"StartTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServiceDependentsInput) GoString

func (s ListServiceDependentsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceDependentsInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListServiceDependentsInput) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ListServiceDependentsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListServiceDependentsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceDependentsInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListServiceDependentsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceDependentsInput) Validate

func (s *ListServiceDependentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServiceDependentsOutput

type ListServiceDependentsOutput struct {

	// The end of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `type:"timestamp" required:"true"`

	// Include this value in your next use of this API to get next set of service
	// dependents.
	NextToken *string `type:"string"`

	// An array, where each object in the array contains information about one of
	// the dependents of this service.
	//
	// ServiceDependents is a required field
	ServiceDependents []*ServiceDependent `type:"list" required:"true"`

	// The start of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServiceDependentsOutput) GoString

func (s ListServiceDependentsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceDependentsOutput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListServiceDependentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceDependentsOutput) SetServiceDependents

SetServiceDependents sets the ServiceDependents field's value.

func (*ListServiceDependentsOutput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListServiceDependentsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListServiceLevelObjectivesInput

type ListServiceLevelObjectivesInput struct {

	// You can use this optional field to specify which services you want to retrieve
	// SLO information for.
	//
	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	KeyAttributes map[string]*string `min:"1" type:"map"`

	// The maximum number of results to return in one operation. If you omit this
	// parameter, the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	// Include this value, if it was returned by the previous operation, to get
	// the next set of service level objectives.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The name of the operation that this SLO is associated with.
	OperationName *string `location:"querystring" locationName:"OperationName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListServiceLevelObjectivesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceLevelObjectivesInput) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ListServiceLevelObjectivesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListServiceLevelObjectivesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceLevelObjectivesInput) SetOperationName

SetOperationName sets the OperationName field's value.

func (ListServiceLevelObjectivesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceLevelObjectivesInput) Validate

func (s *ListServiceLevelObjectivesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServiceLevelObjectivesOutput

type ListServiceLevelObjectivesOutput struct {

	// Include this value in your next use of this API to get next set of service
	// level objectives.
	NextToken *string `type:"string"`

	// An array of structures, where each structure contains information about one
	// SLO.
	SloSummaries []*ServiceLevelObjectiveSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListServiceLevelObjectivesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceLevelObjectivesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceLevelObjectivesOutput) SetSloSummaries

SetSloSummaries sets the SloSummaries field's value.

func (ListServiceLevelObjectivesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListServiceOperationsInput

type ListServiceOperationsInput struct {

	// The end of the time period to retrieve information about. When used in a
	// raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"EndTime" type:"timestamp" required:"true"`

	// Use this field to specify which service you want to retrieve information
	// for. You must specify at least the Type, Name, and Environment attributes.
	//
	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// KeyAttributes is a required field
	KeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// The maximum number of results to return in one operation. If you omit this
	// parameter, the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	// Include this value, if it was returned by the previous operation, to get
	// the next set of service operations.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The start of the time period to retrieve information about. When used in
	// a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"StartTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServiceOperationsInput) GoString

func (s ListServiceOperationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceOperationsInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListServiceOperationsInput) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ListServiceOperationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListServiceOperationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceOperationsInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListServiceOperationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceOperationsInput) Validate

func (s *ListServiceOperationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServiceOperationsOutput

type ListServiceOperationsOutput struct {

	// The end of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `type:"timestamp" required:"true"`

	// Include this value in your next use of this API to get next set of service
	// operations.
	NextToken *string `type:"string"`

	// An array of structures that each contain information about one operation
	// of this service.
	//
	// ServiceOperations is a required field
	ServiceOperations []*ServiceOperation `type:"list" required:"true"`

	// The start of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServiceOperationsOutput) GoString

func (s ListServiceOperationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServiceOperationsOutput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListServiceOperationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceOperationsOutput) SetServiceOperations

SetServiceOperations sets the ServiceOperations field's value.

func (*ListServiceOperationsOutput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListServiceOperationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListServicesInput

type ListServicesInput struct {

	// The end of the time period to retrieve information about. When used in a
	// raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"EndTime" type:"timestamp" required:"true"`

	// The maximum number of results to return in one operation. If you omit this
	// parameter, the default of 50 is used.
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	// Include this value, if it was returned by the previous operation, to get
	// the next set of services.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The start of the time period to retrieve information about. When used in
	// a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
	// 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"StartTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServicesInput) GoString

func (s ListServicesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServicesInput) SetEndTime

func (s *ListServicesInput) SetEndTime(v time.Time) *ListServicesInput

SetEndTime sets the EndTime field's value.

func (*ListServicesInput) SetMaxResults

func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput

SetMaxResults sets the MaxResults field's value.

func (*ListServicesInput) SetNextToken

func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput

SetNextToken sets the NextToken field's value.

func (*ListServicesInput) SetStartTime

func (s *ListServicesInput) SetStartTime(v time.Time) *ListServicesInput

SetStartTime sets the StartTime field's value.

func (ListServicesInput) String

func (s ListServicesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServicesInput) Validate

func (s *ListServicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServicesOutput

type ListServicesOutput struct {

	// The end of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// EndTime is a required field
	EndTime *time.Time `type:"timestamp" required:"true"`

	// Include this value in your next use of this API to get next set of services.
	NextToken *string `type:"string"`

	// An array of structures, where each structure contains some information about
	// a service. To get complete information about a service, use GetService (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetService.html).
	//
	// ServiceSummaries is a required field
	ServiceSummaries []*ServiceSummary `type:"list" required:"true"`

	// The start of the time period that the returned information applies to. When
	// used in a raw HTTP Query API, it is formatted as be epoch time in seconds.
	// For example: 1698778057
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (ListServicesOutput) GoString

func (s ListServicesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListServicesOutput) SetEndTime

func (s *ListServicesOutput) SetEndTime(v time.Time) *ListServicesOutput

SetEndTime sets the EndTime field's value.

func (*ListServicesOutput) SetNextToken

func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput

SetNextToken sets the NextToken field's value.

func (*ListServicesOutput) SetServiceSummaries

func (s *ListServicesOutput) SetServiceSummaries(v []*ServiceSummary) *ListServicesOutput

SetServiceSummaries sets the ServiceSummaries field's value.

func (*ListServicesOutput) SetStartTime

func (s *ListServicesOutput) SetStartTime(v time.Time) *ListServicesOutput

SetStartTime sets the StartTime field's value.

func (ListServicesOutput) String

func (s ListServicesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the CloudWatch resource that you want to
	// view tags for.
	//
	// The ARN format of an Application Signals SLO is arn:aws:cloudwatch:Region:account-id:slo:slo-name
	//
	// For more information about ARN format, see Resource Types Defined by Amazon
	// CloudWatch (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies)
	// in the Amazon Web Services General Reference.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"ResourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The list of tag keys and values associated with the resource you specified.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Metric

type Metric struct {

	// An array of one or more dimensions to use to define the metric that you want
	// to use. For more information, see Dimensions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension).
	Dimensions []*Dimension `type:"list"`

	// The name of the metric to use.
	MetricName *string `min:"1" type:"string"`

	// The namespace of the metric. For more information, see Namespaces (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace).
	Namespace *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions

func (Metric) GoString

func (s Metric) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Metric) SetDimensions

func (s *Metric) SetDimensions(v []*Dimension) *Metric

SetDimensions sets the Dimensions field's value.

func (*Metric) SetMetricName

func (s *Metric) SetMetricName(v string) *Metric

SetMetricName sets the MetricName field's value.

func (*Metric) SetNamespace

func (s *Metric) SetNamespace(v string) *Metric

SetNamespace sets the Namespace field's value.

func (Metric) String

func (s Metric) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Metric) Validate

func (s *Metric) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MetricDataQuery

type MetricDataQuery struct {

	// The ID of the account where this metric is located. If you are performing
	// this operatiion in a monitoring account, use this to specify which source
	// account to retrieve this metric from.
	AccountId *string `min:"1" type:"string"`

	// This field can contain a metric math expression to be performed on the other
	// metrics that you are retrieving within this MetricDataQueries structure.
	//
	// A math expression can use the Id of the other metrics or queries to refer
	// to those metrics, and can also use the Id of other expressions to use the
	// result of those expressions. For more information about metric math expressions,
	// see Metric Math Syntax and Functions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax)
	// in the Amazon CloudWatch User Guide.
	//
	// Within each MetricDataQuery object, you must specify either Expression or
	// MetricStat but not both.
	Expression *string `min:"1" type:"string"`

	// A short name used to tie this object to the results in the response. This
	// Id must be unique within a MetricDataQueries array. If you are performing
	// math expressions on this set of data, this name represents that data and
	// can serve as a variable in the metric math expression. The valid characters
	// are letters, numbers, and underscore. The first character must be a lowercase
	// letter.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// A human-readable label for this metric or expression. This is especially
	// useful if this is an expression, so that you know what the value represents.
	// If the metric or expression is shown in a CloudWatch dashboard widget, the
	// label is shown. If Label is omitted, CloudWatch generates a default.
	//
	// You can put dynamic expressions into a label, so that it is more descriptive.
	// For more information, see Using Dynamic Labels (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html).
	Label *string `type:"string"`

	// A metric to be used directly for the SLO, or to be used in the math expression
	// that will be used for the SLO.
	//
	// Within one MetricDataQuery object, you must specify either Expression or
	// MetricStat but not both.
	MetricStat *MetricStat `type:"structure"`

	// The granularity, in seconds, of the returned data points for this metric.
	// For metrics with regular resolution, a period can be as short as one minute
	// (60 seconds) and must be a multiple of 60. For high-resolution metrics that
	// are collected at intervals of less than one minute, the period can be 1,
	// 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics
	// stored by a PutMetricData call that includes a StorageResolution of 1 second.
	//
	// If the StartTime parameter specifies a time stamp that is greater than 3
	// hours ago, you must specify the period as follows or no data points in that
	// time range is returned:
	//
	//    * Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds
	//    (1 minute).
	//
	//    * Start time between 15 and 63 days ago - Use a multiple of 300 seconds
	//    (5 minutes).
	//
	//    * Start time greater than 63 days ago - Use a multiple of 3600 seconds
	//    (1 hour).
	Period *int64 `min:"1" type:"integer"`

	// Use this only if you are using a metric math expression for the SLO. Specify
	// true for ReturnData for only the one expression result to use as the alarm.
	// For all other metrics and expressions in the same CreateServiceLevelObjective
	// operation, specify ReturnData as false.
	ReturnData *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Use this structure to define a metric or metric math expression that you want to use as for a service level objective.

Each MetricDataQuery in the MetricDataQueries array specifies either a metric to retrieve, or a metric math expression to be performed on retrieved metrics. A single MetricDataQueries array can include as many as 20 MetricDataQuery structures in the array. The 20 structures can include as many as 10 structures that contain a MetricStat parameter to retrieve a metric, and as many as 10 structures that contain the Expression parameter to perform a math expression. Of those Expression structures, exactly one must have true as the value for ReturnData. The result of this expression used for the SLO.

For more information about metric math expressions, see CloudWatchUse metric math (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html).

Within each MetricDataQuery object, you must specify either Expression or MetricStat but not both.

func (MetricDataQuery) GoString

func (s MetricDataQuery) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDataQuery) SetAccountId

func (s *MetricDataQuery) SetAccountId(v string) *MetricDataQuery

SetAccountId sets the AccountId field's value.

func (*MetricDataQuery) SetExpression

func (s *MetricDataQuery) SetExpression(v string) *MetricDataQuery

SetExpression sets the Expression field's value.

func (*MetricDataQuery) SetId

func (s *MetricDataQuery) SetId(v string) *MetricDataQuery

SetId sets the Id field's value.

func (*MetricDataQuery) SetLabel

func (s *MetricDataQuery) SetLabel(v string) *MetricDataQuery

SetLabel sets the Label field's value.

func (*MetricDataQuery) SetMetricStat

func (s *MetricDataQuery) SetMetricStat(v *MetricStat) *MetricDataQuery

SetMetricStat sets the MetricStat field's value.

func (*MetricDataQuery) SetPeriod

func (s *MetricDataQuery) SetPeriod(v int64) *MetricDataQuery

SetPeriod sets the Period field's value.

func (*MetricDataQuery) SetReturnData

func (s *MetricDataQuery) SetReturnData(v bool) *MetricDataQuery

SetReturnData sets the ReturnData field's value.

func (MetricDataQuery) String

func (s MetricDataQuery) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDataQuery) Validate

func (s *MetricDataQuery) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MetricReference

type MetricReference struct {

	// An array of one or more dimensions that further define the metric. For more
	// information, see CloudWatchDimensions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension).
	Dimensions []*Dimension `type:"list"`

	// The name of the metric.
	//
	// MetricName is a required field
	MetricName *string `min:"1" type:"string" required:"true"`

	// Used to display the appropriate statistics in the CloudWatch console.
	//
	// MetricType is a required field
	MetricType *string `type:"string" required:"true"`

	// The namespace of the metric. For more information, see CloudWatchNamespaces
	// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace).
	//
	// Namespace is a required field
	Namespace *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about one CloudWatch metric associated with this entity discovered by Application Signals.

func (MetricReference) GoString

func (s MetricReference) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricReference) SetDimensions

func (s *MetricReference) SetDimensions(v []*Dimension) *MetricReference

SetDimensions sets the Dimensions field's value.

func (*MetricReference) SetMetricName

func (s *MetricReference) SetMetricName(v string) *MetricReference

SetMetricName sets the MetricName field's value.

func (*MetricReference) SetMetricType

func (s *MetricReference) SetMetricType(v string) *MetricReference

SetMetricType sets the MetricType field's value.

func (*MetricReference) SetNamespace

func (s *MetricReference) SetNamespace(v string) *MetricReference

SetNamespace sets the Namespace field's value.

func (MetricReference) String

func (s MetricReference) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricStat

type MetricStat struct {

	// The metric to use as the service level indicator, including the metric name,
	// namespace, and dimensions.
	//
	// Metric is a required field
	Metric *Metric `type:"structure" required:"true"`

	// The granularity, in seconds, to be used for the metric. For metrics with
	// regular resolution, a period can be as short as one minute (60 seconds) and
	// must be a multiple of 60. For high-resolution metrics that are collected
	// at intervals of less than one minute, the period can be 1, 5, 10, 30, 60,
	// or any multiple of 60. High-resolution metrics are those metrics stored by
	// a PutMetricData call that includes a StorageResolution of 1 second.
	//
	// Period is a required field
	Period *int64 `min:"1" type:"integer" required:"true"`

	// The statistic to use for comparison to the threshold. It can be any CloudWatch
	// statistic or extended statistic. For more information about statistics, see
	// CloudWatch statistics definitions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).
	//
	// Stat is a required field
	Stat *string `type:"string" required:"true"`

	// If you omit Unit then all data that was collected with any unit is returned,
	// along with the corresponding units that were specified when the data was
	// reported to CloudWatch. If you specify a unit, the operation returns only
	// data that was collected with that unit specified. If you specify a unit that
	// does not match the data collected, the results of the operation are null.
	// CloudWatch does not perform unit conversions.
	Unit *string `type:"string" enum:"StandardUnit"`
	// contains filtered or unexported fields
}

This structure defines the metric to be used as the service level indicator, along with the statistics, period, and unit.

func (MetricStat) GoString

func (s MetricStat) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricStat) SetMetric

func (s *MetricStat) SetMetric(v *Metric) *MetricStat

SetMetric sets the Metric field's value.

func (*MetricStat) SetPeriod

func (s *MetricStat) SetPeriod(v int64) *MetricStat

SetPeriod sets the Period field's value.

func (*MetricStat) SetStat

func (s *MetricStat) SetStat(v string) *MetricStat

SetStat sets the Stat field's value.

func (*MetricStat) SetUnit

func (s *MetricStat) SetUnit(v string) *MetricStat

SetUnit sets the Unit field's value.

func (MetricStat) String

func (s MetricStat) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricStat) Validate

func (s *MetricStat) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Cannot find the resource id.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The resource type is not valid.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Resource not found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RollingInterval

type RollingInterval struct {

	// Specifies the duration of each rolling interval. For example, if Duration
	// is 7 and DurationUnit is DAY, each rolling interval is seven days.
	//
	// Duration is a required field
	Duration *int64 `min:"1" type:"integer" required:"true"`

	// Specifies the rolling interval unit.
	//
	// DurationUnit is a required field
	DurationUnit *string `type:"string" required:"true" enum:"DurationUnit"`
	// contains filtered or unexported fields
}

If the interval for this SLO is a rolling interval, this structure contains the interval specifications.

func (RollingInterval) GoString

func (s RollingInterval) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RollingInterval) SetDuration

func (s *RollingInterval) SetDuration(v int64) *RollingInterval

SetDuration sets the Duration field's value.

func (*RollingInterval) SetDurationUnit

func (s *RollingInterval) SetDurationUnit(v string) *RollingInterval

SetDurationUnit sets the DurationUnit field's value.

func (RollingInterval) String

func (s RollingInterval) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RollingInterval) Validate

func (s *RollingInterval) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Service

type Service struct {

	// This structure contains one or more string-to-string maps that help identify
	// this service. It can include platform attributes, application attributes,
	// and telemetry attributes.
	//
	// Platform attributes contain information the service's platform.
	//
	//    * PlatformType defines the hosted-in platform.
	//
	//    * EKS.Cluster is the name of the Amazon EKS cluster.
	//
	//    * K8s.Cluster is the name of the self-hosted Kubernetes cluster.
	//
	//    * K8s.Namespace is the name of the Kubernetes namespace in either Amazon
	//    EKS or Kubernetes clusters.
	//
	//    * K8s.Workload is the name of the Kubernetes workload in either Amazon
	//    EKS or Kubernetes clusters.
	//
	//    * K8s.Node is the name of the Kubernetes node in either Amazon EKS or
	//    Kubernetes clusters.
	//
	//    * K8s.Pod is the name of the Kubernetes pod in either Amazon EKS or Kubernetes
	//    clusters.
	//
	//    * EC2.AutoScalingGroup is the name of the Amazon EC2 Auto Scaling group.
	//
	//    * EC2.InstanceId is the ID of the Amazon EC2 instance.
	//
	//    * Host is the name of the host, for all platform types.
	//
	// Applciation attributes contain information about the application.
	//
	//    * AWS.Application is the application's name in Amazon Web Services Service
	//    Catalog AppRegistry.
	//
	//    * AWS.Application.ARN is the application's ARN in Amazon Web Services
	//    Service Catalog AppRegistry.
	//
	// Telemetry attributes contain telemetry information.
	//
	//    * Telemetry.SDK is the fingerprint of the OpenTelemetry SDK version for
	//    instrumented services.
	//
	//    * Telemetry.Agent is the fingerprint of the agent used to collect and
	//    send telemetry data.
	//
	//    * Telemetry.Source Specifies the point of application where the telemetry
	//    was collected or specifies what was used for the source of telemetry data.
	AttributeMaps []map[string]*string `type:"list"`

	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// KeyAttributes is a required field
	KeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// An array of structures that each contain information about one metric associated
	// with this service.
	//
	// MetricReferences is a required field
	MetricReferences []*MetricReference `type:"list" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about one of your services that was discovered by Application Signals.

func (Service) GoString

func (s Service) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Service) SetAttributeMaps

func (s *Service) SetAttributeMaps(v []map[string]*string) *Service

SetAttributeMaps sets the AttributeMaps field's value.

func (*Service) SetKeyAttributes

func (s *Service) SetKeyAttributes(v map[string]*string) *Service

SetKeyAttributes sets the KeyAttributes field's value.

func (*Service) SetMetricReferences

func (s *Service) SetMetricReferences(v []*MetricReference) *Service

SetMetricReferences sets the MetricReferences field's value.

func (Service) String

func (s Service) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceDependency

type ServiceDependency struct {

	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// DependencyKeyAttributes is a required field
	DependencyKeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// The name of the called operation in the dependency.
	//
	// DependencyOperationName is a required field
	DependencyOperationName *string `min:"1" type:"string" required:"true"`

	// An array of structures that each contain information about one metric associated
	// with this service dependency that was discovered by Application Signals.
	//
	// MetricReferences is a required field
	MetricReferences []*MetricReference `type:"list" required:"true"`

	// The name of the operation in this service that calls the dependency.
	//
	// OperationName is a required field
	OperationName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about one dependency of this service.

func (ServiceDependency) GoString

func (s ServiceDependency) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceDependency) SetDependencyKeyAttributes

func (s *ServiceDependency) SetDependencyKeyAttributes(v map[string]*string) *ServiceDependency

SetDependencyKeyAttributes sets the DependencyKeyAttributes field's value.

func (*ServiceDependency) SetDependencyOperationName

func (s *ServiceDependency) SetDependencyOperationName(v string) *ServiceDependency

SetDependencyOperationName sets the DependencyOperationName field's value.

func (*ServiceDependency) SetMetricReferences

func (s *ServiceDependency) SetMetricReferences(v []*MetricReference) *ServiceDependency

SetMetricReferences sets the MetricReferences field's value.

func (*ServiceDependency) SetOperationName

func (s *ServiceDependency) SetOperationName(v string) *ServiceDependency

SetOperationName sets the OperationName field's value.

func (ServiceDependency) String

func (s ServiceDependency) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceDependent

type ServiceDependent struct {

	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// DependentKeyAttributes is a required field
	DependentKeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// If the dependent invoker was a service that invoked it from an operation,
	// the name of that dependent operation is displayed here.
	DependentOperationName *string `min:"1" type:"string"`

	// An array of structures that each contain information about one metric associated
	// with this service dependent that was discovered by Application Signals.
	//
	// MetricReferences is a required field
	MetricReferences []*MetricReference `type:"list" required:"true"`

	// If the invoked entity is an operation on an entity, the name of that dependent
	// operation is displayed here.
	OperationName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

This structure contains information about a service dependent that was discovered by Application Signals. A dependent is an entity 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.

func (ServiceDependent) GoString

func (s ServiceDependent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceDependent) SetDependentKeyAttributes

func (s *ServiceDependent) SetDependentKeyAttributes(v map[string]*string) *ServiceDependent

SetDependentKeyAttributes sets the DependentKeyAttributes field's value.

func (*ServiceDependent) SetDependentOperationName

func (s *ServiceDependent) SetDependentOperationName(v string) *ServiceDependent

SetDependentOperationName sets the DependentOperationName field's value.

func (*ServiceDependent) SetMetricReferences

func (s *ServiceDependent) SetMetricReferences(v []*MetricReference) *ServiceDependent

SetMetricReferences sets the MetricReferences field's value.

func (*ServiceDependent) SetOperationName

func (s *ServiceDependent) SetOperationName(v string) *ServiceDependent

SetOperationName sets the OperationName field's value.

func (ServiceDependent) String

func (s ServiceDependent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLevelIndicator

type ServiceLevelIndicator struct {

	// The arithmetic operation used when comparing the specified metric to the
	// threshold.
	//
	// ComparisonOperator is a required field
	ComparisonOperator *string `type:"string" required:"true" enum:"ServiceLevelIndicatorComparisonOperator"`

	// The value that the SLI metric is compared to.
	//
	// MetricThreshold is a required field
	MetricThreshold *float64 `type:"double" required:"true"`

	// A structure that contains information about the metric that the SLO monitors.
	//
	// SliMetric is a required field
	SliMetric *ServiceLevelIndicatorMetric `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about the performance metric that an SLO monitors.

func (ServiceLevelIndicator) GoString

func (s ServiceLevelIndicator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelIndicator) SetComparisonOperator

func (s *ServiceLevelIndicator) SetComparisonOperator(v string) *ServiceLevelIndicator

SetComparisonOperator sets the ComparisonOperator field's value.

func (*ServiceLevelIndicator) SetMetricThreshold

func (s *ServiceLevelIndicator) SetMetricThreshold(v float64) *ServiceLevelIndicator

SetMetricThreshold sets the MetricThreshold field's value.

func (*ServiceLevelIndicator) SetSliMetric

SetSliMetric sets the SliMetric field's value.

func (ServiceLevelIndicator) String

func (s ServiceLevelIndicator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLevelIndicatorConfig

type ServiceLevelIndicatorConfig struct {

	// The arithmetic operation to use when comparing the specified metric to the
	// threshold.
	//
	// ComparisonOperator is a required field
	ComparisonOperator *string `type:"string" required:"true" enum:"ServiceLevelIndicatorComparisonOperator"`

	// The value that the SLI metric is compared to.
	//
	// MetricThreshold is a required field
	MetricThreshold *float64 `type:"double" required:"true"`

	// Use this structure to specify the metric to be used for the SLO.
	//
	// SliMetricConfig is a required field
	SliMetricConfig *ServiceLevelIndicatorMetricConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

This structure specifies the information about the service and the performance metric that an SLO is to monitor.

func (ServiceLevelIndicatorConfig) GoString

func (s ServiceLevelIndicatorConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelIndicatorConfig) SetComparisonOperator

func (s *ServiceLevelIndicatorConfig) SetComparisonOperator(v string) *ServiceLevelIndicatorConfig

SetComparisonOperator sets the ComparisonOperator field's value.

func (*ServiceLevelIndicatorConfig) SetMetricThreshold

SetMetricThreshold sets the MetricThreshold field's value.

func (*ServiceLevelIndicatorConfig) SetSliMetricConfig

SetSliMetricConfig sets the SliMetricConfig field's value.

func (ServiceLevelIndicatorConfig) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelIndicatorConfig) Validate

func (s *ServiceLevelIndicatorConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ServiceLevelIndicatorMetric

type ServiceLevelIndicatorMetric struct {

	// This is a string-to-string map that contains information about the type of
	// object that this SLO is related to. It can include the following fields.
	//
	//    * Type designates the type of object that this SLO is related to.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	KeyAttributes map[string]*string `min:"1" type:"map"`

	// If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric
	// math expression, this structure includes the information about that metric
	// or expression.
	//
	// MetricDataQueries is a required field
	MetricDataQueries []*MetricDataQuery `type:"list" required:"true"`

	// If the SLO monitors either the LATENCY or AVAILABILITY metric that Application
	// Signals collects, this field displays which of those metrics is used.
	MetricType *string `type:"string" enum:"ServiceLevelIndicatorMetricType"`

	// If the SLO monitors a specific operation of the service, this field displays
	// that operation name.
	OperationName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

This structure contains the information about the metric that is used for the SLO.

func (ServiceLevelIndicatorMetric) GoString

func (s ServiceLevelIndicatorMetric) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelIndicatorMetric) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ServiceLevelIndicatorMetric) SetMetricDataQueries

SetMetricDataQueries sets the MetricDataQueries field's value.

func (*ServiceLevelIndicatorMetric) SetMetricType

SetMetricType sets the MetricType field's value.

func (*ServiceLevelIndicatorMetric) SetOperationName

SetOperationName sets the OperationName field's value.

func (ServiceLevelIndicatorMetric) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLevelIndicatorMetricConfig

type ServiceLevelIndicatorMetricConfig struct {

	// If this SLO is related to a metric collected by Application Signals, you
	// must use this field to specify which service the SLO metric is related to.
	// To do so, you must specify at least the Type, Name, and Environment attributes.
	//
	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	KeyAttributes map[string]*string `min:"1" type:"map"`

	// If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric
	// math expression, use this structure to specify that metric or expression.
	MetricDataQueries []*MetricDataQuery `type:"list"`

	// If the SLO is to monitor either the LATENCY or AVAILABILITY metric that Application
	// Signals collects, use this field to specify which of those metrics is used.
	MetricType *string `type:"string" enum:"ServiceLevelIndicatorMetricType"`

	// If the SLO is to monitor a specific operation of the service, use this field
	// to specify the name of that operation.
	OperationName *string `min:"1" type:"string"`

	// The number of seconds to use as the period for SLO evaluation. Your application's
	// performance is compared to the SLI during each period. For each period, the
	// application is determined to have either achieved or not achieved the necessary
	// performance.
	PeriodSeconds *int64 `min:"60" type:"integer"`

	// The statistic to use for comparison to the threshold. It can be any CloudWatch
	// statistic or extended statistic. For more information about statistics, see
	// CloudWatch statistics definitions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).
	Statistic *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Use this structure to specify the information for the metric that the SLO will monitor.

func (ServiceLevelIndicatorMetricConfig) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelIndicatorMetricConfig) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ServiceLevelIndicatorMetricConfig) SetMetricDataQueries

SetMetricDataQueries sets the MetricDataQueries field's value.

func (*ServiceLevelIndicatorMetricConfig) SetMetricType

SetMetricType sets the MetricType field's value.

func (*ServiceLevelIndicatorMetricConfig) SetOperationName

SetOperationName sets the OperationName field's value.

func (*ServiceLevelIndicatorMetricConfig) SetPeriodSeconds

SetPeriodSeconds sets the PeriodSeconds field's value.

func (*ServiceLevelIndicatorMetricConfig) SetStatistic

SetStatistic sets the Statistic field's value.

func (ServiceLevelIndicatorMetricConfig) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelIndicatorMetricConfig) Validate

Validate inspects the fields of the type to determine if they are valid.

type ServiceLevelObjective

type ServiceLevelObjective struct {

	// The ARN of this SLO.
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`

	// The date and time that this SLO was created. When used in a raw HTTP Query
	// API, it is formatted as yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.
	//
	// CreatedTime is a required field
	CreatedTime *time.Time `type:"timestamp" required:"true"`

	// The description that you created for this SLO.
	Description *string `min:"1" type:"string"`

	// This structure contains the attributes that determine the goal of an SLO.
	// This includes the time period for evaluation and the attainment threshold.
	//
	// Goal is a required field
	Goal *Goal `type:"structure" required:"true"`

	// The time that this SLO was most recently updated. When used in a raw HTTP
	// Query API, it is formatted as yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.
	//
	// LastUpdatedTime is a required field
	LastUpdatedTime *time.Time `type:"timestamp" required:"true"`

	// The name of this SLO.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// A structure containing information about the performance metric that this
	// SLO monitors.
	//
	// Sli is a required field
	Sli *ServiceLevelIndicator `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A structure containing information about one service level objective (SLO) that has been created in Application Signals. Creating SLOs can help you ensure your services are performing to the level that you expect. SLOs help you set and track a specific target level for the reliability and availability of your applications and services. Each SLO uses a service level indicator (SLI), which is a key performance metric, to calculate how much underperformance can be tolerated before the goal that you set for the SLO is not achieved.

func (ServiceLevelObjective) GoString

func (s ServiceLevelObjective) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelObjective) SetArn

SetArn sets the Arn field's value.

func (*ServiceLevelObjective) SetCreatedTime

func (s *ServiceLevelObjective) SetCreatedTime(v time.Time) *ServiceLevelObjective

SetCreatedTime sets the CreatedTime field's value.

func (*ServiceLevelObjective) SetDescription

func (s *ServiceLevelObjective) SetDescription(v string) *ServiceLevelObjective

SetDescription sets the Description field's value.

func (*ServiceLevelObjective) SetGoal

SetGoal sets the Goal field's value.

func (*ServiceLevelObjective) SetLastUpdatedTime

func (s *ServiceLevelObjective) SetLastUpdatedTime(v time.Time) *ServiceLevelObjective

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ServiceLevelObjective) SetName

SetName sets the Name field's value.

func (*ServiceLevelObjective) SetSli

SetSli sets the Sli field's value.

func (ServiceLevelObjective) String

func (s ServiceLevelObjective) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLevelObjectiveBudgetReport

type ServiceLevelObjectiveBudgetReport struct {

	// The ARN of the SLO that this report is for.
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`

	// A number between 0 and 100 that represents the percentage of time periods
	// that the service has attained the SLO's attainment goal, as of the time of
	// the request.
	Attainment *float64 `type:"double"`

	// The budget amount remaining before the SLO status becomes BREACHING, at the
	// time specified in the Timestemp parameter of the request. If this value is
	// negative, then the SLO is already in BREACHING status.
	BudgetSecondsRemaining *int64 `type:"integer"`

	// The status of this SLO, as it relates to the error budget for the entire
	// time interval.
	//
	//    * OK means that the SLO had remaining budget above the warning threshold,
	//    as of the time that you specified in TimeStamp.
	//
	//    * WARNING means that the SLO's remaining budget was below the warning
	//    threshold, as of the time that you specified in TimeStamp.
	//
	//    * BREACHED means that the SLO's budget was exhausted, as of the time that
	//    you specified in TimeStamp.
	//
	//    * INSUFFICIENT_DATA means that the specifed start and end times were before
	//    the SLO was created, or that attainment data is missing.
	//
	// BudgetStatus is a required field
	BudgetStatus *string `type:"string" required:"true" enum:"ServiceLevelObjectiveBudgetStatus"`

	// This structure contains the attributes that determine the goal of an SLO.
	// This includes the time period for evaluation and the attainment threshold.
	Goal *Goal `type:"structure"`

	// The name of the SLO that this report is for.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// A structure that contains information about the performance metric that this
	// SLO monitors.
	Sli *ServiceLevelIndicator `type:"structure"`

	// The total number of seconds in the error budget for the interval.
	TotalBudgetSeconds *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A structure containing an SLO budget report that you have requested.

func (ServiceLevelObjectiveBudgetReport) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelObjectiveBudgetReport) SetArn

SetArn sets the Arn field's value.

func (*ServiceLevelObjectiveBudgetReport) SetAttainment

SetAttainment sets the Attainment field's value.

func (*ServiceLevelObjectiveBudgetReport) SetBudgetSecondsRemaining

SetBudgetSecondsRemaining sets the BudgetSecondsRemaining field's value.

func (*ServiceLevelObjectiveBudgetReport) SetBudgetStatus

SetBudgetStatus sets the BudgetStatus field's value.

func (*ServiceLevelObjectiveBudgetReport) SetGoal

SetGoal sets the Goal field's value.

func (*ServiceLevelObjectiveBudgetReport) SetName

SetName sets the Name field's value.

func (*ServiceLevelObjectiveBudgetReport) SetSli

SetSli sets the Sli field's value.

func (*ServiceLevelObjectiveBudgetReport) SetTotalBudgetSeconds

SetTotalBudgetSeconds sets the TotalBudgetSeconds field's value.

func (ServiceLevelObjectiveBudgetReport) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLevelObjectiveBudgetReportError

type ServiceLevelObjectiveBudgetReportError struct {

	// The ARN of the SLO that this error is related to.
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`

	// The error code for this error.
	//
	// ErrorCode is a required field
	ErrorCode *string `type:"string" required:"true"`

	// The message for this error.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `type:"string" required:"true"`

	// The name of the SLO that this error is related to.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure containing information about one error that occurred during a BatchGetServiceLevelObjectiveBudgetReport (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_BatchGetServiceLevelObjectiveBudgetReport.html) operation.

func (ServiceLevelObjectiveBudgetReportError) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelObjectiveBudgetReportError) SetArn

SetArn sets the Arn field's value.

func (*ServiceLevelObjectiveBudgetReportError) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*ServiceLevelObjectiveBudgetReportError) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*ServiceLevelObjectiveBudgetReportError) SetName

SetName sets the Name field's value.

func (ServiceLevelObjectiveBudgetReportError) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLevelObjectiveSummary

type ServiceLevelObjectiveSummary struct {

	// The ARN of this service level objective.
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`

	// The date and time that this service level objective was created. It is expressed
	// as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
	CreatedTime *time.Time `type:"timestamp"`

	// This is a string-to-string map. It can include the following fields.
	//
	//    * Type designates the type of object this service level objective is for.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	KeyAttributes map[string]*string `min:"1" type:"map"`

	// The name of the service level objective.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// If this service level objective is specific to a single operation, this field
	// displays the name of that operation.
	OperationName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A structure that contains information about one service level objective (SLO) created in Application Signals.

func (ServiceLevelObjectiveSummary) GoString

func (s ServiceLevelObjectiveSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLevelObjectiveSummary) SetArn

SetArn sets the Arn field's value.

func (*ServiceLevelObjectiveSummary) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*ServiceLevelObjectiveSummary) SetKeyAttributes

SetKeyAttributes sets the KeyAttributes field's value.

func (*ServiceLevelObjectiveSummary) SetName

SetName sets the Name field's value.

func (*ServiceLevelObjectiveSummary) SetOperationName

SetOperationName sets the OperationName field's value.

func (ServiceLevelObjectiveSummary) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceOperation

type ServiceOperation struct {

	// An array of structures that each contain information about one metric associated
	// with this service operation that was discovered by Application Signals.
	//
	// MetricReferences is a required field
	MetricReferences []*MetricReference `type:"list" required:"true"`

	// The name of the operation, discovered by Application Signals.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about an operation discovered by Application Signals. An operation is a specific function performed by a service that was discovered by Application Signals, and is often an API that is called by an upstream dependent.

func (ServiceOperation) GoString

func (s ServiceOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceOperation) SetMetricReferences

func (s *ServiceOperation) SetMetricReferences(v []*MetricReference) *ServiceOperation

SetMetricReferences sets the MetricReferences field's value.

func (*ServiceOperation) SetName

func (s *ServiceOperation) SetName(v string) *ServiceOperation

SetName sets the Name field's value.

func (ServiceOperation) String

func (s ServiceOperation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

This request exceeds a service quota.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceSummary

type ServiceSummary struct {

	// This structure contains one or more string-to-string maps that help identify
	// this service. It can include platform attributes, application attributes,
	// and telemetry attributes.
	//
	// Platform attributes contain information the service's platform.
	//
	//    * PlatformType defines the hosted-in platform.
	//
	//    * EKS.Cluster is the name of the Amazon EKS cluster.
	//
	//    * K8s.Cluster is the name of the self-hosted Kubernetes cluster.
	//
	//    * K8s.Namespace is the name of the Kubernetes namespace in either Amazon
	//    EKS or Kubernetes clusters.
	//
	//    * K8s.Workload is the name of the Kubernetes workload in either Amazon
	//    EKS or Kubernetes clusters.
	//
	//    * K8s.Node is the name of the Kubernetes node in either Amazon EKS or
	//    Kubernetes clusters.
	//
	//    * K8s.Pod is the name of the Kubernetes pod in either Amazon EKS or Kubernetes
	//    clusters.
	//
	//    * EC2.AutoScalingGroup is the name of the Amazon EC2 Auto Scaling group.
	//
	//    * EC2.InstanceId is the ID of the Amazon EC2 instance.
	//
	//    * Host is the name of the host, for all platform types.
	//
	// Applciation attributes contain information about the application.
	//
	//    * AWS.Application is the application's name in Amazon Web Services Service
	//    Catalog AppRegistry.
	//
	//    * AWS.Application.ARN is the application's ARN in Amazon Web Services
	//    Service Catalog AppRegistry.
	//
	// Telemetry attributes contain telemetry information.
	//
	//    * Telemetry.SDK is the fingerprint of the OpenTelemetry SDK version for
	//    instrumented services.
	//
	//    * Telemetry.Agent is the fingerprint of the agent used to collect and
	//    send telemetry data.
	//
	//    * Telemetry.Source Specifies the point of application where the telemetry
	//    was collected or specifies what was used for the source of telemetry data.
	AttributeMaps []map[string]*string `type:"list"`

	// This is a string-to-string map that help identify the objects discovered
	// by Application Signals. It can include the following fields.
	//
	//    * Type designates the type of object this is.
	//
	//    * ResourceType specifies the type of the resource. This field is used
	//    only when the value of the Type field is Resource or AWS::Resource.
	//
	//    * Name specifies the name of the object. This is used only if the value
	//    of the Type field is Service, RemoteService, or AWS::Service.
	//
	//    * Identifier identifies the resource objects of this resource. This is
	//    used only if the value of the Type field is Resource or AWS::Resource.
	//
	//    * Environment specifies the location where this object is hosted, or what
	//    it belongs to.
	//
	// KeyAttributes is a required field
	KeyAttributes map[string]*string `min:"1" type:"map" required:"true"`

	// An array of structures that each contain information about one metric associated
	// with this service.
	//
	// MetricReferences is a required field
	MetricReferences []*MetricReference `type:"list" required:"true"`
	// contains filtered or unexported fields
}

This structure contains information about one of your services that was discoverd by Application Signals

func (ServiceSummary) GoString

func (s ServiceSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceSummary) SetAttributeMaps

func (s *ServiceSummary) SetAttributeMaps(v []map[string]*string) *ServiceSummary

SetAttributeMaps sets the AttributeMaps field's value.

func (*ServiceSummary) SetKeyAttributes

func (s *ServiceSummary) SetKeyAttributes(v map[string]*string) *ServiceSummary

SetKeyAttributes sets the KeyAttributes field's value.

func (*ServiceSummary) SetMetricReferences

func (s *ServiceSummary) SetMetricReferences(v []*MetricReference) *ServiceSummary

SetMetricReferences sets the MetricReferences field's value.

func (ServiceSummary) String

func (s ServiceSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartDiscoveryInput

type StartDiscoveryInput struct {
	// contains filtered or unexported fields
}

func (StartDiscoveryInput) GoString

func (s StartDiscoveryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (StartDiscoveryInput) String

func (s StartDiscoveryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartDiscoveryOutput

type StartDiscoveryOutput struct {
	// contains filtered or unexported fields
}

func (StartDiscoveryOutput) GoString

func (s StartDiscoveryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (StartDiscoveryOutput) String

func (s StartDiscoveryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

	// A string that you can use to assign a value. The combination of tag keys
	// and values can help you organize and categorize your resources.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The value for the specified tag key.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A key-value pair associated with a resource. Tags can help you organize and categorize your resources.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the CloudWatch resource that you want to
	// set tags for.
	//
	// The ARN format of an Application Signals SLO is arn:aws:cloudwatch:Region:account-id:slo:slo-name
	//
	// For more information about ARN format, see Resource Types Defined by Amazon
	// CloudWatch (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies)
	// in the Amazon Web Services General Reference.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The list of key-value pairs to associate with the alarm.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request was throttled because of quota limits.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the CloudWatch resource that you want to
	// delete tags from.
	//
	// The ARN format of an Application Signals SLO is arn:aws:cloudwatch:Region:account-id:slo:slo-name
	//
	// For more information about ARN format, see Resource Types Defined by Amazon
	// CloudWatch (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies)
	// in the Amazon Web Services General Reference.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The list of tag keys to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateServiceLevelObjectiveInput

type UpdateServiceLevelObjectiveInput struct {

	// An optional description for the SLO.
	Description *string `min:"1" type:"string"`

	// A structure that contains the attributes that determine the goal of the SLO.
	// This includes the time period for evaluation and the attainment threshold.
	Goal *Goal `type:"structure"`

	// The Amazon Resource Name (ARN) or name of the service level objective that
	// you want to update.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`

	// A structure that contains information about what performance metric this
	// SLO will monitor.
	SliConfig *ServiceLevelIndicatorConfig `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateServiceLevelObjectiveInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateServiceLevelObjectiveInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateServiceLevelObjectiveInput) SetGoal

SetGoal sets the Goal field's value.

func (*UpdateServiceLevelObjectiveInput) SetId

SetId sets the Id field's value.

func (*UpdateServiceLevelObjectiveInput) SetSliConfig

SetSliConfig sets the SliConfig field's value.

func (UpdateServiceLevelObjectiveInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateServiceLevelObjectiveInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateServiceLevelObjectiveOutput

type UpdateServiceLevelObjectiveOutput struct {

	// A structure that contains information about the SLO that you just updated.
	//
	// Slo is a required field
	Slo *ServiceLevelObjective `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateServiceLevelObjectiveOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateServiceLevelObjectiveOutput) SetSlo

SetSlo sets the Slo field's value.

func (UpdateServiceLevelObjectiveOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource is not valid.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package applicationsignalsiface provides an interface to enable mocking the Amazon CloudWatch Application Signals service client for testing your code.
Package applicationsignalsiface provides an interface to enable mocking the Amazon CloudWatch Application Signals service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL