package types

import "github.com/aws/aws-sdk-go-v2/service/applicationinsights/types"

Index

Types

type ApplicationComponent

type ApplicationComponent struct {

	// The name of the component.
	ComponentName *string

	// Indicates whether the application component is monitored.
	Monitor *bool

	// The resource type. Supported resource types include EC2 instances, Auto Scaling
	// group, Classic ELB, Application ELB, and SQS Queue.
	ResourceType *string

	// The stack tier of the application component.
	Tier Tier
}

Describes a standalone resource or similarly grouped resources that the application is made up of.

type ApplicationInfo

type ApplicationInfo struct {

	// Indicates whether Application Insights can listen to CloudWatch events for the
	// application resources, such as instance terminated, failed deployment, and
	// others.
	CWEMonitorEnabled *bool

	// The lifecycle of the application.
	LifeCycle *string

	// Indicates whether Application Insights will create opsItems for any problem
	// detected by Application Insights for an application.
	OpsCenterEnabled *bool

	// The SNS topic provided to Application Insights that is associated to the created
	// opsItems to receive SNS notifications for opsItem updates.
	OpsItemSNSTopicArn *string

	// The issues on the user side that block Application Insights from successfully
	// monitoring an application. Example remarks include:
	//
	//     * “Configuring
	// application, detected 1 Errors, 3 Warnings”
	//
	//     * “Configuring application,
	// detected 1 Unconfigured Components”
	Remarks *string

	// The name of the resource group used for the application.
	ResourceGroupName *string
}

Describes the status of the application.

type BadRequestException

type BadRequestException struct {
	Message *string
}

The request is not understood by the server.

func (*BadRequestException) Error

func (e *BadRequestException) Error() string

func (*BadRequestException) ErrorCode

func (e *BadRequestException) ErrorCode() string

func (*BadRequestException) ErrorFault

func (e *BadRequestException) ErrorFault() smithy.ErrorFault

func (*BadRequestException) ErrorMessage

func (e *BadRequestException) ErrorMessage() string

type CloudWatchEventSource

type CloudWatchEventSource string
const (
	CloudWatchEventSourceEc2         CloudWatchEventSource = "EC2"
	CloudWatchEventSourceCode_deploy CloudWatchEventSource = "CODE_DEPLOY"
	CloudWatchEventSourceHealth      CloudWatchEventSource = "HEALTH"
)

Enum values for CloudWatchEventSource

type ConfigurationEvent

type ConfigurationEvent struct {

	// The details of the event in plain text.
	EventDetail *string

	// The name of the resource Application Insights attempted to configure.
	EventResourceName *string

	// The resource type that Application Insights attempted to configure, for example,
	// CLOUDWATCH_ALARM.
	EventResourceType ConfigurationEventResourceType

	// The status of the configuration update event. Possible values include INFO,
	// WARN, and ERROR.
	EventStatus ConfigurationEventStatus

	// The timestamp of the event.
	EventTime *time.Time

	// The resource monitored by Application Insights.
	MonitoredResourceARN *string
}

The event information.

type ConfigurationEventResourceType

type ConfigurationEventResourceType string
const (
	ConfigurationEventResourceTypeCloudwatch_alarm ConfigurationEventResourceType = "CLOUDWATCH_ALARM"
	ConfigurationEventResourceTypeCloudformation   ConfigurationEventResourceType = "CLOUDFORMATION"
	ConfigurationEventResourceTypeSsm_association  ConfigurationEventResourceType = "SSM_ASSOCIATION"
)

Enum values for ConfigurationEventResourceType

type ConfigurationEventStatus

type ConfigurationEventStatus string
const (
	ConfigurationEventStatusInfo  ConfigurationEventStatus = "INFO"
	ConfigurationEventStatusWarn  ConfigurationEventStatus = "WARN"
	ConfigurationEventStatusError ConfigurationEventStatus = "ERROR"
)

Enum values for ConfigurationEventStatus

type FeedbackKey

