aws-sdk-go: github.com/aws/aws-sdk-go/service/applicationinsights Index | Files | Directories

package applicationinsights

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

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

Package Files

api.go doc.go errors.go service.go

Constants

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"
)
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"
)
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"
)
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"
)
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"

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

Service information constants

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

type ApplicationComponent Uses

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 `type:"string"`
    // contains filtered or unexported fields
}

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

func (ApplicationComponent) GoString Uses

func (s ApplicationComponent) GoString() string

GoString returns the string representation

func (*ApplicationComponent) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*ApplicationComponent) SetMonitor Uses

func (s *ApplicationComponent) SetMonitor(v bool) *ApplicationComponent

SetMonitor sets the Monitor field's value.

func (*ApplicationComponent) SetResourceType Uses

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

SetResourceType sets the ResourceType field's value.

func (*ApplicationComponent) SetTier Uses

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

SetTier sets the Tier field's value.

func (ApplicationComponent) String Uses

func (s ApplicationComponent) String() string

String returns the string representation

type ApplicationInfo Uses

type ApplicationInfo struct {

    // 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 `type:"string"`

    // The issues on the user side that block Application Insights from successfully
    // monitoring an application.
    Remarks *string `type:"string"`

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

Describes the status of the application.

func (ApplicationInfo) GoString Uses

func (s ApplicationInfo) GoString() string

GoString returns the string representation

func (*ApplicationInfo) SetLifeCycle Uses

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

SetLifeCycle sets the LifeCycle field's value.

func (*ApplicationInfo) SetOpsCenterEnabled Uses

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

SetOpsCenterEnabled sets the OpsCenterEnabled field's value.

func (*ApplicationInfo) SetOpsItemSNSTopicArn Uses

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

SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.

func (*ApplicationInfo) SetRemarks Uses

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

SetRemarks sets the Remarks field's value.

func (*ApplicationInfo) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (ApplicationInfo) String Uses

func (s ApplicationInfo) String() string

String returns the string representation

type ApplicationInsights Uses

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 Uses

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

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:

// 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 Uses

func (c *ApplicationInsights) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)

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 Codes:

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is already created or in use.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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/CreateApplication

func (*ApplicationInsights) CreateApplicationRequest Uses

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 Uses

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 Uses

func (c *ApplicationInsights) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error)

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 Codes:

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is already created or in use.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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) DeleteApplication Uses

func (c *ApplicationInsights) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeBadRequestException "BadRequestException"
The request is not understood by the server.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

func (c *ApplicationInsights) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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) DescribeApplication Uses

func (c *ApplicationInsights) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

func (c *ApplicationInsights) DescribeComponent(input *DescribeComponentInput) (*DescribeComponentOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

func (c *ApplicationInsights) DescribeComponentConfiguration(input *DescribeComponentConfigurationInput) (*DescribeComponentConfigurationOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

func (c *ApplicationInsights) DescribeComponentConfigurationRecommendation(input *DescribeComponentConfigurationRecommendationInput) (*DescribeComponentConfigurationRecommendationOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) DescribeObservation Uses

func (c *ApplicationInsights) DescribeObservation(input *DescribeObservationInput) (*DescribeObservationOutput, error)

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 Codes:

* ErrCodeInternalServerException "InternalServerException"
The server encountered an internal error and is unable to complete the request.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeResourceNotFoundException "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 Uses

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 Uses

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 Uses

func (c *ApplicationInsights) DescribeProblem(input *DescribeProblemInput) (*DescribeProblemOutput, error)

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 Codes:

* ErrCodeInternalServerException "InternalServerException"
The server encountered an internal error and is unable to complete the request.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeResourceNotFoundException "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 Uses

func (c *ApplicationInsights) DescribeProblemObservations(input *DescribeProblemObservationsInput) (*DescribeProblemObservationsOutput, error)

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 Codes:

* ErrCodeInternalServerException "InternalServerException"
The server encountered an internal error and is unable to complete the request.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeResourceNotFoundException "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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ApplicationInsights) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)

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 Codes:

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

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 Uses

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) ListProblems Uses

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 Codes:

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

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 Uses

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) UpdateApplication Uses

func (c *ApplicationInsights) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)

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 Codes:

* ErrCodeInternalServerException "InternalServerException"
The server encountered an internal error and is unable to complete the request.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

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

