Documentation ¶
Overview ¶
Package applicationinsights provides the client and types for making API requests to 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 use 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 Application Insights client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationinsights/#New
Index ¶
- Constants
- type ApplicationComponent
- type ApplicationInfo
- type Client
- func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
- func (c *Client) CreateComponentRequest(input *CreateComponentInput) CreateComponentRequest
- func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
- func (c *Client) DeleteComponentRequest(input *DeleteComponentInput) DeleteComponentRequest
- func (c *Client) DescribeApplicationRequest(input *DescribeApplicationInput) DescribeApplicationRequest
- func (c *Client) DescribeComponentConfigurationRecommendationRequest(input *DescribeComponentConfigurationRecommendationInput) DescribeComponentConfigurationRecommendationRequest
- func (c *Client) DescribeComponentConfigurationRequest(input *DescribeComponentConfigurationInput) DescribeComponentConfigurationRequest
- func (c *Client) DescribeComponentRequest(input *DescribeComponentInput) DescribeComponentRequest
- func (c *Client) DescribeObservationRequest(input *DescribeObservationInput) DescribeObservationRequest
- func (c *Client) DescribeProblemObservationsRequest(input *DescribeProblemObservationsInput) DescribeProblemObservationsRequest
- func (c *Client) DescribeProblemRequest(input *DescribeProblemInput) DescribeProblemRequest
- func (c *Client) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
- func (c *Client) ListComponentsRequest(input *ListComponentsInput) ListComponentsRequest
- func (c *Client) ListProblemsRequest(input *ListProblemsInput) ListProblemsRequest
- func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
- func (c *Client) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) UpdateComponentConfigurationRequest
- func (c *Client) UpdateComponentRequest(input *UpdateComponentInput) UpdateComponentRequest
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateApplicationRequest
- type CreateApplicationResponse
- type CreateComponentInput
- type CreateComponentOutput
- type CreateComponentRequest
- type CreateComponentResponse
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteComponentInput
- type DeleteComponentOutput
- type DeleteComponentRequest
- type DeleteComponentResponse
- type DescribeApplicationInput
- type DescribeApplicationOutput
- type DescribeApplicationRequest
- type DescribeApplicationResponse
- type DescribeComponentConfigurationInput
- type DescribeComponentConfigurationOutput
- type DescribeComponentConfigurationRecommendationInput
- type DescribeComponentConfigurationRecommendationOutput
- type DescribeComponentConfigurationRecommendationRequest
- type DescribeComponentConfigurationRecommendationResponse
- type DescribeComponentConfigurationRequest
- type DescribeComponentConfigurationResponse
- type DescribeComponentInput
- type DescribeComponentOutput
- type DescribeComponentRequest
- type DescribeComponentResponse
- type DescribeObservationInput
- type DescribeObservationOutput
- type DescribeObservationRequest
- type DescribeObservationResponse
- type DescribeProblemInput
- type DescribeProblemObservationsInput
- type DescribeProblemObservationsOutput
- type DescribeProblemObservationsRequest
- type DescribeProblemObservationsResponse
- type DescribeProblemOutput
- type DescribeProblemRequest
- type DescribeProblemResponse
- type FeedbackKey
- type FeedbackValue
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListApplicationsPaginator
- type ListApplicationsRequest
- type ListApplicationsResponse
- type ListComponentsInput
- type ListComponentsOutput
- type ListComponentsPaginator
- type ListComponentsRequest
- type ListComponentsResponse
- type ListProblemsInput
- type ListProblemsOutput
- type ListProblemsPaginator
- type ListProblemsRequest
- type ListProblemsResponse
- type LogFilter
- type Observation
- type Problem
- type RelatedObservations
- type SeverityLevel
- type Status
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateApplicationRequest
- type UpdateApplicationResponse
- type UpdateComponentConfigurationInput
- type UpdateComponentConfigurationOutput
- type UpdateComponentConfigurationRequest
- type UpdateComponentConfigurationResponse
- type UpdateComponentInput
- type UpdateComponentOutput
- type UpdateComponentRequest
- type UpdateComponentResponse
Constants ¶
const ( ServiceName = "Application Insights" // Service's name ServiceID = "ApplicationInsights" // Service's identifier EndpointsID = "applicationinsights" // Service's Endpoint identifier )
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" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationComponent ¶
type ApplicationComponent struct { // The name of the component. ComponentName *string `type:"string"` // Indicates whether the application component is monitored. Monitor *bool `type:"boolean"` // The resource type. Supported resource types include EC2 instances, Auto Scaling // group, Classic ELB, Application ELB, and SQS Queue. ResourceType *string `type:"string"` // The stack tier of the application component. Tier *string `type:"string"` // contains filtered or unexported fields }
Describes a standalone resource or similarly grouped resources that the application is made up of.
func (ApplicationComponent) String ¶
func (s ApplicationComponent) String() string
String returns the string representation
type ApplicationInfo ¶
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) String ¶
func (s ApplicationInfo) String() string
String returns the string representation
type Client ¶
Client provides the API operation methods for making requests to Application Insights. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := applicationinsights.New(myConfig)
func (*Client) CreateApplicationRequest ¶
func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
CreateApplicationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Adds an application that is created from a resource group.
// Example sending a request using CreateApplicationRequest. req := client.CreateApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication
func (*Client) CreateComponentRequest ¶
func (c *Client) CreateComponentRequest(input *CreateComponentInput) CreateComponentRequest
CreateComponentRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Creates a custom component by grouping similar standalone instances to monitor.
// Example sending a request using CreateComponentRequest. req := client.CreateComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent
func (*Client) DeleteApplicationRequest ¶
func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
DeleteApplicationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Removes the specified application from monitoring. Does not delete the application.
// Example sending a request using DeleteApplicationRequest. req := client.DeleteApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication
func (*Client) DeleteComponentRequest ¶
func (c *Client) DeleteComponentRequest(input *DeleteComponentInput) DeleteComponentRequest
DeleteComponentRequest returns a request value for making 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.
// Example sending a request using DeleteComponentRequest. req := client.DeleteComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent
func (*Client) DescribeApplicationRequest ¶
func (c *Client) DescribeApplicationRequest(input *DescribeApplicationInput) DescribeApplicationRequest
DescribeApplicationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes the application.
// Example sending a request using DescribeApplicationRequest. req := client.DescribeApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication
func (*Client) DescribeComponentConfigurationRecommendationRequest ¶
func (c *Client) DescribeComponentConfigurationRecommendationRequest(input *DescribeComponentConfigurationRecommendationInput) DescribeComponentConfigurationRecommendationRequest
DescribeComponentConfigurationRecommendationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes the recommended monitoring configuration of the component.
// Example sending a request using DescribeComponentConfigurationRecommendationRequest. req := client.DescribeComponentConfigurationRecommendationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendation
func (*Client) DescribeComponentConfigurationRequest ¶
func (c *Client) DescribeComponentConfigurationRequest(input *DescribeComponentConfigurationInput) DescribeComponentConfigurationRequest
DescribeComponentConfigurationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes the monitoring configuration of the component.
// Example sending a request using DescribeComponentConfigurationRequest. req := client.DescribeComponentConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration
func (*Client) DescribeComponentRequest ¶
func (c *Client) DescribeComponentRequest(input *DescribeComponentInput) DescribeComponentRequest
DescribeComponentRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes a component and lists the resources that are grouped together in a component.
// Example sending a request using DescribeComponentRequest. req := client.DescribeComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent
func (*Client) DescribeObservationRequest ¶
func (c *Client) DescribeObservationRequest(input *DescribeObservationInput) DescribeObservationRequest
DescribeObservationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes an anomaly or error with the application.
// Example sending a request using DescribeObservationRequest. req := client.DescribeObservationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation
func (*Client) DescribeProblemObservationsRequest ¶
func (c *Client) DescribeProblemObservationsRequest(input *DescribeProblemObservationsInput) DescribeProblemObservationsRequest
DescribeProblemObservationsRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes the anomalies or errors associated with the problem.
// Example sending a request using DescribeProblemObservationsRequest. req := client.DescribeProblemObservationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations
func (*Client) DescribeProblemRequest ¶
func (c *Client) DescribeProblemRequest(input *DescribeProblemInput) DescribeProblemRequest
DescribeProblemRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describes an application problem.
// Example sending a request using DescribeProblemRequest. req := client.DescribeProblemRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem
func (*Client) ListApplicationsRequest ¶
func (c *Client) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
ListApplicationsRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Lists the IDs of the applications that you are monitoring.
// Example sending a request using ListApplicationsRequest. req := client.ListApplicationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications
func (*Client) ListComponentsRequest ¶
func (c *Client) ListComponentsRequest(input *ListComponentsInput) ListComponentsRequest
ListComponentsRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Lists the auto-grouped, standalone, and custom components of the application.
// Example sending a request using ListComponentsRequest. req := client.ListComponentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents
func (*Client) ListProblemsRequest ¶
func (c *Client) ListProblemsRequest(input *ListProblemsInput) ListProblemsRequest
ListProblemsRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Lists the problems with your application.
// Example sending a request using ListProblemsRequest. req := client.ListProblemsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems
func (*Client) UpdateApplicationRequest ¶ added in v0.11.0
func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
UpdateApplicationRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Updates the application.
// Example sending a request using UpdateApplicationRequest. req := client.UpdateApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication
func (*Client) UpdateComponentConfigurationRequest ¶
func (c *Client) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) UpdateComponentConfigurationRequest
UpdateComponentConfigurationRequest returns a request value for making 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.
// Example sending a request using UpdateComponentConfigurationRequest. req := client.UpdateComponentConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration
func (*Client) UpdateComponentRequest ¶
func (c *Client) UpdateComponentRequest(input *UpdateComponentInput) UpdateComponentRequest
UpdateComponentRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Updates the custom component name and/or the list of resources that make up the component.
// Example sending a request using UpdateComponentRequest. req := client.UpdateComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent
type CreateApplicationInput ¶
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) String ¶
func (s CreateApplicationInput) String() string
String returns the string representation
func (*CreateApplicationInput) Validate ¶
func (s *CreateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // Information about the application. ApplicationInfo *ApplicationInfo `type:"structure"` // contains filtered or unexported fields }
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *aws.Request Input *CreateApplicationInput Copy func(*CreateApplicationInput) CreateApplicationRequest }
CreateApplicationRequest is the request type for the CreateApplication API operation.
func (CreateApplicationRequest) Send ¶
func (r CreateApplicationRequest) Send(ctx context.Context) (*CreateApplicationResponse, error)
Send marshals and sends the CreateApplication API request.
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { *CreateApplicationOutput // contains filtered or unexported fields }
CreateApplicationResponse is the response type for the CreateApplication API operation.
func (*CreateApplicationResponse) SDKResponseMetdata ¶
func (r *CreateApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApplication request.
type CreateComponentInput ¶
type CreateComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `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) String ¶
func (s CreateComponentInput) String() string
String returns the string representation
func (*CreateComponentInput) Validate ¶
func (s *CreateComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateComponentOutput ¶
type CreateComponentOutput struct {
// contains filtered or unexported fields
}
func (CreateComponentOutput) String ¶
func (s CreateComponentOutput) String() string
String returns the string representation
type CreateComponentRequest ¶
type CreateComponentRequest struct { *aws.Request Input *CreateComponentInput Copy func(*CreateComponentInput) CreateComponentRequest }
CreateComponentRequest is the request type for the CreateComponent API operation.
func (CreateComponentRequest) Send ¶
func (r CreateComponentRequest) Send(ctx context.Context) (*CreateComponentResponse, error)
Send marshals and sends the CreateComponent API request.
type CreateComponentResponse ¶
type CreateComponentResponse struct { *CreateComponentOutput // contains filtered or unexported fields }
CreateComponentResponse is the response type for the CreateComponent API operation.
func (*CreateComponentResponse) SDKResponseMetdata ¶
func (r *CreateComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateComponent request.
type DeleteApplicationInput ¶
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) String ¶
func (s DeleteApplicationInput) String() string
String returns the string representation
func (*DeleteApplicationInput) Validate ¶
func (s *DeleteApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct {
// contains filtered or unexported fields
}
func (DeleteApplicationOutput) String ¶
func (s DeleteApplicationOutput) String() string
String returns the string representation
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *aws.Request Input *DeleteApplicationInput Copy func(*DeleteApplicationInput) DeleteApplicationRequest }
DeleteApplicationRequest is the request type for the DeleteApplication API operation.
func (DeleteApplicationRequest) Send ¶
func (r DeleteApplicationRequest) Send(ctx context.Context) (*DeleteApplicationResponse, error)
Send marshals and sends the DeleteApplication API request.
type DeleteApplicationResponse ¶
type DeleteApplicationResponse struct { *DeleteApplicationOutput // contains filtered or unexported fields }
DeleteApplicationResponse is the response type for the DeleteApplication API operation.
func (*DeleteApplicationResponse) SDKResponseMetdata ¶
func (r *DeleteApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApplication request.
type DeleteComponentInput ¶
type DeleteComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteComponentInput) String ¶
func (s DeleteComponentInput) String() string
String returns the string representation
func (*DeleteComponentInput) Validate ¶
func (s *DeleteComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteComponentOutput ¶
type DeleteComponentOutput struct {
// contains filtered or unexported fields
}
func (DeleteComponentOutput) String ¶
func (s DeleteComponentOutput) String() string
String returns the string representation
type DeleteComponentRequest ¶
type DeleteComponentRequest struct { *aws.Request Input *DeleteComponentInput Copy func(*DeleteComponentInput) DeleteComponentRequest }
DeleteComponentRequest is the request type for the DeleteComponent API operation.
func (DeleteComponentRequest) Send ¶
func (r DeleteComponentRequest) Send(ctx context.Context) (*DeleteComponentResponse, error)
Send marshals and sends the DeleteComponent API request.
type DeleteComponentResponse ¶
type DeleteComponentResponse struct { *DeleteComponentOutput // contains filtered or unexported fields }
DeleteComponentResponse is the response type for the DeleteComponent API operation.
func (*DeleteComponentResponse) SDKResponseMetdata ¶
func (r *DeleteComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteComponent request.
type DescribeApplicationInput ¶
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) String ¶
func (s DescribeApplicationInput) String() string
String returns the string representation
func (*DescribeApplicationInput) Validate ¶
func (s *DescribeApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeApplicationOutput ¶
type DescribeApplicationOutput struct { // Information about the application. ApplicationInfo *ApplicationInfo `type:"structure"` // contains filtered or unexported fields }
func (DescribeApplicationOutput) String ¶
func (s DescribeApplicationOutput) String() string
String returns the string representation
type DescribeApplicationRequest ¶
type DescribeApplicationRequest struct { *aws.Request Input *DescribeApplicationInput Copy func(*DescribeApplicationInput) DescribeApplicationRequest }
DescribeApplicationRequest is the request type for the DescribeApplication API operation.
func (DescribeApplicationRequest) Send ¶
func (r DescribeApplicationRequest) Send(ctx context.Context) (*DescribeApplicationResponse, error)
Send marshals and sends the DescribeApplication API request.
type DescribeApplicationResponse ¶
type DescribeApplicationResponse struct { *DescribeApplicationOutput // contains filtered or unexported fields }
DescribeApplicationResponse is the response type for the DescribeApplication API operation.
func (*DescribeApplicationResponse) SDKResponseMetdata ¶
func (r *DescribeApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeApplication request.
type DescribeComponentConfigurationInput ¶
type DescribeComponentConfigurationInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeComponentConfigurationInput) String ¶
func (s DescribeComponentConfigurationInput) String() string
String returns the string representation
func (*DescribeComponentConfigurationInput) Validate ¶
func (s *DescribeComponentConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeComponentConfigurationOutput ¶
type DescribeComponentConfigurationOutput struct { // The configuration settings of the component. The value is the escaped JSON // of the configuration. ComponentConfiguration *string `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) String ¶
func (s DescribeComponentConfigurationOutput) String() string
String returns the string representation
type DescribeComponentConfigurationRecommendationInput ¶
type DescribeComponentConfigurationRecommendationInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `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) String ¶
func (s DescribeComponentConfigurationRecommendationInput) String() string
String returns the string representation
func (*DescribeComponentConfigurationRecommendationInput) Validate ¶
func (s *DescribeComponentConfigurationRecommendationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeComponentConfigurationRecommendationOutput ¶
type DescribeComponentConfigurationRecommendationOutput struct { // The recommended configuration settings of the component. The value is the // escaped JSON of the configuration. ComponentConfiguration *string `type:"string"` // contains filtered or unexported fields }
func (DescribeComponentConfigurationRecommendationOutput) String ¶
func (s DescribeComponentConfigurationRecommendationOutput) String() string
String returns the string representation
type DescribeComponentConfigurationRecommendationRequest ¶
type DescribeComponentConfigurationRecommendationRequest struct { *aws.Request Input *DescribeComponentConfigurationRecommendationInput Copy func(*DescribeComponentConfigurationRecommendationInput) DescribeComponentConfigurationRecommendationRequest }
DescribeComponentConfigurationRecommendationRequest is the request type for the DescribeComponentConfigurationRecommendation API operation.
func (DescribeComponentConfigurationRecommendationRequest) Send ¶
func (r DescribeComponentConfigurationRecommendationRequest) Send(ctx context.Context) (*DescribeComponentConfigurationRecommendationResponse, error)
Send marshals and sends the DescribeComponentConfigurationRecommendation API request.
type DescribeComponentConfigurationRecommendationResponse ¶
type DescribeComponentConfigurationRecommendationResponse struct { *DescribeComponentConfigurationRecommendationOutput // contains filtered or unexported fields }
DescribeComponentConfigurationRecommendationResponse is the response type for the DescribeComponentConfigurationRecommendation API operation.
func (*DescribeComponentConfigurationRecommendationResponse) SDKResponseMetdata ¶
func (r *DescribeComponentConfigurationRecommendationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeComponentConfigurationRecommendation request.
type DescribeComponentConfigurationRequest ¶
type DescribeComponentConfigurationRequest struct { *aws.Request Input *DescribeComponentConfigurationInput Copy func(*DescribeComponentConfigurationInput) DescribeComponentConfigurationRequest }
DescribeComponentConfigurationRequest is the request type for the DescribeComponentConfiguration API operation.
func (DescribeComponentConfigurationRequest) Send ¶
func (r DescribeComponentConfigurationRequest) Send(ctx context.Context) (*DescribeComponentConfigurationResponse, error)
Send marshals and sends the DescribeComponentConfiguration API request.
type DescribeComponentConfigurationResponse ¶
type DescribeComponentConfigurationResponse struct { *DescribeComponentConfigurationOutput // contains filtered or unexported fields }
DescribeComponentConfigurationResponse is the response type for the DescribeComponentConfiguration API operation.
func (*DescribeComponentConfigurationResponse) SDKResponseMetdata ¶
func (r *DescribeComponentConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeComponentConfiguration request.
type DescribeComponentInput ¶
type DescribeComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeComponentInput) String ¶
func (s DescribeComponentInput) String() string
String returns the string representation
func (*DescribeComponentInput) Validate ¶
func (s *DescribeComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeComponentOutput ¶
type DescribeComponentOutput struct { // Describes a standalone resource or similarly grouped resources that the application // is made up of. ApplicationComponent *ApplicationComponent `type:"structure"` // The list of resource ARNs that belong to the component. ResourceList []string `type:"list"` // contains filtered or unexported fields }
func (DescribeComponentOutput) String ¶
func (s DescribeComponentOutput) String() string
String returns the string representation
type DescribeComponentRequest ¶
type DescribeComponentRequest struct { *aws.Request Input *DescribeComponentInput Copy func(*DescribeComponentInput) DescribeComponentRequest }
DescribeComponentRequest is the request type for the DescribeComponent API operation.
func (DescribeComponentRequest) Send ¶
func (r DescribeComponentRequest) Send(ctx context.Context) (*DescribeComponentResponse, error)
Send marshals and sends the DescribeComponent API request.
type DescribeComponentResponse ¶
type DescribeComponentResponse struct { *DescribeComponentOutput // contains filtered or unexported fields }
DescribeComponentResponse is the response type for the DescribeComponent API operation.
func (*DescribeComponentResponse) SDKResponseMetdata ¶
func (r *DescribeComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeComponent request.
type DescribeObservationInput ¶
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) String ¶
func (s DescribeObservationInput) String() string
String returns the string representation
func (*DescribeObservationInput) Validate ¶
func (s *DescribeObservationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeObservationOutput ¶
type DescribeObservationOutput struct { // Information about the observation. Observation *Observation `type:"structure"` // contains filtered or unexported fields }
func (DescribeObservationOutput) String ¶
func (s DescribeObservationOutput) String() string
String returns the string representation
type DescribeObservationRequest ¶
type DescribeObservationRequest struct { *aws.Request Input *DescribeObservationInput Copy func(*DescribeObservationInput) DescribeObservationRequest }
DescribeObservationRequest is the request type for the DescribeObservation API operation.
func (DescribeObservationRequest) Send ¶
func (r DescribeObservationRequest) Send(ctx context.Context) (*DescribeObservationResponse, error)
Send marshals and sends the DescribeObservation API request.
type DescribeObservationResponse ¶
type DescribeObservationResponse struct { *DescribeObservationOutput // contains filtered or unexported fields }
DescribeObservationResponse is the response type for the DescribeObservation API operation.
func (*DescribeObservationResponse) SDKResponseMetdata ¶
func (r *DescribeObservationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeObservation request.
type DescribeProblemInput ¶
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) String ¶
func (s DescribeProblemInput) String() string
String returns the string representation
func (*DescribeProblemInput) Validate ¶
func (s *DescribeProblemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProblemObservationsInput ¶
type DescribeProblemObservationsInput struct { // The ID of the problem. // // ProblemId is a required field ProblemId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeProblemObservationsInput) String ¶
func (s DescribeProblemObservationsInput) String() string
String returns the string representation
func (*DescribeProblemObservationsInput) Validate ¶
func (s *DescribeProblemObservationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProblemObservationsOutput ¶
type DescribeProblemObservationsOutput struct { // Observations related to the problem. RelatedObservations *RelatedObservations `type:"structure"` // contains filtered or unexported fields }
func (DescribeProblemObservationsOutput) String ¶
func (s DescribeProblemObservationsOutput) String() string
String returns the string representation
type DescribeProblemObservationsRequest ¶
type DescribeProblemObservationsRequest struct { *aws.Request Input *DescribeProblemObservationsInput Copy func(*DescribeProblemObservationsInput) DescribeProblemObservationsRequest }
DescribeProblemObservationsRequest is the request type for the DescribeProblemObservations API operation.
func (DescribeProblemObservationsRequest) Send ¶
func (r DescribeProblemObservationsRequest) Send(ctx context.Context) (*DescribeProblemObservationsResponse, error)
Send marshals and sends the DescribeProblemObservations API request.
type DescribeProblemObservationsResponse ¶
type DescribeProblemObservationsResponse struct { *DescribeProblemObservationsOutput // contains filtered or unexported fields }
DescribeProblemObservationsResponse is the response type for the DescribeProblemObservations API operation.
func (*DescribeProblemObservationsResponse) SDKResponseMetdata ¶
func (r *DescribeProblemObservationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeProblemObservations request.
type DescribeProblemOutput ¶
type DescribeProblemOutput struct { // Information about the problem. Problem *Problem `type:"structure"` // contains filtered or unexported fields }
func (DescribeProblemOutput) String ¶
func (s DescribeProblemOutput) String() string
String returns the string representation
type DescribeProblemRequest ¶
type DescribeProblemRequest struct { *aws.Request Input *DescribeProblemInput Copy func(*DescribeProblemInput) DescribeProblemRequest }
DescribeProblemRequest is the request type for the DescribeProblem API operation.
func (DescribeProblemRequest) Send ¶
func (r DescribeProblemRequest) Send(ctx context.Context) (*DescribeProblemResponse, error)
Send marshals and sends the DescribeProblem API request.
type DescribeProblemResponse ¶
type DescribeProblemResponse struct { *DescribeProblemOutput // contains filtered or unexported fields }
DescribeProblemResponse is the response type for the DescribeProblem API operation.
func (*DescribeProblemResponse) SDKResponseMetdata ¶
func (r *DescribeProblemResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeProblem request.
type FeedbackKey ¶
type FeedbackKey string
const (
FeedbackKeyInsightsFeedback FeedbackKey = "INSIGHTS_FEEDBACK"
)
Enum values for FeedbackKey
func (FeedbackKey) MarshalValue ¶
func (enum FeedbackKey) MarshalValue() (string, error)
func (FeedbackKey) MarshalValueBuf ¶
func (enum FeedbackKey) MarshalValueBuf(b []byte) ([]byte, error)
type FeedbackValue ¶
type FeedbackValue string
const ( FeedbackValueNotSpecified FeedbackValue = "NOT_SPECIFIED" FeedbackValueUseful FeedbackValue = "USEFUL" FeedbackValueNotUseful FeedbackValue = "NOT_USEFUL" )
Enum values for FeedbackValue
func (FeedbackValue) MarshalValue ¶
func (enum FeedbackValue) MarshalValue() (string, error)
func (FeedbackValue) MarshalValueBuf ¶
func (enum FeedbackValue) MarshalValueBuf(b []byte) ([]byte, error)
type ListApplicationsInput ¶
type ListApplicationsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListApplicationsInput) String ¶
func (s ListApplicationsInput) String() string
String returns the string representation
func (*ListApplicationsInput) Validate ¶
func (s *ListApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { // The list of applications. ApplicationInfoList []ApplicationInfo `type:"list"` // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation
type ListApplicationsPaginator ¶
ListApplicationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListApplicationsPaginator ¶
func NewListApplicationsPaginator(req ListApplicationsRequest) ListApplicationsPaginator
NewListApplicationsRequestPaginator returns a paginator for ListApplications. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListApplicationsRequest(input) p := applicationinsights.NewListApplicationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListApplicationsPaginator) CurrentPage ¶
func (p *ListApplicationsPaginator) CurrentPage() *ListApplicationsOutput
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { *aws.Request Input *ListApplicationsInput Copy func(*ListApplicationsInput) ListApplicationsRequest }
ListApplicationsRequest is the request type for the ListApplications API operation.
func (ListApplicationsRequest) Send ¶
func (r ListApplicationsRequest) Send(ctx context.Context) (*ListApplicationsResponse, error)
Send marshals and sends the ListApplications API request.
type ListApplicationsResponse ¶
type ListApplicationsResponse struct { *ListApplicationsOutput // contains filtered or unexported fields }
ListApplicationsResponse is the response type for the ListApplications API operation.
func (*ListApplicationsResponse) SDKResponseMetdata ¶
func (r *ListApplicationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApplications request.
type ListComponentsInput ¶
type ListComponentsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ListComponentsInput) String ¶
func (s ListComponentsInput) String() string
String returns the string representation
func (*ListComponentsInput) Validate ¶
func (s *ListComponentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListComponentsOutput ¶
type ListComponentsOutput struct { // The list of application components. ApplicationComponentList []ApplicationComponent `type:"list"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListComponentsOutput) String ¶
func (s ListComponentsOutput) String() string
String returns the string representation
type ListComponentsPaginator ¶
ListComponentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListComponentsPaginator ¶
func NewListComponentsPaginator(req ListComponentsRequest) ListComponentsPaginator
NewListComponentsRequestPaginator returns a paginator for ListComponents. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListComponentsRequest(input) p := applicationinsights.NewListComponentsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListComponentsPaginator) CurrentPage ¶
func (p *ListComponentsPaginator) CurrentPage() *ListComponentsOutput
type ListComponentsRequest ¶
type ListComponentsRequest struct { *aws.Request Input *ListComponentsInput Copy func(*ListComponentsInput) ListComponentsRequest }
ListComponentsRequest is the request type for the ListComponents API operation.
func (ListComponentsRequest) Send ¶
func (r ListComponentsRequest) Send(ctx context.Context) (*ListComponentsResponse, error)
Send marshals and sends the ListComponents API request.
type ListComponentsResponse ¶
type ListComponentsResponse struct { *ListComponentsOutput // contains filtered or unexported fields }
ListComponentsResponse is the response type for the ListComponents API operation.
func (*ListComponentsResponse) SDKResponseMetdata ¶
func (r *ListComponentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListComponents request.
type ListProblemsInput ¶
type ListProblemsInput struct { // The time when the problem ended, in epoch seconds. If not specified, problems // within the past seven days are returned. EndTime *time.Time `type:"timestamp"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The name of the resource group. ResourceGroupName *string `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) String ¶
func (s ListProblemsInput) String() string
String returns the string representation
func (*ListProblemsInput) Validate ¶
func (s *ListProblemsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProblemsOutput ¶
type ListProblemsOutput struct { // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `type:"string"` // The list of problems. ProblemList []Problem `type:"list"` // contains filtered or unexported fields }
func (ListProblemsOutput) String ¶
func (s ListProblemsOutput) String() string
String returns the string representation
type ListProblemsPaginator ¶
ListProblemsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListProblemsPaginator ¶
func NewListProblemsPaginator(req ListProblemsRequest) ListProblemsPaginator
NewListProblemsRequestPaginator returns a paginator for ListProblems. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListProblemsRequest(input) p := applicationinsights.NewListProblemsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListProblemsPaginator) CurrentPage ¶
func (p *ListProblemsPaginator) CurrentPage() *ListProblemsOutput
type ListProblemsRequest ¶
type ListProblemsRequest struct { *aws.Request Input *ListProblemsInput Copy func(*ListProblemsInput) ListProblemsRequest }
ListProblemsRequest is the request type for the ListProblems API operation.
func (ListProblemsRequest) Send ¶
func (r ListProblemsRequest) Send(ctx context.Context) (*ListProblemsResponse, error)
Send marshals and sends the ListProblems API request.
type ListProblemsResponse ¶
type ListProblemsResponse struct { *ListProblemsOutput // contains filtered or unexported fields }
ListProblemsResponse is the response type for the ListProblems API operation.
func (*ListProblemsResponse) SDKResponseMetdata ¶
func (r *ListProblemsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListProblems request.
type LogFilter ¶
type LogFilter string
const ( LogFilterError LogFilter = "ERROR" LogFilterWarn LogFilter = "WARN" LogFilterInfo LogFilter = "INFO" )
Enum values for LogFilter
func (LogFilter) MarshalValue ¶
type Observation ¶
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 LogFilter `type:"string" enum:"true"` // 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) String ¶
func (s Observation) String() string
String returns the string representation
type Problem ¶
type Problem struct { // The resource affected by the problem. AffectedResource *string `type:"string"` // The time when the problem ended, in epoch seconds. EndTime *time.Time `type:"timestamp"` // Feedback provided by the user about the problem. Feedback map[string]FeedbackValue `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 SeverityLevel `type:"string" enum:"true"` // The time when the problem started, in epoch seconds. StartTime *time.Time `type:"timestamp"` // The status of the problem. Status Status `type:"string" enum:"true"` // The name of the problem. Title *string `type:"string"` // contains filtered or unexported fields }
Describes a problem that is detected by correlating observations.
type RelatedObservations ¶
type RelatedObservations struct { // The list of observations related to the problem. ObservationList []Observation `type:"list"` // contains filtered or unexported fields }
Describes observations related to the problem.
func (RelatedObservations) String ¶
func (s RelatedObservations) String() string
String returns the string representation
type SeverityLevel ¶
type SeverityLevel string
const ( SeverityLevelLow SeverityLevel = "LOW" SeverityLevelMedium SeverityLevel = "MEDIUM" SeverityLevelHigh SeverityLevel = "HIGH" )
Enum values for SeverityLevel
func (SeverityLevel) MarshalValue ¶
func (enum SeverityLevel) MarshalValue() (string, error)
func (SeverityLevel) MarshalValueBuf ¶
func (enum SeverityLevel) MarshalValueBuf(b []byte) ([]byte, error)
type Status ¶
type Status string
const ( StatusIgnore Status = "IGNORE" StatusResolved Status = "RESOLVED" StatusPending Status = "PENDING" )
Enum values for Status
func (Status) MarshalValue ¶
type UpdateApplicationInput ¶ added in v0.11.0
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) String ¶ added in v0.11.0
func (s UpdateApplicationInput) String() string
String returns the string representation
func (*UpdateApplicationInput) Validate ¶ added in v0.11.0
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationOutput ¶ added in v0.11.0
type UpdateApplicationOutput struct { // Information about the application. ApplicationInfo *ApplicationInfo `type:"structure"` // contains filtered or unexported fields }
func (UpdateApplicationOutput) String ¶ added in v0.11.0
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateApplicationRequest ¶ added in v0.11.0
type UpdateApplicationRequest struct { *aws.Request Input *UpdateApplicationInput Copy func(*UpdateApplicationInput) UpdateApplicationRequest }
UpdateApplicationRequest is the request type for the UpdateApplication API operation.
func (UpdateApplicationRequest) Send ¶ added in v0.11.0
func (r UpdateApplicationRequest) Send(ctx context.Context) (*UpdateApplicationResponse, error)
Send marshals and sends the UpdateApplication API request.
type UpdateApplicationResponse ¶ added in v0.11.0
type UpdateApplicationResponse struct { *UpdateApplicationOutput // contains filtered or unexported fields }
UpdateApplicationResponse is the response type for the UpdateApplication API operation.
func (*UpdateApplicationResponse) SDKResponseMetdata ¶ added in v0.11.0
func (r *UpdateApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApplication request.
type UpdateComponentConfigurationInput ¶
type UpdateComponentConfigurationInput struct { // The configuration settings of the component. The value is the escaped JSON // of the configuration. For more information about the JSON format, see Working // with JSON (https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html). // You can send a request to DescribeComponentConfigurationRecommendation to // see the recommended configuration for a component. 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) String ¶
func (s UpdateComponentConfigurationInput) String() string
String returns the string representation
func (*UpdateComponentConfigurationInput) Validate ¶
func (s *UpdateComponentConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateComponentConfigurationOutput ¶
type UpdateComponentConfigurationOutput struct {
// contains filtered or unexported fields
}
func (UpdateComponentConfigurationOutput) String ¶
func (s UpdateComponentConfigurationOutput) String() string
String returns the string representation
type UpdateComponentConfigurationRequest ¶
type UpdateComponentConfigurationRequest struct { *aws.Request Input *UpdateComponentConfigurationInput Copy func(*UpdateComponentConfigurationInput) UpdateComponentConfigurationRequest }
UpdateComponentConfigurationRequest is the request type for the UpdateComponentConfiguration API operation.
func (UpdateComponentConfigurationRequest) Send ¶
func (r UpdateComponentConfigurationRequest) Send(ctx context.Context) (*UpdateComponentConfigurationResponse, error)
Send marshals and sends the UpdateComponentConfiguration API request.
type UpdateComponentConfigurationResponse ¶
type UpdateComponentConfigurationResponse struct { *UpdateComponentConfigurationOutput // contains filtered or unexported fields }
UpdateComponentConfigurationResponse is the response type for the UpdateComponentConfiguration API operation.
func (*UpdateComponentConfigurationResponse) SDKResponseMetdata ¶
func (r *UpdateComponentConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateComponentConfiguration request.
type UpdateComponentInput ¶
type UpdateComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The new name of the component. NewComponentName *string `type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `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) String ¶
func (s UpdateComponentInput) String() string
String returns the string representation
func (*UpdateComponentInput) Validate ¶
func (s *UpdateComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateComponentOutput ¶
type UpdateComponentOutput struct {
// contains filtered or unexported fields
}
func (UpdateComponentOutput) String ¶
func (s UpdateComponentOutput) String() string
String returns the string representation
type UpdateComponentRequest ¶
type UpdateComponentRequest struct { *aws.Request Input *UpdateComponentInput Copy func(*UpdateComponentInput) UpdateComponentRequest }
UpdateComponentRequest is the request type for the UpdateComponent API operation.
func (UpdateComponentRequest) Send ¶
func (r UpdateComponentRequest) Send(ctx context.Context) (*UpdateComponentResponse, error)
Send marshals and sends the UpdateComponent API request.
type UpdateComponentResponse ¶
type UpdateComponentResponse struct { *UpdateComponentOutput // contains filtered or unexported fields }
UpdateComponentResponse is the response type for the UpdateComponent API operation.
func (*UpdateComponentResponse) SDKResponseMetdata ¶
func (r *UpdateComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateComponent request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CreateApplication.go
- api_op_CreateComponent.go
- api_op_DeleteApplication.go
- api_op_DeleteComponent.go
- api_op_DescribeApplication.go
- api_op_DescribeComponent.go
- api_op_DescribeComponentConfiguration.go
- api_op_DescribeComponentConfigurationRecommendation.go
- api_op_DescribeObservation.go
- api_op_DescribeProblem.go
- api_op_DescribeProblemObservations.go
- api_op_ListApplications.go
- api_op_ListComponents.go
- api_op_ListProblems.go
- api_op_UpdateApplication.go
- api_op_UpdateComponent.go
- api_op_UpdateComponentConfiguration.go
- api_types.go
Directories ¶
Path | Synopsis |
---|---|
Package applicationinsightsiface provides an interface to enable mocking the Amazon CloudWatch Application Insights service client for testing your code.
|
Package applicationinsightsiface provides an interface to enable mocking the Amazon CloudWatch Application Insights service client for testing your code. |