package applicationinsights
import "github.com/aws/aws-sdk-go-v2/service/applicationinsights"
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
- func (c *Client) CreateComponent(ctx context.Context, params *CreateComponentInput, optFns ...func(*Options)) (*CreateComponentOutput, error)
- func (c *Client) CreateLogPattern(ctx context.Context, params *CreateLogPatternInput, optFns ...func(*Options)) (*CreateLogPatternOutput, error)
- func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
- func (c *Client) DeleteComponent(ctx context.Context, params *DeleteComponentInput, optFns ...func(*Options)) (*DeleteComponentOutput, error)
- func (c *Client) DeleteLogPattern(ctx context.Context, params *DeleteLogPatternInput, optFns ...func(*Options)) (*DeleteLogPatternOutput, error)
- func (c *Client) DescribeApplication(ctx context.Context, params *DescribeApplicationInput, optFns ...func(*Options)) (*DescribeApplicationOutput, error)
- func (c *Client) DescribeComponent(ctx context.Context, params *DescribeComponentInput, optFns ...func(*Options)) (*DescribeComponentOutput, error)
- func (c *Client) DescribeComponentConfiguration(ctx context.Context, params *DescribeComponentConfigurationInput, optFns ...func(*Options)) (*DescribeComponentConfigurationOutput, error)
- func (c *Client) DescribeComponentConfigurationRecommendation(ctx context.Context, params *DescribeComponentConfigurationRecommendationInput, optFns ...func(*Options)) (*DescribeComponentConfigurationRecommendationOutput, error)
- func (c *Client) DescribeLogPattern(ctx context.Context, params *DescribeLogPatternInput, optFns ...func(*Options)) (*DescribeLogPatternOutput, error)
- func (c *Client) DescribeObservation(ctx context.Context, params *DescribeObservationInput, optFns ...func(*Options)) (*DescribeObservationOutput, error)
- func (c *Client) DescribeProblem(ctx context.Context, params *DescribeProblemInput, optFns ...func(*Options)) (*DescribeProblemOutput, error)
- func (c *Client) DescribeProblemObservations(ctx context.Context, params *DescribeProblemObservationsInput, optFns ...func(*Options)) (*DescribeProblemObservationsOutput, error)
- func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
- func (c *Client) ListComponents(ctx context.Context, params *ListComponentsInput, optFns ...func(*Options)) (*ListComponentsOutput, error)
- func (c *Client) ListConfigurationHistory(ctx context.Context, params *ListConfigurationHistoryInput, optFns ...func(*Options)) (*ListConfigurationHistoryOutput, error)
- func (c *Client) ListLogPatternSets(ctx context.Context, params *ListLogPatternSetsInput, optFns ...func(*Options)) (*ListLogPatternSetsOutput, error)
- func (c *Client) ListLogPatterns(ctx context.Context, params *ListLogPatternsInput, optFns ...func(*Options)) (*ListLogPatternsOutput, error)
- func (c *Client) ListProblems(ctx context.Context, params *ListProblemsInput, optFns ...func(*Options)) (*ListProblemsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
- func (c *Client) UpdateComponent(ctx context.Context, params *UpdateComponentInput, optFns ...func(*Options)) (*UpdateComponentOutput, error)
- func (c *Client) UpdateComponentConfiguration(ctx context.Context, params *UpdateComponentConfigurationInput, optFns ...func(*Options)) (*UpdateComponentConfigurationOutput, error)
- func (c *Client) UpdateLogPattern(ctx context.Context, params *UpdateLogPatternInput, optFns ...func(*Options)) (*UpdateLogPatternOutput, error)
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateComponentInput
- type CreateComponentOutput
- type CreateLogPatternInput
- type CreateLogPatternOutput
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteComponentInput
- type DeleteComponentOutput
- type DeleteLogPatternInput
- type DeleteLogPatternOutput
- type DescribeApplicationInput
- type DescribeApplicationOutput
- type DescribeComponentConfigurationInput
- type DescribeComponentConfigurationOutput
- type DescribeComponentConfigurationRecommendationInput
- type DescribeComponentConfigurationRecommendationOutput
- type DescribeComponentInput
- type DescribeComponentOutput
- type DescribeLogPatternInput
- type DescribeLogPatternOutput
- type DescribeObservationInput
- type DescribeObservationOutput
- type DescribeProblemInput
- type DescribeProblemObservationsInput
- type DescribeProblemObservationsOutput
- type DescribeProblemOutput
- type EndpointResolver
- type EndpointResolverFunc
- type HTTPClient
- type HTTPSignerV4
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListComponentsInput
- type ListComponentsOutput
- type ListConfigurationHistoryInput
- type ListConfigurationHistoryOutput
- type ListLogPatternSetsInput
- type ListLogPatternSetsOutput
- type ListLogPatternsInput
- type ListLogPatternsOutput
- type ListProblemsInput
- type ListProblemsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateComponentConfigurationInput
- type UpdateComponentConfigurationOutput
- type UpdateComponentInput
- type UpdateComponentOutput
- type UpdateLogPatternInput
- type UpdateLogPatternOutput
Constants ¶
const ServiceAPIVersion = "2018-11-25"
const ServiceID = "Application Insights"
Functions ¶
func AddResolveEndpointMiddleware ¶
func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func RemoveResolveEndpointMiddleware ¶
func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Amazon CloudWatch Application Insights for .NET and SQL Server 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.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
Adds an application that is created from a resource group.
func (*Client) CreateComponent ¶
func (c *Client) CreateComponent(ctx context.Context, params *CreateComponentInput, optFns ...func(*Options)) (*CreateComponentOutput, error)
Creates a custom component by grouping similar standalone instances to monitor.
func (*Client) CreateLogPattern ¶
func (c *Client) CreateLogPattern(ctx context.Context, params *CreateLogPatternInput, optFns ...func(*Options)) (*CreateLogPatternOutput, error)
Adds an log pattern to a LogPatternSet.
func (*Client) DeleteApplication ¶
func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
Removes the specified application from monitoring. Does not delete the application.
func (*Client) DeleteComponent ¶
func (c *Client) DeleteComponent(ctx context.Context, params *DeleteComponentInput, optFns ...func(*Options)) (*DeleteComponentOutput, error)
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.
func (*Client) DeleteLogPattern ¶
func (c *Client) DeleteLogPattern(ctx context.Context, params *DeleteLogPatternInput, optFns ...func(*Options)) (*DeleteLogPatternOutput, error)
Removes the specified log pattern from a LogPatternSet.
func (*Client) DescribeApplication ¶
func (c *Client) DescribeApplication(ctx context.Context, params *DescribeApplicationInput, optFns ...func(*Options)) (*DescribeApplicationOutput, error)
Describes the application.
func (*Client) DescribeComponent ¶
func (c *Client) DescribeComponent(ctx context.Context, params *DescribeComponentInput, optFns ...func(*Options)) (*DescribeComponentOutput, error)
Describes a component and lists the resources that are grouped together in a component.
func (*Client) DescribeComponentConfiguration ¶
func (c *Client) DescribeComponentConfiguration(ctx context.Context, params *DescribeComponentConfigurationInput, optFns ...func(*Options)) (*DescribeComponentConfigurationOutput, error)
Describes the monitoring configuration of the component.
func (*Client) DescribeComponentConfigurationRecommendation ¶
func (c *Client) DescribeComponentConfigurationRecommendation(ctx context.Context, params *DescribeComponentConfigurationRecommendationInput, optFns ...func(*Options)) (*DescribeComponentConfigurationRecommendationOutput, error)
Describes the recommended monitoring configuration of the component.
func (*Client) DescribeLogPattern ¶
func (c *Client) DescribeLogPattern(ctx context.Context, params *DescribeLogPatternInput, optFns ...func(*Options)) (*DescribeLogPatternOutput, error)
Describe a specific log pattern from a LogPatternSet.
func (*Client) DescribeObservation ¶
func (c *Client) DescribeObservation(ctx context.Context, params *DescribeObservationInput, optFns ...func(*Options)) (*DescribeObservationOutput, error)
Describes an anomaly or error with the application.
func (*Client) DescribeProblem ¶
func (c *Client) DescribeProblem(ctx context.Context, params *DescribeProblemInput, optFns ...func(*Options)) (*DescribeProblemOutput, error)
Describes an application problem.
func (*Client) DescribeProblemObservations ¶
func (c *Client) DescribeProblemObservations(ctx context.Context, params *DescribeProblemObservationsInput, optFns ...func(*Options)) (*DescribeProblemObservationsOutput, error)
Describes the anomalies or errors associated with the problem.
func (*Client) ListApplications ¶
func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
Lists the IDs of the applications that you are monitoring.
func (*Client) ListComponents ¶
func (c *Client) ListComponents(ctx context.Context, params *ListComponentsInput, optFns ...func(*Options)) (*ListComponentsOutput, error)
Lists the auto-grouped, standalone, and custom components of the application.
func (*Client) ListConfigurationHistory ¶
func (c *Client) ListConfigurationHistory(ctx context.Context, params *ListConfigurationHistoryInput, optFns ...func(*Options)) (*ListConfigurationHistoryOutput, error)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
*
INFO: creating a new alarm or updating an alarm threshold.
- WARN: alarm
not created due to insufficient data points used to predict thresholds.
*
ERROR: alarm not created due to permission errors or exceeding quotas.
func (*Client) ListLogPatternSets ¶
func (c *Client) ListLogPatternSets(ctx context.Context, params *ListLogPatternSetsInput, optFns ...func(*Options)) (*ListLogPatternSetsOutput, error)
Lists the log pattern sets in the specific application.
func (*Client) ListLogPatterns ¶
func (c *Client) ListLogPatterns(ctx context.Context, params *ListLogPatternsInput, optFns ...func(*Options)) (*ListLogPatternsOutput, error)
Lists the log patterns in the specific log LogPatternSet.
func (*Client) ListProblems ¶
func (c *Client) ListProblems(ctx context.Context, params *ListProblemsInput, optFns ...func(*Options)) (*ListProblemsOutput, error)
Lists the problems with your application.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Remove one or more tags (keys and values) from a specified application.
func (*Client) UpdateApplication ¶
func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
Updates the application.
func (*Client) UpdateComponent ¶
func (c *Client) UpdateComponent(ctx context.Context, params *UpdateComponentInput, optFns ...func(*Options)) (*UpdateComponentOutput, error)
Updates the custom component name and/or the list of resources that make up the component.
func (*Client) UpdateComponentConfiguration ¶
func (c *Client) UpdateComponentConfiguration(ctx context.Context, params *UpdateComponentConfigurationInput, optFns ...func(*Options)) (*UpdateComponentConfigurationOutput, error)
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.
func (*Client) UpdateLogPattern ¶
func (c *Client) UpdateLogPattern(ctx context.Context, params *UpdateLogPatternInput, optFns ...func(*Options)) (*UpdateLogPatternOutput, error)
Adds a log pattern to a LogPatternSet.
type CreateApplicationInput ¶
type CreateApplicationInput struct { // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool // 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 // List of tags to add to the application. tag key (Key) and an associated tag // value (Value). The maximum length of a tag key is 128 characters. The maximum // length of a tag value is 256 characters. Tags []*types.Tag // The name of the resource group. ResourceGroupName *string // Indicates whether Application Insights can listen to CloudWatch events for the // application resources, such as instance terminated, failed deployment, and // others. CWEMonitorEnabled *bool }
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // Information about the application. ApplicationInfo *types.ApplicationInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateComponentInput ¶
type CreateComponentInput struct { // The list of resource ARNs that belong to the component. ResourceList []*string // The name of the component. ComponentName *string // The name of the resource group. ResourceGroupName *string }
type CreateComponentOutput ¶
type CreateComponentOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateLogPatternInput ¶
type CreateLogPatternInput struct { // Rank of the log pattern. Rank *int32 // The name of the log pattern. PatternName *string // The name of the resource group. ResourceGroupName *string // The name of the log pattern set. PatternSetName *string // The log pattern. Pattern *string }
type CreateLogPatternOutput ¶
type CreateLogPatternOutput struct { // The name of the resource group. ResourceGroupName *string // The successfully created log pattern. LogPattern *types.LogPattern // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name of the resource group. ResourceGroupName *string }
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteComponentInput ¶
type DeleteComponentInput struct { // The name of the resource group. ResourceGroupName *string // The name of the component. ComponentName *string }
type DeleteComponentOutput ¶
type DeleteComponentOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteLogPatternInput ¶
type DeleteLogPatternInput struct { // The name of the log pattern. PatternName *string // The name of the resource group. ResourceGroupName *string // The name of the log pattern set. PatternSetName *string }
type DeleteLogPatternOutput ¶
type DeleteLogPatternOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeApplicationInput ¶
type DescribeApplicationInput struct { // The name of the resource group. ResourceGroupName *string }
type DescribeApplicationOutput ¶
type DescribeApplicationOutput struct { // Information about the application. ApplicationInfo *types.ApplicationInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeComponentConfigurationInput ¶
type DescribeComponentConfigurationInput struct { // The name of the component. ComponentName *string // The name of the resource group. ResourceGroupName *string }
type DescribeComponentConfigurationOutput ¶
type DescribeComponentConfigurationOutput struct { // The tier of the application component. Supported tiers include DOT_NET_CORE, // DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT Tier types.Tier // Indicates whether the application component is monitored. Monitor *bool // The configuration settings of the component. The value is the escaped JSON of // the configuration. ComponentConfiguration *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeComponentConfigurationRecommendationInput ¶
type DescribeComponentConfigurationRecommendationInput struct { // The name of the component. ComponentName *string // The tier of the application component. Supported tiers include DOT_NET_CORE, // DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT. Tier types.Tier // The name of the resource group. ResourceGroupName *string }
type DescribeComponentConfigurationRecommendationOutput ¶
type DescribeComponentConfigurationRecommendationOutput struct { // The recommended configuration settings of the component. The value is the // escaped JSON of the configuration. ComponentConfiguration *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeComponentInput ¶
type DescribeComponentInput struct { // The name of the resource group. ResourceGroupName *string // The name of the component. ComponentName *string }
type DescribeComponentOutput ¶
type DescribeComponentOutput struct { // Describes a standalone resource or similarly grouped resources that the // application is made up of. ApplicationComponent *types.ApplicationComponent // The list of resource ARNs that belong to the component. ResourceList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeLogPatternInput ¶
type DescribeLogPatternInput struct { // The name of the log pattern. PatternName *string // The name of the resource group. ResourceGroupName *string // The name of the log pattern set. PatternSetName *string }
type DescribeLogPatternOutput ¶
type DescribeLogPatternOutput struct { // The successfully created log pattern. LogPattern *types.LogPattern // The name of the resource group. ResourceGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeObservationInput ¶
type DescribeObservationInput struct { // The ID of the observation. ObservationId *string }
type DescribeObservationOutput ¶
type DescribeObservationOutput struct { // Information about the observation. Observation *types.Observation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeProblemInput ¶
type DescribeProblemInput struct { // The ID of the problem. ProblemId *string }
type DescribeProblemObservationsInput ¶
type DescribeProblemObservationsInput struct { // The ID of the problem. ProblemId *string }
type DescribeProblemObservationsOutput ¶
type DescribeProblemObservationsOutput struct { // Observations related to the problem. RelatedObservations *types.RelatedObservations // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeProblemOutput ¶
type DescribeProblemOutput struct { // Information about the problem. Problem *types.Problem // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error }
type ListApplicationsInput ¶
type ListApplicationsInput struct { // The token to request the next page of results. NextToken *string // 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 *int32 }
type ListApplicationsOutput ¶
type ListApplicationsOutput 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 // The list of applications. ApplicationInfoList []*types.ApplicationInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 *int32 // The name of the resource group. ResourceGroupName *string // The token to request the next page of results. NextToken *string }
type ListComponentsOutput ¶
type ListComponentsOutput struct { // The token to request the next page of results. NextToken *string // The list of application components. ApplicationComponentList []*types.ApplicationComponent // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListConfigurationHistoryInput ¶
type ListConfigurationHistoryInput struct { // The maximum number of results returned by ListConfigurationHistory in paginated // output. When this parameter is used, ListConfigurationHistory returns only // MaxResults in a single page along with a NextToken response element. The // remaining results of the initial request can be seen by sending another // ListConfigurationHistory request with the returned NextToken value. If this // parameter is not used, then ListConfigurationHistory returns all results. MaxResults *int32 // Resource group to which the application belongs. ResourceGroupName *string // The NextToken value returned from a previous paginated ListConfigurationHistory // request where MaxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the NextToken value. This value is null when there are no more results // to return. NextToken *string // The status of the configuration update event. Possible values include INFO, // WARN, and ERROR. EventStatus types.ConfigurationEventStatus // The end time of the event. EndTime *time.Time // The start time of the event. StartTime *time.Time }
type ListConfigurationHistoryOutput ¶
type ListConfigurationHistoryOutput struct { // The list of configuration events and their corresponding details. EventList []*types.ConfigurationEvent // The NextToken value to include in a future ListConfigurationHistory request. // When the results of a ListConfigurationHistory request exceed MaxResults, this // value can be used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListLogPatternSetsInput ¶
type ListLogPatternSetsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned NextToken value. MaxResults *int32 // The name of the resource group. ResourceGroupName *string // The token to request the next page of results. NextToken *string }
type ListLogPatternSetsOutput ¶
type ListLogPatternSetsOutput struct { // The name of the resource group. ResourceGroupName *string // The list of log pattern sets. LogPatternSets []*string // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListLogPatternsInput ¶
type ListLogPatternsInput struct { // The name of the resource group. ResourceGroupName *string // 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 *int32 // The name of the log pattern set. PatternSetName *string // The token to request the next page of results. NextToken *string }
type ListLogPatternsOutput ¶
type ListLogPatternsOutput 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 // The list of log patterns. LogPatterns []*types.LogPattern // The name of the resource group. ResourceGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListProblemsInput ¶
type ListProblemsInput struct { // 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 // The name of the resource group. ResourceGroupName *string // The time when the problem ended, in epoch seconds. If not specified, problems // within the past seven days are returned. EndTime *time.Time // The token to request the next page of results. NextToken *string // 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 *int32 }
type ListProblemsOutput ¶
type ListProblemsOutput struct { // The list of problems. ProblemList []*types.Problem // The token used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the application that you want to retrieve tag // information for. ResourceARN *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // An array that lists all the tags that are associated with the application. Each // tag consists of a required tag key (Key) and an associated tag value (Value). Tags []*types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetCredentials ¶
func (o Options) GetCredentials() aws.CredentialsProvider
func (Options) GetEndpointOptions ¶
func (o Options) GetEndpointOptions() ResolverOptions
func (Options) GetEndpointResolver ¶
func (o Options) GetEndpointResolver() EndpointResolver
func (Options) GetHTTPSignerV4 ¶
func (o Options) GetHTTPSignerV4() HTTPSignerV4
func (Options) GetRegion ¶
func (Options) GetRetryer ¶
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolveEndpointMiddlewareOptions ¶
type ResolveEndpointMiddlewareOptions interface { GetEndpointResolver() EndpointResolver GetEndpointOptions() ResolverOptions }
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the application that you want to add one or // more tags to. ResourceARN *string // A list of tags that to add to the application. A tag consists of a required tag // key (Key) and an associated tag value (Value). The maximum length of a tag key // is 128 characters. The maximum length of a tag value is 256 characters. Tags []*types.Tag }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the application that you want to remove one or // more tags from. ResourceARN *string // The tags (tag keys) that you want to remove from the resource. When you specify // a tag key, the action removes both that key and its associated tag value. To // remove more than one tag from the application, append the TagKeys parameter and // argument for each additional tag to remove, separated by an ampersand. TagKeys []*string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // Indicates whether Application Insights can listen to CloudWatch events for the // application resources, such as instance terminated, failed deployment, and // others. CWEMonitorEnabled *bool // The name of the resource group. ResourceGroupName *string // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool // Disassociates the SNS topic from the opsItem created for detected problems. RemoveSNSTopic *bool // 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 UpdateApplicationOutput ¶
type UpdateApplicationOutput struct { // Information about the application. ApplicationInfo *types.ApplicationInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateComponentConfigurationInput ¶
type UpdateComponentConfigurationInput struct { // The tier of the application component. Supported tiers include DOT_NET_WORKER, // DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT. Tier types.Tier // The name of the component. ComponentName *string // The name of the resource group. ResourceGroupName *string // Indicates whether the application component is monitored. Monitor *bool // The configuration settings of the component. The value is the escaped JSON of // the configuration. For more information about the JSON format, see Working with // JSON // (https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html). // You can send a request to DescribeComponentConfigurationRecommendation to see // the recommended configuration for a component. For the complete format of the // component configuration file, see Component Configuration // (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html). ComponentConfiguration *string }
type UpdateComponentConfigurationOutput ¶
type UpdateComponentConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateComponentInput ¶
type UpdateComponentInput struct { // The new name of the component. NewComponentName *string // The name of the resource group. ResourceGroupName *string // The name of the component. ComponentName *string // The list of resource ARNs that belong to the component. ResourceList []*string }
type UpdateComponentOutput ¶
type UpdateComponentOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateLogPatternInput ¶
type UpdateLogPatternInput struct { // The log pattern. Pattern *string // The name of the log pattern set. PatternSetName *string // The name of the resource group. ResourceGroupName *string // The name of the log pattern. PatternName *string // Rank of the log pattern. Rank *int32 }
type UpdateLogPatternOutput ¶
type UpdateLogPatternOutput struct { // The name of the resource group. ResourceGroupName *string // The successfully created log pattern. LogPattern *types.LogPattern // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_CreateApplication.go api_op_CreateComponent.go api_op_CreateLogPattern.go api_op_DeleteApplication.go api_op_DeleteComponent.go api_op_DeleteLogPattern.go api_op_DescribeApplication.go api_op_DescribeComponent.go api_op_DescribeComponentConfiguration.go api_op_DescribeComponentConfigurationRecommendation.go api_op_DescribeLogPattern.go api_op_DescribeObservation.go api_op_DescribeProblem.go api_op_DescribeProblemObservations.go api_op_ListApplications.go api_op_ListComponents.go api_op_ListConfigurationHistory.go api_op_ListLogPatternSets.go api_op_ListLogPatterns.go api_op_ListProblems.go api_op_ListTagsForResource.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateApplication.go api_op_UpdateComponent.go api_op_UpdateComponentConfiguration.go api_op_UpdateLogPattern.go deserializers.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- darwin/amd64
- Imports
- 26 packages
- Last checked
- now –
Tools for package owners.