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) CreateLogPatternRequest(input *CreateLogPatternInput) CreateLogPatternRequest
- func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
- func (c *Client) DeleteComponentRequest(input *DeleteComponentInput) DeleteComponentRequest
- func (c *Client) DeleteLogPatternRequest(input *DeleteLogPatternInput) DeleteLogPatternRequest
- 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) DescribeLogPatternRequest(input *DescribeLogPatternInput) DescribeLogPatternRequest
- 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) ListConfigurationHistoryRequest(input *ListConfigurationHistoryInput) ListConfigurationHistoryRequest
- func (c *Client) ListLogPatternSetsRequest(input *ListLogPatternSetsInput) ListLogPatternSetsRequest
- func (c *Client) ListLogPatternsRequest(input *ListLogPatternsInput) ListLogPatternsRequest
- func (c *Client) ListProblemsRequest(input *ListProblemsInput) ListProblemsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
- func (c *Client) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) UpdateComponentConfigurationRequest
- func (c *Client) UpdateComponentRequest(input *UpdateComponentInput) UpdateComponentRequest
- func (c *Client) UpdateLogPatternRequest(input *UpdateLogPatternInput) UpdateLogPatternRequest
- type CloudWatchEventSource
- type ConfigurationEvent
- type ConfigurationEventResourceType
- type ConfigurationEventStatus
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateApplicationRequest
- type CreateApplicationResponse
- type CreateComponentInput
- type CreateComponentOutput
- type CreateComponentRequest
- type CreateComponentResponse
- type CreateLogPatternInput
- type CreateLogPatternOutput
- type CreateLogPatternRequest
- type CreateLogPatternResponse
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteComponentInput
- type DeleteComponentOutput
- type DeleteComponentRequest
- type DeleteComponentResponse
- type DeleteLogPatternInput
- type DeleteLogPatternOutput
- type DeleteLogPatternRequest
- type DeleteLogPatternResponse
- 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 DescribeLogPatternInput
- type DescribeLogPatternOutput
- type DescribeLogPatternRequest
- type DescribeLogPatternResponse
- 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 ListConfigurationHistoryInput
- type ListConfigurationHistoryOutput
- type ListConfigurationHistoryPaginator
- type ListConfigurationHistoryRequest
- type ListConfigurationHistoryResponse
- type ListLogPatternSetsInput
- type ListLogPatternSetsOutput
- type ListLogPatternSetsPaginator
- type ListLogPatternSetsRequest
- type ListLogPatternSetsResponse
- type ListLogPatternsInput
- type ListLogPatternsOutput
- type ListLogPatternsPaginator
- type ListLogPatternsRequest
- type ListLogPatternsResponse
- type ListProblemsInput
- type ListProblemsOutput
- type ListProblemsPaginator
- type ListProblemsRequest
- type ListProblemsResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type LogFilter
- type LogPattern
- type Observation
- type Problem
- type RelatedObservations
- type SeverityLevel
- type Status
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type Tier
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateApplicationRequest
- type UpdateApplicationResponse
- type UpdateComponentConfigurationInput
- type UpdateComponentConfigurationOutput
- type UpdateComponentConfigurationRequest
- type UpdateComponentConfigurationResponse
- type UpdateComponentInput
- type UpdateComponentOutput
- type UpdateComponentRequest
- type UpdateComponentResponse
- type UpdateLogPatternInput
- type UpdateLogPatternOutput
- type UpdateLogPatternRequest
- type UpdateLogPatternResponse
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" // ErrCodeTagsAlreadyExistException for service response error code // "TagsAlreadyExistException". // // Tags are already registered for the specified application ARN. ErrCodeTagsAlreadyExistException = "TagsAlreadyExistException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // The number of the provided tags is beyond the limit, or the number of total // tags you are trying to attach to the specified resource exceeds the limit. ErrCodeTooManyTagsException = "TooManyTagsException" // ErrCodeValidationException for service response error code // "ValidationException". // // The parameter is not valid. ErrCodeValidationException = "ValidationException" )
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 Tier `min:"1" type:"string" enum:"true"` // 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 { // Indicates whether Application Insights can listen to CloudWatch events for // the application resources, such as instance terminated, failed deployment, // and others. CWEMonitorEnabled *bool `type:"boolean"` // The lifecycle of the application. LifeCycle *string `type:"string"` // Indicates whether Application Insights will create opsItems for any problem // detected by Application Insights for an application. OpsCenterEnabled *bool `type:"boolean"` // The SNS topic provided to Application Insights that is associated to the // created opsItems to receive SNS notifications for opsItem updates. OpsItemSNSTopicArn *string `min:"20" type:"string"` // The issues on the user side that block Application Insights from successfully // monitoring an application. Example remarks include: // // * “Configuring application, detected 1 Errors, 3 Warnings” // // * “Configuring application, detected 1 Unconfigured Components” Remarks *string `type:"string"` // The name of the resource group used for the application. ResourceGroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the status of the application.
func (ApplicationInfo) 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) CreateLogPatternRequest ¶ added in v0.18.0
func (c *Client) CreateLogPatternRequest(input *CreateLogPatternInput) CreateLogPatternRequest
CreateLogPatternRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Adds an log pattern to a LogPatternSet.
// Example sending a request using CreateLogPatternRequest. req := client.CreateLogPatternRequest(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/CreateLogPattern
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) DeleteLogPatternRequest ¶ added in v0.18.0
func (c *Client) DeleteLogPatternRequest(input *DeleteLogPatternInput) DeleteLogPatternRequest
DeleteLogPatternRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Removes the specified log pattern from a LogPatternSet.
// Example sending a request using DeleteLogPatternRequest. req := client.DeleteLogPatternRequest(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/DeleteLogPattern
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) DescribeLogPatternRequest ¶ added in v0.18.0
func (c *Client) DescribeLogPatternRequest(input *DescribeLogPatternInput) DescribeLogPatternRequest
DescribeLogPatternRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Describe a specific log pattern from a LogPatternSet.
// Example sending a request using DescribeLogPatternRequest. req := client.DescribeLogPatternRequest(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/DescribeLogPattern
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) ListConfigurationHistoryRequest ¶ added in v0.19.0
func (c *Client) ListConfigurationHistoryRequest(input *ListConfigurationHistoryInput) ListConfigurationHistoryRequest
ListConfigurationHistoryRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
INFO: creating a new alarm or updating an alarm threshold.
WARN: alarm not created due to insufficient data points used to predict thresholds.
ERROR: alarm not created due to permission errors or exceeding quotas.
// Example sending a request using ListConfigurationHistoryRequest. req := client.ListConfigurationHistoryRequest(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/ListConfigurationHistory
func (*Client) ListLogPatternSetsRequest ¶ added in v0.18.0
func (c *Client) ListLogPatternSetsRequest(input *ListLogPatternSetsInput) ListLogPatternSetsRequest
ListLogPatternSetsRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Lists the log pattern sets in the specific application.
// Example sending a request using ListLogPatternSetsRequest. req := client.ListLogPatternSetsRequest(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/ListLogPatternSets
func (*Client) ListLogPatternsRequest ¶ added in v0.18.0
func (c *Client) ListLogPatternsRequest(input *ListLogPatternsInput) ListLogPatternsRequest
ListLogPatternsRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Lists the log patterns in the specific log LogPatternSet.
// Example sending a request using ListLogPatternsRequest. req := client.ListLogPatternsRequest(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/ListLogPatterns
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) ListTagsForResourceRequest ¶ added in v0.18.0
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(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/ListTagsForResource
func (*Client) TagResourceRequest ¶ added in v0.18.0
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(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/TagResource
func (*Client) UntagResourceRequest ¶ added in v0.18.0
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Remove one or more tags (keys and values) from a specified application.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(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/UntagResource
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
func (*Client) UpdateLogPatternRequest ¶ added in v0.18.0
func (c *Client) UpdateLogPatternRequest(input *UpdateLogPatternInput) UpdateLogPatternRequest
UpdateLogPatternRequest returns a request value for making API operation for Amazon CloudWatch Application Insights.
Adds a log pattern to a LogPatternSet.
// Example sending a request using UpdateLogPatternRequest. req := client.UpdateLogPatternRequest(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/UpdateLogPattern
type CloudWatchEventSource ¶ added in v0.21.0
type CloudWatchEventSource string
const ( CloudWatchEventSourceEc2 CloudWatchEventSource = "EC2" CloudWatchEventSourceCodeDeploy CloudWatchEventSource = "CODE_DEPLOY" CloudWatchEventSourceHealth CloudWatchEventSource = "HEALTH" )
Enum values for CloudWatchEventSource
func (CloudWatchEventSource) MarshalValue ¶ added in v0.21.0
func (enum CloudWatchEventSource) MarshalValue() (string, error)
func (CloudWatchEventSource) MarshalValueBuf ¶ added in v0.21.0
func (enum CloudWatchEventSource) MarshalValueBuf(b []byte) ([]byte, error)
type ConfigurationEvent ¶ added in v0.19.0
type ConfigurationEvent struct { // The details of the event in plain text. EventDetail *string `type:"string"` // The name of the resource Application Insights attempted to configure. EventResourceName *string `type:"string"` // The resource type that Application Insights attempted to configure, for example, // CLOUDWATCH_ALARM. EventResourceType ConfigurationEventResourceType `type:"string" enum:"true"` // The status of the configuration update event. Possible values include INFO, // WARN, and ERROR. EventStatus ConfigurationEventStatus `type:"string" enum:"true"` // The timestamp of the event. EventTime *time.Time `type:"timestamp"` // The resource monitored by Application Insights. MonitoredResourceARN *string `type:"string"` // contains filtered or unexported fields }
The event information.
func (ConfigurationEvent) String ¶ added in v0.19.0
func (s ConfigurationEvent) String() string
String returns the string representation
type ConfigurationEventResourceType ¶ added in v0.19.0
type ConfigurationEventResourceType string
const ( ConfigurationEventResourceTypeCloudwatchAlarm ConfigurationEventResourceType = "CLOUDWATCH_ALARM" ConfigurationEventResourceTypeCloudformation ConfigurationEventResourceType = "CLOUDFORMATION" ConfigurationEventResourceTypeSsmAssociation ConfigurationEventResourceType = "SSM_ASSOCIATION" )
Enum values for ConfigurationEventResourceType
func (ConfigurationEventResourceType) MarshalValue ¶ added in v0.19.0
func (enum ConfigurationEventResourceType) MarshalValue() (string, error)
func (ConfigurationEventResourceType) MarshalValueBuf ¶ added in v0.19.0
func (enum ConfigurationEventResourceType) MarshalValueBuf(b []byte) ([]byte, error)
type ConfigurationEventStatus ¶ added in v0.19.0
type ConfigurationEventStatus string
const ( ConfigurationEventStatusInfo ConfigurationEventStatus = "INFO" ConfigurationEventStatusWarn ConfigurationEventStatus = "WARN" ConfigurationEventStatusError ConfigurationEventStatus = "ERROR" )
Enum values for ConfigurationEventStatus
func (ConfigurationEventStatus) MarshalValue ¶ added in v0.19.0
func (enum ConfigurationEventStatus) MarshalValue() (string, error)
func (ConfigurationEventStatus) MarshalValueBuf ¶ added in v0.19.0
func (enum ConfigurationEventStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CreateApplicationInput ¶
type CreateApplicationInput struct { // Indicates whether Application Insights can listen to CloudWatch events for // the application resources, such as instance terminated, failed deployment, // and others. CWEMonitorEnabled *bool `type:"boolean"` // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool `type:"boolean"` // The SNS topic provided to Application Insights that is associated to the // created opsItem. Allows you to receive notifications for updates to the opsItem. OpsItemSNSTopicArn *string `min:"20" type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // List of tags to add to the application. tag key (Key) and an associated tag // value (Value). The maximum length of a tag key is 128 characters. The maximum // length of a tag value is 256 characters. Tags []Tag `type:"list"` // contains filtered or unexported fields }
func (CreateApplicationInput) 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 `min:"1" type:"string" required:"true"` // The list of resource ARNs that belong to the component. // // ResourceList is a required field ResourceList []string `type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateComponentInput) 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 CreateLogPatternInput ¶ added in v0.18.0
type CreateLogPatternInput struct { // The log pattern. // // Pattern is a required field Pattern *string `min:"1" type:"string" required:"true"` // The name of the log pattern. // // PatternName is a required field PatternName *string `min:"1" type:"string" required:"true"` // The name of the log pattern set. // // PatternSetName is a required field PatternSetName *string `min:"1" type:"string" required:"true"` // Rank of the log pattern. // // Rank is a required field Rank *int64 `type:"integer" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateLogPatternInput) String ¶ added in v0.18.0
func (s CreateLogPatternInput) String() string
String returns the string representation
func (*CreateLogPatternInput) Validate ¶ added in v0.18.0
func (s *CreateLogPatternInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLogPatternOutput ¶ added in v0.18.0
type CreateLogPatternOutput struct { // The successfully created log pattern. LogPattern *LogPattern `type:"structure"` // The name of the resource group. ResourceGroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateLogPatternOutput) String ¶ added in v0.18.0
func (s CreateLogPatternOutput) String() string
String returns the string representation
type CreateLogPatternRequest ¶ added in v0.18.0
type CreateLogPatternRequest struct { *aws.Request Input *CreateLogPatternInput Copy func(*CreateLogPatternInput) CreateLogPatternRequest }
CreateLogPatternRequest is the request type for the CreateLogPattern API operation.
func (CreateLogPatternRequest) Send ¶ added in v0.18.0
func (r CreateLogPatternRequest) Send(ctx context.Context) (*CreateLogPatternResponse, error)
Send marshals and sends the CreateLogPattern API request.
type CreateLogPatternResponse ¶ added in v0.18.0
type CreateLogPatternResponse struct { *CreateLogPatternOutput // contains filtered or unexported fields }
CreateLogPatternResponse is the response type for the CreateLogPattern API operation.
func (*CreateLogPatternResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *CreateLogPatternResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateLogPattern request.
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteApplicationInput) 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 `min:"1" 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 DeleteLogPatternInput ¶ added in v0.18.0
type DeleteLogPatternInput struct { // The name of the log pattern. // // PatternName is a required field PatternName *string `min:"1" type:"string" required:"true"` // The name of the log pattern set. // // PatternSetName is a required field PatternSetName *string `min:"1" type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteLogPatternInput) String ¶ added in v0.18.0
func (s DeleteLogPatternInput) String() string
String returns the string representation
func (*DeleteLogPatternInput) Validate ¶ added in v0.18.0
func (s *DeleteLogPatternInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLogPatternOutput ¶ added in v0.18.0
type DeleteLogPatternOutput struct {
// contains filtered or unexported fields
}
func (DeleteLogPatternOutput) String ¶ added in v0.18.0
func (s DeleteLogPatternOutput) String() string
String returns the string representation
type DeleteLogPatternRequest ¶ added in v0.18.0
type DeleteLogPatternRequest struct { *aws.Request Input *DeleteLogPatternInput Copy func(*DeleteLogPatternInput) DeleteLogPatternRequest }
DeleteLogPatternRequest is the request type for the DeleteLogPattern API operation.
func (DeleteLogPatternRequest) Send ¶ added in v0.18.0
func (r DeleteLogPatternRequest) Send(ctx context.Context) (*DeleteLogPatternResponse, error)
Send marshals and sends the DeleteLogPattern API request.
type DeleteLogPatternResponse ¶ added in v0.18.0
type DeleteLogPatternResponse struct { *DeleteLogPatternOutput // contains filtered or unexported fields }
DeleteLogPatternResponse is the response type for the DeleteLogPattern API operation.
func (*DeleteLogPatternResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *DeleteLogPatternResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteLogPattern request.
type DescribeApplicationInput ¶
type DescribeApplicationInput struct { // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeApplicationInput) 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 `min:"1" 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 `min:"1" type:"string"` // Indicates whether the application component is monitored. Monitor *bool `type:"boolean"` // The tier of the application component. Supported tiers include DOT_NET_CORE, // DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT Tier Tier `min:"1" type:"string" enum:"true"` // 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 `min:"1" type:"string" required:"true"` // The tier of the application component. Supported tiers include DOT_NET_CORE, // DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT. // // Tier is a required field Tier Tier `min:"1" type:"string" required:"true" enum:"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 `min:"1" 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 `min:"1" 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 DescribeLogPatternInput ¶ added in v0.18.0
type DescribeLogPatternInput struct { // The name of the log pattern. // // PatternName is a required field PatternName *string `min:"1" type:"string" required:"true"` // The name of the log pattern set. // // PatternSetName is a required field PatternSetName *string `min:"1" type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeLogPatternInput) String ¶ added in v0.18.0
func (s DescribeLogPatternInput) String() string
String returns the string representation
func (*DescribeLogPatternInput) Validate ¶ added in v0.18.0
func (s *DescribeLogPatternInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLogPatternOutput ¶ added in v0.18.0
type DescribeLogPatternOutput struct { // The successfully created log pattern. LogPattern *LogPattern `type:"structure"` // The name of the resource group. ResourceGroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (DescribeLogPatternOutput) String ¶ added in v0.18.0
func (s DescribeLogPatternOutput) String() string
String returns the string representation
type DescribeLogPatternRequest ¶ added in v0.18.0
type DescribeLogPatternRequest struct { *aws.Request Input *DescribeLogPatternInput Copy func(*DescribeLogPatternInput) DescribeLogPatternRequest }
DescribeLogPatternRequest is the request type for the DescribeLogPattern API operation.
func (DescribeLogPatternRequest) Send ¶ added in v0.18.0
func (r DescribeLogPatternRequest) Send(ctx context.Context) (*DescribeLogPatternResponse, error)
Send marshals and sends the DescribeLogPattern API request.
type DescribeLogPatternResponse ¶ added in v0.18.0
type DescribeLogPatternResponse struct { *DescribeLogPatternOutput // contains filtered or unexported fields }
DescribeLogPatternResponse is the response type for the DescribeLogPattern API operation.
func (*DescribeLogPatternResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *DescribeLogPatternResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeLogPattern request.
type DescribeObservationInput ¶
type DescribeObservationInput struct { // The ID of the observation. // // ObservationId is a required field ObservationId *string `min:"38" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeObservationInput) 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 `min:"38" 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 `min:"38" 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 `min:"1" 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 ListConfigurationHistoryInput ¶ added in v0.19.0
type ListConfigurationHistoryInput struct { // The end time of the event. EndTime *time.Time `type:"timestamp"` // The status of the configuration update event. Possible values include INFO, // WARN, and ERROR. EventStatus ConfigurationEventStatus `type:"string" enum:"true"` // The maximum number of results returned by ListConfigurationHistory in paginated // output. When this parameter is used, ListConfigurationHistory returns only // MaxResults in a single page along with a NextToken response element. The // remaining results of the initial request can be seen by sending another ListConfigurationHistory // request with the returned NextToken value. If this parameter is not used, // then ListConfigurationHistory returns all results. MaxResults *int64 `min:"1" type:"integer"` // The NextToken value returned from a previous paginated ListConfigurationHistory // request where MaxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the NextToken value. This value is null when there are no more results // to return. NextToken *string `type:"string"` // Resource group to which the application belongs. ResourceGroupName *string `min:"1" type:"string"` // The start time of the event. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (ListConfigurationHistoryInput) String ¶ added in v0.19.0
func (s ListConfigurationHistoryInput) String() string
String returns the string representation
func (*ListConfigurationHistoryInput) Validate ¶ added in v0.19.0
func (s *ListConfigurationHistoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListConfigurationHistoryOutput ¶ added in v0.19.0
type ListConfigurationHistoryOutput struct { // The list of configuration events and their corresponding details. EventList []ConfigurationEvent `type:"list"` // The NextToken value to include in a future ListConfigurationHistory request. // When the results of a ListConfigurationHistory request exceed MaxResults, // this value can be used to retrieve the next page of results. This value is // null when there are no more results to return. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListConfigurationHistoryOutput) String ¶ added in v0.19.0
func (s ListConfigurationHistoryOutput) String() string
String returns the string representation
type ListConfigurationHistoryPaginator ¶ added in v0.19.0
ListConfigurationHistoryPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListConfigurationHistoryPaginator ¶ added in v0.19.0
func NewListConfigurationHistoryPaginator(req ListConfigurationHistoryRequest) ListConfigurationHistoryPaginator
NewListConfigurationHistoryRequestPaginator returns a paginator for ListConfigurationHistory. 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.ListConfigurationHistoryRequest(input) p := applicationinsights.NewListConfigurationHistoryRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListConfigurationHistoryPaginator) CurrentPage ¶ added in v0.19.0
func (p *ListConfigurationHistoryPaginator) CurrentPage() *ListConfigurationHistoryOutput
type ListConfigurationHistoryRequest ¶ added in v0.19.0
type ListConfigurationHistoryRequest struct { *aws.Request Input *ListConfigurationHistoryInput Copy func(*ListConfigurationHistoryInput) ListConfigurationHistoryRequest }
ListConfigurationHistoryRequest is the request type for the ListConfigurationHistory API operation.
func (ListConfigurationHistoryRequest) Send ¶ added in v0.19.0
func (r ListConfigurationHistoryRequest) Send(ctx context.Context) (*ListConfigurationHistoryResponse, error)
Send marshals and sends the ListConfigurationHistory API request.
type ListConfigurationHistoryResponse ¶ added in v0.19.0
type ListConfigurationHistoryResponse struct { *ListConfigurationHistoryOutput // contains filtered or unexported fields }
ListConfigurationHistoryResponse is the response type for the ListConfigurationHistory API operation.
func (*ListConfigurationHistoryResponse) SDKResponseMetdata ¶ added in v0.19.0
func (r *ListConfigurationHistoryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListConfigurationHistory request.
type ListLogPatternSetsInput ¶ added in v0.18.0
type ListLogPatternSetsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListLogPatternSetsInput) String ¶ added in v0.18.0
func (s ListLogPatternSetsInput) String() string
String returns the string representation
func (*ListLogPatternSetsInput) Validate ¶ added in v0.18.0
func (s *ListLogPatternSetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLogPatternSetsOutput ¶ added in v0.18.0
type ListLogPatternSetsOutput struct { // The list of log pattern sets. LogPatternSets []string `type:"list"` // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `type:"string"` // The name of the resource group. ResourceGroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListLogPatternSetsOutput) String ¶ added in v0.18.0
func (s ListLogPatternSetsOutput) String() string
String returns the string representation
type ListLogPatternSetsPaginator ¶ added in v0.18.0
ListLogPatternSetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListLogPatternSetsPaginator ¶ added in v0.18.0
func NewListLogPatternSetsPaginator(req ListLogPatternSetsRequest) ListLogPatternSetsPaginator
NewListLogPatternSetsRequestPaginator returns a paginator for ListLogPatternSets. 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.ListLogPatternSetsRequest(input) p := applicationinsights.NewListLogPatternSetsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListLogPatternSetsPaginator) CurrentPage ¶ added in v0.18.0
func (p *ListLogPatternSetsPaginator) CurrentPage() *ListLogPatternSetsOutput
type ListLogPatternSetsRequest ¶ added in v0.18.0
type ListLogPatternSetsRequest struct { *aws.Request Input *ListLogPatternSetsInput Copy func(*ListLogPatternSetsInput) ListLogPatternSetsRequest }
ListLogPatternSetsRequest is the request type for the ListLogPatternSets API operation.
func (ListLogPatternSetsRequest) Send ¶ added in v0.18.0
func (r ListLogPatternSetsRequest) Send(ctx context.Context) (*ListLogPatternSetsResponse, error)
Send marshals and sends the ListLogPatternSets API request.
type ListLogPatternSetsResponse ¶ added in v0.18.0
type ListLogPatternSetsResponse struct { *ListLogPatternSetsOutput // contains filtered or unexported fields }
ListLogPatternSetsResponse is the response type for the ListLogPatternSets API operation.
func (*ListLogPatternSetsResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *ListLogPatternSetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListLogPatternSets request.
type ListLogPatternsInput ¶ added in v0.18.0
type ListLogPatternsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The name of the log pattern set. PatternSetName *string `min:"1" type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListLogPatternsInput) String ¶ added in v0.18.0
func (s ListLogPatternsInput) String() string
String returns the string representation
func (*ListLogPatternsInput) Validate ¶ added in v0.18.0
func (s *ListLogPatternsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLogPatternsOutput ¶ added in v0.18.0
type ListLogPatternsOutput struct { // The list of log patterns. LogPatterns []LogPattern `type:"list"` // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `type:"string"` // The name of the resource group. ResourceGroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListLogPatternsOutput) String ¶ added in v0.18.0
func (s ListLogPatternsOutput) String() string
String returns the string representation
type ListLogPatternsPaginator ¶ added in v0.18.0
ListLogPatternsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListLogPatternsPaginator ¶ added in v0.18.0
func NewListLogPatternsPaginator(req ListLogPatternsRequest) ListLogPatternsPaginator
NewListLogPatternsRequestPaginator returns a paginator for ListLogPatterns. 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.ListLogPatternsRequest(input) p := applicationinsights.NewListLogPatternsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListLogPatternsPaginator) CurrentPage ¶ added in v0.18.0
func (p *ListLogPatternsPaginator) CurrentPage() *ListLogPatternsOutput
type ListLogPatternsRequest ¶ added in v0.18.0
type ListLogPatternsRequest struct { *aws.Request Input *ListLogPatternsInput Copy func(*ListLogPatternsInput) ListLogPatternsRequest }
ListLogPatternsRequest is the request type for the ListLogPatterns API operation.
func (ListLogPatternsRequest) Send ¶ added in v0.18.0
func (r ListLogPatternsRequest) Send(ctx context.Context) (*ListLogPatternsResponse, error)
Send marshals and sends the ListLogPatterns API request.
type ListLogPatternsResponse ¶ added in v0.18.0
type ListLogPatternsResponse struct { *ListLogPatternsOutput // contains filtered or unexported fields }
ListLogPatternsResponse is the response type for the ListLogPatterns API operation.
func (*ListLogPatternsResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *ListLogPatternsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListLogPatterns 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 `min:"1" type:"string"` // The time when the problem was detected, in epoch seconds. If you don't specify // a time frame for the request, problems within the past seven days are returned. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (ListProblemsInput) 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 ListTagsForResourceInput ¶ added in v0.18.0
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the application that you want to retrieve // tag information for. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) String ¶ added in v0.18.0
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v0.18.0
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v0.18.0
type ListTagsForResourceOutput struct { // An array that lists all the tags that are associated with the application. // Each tag consists of a required tag key (Key) and an associated tag value // (Value). Tags []Tag `type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) String ¶ added in v0.18.0
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶ added in v0.18.0
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶ added in v0.18.0
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶ added in v0.18.0
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type LogFilter ¶
type LogFilter string
const ( LogFilterError LogFilter = "ERROR" LogFilterWarn LogFilter = "WARN" LogFilterInfo LogFilter = "INFO" )
Enum values for LogFilter
func (LogFilter) MarshalValue ¶
type LogPattern ¶ added in v0.18.0
type LogPattern struct { // A regular expression that defines the log pattern. A log pattern can contains // at many as 50 characters, and it cannot be empty. Pattern *string `min:"1" type:"string"` // The name of the log pattern. A log pattern name can contains at many as 50 // characters, and it cannot be empty. The characters can be Unicode letters, // digits or one of the following symbols: period, dash, underscore. PatternName *string `min:"1" type:"string"` // The name of the log pattern. A log pattern name can contains at many as 30 // characters, and it cannot be empty. The characters can be Unicode letters, // digits or one of the following symbols: period, dash, underscore. PatternSetName *string `min:"1" type:"string"` // Rank of the log pattern. Rank *int64 `type:"integer"` // contains filtered or unexported fields }
An object that defines the log patterns that belongs to a LogPatternSet.
func (LogPattern) String ¶ added in v0.18.0
func (s LogPattern) String() string
String returns the string representation
type Observation ¶
type Observation struct { // The detail type of the CloudWatch Event-based observation, for example, EC2 // Instance State-change Notification. CloudWatchEventDetailType *string `type:"string"` // The ID of the CloudWatch Event-based observation related to the detected // problem. CloudWatchEventId *string `type:"string"` // The source of the CloudWatch Event. CloudWatchEventSource CloudWatchEventSource `type:"string" enum:"true"` // The CodeDeploy application to which the deployment belongs. CodeDeployApplication *string `type:"string"` // The deployment group to which the CodeDeploy deployment belongs. CodeDeployDeploymentGroup *string `type:"string"` // The deployment ID of the CodeDeploy-based observation related to the detected // problem. CodeDeployDeploymentId *string `type:"string"` // The instance group to which the CodeDeploy instance belongs. CodeDeployInstanceGroupId *string `type:"string"` // The status of the CodeDeploy deployment, for example SUCCESS or FAILURE. CodeDeployState *string `type:"string"` // The state of the instance, such as STOPPING or TERMINATING. Ec2State *string `type:"string"` // The time when the observation ended, in epoch seconds. EndTime *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN) of the AWS Health Event-based observation. HealthEventArn *string `type:"string"` // The description of the AWS Health event provided by the service, such as // Amazon EC2. HealthEventDescription *string `type:"string"` // The category of the AWS Health event, such as issue. HealthEventTypeCategory *string `type:"string"` // The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE. HealthEventTypeCode *string `type:"string"` // The service to which the AWS Health Event belongs, such as EC2. HealthService *string `type:"string"` // The ID of the observation type. Id *string `min:"38" type:"string"` // The timestamp in the CloudWatch Logs that specifies when the matched line // occurred. LineTime *time.Time `type:"timestamp"` // The log filter of the observation. LogFilter 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"` // The X-Ray request error percentage for this node. XRayErrorPercent *int64 `type:"integer"` // The X-Ray request fault percentage for this node. XRayFaultPercent *int64 `type:"integer"` // The name of the X-Ray node. XRayNodeName *string `type:"string"` // The type of the X-Ray node. XRayNodeType *string `type:"string"` // The X-Ray node request average latency for this node. XRayRequestAverageLatency *int64 `type:"long"` // The X-Ray request count for this node. XRayRequestCount *int64 `type:"integer"` // The X-Ray request throttle percentage for this node. XRayThrottlePercent *int64 `type:"integer"` // contains filtered or unexported fields }
Describes an anomaly or error with the application.
func (Observation) 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 `min:"38" type:"string"` // A detailed analysis of the problem using machine learning. Insights *string `type:"string"` // The name of the resource group affected by the problem. ResourceGroupName *string `min:"1" type:"string"` // A measure of the level of impact of the problem. SeverityLevel 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 Tag ¶ added in v0.18.0
type Tag struct { // One part of a key-value pair that defines a tag. The maximum length of a // tag key is 128 characters. The minimum length is 1 character. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The optional part of a key-value pair that defines a tag. The maximum length // of a tag value is 256 characters. The minimum length is 0 characters. If // you don't want an application to have a specific tag value, don't specify // a value for this parameter. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
An object that defines the tags associated with an application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:
Tag keys and values are case sensitive.
For each associated resource, each tag key must be unique and it can have only one value.
The aws: prefix is reserved for use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix.
type TagResourceInput ¶ added in v0.18.0
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the application that you want to add one // or more tags to. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // A list of tags that to add to the application. A tag consists of a required // tag key (Key) and an associated tag value (Value). The maximum length of // a tag key is 128 characters. The maximum length of a tag value is 256 characters. // // Tags is a required field Tags []Tag `type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) String ¶ added in v0.18.0
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v0.18.0
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v0.18.0
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) String ¶ added in v0.18.0
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶ added in v0.18.0
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶ added in v0.18.0
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶ added in v0.18.0
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type Tier ¶ added in v0.18.0
type Tier string
const ( TierDefault Tier = "DEFAULT" TierDotNetCore Tier = "DOT_NET_CORE" TierDotNetWorker Tier = "DOT_NET_WORKER" TierDotNetWeb Tier = "DOT_NET_WEB" TierSqlServer Tier = "SQL_SERVER" )
Enum values for Tier
func (Tier) MarshalValue ¶ added in v0.18.0
type UntagResourceInput ¶ added in v0.18.0
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the application that you want to remove // one or more tags from. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // The tags (tag keys) that you want to remove from the resource. When you specify // a tag key, the action removes both that key and its associated tag value. // // To remove more than one tag from the application, append the TagKeys parameter // and argument for each additional tag to remove, separated by an ampersand. // // TagKeys is a required field TagKeys []string `type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) String ¶ added in v0.18.0
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v0.18.0
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v0.18.0
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) String ¶ added in v0.18.0
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶ added in v0.18.0
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶ added in v0.18.0
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶ added in v0.18.0
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateApplicationInput ¶ added in v0.11.0
type UpdateApplicationInput struct { // Indicates whether Application Insights can listen to CloudWatch events for // the application resources, such as instance terminated, failed deployment, // and others. CWEMonitorEnabled *bool `type:"boolean"` // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool `type:"boolean"` // The SNS topic provided to Application Insights that is associated to the // created opsItem. Allows you to receive notifications for updates to the opsItem. OpsItemSNSTopicArn *string `min:"20" type:"string"` // Disassociates the SNS topic from the opsItem created for detected problems. RemoveSNSTopic *bool `type:"boolean"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateApplicationInput) 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. For the complete format // of the component configuration file, see Component Configuration (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html). ComponentConfiguration *string `min:"1" type:"string"` // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // Indicates whether the application component is monitored. Monitor *bool `type:"boolean"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // The tier of the application component. Supported tiers include DOT_NET_WORKER, // DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT. Tier Tier `min:"1" type:"string" enum:"true"` // 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 `min:"1" type:"string" required:"true"` // The list of resource ARNs that belong to the component. ResourceList []string `type:"list"` // contains filtered or unexported fields }
func (UpdateComponentInput) 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.
type UpdateLogPatternInput ¶ added in v0.18.0
type UpdateLogPatternInput struct { // The log pattern. Pattern *string `min:"1" type:"string"` // The name of the log pattern. // // PatternName is a required field PatternName *string `min:"1" type:"string" required:"true"` // The name of the log pattern set. // // PatternSetName is a required field PatternSetName *string `min:"1" type:"string" required:"true"` // Rank of the log pattern. Rank *int64 `type:"integer"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateLogPatternInput) String ¶ added in v0.18.0
func (s UpdateLogPatternInput) String() string
String returns the string representation
func (*UpdateLogPatternInput) Validate ¶ added in v0.18.0
func (s *UpdateLogPatternInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLogPatternOutput ¶ added in v0.18.0
type UpdateLogPatternOutput struct { // The successfully created log pattern. LogPattern *LogPattern `type:"structure"` // The name of the resource group. ResourceGroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateLogPatternOutput) String ¶ added in v0.18.0
func (s UpdateLogPatternOutput) String() string
String returns the string representation
type UpdateLogPatternRequest ¶ added in v0.18.0
type UpdateLogPatternRequest struct { *aws.Request Input *UpdateLogPatternInput Copy func(*UpdateLogPatternInput) UpdateLogPatternRequest }
UpdateLogPatternRequest is the request type for the UpdateLogPattern API operation.
func (UpdateLogPatternRequest) Send ¶ added in v0.18.0
func (r UpdateLogPatternRequest) Send(ctx context.Context) (*UpdateLogPatternResponse, error)
Send marshals and sends the UpdateLogPattern API request.
type UpdateLogPatternResponse ¶ added in v0.18.0
type UpdateLogPatternResponse struct { *UpdateLogPatternOutput // contains filtered or unexported fields }
UpdateLogPatternResponse is the response type for the UpdateLogPattern API operation.
func (*UpdateLogPatternResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *UpdateLogPatternResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateLogPattern 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_CreateLogPattern.go
- api_op_DeleteApplication.go
- api_op_DeleteComponent.go
- api_op_DeleteLogPattern.go
- api_op_DescribeApplication.go
- api_op_DescribeComponent.go
- api_op_DescribeComponentConfiguration.go
- api_op_DescribeComponentConfigurationRecommendation.go
- api_op_DescribeLogPattern.go
- api_op_DescribeObservation.go
- api_op_DescribeProblem.go
- api_op_DescribeProblemObservations.go
- api_op_ListApplications.go
- api_op_ListComponents.go
- api_op_ListConfigurationHistory.go
- api_op_ListLogPatternSets.go
- api_op_ListLogPatterns.go
- api_op_ListProblems.go
- api_op_ListTagsForResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateApplication.go
- api_op_UpdateComponent.go
- api_op_UpdateComponentConfiguration.go
- api_op_UpdateLogPattern.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. |