Documentation ¶
Index ¶
- type AccessDeniedException
- type ApplicationComponent
- type ApplicationInfo
- type BadRequestException
- type CloudWatchEventSource
- type ConfigurationEvent
- type ConfigurationEventResourceType
- type ConfigurationEventStatus
- type DiscoveryType
- type FeedbackKey
- type FeedbackValue
- type GroupingType
- type InternalServerException
- type LogFilter
- type LogPattern
- type Observation
- type OsType
- type Problem
- type RecommendationType
- type RelatedObservations
- type ResolutionMethod
- type ResourceInUseException
- type ResourceNotFoundException
- type SeverityLevel
- type Status
- type Tag
- type TagsAlreadyExistException
- type Tier
- type TooManyTagsException
- type UpdateStatus
- type ValidationException
- type Visibility
- type Workload
- type WorkloadConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
User does not have permissions to perform this action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type ApplicationComponent ¶
type ApplicationComponent struct { // The name of the component. ComponentName *string // If logging is supported for the resource type, indicates whether the component // has configured logs to be monitored. ComponentRemarks *string // Workloads detected in the application component. DetectedWorkload map[string]map[string]string // Indicates whether the application component is monitored. Monitor *bool // The operating system of the component. OsType OsType // 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 // contains filtered or unexported fields }
Describes a standalone resource or similarly grouped resources that the application is made up of.
type ApplicationInfo ¶
type ApplicationInfo struct { // The AWS account ID for the owner of the application. AccountId *string // If set to true, the managed policies for SSM and CW will be attached to the // instance roles if they are missing. AttachMissingPermission *bool // Indicates whether auto-configuration is turned on for this application. AutoConfigEnabled *bool // Indicates whether Application Insights can listen to CloudWatch events for the // application resources, such as instance terminated , failed deployment , and // others. CWEMonitorEnabled *bool // The method used by Application Insights to onboard your resources. DiscoveryType DiscoveryType // 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 // contains filtered or unexported fields }
Describes the status of the application.
type BadRequestException ¶
type BadRequestException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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" CloudWatchEventSourceCodeDeploy CloudWatchEventSource = "CODE_DEPLOY" CloudWatchEventSourceHealth CloudWatchEventSource = "HEALTH" CloudWatchEventSourceRds CloudWatchEventSource = "RDS" )
Enum values for CloudWatchEventSource
func (CloudWatchEventSource) Values ¶
func (CloudWatchEventSource) Values() []CloudWatchEventSource
Values returns all known values for CloudWatchEventSource. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ConfigurationEvent ¶
type ConfigurationEvent struct { // The AWS account ID for the owner of the application to which the configuration // event belongs. AccountId *string // 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 name of the resource group of the application to which the configuration // event belongs. ResourceGroupName *string // contains filtered or unexported fields }
The event information.
type ConfigurationEventResourceType ¶
type ConfigurationEventResourceType string
const ( ConfigurationEventResourceTypeCloudwatchAlarm ConfigurationEventResourceType = "CLOUDWATCH_ALARM" ConfigurationEventResourceTypeCloudwatchLog ConfigurationEventResourceType = "CLOUDWATCH_LOG" ConfigurationEventResourceTypeCloudformation ConfigurationEventResourceType = "CLOUDFORMATION" ConfigurationEventResourceTypeSsmAssociation ConfigurationEventResourceType = "SSM_ASSOCIATION" )
Enum values for ConfigurationEventResourceType
func (ConfigurationEventResourceType) Values ¶
func (ConfigurationEventResourceType) Values() []ConfigurationEventResourceType
Values returns all known values for ConfigurationEventResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ConfigurationEventStatus ¶
type ConfigurationEventStatus string
const ( ConfigurationEventStatusInfo ConfigurationEventStatus = "INFO" ConfigurationEventStatusWarn ConfigurationEventStatus = "WARN" ConfigurationEventStatusError ConfigurationEventStatus = "ERROR" )
Enum values for ConfigurationEventStatus
func (ConfigurationEventStatus) Values ¶
func (ConfigurationEventStatus) Values() []ConfigurationEventStatus
Values returns all known values for ConfigurationEventStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DiscoveryType ¶
type DiscoveryType string
const ( DiscoveryTypeResourceGroupBased DiscoveryType = "RESOURCE_GROUP_BASED" DiscoveryTypeAccountBased DiscoveryType = "ACCOUNT_BASED" )
Enum values for DiscoveryType
func (DiscoveryType) Values ¶
func (DiscoveryType) Values() []DiscoveryType
Values returns all known values for DiscoveryType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type FeedbackKey ¶
type FeedbackKey string
const (
FeedbackKeyInsightsFeedback FeedbackKey = "INSIGHTS_FEEDBACK"
)
Enum values for FeedbackKey
func (FeedbackKey) Values ¶
func (FeedbackKey) Values() []FeedbackKey
Values returns all known values for FeedbackKey. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type FeedbackValue ¶
type FeedbackValue string
const ( FeedbackValueNotSpecified FeedbackValue = "NOT_SPECIFIED" FeedbackValueUseful FeedbackValue = "USEFUL" FeedbackValueNotUseful FeedbackValue = "NOT_USEFUL" )
Enum values for FeedbackValue
func (FeedbackValue) Values ¶
func (FeedbackValue) Values() []FeedbackValue
Values returns all known values for FeedbackValue. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GroupingType ¶
type GroupingType string
const (
GroupingTypeAccountBased GroupingType = "ACCOUNT_BASED"
)
Enum values for GroupingType
func (GroupingType) Values ¶
func (GroupingType) Values() []GroupingType
Values returns all known values for GroupingType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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
type LogPattern ¶
type LogPattern struct { // A regular expression that defines the log pattern. A log pattern can contain as // many as 50 characters, and it cannot be empty. The pattern must be DFA // compatible. Patterns that utilize forward lookahead or backreference // constructions are not supported. Pattern *string // The name of the log pattern. A log pattern name can contain as 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 contain as 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. Must be a value between 1 and 1,000,000 . The patterns // are sorted by rank, so we recommend that you set your highest priority patterns // with the lowest rank. A pattern of rank 1 will be the first to get matched to a // log line. A pattern of rank 1,000,000 will be last to get matched. When you // configure custom log patterns from the console, a Low severity pattern // translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 // rank. And a High severity pattern translates to a 250,000 rank. Rank values // less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns. Rank int32 // contains filtered or unexported fields }
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 cause of an EBS CloudWatch event. EbsCause *string // The type of EBS CloudWatch event, such as createVolume , deleteVolume or // attachVolume . EbsEvent *string // The request ID of an EBS CloudWatch event. EbsRequestId *string // The result of an EBS CloudWatch event, such as failed or succeeded . EbsResult *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 category of an RDS event. RdsEventCategories *string // The message of an RDS event. RdsEventMessage *string // The name of the S3 CloudWatch Event-based observation. S3EventName *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 Amazon Resource Name (ARN) of the step function-based observation. StatesArn *string // The Amazon Resource Name (ARN) of the step function execution-based // observation. StatesExecutionArn *string // The input to the step function-based observation. StatesInput *string // The status of the step function-related observation. StatesStatus *string // 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 // contains filtered or unexported fields }
Describes an anomaly or error with the application.
type Problem ¶
type Problem struct { // The AWS account ID for the owner of the resource group affected by the problem. AccountId *string // 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 last time that the problem reoccurred after its last resolution. LastRecurrenceTime *time.Time // The number of times that the same problem reoccurred after the first time it // was resolved. RecurringCount *int64 // Specifies how the problem was resolved. If the value is AUTOMATIC , the system // resolved the problem. If the value is MANUAL , the user resolved the problem. If // the value is UNRESOLVED , then the problem is not resolved. ResolutionMethod ResolutionMethod // 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 // Specifies whether or not you can view the problem. Updates to ignored problems // do not generate notifications. Visibility Visibility // contains filtered or unexported fields }
Describes a problem that is detected by correlating observations.
type RecommendationType ¶
type RecommendationType string
const ( RecommendationTypeInfraOnly RecommendationType = "INFRA_ONLY" RecommendationTypeWorkloadOnly RecommendationType = "WORKLOAD_ONLY" RecommendationTypeAll RecommendationType = "ALL" )
Enum values for RecommendationType
func (RecommendationType) Values ¶
func (RecommendationType) Values() []RecommendationType
Values returns all known values for RecommendationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RelatedObservations ¶
type RelatedObservations struct { // The list of observations related to the problem. ObservationList []Observation // contains filtered or unexported fields }
Describes observations related to the problem.
type ResolutionMethod ¶
type ResolutionMethod string
const ( ResolutionMethodManual ResolutionMethod = "MANUAL" ResolutionMethodAutomatic ResolutionMethod = "AUTOMATIC" ResolutionMethodUnresolved ResolutionMethod = "UNRESOLVED" )
Enum values for ResolutionMethod
func (ResolutionMethod) Values ¶
func (ResolutionMethod) Values() []ResolutionMethod
Values returns all known values for ResolutionMethod. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceInUseException ¶
type ResourceInUseException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type SeverityLevel ¶
type SeverityLevel string
const ( SeverityLevelInformative SeverityLevel = "Informative" SeverityLevelLow SeverityLevel = "Low" SeverityLevelMedium SeverityLevel = "Medium" SeverityLevelHigh SeverityLevel = "High" )
Enum values for SeverityLevel
func (SeverityLevel) Values ¶
func (SeverityLevel) Values() []SeverityLevel
Values returns all known values for SeverityLevel. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Status ¶
type Status string
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 // contains filtered or unexported fields }
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:
Tag keys and values are case sensitive.
For each associated resource, each tag key must be unique and it can have only one value.
The aws: prefix is reserved for 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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *TagsAlreadyExistException) ErrorFault() smithy.ErrorFault
func (*TagsAlreadyExistException) ErrorMessage ¶
func (e *TagsAlreadyExistException) ErrorMessage() string
type Tier ¶
type Tier string
const ( TierCustom Tier = "CUSTOM" TierDefault Tier = "DEFAULT" TierDotNetCore Tier = "DOT_NET_CORE" TierDotNetWorker Tier = "DOT_NET_WORKER" TierDotNetWebTier Tier = "DOT_NET_WEB_TIER" TierDotNetWeb Tier = "DOT_NET_WEB" TierSqlServer Tier = "SQL_SERVER" TierSqlServerAlwaysonAvailabilityGroup Tier = "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP" TierMysql Tier = "MYSQL" TierPostgresql Tier = "POSTGRESQL" TierJavaJmx Tier = "JAVA_JMX" TierOracle Tier = "ORACLE" TierSapHanaMultiNode Tier = "SAP_HANA_MULTI_NODE" TierSapHanaSingleNode Tier = "SAP_HANA_SINGLE_NODE" TierSapHanaHighAvailability Tier = "SAP_HANA_HIGH_AVAILABILITY" TierSqlServerFailoverClusterInstance Tier = "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" TierActiveDirectory Tier = "ACTIVE_DIRECTORY" TierSapNetweaverStandard Tier = "SAP_NETWEAVER_STANDARD" TierSapNetweaverDistributed Tier = "SAP_NETWEAVER_DISTRIBUTED" TierSapNetweaverHighAvailability Tier = "SAP_NETWEAVER_HIGH_AVAILABILITY" )
Enum values for Tier
type TooManyTagsException ¶
type TooManyTagsException struct { Message *string ErrorCodeOverride *string ResourceName *string // contains filtered or unexported fields }
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 UpdateStatus ¶
type UpdateStatus string
const (
UpdateStatusResolved UpdateStatus = "RESOLVED"
)
Enum values for UpdateStatus
func (UpdateStatus) Values ¶
func (UpdateStatus) Values() []UpdateStatus
Values returns all known values for UpdateStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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
type Visibility ¶
type Visibility string
const ( VisibilityIgnored Visibility = "IGNORED" VisibilityVisible Visibility = "VISIBLE" )
Enum values for Visibility
func (Visibility) Values ¶
func (Visibility) Values() []Visibility
Values returns all known values for Visibility. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Workload ¶
type Workload struct { // The name of the component. ComponentName *string // The tier of the workload. Tier Tier // The ID of the workload. WorkloadId *string // The name of the workload. WorkloadName *string // If logging is supported for the resource type, shows whether the component has // configured logs to be monitored. WorkloadRemarks *string // contains filtered or unexported fields }
Describes the workloads on a component.
type WorkloadConfiguration ¶
type WorkloadConfiguration struct { // The configuration settings of the workload. Configuration *string // The configuration of the workload tier. Tier Tier // The name of the workload. WorkloadName *string // contains filtered or unexported fields }
The configuration of the workload.