type FeedbackKey string
const (
	FeedbackKeyInsights_feedback FeedbackKey = "INSIGHTS_FEEDBACK"
)

Enum values for FeedbackKey

type FeedbackValue

type FeedbackValue string
const (
	FeedbackValueNot_specified FeedbackValue = "NOT_SPECIFIED"
	FeedbackValueUseful        FeedbackValue = "USEFUL"
	FeedbackValueNot_useful    FeedbackValue = "NOT_USEFUL"
)

Enum values for FeedbackValue

type InternalServerException

type InternalServerException struct {
	Message *string
}

The server encountered an internal error and is unable to complete the request.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type LogFilter

type LogFilter string
const (
	LogFilterError LogFilter = "ERROR"
	LogFilterWarn  LogFilter = "WARN"
	LogFilterInfo  LogFilter = "INFO"
)

Enum values for LogFilter

type LogPattern

type LogPattern struct {

	// A regular expression that defines the log pattern. A log pattern can contains at
	// many as 50 characters, and it cannot be empty.
	Pattern *string

	// The name of the log pattern. A log pattern name can contains at many as 50
	// characters, and it cannot be empty. The characters can be Unicode letters,
	// digits or one of the following symbols: period, dash, underscore.
	PatternName *string

	// The name of the log pattern. A log pattern name can contains at many as 30
	// characters, and it cannot be empty. The characters can be Unicode letters,
	// digits or one of the following symbols: period, dash, underscore.
	PatternSetName *string

	// Rank of the log pattern.
	Rank *int32
}

An object that defines the log patterns that belongs to a LogPatternSet.

type Observation

type Observation struct {

	// The detail type of the CloudWatch Event-based observation, for example, EC2
	// Instance State-change Notification.
	CloudWatchEventDetailType *string

	// The ID of the CloudWatch Event-based observation related to the detected
	// problem.
	CloudWatchEventId *string

	// The source of the CloudWatch Event.
	CloudWatchEventSource CloudWatchEventSource

	// The CodeDeploy application to which the deployment belongs.
	CodeDeployApplication *string

	// The deployment group to which the CodeDeploy deployment belongs.
	CodeDeployDeploymentGroup *string

	// The deployment ID of the CodeDeploy-based observation related to the detected
	// problem.
	CodeDeployDeploymentId *string

	// The instance group to which the CodeDeploy instance belongs.
	CodeDeployInstanceGroupId *string

	// The status of the CodeDeploy deployment, for example SUCCESS or  FAILURE.
	CodeDeployState *string

	// The state of the instance, such as STOPPING or TERMINATING.
	Ec2State *string

	// The time when the observation ended, in epoch seconds.
	EndTime *time.Time

	// The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
	HealthEventArn *string

	// The description of the AWS Health event provided by the service, such as Amazon
	// EC2.
	HealthEventDescription *string

	// The category of the AWS Health event, such as issue.
	HealthEventTypeCategory *string

	// The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
	HealthEventTypeCode *string

	// The service to which the AWS Health Event belongs, such as EC2.
	HealthService *string

	// The ID of the observation type.
	Id *string

	// The timestamp in the CloudWatch Logs that specifies when the matched line
	// occurred.
	LineTime *time.Time

	// The log filter of the observation.
	LogFilter LogFilter

	// The log group name.
	LogGroup *string

	// The log text of the observation.
	LogText *string

	// The name of the observation metric.
	MetricName *string

	// The namespace of the observation metric.
	MetricNamespace *string

	// The source resource ARN of the observation.
	SourceARN *string

	// The source type of the observation.
	SourceType *string

	// The time when the observation was first detected, in epoch seconds.
	StartTime *time.Time

	// The unit of the source observation metric.
	Unit *string

	// The value of the source observation metric.
	Value *float64

	// The X-Ray request error percentage for this node.
	XRayErrorPercent *int32

	// The X-Ray request fault percentage for this node.
	XRayFaultPercent *int32

	// The name of the X-Ray node.
	XRayNodeName *string

	// The type of the X-Ray node.
	XRayNodeType *string

	// The X-Ray node request average latency for this node.
	XRayRequestAverageLatency *int64

	// The X-Ray request count for this node.
	XRayRequestCount *int32

	// The X-Ray request throttle percentage for this node.
	XRayThrottlePercent *int32
}

