Documentation ¶
Overview ¶
Package internetmonitor provides the API client, operations, and parameter types for Amazon CloudWatch Internet Monitor.
Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global networking footprint to calculate a baseline of performance and availability for internet traffic. This is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements as a baseline, Internet Monitor raises awareness for you when there are significant problems for your end users in the different geographic locations where your application runs.
Internet Monitor publishes internet measurements to CloudWatch Logs and CloudWatch Metrics, to easily support using CloudWatch tools with health information for geographies and networks specific to your application. Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network, you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.
To use Internet Monitor, you create a monitor and associate your application's resources with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.
For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateMonitor(ctx context.Context, params *CreateMonitorInput, optFns ...func(*Options)) (*CreateMonitorOutput, error)
- func (c *Client) DeleteMonitor(ctx context.Context, params *DeleteMonitorInput, optFns ...func(*Options)) (*DeleteMonitorOutput, error)
- func (c *Client) GetHealthEvent(ctx context.Context, params *GetHealthEventInput, optFns ...func(*Options)) (*GetHealthEventOutput, error)
- func (c *Client) GetInternetEvent(ctx context.Context, params *GetInternetEventInput, optFns ...func(*Options)) (*GetInternetEventOutput, error)
- func (c *Client) GetMonitor(ctx context.Context, params *GetMonitorInput, optFns ...func(*Options)) (*GetMonitorOutput, error)
- func (c *Client) GetQueryResults(ctx context.Context, params *GetQueryResultsInput, optFns ...func(*Options)) (*GetQueryResultsOutput, error)
- func (c *Client) GetQueryStatus(ctx context.Context, params *GetQueryStatusInput, optFns ...func(*Options)) (*GetQueryStatusOutput, error)
- func (c *Client) ListHealthEvents(ctx context.Context, params *ListHealthEventsInput, optFns ...func(*Options)) (*ListHealthEventsOutput, error)
- func (c *Client) ListInternetEvents(ctx context.Context, params *ListInternetEventsInput, optFns ...func(*Options)) (*ListInternetEventsOutput, error)
- func (c *Client) ListMonitors(ctx context.Context, params *ListMonitorsInput, optFns ...func(*Options)) (*ListMonitorsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) StartQuery(ctx context.Context, params *StartQueryInput, optFns ...func(*Options)) (*StartQueryOutput, error)
- func (c *Client) StopQuery(ctx context.Context, params *StopQueryInput, optFns ...func(*Options)) (*StopQueryOutput, 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) UpdateMonitor(ctx context.Context, params *UpdateMonitorInput, optFns ...func(*Options)) (*UpdateMonitorOutput, error)
- type CreateMonitorInput
- type CreateMonitorOutput
- type DeleteMonitorInput
- type DeleteMonitorOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetHealthEventInput
- type GetHealthEventOutput
- type GetInternetEventInput
- type GetInternetEventOutput
- type GetMonitorInput
- type GetMonitorOutput
- type GetQueryResultsAPIClient
- type GetQueryResultsInput
- type GetQueryResultsOutput
- type GetQueryResultsPaginator
- type GetQueryResultsPaginatorOptions
- type GetQueryStatusInput
- type GetQueryStatusOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListHealthEventsAPIClient
- type ListHealthEventsInput
- type ListHealthEventsOutput
- type ListHealthEventsPaginator
- type ListHealthEventsPaginatorOptions
- type ListInternetEventsAPIClient
- type ListInternetEventsInput
- type ListInternetEventsOutput
- type ListInternetEventsPaginator
- type ListInternetEventsPaginatorOptions
- type ListMonitorsAPIClient
- type ListMonitorsInput
- type ListMonitorsOutput
- type ListMonitorsPaginator
- type ListMonitorsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type StartQueryInput
- type StartQueryOutput
- type StopQueryInput
- type StopQueryOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateMonitorInput
- type UpdateMonitorOutput
Constants ¶
const ServiceAPIVersion = "2021-06-03"
const ServiceID = "InternetMonitor"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.4.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.8.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.8.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.8.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.8.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon CloudWatch Internet Monitor.
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) CreateMonitor ¶
func (c *Client) CreateMonitor(ctx context.Context, params *CreateMonitorInput, optFns ...func(*Options)) (*CreateMonitorOutput, error)
Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add: VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, and Amazon WorkSpaces directories. Internet Monitor then publishes internet measurements from Amazon Web Services that are specific to the city-networks. That is, the locations and ASNs (typically internet service providers or ISPs), where clients access your application. For more information, see Using Amazon CloudWatch Internet Monitorin the Amazon CloudWatch User Guide.
When you create a monitor, you choose the percentage of traffic that you want to monitor. You can also set a maximum limit for the number of city-networks where client traffic is monitored, that caps the total traffic that Internet Monitor monitors. A city-network maximum is the limit of city-networks, but you only pay for the number of city-networks that are actually monitored. You can update your monitor at any time to change the percentage of traffic to monitor or the city-networks maximum. For more information, see Choosing a city-network maximum valuein the Amazon CloudWatch User Guide.
func (*Client) DeleteMonitor ¶
func (c *Client) DeleteMonitor(ctx context.Context, params *DeleteMonitorInput, optFns ...func(*Options)) (*DeleteMonitorOutput, error)
Deletes a monitor in Amazon CloudWatch Internet Monitor.
func (*Client) GetHealthEvent ¶
func (c *Client) GetHealthEvent(ctx context.Context, params *GetHealthEventInput, optFns ...func(*Options)) (*GetHealthEventOutput, error)
Gets information that Amazon CloudWatch Internet Monitor has created and stored about a health event for a specified monitor. This information includes the impacted locations, and all the information related to the event, by location.
The information returned includes the impact on performance, availability, and round-trip time, information about the network providers (ASNs), the event type, and so on.
Information rolled up at the global traffic level is also returned, including the impact type and total traffic impact.
func (*Client) GetInternetEvent ¶ added in v1.14.0
func (c *Client) GetInternetEvent(ctx context.Context, params *GetInternetEventInput, optFns ...func(*Options)) (*GetInternetEventOutput, error)
Gets information that Amazon CloudWatch Internet Monitor has generated about an internet event. Internet Monitor displays information about recent global health events, called internet events, on a global outages map that is available to all Amazon Web Services customers.
The information returned here includes the impacted location, when the event started and (if the event is over) ended, the type of event ( PERFORMANCE or AVAILABILITY ), and the status ( ACTIVE or RESOLVED ).
func (*Client) GetMonitor ¶
func (c *Client) GetMonitor(ctx context.Context, params *GetMonitorInput, optFns ...func(*Options)) (*GetMonitorOutput, error)
Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information returned includes the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, and status information.
func (*Client) GetQueryResults ¶ added in v1.9.0
func (c *Client) GetQueryResults(ctx context.Context, params *GetQueryResultsInput, optFns ...func(*Options)) (*GetQueryResultsOutput, error)
Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that you want to return results for by providing a QueryId and a monitor name.
For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
func (*Client) GetQueryStatus ¶ added in v1.9.0
func (c *Client) GetQueryStatus(ctx context.Context, params *GetQueryStatusInput, optFns ...func(*Options)) (*GetQueryStatusOutput, error)
Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID and monitor. When you run a query, check the status to make sure that the query has SUCCEEDED before you review the results.
QUEUED : The query is scheduled to run.
RUNNING : The query is in progress but not complete.
SUCCEEDED : The query completed sucessfully.
FAILED : The query failed due to an error.
CANCELED : The query was canceled.
func (*Client) ListHealthEvents ¶
func (c *Client) ListHealthEvents(ctx context.Context, params *ListHealthEventsInput, optFns ...func(*Options)) (*ListHealthEventsOutput, error)
Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns information for health events including the event start and end times, and the status.
Health events that have start times during the time frame that is requested are not included in the list of health events.
func (*Client) ListInternetEvents ¶ added in v1.14.0
func (c *Client) ListInternetEvents(ctx context.Context, params *ListInternetEventsInput, optFns ...func(*Options)) (*ListInternetEventsOutput, error)
Lists internet events that cause performance or availability issues for client locations. Amazon CloudWatch Internet Monitor displays information about recent global health events, called internet events, on a global outages map that is available to all Amazon Web Services customers.
You can constrain the list of internet events returned by providing a start time and end time to define a total time frame for events you want to list. Both start time and end time specify the time when an event started. End time is optional. If you don't include it, the default end time is the current time.
You can also limit the events returned to a specific status ( ACTIVE or RESOLVED ) or type ( PERFORMANCE or AVAILABILITY ).
func (*Client) ListMonitors ¶
func (c *Client) ListMonitors(ctx context.Context, params *ListMonitorsInput, optFns ...func(*Options)) (*ListMonitorsOutput, error)
Lists all of your monitors for Amazon CloudWatch Internet Monitor and their statuses, along with the Amazon Resource Name (ARN) and name of each monitor.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.
func (*Client) Options ¶ added in v1.10.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) StartQuery ¶ added in v1.9.0
func (c *Client) StartQuery(ctx context.Context, params *StartQueryInput, optFns ...func(*Options)) (*StartQueryOutput, error)
Start a query to return data for a specific query type for the Amazon CloudWatch Internet Monitor query interface. Specify a time period for the data that you want returned by using StartTime and EndTime . You filter the query results to return by providing parameters that you specify with FilterParameters .
For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
func (*Client) StopQuery ¶ added in v1.9.0
func (c *Client) StopQuery(ctx context.Context, params *StopQueryInput, optFns ...func(*Options)) (*StopQueryOutput, error)
Stop a query that is progress for a specific monitor.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds a tag to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. You can add a maximum of 50 tags in Internet Monitor.
A minimum of one tag is required for this call. It returns an error if you use the TagResource request with 0 tags.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a tag from a resource.
func (*Client) UpdateMonitor ¶
func (c *Client) UpdateMonitor(ctx context.Context, params *UpdateMonitorInput, optFns ...func(*Options)) (*UpdateMonitorOutput, error)
Updates a monitor. You can update a monitor to change the percentage of traffic to monitor or the maximum number of city-networks (locations and ASNs), to add or remove resources, or to change the status of the monitor. Note that you can't change the name of a monitor.
The city-network maximum that you choose is the limit, but you only pay for the number of city-networks that are actually monitored. For more information, see Choosing a city-network maximum value in the Amazon CloudWatch User Guide.
type CreateMonitorInput ¶
type CreateMonitorInput struct { // The name of the monitor. // // This member is required. MonitorName *string // A unique, case-sensitive string of up to 64 ASCII characters that you specify // to make an idempotent API request. Don't reuse the same client token for other // API requests. ClientToken *string // Defines the threshold percentages and other configuration information for when // Amazon CloudWatch Internet Monitor creates a health event. Internet Monitor // creates a health event when an internet issue that affects your application end // users has a health score percentage that is at or below a specific threshold, // and, sometimes, when other criteria are met. // // If you don't set a health event threshold, the default value is 95%. // // For more information, see [Change health event thresholds] in the Internet Monitor section of the CloudWatch // User Guide. // // [Change health event thresholds]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-overview.html#IMUpdateThresholdFromOverview HealthEventsConfig *types.HealthEventsConfig // Publish internet measurements for Internet Monitor to an Amazon S3 bucket in // addition to CloudWatch Logs. InternetMeasurementsLogDelivery *types.InternetMeasurementsLogDelivery // The maximum number of city-networks to monitor for your resources. A // city-network is the location (city) where clients access your application // resources from and the ASN or network provider, such as an internet service // provider (ISP), that clients access the resources through. Setting this limit // can help control billing costs. // // To learn more, see [Choosing a city-network maximum value] in the Amazon CloudWatch Internet Monitor section of the // CloudWatch User Guide. // // [Choosing a city-network maximum value]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html MaxCityNetworksToMonitor *int32 // The resources to include in a monitor, which you provide as a set of Amazon // Resource Names (ARNs). Resources can be VPCs, NLBs, Amazon CloudFront // distributions, or Amazon WorkSpaces directories. // // You can add a combination of VPCs and CloudFront distributions, or you can add // WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces // directories together with any other resources. // // If you add only Amazon VPC resources, at least one VPC must have an Internet // Gateway attached to it, to make sure that it has internet connectivity. Resources []string // The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor. Tags map[string]string // The percentage of the internet-facing traffic for your application that you // want to monitor with this monitor. If you set a city-networks maximum, that // limit overrides the traffic percentage that you set. // // To learn more, see [Choosing an application traffic percentage to monitor] in the Amazon CloudWatch Internet Monitor section of the // CloudWatch User Guide. // // [Choosing an application traffic percentage to monitor]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMTrafficPercentage.html TrafficPercentageToMonitor *int32 // contains filtered or unexported fields }
type CreateMonitorOutput ¶
type CreateMonitorOutput struct { // The Amazon Resource Name (ARN) of the monitor. // // This member is required. Arn *string // The status of a monitor. // // This member is required. Status types.MonitorConfigState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMonitorInput ¶
type DeleteMonitorInput struct { // The name of the monitor to delete. // // This member is required. MonitorName *string // contains filtered or unexported fields }
type DeleteMonitorOutput ¶
type DeleteMonitorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.4.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.4.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.4.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (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 EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.4.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.4.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetHealthEventInput ¶
type GetHealthEventInput struct { // The internally-generated identifier of a health event. Because EventID contains // the forward slash (“/”) character, you must URL-encode the EventID field in the // request URL. // // This member is required. EventId *string // The name of the monitor. // // This member is required. MonitorName *string // The account ID for an account that you've set up cross-account sharing for in // Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using // Amazon CloudWatch Observability Access Manager. For more information, see [Internet Monitor cross-account observability]in // the Amazon CloudWatch Internet Monitor User Guide. // // [Internet Monitor cross-account observability]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html LinkedAccountId *string // contains filtered or unexported fields }
type GetHealthEventOutput ¶
type GetHealthEventOutput struct { // The Amazon Resource Name (ARN) of the event. // // This member is required. EventArn *string // The internally-generated identifier of a health event. // // This member is required. EventId *string // The type of impairment of a specific health event. // // This member is required. ImpactType types.HealthEventImpactType // The locations affected by a health event. // // This member is required. ImpactedLocations []types.ImpactedLocation // The time when a health event was last updated or recalculated. // // This member is required. LastUpdatedAt *time.Time // The time when a health event started. // // This member is required. StartedAt *time.Time // The status of a health event. // // This member is required. Status types.HealthEventStatus // The time when a health event was created. CreatedAt *time.Time // The time when a health event was resolved. If the health event is still active, // the end time is not set. EndedAt *time.Time // The threshold percentage for a health score that determines, along with other // configuration information, when Internet Monitor creates a health event when // there's an internet issue that affects your application end users. HealthScoreThreshold float64 // The impact on total traffic that a health event has, in increased latency or // reduced availability. This is the percentage of how much latency has increased // or availability has decreased during the event, compared to what is typical for // traffic from this client location to the Amazon Web Services location using this // client network. PercentOfTotalTrafficImpacted *float64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetInternetEventInput ¶ added in v1.14.0
type GetInternetEventInput struct { // The EventId of the internet event to return information for. // // This member is required. EventId *string // contains filtered or unexported fields }
type GetInternetEventOutput ¶ added in v1.14.0
type GetInternetEventOutput struct { // The impacted location, such as a city, where clients access Amazon Web Services // application resources. // // This member is required. ClientLocation *types.ClientLocation // The Amazon Resource Name (ARN) of the internet event. // // This member is required. EventArn *string // The internally-generated identifier of an internet event. // // This member is required. EventId *string // The status of the internet event. // // This member is required. EventStatus types.InternetEventStatus // The type of network impairment. // // This member is required. EventType types.InternetEventType // The time when the internet event started. // // This member is required. StartedAt *time.Time // The time when the internet event ended. If the event hasn't ended yet, this // value is empty. EndedAt *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMonitorInput ¶
type GetMonitorInput struct { // The name of the monitor. // // This member is required. MonitorName *string // The account ID for an account that you've set up cross-account sharing for in // Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using // Amazon CloudWatch Observability Access Manager. For more information, see [Internet Monitor cross-account observability]in // the Amazon CloudWatch Internet Monitor User Guide. // // [Internet Monitor cross-account observability]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html LinkedAccountId *string // contains filtered or unexported fields }
type GetMonitorOutput ¶
type GetMonitorOutput struct { // The time when the monitor was created. // // This member is required. CreatedAt *time.Time // The last time that the monitor was modified. // // This member is required. ModifiedAt *time.Time // The Amazon Resource Name (ARN) of the monitor. // // This member is required. MonitorArn *string // The name of the monitor. // // This member is required. MonitorName *string // The resources monitored by the monitor. Resources are listed by their Amazon // Resource Names (ARNs). // // This member is required. Resources []string // The status of the monitor. // // This member is required. Status types.MonitorConfigState // The list of health event threshold configurations. The threshold percentage for // a health score determines, along with other configuration information, when // Internet Monitor creates a health event when there's an internet issue that // affects your application end users. // // For more information, see [Change health event thresholds] in the Internet Monitor section of the CloudWatch // User Guide. // // [Change health event thresholds]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-overview.html#IMUpdateThresholdFromOverview HealthEventsConfig *types.HealthEventsConfig // Publish internet measurements for Internet Monitor to another location, such as // an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch // Logs. InternetMeasurementsLogDelivery *types.InternetMeasurementsLogDelivery // The maximum number of city-networks to monitor for your resources. A // city-network is the location (city) where clients access your application // resources from and the ASN or network provider, such as an internet service // provider (ISP), that clients access the resources through. This limit can help // control billing costs. // // To learn more, see [Choosing a city-network maximum value] in the Amazon CloudWatch Internet Monitor section of the // CloudWatch User Guide. // // [Choosing a city-network maximum value]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html MaxCityNetworksToMonitor *int32 // The health of the data processing for the monitor. ProcessingStatus types.MonitorProcessingStatusCode // Additional information about the health of the data processing for the monitor. ProcessingStatusInfo *string // The tags that have been added to monitor. Tags map[string]string // The percentage of the internet-facing traffic for your application to monitor // with this monitor. If you set a city-networks maximum, that limit overrides the // traffic percentage that you set. // // To learn more, see [Choosing an application traffic percentage to monitor] in the Amazon CloudWatch Internet Monitor section of the // CloudWatch User Guide. // // [Choosing an application traffic percentage to monitor]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMTrafficPercentage.html TrafficPercentageToMonitor *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetQueryResultsAPIClient ¶ added in v1.9.0
type GetQueryResultsAPIClient interface {
GetQueryResults(context.Context, *GetQueryResultsInput, ...func(*Options)) (*GetQueryResultsOutput, error)
}
GetQueryResultsAPIClient is a client that implements the GetQueryResults operation.
type GetQueryResultsInput ¶ added in v1.9.0
type GetQueryResultsInput struct { // The name of the monitor to return data for. // // This member is required. MonitorName *string // The ID of the query that you want to return data results for. A QueryId is an // internally-generated identifier for a specific query. // // This member is required. QueryId *string // The number of query results that you want to return with this call. MaxResults *int32 // The token for the next set of results. You receive this token from a previous // call. NextToken *string // contains filtered or unexported fields }
type GetQueryResultsOutput ¶ added in v1.9.0
type GetQueryResultsOutput struct { // The data results that the query returns. Data is returned in arrays, aligned // with the Fields for the query, which creates a repository of Amazon CloudWatch // Internet Monitor information for your application. Then, you can filter the // information in the repository by using FilterParameters that you define. // // This member is required. Data [][]string // The fields that the query returns data for. Fields are name-data type pairs, // such as availability_score - float . // // This member is required. Fields []types.QueryField // The token for the next set of results. You receive this token from a previous // call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetQueryResultsPaginator ¶ added in v1.9.0
type GetQueryResultsPaginator struct {
// contains filtered or unexported fields
}
GetQueryResultsPaginator is a paginator for GetQueryResults
func NewGetQueryResultsPaginator ¶ added in v1.9.0
func NewGetQueryResultsPaginator(client GetQueryResultsAPIClient, params *GetQueryResultsInput, optFns ...func(*GetQueryResultsPaginatorOptions)) *GetQueryResultsPaginator
NewGetQueryResultsPaginator returns a new GetQueryResultsPaginator
func (*GetQueryResultsPaginator) HasMorePages ¶ added in v1.9.0
func (p *GetQueryResultsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetQueryResultsPaginator) NextPage ¶ added in v1.9.0
func (p *GetQueryResultsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetQueryResultsOutput, error)
NextPage retrieves the next GetQueryResults page.
type GetQueryResultsPaginatorOptions ¶ added in v1.9.0
type GetQueryResultsPaginatorOptions struct { // The number of query results that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetQueryResultsPaginatorOptions is the paginator options for GetQueryResults
type GetQueryStatusInput ¶ added in v1.9.0
type GetQueryStatusInput struct { // The name of the monitor. // // This member is required. MonitorName *string // The ID of the query that you want to return the status for. A QueryId is an // internally-generated dentifier for a specific query. // // This member is required. QueryId *string // contains filtered or unexported fields }
type GetQueryStatusOutput ¶ added in v1.9.0
type GetQueryStatusOutput struct { // The current status for a query. // // This member is required. Status types.QueryStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListHealthEventsAPIClient ¶
type ListHealthEventsAPIClient interface {
ListHealthEvents(context.Context, *ListHealthEventsInput, ...func(*Options)) (*ListHealthEventsOutput, error)
}
ListHealthEventsAPIClient is a client that implements the ListHealthEvents operation.
type ListHealthEventsInput ¶
type ListHealthEventsInput struct { // The name of the monitor. // // This member is required. MonitorName *string // The time when a health event ended. If the health event is still ongoing, then // the end time is not set. EndTime *time.Time // The status of a health event. EventStatus types.HealthEventStatus // The account ID for an account that you've set up cross-account sharing for in // Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using // Amazon CloudWatch Observability Access Manager. For more information, see [Internet Monitor cross-account observability]in // the Amazon CloudWatch Internet Monitor User Guide. // // [Internet Monitor cross-account observability]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html LinkedAccountId *string // The number of health event objects that you want to return with this call. MaxResults *int32 // The token for the next set of results. You receive this token from a previous // call. NextToken *string // The time when a health event started. StartTime *time.Time // contains filtered or unexported fields }
type ListHealthEventsOutput ¶
type ListHealthEventsOutput struct { // A list of health events. // // This member is required. HealthEvents []types.HealthEvent // The token for the next set of results. You receive this token from a previous // call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListHealthEventsPaginator ¶
type ListHealthEventsPaginator struct {
// contains filtered or unexported fields
}
ListHealthEventsPaginator is a paginator for ListHealthEvents
func NewListHealthEventsPaginator ¶
func NewListHealthEventsPaginator(client ListHealthEventsAPIClient, params *ListHealthEventsInput, optFns ...func(*ListHealthEventsPaginatorOptions)) *ListHealthEventsPaginator
NewListHealthEventsPaginator returns a new ListHealthEventsPaginator
func (*ListHealthEventsPaginator) HasMorePages ¶
func (p *ListHealthEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListHealthEventsPaginator) NextPage ¶
func (p *ListHealthEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListHealthEventsOutput, error)
NextPage retrieves the next ListHealthEvents page.
type ListHealthEventsPaginatorOptions ¶
type ListHealthEventsPaginatorOptions struct { // The number of health event objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListHealthEventsPaginatorOptions is the paginator options for ListHealthEvents
type ListInternetEventsAPIClient ¶ added in v1.14.0
type ListInternetEventsAPIClient interface {
ListInternetEvents(context.Context, *ListInternetEventsInput, ...func(*Options)) (*ListInternetEventsOutput, error)
}
ListInternetEventsAPIClient is a client that implements the ListInternetEvents operation.
type ListInternetEventsInput ¶ added in v1.14.0
type ListInternetEventsInput struct { // The end time of the time window that you want to get a list of internet events // for. EndTime *time.Time // The status of an internet event. EventStatus *string // The type of network impairment. EventType *string // The number of query results that you want to return with this call. MaxResults *int32 // The token for the next set of results. You receive this token from a previous // call. NextToken *string // The start time of the time window that you want to get a list of internet // events for. StartTime *time.Time // contains filtered or unexported fields }
type ListInternetEventsOutput ¶ added in v1.14.0
type ListInternetEventsOutput struct { // A set of internet events returned for the list operation. // // This member is required. InternetEvents []types.InternetEventSummary // The token for the next set of results. You receive this token from a previous // call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListInternetEventsPaginator ¶ added in v1.14.0
type ListInternetEventsPaginator struct {
// contains filtered or unexported fields
}
ListInternetEventsPaginator is a paginator for ListInternetEvents
func NewListInternetEventsPaginator ¶ added in v1.14.0
func NewListInternetEventsPaginator(client ListInternetEventsAPIClient, params *ListInternetEventsInput, optFns ...func(*ListInternetEventsPaginatorOptions)) *ListInternetEventsPaginator
NewListInternetEventsPaginator returns a new ListInternetEventsPaginator
func (*ListInternetEventsPaginator) HasMorePages ¶ added in v1.14.0
func (p *ListInternetEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListInternetEventsPaginator) NextPage ¶ added in v1.14.0
func (p *ListInternetEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListInternetEventsOutput, error)
NextPage retrieves the next ListInternetEvents page.
type ListInternetEventsPaginatorOptions ¶ added in v1.14.0
type ListInternetEventsPaginatorOptions struct { // The number of query results that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListInternetEventsPaginatorOptions is the paginator options for ListInternetEvents
type ListMonitorsAPIClient ¶
type ListMonitorsAPIClient interface {
ListMonitors(context.Context, *ListMonitorsInput, ...func(*Options)) (*ListMonitorsOutput, error)
}
ListMonitorsAPIClient is a client that implements the ListMonitors operation.
type ListMonitorsInput ¶
type ListMonitorsInput struct { // A boolean option that you can set to TRUE to include monitors for linked // accounts in a list of monitors, when you've set up cross-account sharing in // Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using // Amazon CloudWatch Observability Access Manager. For more information, see [Internet Monitor cross-account observability]in // the Amazon CloudWatch Internet Monitor User Guide. // // [Internet Monitor cross-account observability]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html IncludeLinkedAccounts *bool // The number of monitor objects that you want to return with this call. MaxResults *int32 // The status of a monitor. This includes the status of the data processing for // the monitor and the status of the monitor itself. // // For information about the statuses for a monitor, see [Monitor]. // // [Monitor]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html MonitorStatus *string // The token for the next set of results. You receive this token from a previous // call. NextToken *string // contains filtered or unexported fields }
type ListMonitorsOutput ¶
type ListMonitorsOutput struct { // A list of monitors. // // This member is required. Monitors []types.Monitor // The token for the next set of results. You receive this token from a previous // call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMonitorsPaginator ¶
type ListMonitorsPaginator struct {
// contains filtered or unexported fields
}
ListMonitorsPaginator is a paginator for ListMonitors
func NewListMonitorsPaginator ¶
func NewListMonitorsPaginator(client ListMonitorsAPIClient, params *ListMonitorsInput, optFns ...func(*ListMonitorsPaginatorOptions)) *ListMonitorsPaginator
NewListMonitorsPaginator returns a new ListMonitorsPaginator
func (*ListMonitorsPaginator) HasMorePages ¶
func (p *ListMonitorsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMonitorsPaginator) NextPage ¶
func (p *ListMonitorsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMonitorsOutput, error)
NextPage retrieves the next ListMonitors page.
type ListMonitorsPaginatorOptions ¶
type ListMonitorsPaginatorOptions struct { // The number of monitor objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListMonitorsPaginatorOptions is the paginator options for ListMonitors
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for a resource. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // Tags for a resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.8.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
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 StartQueryInput ¶ added in v1.9.0
type StartQueryInput struct { // The timestamp that is the end of the period that you want to retrieve data for // with your query. // // This member is required. EndTime *time.Time // The name of the monitor to query. // // This member is required. MonitorName *string // The type of query to run. The following are the three types of queries that you // can run using the Internet Monitor query interface: // // - MEASUREMENTS : Provides availability score, performance score, total // traffic, and round-trip times, at 5 minute intervals. // // - TOP_LOCATIONS : Provides availability score, performance score, total // traffic, and time to first byte (TTFB) information, for the top location and ASN // combinations that you're monitoring, by traffic volume. // // - TOP_LOCATION_DETAILS : Provides TTFB for Amazon CloudFront, your current // configuration, and the best performing EC2 configuration, at 1 hour intervals. // // - OVERALL_TRAFFIC_SUGGESTIONS : Provides TTFB, using a 30-day weighted // average, for all traffic in each Amazon Web Services location that is monitored. // // - OVERALL_TRAFFIC_SUGGESTIONS_DETAILS : Provides TTFB, using a 30-day weighted // average, for each top location, for a proposed Amazon Web Services location. // Must provide an Amazon Web Services location to search. // // - ROUTING_SUGGESTIONS : Provides the predicted average round-trip time (RTT) // from an IP prefix toward an Amazon Web Services location for a DNS resolver. The // RTT is calculated at one hour intervals, over a one hour period. // // For lists of the fields returned with each query type and more information // about how each type of query is performed, see [Using the Amazon CloudWatch Internet Monitor query interface]in the Amazon CloudWatch // Internet Monitor User Guide. // // [Using the Amazon CloudWatch Internet Monitor query interface]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html // // This member is required. QueryType types.QueryType // The timestamp that is the beginning of the period that you want to retrieve // data for with your query. // // This member is required. StartTime *time.Time // The FilterParameters field that you use with Amazon CloudWatch Internet Monitor // queries is a string the defines how you want a query to be filtered. The filter // parameters that you can specify depend on the query type, since each query type // returns a different set of Internet Monitor data. // // For more information about specifying filter parameters, see [Using the Amazon CloudWatch Internet Monitor query interface] in the Amazon // CloudWatch Internet Monitor User Guide. // // [Using the Amazon CloudWatch Internet Monitor query interface]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html FilterParameters []types.FilterParameter // The account ID for an account that you've set up cross-account sharing for in // Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using // Amazon CloudWatch Observability Access Manager. For more information, see [Internet Monitor cross-account observability]in // the Amazon CloudWatch Internet Monitor User Guide. // // [Internet Monitor cross-account observability]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html LinkedAccountId *string // contains filtered or unexported fields }
type StartQueryOutput ¶ added in v1.9.0
type StartQueryOutput struct { // The internally-generated identifier of a specific query. // // This member is required. QueryId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopQueryInput ¶ added in v1.9.0
type StopQueryInput struct { // The name of the monitor. // // This member is required. MonitorName *string // The ID of the query that you want to stop. A QueryId is an internally-generated // identifier for a specific query. // // This member is required. QueryId *string // contains filtered or unexported fields }
type StopQueryOutput ¶ added in v1.9.0
type StopQueryOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) for a tag that you add to a resource. Tags are // supported only for monitors in Amazon CloudWatch Internet Monitor. // // This member is required. ResourceArn *string // Tags that you add to a resource. You can add a maximum of 50 tags in Internet // Monitor. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateMonitorInput ¶
type UpdateMonitorInput struct { // The name of the monitor. // // This member is required. MonitorName *string // A unique, case-sensitive string of up to 64 ASCII characters that you specify // to make an idempotent API request. You should not reuse the same client token // for other API requests. ClientToken *string // The list of health score thresholds. A threshold percentage for health scores, // along with other configuration information, determines when Internet Monitor // creates a health event when there's an internet issue that affects your // application end users. // // For more information, see [Change health event thresholds] in the Internet Monitor section of the CloudWatch // User Guide. // // [Change health event thresholds]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-overview.html#IMUpdateThresholdFromOverview HealthEventsConfig *types.HealthEventsConfig // Publish internet measurements for Internet Monitor to another location, such as // an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch // Logs. InternetMeasurementsLogDelivery *types.InternetMeasurementsLogDelivery // The maximum number of city-networks to monitor for your application. A // city-network is the location (city) where clients access your application // resources from and the ASN or network provider, such as an internet service // provider (ISP), that clients access the resources through. Setting this limit // can help control billing costs. MaxCityNetworksToMonitor *int32 // The resources to include in a monitor, which you provide as a set of Amazon // Resource Names (ARNs). Resources can be VPCs, NLBs, Amazon CloudFront // distributions, or Amazon WorkSpaces directories. // // You can add a combination of VPCs and CloudFront distributions, or you can add // WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces // directories together with any other resources. // // If you add only Amazon Virtual Private Clouds resources, at least one VPC must // have an Internet Gateway attached to it, to make sure that it has internet // connectivity. ResourcesToAdd []string // The resources to remove from a monitor, which you provide as a set of Amazon // Resource Names (ARNs). ResourcesToRemove []string // The status for a monitor. The accepted values for Status with the UpdateMonitor // API call are the following: ACTIVE and INACTIVE . The following values are not // accepted: PENDING , and ERROR . Status types.MonitorConfigState // The percentage of the internet-facing traffic for your application that you // want to monitor with this monitor. If you set a city-networks maximum, that // limit overrides the traffic percentage that you set. // // To learn more, see [Choosing an application traffic percentage to monitor] in the Amazon CloudWatch Internet Monitor section of the // CloudWatch User Guide. // // [Choosing an application traffic percentage to monitor]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMTrafficPercentage.html TrafficPercentageToMonitor *int32 // contains filtered or unexported fields }
type UpdateMonitorOutput ¶
type UpdateMonitorOutput struct { // The Amazon Resource Name (ARN) of the monitor. // // This member is required. MonitorArn *string // The status of a monitor. // // This member is required. Status types.MonitorConfigState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateMonitor.go
- api_op_DeleteMonitor.go
- api_op_GetHealthEvent.go
- api_op_GetInternetEvent.go
- api_op_GetMonitor.go
- api_op_GetQueryResults.go
- api_op_GetQueryStatus.go
- api_op_ListHealthEvents.go
- api_op_ListInternetEvents.go
- api_op_ListMonitors.go
- api_op_ListTagsForResource.go
- api_op_StartQuery.go
- api_op_StopQuery.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateMonitor.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go