func (*ApplicationInsights) UpdateApplicationRequest Uses

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 Uses

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 Uses

func (c *ApplicationInsights) UpdateComponent(input *UpdateComponentInput) (*UpdateComponentOutput, error)

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 Codes:

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is already created or in use.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

func (c *ApplicationInsights) UpdateComponentConfiguration(input *UpdateComponentConfigurationInput) (*UpdateComponentConfigurationOutput, error)

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 Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource does not exist in the customer account.

* ErrCodeValidationException "ValidationException"
The parameter is not valid.

* ErrCodeInternalServerException "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 Uses

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 Uses

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 Uses

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 Uses

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.

type CreateApplicationInput Uses

type CreateApplicationInput struct {

    // 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 `type:"string"`

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

func (CreateApplicationInput) GoString Uses

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

func (*CreateApplicationInput) SetOpsCenterEnabled Uses

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

SetOpsCenterEnabled sets the OpsCenterEnabled field's value.

func (*CreateApplicationInput) SetOpsItemSNSTopicArn Uses

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

SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.

func (*CreateApplicationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (CreateApplicationInput) String Uses

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate Uses

func (s *CreateApplicationInput) Validate() error

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

type CreateApplicationOutput Uses

type CreateApplicationOutput struct {

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

func (CreateApplicationOutput) GoString Uses

func (s CreateApplicationOutput) GoString() string

GoString returns the string representation

func (*CreateApplicationOutput) SetApplicationInfo Uses

func (s *CreateApplicationOutput) SetApplicationInfo(v *ApplicationInfo) *CreateApplicationOutput

SetApplicationInfo sets the ApplicationInfo field's value.

func (CreateApplicationOutput) String Uses

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateComponentInput Uses

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 `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 Uses

func (s CreateComponentInput) GoString() string

GoString returns the string representation

func (*CreateComponentInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*CreateComponentInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (*CreateComponentInput) SetResourceList Uses

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

SetResourceList sets the ResourceList field's value.

func (CreateComponentInput) String Uses

func (s CreateComponentInput) String() string

String returns the string representation

func (*CreateComponentInput) Validate Uses

func (s *CreateComponentInput) Validate() error

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

type CreateComponentOutput Uses

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

func (CreateComponentOutput) GoString Uses

func (s CreateComponentOutput) GoString() string

GoString returns the string representation

func (CreateComponentOutput) String Uses

func (s CreateComponentOutput) String() string

String returns the string representation

type DeleteApplicationInput Uses

type DeleteApplicationInput struct {

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

func (DeleteApplicationInput) GoString Uses

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation

func (*DeleteApplicationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (DeleteApplicationInput) String Uses

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate Uses

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput Uses

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

func (DeleteApplicationOutput) GoString Uses

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation

func (DeleteApplicationOutput) String Uses

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteComponentInput Uses

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 `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteComponentInput) GoString Uses

func (s DeleteComponentInput) GoString() string

GoString returns the string representation

func (*DeleteComponentInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*DeleteComponentInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (DeleteComponentInput) String Uses

func (s DeleteComponentInput) String() string

String returns the string representation

func (*DeleteComponentInput) Validate Uses

func (s *DeleteComponentInput) Validate() error

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

type DeleteComponentOutput Uses

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

func (DeleteComponentOutput) GoString Uses

func (s DeleteComponentOutput) GoString() string

GoString returns the string representation

func (DeleteComponentOutput) String Uses

func (s DeleteComponentOutput) String() string

String returns the string representation

type DescribeApplicationInput Uses

type DescribeApplicationInput struct {

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

func (DescribeApplicationInput) GoString Uses

func (s DescribeApplicationInput) GoString() string

GoString returns the string representation

func (*DescribeApplicationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeApplicationInput) String Uses

func (s DescribeApplicationInput) String() string

String returns the string representation

func (*DescribeApplicationInput) Validate Uses

func (s *DescribeApplicationInput) Validate() error

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

type DescribeApplicationOutput Uses

type DescribeApplicationOutput struct {

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

func (DescribeApplicationOutput) GoString Uses

func (s DescribeApplicationOutput) GoString() string

GoString returns the string representation

func (*DescribeApplicationOutput) SetApplicationInfo Uses

func (s *DescribeApplicationOutput) SetApplicationInfo(v *ApplicationInfo) *DescribeApplicationOutput

SetApplicationInfo sets the ApplicationInfo field's value.

func (DescribeApplicationOutput) String Uses

func (s DescribeApplicationOutput) String() string

String returns the string representation

type DescribeComponentConfigurationInput Uses

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 `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeComponentConfigurationInput) GoString Uses

func (s DescribeComponentConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeComponentConfigurationInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*DescribeComponentConfigurationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeComponentConfigurationInput) String Uses

func (s DescribeComponentConfigurationInput) String() string

String returns the string representation

func (*DescribeComponentConfigurationInput) Validate Uses

func (s *DescribeComponentConfigurationInput) Validate() error

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

type DescribeComponentConfigurationOutput Uses

type DescribeComponentConfigurationOutput struct {

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

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

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

func (DescribeComponentConfigurationOutput) GoString Uses

func (s DescribeComponentConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeComponentConfigurationOutput) SetComponentConfiguration Uses

func (s *DescribeComponentConfigurationOutput) SetComponentConfiguration(v string) *DescribeComponentConfigurationOutput

SetComponentConfiguration sets the ComponentConfiguration field's value.

func (*DescribeComponentConfigurationOutput) SetMonitor Uses

func (s *DescribeComponentConfigurationOutput) SetMonitor(v bool) *DescribeComponentConfigurationOutput

SetMonitor sets the Monitor field's value.

func (*DescribeComponentConfigurationOutput) SetTier Uses

func (s *DescribeComponentConfigurationOutput) SetTier(v string) *DescribeComponentConfigurationOutput

SetTier sets the Tier field's value.

func (DescribeComponentConfigurationOutput) String Uses

func (s DescribeComponentConfigurationOutput) String() string

String returns the string representation

type DescribeComponentConfigurationRecommendationInput Uses

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 `type:"string" required:"true"`

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

func (DescribeComponentConfigurationRecommendationInput) GoString Uses

func (s DescribeComponentConfigurationRecommendationInput) GoString() string

GoString returns the string representation

func (*DescribeComponentConfigurationRecommendationInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*DescribeComponentConfigurationRecommendationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (*DescribeComponentConfigurationRecommendationInput) SetTier Uses

func (s *DescribeComponentConfigurationRecommendationInput) SetTier(v string) *DescribeComponentConfigurationRecommendationInput

SetTier sets the Tier field's value.

func (DescribeComponentConfigurationRecommendationInput) String Uses

func (s DescribeComponentConfigurationRecommendationInput) String() string

String returns the string representation

func (*DescribeComponentConfigurationRecommendationInput) Validate Uses

func (s *DescribeComponentConfigurationRecommendationInput) Validate() error

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

type DescribeComponentConfigurationRecommendationOutput Uses

type DescribeComponentConfigurationRecommendationOutput struct {

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

func (DescribeComponentConfigurationRecommendationOutput) GoString Uses

func (s DescribeComponentConfigurationRecommendationOutput) GoString() string

GoString returns the string representation

func (*DescribeComponentConfigurationRecommendationOutput) SetComponentConfiguration Uses

func (s *DescribeComponentConfigurationRecommendationOutput) SetComponentConfiguration(v string) *DescribeComponentConfigurationRecommendationOutput

SetComponentConfiguration sets the ComponentConfiguration field's value.

func (DescribeComponentConfigurationRecommendationOutput) String Uses

func (s DescribeComponentConfigurationRecommendationOutput) String() string

String returns the string representation

type DescribeComponentInput Uses

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 `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeComponentInput) GoString Uses

func (s DescribeComponentInput) GoString() string

GoString returns the string representation

func (*DescribeComponentInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*DescribeComponentInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (DescribeComponentInput) String Uses

func (s DescribeComponentInput) String() string

String returns the string representation

func (*DescribeComponentInput) Validate Uses

func (s *DescribeComponentInput) Validate() error

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

type DescribeComponentOutput Uses

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 Uses

func (s DescribeComponentOutput) GoString() string

GoString returns the string representation

func (*DescribeComponentOutput) SetApplicationComponent Uses

func (s *DescribeComponentOutput) SetApplicationComponent(v *ApplicationComponent) *DescribeComponentOutput

SetApplicationComponent sets the ApplicationComponent field's value.

func (*DescribeComponentOutput) SetResourceList Uses

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

SetResourceList sets the ResourceList field's value.

func (DescribeComponentOutput) String Uses

func (s DescribeComponentOutput) String() string

String returns the string representation

type DescribeObservationInput Uses

type DescribeObservationInput struct {

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

func (DescribeObservationInput) GoString Uses

func (s DescribeObservationInput) GoString() string

GoString returns the string representation

func (*DescribeObservationInput) SetObservationId Uses

func (s *DescribeObservationInput) SetObservationId(v string) *DescribeObservationInput

SetObservationId sets the ObservationId field's value.

func (DescribeObservationInput) String Uses

func (s DescribeObservationInput) String() string

String returns the string representation

func (*DescribeObservationInput) Validate Uses

func (s *DescribeObservationInput) Validate() error

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

type DescribeObservationOutput Uses

type DescribeObservationOutput struct {

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

func (DescribeObservationOutput) GoString Uses

func (s DescribeObservationOutput) GoString() string

GoString returns the string representation

func (*DescribeObservationOutput) SetObservation Uses

func (s *DescribeObservationOutput) SetObservation(v *Observation) *DescribeObservationOutput

SetObservation sets the Observation field's value.

func (DescribeObservationOutput) String Uses

func (s DescribeObservationOutput) String() string

String returns the string representation

type DescribeProblemInput Uses

type DescribeProblemInput struct {

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

func (DescribeProblemInput) GoString Uses

func (s DescribeProblemInput) GoString() string

GoString returns the string representation

func (*DescribeProblemInput) SetProblemId Uses

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

SetProblemId sets the ProblemId field's value.

func (DescribeProblemInput) String Uses

func (s DescribeProblemInput) String() string

String returns the string representation

func (*DescribeProblemInput) Validate Uses

func (s *DescribeProblemInput) Validate() error

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

type DescribeProblemObservationsInput Uses

type DescribeProblemObservationsInput struct {

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

func (DescribeProblemObservationsInput) GoString Uses

func (s DescribeProblemObservationsInput) GoString() string

GoString returns the string representation

func (*DescribeProblemObservationsInput) SetProblemId Uses

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

SetProblemId sets the ProblemId field's value.

func (DescribeProblemObservationsInput) String Uses

func (s DescribeProblemObservationsInput) String() string

String returns the string representation

func (*DescribeProblemObservationsInput) Validate Uses

func (s *DescribeProblemObservationsInput) Validate() error

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

type DescribeProblemObservationsOutput Uses

type DescribeProblemObservationsOutput struct {

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

func (DescribeProblemObservationsOutput) GoString Uses

func (s DescribeProblemObservationsOutput) GoString() string

GoString returns the string representation

func (*DescribeProblemObservationsOutput) SetRelatedObservations Uses

func (s *DescribeProblemObservationsOutput) SetRelatedObservations(v *RelatedObservations) *DescribeProblemObservationsOutput

SetRelatedObservations sets the RelatedObservations field's value.

func (DescribeProblemObservationsOutput) String Uses

func (s DescribeProblemObservationsOutput) String() string

String returns the string representation

type DescribeProblemOutput Uses

type DescribeProblemOutput struct {

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

func (DescribeProblemOutput) GoString Uses

func (s DescribeProblemOutput) GoString() string

GoString returns the string representation

func (*DescribeProblemOutput) SetProblem Uses

func (s *DescribeProblemOutput) SetProblem(v *Problem) *DescribeProblemOutput

SetProblem sets the Problem field's value.

func (DescribeProblemOutput) String Uses

func (s DescribeProblemOutput) String() string

String returns the string representation

type ListApplicationsInput Uses

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 Uses

func (s ListApplicationsInput) GoString() string

GoString returns the string representation

func (*ListApplicationsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListApplicationsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListApplicationsInput) String Uses

func (s ListApplicationsInput) String() string

String returns the string representation

func (*ListApplicationsInput) Validate Uses

func (s *ListApplicationsInput) Validate() error

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

type ListApplicationsOutput Uses

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 Uses

func (s ListApplicationsOutput) GoString() string

GoString returns the string representation

func (*ListApplicationsOutput) SetApplicationInfoList Uses

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

SetApplicationInfoList sets the ApplicationInfoList field's value.

func (*ListApplicationsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListApplicationsOutput) String Uses

func (s ListApplicationsOutput) String() string

String returns the string representation

type ListComponentsInput Uses

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 `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListComponentsInput) GoString Uses

func (s ListComponentsInput) GoString() string

GoString returns the string representation

func (*ListComponentsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListComponentsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListComponentsInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (ListComponentsInput) String Uses

func (s ListComponentsInput) String() string

String returns the string representation

func (*ListComponentsInput) Validate Uses

func (s *ListComponentsInput) Validate() error

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

type ListComponentsOutput Uses

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 Uses

func (s ListComponentsOutput) GoString() string

GoString returns the string representation

func (*ListComponentsOutput) SetApplicationComponentList Uses

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

SetApplicationComponentList sets the ApplicationComponentList field's value.

func (*ListComponentsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListComponentsOutput) String Uses

func (s ListComponentsOutput) String() string

String returns the string representation

type ListProblemsInput Uses

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 `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 Uses

func (s ListProblemsInput) GoString() string

GoString returns the string representation

func (*ListProblemsInput) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*ListProblemsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListProblemsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListProblemsInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (*ListProblemsInput) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (ListProblemsInput) String Uses

func (s ListProblemsInput) String() string

String returns the string representation

func (*ListProblemsInput) Validate Uses

func (s *ListProblemsInput) Validate() error

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

type ListProblemsOutput Uses

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 Uses

func (s ListProblemsOutput) GoString() string

GoString returns the string representation

func (*ListProblemsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListProblemsOutput) SetProblemList Uses

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

SetProblemList sets the ProblemList field's value.

func (ListProblemsOutput) String Uses

func (s ListProblemsOutput) String() string

String returns the string representation

type Observation Uses

type Observation struct {

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

    // The ID of the observation type.
    Id  *string `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"`
    // contains filtered or unexported fields
}

Describes an anomaly or error with the application.

func (Observation) GoString Uses

func (s Observation) GoString() string

GoString returns the string representation

func (*Observation) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*Observation) SetId Uses

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

SetId sets the Id field's value.

func (*Observation) SetLineTime Uses

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

SetLineTime sets the LineTime field's value.

func (*Observation) SetLogFilter Uses

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

SetLogFilter sets the LogFilter field's value.

func (*Observation) SetLogGroup Uses

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

SetLogGroup sets the LogGroup field's value.

func (*Observation) SetLogText Uses

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

SetLogText sets the LogText field's value.

func (*Observation) SetMetricName Uses

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

SetMetricName sets the MetricName field's value.

func (*Observation) SetMetricNamespace Uses

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

SetMetricNamespace sets the MetricNamespace field's value.

func (*Observation) SetSourceARN Uses

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

SetSourceARN sets the SourceARN field's value.

func (*Observation) SetSourceType Uses

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

SetSourceType sets the SourceType field's value.

func (*Observation) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (*Observation) SetUnit Uses

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

SetUnit sets the Unit field's value.

func (*Observation) SetValue Uses

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

SetValue sets the Value field's value.

func (Observation) String Uses

func (s Observation) String() string

String returns the string representation

type Problem Uses

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 `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 `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 Uses

func (s Problem) GoString() string

GoString returns the string representation

func (*Problem) SetAffectedResource Uses

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

SetAffectedResource sets the AffectedResource field's value.

func (*Problem) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*Problem) SetFeedback Uses

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

SetFeedback sets the Feedback field's value.

func (*Problem) SetId Uses

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

SetId sets the Id field's value.

func (*Problem) SetInsights Uses

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

SetInsights sets the Insights field's value.

func (*Problem) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (*Problem) SetSeverityLevel Uses

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

SetSeverityLevel sets the SeverityLevel field's value.

func (*Problem) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (*Problem) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*Problem) SetTitle Uses

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

SetTitle sets the Title field's value.

func (Problem) String Uses

func (s Problem) String() string

String returns the string representation

type RelatedObservations Uses

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 Uses

func (s RelatedObservations) GoString() string

GoString returns the string representation

func (*RelatedObservations) SetObservationList Uses

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

SetObservationList sets the ObservationList field's value.

func (RelatedObservations) String Uses

func (s RelatedObservations) String() string

String returns the string representation

type UpdateApplicationInput Uses

type UpdateApplicationInput struct {

    // 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 `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 `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateApplicationInput) GoString Uses

func (s UpdateApplicationInput) GoString() string

GoString returns the string representation

func (*UpdateApplicationInput) SetOpsCenterEnabled Uses

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

SetOpsCenterEnabled sets the OpsCenterEnabled field's value.

func (*UpdateApplicationInput) SetOpsItemSNSTopicArn Uses

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

SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.

func (*UpdateApplicationInput) SetRemoveSNSTopic Uses

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

SetRemoveSNSTopic sets the RemoveSNSTopic field's value.

func (*UpdateApplicationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (UpdateApplicationInput) String Uses

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate Uses

func (s *UpdateApplicationInput) Validate() error

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

type UpdateApplicationOutput Uses

type UpdateApplicationOutput struct {

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

func (UpdateApplicationOutput) GoString Uses

func (s UpdateApplicationOutput) GoString() string

GoString returns the string representation

func (*UpdateApplicationOutput) SetApplicationInfo Uses

func (s *UpdateApplicationOutput) SetApplicationInfo(v *ApplicationInfo) *UpdateApplicationOutput

SetApplicationInfo sets the ApplicationInfo field's value.

func (UpdateApplicationOutput) String Uses

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateComponentConfigurationInput Uses

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.
    ComponentConfiguration *string `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 `type:"string" required:"true"`

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

func (UpdateComponentConfigurationInput) GoString Uses

func (s UpdateComponentConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateComponentConfigurationInput) SetComponentConfiguration Uses

func (s *UpdateComponentConfigurationInput) SetComponentConfiguration(v string) *UpdateComponentConfigurationInput

SetComponentConfiguration sets the ComponentConfiguration field's value.

func (*UpdateComponentConfigurationInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*UpdateComponentConfigurationInput) SetMonitor Uses

func (s *UpdateComponentConfigurationInput) SetMonitor(v bool) *UpdateComponentConfigurationInput

SetMonitor sets the Monitor field's value.

func (*UpdateComponentConfigurationInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (*UpdateComponentConfigurationInput) SetTier Uses

func (s *UpdateComponentConfigurationInput) SetTier(v string) *UpdateComponentConfigurationInput

SetTier sets the Tier field's value.

func (UpdateComponentConfigurationInput) String Uses

func (s UpdateComponentConfigurationInput) String() string

String returns the string representation

func (*UpdateComponentConfigurationInput) Validate Uses

func (s *UpdateComponentConfigurationInput) Validate() error

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

type UpdateComponentConfigurationOutput Uses

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

func (UpdateComponentConfigurationOutput) GoString Uses

func (s UpdateComponentConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateComponentConfigurationOutput) String Uses

func (s UpdateComponentConfigurationOutput) String() string

String returns the string representation

type UpdateComponentInput Uses

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 `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 Uses

func (s UpdateComponentInput) GoString() string

GoString returns the string representation

func (*UpdateComponentInput) SetComponentName Uses

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

SetComponentName sets the ComponentName field's value.

func (*UpdateComponentInput) SetNewComponentName Uses

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

SetNewComponentName sets the NewComponentName field's value.

func (*UpdateComponentInput) SetResourceGroupName Uses

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

SetResourceGroupName sets the ResourceGroupName field's value.

func (*UpdateComponentInput) SetResourceList Uses

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

SetResourceList sets the ResourceList field's value.

func (UpdateComponentInput) String Uses

func (s UpdateComponentInput) String() string

String returns the string representation

func (*UpdateComponentInput) Validate Uses

func (s *UpdateComponentInput) Validate() error

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

type UpdateComponentOutput Uses

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

func (UpdateComponentOutput) GoString Uses

func (s UpdateComponentOutput) GoString() string

GoString returns the string representation

func (UpdateComponentOutput) String Uses

func (s UpdateComponentOutput) String() string

String returns the string representation

Directories

PathSynopsis
applicationinsightsifacePackage applicationinsightsiface provides an interface to enable mocking the Amazon CloudWatch Application Insights service client for testing your code.

Package applicationinsights imports 9 packages (graph) and is imported by 7 packages. Updated 2019-08-13. Refresh now. Tools for package owners.