Describes an anomaly or error with the application.

type Problem

type Problem struct {

	// The resource affected by the problem.
	AffectedResource *string

	// The time when the problem ended, in epoch seconds.
	EndTime *time.Time

	// Feedback provided by the user about the problem.
	Feedback map[string]FeedbackValue

	// The ID of the problem.
	Id *string

	// A detailed analysis of the problem using machine learning.
	Insights *string

	// The name of the resource group affected by the problem.
	ResourceGroupName *string

	// A measure of the level of impact of the problem.
	SeverityLevel SeverityLevel

	// The time when the problem started, in epoch seconds.
	StartTime *time.Time

	// The status of the problem.
	Status Status

	// The name of the problem.
	Title *string
}

Describes a problem that is detected by correlating observations.

type RelatedObservations

type RelatedObservations struct {

	// The list of observations related to the problem.
	ObservationList []*Observation
}

Describes observations related to the problem.

type ResourceInUseException

type ResourceInUseException struct {
	Message *string
}

The resource is already created or in use.

func (*ResourceInUseException) Error

func (e *ResourceInUseException) Error() string

func (*ResourceInUseException) ErrorCode

func (e *ResourceInUseException) ErrorCode() string

func (*ResourceInUseException) ErrorFault

func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault

func (*ResourceInUseException) ErrorMessage

func (e *ResourceInUseException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

The resource does not exist in the customer account.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type SeverityLevel

type SeverityLevel string
const (
	SeverityLevelLow    SeverityLevel = "Low"
	SeverityLevelMedium SeverityLevel = "Medium"
	SeverityLevelHigh   SeverityLevel = "High"
)

Enum values for SeverityLevel

type Status

type Status string
const (
	StatusIgnore   Status = "IGNORE"
	StatusResolved Status = "RESOLVED"
	StatusPending  Status = "PENDING"
)

Enum values for Status

type Tag

type Tag struct {

	// One part of a key-value pair that defines a tag. The maximum length of a tag key
	// is 128 characters. The minimum length is 1 character.
	//
	// This member is required.
	Key *string

	// The optional part of a key-value pair that defines a tag. The maximum length of
	// a tag value is 256 characters. The minimum length is 0 characters. If you don't
	// want an application to have a specific tag value, don't specify a value for this
	// parameter.
	//
	// This member is required.
	Value *string
}

An object that defines the tags associated with an application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

are case sensitive.

unique and it can have only one value.

use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix.

type TagsAlreadyExistException

type TagsAlreadyExistException struct {
	Message *string
}

Tags are already registered for the specified application ARN.

func (*TagsAlreadyExistException) Error

func (e *TagsAlreadyExistException) Error() string

func (*TagsAlreadyExistException) ErrorCode

func (e *TagsAlreadyExistException) ErrorCode() string

func (*TagsAlreadyExistException) ErrorFault

func (*TagsAlreadyExistException) ErrorMessage

func (e *TagsAlreadyExistException) ErrorMessage() string

type Tier

type Tier string
const (
	TierDefault        Tier = "DEFAULT"
	TierDot_net_core   Tier = "DOT_NET_CORE"
	TierDot_net_worker Tier = "DOT_NET_WORKER"
	TierDot_net_web    Tier = "DOT_NET_WEB"
	TierSql_server     Tier = "SQL_SERVER"
)

Enum values for Tier

type TooManyTagsException

type TooManyTagsException struct {
	Message *string

	ResourceName *string
}

The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

type ValidationException

type ValidationException struct {
	Message *string
}

The parameter is not valid.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

Source Files

enums.go errors.go types.go

Version
v0.28.0
Published
Oct 26, 2020
Platform
js/wasm
Imports
3 packages
Last checked
50 minutes ago

Tools for package owners.