devopsguru

package
v1.38.22 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 11

Documentation

Overview

Package devopsguru provides the client and types for making API requests to Amazon DevOps Guru.

Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the AWS resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and AWS CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html).

You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in AWS Systems Manager for each insight to help you manage and track your work addressing insights.

To learn about the DevOps Guru workflow, see How DevOps Guru works (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html#how-it-works). To learn about DevOps Guru concepts, see Concepts in DevOps Guru (https://docs.aws.amazon.com/devops-guru/latest/userguide/concepts.html).

See https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01 for more information on this service.

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

Using the Client

To contact Amazon DevOps Guru 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 DevOps Guru client DevOpsGuru for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/devopsguru/#New

Index

Constants

View Source
const (
	// AnomalySeverityLow is a AnomalySeverity enum value
	AnomalySeverityLow = "LOW"

	// AnomalySeverityMedium is a AnomalySeverity enum value
	AnomalySeverityMedium = "MEDIUM"

	// AnomalySeverityHigh is a AnomalySeverity enum value
	AnomalySeverityHigh = "HIGH"
)
View Source
const (
	// AnomalyStatusOngoing is a AnomalyStatus enum value
	AnomalyStatusOngoing = "ONGOING"

	// AnomalyStatusClosed is a AnomalyStatus enum value
	AnomalyStatusClosed = "CLOSED"
)
View Source
const (
	// CloudWatchMetricsStatSum is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatSum = "Sum"

	// CloudWatchMetricsStatAverage is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatAverage = "Average"

	// CloudWatchMetricsStatSampleCount is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatSampleCount = "SampleCount"

	// CloudWatchMetricsStatMinimum is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatMinimum = "Minimum"

	// CloudWatchMetricsStatMaximum is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatMaximum = "Maximum"

	// CloudWatchMetricsStatP99 is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatP99 = "p99"

	// CloudWatchMetricsStatP90 is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatP90 = "p90"

	// CloudWatchMetricsStatP50 is a CloudWatchMetricsStat enum value
	CloudWatchMetricsStatP50 = "p50"
)
View Source
const (
	// EventClassInfrastructure is a EventClass enum value
	EventClassInfrastructure = "INFRASTRUCTURE"

	// EventClassDeployment is a EventClass enum value
	EventClassDeployment = "DEPLOYMENT"

	// EventClassSecurityChange is a EventClass enum value
	EventClassSecurityChange = "SECURITY_CHANGE"

	// EventClassConfigChange is a EventClass enum value
	EventClassConfigChange = "CONFIG_CHANGE"

	// EventClassSchemaChange is a EventClass enum value
	EventClassSchemaChange = "SCHEMA_CHANGE"
)
View Source
const (
	// EventDataSourceAwsCloudTrail is a EventDataSource enum value
	EventDataSourceAwsCloudTrail = "AWS_CLOUD_TRAIL"

	// EventDataSourceAwsCodeDeploy is a EventDataSource enum value
	EventDataSourceAwsCodeDeploy = "AWS_CODE_DEPLOY"
)
View Source
const (
	// InsightFeedbackOptionValidCollection is a InsightFeedbackOption enum value
	InsightFeedbackOptionValidCollection = "VALID_COLLECTION"

	// InsightFeedbackOptionRecommendationUseful is a InsightFeedbackOption enum value
	InsightFeedbackOptionRecommendationUseful = "RECOMMENDATION_USEFUL"

	// InsightFeedbackOptionAlertTooSensitive is a InsightFeedbackOption enum value
	InsightFeedbackOptionAlertTooSensitive = "ALERT_TOO_SENSITIVE"

	// InsightFeedbackOptionDataNoisyAnomaly is a InsightFeedbackOption enum value
	InsightFeedbackOptionDataNoisyAnomaly = "DATA_NOISY_ANOMALY"

	// InsightFeedbackOptionDataIncorrect is a InsightFeedbackOption enum value
	InsightFeedbackOptionDataIncorrect = "DATA_INCORRECT"
)
View Source
const (
	// InsightSeverityLow is a InsightSeverity enum value
	InsightSeverityLow = "LOW"

	// InsightSeverityMedium is a InsightSeverity enum value
	InsightSeverityMedium = "MEDIUM"

	// InsightSeverityHigh is a InsightSeverity enum value
	InsightSeverityHigh = "HIGH"
)
View Source
const (
	// InsightStatusOngoing is a InsightStatus enum value
	InsightStatusOngoing = "ONGOING"

	// InsightStatusClosed is a InsightStatus enum value
	InsightStatusClosed = "CLOSED"
)
View Source
const (
	// InsightTypeReactive is a InsightType enum value
	InsightTypeReactive = "REACTIVE"

	// InsightTypeProactive is a InsightType enum value
	InsightTypeProactive = "PROACTIVE"
)
View Source
const (
	// OptInStatusEnabled is a OptInStatus enum value
	OptInStatusEnabled = "ENABLED"

	// OptInStatusDisabled is a OptInStatus enum value
	OptInStatusDisabled = "DISABLED"
)

Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem for each created insight.

View Source
const (
	// UpdateResourceCollectionActionAdd is a UpdateResourceCollectionAction enum value
	UpdateResourceCollectionActionAdd = "ADD"

	// UpdateResourceCollectionActionRemove is a UpdateResourceCollectionAction enum value
	UpdateResourceCollectionActionRemove = "REMOVE"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CANNOT_PARSE"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "OTHER"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You don't have permissions to perform the requested operation. The user or
	// role that is making the request must have at least one IAM permissions policy
	// attached that grants the required permissions. For more information, see
	// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html)
	// in the IAM User Guide.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// An exception that is thrown when a conflict occurs.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An internal failure in an Amazon service occurred.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A requested resource could not be found
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The request contains a value that exceeds a maximum quota.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to a request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Contains information about data passed in to a field during a request that
	// is not valid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "DevOps Guru" // Name of service.
	EndpointsID = "devops-guru" // ID to lookup a service endpoint with.
	ServiceID   = "DevOps Guru" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ResourceCollectionTypeAwsCloudFormation is a ResourceCollectionType enum value
	ResourceCollectionTypeAwsCloudFormation = "AWS_CLOUD_FORMATION"
)

Variables

This section is empty.

Functions

func AnomalySeverity_Values

func AnomalySeverity_Values() []string

AnomalySeverity_Values returns all elements of the AnomalySeverity enum

func AnomalyStatus_Values

func AnomalyStatus_Values() []string

AnomalyStatus_Values returns all elements of the AnomalyStatus enum

func CloudWatchMetricsStat_Values

func CloudWatchMetricsStat_Values() []string

CloudWatchMetricsStat_Values returns all elements of the CloudWatchMetricsStat enum

func EventClass_Values

func EventClass_Values() []string

EventClass_Values returns all elements of the EventClass enum

func EventDataSource_Values

func EventDataSource_Values() []string

EventDataSource_Values returns all elements of the EventDataSource enum

func InsightFeedbackOption_Values

func InsightFeedbackOption_Values() []string

InsightFeedbackOption_Values returns all elements of the InsightFeedbackOption enum

func InsightSeverity_Values

func InsightSeverity_Values() []string

InsightSeverity_Values returns all elements of the InsightSeverity enum

func InsightStatus_Values

func InsightStatus_Values() []string

InsightStatus_Values returns all elements of the InsightStatus enum

func InsightType_Values

func InsightType_Values() []string

InsightType_Values returns all elements of the InsightType enum

func OptInStatus_Values

func OptInStatus_Values() []string

OptInStatus_Values returns all elements of the OptInStatus enum

func ResourceCollectionType_Values added in v1.36.8

func ResourceCollectionType_Values() []string

ResourceCollectionType_Values returns all elements of the ResourceCollectionType enum

func UpdateResourceCollectionAction_Values

func UpdateResourceCollectionAction_Values() []string

UpdateResourceCollectionAction_Values returns all elements of the UpdateResourceCollectionAction enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason 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 permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

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

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

type AddNotificationChannelInput

type AddNotificationChannelInput struct {

	// A NotificationChannelConfig object that specifies what type of notification
	// channel to add. The one supported notification channel is Amazon Simple Notification
	// Service (Amazon SNS).
	//
	// Config is a required field
	Config *NotificationChannelConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (AddNotificationChannelInput) GoString

func (s AddNotificationChannelInput) GoString() string

GoString returns the string representation

func (*AddNotificationChannelInput) SetConfig

SetConfig sets the Config field's value.

func (AddNotificationChannelInput) String

String returns the string representation

func (*AddNotificationChannelInput) Validate

func (s *AddNotificationChannelInput) Validate() error

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

type AddNotificationChannelOutput

type AddNotificationChannelOutput struct {

	// The ID of the added notification channel.
	//
	// Id is a required field
	Id *string `min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AddNotificationChannelOutput) GoString

func (s AddNotificationChannelOutput) GoString() string

GoString returns the string representation

func (*AddNotificationChannelOutput) SetId

SetId sets the Id field's value.

func (AddNotificationChannelOutput) String

String returns the string representation

type AnomalySourceDetails

type AnomalySourceDetails struct {

	// An array of CloudWatchMetricsDetail object that contains information about
	// the analyzed metrics that displayed anomalous behavior.
	CloudWatchMetrics []*CloudWatchMetricsDetail `type:"list"`
	// contains filtered or unexported fields
}

Details about the source of the anomalous operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.

func (AnomalySourceDetails) GoString

func (s AnomalySourceDetails) GoString() string

GoString returns the string representation

func (*AnomalySourceDetails) SetCloudWatchMetrics

func (s *AnomalySourceDetails) SetCloudWatchMetrics(v []*CloudWatchMetricsDetail) *AnomalySourceDetails

SetCloudWatchMetrics sets the CloudWatchMetrics field's value.

func (AnomalySourceDetails) String

func (s AnomalySourceDetails) String() string

String returns the string representation

type AnomalyTimeRange

type AnomalyTimeRange struct {

	// The time when the anomalous behavior ended.
	EndTime *time.Time `type:"timestamp"`

	// The time when the anomalous behavior started.
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

A time range that specifies when the observed unusual behavior in an anomaly started and ended.

func (AnomalyTimeRange) GoString

func (s AnomalyTimeRange) GoString() string

GoString returns the string representation

func (*AnomalyTimeRange) SetEndTime

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

SetEndTime sets the EndTime field's value.

func (*AnomalyTimeRange) SetStartTime

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

SetStartTime sets the StartTime field's value.

func (AnomalyTimeRange) String

func (s AnomalyTimeRange) String() string

String returns the string representation

type CloudFormationCollection

type CloudFormationCollection struct {

	// An array of CloudFormation stack names.
	StackNames []*string `type:"list"`
	// contains filtered or unexported fields
}

Information about AWS CloudFormation stacks. You can use stacks to specify which AWS resources in your account to analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in the AWS CloudFormation User Guide.

func (CloudFormationCollection) GoString

func (s CloudFormationCollection) GoString() string

GoString returns the string representation

func (*CloudFormationCollection) SetStackNames

SetStackNames sets the StackNames field's value.

func (CloudFormationCollection) String

func (s CloudFormationCollection) String() string

String returns the string representation

type CloudFormationCollectionFilter

type CloudFormationCollectionFilter struct {

	// An array of CloudFormation stack names.
	StackNames []*string `type:"list"`
	// contains filtered or unexported fields
}

Information about AWS CloudFormation stacks. You can use stacks to specify which AWS resources in your account to analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in the AWS CloudFormation User Guide.

func (CloudFormationCollectionFilter) GoString

GoString returns the string representation

func (*CloudFormationCollectionFilter) SetStackNames

SetStackNames sets the StackNames field's value.

func (CloudFormationCollectionFilter) String

String returns the string representation

type CloudFormationHealth

type CloudFormationHealth struct {

	// Information about the health of the AWS resources in your account that are
	// specified by an AWS CloudFormation stack, including the number of open proactive,
	// open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
	Insight *InsightHealth `type:"structure"`

	// The name of the CloudFormation stack.
	StackName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about the health of AWS resources in your account that are specified by an AWS CloudFormation stack.

func (CloudFormationHealth) GoString

func (s CloudFormationHealth) GoString() string

GoString returns the string representation

func (*CloudFormationHealth) SetInsight

SetInsight sets the Insight field's value.

func (*CloudFormationHealth) SetStackName

func (s *CloudFormationHealth) SetStackName(v string) *CloudFormationHealth

SetStackName sets the StackName field's value.

func (CloudFormationHealth) String

func (s CloudFormationHealth) String() string

String returns the string representation

type CloudWatchMetricsDetail

type CloudWatchMetricsDetail struct {

	// An array of CloudWatch dimensions associated with
	Dimensions []*CloudWatchMetricsDimension `type:"list"`

	// The name of the CloudWatch metric.
	MetricName *string `type:"string"`

	// The namespace of the CloudWatch metric. A namespace is a container for CloudWatch
	// metrics.
	Namespace *string `type:"string"`

	// The length of time associated with the CloudWatch metric in number of seconds.
	Period *int64 `type:"integer"`

	// The type of statistic associated with the CloudWatch metric. For more information,
	// see Statistics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic)
	// in the Amazon CloudWatch User Guide.
	Stat *string `type:"string" enum:"CloudWatchMetricsStat"`

	// The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds,
	// Count, and Percent.
	Unit *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an Amazon CloudWatch metric.

func (CloudWatchMetricsDetail) GoString

func (s CloudWatchMetricsDetail) GoString() string

GoString returns the string representation

func (*CloudWatchMetricsDetail) SetDimensions

SetDimensions sets the Dimensions field's value.

func (*CloudWatchMetricsDetail) SetMetricName

SetMetricName sets the MetricName field's value.

func (*CloudWatchMetricsDetail) SetNamespace

SetNamespace sets the Namespace field's value.

func (*CloudWatchMetricsDetail) SetPeriod

SetPeriod sets the Period field's value.

func (*CloudWatchMetricsDetail) SetStat

SetStat sets the Stat field's value.

func (*CloudWatchMetricsDetail) SetUnit

SetUnit sets the Unit field's value.

func (CloudWatchMetricsDetail) String

func (s CloudWatchMetricsDetail) String() string

String returns the string representation

type CloudWatchMetricsDimension

type CloudWatchMetricsDimension struct {

	// The name of the CloudWatch dimension.
	Name *string `type:"string"`

	// The value of the CloudWatch dimension.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The dimension of a Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in your account for operational problems and anomalous behavior. A dimension is a name/value pair that is part of the identity of a metric. A metric can have up to 10 dimensions. For more information, see Dimensions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension) in the Amazon CloudWatch User Guide.

func (CloudWatchMetricsDimension) GoString

func (s CloudWatchMetricsDimension) GoString() string

GoString returns the string representation

func (*CloudWatchMetricsDimension) SetName

SetName sets the Name field's value.

func (*CloudWatchMetricsDimension) SetValue

SetValue sets the Value field's value.

func (CloudWatchMetricsDimension) String

String returns the string representation

type ConflictException

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

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

	// The ID of the AWS resource in which a conflict occurred.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The type of the AWS resource in which a conflict occurred.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An exception that is thrown when a conflict occurs.

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

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

type DescribeAccountHealthInput

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

func (DescribeAccountHealthInput) GoString

func (s DescribeAccountHealthInput) GoString() string

GoString returns the string representation

func (DescribeAccountHealthInput) String

String returns the string representation

type DescribeAccountHealthOutput

type DescribeAccountHealthOutput struct {

	// An integer that specifies the number of metrics that have been analyzed in
	// your AWS account.
	//
	// MetricsAnalyzed is a required field
	MetricsAnalyzed *int64 `type:"integer" required:"true"`

	// An integer that specifies the number of open proactive insights in your AWS
	// account.
	//
	// OpenProactiveInsights is a required field
	OpenProactiveInsights *int64 `type:"integer" required:"true"`

	// An integer that specifies the number of open reactive insights in your AWS
	// account.
	//
	// OpenReactiveInsights is a required field
	OpenReactiveInsights *int64 `type:"integer" required:"true"`

	// The number of Amazon DevOps Guru resource analysis hours billed to the current
	// AWS account in the last hour.
	//
	// ResourceHours is a required field
	ResourceHours *int64 `type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAccountHealthOutput) GoString

func (s DescribeAccountHealthOutput) GoString() string

GoString returns the string representation

func (*DescribeAccountHealthOutput) SetMetricsAnalyzed

SetMetricsAnalyzed sets the MetricsAnalyzed field's value.

func (*DescribeAccountHealthOutput) SetOpenProactiveInsights

func (s *DescribeAccountHealthOutput) SetOpenProactiveInsights(v int64) *DescribeAccountHealthOutput

SetOpenProactiveInsights sets the OpenProactiveInsights field's value.

func (*DescribeAccountHealthOutput) SetOpenReactiveInsights

func (s *DescribeAccountHealthOutput) SetOpenReactiveInsights(v int64) *DescribeAccountHealthOutput

SetOpenReactiveInsights sets the OpenReactiveInsights field's value.

func (*DescribeAccountHealthOutput) SetResourceHours added in v1.36.23

SetResourceHours sets the ResourceHours field's value.

func (DescribeAccountHealthOutput) String

String returns the string representation

type DescribeAccountOverviewInput

type DescribeAccountOverviewInput struct {

	// The start of the time range passed in. The start time granularity is at the
	// day level. The floor of the start time is used. Returned information occurred
	// after this day.
	//
	// FromTime is a required field
	FromTime *time.Time `type:"timestamp" required:"true"`

	// The end of the time range passed in. The start time granularity is at the
	// day level. The floor of the start time is used. Returned information occurred
	// before this day. If this is not specified, then the current day is used.
	ToTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (DescribeAccountOverviewInput) GoString

func (s DescribeAccountOverviewInput) GoString() string

GoString returns the string representation

func (*DescribeAccountOverviewInput) SetFromTime

SetFromTime sets the FromTime field's value.

func (*DescribeAccountOverviewInput) SetToTime

SetToTime sets the ToTime field's value.

func (DescribeAccountOverviewInput) String

String returns the string representation

func (*DescribeAccountOverviewInput) Validate

func (s *DescribeAccountOverviewInput) Validate() error

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

type DescribeAccountOverviewOutput

type DescribeAccountOverviewOutput struct {

	// The Mean Time to Recover (MTTR) for all closed insights that were created
	// during the time range passed in.
	//
	// MeanTimeToRecoverInMilliseconds is a required field
	MeanTimeToRecoverInMilliseconds *int64 `type:"long" required:"true"`

	// An integer that specifies the number of open proactive insights in your AWS
	// account that were created during the time range passed in.
	//
	// ProactiveInsights is a required field
	ProactiveInsights *int64 `type:"integer" required:"true"`

	// An integer that specifies the number of open reactive insights in your AWS
	// account that were created during the time range passed in.
	//
	// ReactiveInsights is a required field
	ReactiveInsights *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAccountOverviewOutput) GoString

GoString returns the string representation

func (*DescribeAccountOverviewOutput) SetMeanTimeToRecoverInMilliseconds

func (s *DescribeAccountOverviewOutput) SetMeanTimeToRecoverInMilliseconds(v int64) *DescribeAccountOverviewOutput

SetMeanTimeToRecoverInMilliseconds sets the MeanTimeToRecoverInMilliseconds field's value.

func (*DescribeAccountOverviewOutput) SetProactiveInsights

SetProactiveInsights sets the ProactiveInsights field's value.

func (*DescribeAccountOverviewOutput) SetReactiveInsights

SetReactiveInsights sets the ReactiveInsights field's value.

func (DescribeAccountOverviewOutput) String

String returns the string representation

type DescribeAnomalyInput

type DescribeAnomalyInput struct {

	// The ID of the anomaly.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAnomalyInput) GoString

func (s DescribeAnomalyInput) GoString() string

GoString returns the string representation

func (*DescribeAnomalyInput) SetId

SetId sets the Id field's value.

func (DescribeAnomalyInput) String

func (s DescribeAnomalyInput) String() string

String returns the string representation

func (*DescribeAnomalyInput) Validate

func (s *DescribeAnomalyInput) Validate() error

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

type DescribeAnomalyOutput

type DescribeAnomalyOutput struct {

	// An ReactiveAnomaly object that represents the requested anomaly.
	ProactiveAnomaly *ProactiveAnomaly `type:"structure"`

	// An ProactiveAnomaly object that represents the requested anomaly.
	ReactiveAnomaly *ReactiveAnomaly `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeAnomalyOutput) GoString

func (s DescribeAnomalyOutput) GoString() string

GoString returns the string representation

func (*DescribeAnomalyOutput) SetProactiveAnomaly

func (s *DescribeAnomalyOutput) SetProactiveAnomaly(v *ProactiveAnomaly) *DescribeAnomalyOutput

SetProactiveAnomaly sets the ProactiveAnomaly field's value.

func (*DescribeAnomalyOutput) SetReactiveAnomaly

func (s *DescribeAnomalyOutput) SetReactiveAnomaly(v *ReactiveAnomaly) *DescribeAnomalyOutput

SetReactiveAnomaly sets the ReactiveAnomaly field's value.

func (DescribeAnomalyOutput) String

func (s DescribeAnomalyOutput) String() string

String returns the string representation

type DescribeFeedbackInput added in v1.37.12

type DescribeFeedbackInput struct {

	// The ID of the insight for which the feedback was provided.
	InsightId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeFeedbackInput) GoString added in v1.37.12

func (s DescribeFeedbackInput) GoString() string

GoString returns the string representation

func (*DescribeFeedbackInput) SetInsightId added in v1.37.12

SetInsightId sets the InsightId field's value.

func (DescribeFeedbackInput) String added in v1.37.12

func (s DescribeFeedbackInput) String() string

String returns the string representation

func (*DescribeFeedbackInput) Validate added in v1.37.12

func (s *DescribeFeedbackInput) Validate() error

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

type DescribeFeedbackOutput added in v1.37.12

type DescribeFeedbackOutput struct {

	// Information about insight feedback received from a customer.
	InsightFeedback *InsightFeedback `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeFeedbackOutput) GoString added in v1.37.12

func (s DescribeFeedbackOutput) GoString() string

GoString returns the string representation

func (*DescribeFeedbackOutput) SetInsightFeedback added in v1.37.12

SetInsightFeedback sets the InsightFeedback field's value.

func (DescribeFeedbackOutput) String added in v1.37.12

func (s DescribeFeedbackOutput) String() string

String returns the string representation

type DescribeInsightInput

type DescribeInsightInput struct {

	// The ID of the insight.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeInsightInput) GoString

func (s DescribeInsightInput) GoString() string

GoString returns the string representation

func (*DescribeInsightInput) SetId

SetId sets the Id field's value.

func (DescribeInsightInput) String

func (s DescribeInsightInput) String() string

String returns the string representation

func (*DescribeInsightInput) Validate

func (s *DescribeInsightInput) Validate() error

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

type DescribeInsightOutput

type DescribeInsightOutput struct {

	// An ProactiveInsight object that represents the requested insight.
	ProactiveInsight *ProactiveInsight `type:"structure"`

	// An ReactiveInsight object that represents the requested insight.
	ReactiveInsight *ReactiveInsight `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeInsightOutput) GoString

func (s DescribeInsightOutput) GoString() string

GoString returns the string representation

func (*DescribeInsightOutput) SetProactiveInsight

func (s *DescribeInsightOutput) SetProactiveInsight(v *ProactiveInsight) *DescribeInsightOutput

SetProactiveInsight sets the ProactiveInsight field's value.

func (*DescribeInsightOutput) SetReactiveInsight

func (s *DescribeInsightOutput) SetReactiveInsight(v *ReactiveInsight) *DescribeInsightOutput

SetReactiveInsight sets the ReactiveInsight field's value.

func (DescribeInsightOutput) String

func (s DescribeInsightOutput) String() string

String returns the string representation

type DescribeResourceCollectionHealthInput

type DescribeResourceCollectionHealthInput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `location:"querystring" locationName:"NextToken" min:"36" type:"string"`

	// An AWS resource collection type. This type specifies how analyzed AWS resources
	// are defined. The one type of AWS resource collection supported is AWS CloudFormation
	// stacks. DevOps Guru can be configured to analyze only the AWS resources that
	// are defined in the stacks.
	//
	// ResourceCollectionType is a required field
	ResourceCollectionType *string `location:"uri" locationName:"ResourceCollectionType" type:"string" required:"true" enum:"ResourceCollectionType"`
	// contains filtered or unexported fields
}

func (DescribeResourceCollectionHealthInput) GoString

GoString returns the string representation

func (*DescribeResourceCollectionHealthInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeResourceCollectionHealthInput) SetResourceCollectionType

SetResourceCollectionType sets the ResourceCollectionType field's value.

func (DescribeResourceCollectionHealthInput) String

String returns the string representation

func (*DescribeResourceCollectionHealthInput) Validate

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

type DescribeResourceCollectionHealthOutput

type DescribeResourceCollectionHealthOutput struct {

	// The returned CloudFormationHealthOverview object that contains an InsightHealthOverview
	// object with the requested system health information.
	//
	// CloudFormation is a required field
	CloudFormation []*CloudFormationHealth `type:"list" required:"true"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeResourceCollectionHealthOutput) GoString

GoString returns the string representation

func (*DescribeResourceCollectionHealthOutput) SetCloudFormation

SetCloudFormation sets the CloudFormation field's value.

func (*DescribeResourceCollectionHealthOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeResourceCollectionHealthOutput) String

String returns the string representation

type DescribeServiceIntegrationInput

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

func (DescribeServiceIntegrationInput) GoString

GoString returns the string representation

func (DescribeServiceIntegrationInput) String

String returns the string representation

type DescribeServiceIntegrationOutput

type DescribeServiceIntegrationOutput struct {

	// Information about the integration of DevOps Guru with another AWS service,
	// such as AWS Systems Manager.
	ServiceIntegration *ServiceIntegrationConfig `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeServiceIntegrationOutput) GoString

GoString returns the string representation

func (*DescribeServiceIntegrationOutput) SetServiceIntegration

SetServiceIntegration sets the ServiceIntegration field's value.

func (DescribeServiceIntegrationOutput) String

String returns the string representation

type DevOpsGuru

type DevOpsGuru struct {
	*client.Client
}

DevOpsGuru provides the API operation methods for making requests to Amazon DevOps Guru. See this package's package overview docs for details on the service.

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *DevOpsGuru

New creates a new instance of the DevOpsGuru 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 DevOpsGuru client from just a session.
svc := devopsguru.New(mySession)

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

func (*DevOpsGuru) AddNotificationChannel

func (c *DevOpsGuru) AddNotificationChannel(input *AddNotificationChannelInput) (*AddNotificationChannelOutput, error)

AddNotificationChannel API operation for Amazon DevOps Guru.

Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).

If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.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 DevOps Guru's API operation AddNotificationChannel for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • ConflictException An exception that is thrown when a conflict occurs.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ServiceQuotaExceededException The request contains a value that exceeds a maximum quota.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AddNotificationChannel

func (*DevOpsGuru) AddNotificationChannelRequest

func (c *DevOpsGuru) AddNotificationChannelRequest(input *AddNotificationChannelInput) (req *request.Request, output *AddNotificationChannelOutput)

AddNotificationChannelRequest generates a "aws/request.Request" representing the client's request for the AddNotificationChannel 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 AddNotificationChannel for more information on using the AddNotificationChannel 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 AddNotificationChannelRequest method.
req, resp := client.AddNotificationChannelRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AddNotificationChannel

func (*DevOpsGuru) AddNotificationChannelWithContext

func (c *DevOpsGuru) AddNotificationChannelWithContext(ctx aws.Context, input *AddNotificationChannelInput, opts ...request.Option) (*AddNotificationChannelOutput, error)

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

See AddNotificationChannel 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 (*DevOpsGuru) DescribeAccountHealth

func (c *DevOpsGuru) DescribeAccountHealth(input *DescribeAccountHealthInput) (*DescribeAccountHealthOutput, error)

DescribeAccountHealth API operation for Amazon DevOps Guru.

Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your AWS account. Use these numbers to gauge the health of operations in your AWS 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 DevOps Guru's API operation DescribeAccountHealth for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth

func (*DevOpsGuru) DescribeAccountHealthRequest

func (c *DevOpsGuru) DescribeAccountHealthRequest(input *DescribeAccountHealthInput) (req *request.Request, output *DescribeAccountHealthOutput)

DescribeAccountHealthRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountHealth 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 DescribeAccountHealth for more information on using the DescribeAccountHealth 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 DescribeAccountHealthRequest method.
req, resp := client.DescribeAccountHealthRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth

func (*DevOpsGuru) DescribeAccountHealthWithContext

func (c *DevOpsGuru) DescribeAccountHealthWithContext(ctx aws.Context, input *DescribeAccountHealthInput, opts ...request.Option) (*DescribeAccountHealthOutput, error)

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

See DescribeAccountHealth 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 (*DevOpsGuru) DescribeAccountOverview

func (c *DevOpsGuru) DescribeAccountOverview(input *DescribeAccountOverviewInput) (*DescribeAccountOverviewOutput, error)

DescribeAccountOverview API operation for Amazon DevOps Guru.

For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.

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 DevOps Guru's API operation DescribeAccountOverview for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverview

func (*DevOpsGuru) DescribeAccountOverviewRequest

func (c *DevOpsGuru) DescribeAccountOverviewRequest(input *DescribeAccountOverviewInput) (req *request.Request, output *DescribeAccountOverviewOutput)

DescribeAccountOverviewRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountOverview 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 DescribeAccountOverview for more information on using the DescribeAccountOverview 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 DescribeAccountOverviewRequest method.
req, resp := client.DescribeAccountOverviewRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverview

func (*DevOpsGuru) DescribeAccountOverviewWithContext

func (c *DevOpsGuru) DescribeAccountOverviewWithContext(ctx aws.Context, input *DescribeAccountOverviewInput, opts ...request.Option) (*DescribeAccountOverviewOutput, error)

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

See DescribeAccountOverview 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 (*DevOpsGuru) DescribeAnomaly

func (c *DevOpsGuru) DescribeAnomaly(input *DescribeAnomalyInput) (*DescribeAnomalyOutput, error)

DescribeAnomaly API operation for Amazon DevOps Guru.

Returns details about an anomaly that you specify using its ID.

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 DevOps Guru's API operation DescribeAnomaly for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly

func (*DevOpsGuru) DescribeAnomalyRequest

func (c *DevOpsGuru) DescribeAnomalyRequest(input *DescribeAnomalyInput) (req *request.Request, output *DescribeAnomalyOutput)

DescribeAnomalyRequest generates a "aws/request.Request" representing the client's request for the DescribeAnomaly 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 DescribeAnomaly for more information on using the DescribeAnomaly 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 DescribeAnomalyRequest method.
req, resp := client.DescribeAnomalyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly

func (*DevOpsGuru) DescribeAnomalyWithContext

func (c *DevOpsGuru) DescribeAnomalyWithContext(ctx aws.Context, input *DescribeAnomalyInput, opts ...request.Option) (*DescribeAnomalyOutput, error)

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

See DescribeAnomaly 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 (*DevOpsGuru) DescribeFeedback added in v1.37.12

func (c *DevOpsGuru) DescribeFeedback(input *DescribeFeedbackInput) (*DescribeFeedbackOutput, error)

DescribeFeedback API operation for Amazon DevOps Guru.

Returns the most recent feedback submitted in the current AWS account and Region.

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 DevOps Guru's API operation DescribeFeedback for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedback

func (*DevOpsGuru) DescribeFeedbackRequest added in v1.37.12

func (c *DevOpsGuru) DescribeFeedbackRequest(input *DescribeFeedbackInput) (req *request.Request, output *DescribeFeedbackOutput)

DescribeFeedbackRequest generates a "aws/request.Request" representing the client's request for the DescribeFeedback 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 DescribeFeedback for more information on using the DescribeFeedback 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 DescribeFeedbackRequest method.
req, resp := client.DescribeFeedbackRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedback

func (*DevOpsGuru) DescribeFeedbackWithContext added in v1.37.12

func (c *DevOpsGuru) DescribeFeedbackWithContext(ctx aws.Context, input *DescribeFeedbackInput, opts ...request.Option) (*DescribeFeedbackOutput, error)

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

See DescribeFeedback 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 (*DevOpsGuru) DescribeInsight

func (c *DevOpsGuru) DescribeInsight(input *DescribeInsightInput) (*DescribeInsightOutput, error)

DescribeInsight API operation for Amazon DevOps Guru.

Returns details about an insight that you specify using its ID.

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 DevOps Guru's API operation DescribeInsight for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight

func (*DevOpsGuru) DescribeInsightRequest

func (c *DevOpsGuru) DescribeInsightRequest(input *DescribeInsightInput) (req *request.Request, output *DescribeInsightOutput)

DescribeInsightRequest generates a "aws/request.Request" representing the client's request for the DescribeInsight 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 DescribeInsight for more information on using the DescribeInsight 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 DescribeInsightRequest method.
req, resp := client.DescribeInsightRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight

func (*DevOpsGuru) DescribeInsightWithContext

func (c *DevOpsGuru) DescribeInsightWithContext(ctx aws.Context, input *DescribeInsightInput, opts ...request.Option) (*DescribeInsightOutput, error)

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

See DescribeInsight 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 (*DevOpsGuru) DescribeResourceCollectionHealth

func (c *DevOpsGuru) DescribeResourceCollectionHealth(input *DescribeResourceCollectionHealthInput) (*DescribeResourceCollectionHealthOutput, error)

DescribeResourceCollectionHealth API operation for Amazon DevOps Guru.

Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks.

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 DevOps Guru's API operation DescribeResourceCollectionHealth for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth

func (*DevOpsGuru) DescribeResourceCollectionHealthPages

func (c *DevOpsGuru) DescribeResourceCollectionHealthPages(input *DescribeResourceCollectionHealthInput, fn func(*DescribeResourceCollectionHealthOutput, bool) bool) error

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

See DescribeResourceCollectionHealth 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 DescribeResourceCollectionHealth operation.
pageNum := 0
err := client.DescribeResourceCollectionHealthPages(params,
    func(page *devopsguru.DescribeResourceCollectionHealthOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) DescribeResourceCollectionHealthPagesWithContext

func (c *DevOpsGuru) DescribeResourceCollectionHealthPagesWithContext(ctx aws.Context, input *DescribeResourceCollectionHealthInput, fn func(*DescribeResourceCollectionHealthOutput, bool) bool, opts ...request.Option) error

DescribeResourceCollectionHealthPagesWithContext same as DescribeResourceCollectionHealthPages 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 (*DevOpsGuru) DescribeResourceCollectionHealthRequest

func (c *DevOpsGuru) DescribeResourceCollectionHealthRequest(input *DescribeResourceCollectionHealthInput) (req *request.Request, output *DescribeResourceCollectionHealthOutput)

DescribeResourceCollectionHealthRequest generates a "aws/request.Request" representing the client's request for the DescribeResourceCollectionHealth 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 DescribeResourceCollectionHealth for more information on using the DescribeResourceCollectionHealth 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 DescribeResourceCollectionHealthRequest method.
req, resp := client.DescribeResourceCollectionHealthRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth

func (*DevOpsGuru) DescribeResourceCollectionHealthWithContext

func (c *DevOpsGuru) DescribeResourceCollectionHealthWithContext(ctx aws.Context, input *DescribeResourceCollectionHealthInput, opts ...request.Option) (*DescribeResourceCollectionHealthOutput, error)

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

See DescribeResourceCollectionHealth 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 (*DevOpsGuru) DescribeServiceIntegration

func (c *DevOpsGuru) DescribeServiceIntegration(input *DescribeServiceIntegrationInput) (*DescribeServiceIntegrationOutput, error)

DescribeServiceIntegration API operation for Amazon DevOps Guru.

Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS Systems Manager, which can be used to create an OpsItem for each generated insight.

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 DevOps Guru's API operation DescribeServiceIntegration for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration

func (*DevOpsGuru) DescribeServiceIntegrationRequest

func (c *DevOpsGuru) DescribeServiceIntegrationRequest(input *DescribeServiceIntegrationInput) (req *request.Request, output *DescribeServiceIntegrationOutput)

DescribeServiceIntegrationRequest generates a "aws/request.Request" representing the client's request for the DescribeServiceIntegration 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 DescribeServiceIntegration for more information on using the DescribeServiceIntegration 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 DescribeServiceIntegrationRequest method.
req, resp := client.DescribeServiceIntegrationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration

func (*DevOpsGuru) DescribeServiceIntegrationWithContext

func (c *DevOpsGuru) DescribeServiceIntegrationWithContext(ctx aws.Context, input *DescribeServiceIntegrationInput, opts ...request.Option) (*DescribeServiceIntegrationOutput, error)

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

See DescribeServiceIntegration 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 (*DevOpsGuru) GetResourceCollection

func (c *DevOpsGuru) GetResourceCollection(input *GetResourceCollectionInput) (*GetResourceCollectionOutput, error)

GetResourceCollection API operation for Amazon DevOps Guru.

Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks.

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 DevOps Guru's API operation GetResourceCollection for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection

func (*DevOpsGuru) GetResourceCollectionPages

func (c *DevOpsGuru) GetResourceCollectionPages(input *GetResourceCollectionInput, fn func(*GetResourceCollectionOutput, bool) bool) error

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

See GetResourceCollection 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 GetResourceCollection operation.
pageNum := 0
err := client.GetResourceCollectionPages(params,
    func(page *devopsguru.GetResourceCollectionOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) GetResourceCollectionPagesWithContext

func (c *DevOpsGuru) GetResourceCollectionPagesWithContext(ctx aws.Context, input *GetResourceCollectionInput, fn func(*GetResourceCollectionOutput, bool) bool, opts ...request.Option) error

GetResourceCollectionPagesWithContext same as GetResourceCollectionPages 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 (*DevOpsGuru) GetResourceCollectionRequest

func (c *DevOpsGuru) GetResourceCollectionRequest(input *GetResourceCollectionInput) (req *request.Request, output *GetResourceCollectionOutput)

GetResourceCollectionRequest generates a "aws/request.Request" representing the client's request for the GetResourceCollection 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 GetResourceCollection for more information on using the GetResourceCollection 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 GetResourceCollectionRequest method.
req, resp := client.GetResourceCollectionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection

func (*DevOpsGuru) GetResourceCollectionWithContext

func (c *DevOpsGuru) GetResourceCollectionWithContext(ctx aws.Context, input *GetResourceCollectionInput, opts ...request.Option) (*GetResourceCollectionOutput, error)

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

See GetResourceCollection 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 (*DevOpsGuru) ListAnomaliesForInsight

func (c *DevOpsGuru) ListAnomaliesForInsight(input *ListAnomaliesForInsightInput) (*ListAnomaliesForInsightOutput, error)

ListAnomaliesForInsight API operation for Amazon DevOps Guru.

Returns a list of the anomalies that belong to an insight that you specify using its ID.

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 DevOps Guru's API operation ListAnomaliesForInsight for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight

func (*DevOpsGuru) ListAnomaliesForInsightPages

func (c *DevOpsGuru) ListAnomaliesForInsightPages(input *ListAnomaliesForInsightInput, fn func(*ListAnomaliesForInsightOutput, bool) bool) error

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

See ListAnomaliesForInsight 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 ListAnomaliesForInsight operation.
pageNum := 0
err := client.ListAnomaliesForInsightPages(params,
    func(page *devopsguru.ListAnomaliesForInsightOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) ListAnomaliesForInsightPagesWithContext

func (c *DevOpsGuru) ListAnomaliesForInsightPagesWithContext(ctx aws.Context, input *ListAnomaliesForInsightInput, fn func(*ListAnomaliesForInsightOutput, bool) bool, opts ...request.Option) error

ListAnomaliesForInsightPagesWithContext same as ListAnomaliesForInsightPages 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 (*DevOpsGuru) ListAnomaliesForInsightRequest

func (c *DevOpsGuru) ListAnomaliesForInsightRequest(input *ListAnomaliesForInsightInput) (req *request.Request, output *ListAnomaliesForInsightOutput)

ListAnomaliesForInsightRequest generates a "aws/request.Request" representing the client's request for the ListAnomaliesForInsight 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 ListAnomaliesForInsight for more information on using the ListAnomaliesForInsight 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 ListAnomaliesForInsightRequest method.
req, resp := client.ListAnomaliesForInsightRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight

func (*DevOpsGuru) ListAnomaliesForInsightWithContext

func (c *DevOpsGuru) ListAnomaliesForInsightWithContext(ctx aws.Context, input *ListAnomaliesForInsightInput, opts ...request.Option) (*ListAnomaliesForInsightOutput, error)

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

See ListAnomaliesForInsight 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 (*DevOpsGuru) ListEvents

func (c *DevOpsGuru) ListEvents(input *ListEventsInput) (*ListEventsOutput, error)

ListEvents API operation for Amazon DevOps Guru.

Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events 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 DevOps Guru's API operation ListEvents for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEvents

func (*DevOpsGuru) ListEventsPages

func (c *DevOpsGuru) ListEventsPages(input *ListEventsInput, fn func(*ListEventsOutput, bool) bool) error

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

See ListEvents 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 ListEvents operation.
pageNum := 0
err := client.ListEventsPages(params,
    func(page *devopsguru.ListEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) ListEventsPagesWithContext

func (c *DevOpsGuru) ListEventsPagesWithContext(ctx aws.Context, input *ListEventsInput, fn func(*ListEventsOutput, bool) bool, opts ...request.Option) error

ListEventsPagesWithContext same as ListEventsPages 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 (*DevOpsGuru) ListEventsRequest

func (c *DevOpsGuru) ListEventsRequest(input *ListEventsInput) (req *request.Request, output *ListEventsOutput)

ListEventsRequest generates a "aws/request.Request" representing the client's request for the ListEvents 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 ListEvents for more information on using the ListEvents 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 ListEventsRequest method.
req, resp := client.ListEventsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEvents

func (*DevOpsGuru) ListEventsWithContext

func (c *DevOpsGuru) ListEventsWithContext(ctx aws.Context, input *ListEventsInput, opts ...request.Option) (*ListEventsOutput, error)

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

See ListEvents 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 (*DevOpsGuru) ListInsights

func (c *DevOpsGuru) ListInsights(input *ListInsightsInput) (*ListInsightsOutput, error)

ListInsights API operation for Amazon DevOps Guru.

Returns a list of insights in your AWS account. You can specify which insights are returned by their start time and status (ONGOING, CLOSED, or ANY).

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 DevOps Guru's API operation ListInsights for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights

func (*DevOpsGuru) ListInsightsPages

func (c *DevOpsGuru) ListInsightsPages(input *ListInsightsInput, fn func(*ListInsightsOutput, bool) bool) error

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

See ListInsights 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 ListInsights operation.
pageNum := 0
err := client.ListInsightsPages(params,
    func(page *devopsguru.ListInsightsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) ListInsightsPagesWithContext

func (c *DevOpsGuru) ListInsightsPagesWithContext(ctx aws.Context, input *ListInsightsInput, fn func(*ListInsightsOutput, bool) bool, opts ...request.Option) error

ListInsightsPagesWithContext same as ListInsightsPages 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 (*DevOpsGuru) ListInsightsRequest

func (c *DevOpsGuru) ListInsightsRequest(input *ListInsightsInput) (req *request.Request, output *ListInsightsOutput)

ListInsightsRequest generates a "aws/request.Request" representing the client's request for the ListInsights 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 ListInsights for more information on using the ListInsights 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 ListInsightsRequest method.
req, resp := client.ListInsightsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights

func (*DevOpsGuru) ListInsightsWithContext

func (c *DevOpsGuru) ListInsightsWithContext(ctx aws.Context, input *ListInsightsInput, opts ...request.Option) (*ListInsightsOutput, error)

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

See ListInsights 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 (*DevOpsGuru) ListNotificationChannels

func (c *DevOpsGuru) ListNotificationChannels(input *ListNotificationChannelsInput) (*ListNotificationChannelsOutput, error)

ListNotificationChannels API operation for Amazon DevOps Guru.

Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).

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 DevOps Guru's API operation ListNotificationChannels for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels

func (*DevOpsGuru) ListNotificationChannelsPages

func (c *DevOpsGuru) ListNotificationChannelsPages(input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool) error

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

See ListNotificationChannels 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 ListNotificationChannels operation.
pageNum := 0
err := client.ListNotificationChannelsPages(params,
    func(page *devopsguru.ListNotificationChannelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) ListNotificationChannelsPagesWithContext

func (c *DevOpsGuru) ListNotificationChannelsPagesWithContext(ctx aws.Context, input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool, opts ...request.Option) error

ListNotificationChannelsPagesWithContext same as ListNotificationChannelsPages 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 (*DevOpsGuru) ListNotificationChannelsRequest

func (c *DevOpsGuru) ListNotificationChannelsRequest(input *ListNotificationChannelsInput) (req *request.Request, output *ListNotificationChannelsOutput)

ListNotificationChannelsRequest generates a "aws/request.Request" representing the client's request for the ListNotificationChannels 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 ListNotificationChannels for more information on using the ListNotificationChannels 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 ListNotificationChannelsRequest method.
req, resp := client.ListNotificationChannelsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels

func (*DevOpsGuru) ListNotificationChannelsWithContext

func (c *DevOpsGuru) ListNotificationChannelsWithContext(ctx aws.Context, input *ListNotificationChannelsInput, opts ...request.Option) (*ListNotificationChannelsOutput, error)

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

See ListNotificationChannels 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 (*DevOpsGuru) ListRecommendations

func (c *DevOpsGuru) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error)

ListRecommendations API operation for Amazon DevOps Guru.

Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.

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 DevOps Guru's API operation ListRecommendations for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations

func (*DevOpsGuru) ListRecommendationsPages

func (c *DevOpsGuru) ListRecommendationsPages(input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool) error

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

See ListRecommendations 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 ListRecommendations operation.
pageNum := 0
err := client.ListRecommendationsPages(params,
    func(page *devopsguru.ListRecommendationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) ListRecommendationsPagesWithContext

func (c *DevOpsGuru) ListRecommendationsPagesWithContext(ctx aws.Context, input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool, opts ...request.Option) error

ListRecommendationsPagesWithContext same as ListRecommendationsPages 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 (*DevOpsGuru) ListRecommendationsRequest

func (c *DevOpsGuru) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput)

ListRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ListRecommendations 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 ListRecommendations for more information on using the ListRecommendations 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 ListRecommendationsRequest method.
req, resp := client.ListRecommendationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations

func (*DevOpsGuru) ListRecommendationsWithContext

func (c *DevOpsGuru) ListRecommendationsWithContext(ctx aws.Context, input *ListRecommendationsInput, opts ...request.Option) (*ListRecommendationsOutput, error)

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

See ListRecommendations 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 (*DevOpsGuru) PutFeedback

func (c *DevOpsGuru) PutFeedback(input *PutFeedbackInput) (*PutFeedbackOutput, error)

PutFeedback API operation for Amazon DevOps Guru.

Collects customer feedback about the specified insight.

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 DevOps Guru's API operation PutFeedback for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • ConflictException An exception that is thrown when a conflict occurs.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PutFeedback

func (*DevOpsGuru) PutFeedbackRequest

func (c *DevOpsGuru) PutFeedbackRequest(input *PutFeedbackInput) (req *request.Request, output *PutFeedbackOutput)

PutFeedbackRequest generates a "aws/request.Request" representing the client's request for the PutFeedback 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 PutFeedback for more information on using the PutFeedback 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 PutFeedbackRequest method.
req, resp := client.PutFeedbackRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PutFeedback

func (*DevOpsGuru) PutFeedbackWithContext

func (c *DevOpsGuru) PutFeedbackWithContext(ctx aws.Context, input *PutFeedbackInput, opts ...request.Option) (*PutFeedbackOutput, error)

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

See PutFeedback 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 (*DevOpsGuru) RemoveNotificationChannel

func (c *DevOpsGuru) RemoveNotificationChannel(input *RemoveNotificationChannelInput) (*RemoveNotificationChannelOutput, error)

RemoveNotificationChannel API operation for Amazon DevOps Guru.

Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations.

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 DevOps Guru's API operation RemoveNotificationChannel for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • ConflictException An exception that is thrown when a conflict occurs.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ResourceNotFoundException A requested resource could not be found

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannel

func (*DevOpsGuru) RemoveNotificationChannelRequest

func (c *DevOpsGuru) RemoveNotificationChannelRequest(input *RemoveNotificationChannelInput) (req *request.Request, output *RemoveNotificationChannelOutput)

RemoveNotificationChannelRequest generates a "aws/request.Request" representing the client's request for the RemoveNotificationChannel 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 RemoveNotificationChannel for more information on using the RemoveNotificationChannel 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 RemoveNotificationChannelRequest method.
req, resp := client.RemoveNotificationChannelRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannel

func (*DevOpsGuru) RemoveNotificationChannelWithContext

func (c *DevOpsGuru) RemoveNotificationChannelWithContext(ctx aws.Context, input *RemoveNotificationChannelInput, opts ...request.Option) (*RemoveNotificationChannelOutput, error)

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

See RemoveNotificationChannel 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 (*DevOpsGuru) SearchInsights

func (c *DevOpsGuru) SearchInsights(input *SearchInsightsInput) (*SearchInsightsOutput, error)

SearchInsights API operation for Amazon DevOps Guru.

Returns a list of insights in your AWS account. You can specify which insights are returned by their start time, one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE).

Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search.

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 DevOps Guru's API operation SearchInsights for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights

func (*DevOpsGuru) SearchInsightsPages

func (c *DevOpsGuru) SearchInsightsPages(input *SearchInsightsInput, fn func(*SearchInsightsOutput, bool) bool) error

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

See SearchInsights 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 SearchInsights operation.
pageNum := 0
err := client.SearchInsightsPages(params,
    func(page *devopsguru.SearchInsightsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DevOpsGuru) SearchInsightsPagesWithContext

func (c *DevOpsGuru) SearchInsightsPagesWithContext(ctx aws.Context, input *SearchInsightsInput, fn func(*SearchInsightsOutput, bool) bool, opts ...request.Option) error

SearchInsightsPagesWithContext same as SearchInsightsPages 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 (*DevOpsGuru) SearchInsightsRequest

func (c *DevOpsGuru) SearchInsightsRequest(input *SearchInsightsInput) (req *request.Request, output *SearchInsightsOutput)

SearchInsightsRequest generates a "aws/request.Request" representing the client's request for the SearchInsights 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 SearchInsights for more information on using the SearchInsights 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 SearchInsightsRequest method.
req, resp := client.SearchInsightsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights

func (*DevOpsGuru) SearchInsightsWithContext

func (c *DevOpsGuru) SearchInsightsWithContext(ctx aws.Context, input *SearchInsightsInput, opts ...request.Option) (*SearchInsightsOutput, error)

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

See SearchInsights 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 (*DevOpsGuru) UpdateResourceCollection

func (c *DevOpsGuru) UpdateResourceCollection(input *UpdateResourceCollectionInput) (*UpdateResourceCollectionOutput, error)

UpdateResourceCollection API operation for Amazon DevOps Guru.

Updates the collection of resources that DevOps Guru analyzes. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. This method also creates the IAM role required for you to use DevOps Guru.

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 DevOps Guru's API operation UpdateResourceCollection for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • ConflictException An exception that is thrown when a conflict occurs.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollection

func (*DevOpsGuru) UpdateResourceCollectionRequest

func (c *DevOpsGuru) UpdateResourceCollectionRequest(input *UpdateResourceCollectionInput) (req *request.Request, output *UpdateResourceCollectionOutput)

UpdateResourceCollectionRequest generates a "aws/request.Request" representing the client's request for the UpdateResourceCollection 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 UpdateResourceCollection for more information on using the UpdateResourceCollection 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 UpdateResourceCollectionRequest method.
req, resp := client.UpdateResourceCollectionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollection

func (*DevOpsGuru) UpdateResourceCollectionWithContext

func (c *DevOpsGuru) UpdateResourceCollectionWithContext(ctx aws.Context, input *UpdateResourceCollectionInput, opts ...request.Option) (*UpdateResourceCollectionOutput, error)

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

See UpdateResourceCollection 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 (*DevOpsGuru) UpdateServiceIntegration

func (c *DevOpsGuru) UpdateServiceIntegration(input *UpdateServiceIntegrationInput) (*UpdateServiceIntegrationOutput, error)

UpdateServiceIntegration API operation for Amazon DevOps Guru.

Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS Systems Manager, which can be used to create an OpsItem for each generated insight.

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 DevOps Guru's API operation UpdateServiceIntegration for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) in the IAM User Guide.

  • ConflictException An exception that is thrown when a conflict occurs.

  • InternalServerException An internal failure in an Amazon service occurred.

  • ThrottlingException The request was denied due to a request throttling.

  • ValidationException Contains information about data passed in to a field during a request that is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegration

func (*DevOpsGuru) UpdateServiceIntegrationRequest

func (c *DevOpsGuru) UpdateServiceIntegrationRequest(input *UpdateServiceIntegrationInput) (req *request.Request, output *UpdateServiceIntegrationOutput)

UpdateServiceIntegrationRequest generates a "aws/request.Request" representing the client's request for the UpdateServiceIntegration 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 UpdateServiceIntegration for more information on using the UpdateServiceIntegration 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 UpdateServiceIntegrationRequest method.
req, resp := client.UpdateServiceIntegrationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegration

func (*DevOpsGuru) UpdateServiceIntegrationWithContext

func (c *DevOpsGuru) UpdateServiceIntegrationWithContext(ctx aws.Context, input *UpdateServiceIntegrationInput, opts ...request.Option) (*UpdateServiceIntegrationOutput, error)

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

See UpdateServiceIntegration 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 EndTimeRange

type EndTimeRange struct {

	// The earliest end time in the time range.
	FromTime *time.Time `type:"timestamp"`

	// The latest end time in the time range.
	ToTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

A range of time that specifies when anomalous behavior in an anomaly or insight ended.

func (EndTimeRange) GoString

func (s EndTimeRange) GoString() string

GoString returns the string representation

func (*EndTimeRange) SetFromTime

func (s *EndTimeRange) SetFromTime(v time.Time) *EndTimeRange

SetFromTime sets the FromTime field's value.

func (*EndTimeRange) SetToTime

func (s *EndTimeRange) SetToTime(v time.Time) *EndTimeRange

SetToTime sets the ToTime field's value.

func (EndTimeRange) String

func (s EndTimeRange) String() string

String returns the string representation

type Event

type Event struct {

	// The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis
	// found the event.
	DataSource *string `type:"string" enum:"EventDataSource"`

	// The class of the event. The class specifies what the event is related to,
	// such as an infrastructure change, a deployment, or a schema change.
	EventClass *string `type:"string" enum:"EventClass"`

	// The AWS source that emitted the event.
	EventSource *string `min:"10" type:"string"`

	// The ID of the event.
	Id *string `type:"string"`

	// The name of the event.
	Name *string `type:"string"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// An EventResource object that contains information about the resource that
	// emitted the event.
	Resources []*EventResource `type:"list"`

	// A Timestamp that specifies the time the event occurred.
	Time *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

An AWS resource event. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.

func (Event) GoString

func (s Event) GoString() string

GoString returns the string representation

func (*Event) SetDataSource

func (s *Event) SetDataSource(v string) *Event

SetDataSource sets the DataSource field's value.

func (*Event) SetEventClass

func (s *Event) SetEventClass(v string) *Event

SetEventClass sets the EventClass field's value.

func (*Event) SetEventSource

func (s *Event) SetEventSource(v string) *Event

SetEventSource sets the EventSource field's value.

func (*Event) SetId

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

SetId sets the Id field's value.

func (*Event) SetName

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

SetName sets the Name field's value.

func (*Event) SetResourceCollection

func (s *Event) SetResourceCollection(v *ResourceCollection) *Event

SetResourceCollection sets the ResourceCollection field's value.

func (*Event) SetResources

func (s *Event) SetResources(v []*EventResource) *Event

SetResources sets the Resources field's value.

func (*Event) SetTime

func (s *Event) SetTime(v time.Time) *Event

SetTime sets the Time field's value.

func (Event) String

func (s Event) String() string

String returns the string representation

type EventResource

type EventResource struct {

	// The Amazon Resource Name (ARN) of the resource that emitted an event.
	Arn *string `min:"36" type:"string"`

	// The name of the resource that emitted an event.
	Name *string `type:"string"`

	// The type of resource that emitted an event.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

The AWS resource that emitted an event. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.

func (EventResource) GoString

func (s EventResource) GoString() string

GoString returns the string representation

func (*EventResource) SetArn

func (s *EventResource) SetArn(v string) *EventResource

SetArn sets the Arn field's value.

func (*EventResource) SetName

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

SetName sets the Name field's value.

func (*EventResource) SetType

func (s *EventResource) SetType(v string) *EventResource

SetType sets the Type field's value.

func (EventResource) String

func (s EventResource) String() string

String returns the string representation

type EventTimeRange

type EventTimeRange struct {

	// The time when the event started.
	//
	// FromTime is a required field
	FromTime *time.Time `type:"timestamp" required:"true"`

	// The time when the event ended.
	//
	// ToTime is a required field
	ToTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

The time range during which an AWS event occurred. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.

func (EventTimeRange) GoString

func (s EventTimeRange) GoString() string

GoString returns the string representation

func (*EventTimeRange) SetFromTime

func (s *EventTimeRange) SetFromTime(v time.Time) *EventTimeRange

SetFromTime sets the FromTime field's value.

func (*EventTimeRange) SetToTime

func (s *EventTimeRange) SetToTime(v time.Time) *EventTimeRange

SetToTime sets the ToTime field's value.

func (EventTimeRange) String

func (s EventTimeRange) String() string

String returns the string representation

func (*EventTimeRange) Validate

func (s *EventTimeRange) Validate() error

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

type GetResourceCollectionInput

type GetResourceCollectionInput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `location:"querystring" locationName:"NextToken" min:"36" type:"string"`

	// The type of AWS resource collections to return. The one valid value is CLOUD_FORMATION
	// for AWS CloudFormation stacks.
	//
	// ResourceCollectionType is a required field
	ResourceCollectionType *string `location:"uri" locationName:"ResourceCollectionType" type:"string" required:"true" enum:"ResourceCollectionType"`
	// contains filtered or unexported fields
}

func (GetResourceCollectionInput) GoString

func (s GetResourceCollectionInput) GoString() string

GoString returns the string representation

func (*GetResourceCollectionInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceCollectionInput) SetResourceCollectionType

func (s *GetResourceCollectionInput) SetResourceCollectionType(v string) *GetResourceCollectionInput

SetResourceCollectionType sets the ResourceCollectionType field's value.

func (GetResourceCollectionInput) String

String returns the string representation

func (*GetResourceCollectionInput) Validate

func (s *GetResourceCollectionInput) Validate() error

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

type GetResourceCollectionOutput

type GetResourceCollectionOutput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`

	// The requested list of AWS resource collections. The one type of AWS resource
	// collection supported is AWS CloudFormation stacks. DevOps Guru can be configured
	// to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollectionFilter `type:"structure"`
	// contains filtered or unexported fields
}

func (GetResourceCollectionOutput) GoString

func (s GetResourceCollectionOutput) GoString() string

GoString returns the string representation

func (*GetResourceCollectionOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceCollectionOutput) SetResourceCollection

SetResourceCollection sets the ResourceCollection field's value.

func (GetResourceCollectionOutput) String

String returns the string representation

type InsightFeedback

type InsightFeedback struct {

	// The feedback provided by the customer.
	Feedback *string `type:"string" enum:"InsightFeedbackOption"`

	// The insight feedback ID.
	Id *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about insight feedback received from a customer.

func (InsightFeedback) GoString

func (s InsightFeedback) GoString() string

GoString returns the string representation

func (*InsightFeedback) SetFeedback

func (s *InsightFeedback) SetFeedback(v string) *InsightFeedback

SetFeedback sets the Feedback field's value.

func (*InsightFeedback) SetId

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

SetId sets the Id field's value.

func (InsightFeedback) String

func (s InsightFeedback) String() string

String returns the string representation

func (*InsightFeedback) Validate

func (s *InsightFeedback) Validate() error

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

type InsightHealth

type InsightHealth struct {

	// The Meant Time to Recover (MTTR) for the insight.
	MeanTimeToRecoverInMilliseconds *int64 `type:"long"`

	// The number of open proactive insights.
	OpenProactiveInsights *int64 `type:"integer"`

	// The number of open reactive insights.
	OpenReactiveInsights *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Information about the number of open reactive and proactive insights that can be used to gauge the health of your system.

func (InsightHealth) GoString

func (s InsightHealth) GoString() string

GoString returns the string representation

func (*InsightHealth) SetMeanTimeToRecoverInMilliseconds

func (s *InsightHealth) SetMeanTimeToRecoverInMilliseconds(v int64) *InsightHealth

SetMeanTimeToRecoverInMilliseconds sets the MeanTimeToRecoverInMilliseconds field's value.

func (*InsightHealth) SetOpenProactiveInsights

func (s *InsightHealth) SetOpenProactiveInsights(v int64) *InsightHealth

SetOpenProactiveInsights sets the OpenProactiveInsights field's value.

func (*InsightHealth) SetOpenReactiveInsights

func (s *InsightHealth) SetOpenReactiveInsights(v int64) *InsightHealth

SetOpenReactiveInsights sets the OpenReactiveInsights field's value.

func (InsightHealth) String

func (s InsightHealth) String() string

String returns the string representation

type InsightTimeRange

type InsightTimeRange struct {

	// The time when the behavior described in an insight ended.
	EndTime *time.Time `type:"timestamp"`

	// The time when the behavior described in an insight started.
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

A time ranged that specifies when the observed behavior in an insight started and ended.

func (InsightTimeRange) GoString

func (s InsightTimeRange) GoString() string

GoString returns the string representation

func (*InsightTimeRange) SetEndTime

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

SetEndTime sets the EndTime field's value.

func (*InsightTimeRange) SetStartTime

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

SetStartTime sets the StartTime field's value.

func (InsightTimeRange) String

func (s InsightTimeRange) String() string

String returns the string representation

type InternalServerException

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

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

	// The number of seconds after which the action that caused the internal server
	// exception can be retried.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

An internal failure in an Amazon service occurred.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation

type ListAnomaliesForInsightInput

type ListAnomaliesForInsightInput struct {

	// The ID of the insight. The returned anomalies belong to this insight.
	//
	// InsightId is a required field
	InsightId *string `location:"uri" locationName:"InsightId" min:"1" type:"string" required:"true"`

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `min:"36" type:"string"`

	// A time range used to specify when the requested anomalies started. All returned
	// anomalies started during this time range.
	StartTimeRange *StartTimeRange `type:"structure"`
	// contains filtered or unexported fields
}

func (ListAnomaliesForInsightInput) GoString

func (s ListAnomaliesForInsightInput) GoString() string

GoString returns the string representation

func (*ListAnomaliesForInsightInput) SetInsightId

SetInsightId sets the InsightId field's value.

func (*ListAnomaliesForInsightInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAnomaliesForInsightInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAnomaliesForInsightInput) SetStartTimeRange

SetStartTimeRange sets the StartTimeRange field's value.

func (ListAnomaliesForInsightInput) String

String returns the string representation

func (*ListAnomaliesForInsightInput) Validate

func (s *ListAnomaliesForInsightInput) Validate() error

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

type ListAnomaliesForInsightOutput

type ListAnomaliesForInsightOutput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`

	// An array of ProactiveAnomalySummary objects that represent the requested
	// anomalies
	ProactiveAnomalies []*ProactiveAnomalySummary `type:"list"`

	// An array of ReactiveAnomalySummary objects that represent the requested anomalies
	ReactiveAnomalies []*ReactiveAnomalySummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListAnomaliesForInsightOutput) GoString

GoString returns the string representation

func (*ListAnomaliesForInsightOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAnomaliesForInsightOutput) SetProactiveAnomalies

SetProactiveAnomalies sets the ProactiveAnomalies field's value.

func (*ListAnomaliesForInsightOutput) SetReactiveAnomalies

SetReactiveAnomalies sets the ReactiveAnomalies field's value.

func (ListAnomaliesForInsightOutput) String

String returns the string representation

type ListEventsFilters

type ListEventsFilters struct {

	// The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of the events you want returned.
	DataSource *string `type:"string" enum:"EventDataSource"`

	// The class of the events you want to filter for, such as an infrastructure
	// change, a deployment, or a schema change.
	EventClass *string `type:"string" enum:"EventClass"`

	// The AWS source that emitted the events you want to filter for.
	EventSource *string `min:"10" type:"string"`

	// A time range during which you want the filtered events to have occurred.
	EventTimeRange *EventTimeRange `type:"structure"`

	// An ID of an insight that is related to the events you want to filter for.
	InsightId *string `min:"1" type:"string"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`
	// contains filtered or unexported fields
}

Filters you can use to specify which events are returned when ListEvents is called.

func (ListEventsFilters) GoString

func (s ListEventsFilters) GoString() string

GoString returns the string representation

func (*ListEventsFilters) SetDataSource

func (s *ListEventsFilters) SetDataSource(v string) *ListEventsFilters

SetDataSource sets the DataSource field's value.

func (*ListEventsFilters) SetEventClass

func (s *ListEventsFilters) SetEventClass(v string) *ListEventsFilters

SetEventClass sets the EventClass field's value.

func (*ListEventsFilters) SetEventSource

func (s *ListEventsFilters) SetEventSource(v string) *ListEventsFilters

SetEventSource sets the EventSource field's value.

func (*ListEventsFilters) SetEventTimeRange

func (s *ListEventsFilters) SetEventTimeRange(v *EventTimeRange) *ListEventsFilters

SetEventTimeRange sets the EventTimeRange field's value.

func (*ListEventsFilters) SetInsightId

func (s *ListEventsFilters) SetInsightId(v string) *ListEventsFilters

SetInsightId sets the InsightId field's value.

func (*ListEventsFilters) SetResourceCollection

func (s *ListEventsFilters) SetResourceCollection(v *ResourceCollection) *ListEventsFilters

SetResourceCollection sets the ResourceCollection field's value.

func (ListEventsFilters) String

func (s ListEventsFilters) String() string

String returns the string representation

func (*ListEventsFilters) Validate

func (s *ListEventsFilters) Validate() error

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

type ListEventsInput

type ListEventsInput struct {

	// A ListEventsFilters object used to specify which events to return.
	//
	// Filters is a required field
	Filters *ListEventsFilters `type:"structure" required:"true"`

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (ListEventsInput) GoString

func (s ListEventsInput) GoString() string

GoString returns the string representation

func (*ListEventsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListEventsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListEventsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListEventsInput) String

func (s ListEventsInput) String() string

String returns the string representation

func (*ListEventsInput) Validate

func (s *ListEventsInput) Validate() error

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

type ListEventsOutput

type ListEventsOutput struct {

	// A list of the requested events.
	//
	// Events is a required field
	Events []*Event `type:"list" required:"true"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (ListEventsOutput) GoString

func (s ListEventsOutput) GoString() string

GoString returns the string representation

func (*ListEventsOutput) SetEvents

func (s *ListEventsOutput) SetEvents(v []*Event) *ListEventsOutput

SetEvents sets the Events field's value.

func (*ListEventsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListEventsOutput) String

func (s ListEventsOutput) String() string

String returns the string representation

type ListInsightsAnyStatusFilter

type ListInsightsAnyStatusFilter struct {

	// A time range used to specify when the behavior of the filtered insights started.
	//
	// StartTimeRange is a required field
	StartTimeRange *StartTimeRange `type:"structure" required:"true"`

	// Use to filter for either REACTIVE or PROACTIVE insights.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"InsightType"`
	// contains filtered or unexported fields
}

Used to filter for insights that have any status.

func (ListInsightsAnyStatusFilter) GoString

func (s ListInsightsAnyStatusFilter) GoString() string

GoString returns the string representation

func (*ListInsightsAnyStatusFilter) SetStartTimeRange

SetStartTimeRange sets the StartTimeRange field's value.

func (*ListInsightsAnyStatusFilter) SetType

SetType sets the Type field's value.

func (ListInsightsAnyStatusFilter) String

String returns the string representation

func (*ListInsightsAnyStatusFilter) Validate

func (s *ListInsightsAnyStatusFilter) Validate() error

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

type ListInsightsClosedStatusFilter

type ListInsightsClosedStatusFilter struct {

	// A time range used to specify when the behavior of the filtered insights ended.
	//
	// EndTimeRange is a required field
	EndTimeRange *EndTimeRange `type:"structure" required:"true"`

	// Use to filter for either REACTIVE or PROACTIVE insights.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"InsightType"`
	// contains filtered or unexported fields
}

Used to filter for insights that have the status CLOSED.

func (ListInsightsClosedStatusFilter) GoString

GoString returns the string representation

func (*ListInsightsClosedStatusFilter) SetEndTimeRange

SetEndTimeRange sets the EndTimeRange field's value.

func (*ListInsightsClosedStatusFilter) SetType

SetType sets the Type field's value.

func (ListInsightsClosedStatusFilter) String

String returns the string representation

func (*ListInsightsClosedStatusFilter) Validate

func (s *ListInsightsClosedStatusFilter) Validate() error

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

type ListInsightsInput

type ListInsightsInput struct {

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `min:"36" type:"string"`

	// A filter used to filter the returned insights by their status. You can specify
	// one status filter.
	//
	// StatusFilter is a required field
	StatusFilter *ListInsightsStatusFilter `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ListInsightsInput) GoString

func (s ListInsightsInput) GoString() string

GoString returns the string representation

func (*ListInsightsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListInsightsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListInsightsInput) SetStatusFilter

SetStatusFilter sets the StatusFilter field's value.

func (ListInsightsInput) String

func (s ListInsightsInput) String() string

String returns the string representation

func (*ListInsightsInput) Validate

func (s *ListInsightsInput) Validate() error

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

type ListInsightsOngoingStatusFilter

type ListInsightsOngoingStatusFilter struct {

	// Use to filter for either REACTIVE or PROACTIVE insights.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"InsightType"`
	// contains filtered or unexported fields
}

Used to filter for insights that have the status ONGOING.

func (ListInsightsOngoingStatusFilter) GoString

GoString returns the string representation

func (*ListInsightsOngoingStatusFilter) SetType

SetType sets the Type field's value.

func (ListInsightsOngoingStatusFilter) String

String returns the string representation

func (*ListInsightsOngoingStatusFilter) Validate

func (s *ListInsightsOngoingStatusFilter) Validate() error

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

type ListInsightsOutput

type ListInsightsOutput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`

	// The returned list of proactive insights.
	ProactiveInsights []*ProactiveInsightSummary `type:"list"`

	// The returned list of reactive insights.
	ReactiveInsights []*ReactiveInsightSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListInsightsOutput) GoString

func (s ListInsightsOutput) GoString() string

GoString returns the string representation

func (*ListInsightsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListInsightsOutput) SetProactiveInsights

func (s *ListInsightsOutput) SetProactiveInsights(v []*ProactiveInsightSummary) *ListInsightsOutput

SetProactiveInsights sets the ProactiveInsights field's value.

func (*ListInsightsOutput) SetReactiveInsights

func (s *ListInsightsOutput) SetReactiveInsights(v []*ReactiveInsightSummary) *ListInsightsOutput

SetReactiveInsights sets the ReactiveInsights field's value.

func (ListInsightsOutput) String

func (s ListInsightsOutput) String() string

String returns the string representation

type ListInsightsStatusFilter

type ListInsightsStatusFilter struct {

	// A ListInsightsAnyStatusFilter that specifies insights of any status that
	// are either REACTIVE or PROACTIVE.
	Any *ListInsightsAnyStatusFilter `type:"structure"`

	// A ListInsightsClosedStatusFilter that specifies closed insights that are
	// either REACTIVE or PROACTIVE.
	Closed *ListInsightsClosedStatusFilter `type:"structure"`

	// A ListInsightsAnyStatusFilter that specifies ongoing insights that are either
	// REACTIVE or PROACTIVE.
	Ongoing *ListInsightsOngoingStatusFilter `type:"structure"`
	// contains filtered or unexported fields
}

A filter used by ListInsights to specify which insights to return.

func (ListInsightsStatusFilter) GoString

func (s ListInsightsStatusFilter) GoString() string

GoString returns the string representation

func (*ListInsightsStatusFilter) SetAny

SetAny sets the Any field's value.

func (*ListInsightsStatusFilter) SetClosed

SetClosed sets the Closed field's value.

func (*ListInsightsStatusFilter) SetOngoing

SetOngoing sets the Ongoing field's value.

func (ListInsightsStatusFilter) String

func (s ListInsightsStatusFilter) String() string

String returns the string representation

func (*ListInsightsStatusFilter) Validate

func (s *ListInsightsStatusFilter) Validate() error

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

type ListNotificationChannelsInput

type ListNotificationChannelsInput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (ListNotificationChannelsInput) GoString

GoString returns the string representation

func (*ListNotificationChannelsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListNotificationChannelsInput) String

String returns the string representation

func (*ListNotificationChannelsInput) Validate

func (s *ListNotificationChannelsInput) Validate() error

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

type ListNotificationChannelsOutput

type ListNotificationChannelsOutput struct {

	// An array that contains the requested notification channels.
	Channels []*NotificationChannel `type:"list"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (ListNotificationChannelsOutput) GoString

GoString returns the string representation

func (*ListNotificationChannelsOutput) SetChannels

SetChannels sets the Channels field's value.

func (*ListNotificationChannelsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListNotificationChannelsOutput) String

String returns the string representation

type ListRecommendationsInput

type ListRecommendationsInput struct {

	// The ID of the requested insight.
	//
	// InsightId is a required field
	InsightId *string `min:"1" type:"string" required:"true"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (ListRecommendationsInput) GoString

func (s ListRecommendationsInput) GoString() string

GoString returns the string representation

func (*ListRecommendationsInput) SetInsightId

SetInsightId sets the InsightId field's value.

func (*ListRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListRecommendationsInput) String

func (s ListRecommendationsInput) String() string

String returns the string representation

func (*ListRecommendationsInput) Validate

func (s *ListRecommendationsInput) Validate() error

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

type ListRecommendationsOutput

type ListRecommendationsOutput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`

	// An array of the requested recommendations.
	Recommendations []*Recommendation `type:"list"`
	// contains filtered or unexported fields
}

func (ListRecommendationsOutput) GoString

func (s ListRecommendationsOutput) GoString() string

GoString returns the string representation

func (*ListRecommendationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationsOutput) SetRecommendations

SetRecommendations sets the Recommendations field's value.

func (ListRecommendationsOutput) String

func (s ListRecommendationsOutput) String() string

String returns the string representation

type NotificationChannel

type NotificationChannel struct {

	// A NotificationChannelConfig object that contains information about configured
	// notification channels.
	Config *NotificationChannelConfig `type:"structure"`

	// The ID of a notification channel.
	Id *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

Information about a notification channel. A notification channel is used to notify you when DevOps Guru creates an insight. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).

If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).

func (NotificationChannel) GoString

func (s NotificationChannel) GoString() string

GoString returns the string representation

func (*NotificationChannel) SetConfig

SetConfig sets the Config field's value.

func (*NotificationChannel) SetId

SetId sets the Id field's value.

func (NotificationChannel) String

func (s NotificationChannel) String() string

String returns the string representation

type NotificationChannelConfig

type NotificationChannelConfig struct {

	// Information about a notification channel configured in DevOps Guru to send
	// notifications when insights are created.
	//
	// If you use an Amazon SNS topic in another account, you must attach a policy
	// to it that grants DevOps Guru permission to it notifications. DevOps Guru
	// adds the required policy on your behalf to send notifications using Amazon
	// SNS in your account. For more information, see Permissions for cross account
	// Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).
	//
	// If you use an Amazon SNS topic that is encrypted by an AWS Key Management
	// Service customer-managed key (CMK), then you must add permissions to the
	// CMK. For more information, see Permissions for AWS KMS–encrypted Amazon
	// SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).
	//
	// Sns is a required field
	Sns *SnsChannelConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Information about notification channels you have configured with DevOps Guru. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).

func (NotificationChannelConfig) GoString

func (s NotificationChannelConfig) GoString() string

GoString returns the string representation

func (*NotificationChannelConfig) SetSns

SetSns sets the Sns field's value.

func (NotificationChannelConfig) String

func (s NotificationChannelConfig) String() string

String returns the string representation

func (*NotificationChannelConfig) Validate

func (s *NotificationChannelConfig) Validate() error

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

type OpsCenterIntegration

type OpsCenterIntegration struct {

	// Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem
	// for each created insight.
	OptInStatus *string `type:"string" enum:"OptInStatus"`
	// contains filtered or unexported fields
}

Information about whether DevOps Guru is configured to create an OpsItem in AWS Systems Manager OpsCenter for each created insight.

func (OpsCenterIntegration) GoString

func (s OpsCenterIntegration) GoString() string

GoString returns the string representation

func (*OpsCenterIntegration) SetOptInStatus

func (s *OpsCenterIntegration) SetOptInStatus(v string) *OpsCenterIntegration

SetOptInStatus sets the OptInStatus field's value.

func (OpsCenterIntegration) String

func (s OpsCenterIntegration) String() string

String returns the string representation

type OpsCenterIntegrationConfig

type OpsCenterIntegrationConfig struct {

	// Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem
	// for each created insight.
	OptInStatus *string `type:"string" enum:"OptInStatus"`
	// contains filtered or unexported fields
}

Information about whether DevOps Guru is configured to create an OpsItem in AWS Systems Manager OpsCenter for each created insight.

func (OpsCenterIntegrationConfig) GoString

func (s OpsCenterIntegrationConfig) GoString() string

GoString returns the string representation

func (*OpsCenterIntegrationConfig) SetOptInStatus

SetOptInStatus sets the OptInStatus field's value.

func (OpsCenterIntegrationConfig) String

String returns the string representation

type PredictionTimeRange

type PredictionTimeRange struct {

	// The time when the behavior in a proactive insight is expected to end.
	EndTime *time.Time `type:"timestamp"`

	// The time range during which a metric limit is expected to be exceeded. This
	// applies to proactive insights only.
	//
	// StartTime is a required field
	StartTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.

func (PredictionTimeRange) GoString

func (s PredictionTimeRange) GoString() string

GoString returns the string representation

func (*PredictionTimeRange) SetEndTime

SetEndTime sets the EndTime field's value.

func (*PredictionTimeRange) SetStartTime

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

SetStartTime sets the StartTime field's value.

func (PredictionTimeRange) String

func (s PredictionTimeRange) String() string

String returns the string representation

type ProactiveAnomaly

type ProactiveAnomaly struct {

	// A time range that specifies when the observed unusual behavior in an anomaly
	// started and ended.
	AnomalyTimeRange *AnomalyTimeRange `type:"structure"`

	// The ID of the insight that contains this anomaly. An insight is composed
	// of related anomalies.
	AssociatedInsightId *string `min:"1" type:"string"`

	// The ID of a proactive anomaly.
	Id *string `min:"1" type:"string"`

	// A threshold that was exceeded by behavior in analyzed resources. Exceeding
	// this threshold is related to the anomalous behavior that generated this anomaly.
	Limit *float64 `type:"double"`

	// The time range during which anomalous behavior in a proactive anomaly or
	// an insight is expected to occur.
	PredictionTimeRange *PredictionTimeRange `type:"structure"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of a proactive anomaly.
	Severity *string `type:"string" enum:"AnomalySeverity"`

	// Details about the source of the analyzed operational data that triggered
	// the anomaly. The one supported source is Amazon CloudWatch metrics.
	SourceDetails *AnomalySourceDetails `type:"structure"`

	// The status of a proactive anomaly.
	Status *string `type:"string" enum:"AnomalyStatus"`

	// The time of the anomaly's most recent update.
	UpdateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Information about an anomaly. This object is returned by ListAnomalies.

func (ProactiveAnomaly) GoString

func (s ProactiveAnomaly) GoString() string

GoString returns the string representation

func (*ProactiveAnomaly) SetAnomalyTimeRange

func (s *ProactiveAnomaly) SetAnomalyTimeRange(v *AnomalyTimeRange) *ProactiveAnomaly

SetAnomalyTimeRange sets the AnomalyTimeRange field's value.

func (*ProactiveAnomaly) SetAssociatedInsightId

func (s *ProactiveAnomaly) SetAssociatedInsightId(v string) *ProactiveAnomaly

SetAssociatedInsightId sets the AssociatedInsightId field's value.

func (*ProactiveAnomaly) SetId

SetId sets the Id field's value.

func (*ProactiveAnomaly) SetLimit

func (s *ProactiveAnomaly) SetLimit(v float64) *ProactiveAnomaly

SetLimit sets the Limit field's value.

func (*ProactiveAnomaly) SetPredictionTimeRange

func (s *ProactiveAnomaly) SetPredictionTimeRange(v *PredictionTimeRange) *ProactiveAnomaly

SetPredictionTimeRange sets the PredictionTimeRange field's value.

func (*ProactiveAnomaly) SetResourceCollection

func (s *ProactiveAnomaly) SetResourceCollection(v *ResourceCollection) *ProactiveAnomaly

SetResourceCollection sets the ResourceCollection field's value.

func (*ProactiveAnomaly) SetSeverity

func (s *ProactiveAnomaly) SetSeverity(v string) *ProactiveAnomaly

SetSeverity sets the Severity field's value.

func (*ProactiveAnomaly) SetSourceDetails

func (s *ProactiveAnomaly) SetSourceDetails(v *AnomalySourceDetails) *ProactiveAnomaly

SetSourceDetails sets the SourceDetails field's value.

func (*ProactiveAnomaly) SetStatus

func (s *ProactiveAnomaly) SetStatus(v string) *ProactiveAnomaly

SetStatus sets the Status field's value.

func (*ProactiveAnomaly) SetUpdateTime

func (s *ProactiveAnomaly) SetUpdateTime(v time.Time) *ProactiveAnomaly

SetUpdateTime sets the UpdateTime field's value.

func (ProactiveAnomaly) String

func (s ProactiveAnomaly) String() string

String returns the string representation

type ProactiveAnomalySummary

type ProactiveAnomalySummary struct {

	// A time range that specifies when the observed unusual behavior in an anomaly
	// started and ended.
	AnomalyTimeRange *AnomalyTimeRange `type:"structure"`

	// The ID of the insight that contains this anomaly. An insight is composed
	// of related anomalies.
	AssociatedInsightId *string `min:"1" type:"string"`

	// The ID of the anomaly.
	Id *string `min:"1" type:"string"`

	// A threshold that was exceeded by behavior in analyzed resources. Exceeding
	// this threshold is related to the anomalous behavior that generated this anomaly.
	Limit *float64 `type:"double"`

	// The time range during which anomalous behavior in a proactive anomaly or
	// an insight is expected to occur.
	PredictionTimeRange *PredictionTimeRange `type:"structure"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of the anomaly.
	Severity *string `type:"string" enum:"AnomalySeverity"`

	// Details about the source of the analyzed operational data that triggered
	// the anomaly. The one supported source is Amazon CloudWatch metrics.
	SourceDetails *AnomalySourceDetails `type:"structure"`

	// The status of the anomaly.
	Status *string `type:"string" enum:"AnomalyStatus"`

	// The time of the anomaly's most recent update.
	UpdateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Details about a proactive anomaly. This object is returned by DescribeAnomaly.

func (ProactiveAnomalySummary) GoString

func (s ProactiveAnomalySummary) GoString() string

GoString returns the string representation

func (*ProactiveAnomalySummary) SetAnomalyTimeRange

SetAnomalyTimeRange sets the AnomalyTimeRange field's value.

func (*ProactiveAnomalySummary) SetAssociatedInsightId

func (s *ProactiveAnomalySummary) SetAssociatedInsightId(v string) *ProactiveAnomalySummary

SetAssociatedInsightId sets the AssociatedInsightId field's value.

func (*ProactiveAnomalySummary) SetId

SetId sets the Id field's value.

func (*ProactiveAnomalySummary) SetLimit

SetLimit sets the Limit field's value.

func (*ProactiveAnomalySummary) SetPredictionTimeRange

SetPredictionTimeRange sets the PredictionTimeRange field's value.

func (*ProactiveAnomalySummary) SetResourceCollection

SetResourceCollection sets the ResourceCollection field's value.

func (*ProactiveAnomalySummary) SetSeverity

SetSeverity sets the Severity field's value.

func (*ProactiveAnomalySummary) SetSourceDetails

SetSourceDetails sets the SourceDetails field's value.

func (*ProactiveAnomalySummary) SetStatus

SetStatus sets the Status field's value.

func (*ProactiveAnomalySummary) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ProactiveAnomalySummary) String

func (s ProactiveAnomalySummary) String() string

String returns the string representation

type ProactiveInsight

type ProactiveInsight struct {

	// The ID of the proactive insight.
	Id *string `min:"1" type:"string"`

	// A time ranged that specifies when the observed behavior in an insight started
	// and ended.
	InsightTimeRange *InsightTimeRange `type:"structure"`

	// The name of the proactive insight.
	Name *string `min:"1" type:"string"`

	// The time range during which anomalous behavior in a proactive anomaly or
	// an insight is expected to occur.
	PredictionTimeRange *PredictionTimeRange `type:"structure"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of the proactive insight.
	Severity *string `type:"string" enum:"InsightSeverity"`

	// The ID of the AWS System Manager OpsItem created for this insight. You must
	// enable the creation of OpstItems insights before they are created for each
	// insight.
	SsmOpsItemId *string `min:"1" type:"string"`

	// The status of the proactive insight.
	Status *string `type:"string" enum:"InsightStatus"`
	// contains filtered or unexported fields
}

Details about a proactive insight. This object is returned by ListInsights.

func (ProactiveInsight) GoString

func (s ProactiveInsight) GoString() string

GoString returns the string representation

func (*ProactiveInsight) SetId

SetId sets the Id field's value.

func (*ProactiveInsight) SetInsightTimeRange

func (s *ProactiveInsight) SetInsightTimeRange(v *InsightTimeRange) *ProactiveInsight

SetInsightTimeRange sets the InsightTimeRange field's value.

func (*ProactiveInsight) SetName

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

SetName sets the Name field's value.

func (*ProactiveInsight) SetPredictionTimeRange

func (s *ProactiveInsight) SetPredictionTimeRange(v *PredictionTimeRange) *ProactiveInsight

SetPredictionTimeRange sets the PredictionTimeRange field's value.

func (*ProactiveInsight) SetResourceCollection

func (s *ProactiveInsight) SetResourceCollection(v *ResourceCollection) *ProactiveInsight

SetResourceCollection sets the ResourceCollection field's value.

func (*ProactiveInsight) SetSeverity

func (s *ProactiveInsight) SetSeverity(v string) *ProactiveInsight

SetSeverity sets the Severity field's value.

func (*ProactiveInsight) SetSsmOpsItemId

func (s *ProactiveInsight) SetSsmOpsItemId(v string) *ProactiveInsight

SetSsmOpsItemId sets the SsmOpsItemId field's value.

func (*ProactiveInsight) SetStatus

func (s *ProactiveInsight) SetStatus(v string) *ProactiveInsight

SetStatus sets the Status field's value.

func (ProactiveInsight) String

func (s ProactiveInsight) String() string

String returns the string representation

type ProactiveInsightSummary

type ProactiveInsightSummary struct {

	// The ID of the proactive insight.
	Id *string `min:"1" type:"string"`

	// A time ranged that specifies when the observed behavior in an insight started
	// and ended.
	InsightTimeRange *InsightTimeRange `type:"structure"`

	// The name of the proactive insight.
	Name *string `min:"1" type:"string"`

	// The time range during which anomalous behavior in a proactive anomaly or
	// an insight is expected to occur.
	PredictionTimeRange *PredictionTimeRange `type:"structure"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of the proactive insight.
	Severity *string `type:"string" enum:"InsightSeverity"`

	// The status of the proactive insight.
	Status *string `type:"string" enum:"InsightStatus"`
	// contains filtered or unexported fields
}

Details about a proactive insight. This object is returned by DescribeInsight.

func (ProactiveInsightSummary) GoString

func (s ProactiveInsightSummary) GoString() string

GoString returns the string representation

func (*ProactiveInsightSummary) SetId

SetId sets the Id field's value.

func (*ProactiveInsightSummary) SetInsightTimeRange

SetInsightTimeRange sets the InsightTimeRange field's value.

func (*ProactiveInsightSummary) SetName

SetName sets the Name field's value.

func (*ProactiveInsightSummary) SetPredictionTimeRange

SetPredictionTimeRange sets the PredictionTimeRange field's value.

func (*ProactiveInsightSummary) SetResourceCollection

SetResourceCollection sets the ResourceCollection field's value.

func (*ProactiveInsightSummary) SetSeverity

SetSeverity sets the Severity field's value.

func (*ProactiveInsightSummary) SetStatus

SetStatus sets the Status field's value.

func (ProactiveInsightSummary) String

func (s ProactiveInsightSummary) String() string

String returns the string representation

type PutFeedbackInput

type PutFeedbackInput struct {

	// The feedback from customers is about the recommendations in this insight.
	InsightFeedback *InsightFeedback `type:"structure"`
	// contains filtered or unexported fields
}

func (PutFeedbackInput) GoString

func (s PutFeedbackInput) GoString() string

GoString returns the string representation

func (*PutFeedbackInput) SetInsightFeedback

func (s *PutFeedbackInput) SetInsightFeedback(v *InsightFeedback) *PutFeedbackInput

SetInsightFeedback sets the InsightFeedback field's value.

func (PutFeedbackInput) String

func (s PutFeedbackInput) String() string

String returns the string representation

func (*PutFeedbackInput) Validate

func (s *PutFeedbackInput) Validate() error

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

type PutFeedbackOutput

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

func (PutFeedbackOutput) GoString

func (s PutFeedbackOutput) GoString() string

GoString returns the string representation

func (PutFeedbackOutput) String

func (s PutFeedbackOutput) String() string

String returns the string representation

type ReactiveAnomaly

type ReactiveAnomaly struct {

	// A time range that specifies when the observed unusual behavior in an anomaly
	// started and ended.
	AnomalyTimeRange *AnomalyTimeRange `type:"structure"`

	// The ID of the insight that contains this anomaly. An insight is composed
	// of related anomalies.
	AssociatedInsightId *string `min:"1" type:"string"`

	// The ID of the reactive anomaly.
	Id *string `min:"1" type:"string"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of the anomaly.
	Severity *string `type:"string" enum:"AnomalySeverity"`

	// Details about the source of the analyzed operational data that triggered
	// the anomaly. The one supported source is Amazon CloudWatch metrics.
	SourceDetails *AnomalySourceDetails `type:"structure"`

	// The status of the anomaly.
	Status *string `type:"string" enum:"AnomalyStatus"`
	// contains filtered or unexported fields
}

Details about a reactive anomaly. This object is returned by ListAnomalies.

func (ReactiveAnomaly) GoString

func (s ReactiveAnomaly) GoString() string

GoString returns the string representation

func (*ReactiveAnomaly) SetAnomalyTimeRange

func (s *ReactiveAnomaly) SetAnomalyTimeRange(v *AnomalyTimeRange) *ReactiveAnomaly

SetAnomalyTimeRange sets the AnomalyTimeRange field's value.

func (*ReactiveAnomaly) SetAssociatedInsightId

func (s *ReactiveAnomaly) SetAssociatedInsightId(v string) *ReactiveAnomaly

SetAssociatedInsightId sets the AssociatedInsightId field's value.

func (*ReactiveAnomaly) SetId

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

SetId sets the Id field's value.

func (*ReactiveAnomaly) SetResourceCollection

func (s *ReactiveAnomaly) SetResourceCollection(v *ResourceCollection) *ReactiveAnomaly

SetResourceCollection sets the ResourceCollection field's value.

func (*ReactiveAnomaly) SetSeverity

func (s *ReactiveAnomaly) SetSeverity(v string) *ReactiveAnomaly

SetSeverity sets the Severity field's value.

func (*ReactiveAnomaly) SetSourceDetails

func (s *ReactiveAnomaly) SetSourceDetails(v *AnomalySourceDetails) *ReactiveAnomaly

SetSourceDetails sets the SourceDetails field's value.

func (*ReactiveAnomaly) SetStatus

func (s *ReactiveAnomaly) SetStatus(v string) *ReactiveAnomaly

SetStatus sets the Status field's value.

func (ReactiveAnomaly) String

func (s ReactiveAnomaly) String() string

String returns the string representation

type ReactiveAnomalySummary

type ReactiveAnomalySummary struct {

	// A time range that specifies when the observed unusual behavior in an anomaly
	// started and ended.
	AnomalyTimeRange *AnomalyTimeRange `type:"structure"`

	// The ID of the insight that contains this anomaly. An insight is composed
	// of related anomalies.
	AssociatedInsightId *string `min:"1" type:"string"`

	// The ID of the reactive anomaly.
	Id *string `min:"1" type:"string"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of the reactive anomaly.
	Severity *string `type:"string" enum:"AnomalySeverity"`

	// Details about the source of the analyzed operational data that triggered
	// the anomaly. The one supported source is Amazon CloudWatch metrics.
	SourceDetails *AnomalySourceDetails `type:"structure"`

	// The status of the reactive anomaly.
	Status *string `type:"string" enum:"AnomalyStatus"`
	// contains filtered or unexported fields
}

Details about a reactive anomaly. This object is returned by DescribeAnomaly.

func (ReactiveAnomalySummary) GoString

func (s ReactiveAnomalySummary) GoString() string

GoString returns the string representation

func (*ReactiveAnomalySummary) SetAnomalyTimeRange

SetAnomalyTimeRange sets the AnomalyTimeRange field's value.

func (*ReactiveAnomalySummary) SetAssociatedInsightId

func (s *ReactiveAnomalySummary) SetAssociatedInsightId(v string) *ReactiveAnomalySummary

SetAssociatedInsightId sets the AssociatedInsightId field's value.

func (*ReactiveAnomalySummary) SetId

SetId sets the Id field's value.

func (*ReactiveAnomalySummary) SetResourceCollection

SetResourceCollection sets the ResourceCollection field's value.

func (*ReactiveAnomalySummary) SetSeverity

SetSeverity sets the Severity field's value.

func (*ReactiveAnomalySummary) SetSourceDetails

SetSourceDetails sets the SourceDetails field's value.

func (*ReactiveAnomalySummary) SetStatus

SetStatus sets the Status field's value.

func (ReactiveAnomalySummary) String

func (s ReactiveAnomalySummary) String() string

String returns the string representation

type ReactiveInsight

type ReactiveInsight struct {

	// The ID of a reactive insight.
	Id *string `min:"1" type:"string"`

	// A time ranged that specifies when the observed behavior in an insight started
	// and ended.
	InsightTimeRange *InsightTimeRange `type:"structure"`

	// The name of a reactive insight.
	Name *string `min:"1" type:"string"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of a reactive insight.
	Severity *string `type:"string" enum:"InsightSeverity"`

	// The ID of the AWS System Manager OpsItem created for this insight. You must
	// enable the creation of OpstItems insights before they are created for each
	// insight.
	SsmOpsItemId *string `min:"1" type:"string"`

	// The status of a reactive insight.
	Status *string `type:"string" enum:"InsightStatus"`
	// contains filtered or unexported fields
}

Information about a reactive insight. This object is returned by ListInsights.

func (ReactiveInsight) GoString

func (s ReactiveInsight) GoString() string

GoString returns the string representation

func (*ReactiveInsight) SetId

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

SetId sets the Id field's value.

func (*ReactiveInsight) SetInsightTimeRange

func (s *ReactiveInsight) SetInsightTimeRange(v *InsightTimeRange) *ReactiveInsight

SetInsightTimeRange sets the InsightTimeRange field's value.

func (*ReactiveInsight) SetName

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

SetName sets the Name field's value.

func (*ReactiveInsight) SetResourceCollection

func (s *ReactiveInsight) SetResourceCollection(v *ResourceCollection) *ReactiveInsight

SetResourceCollection sets the ResourceCollection field's value.

func (*ReactiveInsight) SetSeverity

func (s *ReactiveInsight) SetSeverity(v string) *ReactiveInsight

SetSeverity sets the Severity field's value.

func (*ReactiveInsight) SetSsmOpsItemId

func (s *ReactiveInsight) SetSsmOpsItemId(v string) *ReactiveInsight

SetSsmOpsItemId sets the SsmOpsItemId field's value.

func (*ReactiveInsight) SetStatus

func (s *ReactiveInsight) SetStatus(v string) *ReactiveInsight

SetStatus sets the Status field's value.

func (ReactiveInsight) String

func (s ReactiveInsight) String() string

String returns the string representation

type ReactiveInsightSummary

type ReactiveInsightSummary struct {

	// The ID of a reactive summary.
	Id *string `min:"1" type:"string"`

	// A time ranged that specifies when the observed behavior in an insight started
	// and ended.
	InsightTimeRange *InsightTimeRange `type:"structure"`

	// The name of a reactive insight.
	Name *string `min:"1" type:"string"`

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// The severity of a reactive insight.
	Severity *string `type:"string" enum:"InsightSeverity"`

	// The status of a reactive insight.
	Status *string `type:"string" enum:"InsightStatus"`
	// contains filtered or unexported fields
}

Information about a reactive insight. This object is returned by DescribeInsight.

func (ReactiveInsightSummary) GoString

func (s ReactiveInsightSummary) GoString() string

GoString returns the string representation

func (*ReactiveInsightSummary) SetId

SetId sets the Id field's value.

func (*ReactiveInsightSummary) SetInsightTimeRange

SetInsightTimeRange sets the InsightTimeRange field's value.

func (*ReactiveInsightSummary) SetName

SetName sets the Name field's value.

func (*ReactiveInsightSummary) SetResourceCollection

SetResourceCollection sets the ResourceCollection field's value.

func (*ReactiveInsightSummary) SetSeverity

SetSeverity sets the Severity field's value.

func (*ReactiveInsightSummary) SetStatus

SetStatus sets the Status field's value.

func (ReactiveInsightSummary) String

func (s ReactiveInsightSummary) String() string

String returns the string representation

type Recommendation

type Recommendation struct {

	// A description of the problem.
	Description *string `type:"string"`

	// A hyperlink to information to help you address the problem.
	Link *string `type:"string"`

	// The name of the recommendation.
	Name *string `type:"string"`

	// The reason DevOps Guru flagged the anomalous behavior as a problem.
	Reason *string `type:"string"`

	// Anomalies that are related to the problem. Use these Anomalies to learn more
	// about what's happening and to help address the issue.
	RelatedAnomalies []*RecommendationRelatedAnomaly `type:"list"`

	// Events that are related to the problem. Use these events to learn more about
	// what's happening and to help address the issue.
	RelatedEvents []*RecommendationRelatedEvent `type:"list"`
	// contains filtered or unexported fields
}

Recommendation information to help you remediate detected anomalous behavior that generated an insight.

func (Recommendation) GoString

func (s Recommendation) GoString() string

GoString returns the string representation

func (*Recommendation) SetDescription

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

SetDescription sets the Description field's value.

func (s *Recommendation) SetLink(v string) *Recommendation

SetLink sets the Link field's value.

func (*Recommendation) SetName

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

SetName sets the Name field's value.

func (*Recommendation) SetReason

func (s *Recommendation) SetReason(v string) *Recommendation

SetReason sets the Reason field's value.

func (*Recommendation) SetRelatedAnomalies

func (s *Recommendation) SetRelatedAnomalies(v []*RecommendationRelatedAnomaly) *Recommendation

SetRelatedAnomalies sets the RelatedAnomalies field's value.

func (*Recommendation) SetRelatedEvents

func (s *Recommendation) SetRelatedEvents(v []*RecommendationRelatedEvent) *Recommendation

SetRelatedEvents sets the RelatedEvents field's value.

func (Recommendation) String

func (s Recommendation) String() string

String returns the string representation

type RecommendationRelatedAnomaly

type RecommendationRelatedAnomaly struct {

	// An array of objects that represent resources in which DevOps Guru detected
	// anomalous behavior. Each object contains the name and type of the resource.
	Resources []*RecommendationRelatedAnomalyResource `type:"list"`

	// Information about where the anomalous behavior related the recommendation
	// was found. For example, details in Amazon CloudWatch metrics.
	SourceDetails []*RecommendationRelatedAnomalySourceDetail `type:"list"`
	// contains filtered or unexported fields
}

Information about an anomaly that is related to a recommendation.

func (RecommendationRelatedAnomaly) GoString

func (s RecommendationRelatedAnomaly) GoString() string

GoString returns the string representation

func (*RecommendationRelatedAnomaly) SetResources

SetResources sets the Resources field's value.

func (*RecommendationRelatedAnomaly) SetSourceDetails

SetSourceDetails sets the SourceDetails field's value.

func (RecommendationRelatedAnomaly) String

String returns the string representation

type RecommendationRelatedAnomalyResource

type RecommendationRelatedAnomalyResource struct {

	// The name of the resource.
	Name *string `type:"string"`

	// The type of the resource.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Information about a resource in which DevOps Guru detected anomalous behavior.

func (RecommendationRelatedAnomalyResource) GoString

GoString returns the string representation

func (*RecommendationRelatedAnomalyResource) SetName

SetName sets the Name field's value.

func (*RecommendationRelatedAnomalyResource) SetType

SetType sets the Type field's value.

func (RecommendationRelatedAnomalyResource) String

String returns the string representation

type RecommendationRelatedAnomalySourceDetail

type RecommendationRelatedAnomalySourceDetail struct {

	// An array of CloudWatchMetricsDetail objects that contains information about
	// the analyzed metrics that displayed anomalous behavior.
	CloudWatchMetrics []*RecommendationRelatedCloudWatchMetricsSourceDetail `type:"list"`
	// contains filtered or unexported fields
}

Contains an array of RecommendationRelatedCloudWatchMetricsSourceDetail objects that contain the name and namespace of an Amazon CloudWatch metric.

func (RecommendationRelatedAnomalySourceDetail) GoString

GoString returns the string representation

func (*RecommendationRelatedAnomalySourceDetail) SetCloudWatchMetrics

SetCloudWatchMetrics sets the CloudWatchMetrics field's value.

func (RecommendationRelatedAnomalySourceDetail) String

String returns the string representation

type RecommendationRelatedCloudWatchMetricsSourceDetail

type RecommendationRelatedCloudWatchMetricsSourceDetail struct {

	// The name of the CloudWatch metric.
	MetricName *string `type:"string"`

	// The namespace of the CloudWatch metric. A namespace is a container for CloudWatch
	// metrics.
	Namespace *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an Amazon CloudWatch metric that is analyzed by DevOps Guru. It is one of many analyzed metrics that are used to generate insights.

func (RecommendationRelatedCloudWatchMetricsSourceDetail) GoString

GoString returns the string representation

func (*RecommendationRelatedCloudWatchMetricsSourceDetail) SetMetricName

SetMetricName sets the MetricName field's value.

func (*RecommendationRelatedCloudWatchMetricsSourceDetail) SetNamespace

SetNamespace sets the Namespace field's value.

func (RecommendationRelatedCloudWatchMetricsSourceDetail) String

String returns the string representation

type RecommendationRelatedEvent

type RecommendationRelatedEvent struct {

	// The name of the event. This corresponds to the Name field in an Event object.
	Name *string `type:"string"`

	// A ResourceCollection object that contains arrays of the names of AWS CloudFormation
	// stacks.
	Resources []*RecommendationRelatedEventResource `type:"list"`
	// contains filtered or unexported fields
}

Information about an event that is related to a recommendation.

func (RecommendationRelatedEvent) GoString

func (s RecommendationRelatedEvent) GoString() string

GoString returns the string representation

func (*RecommendationRelatedEvent) SetName

SetName sets the Name field's value.

func (*RecommendationRelatedEvent) SetResources

SetResources sets the Resources field's value.

func (RecommendationRelatedEvent) String

String returns the string representation

type RecommendationRelatedEventResource

type RecommendationRelatedEventResource struct {

	// The name of the resource that emitted the event. This corresponds to the
	// Name field in an EventResource object.
	Name *string `type:"string"`

	// The type of the resource that emitted the event. This corresponds to the
	// Type field in an EventResource object.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an AWS resource that emitted and event that is related to a recommendation in an insight.

func (RecommendationRelatedEventResource) GoString

GoString returns the string representation

func (*RecommendationRelatedEventResource) SetName

SetName sets the Name field's value.

func (*RecommendationRelatedEventResource) SetType

SetType sets the Type field's value.

func (RecommendationRelatedEventResource) String

String returns the string representation

type RemoveNotificationChannelInput

type RemoveNotificationChannelInput struct {

	// The ID of the notification channel to be removed.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveNotificationChannelInput) GoString

GoString returns the string representation

func (*RemoveNotificationChannelInput) SetId

SetId sets the Id field's value.

func (RemoveNotificationChannelInput) String

String returns the string representation

func (*RemoveNotificationChannelInput) Validate

func (s *RemoveNotificationChannelInput) Validate() error

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

type RemoveNotificationChannelOutput

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

func (RemoveNotificationChannelOutput) GoString

GoString returns the string representation

func (RemoveNotificationChannelOutput) String

String returns the string representation

type ResourceCollection

type ResourceCollection struct {

	// An array of the names of AWS CloudFormation stacks. The stacks define AWS
	// resources that DevOps Guru analyzes.
	CloudFormation *CloudFormationCollection `type:"structure"`
	// contains filtered or unexported fields
}

A collection of AWS resources supported by DevOps Guru. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks.

func (ResourceCollection) GoString

func (s ResourceCollection) GoString() string

GoString returns the string representation

func (*ResourceCollection) SetCloudFormation

SetCloudFormation sets the CloudFormation field's value.

func (ResourceCollection) String

func (s ResourceCollection) String() string

String returns the string representation

type ResourceCollectionFilter

type ResourceCollectionFilter struct {

	// Information about AWS CloudFormation stacks. You can use stacks to specify
	// which AWS resources in your account to analyze. For more information, see
	// Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
	// in the AWS CloudFormation User Guide.
	CloudFormation *CloudFormationCollectionFilter `type:"structure"`
	// contains filtered or unexported fields
}

Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.

func (ResourceCollectionFilter) GoString

func (s ResourceCollectionFilter) GoString() string

GoString returns the string representation

func (*ResourceCollectionFilter) SetCloudFormation

SetCloudFormation sets the CloudFormation field's value.

func (ResourceCollectionFilter) String

func (s ResourceCollectionFilter) String() string

String returns the string representation

type ResourceNotFoundException

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

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

	// The ID of the AWS resource that could not be found.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The type of the AWS resource that could not be found.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A requested resource could not be 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

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

type SearchInsightsFilters

type SearchInsightsFilters struct {

	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can
	// be configured to analyze only the AWS resources that are defined in the stacks.
	ResourceCollection *ResourceCollection `type:"structure"`

	// An array of severity values used to search for insights.
	Severities []*string `type:"list"`

	// An array of status values used to search for insights.
	Statuses []*string `type:"list"`
	// contains filtered or unexported fields
}

Specifies one or more severity values and one or more status values that are used to search for insights.

func (SearchInsightsFilters) GoString

func (s SearchInsightsFilters) GoString() string

GoString returns the string representation

func (*SearchInsightsFilters) SetResourceCollection

func (s *SearchInsightsFilters) SetResourceCollection(v *ResourceCollection) *SearchInsightsFilters

SetResourceCollection sets the ResourceCollection field's value.

func (*SearchInsightsFilters) SetSeverities

func (s *SearchInsightsFilters) SetSeverities(v []*string) *SearchInsightsFilters

SetSeverities sets the Severities field's value.

func (*SearchInsightsFilters) SetStatuses

func (s *SearchInsightsFilters) SetStatuses(v []*string) *SearchInsightsFilters

SetStatuses sets the Statuses field's value.

func (SearchInsightsFilters) String

func (s SearchInsightsFilters) String() string

String returns the string representation

type SearchInsightsInput

type SearchInsightsInput struct {

	// A SearchInsightsFilters object that is used to set the severity and status
	// filters on your insight search.
	Filters *SearchInsightsFilters `type:"structure"`

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token to use to retrieve the next page of results for this
	// operation. If this value is null, it retrieves the first page.
	NextToken *string `min:"36" type:"string"`

	// The start of the time range passed in. Returned insights occurred after this
	// time.
	//
	// StartTimeRange is a required field
	StartTimeRange *StartTimeRange `type:"structure" required:"true"`

	// The type of insights you are searching for (REACTIVE or PROACTIVE).
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"InsightType"`
	// contains filtered or unexported fields
}

func (SearchInsightsInput) GoString

func (s SearchInsightsInput) GoString() string

GoString returns the string representation

func (*SearchInsightsInput) SetFilters

SetFilters sets the Filters field's value.

func (*SearchInsightsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*SearchInsightsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*SearchInsightsInput) SetStartTimeRange

func (s *SearchInsightsInput) SetStartTimeRange(v *StartTimeRange) *SearchInsightsInput

SetStartTimeRange sets the StartTimeRange field's value.

func (*SearchInsightsInput) SetType

SetType sets the Type field's value.

func (SearchInsightsInput) String

func (s SearchInsightsInput) String() string

String returns the string representation

func (*SearchInsightsInput) Validate

func (s *SearchInsightsInput) Validate() error

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

type SearchInsightsOutput

type SearchInsightsOutput struct {

	// The pagination token to use to retrieve the next page of results for this
	// operation. If there are no more pages, this value is null.
	NextToken *string `min:"36" type:"string"`

	// The returned proactive insights.
	ProactiveInsights []*ProactiveInsightSummary `type:"list"`

	// The returned reactive insights.
	ReactiveInsights []*ReactiveInsightSummary `type:"list"`
	// contains filtered or unexported fields
}

func (SearchInsightsOutput) GoString

func (s SearchInsightsOutput) GoString() string

GoString returns the string representation

func (*SearchInsightsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*SearchInsightsOutput) SetProactiveInsights

func (s *SearchInsightsOutput) SetProactiveInsights(v []*ProactiveInsightSummary) *SearchInsightsOutput

SetProactiveInsights sets the ProactiveInsights field's value.

func (*SearchInsightsOutput) SetReactiveInsights

SetReactiveInsights sets the ReactiveInsights field's value.

func (SearchInsightsOutput) String

func (s SearchInsightsOutput) String() string

String returns the string representation

type ServiceIntegrationConfig

type ServiceIntegrationConfig struct {

	// Information about whether DevOps Guru is configured to create an OpsItem
	// in AWS Systems Manager OpsCenter for each created insight.
	OpsCenter *OpsCenterIntegration `type:"structure"`
	// contains filtered or unexported fields
}

Information about the integration of DevOps Guru with another AWS service, such as AWS Systems Manager.

func (ServiceIntegrationConfig) GoString

func (s ServiceIntegrationConfig) GoString() string

GoString returns the string representation

func (*ServiceIntegrationConfig) SetOpsCenter

SetOpsCenter sets the OpsCenter field's value.

func (ServiceIntegrationConfig) String

func (s ServiceIntegrationConfig) String() string

String returns the string representation

type ServiceQuotaExceededException

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

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

The request contains a value that exceeds a maximum quota.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation

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

type SnsChannelConfig

type SnsChannelConfig struct {

	// The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
	TopicArn *string `min:"36" type:"string"`
	// contains filtered or unexported fields
}

Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).

If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).

func (SnsChannelConfig) GoString

func (s SnsChannelConfig) GoString() string

GoString returns the string representation

func (*SnsChannelConfig) SetTopicArn

func (s *SnsChannelConfig) SetTopicArn(v string) *SnsChannelConfig

SetTopicArn sets the TopicArn field's value.

func (SnsChannelConfig) String

func (s SnsChannelConfig) String() string

String returns the string representation

func (*SnsChannelConfig) Validate

func (s *SnsChannelConfig) Validate() error

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

type StartTimeRange

type StartTimeRange struct {

	// The start time of the time range.
	FromTime *time.Time `type:"timestamp"`

	// The end time of the time range.
	ToTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

A time range used to specify when the behavior of an insight or anomaly started.

func (StartTimeRange) GoString

func (s StartTimeRange) GoString() string

GoString returns the string representation

func (*StartTimeRange) SetFromTime

func (s *StartTimeRange) SetFromTime(v time.Time) *StartTimeRange

SetFromTime sets the FromTime field's value.

func (*StartTimeRange) SetToTime

func (s *StartTimeRange) SetToTime(v time.Time) *StartTimeRange

SetToTime sets the ToTime field's value.

func (StartTimeRange) String

func (s StartTimeRange) String() string

String returns the string representation

type ThrottlingException

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

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

	// The code of the quota that was exceeded, causing the throttling exception.
	QuotaCode *string `type:"string"`

	// The number of seconds after which the action that caused the throttling exception
	// can be retried.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`

	// The code of the service that caused the throttling exception.
	ServiceCode *string `type:"string"`
	// contains filtered or unexported fields
}

The request was denied due to a request throttling.

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

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

type UpdateCloudFormationCollectionFilter

type UpdateCloudFormationCollectionFilter struct {

	// An array of the name of stacks to update.
	StackNames []*string `type:"list"`
	// contains filtered or unexported fields
}

Contains the names of AWS CloudFormation stacks used to update a collection of stacks.

func (UpdateCloudFormationCollectionFilter) GoString

GoString returns the string representation

func (*UpdateCloudFormationCollectionFilter) SetStackNames

SetStackNames sets the StackNames field's value.

func (UpdateCloudFormationCollectionFilter) String

String returns the string representation

type UpdateResourceCollectionFilter

type UpdateResourceCollectionFilter struct {

	// An collection of AWS CloudFormation stacks.
	CloudFormation *UpdateCloudFormationCollectionFilter `type:"structure"`
	// contains filtered or unexported fields
}

Contains information used to update a collection of AWS resources.

func (UpdateResourceCollectionFilter) GoString

GoString returns the string representation

func (*UpdateResourceCollectionFilter) SetCloudFormation

SetCloudFormation sets the CloudFormation field's value.

func (UpdateResourceCollectionFilter) String

String returns the string representation

type UpdateResourceCollectionInput

type UpdateResourceCollectionInput struct {

	// Specifies if the resource collection in the request is added or deleted to
	// the resource collection.
	//
	// Action is a required field
	Action *string `type:"string" required:"true" enum:"UpdateResourceCollectionAction"`

	// Contains information used to update a collection of AWS resources.
	//
	// ResourceCollection is a required field
	ResourceCollection *UpdateResourceCollectionFilter `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateResourceCollectionInput) GoString

GoString returns the string representation

func (*UpdateResourceCollectionInput) SetAction

SetAction sets the Action field's value.

func (*UpdateResourceCollectionInput) SetResourceCollection

SetResourceCollection sets the ResourceCollection field's value.

func (UpdateResourceCollectionInput) String

String returns the string representation

func (*UpdateResourceCollectionInput) Validate

func (s *UpdateResourceCollectionInput) Validate() error

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

type UpdateResourceCollectionOutput

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

func (UpdateResourceCollectionOutput) GoString

GoString returns the string representation

func (UpdateResourceCollectionOutput) String

String returns the string representation

type UpdateServiceIntegrationConfig

type UpdateServiceIntegrationConfig struct {

	// Information about whether DevOps Guru is configured to create an OpsItem
	// in AWS Systems Manager OpsCenter for each created insight.
	OpsCenter *OpsCenterIntegrationConfig `type:"structure"`
	// contains filtered or unexported fields
}

Information about updating the integration status of an AWS service, such as AWS Systems Manager, with DevOps Guru.

func (UpdateServiceIntegrationConfig) GoString

GoString returns the string representation

func (*UpdateServiceIntegrationConfig) SetOpsCenter

SetOpsCenter sets the OpsCenter field's value.

func (UpdateServiceIntegrationConfig) String

String returns the string representation

type UpdateServiceIntegrationInput

type UpdateServiceIntegrationInput struct {

	// An IntegratedServiceConfig object used to specify the integrated service
	// you want to update, and whether you want to update it to enabled or disabled.
	//
	// ServiceIntegration is a required field
	ServiceIntegration *UpdateServiceIntegrationConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateServiceIntegrationInput) GoString

GoString returns the string representation

func (*UpdateServiceIntegrationInput) SetServiceIntegration

SetServiceIntegration sets the ServiceIntegration field's value.

func (UpdateServiceIntegrationInput) String

String returns the string representation

func (*UpdateServiceIntegrationInput) Validate

func (s *UpdateServiceIntegrationInput) Validate() error

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

type UpdateServiceIntegrationOutput

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

func (UpdateServiceIntegrationOutput) GoString

GoString returns the string representation

func (UpdateServiceIntegrationOutput) String

String returns the string representation

type ValidationException

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

	// An array of fields that are associated with the validation exception.
	Fields []*ValidationExceptionField `type:"list"`

	// A message that describes the validation exception.
	Message_ *string `locationName:"Message" type:"string"`

	// The reason the validation exception was thrown.
	Reason *string `type:"string" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

Contains information about data passed in to a field during a request that 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

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

type ValidationExceptionField

type ValidationExceptionField struct {

	// The message associated with the validation exception with information to
	// help determine its cause.
	//
	// Message is a required field
	Message *string `type:"string" required:"true"`

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

The field associated with the validation exception.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation

Directories

Path Synopsis
Package devopsguruiface provides an interface to enable mocking the Amazon DevOps Guru service client for testing your code.
Package devopsguruiface provides an interface to enable mocking the Amazon DevOps Guru service client for testing your code.

Jump to

Keyboard shortcuts

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