applicationinsights

package
v1.34.24 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 35

Documentation

Overview

Package applicationinsights provides the client and types for making API requests to Amazon CloudWatch Application Insights.

Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.

After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors.

See https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25 for more information on this service.

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

Using the Client

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

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

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

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

Index

Constants

View Source
const (
	// CloudWatchEventSourceEc2 is a CloudWatchEventSource enum value
	CloudWatchEventSourceEc2 = "EC2"

	// CloudWatchEventSourceCodeDeploy is a CloudWatchEventSource enum value
	CloudWatchEventSourceCodeDeploy = "CODE_DEPLOY"

	// CloudWatchEventSourceHealth is a CloudWatchEventSource enum value
	CloudWatchEventSourceHealth = "HEALTH"
)
View Source
const (
	// ConfigurationEventResourceTypeCloudwatchAlarm is a ConfigurationEventResourceType enum value
	ConfigurationEventResourceTypeCloudwatchAlarm = "CLOUDWATCH_ALARM"

	// ConfigurationEventResourceTypeCloudformation is a ConfigurationEventResourceType enum value
	ConfigurationEventResourceTypeCloudformation = "CLOUDFORMATION"

	// ConfigurationEventResourceTypeSsmAssociation is a ConfigurationEventResourceType enum value
	ConfigurationEventResourceTypeSsmAssociation = "SSM_ASSOCIATION"
)
View Source
const (
	// ConfigurationEventStatusInfo is a ConfigurationEventStatus enum value
	ConfigurationEventStatusInfo = "INFO"

	// ConfigurationEventStatusWarn is a ConfigurationEventStatus enum value
	ConfigurationEventStatusWarn = "WARN"

	// ConfigurationEventStatusError is a ConfigurationEventStatus enum value
	ConfigurationEventStatusError = "ERROR"
)
View Source
const (
	// FeedbackValueNotSpecified is a FeedbackValue enum value
	FeedbackValueNotSpecified = "NOT_SPECIFIED"

	// FeedbackValueUseful is a FeedbackValue enum value
	FeedbackValueUseful = "USEFUL"

	// FeedbackValueNotUseful is a FeedbackValue enum value
	FeedbackValueNotUseful = "NOT_USEFUL"
)
View Source
const (
	// LogFilterError is a LogFilter enum value
	LogFilterError = "ERROR"

	// LogFilterWarn is a LogFilter enum value
	LogFilterWarn = "WARN"

	// LogFilterInfo is a LogFilter enum value
	LogFilterInfo = "INFO"
)
View Source
const (
	// SeverityLevelLow is a SeverityLevel enum value
	SeverityLevelLow = "Low"

	// SeverityLevelMedium is a SeverityLevel enum value
	SeverityLevelMedium = "Medium"

	// SeverityLevelHigh is a SeverityLevel enum value
	SeverityLevelHigh = "High"
)
View Source
const (
	// StatusIgnore is a Status enum value
	StatusIgnore = "IGNORE"

	// StatusResolved is a Status enum value
	StatusResolved = "RESOLVED"

	// StatusPending is a Status enum value
	StatusPending = "PENDING"
)
View Source
const (
	// TierDefault is a Tier enum value
	TierDefault = "DEFAULT"

	// TierDotNetCore is a Tier enum value
	TierDotNetCore = "DOT_NET_CORE"

	// TierDotNetWorker is a Tier enum value
	TierDotNetWorker = "DOT_NET_WORKER"

	// TierDotNetWeb is a Tier enum value
	TierDotNetWeb = "DOT_NET_WEB"

	// TierSqlServer is a Tier enum value
	TierSqlServer = "SQL_SERVER"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The request is not understood by the server.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The server encountered an internal error and is unable to complete the request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The resource is already created or in use.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource does not exist in the customer account.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeTagsAlreadyExistException for service response error code
	// "TagsAlreadyExistException".
	//
	// Tags are already registered for the specified application ARN.
	ErrCodeTagsAlreadyExistException = "TagsAlreadyExistException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The number of the provided tags is beyond the limit, or the number of total
	// tags you are trying to attach to the specified resource exceeds the limit.
	ErrCodeTooManyTagsException = "TooManyTagsException"

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

Service information constants

View Source
const (
	// FeedbackKeyInsightsFeedback is a FeedbackKey enum value
	FeedbackKeyInsightsFeedback = "INSIGHTS_FEEDBACK"
)

Variables

This section is empty.

Functions

func CloudWatchEventSource_Values added in v1.34.3

func CloudWatchEventSource_Values() []string

CloudWatchEventSource_Values returns all elements of the CloudWatchEventSource enum

func ConfigurationEventResourceType_Values added in v1.34.3

func ConfigurationEventResourceType_Values() []string

ConfigurationEventResourceType_Values returns all elements of the ConfigurationEventResourceType enum

func ConfigurationEventStatus_Values added in v1.34.3

func ConfigurationEventStatus_Values() []string

ConfigurationEventStatus_Values returns all elements of the ConfigurationEventStatus enum

func FeedbackKey_Values added in v1.34.3

func FeedbackKey_Values() []string

FeedbackKey_Values returns all elements of the FeedbackKey enum

func FeedbackValue_Values added in v1.34.3

func FeedbackValue_Values() []string

FeedbackValue_Values returns all elements of the FeedbackValue enum

func LogFilter_Values added in v1.34.3

func LogFilter_Values() []string

LogFilter_Values returns all elements of the LogFilter enum

func SeverityLevel_Values added in v1.34.3

func SeverityLevel_Values() []string

SeverityLevel_Values returns all elements of the SeverityLevel enum

func Status_Values added in v1.34.3

func Status_Values() []string

Status_Values returns all elements of the Status enum

func Tier_Values added in v1.34.3

func Tier_Values() []string

Tier_Values returns all elements of the Tier enum

Types

type ApplicationComponent

type ApplicationComponent struct {

	// The name of the component.
	ComponentName *string `type:"string"`

	// Indicates whether the application component is monitored.
	Monitor *bool `type:"boolean"`

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

	// The stack tier of the application component.
	Tier *string `min:"1" type:"string" enum:"Tier"`
	// contains filtered or unexported fields
}

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

func (ApplicationComponent) GoString

func (s ApplicationComponent) GoString() string

GoString returns the string representation

func (*ApplicationComponent) SetComponentName

func (s *ApplicationComponent) SetComponentName(v string) *ApplicationComponent

SetComponentName sets the ComponentName field's value.

func (*ApplicationComponent) SetMonitor

SetMonitor sets the Monitor field's value.

func (*ApplicationComponent) SetResourceType

func (s *ApplicationComponent) SetResourceType(v string) *ApplicationComponent

SetResourceType sets the ResourceType field's value.

func (*ApplicationComponent) SetTier

SetTier sets the Tier field's value.

func (ApplicationComponent) String

func (s ApplicationComponent) String() string

String returns the string representation

type ApplicationInfo

type ApplicationInfo struct {

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

	// The lifecycle of the application.
	LifeCycle *string `type:"string"`

	// Indicates whether Application Insights will create opsItems for any problem
	// detected by Application Insights for an application.
	OpsCenterEnabled *bool `type:"boolean"`

	// The SNS topic provided to Application Insights that is associated to the
	// created opsItems to receive SNS notifications for opsItem updates.
	OpsItemSNSTopicArn *string `min:"20" type:"string"`

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

	// The name of the resource group used for the application.
	ResourceGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the status of the application.

func (ApplicationInfo) GoString

func (s ApplicationInfo) GoString() string

GoString returns the string representation

func (*ApplicationInfo) SetCWEMonitorEnabled added in v1.29.32

func (s *ApplicationInfo) SetCWEMonitorEnabled(v bool) *ApplicationInfo

SetCWEMonitorEnabled sets the CWEMonitorEnabled field's value.

func (*ApplicationInfo) SetLifeCycle

func (s *ApplicationInfo) SetLifeCycle(v string) *ApplicationInfo

SetLifeCycle sets the LifeCycle field's value.

func (*ApplicationInfo) SetOpsCenterEnabled added in v1.22.1

func (s *ApplicationInfo) SetOpsCenterEnabled(v bool) *ApplicationInfo

SetOpsCenterEnabled sets the OpsCenterEnabled field's value.

func (*ApplicationInfo) SetOpsItemSNSTopicArn added in v1.22.1

func (s *ApplicationInfo) SetOpsItemSNSTopicArn(v string) *ApplicationInfo

SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.

func (*ApplicationInfo) SetRemarks

func (s *ApplicationInfo) SetRemarks(v string) *ApplicationInfo

SetRemarks sets the Remarks field's value.

func (*ApplicationInfo) SetResourceGroupName

func (s *ApplicationInfo) SetResourceGroupName(v string) *ApplicationInfo

SetResourceGroupName sets the ResourceGroupName field's value.

func (ApplicationInfo) String

func (s ApplicationInfo) String() string

String returns the string representation

type ApplicationInsights

type ApplicationInsights struct {
	*client.Client
}

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

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

func New

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

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

func (*ApplicationInsights) CreateApplication

CreateApplication API operation for Amazon CloudWatch Application Insights.

Adds an application that is created from a resource group.

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

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

Returned Error Types:

  • ResourceInUseException The resource is already created or in use.

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

  • TagsAlreadyExistException Tags are already registered for the specified application ARN.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication

func (*ApplicationInsights) CreateApplicationRequest

func (c *ApplicationInsights) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication

func (*ApplicationInsights) CreateApplicationWithContext

func (c *ApplicationInsights) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)

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

See CreateApplication 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 (*ApplicationInsights) CreateComponent

CreateComponent API operation for Amazon CloudWatch Application Insights.

Creates a custom component by grouping similar standalone instances to monitor.

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

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

Returned Error Types:

  • ResourceInUseException The resource is already created or in use.

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent

func (*ApplicationInsights) CreateComponentRequest

func (c *ApplicationInsights) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent

func (*ApplicationInsights) CreateComponentWithContext

func (c *ApplicationInsights) CreateComponentWithContext(ctx aws.Context, input *CreateComponentInput, opts ...request.Option) (*CreateComponentOutput, error)

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

See CreateComponent 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 (*ApplicationInsights) CreateLogPattern added in v1.25.42

CreateLogPattern API operation for Amazon CloudWatch Application Insights.

Adds an log pattern to a LogPatternSet.

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

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

Returned Error Types:

  • ResourceInUseException The resource is already created or in use.

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPattern

func (*ApplicationInsights) CreateLogPatternRequest added in v1.25.42

func (c *ApplicationInsights) CreateLogPatternRequest(input *CreateLogPatternInput) (req *request.Request, output *CreateLogPatternOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPattern

func (*ApplicationInsights) CreateLogPatternWithContext added in v1.25.42

func (c *ApplicationInsights) CreateLogPatternWithContext(ctx aws.Context, input *CreateLogPatternInput, opts ...request.Option) (*CreateLogPatternOutput, error)

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

See CreateLogPattern 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 (*ApplicationInsights) DeleteApplication

DeleteApplication API operation for Amazon CloudWatch Application Insights.

Removes the specified application from monitoring. Does not delete the application.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

  • BadRequestException The request is not understood by the server.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication

func (*ApplicationInsights) DeleteApplicationRequest

func (c *ApplicationInsights) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication

func (*ApplicationInsights) DeleteApplicationWithContext

func (c *ApplicationInsights) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)

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

See DeleteApplication 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 (*ApplicationInsights) DeleteComponent

DeleteComponent API operation for Amazon CloudWatch Application Insights.

Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent

func (*ApplicationInsights) DeleteComponentRequest

func (c *ApplicationInsights) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent

func (*ApplicationInsights) DeleteComponentWithContext

func (c *ApplicationInsights) DeleteComponentWithContext(ctx aws.Context, input *DeleteComponentInput, opts ...request.Option) (*DeleteComponentOutput, error)

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

See DeleteComponent 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 (*ApplicationInsights) DeleteLogPattern added in v1.25.42

DeleteLogPattern API operation for Amazon CloudWatch Application Insights.

Removes the specified log pattern from a LogPatternSet.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

  • BadRequestException The request is not understood by the server.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPattern

func (*ApplicationInsights) DeleteLogPatternRequest added in v1.25.42

func (c *ApplicationInsights) DeleteLogPatternRequest(input *DeleteLogPatternInput) (req *request.Request, output *DeleteLogPatternOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPattern

func (*ApplicationInsights) DeleteLogPatternWithContext added in v1.25.42

func (c *ApplicationInsights) DeleteLogPatternWithContext(ctx aws.Context, input *DeleteLogPatternInput, opts ...request.Option) (*DeleteLogPatternOutput, error)

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

See DeleteLogPattern 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 (*ApplicationInsights) DescribeApplication

DescribeApplication API operation for Amazon CloudWatch Application Insights.

Describes the application.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication

func (*ApplicationInsights) DescribeApplicationRequest

func (c *ApplicationInsights) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication

func (*ApplicationInsights) DescribeApplicationWithContext

func (c *ApplicationInsights) DescribeApplicationWithContext(ctx aws.Context, input *DescribeApplicationInput, opts ...request.Option) (*DescribeApplicationOutput, error)

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

See DescribeApplication 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 (*ApplicationInsights) DescribeComponent

DescribeComponent API operation for Amazon CloudWatch Application Insights.

Describes a component and lists the resources that are grouped together in a component.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent

func (*ApplicationInsights) DescribeComponentConfiguration

DescribeComponentConfiguration API operation for Amazon CloudWatch Application Insights.

Describes the monitoring configuration of the component.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration

func (*ApplicationInsights) DescribeComponentConfigurationRecommendation

DescribeComponentConfigurationRecommendation API operation for Amazon CloudWatch Application Insights.

Describes the recommended monitoring configuration of the component.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendation

func (*ApplicationInsights) DescribeComponentConfigurationRecommendationRequest

func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationRequest(input *DescribeComponentConfigurationRecommendationInput) (req *request.Request, output *DescribeComponentConfigurationRecommendationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendation

func (*ApplicationInsights) DescribeComponentConfigurationRecommendationWithContext

func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationWithContext(ctx aws.Context, input *DescribeComponentConfigurationRecommendationInput, opts ...request.Option) (*DescribeComponentConfigurationRecommendationOutput, error)

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

See DescribeComponentConfigurationRecommendation 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 (*ApplicationInsights) DescribeComponentConfigurationRequest

func (c *ApplicationInsights) DescribeComponentConfigurationRequest(input *DescribeComponentConfigurationInput) (req *request.Request, output *DescribeComponentConfigurationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration

func (*ApplicationInsights) DescribeComponentConfigurationWithContext

func (c *ApplicationInsights) DescribeComponentConfigurationWithContext(ctx aws.Context, input *DescribeComponentConfigurationInput, opts ...request.Option) (*DescribeComponentConfigurationOutput, error)

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

See DescribeComponentConfiguration 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 (*ApplicationInsights) DescribeComponentRequest

func (c *ApplicationInsights) DescribeComponentRequest(input *DescribeComponentInput) (req *request.Request, output *DescribeComponentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent

func (*ApplicationInsights) DescribeComponentWithContext

func (c *ApplicationInsights) DescribeComponentWithContext(ctx aws.Context, input *DescribeComponentInput, opts ...request.Option) (*DescribeComponentOutput, error)

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

See DescribeComponent 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 (*ApplicationInsights) DescribeLogPattern added in v1.25.42

DescribeLogPattern API operation for Amazon CloudWatch Application Insights.

Describe a specific log pattern from a LogPatternSet.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPattern

func (*ApplicationInsights) DescribeLogPatternRequest added in v1.25.42

func (c *ApplicationInsights) DescribeLogPatternRequest(input *DescribeLogPatternInput) (req *request.Request, output *DescribeLogPatternOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPattern

func (*ApplicationInsights) DescribeLogPatternWithContext added in v1.25.42

func (c *ApplicationInsights) DescribeLogPatternWithContext(ctx aws.Context, input *DescribeLogPatternInput, opts ...request.Option) (*DescribeLogPatternOutput, error)

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

See DescribeLogPattern 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 (*ApplicationInsights) DescribeObservation

DescribeObservation API operation for Amazon CloudWatch Application Insights.

Describes an anomaly or error with the application.

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

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

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource does not exist in the customer account.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation

func (*ApplicationInsights) DescribeObservationRequest

func (c *ApplicationInsights) DescribeObservationRequest(input *DescribeObservationInput) (req *request.Request, output *DescribeObservationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation

func (*ApplicationInsights) DescribeObservationWithContext

func (c *ApplicationInsights) DescribeObservationWithContext(ctx aws.Context, input *DescribeObservationInput, opts ...request.Option) (*DescribeObservationOutput, error)

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

See DescribeObservation 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 (*ApplicationInsights) DescribeProblem

DescribeProblem API operation for Amazon CloudWatch Application Insights.

Describes an application problem.

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

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

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource does not exist in the customer account.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem

func (*ApplicationInsights) DescribeProblemObservations

DescribeProblemObservations API operation for Amazon CloudWatch Application Insights.

Describes the anomalies or errors associated with the problem.

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

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

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource does not exist in the customer account.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations

func (*ApplicationInsights) DescribeProblemObservationsRequest

func (c *ApplicationInsights) DescribeProblemObservationsRequest(input *DescribeProblemObservationsInput) (req *request.Request, output *DescribeProblemObservationsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations

func (*ApplicationInsights) DescribeProblemObservationsWithContext

func (c *ApplicationInsights) DescribeProblemObservationsWithContext(ctx aws.Context, input *DescribeProblemObservationsInput, opts ...request.Option) (*DescribeProblemObservationsOutput, error)

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

See DescribeProblemObservations 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 (*ApplicationInsights) DescribeProblemRequest

func (c *ApplicationInsights) DescribeProblemRequest(input *DescribeProblemInput) (req *request.Request, output *DescribeProblemOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem

func (*ApplicationInsights) DescribeProblemWithContext

func (c *ApplicationInsights) DescribeProblemWithContext(ctx aws.Context, input *DescribeProblemInput, opts ...request.Option) (*DescribeProblemOutput, error)

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

See DescribeProblem 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 (*ApplicationInsights) ListApplications

ListApplications API operation for Amazon CloudWatch Application Insights.

Lists the IDs of the applications that you are monitoring.

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

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

Returned Error Types:

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications

func (*ApplicationInsights) ListApplicationsPages

func (c *ApplicationInsights) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error

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

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

func (*ApplicationInsights) ListApplicationsPagesWithContext

func (c *ApplicationInsights) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error

ListApplicationsPagesWithContext same as ListApplicationsPages 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 (*ApplicationInsights) ListApplicationsRequest

func (c *ApplicationInsights) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications

func (*ApplicationInsights) ListApplicationsWithContext

func (c *ApplicationInsights) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)

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

See ListApplications 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 (*ApplicationInsights) ListComponents

func (c *ApplicationInsights) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error)

ListComponents API operation for Amazon CloudWatch Application Insights.

Lists the auto-grouped, standalone, and custom components of the application.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents

func (*ApplicationInsights) ListComponentsPages

func (c *ApplicationInsights) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error

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

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

func (*ApplicationInsights) ListComponentsPagesWithContext

func (c *ApplicationInsights) ListComponentsPagesWithContext(ctx aws.Context, input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool, opts ...request.Option) error

ListComponentsPagesWithContext same as ListComponentsPages 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 (*ApplicationInsights) ListComponentsRequest

func (c *ApplicationInsights) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents

func (*ApplicationInsights) ListComponentsWithContext

func (c *ApplicationInsights) ListComponentsWithContext(ctx aws.Context, input *ListComponentsInput, opts ...request.Option) (*ListComponentsOutput, error)

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

See ListComponents 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 (*ApplicationInsights) ListConfigurationHistory added in v1.28.6

ListConfigurationHistory API operation for Amazon CloudWatch Application Insights.

Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:

  • INFO: creating a new alarm or updating an alarm threshold.

  • WARN: alarm not created due to insufficient data points used to predict thresholds.

  • ERROR: alarm not created due to permission errors or exceeding quotas.

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

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

Returned Error Types:

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource does not exist in the customer account.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistory

func (*ApplicationInsights) ListConfigurationHistoryPages added in v1.28.6

func (c *ApplicationInsights) ListConfigurationHistoryPages(input *ListConfigurationHistoryInput, fn func(*ListConfigurationHistoryOutput, bool) bool) error

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

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

func (*ApplicationInsights) ListConfigurationHistoryPagesWithContext added in v1.28.6

func (c *ApplicationInsights) ListConfigurationHistoryPagesWithContext(ctx aws.Context, input *ListConfigurationHistoryInput, fn func(*ListConfigurationHistoryOutput, bool) bool, opts ...request.Option) error

ListConfigurationHistoryPagesWithContext same as ListConfigurationHistoryPages 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 (*ApplicationInsights) ListConfigurationHistoryRequest added in v1.28.6

func (c *ApplicationInsights) ListConfigurationHistoryRequest(input *ListConfigurationHistoryInput) (req *request.Request, output *ListConfigurationHistoryOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistory

func (*ApplicationInsights) ListConfigurationHistoryWithContext added in v1.28.6

func (c *ApplicationInsights) ListConfigurationHistoryWithContext(ctx aws.Context, input *ListConfigurationHistoryInput, opts ...request.Option) (*ListConfigurationHistoryOutput, error)

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

See ListConfigurationHistory 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 (*ApplicationInsights) ListLogPatternSets added in v1.25.42

ListLogPatternSets API operation for Amazon CloudWatch Application Insights.

Lists the log pattern sets in the specific application.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSets

func (*ApplicationInsights) ListLogPatternSetsPages added in v1.25.42

func (c *ApplicationInsights) ListLogPatternSetsPages(input *ListLogPatternSetsInput, fn func(*ListLogPatternSetsOutput, bool) bool) error

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

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

func (*ApplicationInsights) ListLogPatternSetsPagesWithContext added in v1.25.42

func (c *ApplicationInsights) ListLogPatternSetsPagesWithContext(ctx aws.Context, input *ListLogPatternSetsInput, fn func(*ListLogPatternSetsOutput, bool) bool, opts ...request.Option) error

ListLogPatternSetsPagesWithContext same as ListLogPatternSetsPages 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 (*ApplicationInsights) ListLogPatternSetsRequest added in v1.25.42

func (c *ApplicationInsights) ListLogPatternSetsRequest(input *ListLogPatternSetsInput) (req *request.Request, output *ListLogPatternSetsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSets

func (*ApplicationInsights) ListLogPatternSetsWithContext added in v1.25.42

func (c *ApplicationInsights) ListLogPatternSetsWithContext(ctx aws.Context, input *ListLogPatternSetsInput, opts ...request.Option) (*ListLogPatternSetsOutput, error)

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

See ListLogPatternSets 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 (*ApplicationInsights) ListLogPatterns added in v1.25.42

ListLogPatterns API operation for Amazon CloudWatch Application Insights.

Lists the log patterns in the specific log LogPatternSet.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatterns

func (*ApplicationInsights) ListLogPatternsPages added in v1.25.42

func (c *ApplicationInsights) ListLogPatternsPages(input *ListLogPatternsInput, fn func(*ListLogPatternsOutput, bool) bool) error

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

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

func (*ApplicationInsights) ListLogPatternsPagesWithContext added in v1.25.42

func (c *ApplicationInsights) ListLogPatternsPagesWithContext(ctx aws.Context, input *ListLogPatternsInput, fn func(*ListLogPatternsOutput, bool) bool, opts ...request.Option) error

ListLogPatternsPagesWithContext same as ListLogPatternsPages 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 (*ApplicationInsights) ListLogPatternsRequest added in v1.25.42

func (c *ApplicationInsights) ListLogPatternsRequest(input *ListLogPatternsInput) (req *request.Request, output *ListLogPatternsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatterns

func (*ApplicationInsights) ListLogPatternsWithContext added in v1.25.42

func (c *ApplicationInsights) ListLogPatternsWithContext(ctx aws.Context, input *ListLogPatternsInput, opts ...request.Option) (*ListLogPatternsOutput, error)

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

See ListLogPatterns 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 (*ApplicationInsights) ListProblems

func (c *ApplicationInsights) ListProblems(input *ListProblemsInput) (*ListProblemsOutput, error)

ListProblems API operation for Amazon CloudWatch Application Insights.

Lists the problems with your application.

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

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

Returned Error Types:

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource does not exist in the customer account.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems

func (*ApplicationInsights) ListProblemsPages

func (c *ApplicationInsights) ListProblemsPages(input *ListProblemsInput, fn func(*ListProblemsOutput, bool) bool) error

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

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

func (*ApplicationInsights) ListProblemsPagesWithContext

func (c *ApplicationInsights) ListProblemsPagesWithContext(ctx aws.Context, input *ListProblemsInput, fn func(*ListProblemsOutput, bool) bool, opts ...request.Option) error

ListProblemsPagesWithContext same as ListProblemsPages 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 (*ApplicationInsights) ListProblemsRequest

func (c *ApplicationInsights) ListProblemsRequest(input *ListProblemsInput) (req *request.Request, output *ListProblemsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems

func (*ApplicationInsights) ListProblemsWithContext

func (c *ApplicationInsights) ListProblemsWithContext(ctx aws.Context, input *ListProblemsInput, opts ...request.Option) (*ListProblemsOutput, error)

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

See ListProblems 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 (*ApplicationInsights) ListTagsForResource added in v1.25.42

ListTagsForResource API operation for Amazon CloudWatch Application Insights.

Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResource

func (*ApplicationInsights) ListTagsForResourceRequest added in v1.25.42

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResource

func (*ApplicationInsights) ListTagsForResourceWithContext added in v1.25.42

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

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

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

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

func (*ApplicationInsights) TagResource added in v1.25.42

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

TagResource API operation for Amazon CloudWatch Application Insights.

Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

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

  • ValidationException The parameter is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResource

func (*ApplicationInsights) TagResourceRequest added in v1.25.42

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResource

func (*ApplicationInsights) TagResourceWithContext added in v1.25.42

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

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

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

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

func (*ApplicationInsights) UntagResource added in v1.25.42

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

UntagResource API operation for Amazon CloudWatch Application Insights.

Remove one or more tags (keys and values) from a specified application.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResource

func (*ApplicationInsights) UntagResourceRequest added in v1.25.42

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResource

func (*ApplicationInsights) UntagResourceWithContext added in v1.25.42

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

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

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

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

func (*ApplicationInsights) UpdateApplication added in v1.22.1

UpdateApplication API operation for Amazon CloudWatch Application Insights.

Updates the application.

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

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

Returned Error Types:

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

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication

func (*ApplicationInsights) UpdateApplicationRequest added in v1.22.1

func (c *ApplicationInsights) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication

func (*ApplicationInsights) UpdateApplicationWithContext added in v1.22.1

func (c *ApplicationInsights) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)

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

See UpdateApplication 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 (*ApplicationInsights) UpdateComponent

UpdateComponent API operation for Amazon CloudWatch Application Insights.

Updates the custom component name and/or the list of resources that make up the component.

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

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

Returned Error Types:

  • ResourceInUseException The resource is already created or in use.

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent

func (*ApplicationInsights) UpdateComponentConfiguration

UpdateComponentConfiguration API operation for Amazon CloudWatch Application Insights.

Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.

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

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

Returned Error Types:

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration

func (*ApplicationInsights) UpdateComponentConfigurationRequest

func (c *ApplicationInsights) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) (req *request.Request, output *UpdateComponentConfigurationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration

func (*ApplicationInsights) UpdateComponentConfigurationWithContext

func (c *ApplicationInsights) UpdateComponentConfigurationWithContext(ctx aws.Context, input *UpdateComponentConfigurationInput, opts ...request.Option) (*UpdateComponentConfigurationOutput, error)

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

See UpdateComponentConfiguration 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 (*ApplicationInsights) UpdateComponentRequest

func (c *ApplicationInsights) UpdateComponentRequest(input *UpdateComponentInput) (req *request.Request, output *UpdateComponentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent

func (*ApplicationInsights) UpdateComponentWithContext

func (c *ApplicationInsights) UpdateComponentWithContext(ctx aws.Context, input *UpdateComponentInput, opts ...request.Option) (*UpdateComponentOutput, error)

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

See UpdateComponent 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 (*ApplicationInsights) UpdateLogPattern added in v1.25.42

UpdateLogPattern API operation for Amazon CloudWatch Application Insights.

Adds a log pattern to a LogPatternSet.

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

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

Returned Error Types:

  • ResourceInUseException The resource is already created or in use.

  • ResourceNotFoundException The resource does not exist in the customer account.

  • ValidationException The parameter is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPattern

func (*ApplicationInsights) UpdateLogPatternRequest added in v1.25.42

func (c *ApplicationInsights) UpdateLogPatternRequest(input *UpdateLogPatternInput) (req *request.Request, output *UpdateLogPatternOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPattern

func (*ApplicationInsights) UpdateLogPatternWithContext added in v1.25.42

func (c *ApplicationInsights) UpdateLogPatternWithContext(ctx aws.Context, input *UpdateLogPatternInput, opts ...request.Option) (*UpdateLogPatternOutput, error)

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

See UpdateLogPattern 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 BadRequestException added in v1.28.0

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

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

The request is not understood by the server.

func (*BadRequestException) Code added in v1.28.0

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error added in v1.28.0

func (s *BadRequestException) Error() string

func (BadRequestException) GoString added in v1.28.0

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message added in v1.28.0

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr added in v1.28.0

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID added in v1.28.0

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode added in v1.28.0

func (s *BadRequestException) StatusCode() int

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

func (BadRequestException) String added in v1.28.0

func (s BadRequestException) String() string

String returns the string representation

type ConfigurationEvent added in v1.28.6

type ConfigurationEvent struct {

	// The details of the event in plain text.
	EventDetail *string `type:"string"`

	// The name of the resource Application Insights attempted to configure.
	EventResourceName *string `type:"string"`

	// The resource type that Application Insights attempted to configure, for example,
	// CLOUDWATCH_ALARM.
	EventResourceType *string `type:"string" enum:"ConfigurationEventResourceType"`

	// The status of the configuration update event. Possible values include INFO,
	// WARN, and ERROR.
	EventStatus *string `type:"string" enum:"ConfigurationEventStatus"`

	// The timestamp of the event.
	EventTime *time.Time `type:"timestamp"`

	// The resource monitored by Application Insights.
	MonitoredResourceARN *string `type:"string"`
	// contains filtered or unexported fields
}

The event information.

func (ConfigurationEvent) GoString added in v1.28.6

func (s ConfigurationEvent) GoString() string

GoString returns the string representation

func (*ConfigurationEvent) SetEventDetail added in v1.28.6

func (s *ConfigurationEvent) SetEventDetail(v string) *ConfigurationEvent

SetEventDetail sets the EventDetail field's value.

func (*ConfigurationEvent) SetEventResourceName added in v1.28.6

func (s *ConfigurationEvent) SetEventResourceName(v string) *ConfigurationEvent

SetEventResourceName sets the EventResourceName field's value.

func (*ConfigurationEvent) SetEventResourceType added in v1.28.6

func (s *ConfigurationEvent) SetEventResourceType(v string) *ConfigurationEvent

SetEventResourceType sets the EventResourceType field's value.

func (*ConfigurationEvent) SetEventStatus added in v1.28.6

func (s *ConfigurationEvent) SetEventStatus(v string) *ConfigurationEvent

SetEventStatus sets the EventStatus field's value.

func (*ConfigurationEvent) SetEventTime added in v1.28.6

func (s *ConfigurationEvent) SetEventTime(v time.Time) *ConfigurationEvent

SetEventTime sets the EventTime field's value.

func (*ConfigurationEvent) SetMonitoredResourceARN added in v1.28.6

func (s *ConfigurationEvent) SetMonitoredResourceARN(v string) *ConfigurationEvent

SetMonitoredResourceARN sets the MonitoredResourceARN field's value.

func (ConfigurationEvent) String added in v1.28.6

func (s ConfigurationEvent) String() string

String returns the string representation

type CreateApplicationInput

type CreateApplicationInput struct {

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

	// When set to true, creates opsItems for any problems detected on an application.
	OpsCenterEnabled *bool `type:"boolean"`

	// The SNS topic provided to Application Insights that is associated to the
	// created opsItem. Allows you to receive notifications for updates to the opsItem.
	OpsItemSNSTopicArn *string `min:"20" type:"string"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`

	// List of tags to add to the application. tag key (Key) and an associated tag
	// value (Value). The maximum length of a tag key is 128 characters. The maximum
	// length of a tag value is 256 characters.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateApplicationInput) GoString

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

func (*CreateApplicationInput) SetCWEMonitorEnabled added in v1.29.32

func (s *CreateApplicationInput) SetCWEMonitorEnabled(v bool) *CreateApplicationInput

SetCWEMonitorEnabled sets the CWEMonitorEnabled field's value.

func (*CreateApplicationInput) SetOpsCenterEnabled added in v1.22.1

func (s *CreateApplicationInput) SetOpsCenterEnabled(v bool) *CreateApplicationInput

SetOpsCenterEnabled sets the OpsCenterEnabled field's value.

func (*CreateApplicationInput) SetOpsItemSNSTopicArn added in v1.22.1

func (s *CreateApplicationInput) SetOpsItemSNSTopicArn(v string) *CreateApplicationInput

SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.

func (*CreateApplicationInput) SetResourceGroupName

func (s *CreateApplicationInput) SetResourceGroupName(v string) *CreateApplicationInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (*CreateApplicationInput) SetTags added in v1.25.42

SetTags sets the Tags field's value.

func (CreateApplicationInput) String

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate

func (s *CreateApplicationInput) Validate() error

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

type CreateApplicationOutput

type CreateApplicationOutput struct {

	// Information about the application.
	ApplicationInfo *ApplicationInfo `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateApplicationOutput) GoString

func (s CreateApplicationOutput) GoString() string

GoString returns the string representation

func (*CreateApplicationOutput) SetApplicationInfo

SetApplicationInfo sets the ApplicationInfo field's value.

func (CreateApplicationOutput) String

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateComponentInput

type CreateComponentInput struct {

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`

	// The list of resource ARNs that belong to the component.
	//
	// ResourceList is a required field
	ResourceList []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateComponentInput) GoString

func (s CreateComponentInput) GoString() string

GoString returns the string representation

func (*CreateComponentInput) SetComponentName

func (s *CreateComponentInput) SetComponentName(v string) *CreateComponentInput

SetComponentName sets the ComponentName field's value.

func (*CreateComponentInput) SetResourceGroupName

func (s *CreateComponentInput) SetResourceGroupName(v string) *CreateComponentInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (*CreateComponentInput) SetResourceList

func (s *CreateComponentInput) SetResourceList(v []*string) *CreateComponentInput

SetResourceList sets the ResourceList field's value.

func (CreateComponentInput) String

func (s CreateComponentInput) String() string

String returns the string representation

func (*CreateComponentInput) Validate

func (s *CreateComponentInput) Validate() error

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

type CreateComponentOutput

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

func (CreateComponentOutput) GoString

func (s CreateComponentOutput) GoString() string

GoString returns the string representation

func (CreateComponentOutput) String

func (s CreateComponentOutput) String() string

String returns the string representation

type CreateLogPatternInput added in v1.25.42

type CreateLogPatternInput struct {

	// The log pattern.
	//
	// Pattern is a required field
	Pattern *string `min:"1" type:"string" required:"true"`

	// The name of the log pattern.
	//
	// PatternName is a required field
	PatternName *string `min:"1" type:"string" required:"true"`

	// The name of the log pattern set.
	//
	// PatternSetName is a required field
	PatternSetName *string `min:"1" type:"string" required:"true"`

	// Rank of the log pattern.
	//
	// Rank is a required field
	Rank *int64 `type:"integer" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateLogPatternInput) GoString added in v1.25.42

func (s CreateLogPatternInput) GoString() string

GoString returns the string representation

func (*CreateLogPatternInput) SetPattern added in v1.25.42

SetPattern sets the Pattern field's value.

func (*CreateLogPatternInput) SetPatternName added in v1.25.42

func (s *CreateLogPatternInput) SetPatternName(v string) *CreateLogPatternInput

SetPatternName sets the PatternName field's value.

func (*CreateLogPatternInput) SetPatternSetName added in v1.25.42

func (s *CreateLogPatternInput) SetPatternSetName(v string) *CreateLogPatternInput

SetPatternSetName sets the PatternSetName field's value.

func (*CreateLogPatternInput) SetRank added in v1.25.42

SetRank sets the Rank field's value.

func (*CreateLogPatternInput) SetResourceGroupName added in v1.25.42

func (s *CreateLogPatternInput) SetResourceGroupName(v string) *CreateLogPatternInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (CreateLogPatternInput) String added in v1.25.42

func (s CreateLogPatternInput) String() string

String returns the string representation

func (*CreateLogPatternInput) Validate added in v1.25.42

func (s *CreateLogPatternInput) Validate() error

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

type CreateLogPatternOutput added in v1.25.42

type CreateLogPatternOutput struct {

	// The successfully created log pattern.
	LogPattern *LogPattern `type:"structure"`

	// The name of the resource group.
	ResourceGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateLogPatternOutput) GoString added in v1.25.42

func (s CreateLogPatternOutput) GoString() string

GoString returns the string representation

func (*CreateLogPatternOutput) SetLogPattern added in v1.25.42

SetLogPattern sets the LogPattern field's value.

func (*CreateLogPatternOutput) SetResourceGroupName added in v1.25.42

func (s *CreateLogPatternOutput) SetResourceGroupName(v string) *CreateLogPatternOutput

SetResourceGroupName sets the ResourceGroupName field's value.

func (CreateLogPatternOutput) String added in v1.25.42

func (s CreateLogPatternOutput) String() string

String returns the string representation

type DeleteApplicationInput

type DeleteApplicationInput struct {

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApplicationInput) GoString

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation

func (*DeleteApplicationInput) SetResourceGroupName

func (s *DeleteApplicationInput) SetResourceGroupName(v string) *DeleteApplicationInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DeleteApplicationInput) String

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput

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

func (DeleteApplicationOutput) GoString

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation

func (DeleteApplicationOutput) String

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteComponentInput

type DeleteComponentInput struct {

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteComponentInput) GoString

func (s DeleteComponentInput) GoString() string

GoString returns the string representation

func (*DeleteComponentInput) SetComponentName

func (s *DeleteComponentInput) SetComponentName(v string) *DeleteComponentInput

SetComponentName sets the ComponentName field's value.

func (*DeleteComponentInput) SetResourceGroupName

func (s *DeleteComponentInput) SetResourceGroupName(v string) *DeleteComponentInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DeleteComponentInput) String

func (s DeleteComponentInput) String() string

String returns the string representation

func (*DeleteComponentInput) Validate

func (s *DeleteComponentInput) Validate() error

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

type DeleteComponentOutput

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

func (DeleteComponentOutput) GoString

func (s DeleteComponentOutput) GoString() string

GoString returns the string representation

func (DeleteComponentOutput) String

func (s DeleteComponentOutput) String() string

String returns the string representation

type DeleteLogPatternInput added in v1.25.42

type DeleteLogPatternInput struct {

	// The name of the log pattern.
	//
	// PatternName is a required field
	PatternName *string `min:"1" type:"string" required:"true"`

	// The name of the log pattern set.
	//
	// PatternSetName is a required field
	PatternSetName *string `min:"1" type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLogPatternInput) GoString added in v1.25.42

func (s DeleteLogPatternInput) GoString() string

GoString returns the string representation

func (*DeleteLogPatternInput) SetPatternName added in v1.25.42

func (s *DeleteLogPatternInput) SetPatternName(v string) *DeleteLogPatternInput

SetPatternName sets the PatternName field's value.

func (*DeleteLogPatternInput) SetPatternSetName added in v1.25.42

func (s *DeleteLogPatternInput) SetPatternSetName(v string) *DeleteLogPatternInput

SetPatternSetName sets the PatternSetName field's value.

func (*DeleteLogPatternInput) SetResourceGroupName added in v1.25.42

func (s *DeleteLogPatternInput) SetResourceGroupName(v string) *DeleteLogPatternInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DeleteLogPatternInput) String added in v1.25.42

func (s DeleteLogPatternInput) String() string

String returns the string representation

func (*DeleteLogPatternInput) Validate added in v1.25.42

func (s *DeleteLogPatternInput) Validate() error

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

type DeleteLogPatternOutput added in v1.25.42

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

func (DeleteLogPatternOutput) GoString added in v1.25.42

func (s DeleteLogPatternOutput) GoString() string

GoString returns the string representation

func (DeleteLogPatternOutput) String added in v1.25.42

func (s DeleteLogPatternOutput) String() string

String returns the string representation

type DescribeApplicationInput

type DescribeApplicationInput struct {

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeApplicationInput) GoString

func (s DescribeApplicationInput) GoString() string

GoString returns the string representation

func (*DescribeApplicationInput) SetResourceGroupName

func (s *DescribeApplicationInput) SetResourceGroupName(v string) *DescribeApplicationInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeApplicationInput) String

func (s DescribeApplicationInput) String() string

String returns the string representation

func (*DescribeApplicationInput) Validate

func (s *DescribeApplicationInput) Validate() error

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

type DescribeApplicationOutput

type DescribeApplicationOutput struct {

	// Information about the application.
	ApplicationInfo *ApplicationInfo `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeApplicationOutput) GoString

func (s DescribeApplicationOutput) GoString() string

GoString returns the string representation

func (*DescribeApplicationOutput) SetApplicationInfo

SetApplicationInfo sets the ApplicationInfo field's value.

func (DescribeApplicationOutput) String

func (s DescribeApplicationOutput) String() string

String returns the string representation

type DescribeComponentConfigurationInput

type DescribeComponentConfigurationInput struct {

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeComponentConfigurationInput) GoString

GoString returns the string representation

func (*DescribeComponentConfigurationInput) SetComponentName

SetComponentName sets the ComponentName field's value.

func (*DescribeComponentConfigurationInput) SetResourceGroupName

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeComponentConfigurationInput) String

String returns the string representation

func (*DescribeComponentConfigurationInput) Validate

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

type DescribeComponentConfigurationOutput

type DescribeComponentConfigurationOutput struct {

	// The configuration settings of the component. The value is the escaped JSON
	// of the configuration.
	ComponentConfiguration *string `min:"1" type:"string"`

	// Indicates whether the application component is monitored.
	Monitor *bool `type:"boolean"`

	// The tier of the application component. Supported tiers include DOT_NET_CORE,
	// DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT
	Tier *string `min:"1" type:"string" enum:"Tier"`
	// contains filtered or unexported fields
}

func (DescribeComponentConfigurationOutput) GoString

GoString returns the string representation

func (*DescribeComponentConfigurationOutput) SetComponentConfiguration

SetComponentConfiguration sets the ComponentConfiguration field's value.

func (*DescribeComponentConfigurationOutput) SetMonitor

SetMonitor sets the Monitor field's value.

func (*DescribeComponentConfigurationOutput) SetTier

SetTier sets the Tier field's value.

func (DescribeComponentConfigurationOutput) String

String returns the string representation

type DescribeComponentConfigurationRecommendationInput

type DescribeComponentConfigurationRecommendationInput struct {

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`

	// The tier of the application component. Supported tiers include DOT_NET_CORE,
	// DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT.
	//
	// Tier is a required field
	Tier *string `min:"1" type:"string" required:"true" enum:"Tier"`
	// contains filtered or unexported fields
}

func (DescribeComponentConfigurationRecommendationInput) GoString

GoString returns the string representation

func (*DescribeComponentConfigurationRecommendationInput) SetComponentName

SetComponentName sets the ComponentName field's value.

func (*DescribeComponentConfigurationRecommendationInput) SetResourceGroupName

SetResourceGroupName sets the ResourceGroupName field's value.

func (*DescribeComponentConfigurationRecommendationInput) SetTier

SetTier sets the Tier field's value.

func (DescribeComponentConfigurationRecommendationInput) String

String returns the string representation

func (*DescribeComponentConfigurationRecommendationInput) Validate

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

type DescribeComponentConfigurationRecommendationOutput

type DescribeComponentConfigurationRecommendationOutput struct {

	// The recommended configuration settings of the component. The value is the
	// escaped JSON of the configuration.
	ComponentConfiguration *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeComponentConfigurationRecommendationOutput) GoString

GoString returns the string representation

func (*DescribeComponentConfigurationRecommendationOutput) SetComponentConfiguration

SetComponentConfiguration sets the ComponentConfiguration field's value.

func (DescribeComponentConfigurationRecommendationOutput) String

String returns the string representation

type DescribeComponentInput

type DescribeComponentInput struct {

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeComponentInput) GoString

func (s DescribeComponentInput) GoString() string

GoString returns the string representation

func (*DescribeComponentInput) SetComponentName

func (s *DescribeComponentInput) SetComponentName(v string) *DescribeComponentInput

SetComponentName sets the ComponentName field's value.

func (*DescribeComponentInput) SetResourceGroupName

func (s *DescribeComponentInput) SetResourceGroupName(v string) *DescribeComponentInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeComponentInput) String

func (s DescribeComponentInput) String() string

String returns the string representation

func (*DescribeComponentInput) Validate

func (s *DescribeComponentInput) Validate() error

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

type DescribeComponentOutput

type DescribeComponentOutput struct {

	// Describes a standalone resource or similarly grouped resources that the application
	// is made up of.
	ApplicationComponent *ApplicationComponent `type:"structure"`

	// The list of resource ARNs that belong to the component.
	ResourceList []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeComponentOutput) GoString

func (s DescribeComponentOutput) GoString() string

GoString returns the string representation

func (*DescribeComponentOutput) SetApplicationComponent

SetApplicationComponent sets the ApplicationComponent field's value.

func (*DescribeComponentOutput) SetResourceList

func (s *DescribeComponentOutput) SetResourceList(v []*string) *DescribeComponentOutput

SetResourceList sets the ResourceList field's value.

func (DescribeComponentOutput) String

func (s DescribeComponentOutput) String() string

String returns the string representation

type DescribeLogPatternInput added in v1.25.42

type DescribeLogPatternInput struct {

	// The name of the log pattern.
	//
	// PatternName is a required field
	PatternName *string `min:"1" type:"string" required:"true"`

	// The name of the log pattern set.
	//
	// PatternSetName is a required field
	PatternSetName *string `min:"1" type:"string" required:"true"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeLogPatternInput) GoString added in v1.25.42

func (s DescribeLogPatternInput) GoString() string

GoString returns the string representation

func (*DescribeLogPatternInput) SetPatternName added in v1.25.42

SetPatternName sets the PatternName field's value.

func (*DescribeLogPatternInput) SetPatternSetName added in v1.25.42

func (s *DescribeLogPatternInput) SetPatternSetName(v string) *DescribeLogPatternInput

SetPatternSetName sets the PatternSetName field's value.

func (*DescribeLogPatternInput) SetResourceGroupName added in v1.25.42

func (s *DescribeLogPatternInput) SetResourceGroupName(v string) *DescribeLogPatternInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeLogPatternInput) String added in v1.25.42

func (s DescribeLogPatternInput) String() string

String returns the string representation

func (*DescribeLogPatternInput) Validate added in v1.25.42

func (s *DescribeLogPatternInput) Validate() error

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

type DescribeLogPatternOutput added in v1.25.42

type DescribeLogPatternOutput struct {

	// The successfully created log pattern.
	LogPattern *LogPattern `type:"structure"`

	// The name of the resource group.
	ResourceGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeLogPatternOutput) GoString added in v1.25.42

func (s DescribeLogPatternOutput) GoString() string

GoString returns the string representation

func (*DescribeLogPatternOutput) SetLogPattern added in v1.25.42

SetLogPattern sets the LogPattern field's value.

func (*DescribeLogPatternOutput) SetResourceGroupName added in v1.25.42

func (s *DescribeLogPatternOutput) SetResourceGroupName(v string) *DescribeLogPatternOutput

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeLogPatternOutput) String added in v1.25.42

func (s DescribeLogPatternOutput) String() string

String returns the string representation

type DescribeObservationInput

type DescribeObservationInput struct {

	// The ID of the observation.
	//
	// ObservationId is a required field
	ObservationId *string `min:"38" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeObservationInput) GoString

func (s DescribeObservationInput) GoString() string

GoString returns the string representation

func (*DescribeObservationInput) SetObservationId

SetObservationId sets the ObservationId field's value.

func (DescribeObservationInput) String

func (s DescribeObservationInput) String() string

String returns the string representation

func (*DescribeObservationInput) Validate

func (s *DescribeObservationInput) Validate() error

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

type DescribeObservationOutput

type DescribeObservationOutput struct {

	// Information about the observation.
	Observation *Observation `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeObservationOutput) GoString

func (s DescribeObservationOutput) GoString() string

GoString returns the string representation

func (*DescribeObservationOutput) SetObservation

SetObservation sets the Observation field's value.

func (DescribeObservationOutput) String

func (s DescribeObservationOutput) String() string

String returns the string representation

type DescribeProblemInput

type DescribeProblemInput struct {

	// The ID of the problem.
	//
	// ProblemId is a required field
	ProblemId *string `min:"38" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeProblemInput) GoString

func (s DescribeProblemInput) GoString() string

GoString returns the string representation

func (*DescribeProblemInput) SetProblemId

func (s *DescribeProblemInput) SetProblemId(v string) *DescribeProblemInput

SetProblemId sets the ProblemId field's value.

func (DescribeProblemInput) String

func (s DescribeProblemInput) String() string

String returns the string representation

func (*DescribeProblemInput) Validate

func (s *DescribeProblemInput) Validate() error

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

type DescribeProblemObservationsInput

type DescribeProblemObservationsInput struct {

	// The ID of the problem.
	//
	// ProblemId is a required field
	ProblemId *string `min:"38" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeProblemObservationsInput) GoString

GoString returns the string representation

func (*DescribeProblemObservationsInput) SetProblemId

SetProblemId sets the ProblemId field's value.

func (DescribeProblemObservationsInput) String

String returns the string representation

func (*DescribeProblemObservationsInput) Validate

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

type DescribeProblemObservationsOutput

type DescribeProblemObservationsOutput struct {

	// Observations related to the problem.
	RelatedObservations *RelatedObservations `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeProblemObservationsOutput) GoString

GoString returns the string representation

func (*DescribeProblemObservationsOutput) SetRelatedObservations

SetRelatedObservations sets the RelatedObservations field's value.

func (DescribeProblemObservationsOutput) String

String returns the string representation

type DescribeProblemOutput

type DescribeProblemOutput struct {

	// Information about the problem.
	Problem *Problem `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeProblemOutput) GoString

func (s DescribeProblemOutput) GoString() string

GoString returns the string representation

func (*DescribeProblemOutput) SetProblem

SetProblem sets the Problem field's value.

func (DescribeProblemOutput) String

func (s DescribeProblemOutput) String() string

String returns the string representation

type InternalServerException added in v1.28.0

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

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

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

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation

type ListApplicationsInput

type ListApplicationsInput struct {

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

	// The token to request the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsInput) GoString

func (s ListApplicationsInput) GoString() string

GoString returns the string representation

func (*ListApplicationsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListApplicationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListApplicationsInput) String

func (s ListApplicationsInput) String() string

String returns the string representation

func (*ListApplicationsInput) Validate

func (s *ListApplicationsInput) Validate() error

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

type ListApplicationsOutput

type ListApplicationsOutput struct {

	// The list of applications.
	ApplicationInfoList []*ApplicationInfo `type:"list"`

	// The token used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsOutput) GoString

func (s ListApplicationsOutput) GoString() string

GoString returns the string representation

func (*ListApplicationsOutput) SetApplicationInfoList

func (s *ListApplicationsOutput) SetApplicationInfoList(v []*ApplicationInfo) *ListApplicationsOutput

SetApplicationInfoList sets the ApplicationInfoList field's value.

func (*ListApplicationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListApplicationsOutput) String

func (s ListApplicationsOutput) String() string

String returns the string representation

type ListComponentsInput

type ListComponentsInput struct {

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

	// The token to request the next page of results.
	NextToken *string `type:"string"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListComponentsInput) GoString

func (s ListComponentsInput) GoString() string

GoString returns the string representation

func (*ListComponentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListComponentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListComponentsInput) SetResourceGroupName

func (s *ListComponentsInput) SetResourceGroupName(v string) *ListComponentsInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (ListComponentsInput) String

func (s ListComponentsInput) String() string

String returns the string representation

func (*ListComponentsInput) Validate

func (s *ListComponentsInput) Validate() error

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

type ListComponentsOutput

type ListComponentsOutput struct {

	// The list of application components.
	ApplicationComponentList []*ApplicationComponent `type:"list"`

	// The token to request the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListComponentsOutput) GoString

func (s ListComponentsOutput) GoString() string

GoString returns the string representation

func (*ListComponentsOutput) SetApplicationComponentList

func (s *ListComponentsOutput) SetApplicationComponentList(v []*ApplicationComponent) *ListComponentsOutput

SetApplicationComponentList sets the ApplicationComponentList field's value.

func (*ListComponentsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListComponentsOutput) String

func (s ListComponentsOutput) String() string

String returns the string representation

type ListConfigurationHistoryInput added in v1.28.6

type ListConfigurationHistoryInput struct {

	// The end time of the event.
	EndTime *time.Time `type:"timestamp"`

	// The status of the configuration update event. Possible values include INFO,
	// WARN, and ERROR.
	EventStatus *string `type:"string" enum:"ConfigurationEventStatus"`

	// The maximum number of results returned by ListConfigurationHistory in paginated
	// output. When this parameter is used, ListConfigurationHistory returns only
	// MaxResults in a single page along with a NextToken response element. The
	// remaining results of the initial request can be seen by sending another ListConfigurationHistory
	// request with the returned NextToken value. If this parameter is not used,
	// then ListConfigurationHistory returns all results.
	MaxResults *int64 `min:"1" type:"integer"`

	// The NextToken value returned from a previous paginated ListConfigurationHistory
	// request where MaxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the NextToken value. This value is null when there are no more results
	// to return.
	NextToken *string `type:"string"`

	// Resource group to which the application belongs.
	ResourceGroupName *string `min:"1" type:"string"`

	// The start time of the event.
	StartTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (ListConfigurationHistoryInput) GoString added in v1.28.6

GoString returns the string representation

func (*ListConfigurationHistoryInput) SetEndTime added in v1.28.6

SetEndTime sets the EndTime field's value.

func (*ListConfigurationHistoryInput) SetEventStatus added in v1.28.6

SetEventStatus sets the EventStatus field's value.

func (*ListConfigurationHistoryInput) SetMaxResults added in v1.28.6

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationHistoryInput) SetNextToken added in v1.28.6

SetNextToken sets the NextToken field's value.

func (*ListConfigurationHistoryInput) SetResourceGroupName added in v1.28.6

SetResourceGroupName sets the ResourceGroupName field's value.

func (*ListConfigurationHistoryInput) SetStartTime added in v1.28.6

SetStartTime sets the StartTime field's value.

func (ListConfigurationHistoryInput) String added in v1.28.6

String returns the string representation

func (*ListConfigurationHistoryInput) Validate added in v1.28.6

func (s *ListConfigurationHistoryInput) Validate() error

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

type ListConfigurationHistoryOutput added in v1.28.6

type ListConfigurationHistoryOutput struct {

	// The list of configuration events and their corresponding details.
	EventList []*ConfigurationEvent `type:"list"`

	// The NextToken value to include in a future ListConfigurationHistory request.
	// When the results of a ListConfigurationHistory request exceed MaxResults,
	// this value can be used to retrieve the next page of results. This value is
	// null when there are no more results to return.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationHistoryOutput) GoString added in v1.28.6

GoString returns the string representation

func (*ListConfigurationHistoryOutput) SetEventList added in v1.28.6

SetEventList sets the EventList field's value.

func (*ListConfigurationHistoryOutput) SetNextToken added in v1.28.6

SetNextToken sets the NextToken field's value.

func (ListConfigurationHistoryOutput) String added in v1.28.6

String returns the string representation

type ListLogPatternSetsInput added in v1.25.42

type ListLogPatternSetsInput struct {

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

	// The token to request the next page of results.
	NextToken *string `type:"string"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListLogPatternSetsInput) GoString added in v1.25.42

func (s ListLogPatternSetsInput) GoString() string

GoString returns the string representation

func (*ListLogPatternSetsInput) SetMaxResults added in v1.25.42

SetMaxResults sets the MaxResults field's value.

func (*ListLogPatternSetsInput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListLogPatternSetsInput) SetResourceGroupName added in v1.25.42

func (s *ListLogPatternSetsInput) SetResourceGroupName(v string) *ListLogPatternSetsInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (ListLogPatternSetsInput) String added in v1.25.42

func (s ListLogPatternSetsInput) String() string

String returns the string representation

func (*ListLogPatternSetsInput) Validate added in v1.25.42

func (s *ListLogPatternSetsInput) Validate() error

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

type ListLogPatternSetsOutput added in v1.25.42

type ListLogPatternSetsOutput struct {

	// The list of log pattern sets.
	LogPatternSets []*string `type:"list"`

	// The token used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string `type:"string"`

	// The name of the resource group.
	ResourceGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListLogPatternSetsOutput) GoString added in v1.25.42

func (s ListLogPatternSetsOutput) GoString() string

GoString returns the string representation

func (*ListLogPatternSetsOutput) SetLogPatternSets added in v1.25.42

func (s *ListLogPatternSetsOutput) SetLogPatternSets(v []*string) *ListLogPatternSetsOutput

SetLogPatternSets sets the LogPatternSets field's value.

func (*ListLogPatternSetsOutput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListLogPatternSetsOutput) SetResourceGroupName added in v1.25.42

func (s *ListLogPatternSetsOutput) SetResourceGroupName(v string) *ListLogPatternSetsOutput

SetResourceGroupName sets the ResourceGroupName field's value.

func (ListLogPatternSetsOutput) String added in v1.25.42

func (s ListLogPatternSetsOutput) String() string

String returns the string representation

type ListLogPatternsInput added in v1.25.42

type ListLogPatternsInput struct {

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

	// The token to request the next page of results.
	NextToken *string `type:"string"`

	// The name of the log pattern set.
	PatternSetName *string `min:"1" type:"string"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListLogPatternsInput) GoString added in v1.25.42

func (s ListLogPatternsInput) GoString() string

GoString returns the string representation

func (*ListLogPatternsInput) SetMaxResults added in v1.25.42

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

SetMaxResults sets the MaxResults field's value.

func (*ListLogPatternsInput) SetNextToken added in v1.25.42

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

SetNextToken sets the NextToken field's value.

func (*ListLogPatternsInput) SetPatternSetName added in v1.25.42

func (s *ListLogPatternsInput) SetPatternSetName(v string) *ListLogPatternsInput

SetPatternSetName sets the PatternSetName field's value.

func (*ListLogPatternsInput) SetResourceGroupName added in v1.25.42

func (s *ListLogPatternsInput) SetResourceGroupName(v string) *ListLogPatternsInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (ListLogPatternsInput) String added in v1.25.42

func (s ListLogPatternsInput) String() string

String returns the string representation

func (*ListLogPatternsInput) Validate added in v1.25.42

func (s *ListLogPatternsInput) Validate() error

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

type ListLogPatternsOutput added in v1.25.42

type ListLogPatternsOutput struct {

	// The list of log patterns.
	LogPatterns []*LogPattern `type:"list"`

	// The token used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string `type:"string"`

	// The name of the resource group.
	ResourceGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListLogPatternsOutput) GoString added in v1.25.42

func (s ListLogPatternsOutput) GoString() string

GoString returns the string representation

func (*ListLogPatternsOutput) SetLogPatterns added in v1.25.42

func (s *ListLogPatternsOutput) SetLogPatterns(v []*LogPattern) *ListLogPatternsOutput

SetLogPatterns sets the LogPatterns field's value.

func (*ListLogPatternsOutput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListLogPatternsOutput) SetResourceGroupName added in v1.25.42

func (s *ListLogPatternsOutput) SetResourceGroupName(v string) *ListLogPatternsOutput

SetResourceGroupName sets the ResourceGroupName field's value.

func (ListLogPatternsOutput) String added in v1.25.42

func (s ListLogPatternsOutput) String() string

String returns the string representation

type ListProblemsInput

type ListProblemsInput struct {

	// The time when the problem ended, in epoch seconds. If not specified, problems
	// within the past seven days are returned.
	EndTime *time.Time `type:"timestamp"`

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

	// The token to request the next page of results.
	NextToken *string `type:"string"`

	// The name of the resource group.
	ResourceGroupName *string `min:"1" type:"string"`

	// The time when the problem was detected, in epoch seconds. If you don't specify
	// a time frame for the request, problems within the past seven days are returned.
	StartTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (ListProblemsInput) GoString

func (s ListProblemsInput) GoString() string

GoString returns the string representation

func (*ListProblemsInput) SetEndTime

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

SetEndTime sets the EndTime field's value.

func (*ListProblemsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListProblemsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProblemsInput) SetResourceGroupName

func (s *ListProblemsInput) SetResourceGroupName(v string) *ListProblemsInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (*ListProblemsInput) SetStartTime

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

SetStartTime sets the StartTime field's value.

func (ListProblemsInput) String

func (s ListProblemsInput) String() string

String returns the string representation

func (*ListProblemsInput) Validate

func (s *ListProblemsInput) Validate() error

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

type ListProblemsOutput

type ListProblemsOutput struct {

	// The token used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string `type:"string"`

	// The list of problems.
	ProblemList []*Problem `type:"list"`
	// contains filtered or unexported fields
}

func (ListProblemsOutput) GoString

func (s ListProblemsOutput) GoString() string

GoString returns the string representation

func (*ListProblemsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProblemsOutput) SetProblemList

func (s *ListProblemsOutput) SetProblemList(v []*Problem) *ListProblemsOutput

SetProblemList sets the ProblemList field's value.

func (ListProblemsOutput) String

func (s ListProblemsOutput) String() string

String returns the string representation

type ListTagsForResourceInput added in v1.25.42

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the application that you want to retrieve
	// tag information for.
	//
	// ResourceARN is a required field
	ResourceARN *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.25.42

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceARN added in v1.25.42

SetResourceARN sets the ResourceARN field's value.

func (ListTagsForResourceInput) String added in v1.25.42

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.25.42

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.25.42

type ListTagsForResourceOutput struct {

	// An array that lists all the tags that are associated with the application.
	// Each tag consists of a required tag key (Key) and an associated tag value
	// (Value).
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.25.42

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags added in v1.25.42

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.25.42

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type LogPattern added in v1.25.42

type LogPattern struct {

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

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

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

	// Rank of the log pattern.
	Rank *int64 `type:"integer"`
	// contains filtered or unexported fields
}

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

func (LogPattern) GoString added in v1.25.42

func (s LogPattern) GoString() string

GoString returns the string representation

func (*LogPattern) SetPattern added in v1.25.42

func (s *LogPattern) SetPattern(v string) *LogPattern

SetPattern sets the Pattern field's value.

func (*LogPattern) SetPatternName added in v1.25.42

func (s *LogPattern) SetPatternName(v string) *LogPattern

SetPatternName sets the PatternName field's value.

func (*LogPattern) SetPatternSetName added in v1.25.42

func (s *LogPattern) SetPatternSetName(v string) *LogPattern

SetPatternSetName sets the PatternSetName field's value.

func (*LogPattern) SetRank added in v1.25.42

func (s *LogPattern) SetRank(v int64) *LogPattern

SetRank sets the Rank field's value.

func (LogPattern) String added in v1.25.42

func (s LogPattern) String() string

String returns the string representation

type Observation

type Observation struct {

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

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

	// The source of the CloudWatch Event.
	CloudWatchEventSource *string `type:"string" enum:"CloudWatchEventSource"`

	// The CodeDeploy application to which the deployment belongs.
	CodeDeployApplication *string `type:"string"`

	// The deployment group to which the CodeDeploy deployment belongs.
	CodeDeployDeploymentGroup *string `type:"string"`

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

	// The instance group to which the CodeDeploy instance belongs.
	CodeDeployInstanceGroupId *string `type:"string"`

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

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

	// The time when the observation ended, in epoch seconds.
	EndTime *time.Time `type:"timestamp"`

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

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

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

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

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

	// The ID of the observation type.
	Id *string `min:"38" type:"string"`

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

	// The log filter of the observation.
	LogFilter *string `type:"string" enum:"LogFilter"`

	// The log group name.
	LogGroup *string `type:"string"`

	// The log text of the observation.
	LogText *string `type:"string"`

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

	// The namespace of the observation metric.
	MetricNamespace *string `type:"string"`

	// The source resource ARN of the observation.
	SourceARN *string `type:"string"`

	// The source type of the observation.
	SourceType *string `type:"string"`

	// The time when the observation was first detected, in epoch seconds.
	StartTime *time.Time `type:"timestamp"`

	// The unit of the source observation metric.
	Unit *string `type:"string"`

	// The value of the source observation metric.
	Value *float64 `type:"double"`

	// The X-Ray request error percentage for this node.
	XRayErrorPercent *int64 `type:"integer"`

	// The X-Ray request fault percentage for this node.
	XRayFaultPercent *int64 `type:"integer"`

	// The name of the X-Ray node.
	XRayNodeName *string `type:"string"`

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

	// The X-Ray node request average latency for this node.
	XRayRequestAverageLatency *int64 `type:"long"`

	// The X-Ray request count for this node.
	XRayRequestCount *int64 `type:"integer"`

	// The X-Ray request throttle percentage for this node.
	XRayThrottlePercent *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Describes an anomaly or error with the application.

func (Observation) GoString

func (s Observation) GoString() string

GoString returns the string representation

func (*Observation) SetCloudWatchEventDetailType added in v1.29.32

func (s *Observation) SetCloudWatchEventDetailType(v string) *Observation

SetCloudWatchEventDetailType sets the CloudWatchEventDetailType field's value.

func (*Observation) SetCloudWatchEventId added in v1.29.32

func (s *Observation) SetCloudWatchEventId(v string) *Observation

SetCloudWatchEventId sets the CloudWatchEventId field's value.

func (*Observation) SetCloudWatchEventSource added in v1.29.32

func (s *Observation) SetCloudWatchEventSource(v string) *Observation

SetCloudWatchEventSource sets the CloudWatchEventSource field's value.

func (*Observation) SetCodeDeployApplication added in v1.29.32

func (s *Observation) SetCodeDeployApplication(v string) *Observation

SetCodeDeployApplication sets the CodeDeployApplication field's value.

func (*Observation) SetCodeDeployDeploymentGroup added in v1.29.32

func (s *Observation) SetCodeDeployDeploymentGroup(v string) *Observation

SetCodeDeployDeploymentGroup sets the CodeDeployDeploymentGroup field's value.

func (*Observation) SetCodeDeployDeploymentId added in v1.29.32

func (s *Observation) SetCodeDeployDeploymentId(v string) *Observation

SetCodeDeployDeploymentId sets the CodeDeployDeploymentId field's value.

func (*Observation) SetCodeDeployInstanceGroupId added in v1.29.32

func (s *Observation) SetCodeDeployInstanceGroupId(v string) *Observation

SetCodeDeployInstanceGroupId sets the CodeDeployInstanceGroupId field's value.

func (*Observation) SetCodeDeployState added in v1.29.32

func (s *Observation) SetCodeDeployState(v string) *Observation

SetCodeDeployState sets the CodeDeployState field's value.

func (*Observation) SetEc2State added in v1.29.32

func (s *Observation) SetEc2State(v string) *Observation

SetEc2State sets the Ec2State field's value.

func (*Observation) SetEndTime

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

SetEndTime sets the EndTime field's value.

func (*Observation) SetHealthEventArn added in v1.29.32

func (s *Observation) SetHealthEventArn(v string) *Observation

SetHealthEventArn sets the HealthEventArn field's value.

func (*Observation) SetHealthEventDescription added in v1.29.32

func (s *Observation) SetHealthEventDescription(v string) *Observation

SetHealthEventDescription sets the HealthEventDescription field's value.

func (*Observation) SetHealthEventTypeCategory added in v1.29.32

func (s *Observation) SetHealthEventTypeCategory(v string) *Observation

SetHealthEventTypeCategory sets the HealthEventTypeCategory field's value.

func (*Observation) SetHealthEventTypeCode added in v1.29.32

func (s *Observation) SetHealthEventTypeCode(v string) *Observation

SetHealthEventTypeCode sets the HealthEventTypeCode field's value.

func (*Observation) SetHealthService added in v1.29.32

func (s *Observation) SetHealthService(v string) *Observation

SetHealthService sets the HealthService field's value.

func (*Observation) SetId

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

SetId sets the Id field's value.

func (*Observation) SetLineTime

func (s *Observation) SetLineTime(v time.Time) *Observation

SetLineTime sets the LineTime field's value.

func (*Observation) SetLogFilter

func (s *Observation) SetLogFilter(v string) *Observation

SetLogFilter sets the LogFilter field's value.

func (*Observation) SetLogGroup

func (s *Observation) SetLogGroup(v string) *Observation

SetLogGroup sets the LogGroup field's value.

func (*Observation) SetLogText

func (s *Observation) SetLogText(v string) *Observation

SetLogText sets the LogText field's value.

func (*Observation) SetMetricName

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

SetMetricName sets the MetricName field's value.

func (*Observation) SetMetricNamespace

func (s *Observation) SetMetricNamespace(v string) *Observation

SetMetricNamespace sets the MetricNamespace field's value.

func (*Observation) SetSourceARN

func (s *Observation) SetSourceARN(v string) *Observation

SetSourceARN sets the SourceARN field's value.

func (*Observation) SetSourceType

func (s *Observation) SetSourceType(v string) *Observation

SetSourceType sets the SourceType field's value.

func (*Observation) SetStartTime

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

SetStartTime sets the StartTime field's value.

func (*Observation) SetUnit

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

SetUnit sets the Unit field's value.

func (*Observation) SetValue

func (s *Observation) SetValue(v float64) *Observation

SetValue sets the Value field's value.

func (*Observation) SetXRayErrorPercent added in v1.29.32

func (s *Observation) SetXRayErrorPercent(v int64) *Observation

SetXRayErrorPercent sets the XRayErrorPercent field's value.

func (*Observation) SetXRayFaultPercent added in v1.29.32

func (s *Observation) SetXRayFaultPercent(v int64) *Observation

SetXRayFaultPercent sets the XRayFaultPercent field's value.

func (*Observation) SetXRayNodeName added in v1.29.32

func (s *Observation) SetXRayNodeName(v string) *Observation

SetXRayNodeName sets the XRayNodeName field's value.

func (*Observation) SetXRayNodeType added in v1.29.32

func (s *Observation) SetXRayNodeType(v string) *Observation

SetXRayNodeType sets the XRayNodeType field's value.

func (*Observation) SetXRayRequestAverageLatency added in v1.29.32

func (s *Observation) SetXRayRequestAverageLatency(v int64) *Observation

SetXRayRequestAverageLatency sets the XRayRequestAverageLatency field's value.

func (*Observation) SetXRayRequestCount added in v1.29.32

func (s *Observation) SetXRayRequestCount(v int64) *Observation

SetXRayRequestCount sets the XRayRequestCount field's value.

func (*Observation) SetXRayThrottlePercent added in v1.29.32

func (s *Observation) SetXRayThrottlePercent(v int64) *Observation

SetXRayThrottlePercent sets the XRayThrottlePercent field's value.

func (Observation) String

func (s Observation) String() string

String returns the string representation

type Problem

type Problem struct {

	// The resource affected by the problem.
	AffectedResource *string `type:"string"`

	// The time when the problem ended, in epoch seconds.
	EndTime *time.Time `type:"timestamp"`

	// Feedback provided by the user about the problem.
	Feedback map[string]*string `type:"map"`

	// The ID of the problem.
	Id *string `min:"38" type:"string"`

	// A detailed analysis of the problem using machine learning.
	Insights *string `type:"string"`

	// The name of the resource group affected by the problem.
	ResourceGroupName *string `min:"1" type:"string"`

	// A measure of the level of impact of the problem.
	SeverityLevel *string `type:"string" enum:"SeverityLevel"`

	// The time when the problem started, in epoch seconds.
	StartTime *time.Time `type:"timestamp"`

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

	// The name of the problem.
	Title *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a problem that is detected by correlating observations.

func (Problem) GoString

func (s Problem) GoString() string

GoString returns the string representation

func (*Problem) SetAffectedResource

func (s *Problem) SetAffectedResource(v string) *Problem

SetAffectedResource sets the AffectedResource field's value.

func (*Problem) SetEndTime

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

SetEndTime sets the EndTime field's value.

func (*Problem) SetFeedback

func (s *Problem) SetFeedback(v map[string]*string) *Problem

SetFeedback sets the Feedback field's value.

func (*Problem) SetId

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

SetId sets the Id field's value.

func (*Problem) SetInsights

func (s *Problem) SetInsights(v string) *Problem

SetInsights sets the Insights field's value.

func (*Problem) SetResourceGroupName

func (s *Problem) SetResourceGroupName(v string) *Problem

SetResourceGroupName sets the ResourceGroupName field's value.

func (*Problem) SetSeverityLevel

func (s *Problem) SetSeverityLevel(v string) *Problem

SetSeverityLevel sets the SeverityLevel field's value.

func (*Problem) SetStartTime

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

SetStartTime sets the StartTime field's value.

func (*Problem) SetStatus

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

SetStatus sets the Status field's value.

func (*Problem) SetTitle

func (s *Problem) SetTitle(v string) *Problem

SetTitle sets the Title field's value.

func (Problem) String

func (s Problem) String() string

String returns the string representation

type RelatedObservations

type RelatedObservations struct {

	// The list of observations related to the problem.
	ObservationList []*Observation `type:"list"`
	// contains filtered or unexported fields
}

Describes observations related to the problem.

func (RelatedObservations) GoString

func (s RelatedObservations) GoString() string

GoString returns the string representation

func (*RelatedObservations) SetObservationList

func (s *RelatedObservations) SetObservationList(v []*Observation) *RelatedObservations

SetObservationList sets the ObservationList field's value.

func (RelatedObservations) String

func (s RelatedObservations) String() string

String returns the string representation

type ResourceInUseException added in v1.28.0

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

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

The resource is already created or in use.

func (*ResourceInUseException) Code added in v1.28.0

func (s *ResourceInUseException) Code() string

Code returns the exception type name.

func (*ResourceInUseException) Error added in v1.28.0

func (s *ResourceInUseException) Error() string

func (ResourceInUseException) GoString added in v1.28.0

func (s ResourceInUseException) GoString() string

GoString returns the string representation

func (*ResourceInUseException) Message added in v1.28.0

func (s *ResourceInUseException) Message() string

Message returns the exception's message.

func (*ResourceInUseException) OrigErr added in v1.28.0

func (s *ResourceInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceInUseException) RequestID added in v1.28.0

func (s *ResourceInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceInUseException) StatusCode added in v1.28.0

func (s *ResourceInUseException) StatusCode() int

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

func (ResourceInUseException) String added in v1.28.0

func (s ResourceInUseException) String() string

String returns the string representation

type ResourceNotFoundException added in v1.28.0

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

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

The resource does not exist in the customer account.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type Tag added in v1.25.42

type Tag struct {

	// One part of a key-value pair that defines a tag. The maximum length of a
	// tag key is 128 characters. The minimum length is 1 character.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The optional part of a key-value pair that defines a tag. The maximum length
	// of a tag value is 256 characters. The minimum length is 0 characters. If
	// you don't want an application to have a specific tag value, don't specify
	// a value for this parameter.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines the tags associated with an application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

  • Tag keys and values are case sensitive.

  • For each associated resource, each tag key must be unique and it can have only one value.

  • The aws: prefix is reserved for use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix.

func (Tag) GoString added in v1.25.42

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey added in v1.25.42

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

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.25.42

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

SetValue sets the Value field's value.

func (Tag) String added in v1.25.42

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate added in v1.25.42

func (s *Tag) Validate() error

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

type TagResourceInput added in v1.25.42

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the application that you want to add one
	// or more tags to.
	//
	// ResourceARN is a required field
	ResourceARN *string `min:"1" type:"string" required:"true"`

	// A list of tags that to add to the application. A tag consists of a required
	// tag key (Key) and an associated tag value (Value). The maximum length of
	// a tag key is 128 characters. The maximum length of a tag value is 256 characters.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.25.42

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceARN added in v1.25.42

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

SetResourceARN sets the ResourceARN field's value.

func (*TagResourceInput) SetTags added in v1.25.42

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

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.25.42

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.25.42

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.25.42

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

func (TagResourceOutput) GoString added in v1.25.42

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.25.42

func (s TagResourceOutput) String() string

String returns the string representation

type TagsAlreadyExistException added in v1.28.0

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

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

Tags are already registered for the specified application ARN.

func (*TagsAlreadyExistException) Code added in v1.28.0

Code returns the exception type name.

func (*TagsAlreadyExistException) Error added in v1.28.0

func (s *TagsAlreadyExistException) Error() string

func (TagsAlreadyExistException) GoString added in v1.28.0

func (s TagsAlreadyExistException) GoString() string

GoString returns the string representation

func (*TagsAlreadyExistException) Message added in v1.28.0

func (s *TagsAlreadyExistException) Message() string

Message returns the exception's message.

func (*TagsAlreadyExistException) OrigErr added in v1.28.0

func (s *TagsAlreadyExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagsAlreadyExistException) RequestID added in v1.28.0

func (s *TagsAlreadyExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagsAlreadyExistException) StatusCode added in v1.28.0

func (s *TagsAlreadyExistException) StatusCode() int

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

func (TagsAlreadyExistException) String added in v1.28.0

func (s TagsAlreadyExistException) String() string

String returns the string representation

type TooManyTagsException added in v1.28.0

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

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

	// The name of the resource with too many tags.
	ResourceName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (*TooManyTagsException) Code added in v1.28.0

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error added in v1.28.0

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString added in v1.28.0

func (s TooManyTagsException) GoString() string

GoString returns the string representation

func (*TooManyTagsException) Message added in v1.28.0

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr added in v1.28.0

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID added in v1.28.0

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode added in v1.28.0

func (s *TooManyTagsException) StatusCode() int

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

func (TooManyTagsException) String added in v1.28.0

func (s TooManyTagsException) String() string

String returns the string representation

type UntagResourceInput added in v1.25.42

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the application that you want to remove
	// one or more tags from.
	//
	// ResourceARN is a required field
	ResourceARN *string `min:"1" type:"string" required:"true"`

	// The tags (tag keys) that you want to remove from the resource. When you specify
	// a tag key, the action removes both that key and its associated tag value.
	//
	// To remove more than one tag from the application, append the TagKeys parameter
	// and argument for each additional tag to remove, separated by an ampersand.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.25.42

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceARN added in v1.25.42

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

SetResourceARN sets the ResourceARN field's value.

func (*UntagResourceInput) SetTagKeys added in v1.25.42

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.25.42

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.25.42

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.25.42

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

func (UntagResourceOutput) GoString added in v1.25.42

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.25.42

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateApplicationInput added in v1.22.1

type UpdateApplicationInput struct {

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

	// When set to true, creates opsItems for any problems detected on an application.
	OpsCenterEnabled *bool `type:"boolean"`

	// The SNS topic provided to Application Insights that is associated to the
	// created opsItem. Allows you to receive notifications for updates to the opsItem.
	OpsItemSNSTopicArn *string `min:"20" type:"string"`

	// Disassociates the SNS topic from the opsItem created for detected problems.
	RemoveSNSTopic *bool `type:"boolean"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApplicationInput) GoString added in v1.22.1

func (s UpdateApplicationInput) GoString() string

GoString returns the string representation

func (*UpdateApplicationInput) SetCWEMonitorEnabled added in v1.29.32

func (s *UpdateApplicationInput) SetCWEMonitorEnabled(v bool) *UpdateApplicationInput

SetCWEMonitorEnabled sets the CWEMonitorEnabled field's value.

func (*UpdateApplicationInput) SetOpsCenterEnabled added in v1.22.1

func (s *UpdateApplicationInput) SetOpsCenterEnabled(v bool) *UpdateApplicationInput

SetOpsCenterEnabled sets the OpsCenterEnabled field's value.

func (*UpdateApplicationInput) SetOpsItemSNSTopicArn added in v1.22.1

func (s *UpdateApplicationInput) SetOpsItemSNSTopicArn(v string) *UpdateApplicationInput

SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.

func (*UpdateApplicationInput) SetRemoveSNSTopic added in v1.22.1

func (s *UpdateApplicationInput) SetRemoveSNSTopic(v bool) *UpdateApplicationInput

SetRemoveSNSTopic sets the RemoveSNSTopic field's value.

func (*UpdateApplicationInput) SetResourceGroupName added in v1.22.1

func (s *UpdateApplicationInput) SetResourceGroupName(v string) *UpdateApplicationInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (UpdateApplicationInput) String added in v1.22.1

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate added in v1.22.1

func (s *UpdateApplicationInput) Validate() error

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

type UpdateApplicationOutput added in v1.22.1

type UpdateApplicationOutput struct {

	// Information about the application.
	ApplicationInfo *ApplicationInfo `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateApplicationOutput) GoString added in v1.22.1

func (s UpdateApplicationOutput) GoString() string

GoString returns the string representation

func (*UpdateApplicationOutput) SetApplicationInfo added in v1.22.1

SetApplicationInfo sets the ApplicationInfo field's value.

func (UpdateApplicationOutput) String added in v1.22.1

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateComponentConfigurationInput

type UpdateComponentConfigurationInput struct {

	// The configuration settings of the component. The value is the escaped JSON
	// of the configuration. For more information about the JSON format, see Working
	// with JSON (https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html).
	// You can send a request to DescribeComponentConfigurationRecommendation to
	// see the recommended configuration for a component. For the complete format
	// of the component configuration file, see Component Configuration (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html).
	ComponentConfiguration *string `min:"1" type:"string"`

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// Indicates whether the application component is monitored.
	Monitor *bool `type:"boolean"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`

	// The tier of the application component. Supported tiers include DOT_NET_WORKER,
	// DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT.
	Tier *string `min:"1" type:"string" enum:"Tier"`
	// contains filtered or unexported fields
}

func (UpdateComponentConfigurationInput) GoString

GoString returns the string representation

func (*UpdateComponentConfigurationInput) SetComponentConfiguration

SetComponentConfiguration sets the ComponentConfiguration field's value.

func (*UpdateComponentConfigurationInput) SetComponentName

SetComponentName sets the ComponentName field's value.

func (*UpdateComponentConfigurationInput) SetMonitor

SetMonitor sets the Monitor field's value.

func (*UpdateComponentConfigurationInput) SetResourceGroupName

SetResourceGroupName sets the ResourceGroupName field's value.

func (*UpdateComponentConfigurationInput) SetTier

SetTier sets the Tier field's value.

func (UpdateComponentConfigurationInput) String

String returns the string representation

func (*UpdateComponentConfigurationInput) Validate

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

type UpdateComponentConfigurationOutput

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

func (UpdateComponentConfigurationOutput) GoString

GoString returns the string representation

func (UpdateComponentConfigurationOutput) String

String returns the string representation

type UpdateComponentInput

type UpdateComponentInput struct {

	// The name of the component.
	//
	// ComponentName is a required field
	ComponentName *string `type:"string" required:"true"`

	// The new name of the component.
	NewComponentName *string `type:"string"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`

	// The list of resource ARNs that belong to the component.
	ResourceList []*string `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateComponentInput) GoString

func (s UpdateComponentInput) GoString() string

GoString returns the string representation

func (*UpdateComponentInput) SetComponentName

func (s *UpdateComponentInput) SetComponentName(v string) *UpdateComponentInput

SetComponentName sets the ComponentName field's value.

func (*UpdateComponentInput) SetNewComponentName

func (s *UpdateComponentInput) SetNewComponentName(v string) *UpdateComponentInput

SetNewComponentName sets the NewComponentName field's value.

func (*UpdateComponentInput) SetResourceGroupName

func (s *UpdateComponentInput) SetResourceGroupName(v string) *UpdateComponentInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (*UpdateComponentInput) SetResourceList

func (s *UpdateComponentInput) SetResourceList(v []*string) *UpdateComponentInput

SetResourceList sets the ResourceList field's value.

func (UpdateComponentInput) String

func (s UpdateComponentInput) String() string

String returns the string representation

func (*UpdateComponentInput) Validate

func (s *UpdateComponentInput) Validate() error

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

type UpdateComponentOutput

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

func (UpdateComponentOutput) GoString

func (s UpdateComponentOutput) GoString() string

GoString returns the string representation

func (UpdateComponentOutput) String

func (s UpdateComponentOutput) String() string

String returns the string representation

type UpdateLogPatternInput added in v1.25.42

type UpdateLogPatternInput struct {

	// The log pattern.
	Pattern *string `min:"1" type:"string"`

	// The name of the log pattern.
	//
	// PatternName is a required field
	PatternName *string `min:"1" type:"string" required:"true"`

	// The name of the log pattern set.
	//
	// PatternSetName is a required field
	PatternSetName *string `min:"1" type:"string" required:"true"`

	// Rank of the log pattern.
	Rank *int64 `type:"integer"`

	// The name of the resource group.
	//
	// ResourceGroupName is a required field
	ResourceGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateLogPatternInput) GoString added in v1.25.42

func (s UpdateLogPatternInput) GoString() string

GoString returns the string representation

func (*UpdateLogPatternInput) SetPattern added in v1.25.42

SetPattern sets the Pattern field's value.

func (*UpdateLogPatternInput) SetPatternName added in v1.25.42

func (s *UpdateLogPatternInput) SetPatternName(v string) *UpdateLogPatternInput

SetPatternName sets the PatternName field's value.

func (*UpdateLogPatternInput) SetPatternSetName added in v1.25.42

func (s *UpdateLogPatternInput) SetPatternSetName(v string) *UpdateLogPatternInput

SetPatternSetName sets the PatternSetName field's value.

func (*UpdateLogPatternInput) SetRank added in v1.25.42

SetRank sets the Rank field's value.

func (*UpdateLogPatternInput) SetResourceGroupName added in v1.25.42

func (s *UpdateLogPatternInput) SetResourceGroupName(v string) *UpdateLogPatternInput

SetResourceGroupName sets the ResourceGroupName field's value.

func (UpdateLogPatternInput) String added in v1.25.42

func (s UpdateLogPatternInput) String() string

String returns the string representation

func (*UpdateLogPatternInput) Validate added in v1.25.42

func (s *UpdateLogPatternInput) Validate() error

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

type UpdateLogPatternOutput added in v1.25.42

type UpdateLogPatternOutput struct {

	// The successfully created log pattern.
	LogPattern *LogPattern `type:"structure"`

	// The name of the resource group.
	ResourceGroupName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateLogPatternOutput) GoString added in v1.25.42

func (s UpdateLogPatternOutput) GoString() string

GoString returns the string representation

func (*UpdateLogPatternOutput) SetLogPattern added in v1.25.42

SetLogPattern sets the LogPattern field's value.

func (*UpdateLogPatternOutput) SetResourceGroupName added in v1.25.42

func (s *UpdateLogPatternOutput) SetResourceGroupName(v string) *UpdateLogPatternOutput

SetResourceGroupName sets the ResourceGroupName field's value.

func (UpdateLogPatternOutput) String added in v1.25.42

func (s UpdateLogPatternOutput) String() string

String returns the string representation

type ValidationException added in v1.28.0

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

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

The parameter is not valid.

func (*ValidationException) Code added in v1.28.0

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.28.0

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.28.0

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.28.0

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.28.0

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.28.0

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.28.0

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String added in v1.28.0

func (s ValidationException) String() string

String returns the string representation

Directories

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

Jump to

Keyboard shortcuts

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