Documentation ¶
Overview ¶
Package applicationinsights provides the client and types for making API requests to Amazon CloudWatch Application Insights.
Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.
After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors.
See https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25 for more information on this service.
See applicationinsights package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationinsights/
Using the Client ¶
To contact Amazon CloudWatch Application Insights with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon CloudWatch Application Insights client ApplicationInsights for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationinsights/#New
Index ¶
- Constants
- type ApplicationComponent
- func (s ApplicationComponent) GoString() string
- func (s *ApplicationComponent) SetComponentName(v string) *ApplicationComponent
- func (s *ApplicationComponent) SetMonitor(v bool) *ApplicationComponent
- func (s *ApplicationComponent) SetResourceType(v string) *ApplicationComponent
- func (s *ApplicationComponent) SetTier(v string) *ApplicationComponent
- func (s ApplicationComponent) String() string
- type ApplicationInfo
- func (s ApplicationInfo) GoString() string
- func (s *ApplicationInfo) SetLifeCycle(v string) *ApplicationInfo
- func (s *ApplicationInfo) SetOpsCenterEnabled(v bool) *ApplicationInfo
- func (s *ApplicationInfo) SetOpsItemSNSTopicArn(v string) *ApplicationInfo
- func (s *ApplicationInfo) SetRemarks(v string) *ApplicationInfo
- func (s *ApplicationInfo) SetResourceGroupName(v string) *ApplicationInfo
- func (s ApplicationInfo) String() string
- type ApplicationInsights
- func (c *ApplicationInsights) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)
- func (c *ApplicationInsights) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)
- func (c *ApplicationInsights) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)
- func (c *ApplicationInsights) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error)
- func (c *ApplicationInsights) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput)
- func (c *ApplicationInsights) CreateComponentWithContext(ctx aws.Context, input *CreateComponentInput, opts ...request.Option) (*CreateComponentOutput, error)
- func (c *ApplicationInsights) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)
- func (c *ApplicationInsights) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)
- func (c *ApplicationInsights) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)
- func (c *ApplicationInsights) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error)
- func (c *ApplicationInsights) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput)
- func (c *ApplicationInsights) DeleteComponentWithContext(ctx aws.Context, input *DeleteComponentInput, opts ...request.Option) (*DeleteComponentOutput, error)
- func (c *ApplicationInsights) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error)
- func (c *ApplicationInsights) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput)
- func (c *ApplicationInsights) DescribeApplicationWithContext(ctx aws.Context, input *DescribeApplicationInput, opts ...request.Option) (*DescribeApplicationOutput, error)
- func (c *ApplicationInsights) DescribeComponent(input *DescribeComponentInput) (*DescribeComponentOutput, error)
- func (c *ApplicationInsights) DescribeComponentConfiguration(input *DescribeComponentConfigurationInput) (*DescribeComponentConfigurationOutput, error)
- func (c *ApplicationInsights) DescribeComponentConfigurationRecommendation(input *DescribeComponentConfigurationRecommendationInput) (*DescribeComponentConfigurationRecommendationOutput, error)
- func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationRequest(input *DescribeComponentConfigurationRecommendationInput) (req *request.Request, ...)
- func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationWithContext(ctx aws.Context, input *DescribeComponentConfigurationRecommendationInput, ...) (*DescribeComponentConfigurationRecommendationOutput, error)
- func (c *ApplicationInsights) DescribeComponentConfigurationRequest(input *DescribeComponentConfigurationInput) (req *request.Request, output *DescribeComponentConfigurationOutput)
- func (c *ApplicationInsights) DescribeComponentConfigurationWithContext(ctx aws.Context, input *DescribeComponentConfigurationInput, ...) (*DescribeComponentConfigurationOutput, error)
- func (c *ApplicationInsights) DescribeComponentRequest(input *DescribeComponentInput) (req *request.Request, output *DescribeComponentOutput)
- func (c *ApplicationInsights) DescribeComponentWithContext(ctx aws.Context, input *DescribeComponentInput, opts ...request.Option) (*DescribeComponentOutput, error)
- func (c *ApplicationInsights) DescribeObservation(input *DescribeObservationInput) (*DescribeObservationOutput, error)
- func (c *ApplicationInsights) DescribeObservationRequest(input *DescribeObservationInput) (req *request.Request, output *DescribeObservationOutput)
- func (c *ApplicationInsights) DescribeObservationWithContext(ctx aws.Context, input *DescribeObservationInput, opts ...request.Option) (*DescribeObservationOutput, error)
- func (c *ApplicationInsights) DescribeProblem(input *DescribeProblemInput) (*DescribeProblemOutput, error)
- func (c *ApplicationInsights) DescribeProblemObservations(input *DescribeProblemObservationsInput) (*DescribeProblemObservationsOutput, error)
- func (c *ApplicationInsights) DescribeProblemObservationsRequest(input *DescribeProblemObservationsInput) (req *request.Request, output *DescribeProblemObservationsOutput)
- func (c *ApplicationInsights) DescribeProblemObservationsWithContext(ctx aws.Context, input *DescribeProblemObservationsInput, ...) (*DescribeProblemObservationsOutput, error)
- func (c *ApplicationInsights) DescribeProblemRequest(input *DescribeProblemInput) (req *request.Request, output *DescribeProblemOutput)
- func (c *ApplicationInsights) DescribeProblemWithContext(ctx aws.Context, input *DescribeProblemInput, opts ...request.Option) (*DescribeProblemOutput, error)
- func (c *ApplicationInsights) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)
- func (c *ApplicationInsights) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error
- func (c *ApplicationInsights) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, ...) error
- func (c *ApplicationInsights) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)
- func (c *ApplicationInsights) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)
- func (c *ApplicationInsights) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error)
- func (c *ApplicationInsights) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error
- func (c *ApplicationInsights) ListComponentsPagesWithContext(ctx aws.Context, input *ListComponentsInput, ...) error
- func (c *ApplicationInsights) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput)
- func (c *ApplicationInsights) ListComponentsWithContext(ctx aws.Context, input *ListComponentsInput, opts ...request.Option) (*ListComponentsOutput, error)
- func (c *ApplicationInsights) ListProblems(input *ListProblemsInput) (*ListProblemsOutput, error)
- func (c *ApplicationInsights) ListProblemsPages(input *ListProblemsInput, fn func(*ListProblemsOutput, bool) bool) error
- func (c *ApplicationInsights) ListProblemsPagesWithContext(ctx aws.Context, input *ListProblemsInput, ...) error
- func (c *ApplicationInsights) ListProblemsRequest(input *ListProblemsInput) (req *request.Request, output *ListProblemsOutput)
- func (c *ApplicationInsights) ListProblemsWithContext(ctx aws.Context, input *ListProblemsInput, opts ...request.Option) (*ListProblemsOutput, error)
- func (c *ApplicationInsights) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)
- func (c *ApplicationInsights) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)
- func (c *ApplicationInsights) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)
- func (c *ApplicationInsights) UpdateComponent(input *UpdateComponentInput) (*UpdateComponentOutput, error)
- func (c *ApplicationInsights) UpdateComponentConfiguration(input *UpdateComponentConfigurationInput) (*UpdateComponentConfigurationOutput, error)
- func (c *ApplicationInsights) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) (req *request.Request, output *UpdateComponentConfigurationOutput)
- func (c *ApplicationInsights) UpdateComponentConfigurationWithContext(ctx aws.Context, input *UpdateComponentConfigurationInput, ...) (*UpdateComponentConfigurationOutput, error)
- func (c *ApplicationInsights) UpdateComponentRequest(input *UpdateComponentInput) (req *request.Request, output *UpdateComponentOutput)
- func (c *ApplicationInsights) UpdateComponentWithContext(ctx aws.Context, input *UpdateComponentInput, opts ...request.Option) (*UpdateComponentOutput, error)
- type CreateApplicationInput
- func (s CreateApplicationInput) GoString() string
- func (s *CreateApplicationInput) SetOpsCenterEnabled(v bool) *CreateApplicationInput
- func (s *CreateApplicationInput) SetOpsItemSNSTopicArn(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetResourceGroupName(v string) *CreateApplicationInput
- func (s CreateApplicationInput) String() string
- func (s *CreateApplicationInput) Validate() error
- type CreateApplicationOutput
- type CreateComponentInput
- func (s CreateComponentInput) GoString() string
- func (s *CreateComponentInput) SetComponentName(v string) *CreateComponentInput
- func (s *CreateComponentInput) SetResourceGroupName(v string) *CreateComponentInput
- func (s *CreateComponentInput) SetResourceList(v []*string) *CreateComponentInput
- func (s CreateComponentInput) String() string
- func (s *CreateComponentInput) Validate() error
- type CreateComponentOutput
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteComponentInput
- func (s DeleteComponentInput) GoString() string
- func (s *DeleteComponentInput) SetComponentName(v string) *DeleteComponentInput
- func (s *DeleteComponentInput) SetResourceGroupName(v string) *DeleteComponentInput
- func (s DeleteComponentInput) String() string
- func (s *DeleteComponentInput) Validate() error
- type DeleteComponentOutput
- type DescribeApplicationInput
- type DescribeApplicationOutput
- type DescribeComponentConfigurationInput
- func (s DescribeComponentConfigurationInput) GoString() string
- func (s *DescribeComponentConfigurationInput) SetComponentName(v string) *DescribeComponentConfigurationInput
- func (s *DescribeComponentConfigurationInput) SetResourceGroupName(v string) *DescribeComponentConfigurationInput
- func (s DescribeComponentConfigurationInput) String() string
- func (s *DescribeComponentConfigurationInput) Validate() error
- type DescribeComponentConfigurationOutput
- func (s DescribeComponentConfigurationOutput) GoString() string
- func (s *DescribeComponentConfigurationOutput) SetComponentConfiguration(v string) *DescribeComponentConfigurationOutput
- func (s *DescribeComponentConfigurationOutput) SetMonitor(v bool) *DescribeComponentConfigurationOutput
- func (s *DescribeComponentConfigurationOutput) SetTier(v string) *DescribeComponentConfigurationOutput
- func (s DescribeComponentConfigurationOutput) String() string
- type DescribeComponentConfigurationRecommendationInput
- func (s DescribeComponentConfigurationRecommendationInput) GoString() string
- func (s *DescribeComponentConfigurationRecommendationInput) SetComponentName(v string) *DescribeComponentConfigurationRecommendationInput
- func (s *DescribeComponentConfigurationRecommendationInput) SetResourceGroupName(v string) *DescribeComponentConfigurationRecommendationInput
- func (s *DescribeComponentConfigurationRecommendationInput) SetTier(v string) *DescribeComponentConfigurationRecommendationInput
- func (s DescribeComponentConfigurationRecommendationInput) String() string
- func (s *DescribeComponentConfigurationRecommendationInput) Validate() error
- type DescribeComponentConfigurationRecommendationOutput
- func (s DescribeComponentConfigurationRecommendationOutput) GoString() string
- func (s *DescribeComponentConfigurationRecommendationOutput) SetComponentConfiguration(v string) *DescribeComponentConfigurationRecommendationOutput
- func (s DescribeComponentConfigurationRecommendationOutput) String() string
- type DescribeComponentInput
- func (s DescribeComponentInput) GoString() string
- func (s *DescribeComponentInput) SetComponentName(v string) *DescribeComponentInput
- func (s *DescribeComponentInput) SetResourceGroupName(v string) *DescribeComponentInput
- func (s DescribeComponentInput) String() string
- func (s *DescribeComponentInput) Validate() error
- type DescribeComponentOutput
- type DescribeObservationInput
- type DescribeObservationOutput
- type DescribeProblemInput
- type DescribeProblemObservationsInput
- type DescribeProblemObservationsOutput
- type DescribeProblemOutput
- type ListApplicationsInput
- func (s ListApplicationsInput) GoString() string
- func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput
- func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput
- func (s ListApplicationsInput) String() string
- func (s *ListApplicationsInput) Validate() error
- type ListApplicationsOutput
- type ListComponentsInput
- func (s ListComponentsInput) GoString() string
- func (s *ListComponentsInput) SetMaxResults(v int64) *ListComponentsInput
- func (s *ListComponentsInput) SetNextToken(v string) *ListComponentsInput
- func (s *ListComponentsInput) SetResourceGroupName(v string) *ListComponentsInput
- func (s ListComponentsInput) String() string
- func (s *ListComponentsInput) Validate() error
- type ListComponentsOutput
- type ListProblemsInput
- func (s ListProblemsInput) GoString() string
- func (s *ListProblemsInput) SetEndTime(v time.Time) *ListProblemsInput
- func (s *ListProblemsInput) SetMaxResults(v int64) *ListProblemsInput
- func (s *ListProblemsInput) SetNextToken(v string) *ListProblemsInput
- func (s *ListProblemsInput) SetResourceGroupName(v string) *ListProblemsInput
- func (s *ListProblemsInput) SetStartTime(v time.Time) *ListProblemsInput
- func (s ListProblemsInput) String() string
- func (s *ListProblemsInput) Validate() error
- type ListProblemsOutput
- type Observation
- func (s Observation) GoString() string
- func (s *Observation) SetEndTime(v time.Time) *Observation
- func (s *Observation) SetId(v string) *Observation
- func (s *Observation) SetLineTime(v time.Time) *Observation
- func (s *Observation) SetLogFilter(v string) *Observation
- func (s *Observation) SetLogGroup(v string) *Observation
- func (s *Observation) SetLogText(v string) *Observation
- func (s *Observation) SetMetricName(v string) *Observation
- func (s *Observation) SetMetricNamespace(v string) *Observation
- func (s *Observation) SetSourceARN(v string) *Observation
- func (s *Observation) SetSourceType(v string) *Observation
- func (s *Observation) SetStartTime(v time.Time) *Observation
- func (s *Observation) SetUnit(v string) *Observation
- func (s *Observation) SetValue(v float64) *Observation
- func (s Observation) String() string
- type Problem
- func (s Problem) GoString() string
- func (s *Problem) SetAffectedResource(v string) *Problem
- func (s *Problem) SetEndTime(v time.Time) *Problem
- func (s *Problem) SetFeedback(v map[string]*string) *Problem
- func (s *Problem) SetId(v string) *Problem
- func (s *Problem) SetInsights(v string) *Problem
- func (s *Problem) SetResourceGroupName(v string) *Problem
- func (s *Problem) SetSeverityLevel(v string) *Problem
- func (s *Problem) SetStartTime(v time.Time) *Problem
- func (s *Problem) SetStatus(v string) *Problem
- func (s *Problem) SetTitle(v string) *Problem
- func (s Problem) String() string
- type RelatedObservations
- type UpdateApplicationInput
- func (s UpdateApplicationInput) GoString() string
- func (s *UpdateApplicationInput) SetOpsCenterEnabled(v bool) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetOpsItemSNSTopicArn(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetRemoveSNSTopic(v bool) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetResourceGroupName(v string) *UpdateApplicationInput
- func (s UpdateApplicationInput) String() string
- func (s *UpdateApplicationInput) Validate() error
- type UpdateApplicationOutput
- type UpdateComponentConfigurationInput
- func (s UpdateComponentConfigurationInput) GoString() string
- func (s *UpdateComponentConfigurationInput) SetComponentConfiguration(v string) *UpdateComponentConfigurationInput
- func (s *UpdateComponentConfigurationInput) SetComponentName(v string) *UpdateComponentConfigurationInput
- func (s *UpdateComponentConfigurationInput) SetMonitor(v bool) *UpdateComponentConfigurationInput
- func (s *UpdateComponentConfigurationInput) SetResourceGroupName(v string) *UpdateComponentConfigurationInput
- func (s *UpdateComponentConfigurationInput) SetTier(v string) *UpdateComponentConfigurationInput
- func (s UpdateComponentConfigurationInput) String() string
- func (s *UpdateComponentConfigurationInput) Validate() error
- type UpdateComponentConfigurationOutput
- type UpdateComponentInput
- func (s UpdateComponentInput) GoString() string
- func (s *UpdateComponentInput) SetComponentName(v string) *UpdateComponentInput
- func (s *UpdateComponentInput) SetNewComponentName(v string) *UpdateComponentInput
- func (s *UpdateComponentInput) SetResourceGroupName(v string) *UpdateComponentInput
- func (s *UpdateComponentInput) SetResourceList(v []*string) *UpdateComponentInput
- func (s UpdateComponentInput) String() string
- func (s *UpdateComponentInput) Validate() error
- type UpdateComponentOutput
Constants ¶
const ( // FeedbackValueNotSpecified is a FeedbackValue enum value FeedbackValueNotSpecified = "NOT_SPECIFIED" // FeedbackValueUseful is a FeedbackValue enum value FeedbackValueUseful = "USEFUL" // FeedbackValueNotUseful is a FeedbackValue enum value FeedbackValueNotUseful = "NOT_USEFUL" )
const ( // LogFilterError is a LogFilter enum value LogFilterError = "ERROR" // LogFilterWarn is a LogFilter enum value LogFilterWarn = "WARN" // LogFilterInfo is a LogFilter enum value LogFilterInfo = "INFO" )
const ( // SeverityLevelLow is a SeverityLevel enum value SeverityLevelLow = "LOW" // SeverityLevelMedium is a SeverityLevel enum value SeverityLevelMedium = "MEDIUM" // SeverityLevelHigh is a SeverityLevel enum value SeverityLevelHigh = "HIGH" )
const ( // StatusIgnore is a Status enum value StatusIgnore = "IGNORE" // StatusResolved is a Status enum value StatusResolved = "RESOLVED" // StatusPending is a Status enum value StatusPending = "PENDING" )
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request is not understood by the server. ErrCodeBadRequestException = "BadRequestException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The server encountered an internal error and is unable to complete the request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // The resource is already created or in use. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The resource does not exist in the customer account. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeValidationException for service response error code // "ValidationException". // // The parameter is not valid. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "Application Insights" // Name of service. EndpointsID = "applicationinsights" // ID to lookup a service endpoint with. ServiceID = "Application Insights" // ServiceID is a unique identifer of a specific service. )
Service information constants
const (
// FeedbackKeyInsightsFeedback is a FeedbackKey enum value
FeedbackKeyInsightsFeedback = "INSIGHTS_FEEDBACK"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationComponent ¶
type ApplicationComponent struct { // The name of the component. ComponentName *string `type:"string"` // Indicates whether the application component is monitored. Monitor *bool `type:"boolean"` // The resource type. Supported resource types include EC2 instances, Auto Scaling // group, Classic ELB, Application ELB, and SQS Queue. ResourceType *string `type:"string"` // The stack tier of the application component. Tier *string `type:"string"` // contains filtered or unexported fields }
Describes a standalone resource or similarly grouped resources that the application is made up of.
func (ApplicationComponent) GoString ¶
func (s ApplicationComponent) GoString() string
GoString returns the string representation
func (*ApplicationComponent) SetComponentName ¶
func (s *ApplicationComponent) SetComponentName(v string) *ApplicationComponent
SetComponentName sets the ComponentName field's value.
func (*ApplicationComponent) SetMonitor ¶
func (s *ApplicationComponent) SetMonitor(v bool) *ApplicationComponent
SetMonitor sets the Monitor field's value.
func (*ApplicationComponent) SetResourceType ¶
func (s *ApplicationComponent) SetResourceType(v string) *ApplicationComponent
SetResourceType sets the ResourceType field's value.
func (*ApplicationComponent) SetTier ¶
func (s *ApplicationComponent) SetTier(v string) *ApplicationComponent
SetTier sets the Tier field's value.
func (ApplicationComponent) String ¶
func (s ApplicationComponent) String() string
String returns the string representation
type ApplicationInfo ¶
type ApplicationInfo struct { // The lifecycle of the application. LifeCycle *string `type:"string"` // Indicates whether Application Insights will create opsItems for any problem // detected by Application Insights for an application. OpsCenterEnabled *bool `type:"boolean"` // The SNS topic provided to Application Insights that is associated to the // created opsItems to receive SNS notifications for opsItem updates. OpsItemSNSTopicArn *string `type:"string"` // The issues on the user side that block Application Insights from successfully // monitoring an application. Remarks *string `type:"string"` // The name of the resource group used for the application. ResourceGroupName *string `type:"string"` // contains filtered or unexported fields }
Describes the status of the application.
func (ApplicationInfo) GoString ¶
func (s ApplicationInfo) GoString() string
GoString returns the string representation
func (*ApplicationInfo) SetLifeCycle ¶
func (s *ApplicationInfo) SetLifeCycle(v string) *ApplicationInfo
SetLifeCycle sets the LifeCycle field's value.
func (*ApplicationInfo) SetOpsCenterEnabled ¶ added in v1.22.1
func (s *ApplicationInfo) SetOpsCenterEnabled(v bool) *ApplicationInfo
SetOpsCenterEnabled sets the OpsCenterEnabled field's value.
func (*ApplicationInfo) SetOpsItemSNSTopicArn ¶ added in v1.22.1
func (s *ApplicationInfo) SetOpsItemSNSTopicArn(v string) *ApplicationInfo
SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.
func (*ApplicationInfo) SetRemarks ¶
func (s *ApplicationInfo) SetRemarks(v string) *ApplicationInfo
SetRemarks sets the Remarks field's value.
func (*ApplicationInfo) SetResourceGroupName ¶
func (s *ApplicationInfo) SetResourceGroupName(v string) *ApplicationInfo
SetResourceGroupName sets the ResourceGroupName field's value.
func (ApplicationInfo) String ¶
func (s ApplicationInfo) String() string
String returns the string representation
type ApplicationInsights ¶
ApplicationInsights provides the API operation methods for making requests to Amazon CloudWatch Application Insights. See this package's package overview docs for details on the service.
ApplicationInsights methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationInsights
New creates a new instance of the ApplicationInsights client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a ApplicationInsights client from just a session. svc := applicationinsights.New(mySession) // Create a ApplicationInsights client with additional configuration svc := applicationinsights.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ApplicationInsights) CreateApplication ¶
func (c *ApplicationInsights) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)
CreateApplication API operation for Amazon CloudWatch Application Insights.
Adds an application that is created from a resource group.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation CreateApplication for usage and error information.
Returned Error Codes:
ErrCodeResourceInUseException "ResourceInUseException" The resource is already created or in use.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication
func (*ApplicationInsights) CreateApplicationRequest ¶
func (c *ApplicationInsights) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)
CreateApplicationRequest generates a "aws/request.Request" representing the client's request for the CreateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApplication for more information on using the CreateApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApplicationRequest method. req, resp := client.CreateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication
func (*ApplicationInsights) CreateApplicationWithContext ¶
func (c *ApplicationInsights) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)
CreateApplicationWithContext is the same as CreateApplication with the addition of the ability to pass a context and additional request options.
See CreateApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) CreateComponent ¶
func (c *ApplicationInsights) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error)
CreateComponent API operation for Amazon CloudWatch Application Insights.
Creates a custom component by grouping similar standalone instances to monitor.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation CreateComponent for usage and error information.
Returned Error Codes:
ErrCodeResourceInUseException "ResourceInUseException" The resource is already created or in use.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent
func (*ApplicationInsights) CreateComponentRequest ¶
func (c *ApplicationInsights) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput)
CreateComponentRequest generates a "aws/request.Request" representing the client's request for the CreateComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateComponent for more information on using the CreateComponent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateComponentRequest method. req, resp := client.CreateComponentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent
func (*ApplicationInsights) CreateComponentWithContext ¶
func (c *ApplicationInsights) CreateComponentWithContext(ctx aws.Context, input *CreateComponentInput, opts ...request.Option) (*CreateComponentOutput, error)
CreateComponentWithContext is the same as CreateComponent with the addition of the ability to pass a context and additional request options.
See CreateComponent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DeleteApplication ¶
func (c *ApplicationInsights) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)
DeleteApplication API operation for Amazon CloudWatch Application Insights.
Removes the specified application from monitoring. Does not delete the application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DeleteApplication for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeBadRequestException "BadRequestException" The request is not understood by the server.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication
func (*ApplicationInsights) DeleteApplicationRequest ¶
func (c *ApplicationInsights) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)
DeleteApplicationRequest generates a "aws/request.Request" representing the client's request for the DeleteApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApplication for more information on using the DeleteApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteApplicationRequest method. req, resp := client.DeleteApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication
func (*ApplicationInsights) DeleteApplicationWithContext ¶
func (c *ApplicationInsights) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)
DeleteApplicationWithContext is the same as DeleteApplication with the addition of the ability to pass a context and additional request options.
See DeleteApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DeleteComponent ¶
func (c *ApplicationInsights) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error)
DeleteComponent API operation for Amazon CloudWatch Application Insights.
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DeleteComponent for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent
func (*ApplicationInsights) DeleteComponentRequest ¶
func (c *ApplicationInsights) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput)
DeleteComponentRequest generates a "aws/request.Request" representing the client's request for the DeleteComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteComponent for more information on using the DeleteComponent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteComponentRequest method. req, resp := client.DeleteComponentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent
func (*ApplicationInsights) DeleteComponentWithContext ¶
func (c *ApplicationInsights) DeleteComponentWithContext(ctx aws.Context, input *DeleteComponentInput, opts ...request.Option) (*DeleteComponentOutput, error)
DeleteComponentWithContext is the same as DeleteComponent with the addition of the ability to pass a context and additional request options.
See DeleteComponent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeApplication ¶
func (c *ApplicationInsights) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error)
DescribeApplication API operation for Amazon CloudWatch Application Insights.
Describes the application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeApplication for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication
func (*ApplicationInsights) DescribeApplicationRequest ¶
func (c *ApplicationInsights) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput)
DescribeApplicationRequest generates a "aws/request.Request" representing the client's request for the DescribeApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeApplication for more information on using the DescribeApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeApplicationRequest method. req, resp := client.DescribeApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication
func (*ApplicationInsights) DescribeApplicationWithContext ¶
func (c *ApplicationInsights) DescribeApplicationWithContext(ctx aws.Context, input *DescribeApplicationInput, opts ...request.Option) (*DescribeApplicationOutput, error)
DescribeApplicationWithContext is the same as DescribeApplication with the addition of the ability to pass a context and additional request options.
See DescribeApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeComponent ¶
func (c *ApplicationInsights) DescribeComponent(input *DescribeComponentInput) (*DescribeComponentOutput, error)
DescribeComponent API operation for Amazon CloudWatch Application Insights.
Describes a component and lists the resources that are grouped together in a component.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeComponent for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent
func (*ApplicationInsights) DescribeComponentConfiguration ¶
func (c *ApplicationInsights) DescribeComponentConfiguration(input *DescribeComponentConfigurationInput) (*DescribeComponentConfigurationOutput, error)
DescribeComponentConfiguration API operation for Amazon CloudWatch Application Insights.
Describes the monitoring configuration of the component.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeComponentConfiguration for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
func (*ApplicationInsights) DescribeComponentConfigurationRecommendation ¶
func (c *ApplicationInsights) DescribeComponentConfigurationRecommendation(input *DescribeComponentConfigurationRecommendationInput) (*DescribeComponentConfigurationRecommendationOutput, error)
DescribeComponentConfigurationRecommendation API operation for Amazon CloudWatch Application Insights.
Describes the recommended monitoring configuration of the component.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeComponentConfigurationRecommendation for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
func (*ApplicationInsights) DescribeComponentConfigurationRecommendationRequest ¶
func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationRequest(input *DescribeComponentConfigurationRecommendationInput) (req *request.Request, output *DescribeComponentConfigurationRecommendationOutput)
DescribeComponentConfigurationRecommendationRequest generates a "aws/request.Request" representing the client's request for the DescribeComponentConfigurationRecommendation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeComponentConfigurationRecommendation for more information on using the DescribeComponentConfigurationRecommendation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeComponentConfigurationRecommendationRequest method. req, resp := client.DescribeComponentConfigurationRecommendationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ApplicationInsights) DescribeComponentConfigurationRecommendationWithContext ¶
func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationWithContext(ctx aws.Context, input *DescribeComponentConfigurationRecommendationInput, opts ...request.Option) (*DescribeComponentConfigurationRecommendationOutput, error)
DescribeComponentConfigurationRecommendationWithContext is the same as DescribeComponentConfigurationRecommendation with the addition of the ability to pass a context and additional request options.
See DescribeComponentConfigurationRecommendation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeComponentConfigurationRequest ¶
func (c *ApplicationInsights) DescribeComponentConfigurationRequest(input *DescribeComponentConfigurationInput) (req *request.Request, output *DescribeComponentConfigurationOutput)
DescribeComponentConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeComponentConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeComponentConfiguration for more information on using the DescribeComponentConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeComponentConfigurationRequest method. req, resp := client.DescribeComponentConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ApplicationInsights) DescribeComponentConfigurationWithContext ¶
func (c *ApplicationInsights) DescribeComponentConfigurationWithContext(ctx aws.Context, input *DescribeComponentConfigurationInput, opts ...request.Option) (*DescribeComponentConfigurationOutput, error)
DescribeComponentConfigurationWithContext is the same as DescribeComponentConfiguration with the addition of the ability to pass a context and additional request options.
See DescribeComponentConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeComponentRequest ¶
func (c *ApplicationInsights) DescribeComponentRequest(input *DescribeComponentInput) (req *request.Request, output *DescribeComponentOutput)
DescribeComponentRequest generates a "aws/request.Request" representing the client's request for the DescribeComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeComponent for more information on using the DescribeComponent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeComponentRequest method. req, resp := client.DescribeComponentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent
func (*ApplicationInsights) DescribeComponentWithContext ¶
func (c *ApplicationInsights) DescribeComponentWithContext(ctx aws.Context, input *DescribeComponentInput, opts ...request.Option) (*DescribeComponentOutput, error)
DescribeComponentWithContext is the same as DescribeComponent with the addition of the ability to pass a context and additional request options.
See DescribeComponent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeObservation ¶
func (c *ApplicationInsights) DescribeObservation(input *DescribeObservationInput) (*DescribeObservationOutput, error)
DescribeObservation API operation for Amazon CloudWatch Application Insights.
Describes an anomaly or error with the application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeObservation for usage and error information.
Returned Error Codes:
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation
func (*ApplicationInsights) DescribeObservationRequest ¶
func (c *ApplicationInsights) DescribeObservationRequest(input *DescribeObservationInput) (req *request.Request, output *DescribeObservationOutput)
DescribeObservationRequest generates a "aws/request.Request" representing the client's request for the DescribeObservation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeObservation for more information on using the DescribeObservation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeObservationRequest method. req, resp := client.DescribeObservationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation
func (*ApplicationInsights) DescribeObservationWithContext ¶
func (c *ApplicationInsights) DescribeObservationWithContext(ctx aws.Context, input *DescribeObservationInput, opts ...request.Option) (*DescribeObservationOutput, error)
DescribeObservationWithContext is the same as DescribeObservation with the addition of the ability to pass a context and additional request options.
See DescribeObservation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeProblem ¶
func (c *ApplicationInsights) DescribeProblem(input *DescribeProblemInput) (*DescribeProblemOutput, error)
DescribeProblem API operation for Amazon CloudWatch Application Insights.
Describes an application problem.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeProblem for usage and error information.
Returned Error Codes:
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem
func (*ApplicationInsights) DescribeProblemObservations ¶
func (c *ApplicationInsights) DescribeProblemObservations(input *DescribeProblemObservationsInput) (*DescribeProblemObservationsOutput, error)
DescribeProblemObservations API operation for Amazon CloudWatch Application Insights.
Describes the anomalies or errors associated with the problem.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation DescribeProblemObservations for usage and error information.
Returned Error Codes:
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations
func (*ApplicationInsights) DescribeProblemObservationsRequest ¶
func (c *ApplicationInsights) DescribeProblemObservationsRequest(input *DescribeProblemObservationsInput) (req *request.Request, output *DescribeProblemObservationsOutput)
DescribeProblemObservationsRequest generates a "aws/request.Request" representing the client's request for the DescribeProblemObservations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeProblemObservations for more information on using the DescribeProblemObservations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeProblemObservationsRequest method. req, resp := client.DescribeProblemObservationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations
func (*ApplicationInsights) DescribeProblemObservationsWithContext ¶
func (c *ApplicationInsights) DescribeProblemObservationsWithContext(ctx aws.Context, input *DescribeProblemObservationsInput, opts ...request.Option) (*DescribeProblemObservationsOutput, error)
DescribeProblemObservationsWithContext is the same as DescribeProblemObservations with the addition of the ability to pass a context and additional request options.
See DescribeProblemObservations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) DescribeProblemRequest ¶
func (c *ApplicationInsights) DescribeProblemRequest(input *DescribeProblemInput) (req *request.Request, output *DescribeProblemOutput)
DescribeProblemRequest generates a "aws/request.Request" representing the client's request for the DescribeProblem operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeProblem for more information on using the DescribeProblem API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeProblemRequest method. req, resp := client.DescribeProblemRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem
func (*ApplicationInsights) DescribeProblemWithContext ¶
func (c *ApplicationInsights) DescribeProblemWithContext(ctx aws.Context, input *DescribeProblemInput, opts ...request.Option) (*DescribeProblemOutput, error)
DescribeProblemWithContext is the same as DescribeProblem with the addition of the ability to pass a context and additional request options.
See DescribeProblem for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) ListApplications ¶
func (c *ApplicationInsights) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)
ListApplications API operation for Amazon CloudWatch Application Insights.
Lists the IDs of the applications that you are monitoring.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation ListApplications for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications
func (*ApplicationInsights) ListApplicationsPages ¶
func (c *ApplicationInsights) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error
ListApplicationsPages iterates over the pages of a ListApplications operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListApplications method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApplications operation. pageNum := 0 err := client.ListApplicationsPages(params, func(page *applicationinsights.ListApplicationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ApplicationInsights) ListApplicationsPagesWithContext ¶
func (c *ApplicationInsights) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error
ListApplicationsPagesWithContext same as ListApplicationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) ListApplicationsRequest ¶
func (c *ApplicationInsights) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)
ListApplicationsRequest generates a "aws/request.Request" representing the client's request for the ListApplications operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListApplications for more information on using the ListApplications API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListApplicationsRequest method. req, resp := client.ListApplicationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications
func (*ApplicationInsights) ListApplicationsWithContext ¶
func (c *ApplicationInsights) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)
ListApplicationsWithContext is the same as ListApplications with the addition of the ability to pass a context and additional request options.
See ListApplications for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) ListComponents ¶
func (c *ApplicationInsights) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error)
ListComponents API operation for Amazon CloudWatch Application Insights.
Lists the auto-grouped, standalone, and custom components of the application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation ListComponents for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents
func (*ApplicationInsights) ListComponentsPages ¶
func (c *ApplicationInsights) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error
ListComponentsPages iterates over the pages of a ListComponents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListComponents method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListComponents operation. pageNum := 0 err := client.ListComponentsPages(params, func(page *applicationinsights.ListComponentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ApplicationInsights) ListComponentsPagesWithContext ¶
func (c *ApplicationInsights) ListComponentsPagesWithContext(ctx aws.Context, input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool, opts ...request.Option) error
ListComponentsPagesWithContext same as ListComponentsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) ListComponentsRequest ¶
func (c *ApplicationInsights) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput)
ListComponentsRequest generates a "aws/request.Request" representing the client's request for the ListComponents operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListComponents for more information on using the ListComponents API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListComponentsRequest method. req, resp := client.ListComponentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents
func (*ApplicationInsights) ListComponentsWithContext ¶
func (c *ApplicationInsights) ListComponentsWithContext(ctx aws.Context, input *ListComponentsInput, opts ...request.Option) (*ListComponentsOutput, error)
ListComponentsWithContext is the same as ListComponents with the addition of the ability to pass a context and additional request options.
See ListComponents for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) ListProblems ¶
func (c *ApplicationInsights) ListProblems(input *ListProblemsInput) (*ListProblemsOutput, error)
ListProblems API operation for Amazon CloudWatch Application Insights.
Lists the problems with your application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation ListProblems for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems
func (*ApplicationInsights) ListProblemsPages ¶
func (c *ApplicationInsights) ListProblemsPages(input *ListProblemsInput, fn func(*ListProblemsOutput, bool) bool) error
ListProblemsPages iterates over the pages of a ListProblems operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProblems method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListProblems operation. pageNum := 0 err := client.ListProblemsPages(params, func(page *applicationinsights.ListProblemsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ApplicationInsights) ListProblemsPagesWithContext ¶
func (c *ApplicationInsights) ListProblemsPagesWithContext(ctx aws.Context, input *ListProblemsInput, fn func(*ListProblemsOutput, bool) bool, opts ...request.Option) error
ListProblemsPagesWithContext same as ListProblemsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) ListProblemsRequest ¶
func (c *ApplicationInsights) ListProblemsRequest(input *ListProblemsInput) (req *request.Request, output *ListProblemsOutput)
ListProblemsRequest generates a "aws/request.Request" representing the client's request for the ListProblems operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProblems for more information on using the ListProblems API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProblemsRequest method. req, resp := client.ListProblemsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems
func (*ApplicationInsights) ListProblemsWithContext ¶
func (c *ApplicationInsights) ListProblemsWithContext(ctx aws.Context, input *ListProblemsInput, opts ...request.Option) (*ListProblemsOutput, error)
ListProblemsWithContext is the same as ListProblems with the addition of the ability to pass a context and additional request options.
See ListProblems for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) UpdateApplication ¶ added in v1.22.1
func (c *ApplicationInsights) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)
UpdateApplication API operation for Amazon CloudWatch Application Insights.
Updates the application.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation UpdateApplication for usage and error information.
Returned Error Codes:
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication
func (*ApplicationInsights) UpdateApplicationRequest ¶ added in v1.22.1
func (c *ApplicationInsights) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)
UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApplication for more information on using the UpdateApplication API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateApplicationRequest method. req, resp := client.UpdateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication
func (*ApplicationInsights) UpdateApplicationWithContext ¶ added in v1.22.1
func (c *ApplicationInsights) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)
UpdateApplicationWithContext is the same as UpdateApplication with the addition of the ability to pass a context and additional request options.
See UpdateApplication for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) UpdateComponent ¶
func (c *ApplicationInsights) UpdateComponent(input *UpdateComponentInput) (*UpdateComponentOutput, error)
UpdateComponent API operation for Amazon CloudWatch Application Insights.
Updates the custom component name and/or the list of resources that make up the component.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation UpdateComponent for usage and error information.
Returned Error Codes:
ErrCodeResourceInUseException "ResourceInUseException" The resource is already created or in use.
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent
func (*ApplicationInsights) UpdateComponentConfiguration ¶
func (c *ApplicationInsights) UpdateComponentConfiguration(input *UpdateComponentConfigurationInput) (*UpdateComponentConfigurationOutput, error)
UpdateComponentConfiguration API operation for Amazon CloudWatch Application Insights.
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CloudWatch Application Insights's API operation UpdateComponentConfiguration for usage and error information.
Returned Error Codes:
ErrCodeResourceNotFoundException "ResourceNotFoundException" The resource does not exist in the customer account.
ErrCodeValidationException "ValidationException" The parameter is not valid.
ErrCodeInternalServerException "InternalServerException" The server encountered an internal error and is unable to complete the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration
func (*ApplicationInsights) UpdateComponentConfigurationRequest ¶
func (c *ApplicationInsights) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) (req *request.Request, output *UpdateComponentConfigurationOutput)
UpdateComponentConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateComponentConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateComponentConfiguration for more information on using the UpdateComponentConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateComponentConfigurationRequest method. req, resp := client.UpdateComponentConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration
func (*ApplicationInsights) UpdateComponentConfigurationWithContext ¶
func (c *ApplicationInsights) UpdateComponentConfigurationWithContext(ctx aws.Context, input *UpdateComponentConfigurationInput, opts ...request.Option) (*UpdateComponentConfigurationOutput, error)
UpdateComponentConfigurationWithContext is the same as UpdateComponentConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateComponentConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ApplicationInsights) UpdateComponentRequest ¶
func (c *ApplicationInsights) UpdateComponentRequest(input *UpdateComponentInput) (req *request.Request, output *UpdateComponentOutput)
UpdateComponentRequest generates a "aws/request.Request" representing the client's request for the UpdateComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateComponent for more information on using the UpdateComponent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateComponentRequest method. req, resp := client.UpdateComponentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent
func (*ApplicationInsights) UpdateComponentWithContext ¶
func (c *ApplicationInsights) UpdateComponentWithContext(ctx aws.Context, input *UpdateComponentInput, opts ...request.Option) (*UpdateComponentOutput, error)
UpdateComponentWithContext is the same as UpdateComponent with the addition of the ability to pass a context and additional request options.
See UpdateComponent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CreateApplicationInput ¶
type CreateApplicationInput struct { // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool `type:"boolean"` // The SNS topic provided to Application Insights that is associated to the // created opsItem. Allows you to receive notifications for updates to the opsItem. OpsItemSNSTopicArn *string `type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateApplicationInput) GoString ¶
func (s CreateApplicationInput) GoString() string
GoString returns the string representation
func (*CreateApplicationInput) SetOpsCenterEnabled ¶ added in v1.22.1
func (s *CreateApplicationInput) SetOpsCenterEnabled(v bool) *CreateApplicationInput
SetOpsCenterEnabled sets the OpsCenterEnabled field's value.
func (*CreateApplicationInput) SetOpsItemSNSTopicArn ¶ added in v1.22.1
func (s *CreateApplicationInput) SetOpsItemSNSTopicArn(v string) *CreateApplicationInput
SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.
func (*CreateApplicationInput) SetResourceGroupName ¶
func (s *CreateApplicationInput) SetResourceGroupName(v string) *CreateApplicationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (CreateApplicationInput) String ¶
func (s CreateApplicationInput) String() string
String returns the string representation
func (*CreateApplicationInput) Validate ¶
func (s *CreateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // Information about the application. ApplicationInfo *ApplicationInfo `type:"structure"` // contains filtered or unexported fields }
func (CreateApplicationOutput) GoString ¶
func (s CreateApplicationOutput) GoString() string
GoString returns the string representation
func (*CreateApplicationOutput) SetApplicationInfo ¶
func (s *CreateApplicationOutput) SetApplicationInfo(v *ApplicationInfo) *CreateApplicationOutput
SetApplicationInfo sets the ApplicationInfo field's value.
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateComponentInput ¶
type CreateComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // The list of resource ARNs that belong to the component. // // ResourceList is a required field ResourceList []*string `type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateComponentInput) GoString ¶
func (s CreateComponentInput) GoString() string
GoString returns the string representation
func (*CreateComponentInput) SetComponentName ¶
func (s *CreateComponentInput) SetComponentName(v string) *CreateComponentInput
SetComponentName sets the ComponentName field's value.
func (*CreateComponentInput) SetResourceGroupName ¶
func (s *CreateComponentInput) SetResourceGroupName(v string) *CreateComponentInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (*CreateComponentInput) SetResourceList ¶
func (s *CreateComponentInput) SetResourceList(v []*string) *CreateComponentInput
SetResourceList sets the ResourceList field's value.
func (CreateComponentInput) String ¶
func (s CreateComponentInput) String() string
String returns the string representation
func (*CreateComponentInput) Validate ¶
func (s *CreateComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateComponentOutput ¶
type CreateComponentOutput struct {
// contains filtered or unexported fields
}
func (CreateComponentOutput) GoString ¶
func (s CreateComponentOutput) GoString() string
GoString returns the string representation
func (CreateComponentOutput) String ¶
func (s CreateComponentOutput) String() string
String returns the string representation
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteApplicationInput) GoString ¶
func (s DeleteApplicationInput) GoString() string
GoString returns the string representation
func (*DeleteApplicationInput) SetResourceGroupName ¶
func (s *DeleteApplicationInput) SetResourceGroupName(v string) *DeleteApplicationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (DeleteApplicationInput) String ¶
func (s DeleteApplicationInput) String() string
String returns the string representation
func (*DeleteApplicationInput) Validate ¶
func (s *DeleteApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct {
// contains filtered or unexported fields
}
func (DeleteApplicationOutput) GoString ¶
func (s DeleteApplicationOutput) GoString() string
GoString returns the string representation
func (DeleteApplicationOutput) String ¶
func (s DeleteApplicationOutput) String() string
String returns the string representation
type DeleteComponentInput ¶
type DeleteComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteComponentInput) GoString ¶
func (s DeleteComponentInput) GoString() string
GoString returns the string representation
func (*DeleteComponentInput) SetComponentName ¶
func (s *DeleteComponentInput) SetComponentName(v string) *DeleteComponentInput
SetComponentName sets the ComponentName field's value.
func (*DeleteComponentInput) SetResourceGroupName ¶
func (s *DeleteComponentInput) SetResourceGroupName(v string) *DeleteComponentInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (DeleteComponentInput) String ¶
func (s DeleteComponentInput) String() string
String returns the string representation
func (*DeleteComponentInput) Validate ¶
func (s *DeleteComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteComponentOutput ¶
type DeleteComponentOutput struct {
// contains filtered or unexported fields
}
func (DeleteComponentOutput) GoString ¶
func (s DeleteComponentOutput) GoString() string
GoString returns the string representation
func (DeleteComponentOutput) String ¶
func (s DeleteComponentOutput) String() string
String returns the string representation
type DescribeApplicationInput ¶
type DescribeApplicationInput struct { // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeApplicationInput) GoString ¶
func (s DescribeApplicationInput) GoString() string
GoString returns the string representation
func (*DescribeApplicationInput) SetResourceGroupName ¶
func (s *DescribeApplicationInput) SetResourceGroupName(v string) *DescribeApplicationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (DescribeApplicationInput) String ¶
func (s DescribeApplicationInput) String() string
String returns the string representation
func (*DescribeApplicationInput) Validate ¶
func (s *DescribeApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeApplicationOutput ¶
type DescribeApplicationOutput struct { // Information about the application. ApplicationInfo *ApplicationInfo `type:"structure"` // contains filtered or unexported fields }
func (DescribeApplicationOutput) GoString ¶
func (s DescribeApplicationOutput) GoString() string
GoString returns the string representation
func (*DescribeApplicationOutput) SetApplicationInfo ¶
func (s *DescribeApplicationOutput) SetApplicationInfo(v *ApplicationInfo) *DescribeApplicationOutput
SetApplicationInfo sets the ApplicationInfo field's value.
func (DescribeApplicationOutput) String ¶
func (s DescribeApplicationOutput) String() string
String returns the string representation
type DescribeComponentConfigurationInput ¶
type DescribeComponentConfigurationInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeComponentConfigurationInput) GoString ¶
func (s DescribeComponentConfigurationInput) GoString() string
GoString returns the string representation
func (*DescribeComponentConfigurationInput) SetComponentName ¶
func (s *DescribeComponentConfigurationInput) SetComponentName(v string) *DescribeComponentConfigurationInput
SetComponentName sets the ComponentName field's value.
func (*DescribeComponentConfigurationInput) SetResourceGroupName ¶
func (s *DescribeComponentConfigurationInput) SetResourceGroupName(v string) *DescribeComponentConfigurationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (DescribeComponentConfigurationInput) String ¶
func (s DescribeComponentConfigurationInput) String() string
String returns the string representation
func (*DescribeComponentConfigurationInput) Validate ¶
func (s *DescribeComponentConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeComponentConfigurationOutput ¶
type DescribeComponentConfigurationOutput struct { // The configuration settings of the component. The value is the escaped JSON // of the configuration. ComponentConfiguration *string `type:"string"` // Indicates whether the application component is monitored. Monitor *bool `type:"boolean"` // The tier of the application component. Supported tiers include DOT_NET_WORKER, // DOT_NET_WEB, SQL_SERVER, and DEFAULT Tier *string `type:"string"` // contains filtered or unexported fields }
func (DescribeComponentConfigurationOutput) GoString ¶
func (s DescribeComponentConfigurationOutput) GoString() string
GoString returns the string representation
func (*DescribeComponentConfigurationOutput) SetComponentConfiguration ¶
func (s *DescribeComponentConfigurationOutput) SetComponentConfiguration(v string) *DescribeComponentConfigurationOutput
SetComponentConfiguration sets the ComponentConfiguration field's value.
func (*DescribeComponentConfigurationOutput) SetMonitor ¶
func (s *DescribeComponentConfigurationOutput) SetMonitor(v bool) *DescribeComponentConfigurationOutput
SetMonitor sets the Monitor field's value.
func (*DescribeComponentConfigurationOutput) SetTier ¶
func (s *DescribeComponentConfigurationOutput) SetTier(v string) *DescribeComponentConfigurationOutput
SetTier sets the Tier field's value.
func (DescribeComponentConfigurationOutput) String ¶
func (s DescribeComponentConfigurationOutput) String() string
String returns the string representation
type DescribeComponentConfigurationRecommendationInput ¶
type DescribeComponentConfigurationRecommendationInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // The tier of the application component. Supported tiers include DOT_NET_WORKER, // DOT_NET_WEB, SQL_SERVER, and DEFAULT. // // Tier is a required field Tier *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeComponentConfigurationRecommendationInput) GoString ¶
func (s DescribeComponentConfigurationRecommendationInput) GoString() string
GoString returns the string representation
func (*DescribeComponentConfigurationRecommendationInput) SetComponentName ¶
func (s *DescribeComponentConfigurationRecommendationInput) SetComponentName(v string) *DescribeComponentConfigurationRecommendationInput
SetComponentName sets the ComponentName field's value.
func (*DescribeComponentConfigurationRecommendationInput) SetResourceGroupName ¶
func (s *DescribeComponentConfigurationRecommendationInput) SetResourceGroupName(v string) *DescribeComponentConfigurationRecommendationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (*DescribeComponentConfigurationRecommendationInput) SetTier ¶
func (s *DescribeComponentConfigurationRecommendationInput) SetTier(v string) *DescribeComponentConfigurationRecommendationInput
SetTier sets the Tier field's value.
func (DescribeComponentConfigurationRecommendationInput) String ¶
func (s DescribeComponentConfigurationRecommendationInput) String() string
String returns the string representation
func (*DescribeComponentConfigurationRecommendationInput) Validate ¶
func (s *DescribeComponentConfigurationRecommendationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeComponentConfigurationRecommendationOutput ¶
type DescribeComponentConfigurationRecommendationOutput struct { // The recommended configuration settings of the component. The value is the // escaped JSON of the configuration. ComponentConfiguration *string `type:"string"` // contains filtered or unexported fields }
func (DescribeComponentConfigurationRecommendationOutput) GoString ¶
func (s DescribeComponentConfigurationRecommendationOutput) GoString() string
GoString returns the string representation
func (*DescribeComponentConfigurationRecommendationOutput) SetComponentConfiguration ¶
func (s *DescribeComponentConfigurationRecommendationOutput) SetComponentConfiguration(v string) *DescribeComponentConfigurationRecommendationOutput
SetComponentConfiguration sets the ComponentConfiguration field's value.
func (DescribeComponentConfigurationRecommendationOutput) String ¶
func (s DescribeComponentConfigurationRecommendationOutput) String() string
String returns the string representation
type DescribeComponentInput ¶
type DescribeComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeComponentInput) GoString ¶
func (s DescribeComponentInput) GoString() string
GoString returns the string representation
func (*DescribeComponentInput) SetComponentName ¶
func (s *DescribeComponentInput) SetComponentName(v string) *DescribeComponentInput
SetComponentName sets the ComponentName field's value.
func (*DescribeComponentInput) SetResourceGroupName ¶
func (s *DescribeComponentInput) SetResourceGroupName(v string) *DescribeComponentInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (DescribeComponentInput) String ¶
func (s DescribeComponentInput) String() string
String returns the string representation
func (*DescribeComponentInput) Validate ¶
func (s *DescribeComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeComponentOutput ¶
type DescribeComponentOutput struct { // Describes a standalone resource or similarly grouped resources that the application // is made up of. ApplicationComponent *ApplicationComponent `type:"structure"` // The list of resource ARNs that belong to the component. ResourceList []*string `type:"list"` // contains filtered or unexported fields }
func (DescribeComponentOutput) GoString ¶
func (s DescribeComponentOutput) GoString() string
GoString returns the string representation
func (*DescribeComponentOutput) SetApplicationComponent ¶
func (s *DescribeComponentOutput) SetApplicationComponent(v *ApplicationComponent) *DescribeComponentOutput
SetApplicationComponent sets the ApplicationComponent field's value.
func (*DescribeComponentOutput) SetResourceList ¶
func (s *DescribeComponentOutput) SetResourceList(v []*string) *DescribeComponentOutput
SetResourceList sets the ResourceList field's value.
func (DescribeComponentOutput) String ¶
func (s DescribeComponentOutput) String() string
String returns the string representation
type DescribeObservationInput ¶
type DescribeObservationInput struct { // The ID of the observation. // // ObservationId is a required field ObservationId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeObservationInput) GoString ¶
func (s DescribeObservationInput) GoString() string
GoString returns the string representation
func (*DescribeObservationInput) SetObservationId ¶
func (s *DescribeObservationInput) SetObservationId(v string) *DescribeObservationInput
SetObservationId sets the ObservationId field's value.
func (DescribeObservationInput) String ¶
func (s DescribeObservationInput) String() string
String returns the string representation
func (*DescribeObservationInput) Validate ¶
func (s *DescribeObservationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeObservationOutput ¶
type DescribeObservationOutput struct { // Information about the observation. Observation *Observation `type:"structure"` // contains filtered or unexported fields }
func (DescribeObservationOutput) GoString ¶
func (s DescribeObservationOutput) GoString() string
GoString returns the string representation
func (*DescribeObservationOutput) SetObservation ¶
func (s *DescribeObservationOutput) SetObservation(v *Observation) *DescribeObservationOutput
SetObservation sets the Observation field's value.
func (DescribeObservationOutput) String ¶
func (s DescribeObservationOutput) String() string
String returns the string representation
type DescribeProblemInput ¶
type DescribeProblemInput struct { // The ID of the problem. // // ProblemId is a required field ProblemId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeProblemInput) GoString ¶
func (s DescribeProblemInput) GoString() string
GoString returns the string representation
func (*DescribeProblemInput) SetProblemId ¶
func (s *DescribeProblemInput) SetProblemId(v string) *DescribeProblemInput
SetProblemId sets the ProblemId field's value.
func (DescribeProblemInput) String ¶
func (s DescribeProblemInput) String() string
String returns the string representation
func (*DescribeProblemInput) Validate ¶
func (s *DescribeProblemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProblemObservationsInput ¶
type DescribeProblemObservationsInput struct { // The ID of the problem. // // ProblemId is a required field ProblemId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeProblemObservationsInput) GoString ¶
func (s DescribeProblemObservationsInput) GoString() string
GoString returns the string representation
func (*DescribeProblemObservationsInput) SetProblemId ¶
func (s *DescribeProblemObservationsInput) SetProblemId(v string) *DescribeProblemObservationsInput
SetProblemId sets the ProblemId field's value.
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) GoString ¶
func (s DescribeProblemObservationsOutput) GoString() string
GoString returns the string representation
func (*DescribeProblemObservationsOutput) SetRelatedObservations ¶
func (s *DescribeProblemObservationsOutput) SetRelatedObservations(v *RelatedObservations) *DescribeProblemObservationsOutput
SetRelatedObservations sets the RelatedObservations field's value.
func (DescribeProblemObservationsOutput) String ¶
func (s DescribeProblemObservationsOutput) String() string
String returns the string representation
type DescribeProblemOutput ¶
type DescribeProblemOutput struct { // Information about the problem. Problem *Problem `type:"structure"` // contains filtered or unexported fields }
func (DescribeProblemOutput) GoString ¶
func (s DescribeProblemOutput) GoString() string
GoString returns the string representation
func (*DescribeProblemOutput) SetProblem ¶
func (s *DescribeProblemOutput) SetProblem(v *Problem) *DescribeProblemOutput
SetProblem sets the Problem field's value.
func (DescribeProblemOutput) String ¶
func (s DescribeProblemOutput) String() string
String returns the string representation
type ListApplicationsInput ¶
type ListApplicationsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListApplicationsInput) GoString ¶
func (s ListApplicationsInput) GoString() string
GoString returns the string representation
func (*ListApplicationsInput) SetMaxResults ¶
func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListApplicationsInput) SetNextToken ¶
func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput
SetNextToken sets the NextToken field's value.
func (ListApplicationsInput) String ¶
func (s ListApplicationsInput) String() string
String returns the string representation
func (*ListApplicationsInput) Validate ¶
func (s *ListApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { // The list of applications. ApplicationInfoList []*ApplicationInfo `type:"list"` // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListApplicationsOutput) GoString ¶
func (s ListApplicationsOutput) GoString() string
GoString returns the string representation
func (*ListApplicationsOutput) SetApplicationInfoList ¶
func (s *ListApplicationsOutput) SetApplicationInfoList(v []*ApplicationInfo) *ListApplicationsOutput
SetApplicationInfoList sets the ApplicationInfoList field's value.
func (*ListApplicationsOutput) SetNextToken ¶
func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
SetNextToken sets the NextToken field's value.
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation
type ListComponentsInput ¶
type ListComponentsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ListComponentsInput) GoString ¶
func (s ListComponentsInput) GoString() string
GoString returns the string representation
func (*ListComponentsInput) SetMaxResults ¶
func (s *ListComponentsInput) SetMaxResults(v int64) *ListComponentsInput
SetMaxResults sets the MaxResults field's value.
func (*ListComponentsInput) SetNextToken ¶
func (s *ListComponentsInput) SetNextToken(v string) *ListComponentsInput
SetNextToken sets the NextToken field's value.
func (*ListComponentsInput) SetResourceGroupName ¶
func (s *ListComponentsInput) SetResourceGroupName(v string) *ListComponentsInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (ListComponentsInput) String ¶
func (s ListComponentsInput) String() string
String returns the string representation
func (*ListComponentsInput) Validate ¶
func (s *ListComponentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListComponentsOutput ¶
type ListComponentsOutput struct { // The list of application components. ApplicationComponentList []*ApplicationComponent `type:"list"` // The token to request the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListComponentsOutput) GoString ¶
func (s ListComponentsOutput) GoString() string
GoString returns the string representation
func (*ListComponentsOutput) SetApplicationComponentList ¶
func (s *ListComponentsOutput) SetApplicationComponentList(v []*ApplicationComponent) *ListComponentsOutput
SetApplicationComponentList sets the ApplicationComponentList field's value.
func (*ListComponentsOutput) SetNextToken ¶
func (s *ListComponentsOutput) SetNextToken(v string) *ListComponentsOutput
SetNextToken sets the NextToken field's value.
func (ListComponentsOutput) String ¶
func (s ListComponentsOutput) String() string
String returns the string representation
type ListProblemsInput ¶
type ListProblemsInput struct { // The time when the problem ended, in epoch seconds. If not specified, problems // within the past seven days are returned. EndTime *time.Time `type:"timestamp"` // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token to request the next page of results. NextToken *string `type:"string"` // The name of the resource group. ResourceGroupName *string `type:"string"` // The time when the problem was detected, in epoch seconds. If you don't specify // a time frame for the request, problems within the past seven days are returned. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (ListProblemsInput) GoString ¶
func (s ListProblemsInput) GoString() string
GoString returns the string representation
func (*ListProblemsInput) SetEndTime ¶
func (s *ListProblemsInput) SetEndTime(v time.Time) *ListProblemsInput
SetEndTime sets the EndTime field's value.
func (*ListProblemsInput) SetMaxResults ¶
func (s *ListProblemsInput) SetMaxResults(v int64) *ListProblemsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProblemsInput) SetNextToken ¶
func (s *ListProblemsInput) SetNextToken(v string) *ListProblemsInput
SetNextToken sets the NextToken field's value.
func (*ListProblemsInput) SetResourceGroupName ¶
func (s *ListProblemsInput) SetResourceGroupName(v string) *ListProblemsInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (*ListProblemsInput) SetStartTime ¶
func (s *ListProblemsInput) SetStartTime(v time.Time) *ListProblemsInput
SetStartTime sets the StartTime field's value.
func (ListProblemsInput) String ¶
func (s ListProblemsInput) String() string
String returns the string representation
func (*ListProblemsInput) Validate ¶
func (s *ListProblemsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProblemsOutput ¶
type ListProblemsOutput struct { // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `type:"string"` // The list of problems. ProblemList []*Problem `type:"list"` // contains filtered or unexported fields }
func (ListProblemsOutput) GoString ¶
func (s ListProblemsOutput) GoString() string
GoString returns the string representation
func (*ListProblemsOutput) SetNextToken ¶
func (s *ListProblemsOutput) SetNextToken(v string) *ListProblemsOutput
SetNextToken sets the NextToken field's value.
func (*ListProblemsOutput) SetProblemList ¶
func (s *ListProblemsOutput) SetProblemList(v []*Problem) *ListProblemsOutput
SetProblemList sets the ProblemList field's value.
func (ListProblemsOutput) String ¶
func (s ListProblemsOutput) String() string
String returns the string representation
type Observation ¶
type Observation struct { // The time when the observation ended, in epoch seconds. EndTime *time.Time `type:"timestamp"` // The ID of the observation type. Id *string `type:"string"` // The timestamp in the CloudWatch Logs that specifies when the matched line // occurred. LineTime *time.Time `type:"timestamp"` // The log filter of the observation. LogFilter *string `type:"string" enum:"LogFilter"` // The log group name. LogGroup *string `type:"string"` // The log text of the observation. LogText *string `type:"string"` // The name of the observation metric. MetricName *string `type:"string"` // The namespace of the observation metric. MetricNamespace *string `type:"string"` // The source resource ARN of the observation. SourceARN *string `type:"string"` // The source type of the observation. SourceType *string `type:"string"` // The time when the observation was first detected, in epoch seconds. StartTime *time.Time `type:"timestamp"` // The unit of the source observation metric. Unit *string `type:"string"` // The value of the source observation metric. Value *float64 `type:"double"` // contains filtered or unexported fields }
Describes an anomaly or error with the application.
func (Observation) GoString ¶
func (s Observation) GoString() string
GoString returns the string representation
func (*Observation) SetEndTime ¶
func (s *Observation) SetEndTime(v time.Time) *Observation
SetEndTime sets the EndTime field's value.
func (*Observation) SetId ¶
func (s *Observation) SetId(v string) *Observation
SetId sets the Id field's value.
func (*Observation) SetLineTime ¶
func (s *Observation) SetLineTime(v time.Time) *Observation
SetLineTime sets the LineTime field's value.
func (*Observation) SetLogFilter ¶
func (s *Observation) SetLogFilter(v string) *Observation
SetLogFilter sets the LogFilter field's value.
func (*Observation) SetLogGroup ¶
func (s *Observation) SetLogGroup(v string) *Observation
SetLogGroup sets the LogGroup field's value.
func (*Observation) SetLogText ¶
func (s *Observation) SetLogText(v string) *Observation
SetLogText sets the LogText field's value.
func (*Observation) SetMetricName ¶
func (s *Observation) SetMetricName(v string) *Observation
SetMetricName sets the MetricName field's value.
func (*Observation) SetMetricNamespace ¶
func (s *Observation) SetMetricNamespace(v string) *Observation
SetMetricNamespace sets the MetricNamespace field's value.
func (*Observation) SetSourceARN ¶
func (s *Observation) SetSourceARN(v string) *Observation
SetSourceARN sets the SourceARN field's value.
func (*Observation) SetSourceType ¶
func (s *Observation) SetSourceType(v string) *Observation
SetSourceType sets the SourceType field's value.
func (*Observation) SetStartTime ¶
func (s *Observation) SetStartTime(v time.Time) *Observation
SetStartTime sets the StartTime field's value.
func (*Observation) SetUnit ¶
func (s *Observation) SetUnit(v string) *Observation
SetUnit sets the Unit field's value.
func (*Observation) SetValue ¶
func (s *Observation) SetValue(v float64) *Observation
SetValue sets the Value field's value.
func (Observation) String ¶
func (s Observation) String() string
String returns the string representation
type Problem ¶
type Problem struct { // The resource affected by the problem. AffectedResource *string `type:"string"` // The time when the problem ended, in epoch seconds. EndTime *time.Time `type:"timestamp"` // Feedback provided by the user about the problem. Feedback map[string]*string `type:"map"` // The ID of the problem. Id *string `type:"string"` // A detailed analysis of the problem using machine learning. Insights *string `type:"string"` // The name of the resource group affected by the problem. ResourceGroupName *string `type:"string"` // A measure of the level of impact of the problem. SeverityLevel *string `type:"string" enum:"SeverityLevel"` // The time when the problem started, in epoch seconds. StartTime *time.Time `type:"timestamp"` // The status of the problem. Status *string `type:"string" enum:"Status"` // The name of the problem. Title *string `type:"string"` // contains filtered or unexported fields }
Describes a problem that is detected by correlating observations.
func (*Problem) SetAffectedResource ¶
SetAffectedResource sets the AffectedResource field's value.
func (*Problem) SetEndTime ¶
SetEndTime sets the EndTime field's value.
func (*Problem) SetFeedback ¶
SetFeedback sets the Feedback field's value.
func (*Problem) SetInsights ¶
SetInsights sets the Insights field's value.
func (*Problem) SetResourceGroupName ¶
SetResourceGroupName sets the ResourceGroupName field's value.
func (*Problem) SetSeverityLevel ¶
SetSeverityLevel sets the SeverityLevel field's value.
func (*Problem) SetStartTime ¶
SetStartTime sets the StartTime field's value.
type RelatedObservations ¶
type RelatedObservations struct { // The list of observations related to the problem. ObservationList []*Observation `type:"list"` // contains filtered or unexported fields }
Describes observations related to the problem.
func (RelatedObservations) GoString ¶
func (s RelatedObservations) GoString() string
GoString returns the string representation
func (*RelatedObservations) SetObservationList ¶
func (s *RelatedObservations) SetObservationList(v []*Observation) *RelatedObservations
SetObservationList sets the ObservationList field's value.
func (RelatedObservations) String ¶
func (s RelatedObservations) String() string
String returns the string representation
type UpdateApplicationInput ¶ added in v1.22.1
type UpdateApplicationInput struct { // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool `type:"boolean"` // The SNS topic provided to Application Insights that is associated to the // created opsItem. Allows you to receive notifications for updates to the opsItem. OpsItemSNSTopicArn *string `type:"string"` // Disassociates the SNS topic from the opsItem created for detected problems. RemoveSNSTopic *bool `type:"boolean"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateApplicationInput) GoString ¶ added in v1.22.1
func (s UpdateApplicationInput) GoString() string
GoString returns the string representation
func (*UpdateApplicationInput) SetOpsCenterEnabled ¶ added in v1.22.1
func (s *UpdateApplicationInput) SetOpsCenterEnabled(v bool) *UpdateApplicationInput
SetOpsCenterEnabled sets the OpsCenterEnabled field's value.
func (*UpdateApplicationInput) SetOpsItemSNSTopicArn ¶ added in v1.22.1
func (s *UpdateApplicationInput) SetOpsItemSNSTopicArn(v string) *UpdateApplicationInput
SetOpsItemSNSTopicArn sets the OpsItemSNSTopicArn field's value.
func (*UpdateApplicationInput) SetRemoveSNSTopic ¶ added in v1.22.1
func (s *UpdateApplicationInput) SetRemoveSNSTopic(v bool) *UpdateApplicationInput
SetRemoveSNSTopic sets the RemoveSNSTopic field's value.
func (*UpdateApplicationInput) SetResourceGroupName ¶ added in v1.22.1
func (s *UpdateApplicationInput) SetResourceGroupName(v string) *UpdateApplicationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (UpdateApplicationInput) String ¶ added in v1.22.1
func (s UpdateApplicationInput) String() string
String returns the string representation
func (*UpdateApplicationInput) Validate ¶ added in v1.22.1
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationOutput ¶ added in v1.22.1
type UpdateApplicationOutput struct { // Information about the application. ApplicationInfo *ApplicationInfo `type:"structure"` // contains filtered or unexported fields }
func (UpdateApplicationOutput) GoString ¶ added in v1.22.1
func (s UpdateApplicationOutput) GoString() string
GoString returns the string representation
func (*UpdateApplicationOutput) SetApplicationInfo ¶ added in v1.22.1
func (s *UpdateApplicationOutput) SetApplicationInfo(v *ApplicationInfo) *UpdateApplicationOutput
SetApplicationInfo sets the ApplicationInfo field's value.
func (UpdateApplicationOutput) String ¶ added in v1.22.1
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateComponentConfigurationInput ¶
type UpdateComponentConfigurationInput struct { // The configuration settings of the component. The value is the escaped JSON // of the configuration. For more information about the JSON format, see Working // with JSON (https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html). // You can send a request to DescribeComponentConfigurationRecommendation to // see the recommended configuration for a component. ComponentConfiguration *string `type:"string"` // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // Indicates whether the application component is monitored. Monitor *bool `type:"boolean"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // The tier of the application component. Supported tiers include DOT_NET_WORKER, // DOT_NET_WEB, SQL_SERVER, and DEFAULT. Tier *string `type:"string"` // contains filtered or unexported fields }
func (UpdateComponentConfigurationInput) GoString ¶
func (s UpdateComponentConfigurationInput) GoString() string
GoString returns the string representation
func (*UpdateComponentConfigurationInput) SetComponentConfiguration ¶
func (s *UpdateComponentConfigurationInput) SetComponentConfiguration(v string) *UpdateComponentConfigurationInput
SetComponentConfiguration sets the ComponentConfiguration field's value.
func (*UpdateComponentConfigurationInput) SetComponentName ¶
func (s *UpdateComponentConfigurationInput) SetComponentName(v string) *UpdateComponentConfigurationInput
SetComponentName sets the ComponentName field's value.
func (*UpdateComponentConfigurationInput) SetMonitor ¶
func (s *UpdateComponentConfigurationInput) SetMonitor(v bool) *UpdateComponentConfigurationInput
SetMonitor sets the Monitor field's value.
func (*UpdateComponentConfigurationInput) SetResourceGroupName ¶
func (s *UpdateComponentConfigurationInput) SetResourceGroupName(v string) *UpdateComponentConfigurationInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (*UpdateComponentConfigurationInput) SetTier ¶
func (s *UpdateComponentConfigurationInput) SetTier(v string) *UpdateComponentConfigurationInput
SetTier sets the Tier field's value.
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) GoString ¶
func (s UpdateComponentConfigurationOutput) GoString() string
GoString returns the string representation
func (UpdateComponentConfigurationOutput) String ¶
func (s UpdateComponentConfigurationOutput) String() string
String returns the string representation
type UpdateComponentInput ¶
type UpdateComponentInput struct { // The name of the component. // // ComponentName is a required field ComponentName *string `type:"string" required:"true"` // The new name of the component. NewComponentName *string `type:"string"` // The name of the resource group. // // ResourceGroupName is a required field ResourceGroupName *string `type:"string" required:"true"` // The list of resource ARNs that belong to the component. ResourceList []*string `type:"list"` // contains filtered or unexported fields }
func (UpdateComponentInput) GoString ¶
func (s UpdateComponentInput) GoString() string
GoString returns the string representation
func (*UpdateComponentInput) SetComponentName ¶
func (s *UpdateComponentInput) SetComponentName(v string) *UpdateComponentInput
SetComponentName sets the ComponentName field's value.
func (*UpdateComponentInput) SetNewComponentName ¶
func (s *UpdateComponentInput) SetNewComponentName(v string) *UpdateComponentInput
SetNewComponentName sets the NewComponentName field's value.
func (*UpdateComponentInput) SetResourceGroupName ¶
func (s *UpdateComponentInput) SetResourceGroupName(v string) *UpdateComponentInput
SetResourceGroupName sets the ResourceGroupName field's value.
func (*UpdateComponentInput) SetResourceList ¶
func (s *UpdateComponentInput) SetResourceList(v []*string) *UpdateComponentInput
SetResourceList sets the ResourceList field's value.
func (UpdateComponentInput) String ¶
func (s UpdateComponentInput) String() string
String returns the string representation
func (*UpdateComponentInput) Validate ¶
func (s *UpdateComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateComponentOutput ¶
type UpdateComponentOutput struct {
// contains filtered or unexported fields
}
func (UpdateComponentOutput) GoString ¶
func (s UpdateComponentOutput) GoString() string
GoString returns the string representation
func (UpdateComponentOutput) String ¶
func (s UpdateComponentOutput) String() string
String returns the string representation
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. |