Documentation ¶
Overview ¶
Package devopsguru provides the API client, operations, and parameter types for Amazon DevOps Guru.
Amazon DevOps Guru is a fully managed service that helps you identify
anomalous behavior in business critical operational applications. You specify the Amazon Web Services resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru.
You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each insight to help you manage and track your work addressing insights.
To learn about the DevOps Guru workflow, see How DevOps Guru works. To learn about DevOps Guru concepts, see Concepts in DevOps Guru.
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 AddNotificationChannelInput
- type AddNotificationChannelOutput
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) AddNotificationChannel(ctx context.Context, params *AddNotificationChannelInput, ...) (*AddNotificationChannelOutput, error)
- func (c *Client) DeleteInsight(ctx context.Context, params *DeleteInsightInput, optFns ...func(*Options)) (*DeleteInsightOutput, error)
- func (c *Client) DescribeAccountHealth(ctx context.Context, params *DescribeAccountHealthInput, ...) (*DescribeAccountHealthOutput, error)
- func (c *Client) DescribeAccountOverview(ctx context.Context, params *DescribeAccountOverviewInput, ...) (*DescribeAccountOverviewOutput, error)
- func (c *Client) DescribeAnomaly(ctx context.Context, params *DescribeAnomalyInput, optFns ...func(*Options)) (*DescribeAnomalyOutput, error)
- func (c *Client) DescribeEventSourcesConfig(ctx context.Context, params *DescribeEventSourcesConfigInput, ...) (*DescribeEventSourcesConfigOutput, error)
- func (c *Client) DescribeFeedback(ctx context.Context, params *DescribeFeedbackInput, optFns ...func(*Options)) (*DescribeFeedbackOutput, error)
- func (c *Client) DescribeInsight(ctx context.Context, params *DescribeInsightInput, optFns ...func(*Options)) (*DescribeInsightOutput, error)
- func (c *Client) DescribeOrganizationHealth(ctx context.Context, params *DescribeOrganizationHealthInput, ...) (*DescribeOrganizationHealthOutput, error)
- func (c *Client) DescribeOrganizationOverview(ctx context.Context, params *DescribeOrganizationOverviewInput, ...) (*DescribeOrganizationOverviewOutput, error)
- func (c *Client) DescribeOrganizationResourceCollectionHealth(ctx context.Context, params *DescribeOrganizationResourceCollectionHealthInput, ...) (*DescribeOrganizationResourceCollectionHealthOutput, error)
- func (c *Client) DescribeResourceCollectionHealth(ctx context.Context, params *DescribeResourceCollectionHealthInput, ...) (*DescribeResourceCollectionHealthOutput, error)
- func (c *Client) DescribeServiceIntegration(ctx context.Context, params *DescribeServiceIntegrationInput, ...) (*DescribeServiceIntegrationOutput, error)
- func (c *Client) GetCostEstimation(ctx context.Context, params *GetCostEstimationInput, optFns ...func(*Options)) (*GetCostEstimationOutput, error)
- func (c *Client) GetResourceCollection(ctx context.Context, params *GetResourceCollectionInput, ...) (*GetResourceCollectionOutput, error)
- func (c *Client) ListAnomaliesForInsight(ctx context.Context, params *ListAnomaliesForInsightInput, ...) (*ListAnomaliesForInsightOutput, error)
- func (c *Client) ListAnomalousLogGroups(ctx context.Context, params *ListAnomalousLogGroupsInput, ...) (*ListAnomalousLogGroupsOutput, error)
- func (c *Client) ListEvents(ctx context.Context, params *ListEventsInput, optFns ...func(*Options)) (*ListEventsOutput, error)
- func (c *Client) ListInsights(ctx context.Context, params *ListInsightsInput, optFns ...func(*Options)) (*ListInsightsOutput, error)
- func (c *Client) ListMonitoredResources(ctx context.Context, params *ListMonitoredResourcesInput, ...) (*ListMonitoredResourcesOutput, error)
- func (c *Client) ListNotificationChannels(ctx context.Context, params *ListNotificationChannelsInput, ...) (*ListNotificationChannelsOutput, error)
- func (c *Client) ListOrganizationInsights(ctx context.Context, params *ListOrganizationInsightsInput, ...) (*ListOrganizationInsightsOutput, error)
- func (c *Client) ListRecommendations(ctx context.Context, params *ListRecommendationsInput, ...) (*ListRecommendationsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutFeedback(ctx context.Context, params *PutFeedbackInput, optFns ...func(*Options)) (*PutFeedbackOutput, error)
- func (c *Client) RemoveNotificationChannel(ctx context.Context, params *RemoveNotificationChannelInput, ...) (*RemoveNotificationChannelOutput, error)
- func (c *Client) SearchInsights(ctx context.Context, params *SearchInsightsInput, optFns ...func(*Options)) (*SearchInsightsOutput, error)
- func (c *Client) SearchOrganizationInsights(ctx context.Context, params *SearchOrganizationInsightsInput, ...) (*SearchOrganizationInsightsOutput, error)
- func (c *Client) StartCostEstimation(ctx context.Context, params *StartCostEstimationInput, ...) (*StartCostEstimationOutput, error)
- func (c *Client) UpdateEventSourcesConfig(ctx context.Context, params *UpdateEventSourcesConfigInput, ...) (*UpdateEventSourcesConfigOutput, error)
- func (c *Client) UpdateResourceCollection(ctx context.Context, params *UpdateResourceCollectionInput, ...) (*UpdateResourceCollectionOutput, error)
- func (c *Client) UpdateServiceIntegration(ctx context.Context, params *UpdateServiceIntegrationInput, ...) (*UpdateServiceIntegrationOutput, error)
- type DeleteInsightInput
- type DeleteInsightOutput
- type DescribeAccountHealthInput
- type DescribeAccountHealthOutput
- type DescribeAccountOverviewInput
- type DescribeAccountOverviewOutput
- type DescribeAnomalyInput
- type DescribeAnomalyOutput
- type DescribeEventSourcesConfigInput
- type DescribeEventSourcesConfigOutput
- type DescribeFeedbackInput
- type DescribeFeedbackOutput
- type DescribeInsightInput
- type DescribeInsightOutput
- type DescribeOrganizationHealthInput
- type DescribeOrganizationHealthOutput
- type DescribeOrganizationOverviewInput
- type DescribeOrganizationOverviewOutput
- type DescribeOrganizationResourceCollectionHealthAPIClient
- type DescribeOrganizationResourceCollectionHealthInput
- type DescribeOrganizationResourceCollectionHealthOutput
- type DescribeOrganizationResourceCollectionHealthPaginator
- type DescribeOrganizationResourceCollectionHealthPaginatorOptions
- type DescribeResourceCollectionHealthAPIClient
- type DescribeResourceCollectionHealthInput
- type DescribeResourceCollectionHealthOutput
- type DescribeResourceCollectionHealthPaginator
- type DescribeResourceCollectionHealthPaginatorOptions
- type DescribeServiceIntegrationInput
- type DescribeServiceIntegrationOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetCostEstimationAPIClient
- type GetCostEstimationInput
- type GetCostEstimationOutput
- type GetCostEstimationPaginator
- type GetCostEstimationPaginatorOptions
- type GetResourceCollectionAPIClient
- type GetResourceCollectionInput
- type GetResourceCollectionOutput
- type GetResourceCollectionPaginator
- type GetResourceCollectionPaginatorOptions
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAnomaliesForInsightAPIClient
- type ListAnomaliesForInsightInput
- type ListAnomaliesForInsightOutput
- type ListAnomaliesForInsightPaginator
- type ListAnomaliesForInsightPaginatorOptions
- type ListAnomalousLogGroupsAPIClient
- type ListAnomalousLogGroupsInput
- type ListAnomalousLogGroupsOutput
- type ListAnomalousLogGroupsPaginator
- type ListAnomalousLogGroupsPaginatorOptions
- type ListEventsAPIClient
- type ListEventsInput
- type ListEventsOutput
- type ListEventsPaginator
- type ListEventsPaginatorOptions
- type ListInsightsAPIClient
- type ListInsightsInput
- type ListInsightsOutput
- type ListInsightsPaginator
- type ListInsightsPaginatorOptions
- type ListMonitoredResourcesAPIClient
- type ListMonitoredResourcesInput
- type ListMonitoredResourcesOutput
- type ListMonitoredResourcesPaginator
- type ListMonitoredResourcesPaginatorOptions
- type ListNotificationChannelsAPIClient
- type ListNotificationChannelsInput
- type ListNotificationChannelsOutput
- type ListNotificationChannelsPaginator
- type ListNotificationChannelsPaginatorOptions
- type ListOrganizationInsightsAPIClient
- type ListOrganizationInsightsInput
- type ListOrganizationInsightsOutput
- type ListOrganizationInsightsPaginator
- type ListOrganizationInsightsPaginatorOptions
- type ListRecommendationsAPIClient
- type ListRecommendationsInput
- type ListRecommendationsOutput
- type ListRecommendationsPaginator
- type ListRecommendationsPaginatorOptions
- type Options
- type PutFeedbackInput
- type PutFeedbackOutput
- type RemoveNotificationChannelInput
- type RemoveNotificationChannelOutput
- type ResolveEndpoint
- type SearchInsightsAPIClient
- type SearchInsightsInput
- type SearchInsightsOutput
- type SearchInsightsPaginator
- type SearchInsightsPaginatorOptions
- type SearchOrganizationInsightsAPIClient
- type SearchOrganizationInsightsInput
- type SearchOrganizationInsightsOutput
- type SearchOrganizationInsightsPaginator
- type SearchOrganizationInsightsPaginatorOptions
- type StartCostEstimationInput
- type StartCostEstimationOutput
- type UpdateEventSourcesConfigInput
- type UpdateEventSourcesConfigOutput
- type UpdateResourceCollectionInput
- type UpdateResourceCollectionOutput
- type UpdateServiceIntegrationInput
- type UpdateServiceIntegrationOutput
Constants ¶
const ServiceAPIVersion = "2020-12-01"
const ServiceID = "DevOps Guru"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
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.25.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.27.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.27.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 AddNotificationChannelInput ¶
type AddNotificationChannelInput struct { // A NotificationChannelConfig object that specifies what type of notification // channel to add. The one supported notification channel is Amazon Simple // Notification Service (Amazon SNS). // // This member is required. Config *types.NotificationChannelConfig // contains filtered or unexported fields }
type AddNotificationChannelOutput ¶
type AddNotificationChannelOutput struct { // The ID of the added notification channel. // // This member is required. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AuthResolverParameters ¶ added in v1.27.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.27.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 DevOps Guru.
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) AddNotificationChannel ¶
func (c *Client) AddNotificationChannel(ctx context.Context, params *AddNotificationChannelInput, optFns ...func(*Options)) (*AddNotificationChannelOutput, error)
Adds a notification channel to DevOps Guru. A notification channel is used to
notify you about important DevOps Guru events, such as when an insight is generated.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
func (*Client) DeleteInsight ¶ added in v1.17.0
func (c *Client) DeleteInsight(ctx context.Context, params *DeleteInsightInput, optFns ...func(*Options)) (*DeleteInsightOutput, error)
Deletes the insight along with the associated anomalies, events and recommendations.
func (*Client) DescribeAccountHealth ¶
func (c *Client) DescribeAccountHealth(ctx context.Context, params *DescribeAccountHealthInput, optFns ...func(*Options)) (*DescribeAccountHealthOutput, error)
Returns the number of open reactive insights, the number of open proactive
insights, and the number of metrics analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon Web Services account.
func (*Client) DescribeAccountOverview ¶
func (c *Client) DescribeAccountOverview(ctx context.Context, params *DescribeAccountOverviewInput, optFns ...func(*Options)) (*DescribeAccountOverviewOutput, error)
For the time range passed in, returns the number of open reactive insight that
were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.
func (*Client) DescribeAnomaly ¶
func (c *Client) DescribeAnomaly(ctx context.Context, params *DescribeAnomalyInput, optFns ...func(*Options)) (*DescribeAnomalyOutput, error)
Returns details about an anomaly that you specify using its ID.
func (*Client) DescribeEventSourcesConfig ¶ added in v1.16.0
func (c *Client) DescribeEventSourcesConfig(ctx context.Context, params *DescribeEventSourcesConfigInput, optFns ...func(*Options)) (*DescribeEventSourcesConfigOutput, error)
Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru.
func (*Client) DescribeFeedback ¶ added in v1.2.0
func (c *Client) DescribeFeedback(ctx context.Context, params *DescribeFeedbackInput, optFns ...func(*Options)) (*DescribeFeedbackOutput, error)
Returns the most recent feedback submitted in the current Amazon Web Services
account and Region.
func (*Client) DescribeInsight ¶
func (c *Client) DescribeInsight(ctx context.Context, params *DescribeInsightInput, optFns ...func(*Options)) (*DescribeInsightOutput, error)
Returns details about an insight that you specify using its ID.
func (*Client) DescribeOrganizationHealth ¶ added in v1.10.0
func (c *Client) DescribeOrganizationHealth(ctx context.Context, params *DescribeOrganizationHealthInput, optFns ...func(*Options)) (*DescribeOrganizationHealthOutput, error)
Returns active insights, predictive insights, and resource hours analyzed in last hour.
func (*Client) DescribeOrganizationOverview ¶ added in v1.10.0
func (c *Client) DescribeOrganizationOverview(ctx context.Context, params *DescribeOrganizationOverviewInput, optFns ...func(*Options)) (*DescribeOrganizationOverviewOutput, error)
Returns an overview of your organization's history based on the specified time range. The overview includes the total reactive and proactive insights.
func (*Client) DescribeOrganizationResourceCollectionHealth ¶ added in v1.10.0
func (c *Client) DescribeOrganizationResourceCollectionHealth(ctx context.Context, params *DescribeOrganizationResourceCollectionHealthInput, optFns ...func(*Options)) (*DescribeOrganizationResourceCollectionHealthOutput, error)
Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the AccountIds field.
func (*Client) DescribeResourceCollectionHealth ¶
func (c *Client) DescribeResourceCollectionHealth(ctx context.Context, params *DescribeResourceCollectionHealthInput, optFns ...func(*Options)) (*DescribeResourceCollectionHealthOutput, error)
Returns the number of open proactive insights, open reactive insights, and the
Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of Amazon Web Services resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
func (*Client) DescribeServiceIntegration ¶
func (c *Client) DescribeServiceIntegration(ctx context.Context, params *DescribeServiceIntegrationInput, optFns ...func(*Options)) (*DescribeServiceIntegrationOutput, error)
Returns the integration status of services that are integrated with DevOps
Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight.
func (*Client) GetCostEstimation ¶ added in v1.3.0
func (c *Client) GetCostEstimation(ctx context.Context, params *GetCostEstimationInput, optFns ...func(*Options)) (*GetCostEstimationOutput, error)
Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costsand Amazon DevOps Guru pricing.
func (*Client) GetResourceCollection ¶
func (c *Client) GetResourceCollection(ctx context.Context, params *GetResourceCollectionInput, optFns ...func(*Options)) (*GetResourceCollectionOutput, error)
Returns lists Amazon Web Services resources that are of the specified resource
collection type. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
func (*Client) ListAnomaliesForInsight ¶
func (c *Client) ListAnomaliesForInsight(ctx context.Context, params *ListAnomaliesForInsightInput, optFns ...func(*Options)) (*ListAnomaliesForInsightOutput, error)
Returns a list of the anomalies that belong to an insight that you specify
using its ID.
func (*Client) ListAnomalousLogGroups ¶ added in v1.18.0
func (c *Client) ListAnomalousLogGroups(ctx context.Context, params *ListAnomalousLogGroupsInput, optFns ...func(*Options)) (*ListAnomalousLogGroupsOutput, error)
Returns the list of log groups that contain log anomalies.
func (*Client) ListEvents ¶
func (c *Client) ListEvents(ctx context.Context, params *ListEventsInput, optFns ...func(*Options)) (*ListEventsOutput, error)
Returns a list of the events emitted by the resources that are evaluated by
DevOps Guru. You can use filters to specify which events are returned.
func (*Client) ListInsights ¶
func (c *Client) ListInsights(ctx context.Context, params *ListInsightsInput, optFns ...func(*Options)) (*ListInsightsOutput, error)
Returns a list of insights in your Amazon Web Services account. You can
specify which insights are returned by their start time and status ( ONGOING , CLOSED , or ANY ).
func (*Client) ListMonitoredResources ¶ added in v1.18.0
func (c *Client) ListMonitoredResources(ctx context.Context, params *ListMonitoredResourcesInput, optFns ...func(*Options)) (*ListMonitoredResourcesOutput, error)
Returns the list of all log groups that are being monitored and tagged by
DevOps Guru.
func (*Client) ListNotificationChannels ¶
func (c *Client) ListNotificationChannels(ctx context.Context, params *ListNotificationChannelsInput, optFns ...func(*Options)) (*ListNotificationChannelsOutput, error)
Returns a list of notification channels configured for DevOps Guru. Each
notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
func (*Client) ListOrganizationInsights ¶ added in v1.10.0
func (c *Client) ListOrganizationInsights(ctx context.Context, params *ListOrganizationInsightsInput, optFns ...func(*Options)) (*ListOrganizationInsightsOutput, error)
Returns a list of insights associated with the account or OU Id.
func (*Client) ListRecommendations ¶
func (c *Client) ListRecommendations(ctx context.Context, params *ListRecommendationsInput, optFns ...func(*Options)) (*ListRecommendationsOutput, error)
Returns a list of a specified insight's recommendations. Each recommendation
includes a list of related metrics and a list of related events.
func (*Client) Options ¶ added in v1.28.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) PutFeedback ¶
func (c *Client) PutFeedback(ctx context.Context, params *PutFeedbackInput, optFns ...func(*Options)) (*PutFeedbackOutput, error)
Collects customer feedback about the specified insight.
func (*Client) RemoveNotificationChannel ¶
func (c *Client) RemoveNotificationChannel(ctx context.Context, params *RemoveNotificationChannelInput, optFns ...func(*Options)) (*RemoveNotificationChannelOutput, error)
Removes a notification channel from DevOps Guru. A notification channel is
used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations.
func (*Client) SearchInsights ¶
func (c *Client) SearchInsights(ctx context.Context, params *SearchInsightsInput, optFns ...func(*Options)) (*SearchInsightsOutput, error)
Returns a list of insights in your Amazon Web Services account. You can
specify which insights are returned by their start time, one or more statuses ( ONGOING or CLOSED ), one or more severities ( LOW , MEDIUM , and HIGH ), and type ( REACTIVE or PROACTIVE ).
Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search.
func (*Client) SearchOrganizationInsights ¶ added in v1.10.0
func (c *Client) SearchOrganizationInsights(ctx context.Context, params *SearchOrganizationInsightsInput, optFns ...func(*Options)) (*SearchOrganizationInsightsOutput, error)
Returns a list of insights in your organization. You can specify which
insights are returned by their start time, one or more statuses ( ONGOING , CLOSED , and CLOSED ), one or more severities ( LOW , MEDIUM , and HIGH ), and type ( REACTIVE or PROACTIVE ).
Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search.
func (*Client) StartCostEstimation ¶ added in v1.3.0
func (c *Client) StartCostEstimation(ctx context.Context, params *StartCostEstimationInput, optFns ...func(*Options)) (*StartCostEstimationOutput, error)
Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.
func (*Client) UpdateEventSourcesConfig ¶ added in v1.16.0
func (c *Client) UpdateEventSourcesConfig(ctx context.Context, params *UpdateEventSourcesConfigInput, optFns ...func(*Options)) (*UpdateEventSourcesConfigOutput, error)
Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru.
func (*Client) UpdateResourceCollection ¶
func (c *Client) UpdateResourceCollection(ctx context.Context, params *UpdateResourceCollectionInput, optFns ...func(*Options)) (*UpdateResourceCollectionOutput, error)
Updates the collection of resources that DevOps Guru analyzes. The two types
of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru.
func (*Client) UpdateServiceIntegration ¶
func (c *Client) UpdateServiceIntegration(ctx context.Context, params *UpdateServiceIntegrationInput, optFns ...func(*Options)) (*UpdateServiceIntegrationOutput, error)
Enables or disables integration with a service that can be integrated with
DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight.
type DeleteInsightInput ¶ added in v1.17.0
type DeleteInsightInput struct { // The ID of the insight. // // This member is required. Id *string // contains filtered or unexported fields }
type DeleteInsightOutput ¶ added in v1.17.0
type DeleteInsightOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAccountHealthInput ¶
type DescribeAccountHealthInput struct {
// contains filtered or unexported fields
}
type DescribeAccountHealthOutput ¶
type DescribeAccountHealthOutput struct { // An integer that specifies the number of metrics that have been analyzed in // your Amazon Web Services account. // // This member is required. MetricsAnalyzed int32 // An integer that specifies the number of open proactive insights in your Amazon // Web Services account. // // This member is required. OpenProactiveInsights int32 // An integer that specifies the number of open reactive insights in your Amazon // Web Services account. // // This member is required. OpenReactiveInsights int32 // The number of Amazon DevOps Guru resource analysis hours billed to the current // Amazon Web Services account in the last hour. // // This member is required. ResourceHours *int64 // Number of resources that DevOps Guru is monitoring in your Amazon Web Services // account. AnalyzedResourceCount *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAccountOverviewInput ¶
type DescribeAccountOverviewInput struct { // The start of the time range passed in. The start time granularity is at the // day level. The floor of the start time is used. Returned information occurred // after this day. // // This member is required. FromTime *time.Time // The end of the time range passed in. The start time granularity is at the day // level. The floor of the start time is used. Returned information occurred before // this day. If this is not specified, then the current day is used. ToTime *time.Time // contains filtered or unexported fields }
type DescribeAccountOverviewOutput ¶
type DescribeAccountOverviewOutput struct { // The Mean Time to Recover (MTTR) for all closed insights that were created // during the time range passed in. // // This member is required. MeanTimeToRecoverInMilliseconds *int64 // An integer that specifies the number of open proactive insights in your Amazon // Web Services account that were created during the time range passed in. // // This member is required. ProactiveInsights int32 // An integer that specifies the number of open reactive insights in your Amazon // Web Services account that were created during the time range passed in. // // This member is required. ReactiveInsights int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAnomalyInput ¶
type DescribeAnomalyOutput ¶
type DescribeAnomalyOutput struct { // A ProactiveAnomaly object that represents the requested anomaly. ProactiveAnomaly *types.ProactiveAnomaly // A ReactiveAnomaly object that represents the requested anomaly. ReactiveAnomaly *types.ReactiveAnomaly // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventSourcesConfigInput ¶ added in v1.16.0
type DescribeEventSourcesConfigInput struct {
// contains filtered or unexported fields
}
type DescribeEventSourcesConfigOutput ¶ added in v1.16.0
type DescribeEventSourcesConfigOutput struct { // Lists the event sources in the configuration. EventSources *types.EventSourcesConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeFeedbackInput ¶ added in v1.2.0
type DescribeFeedbackInput struct { // The ID of the insight for which the feedback was provided. InsightId *string // contains filtered or unexported fields }
type DescribeFeedbackOutput ¶ added in v1.2.0
type DescribeFeedbackOutput struct { // Information about insight feedback received from a customer. InsightFeedback *types.InsightFeedback // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeInsightInput ¶
type DescribeInsightOutput ¶
type DescribeInsightOutput struct { // A ProactiveInsight object that represents the requested insight. ProactiveInsight *types.ProactiveInsight // A ReactiveInsight object that represents the requested insight. ReactiveInsight *types.ReactiveInsight // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeOrganizationHealthInput ¶ added in v1.10.0
type DescribeOrganizationHealthOutput ¶ added in v1.10.0
type DescribeOrganizationHealthOutput struct { // An integer that specifies the number of metrics that have been analyzed in your // organization. // // This member is required. MetricsAnalyzed int32 // An integer that specifies the number of open proactive insights in your Amazon // Web Services account. // // This member is required. OpenProactiveInsights int32 // An integer that specifies the number of open reactive insights in your Amazon // Web Services account. // // This member is required. OpenReactiveInsights int32 // The number of Amazon DevOps Guru resource analysis hours billed to the current // Amazon Web Services account in the last hour. // // This member is required. ResourceHours *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeOrganizationOverviewInput ¶ added in v1.10.0
type DescribeOrganizationOverviewInput struct { // The start of the time range passed in. The start time granularity is at the // day level. The floor of the start time is used. Returned information occurred // after this day. // // This member is required. FromTime *time.Time // The ID of the Amazon Web Services account. AccountIds []string // The ID of the organizational unit. OrganizationalUnitIds []string // The end of the time range passed in. The start time granularity is at the day // level. The floor of the start time is used. Returned information occurred before // this day. If this is not specified, then the current day is used. ToTime *time.Time // contains filtered or unexported fields }
type DescribeOrganizationOverviewOutput ¶ added in v1.10.0
type DescribeOrganizationOverviewOutput struct { // An integer that specifies the number of open proactive insights in your Amazon // Web Services account. // // This member is required. ProactiveInsights int32 // An integer that specifies the number of open reactive insights in your Amazon // Web Services account. // // This member is required. ReactiveInsights int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeOrganizationResourceCollectionHealthAPIClient ¶ added in v1.10.0
type DescribeOrganizationResourceCollectionHealthAPIClient interface {
DescribeOrganizationResourceCollectionHealth(context.Context, *DescribeOrganizationResourceCollectionHealthInput, ...func(*Options)) (*DescribeOrganizationResourceCollectionHealthOutput, error)
}
DescribeOrganizationResourceCollectionHealthAPIClient is a client that implements the DescribeOrganizationResourceCollectionHealth operation.
type DescribeOrganizationResourceCollectionHealthInput ¶ added in v1.10.0
type DescribeOrganizationResourceCollectionHealthInput struct { // An Amazon Web Services resource collection type. This type specifies how // analyzed Amazon Web Services resources are defined. The two types of Amazon Web // Services resource collections supported are Amazon Web Services CloudFormation // stacks and Amazon Web Services resources that contain the same Amazon Web // Services tag. DevOps Guru can be configured to analyze the Amazon Web Services // resources that are defined in the stacks or that are tagged using the same tag // key. You can specify up to 500 Amazon Web Services CloudFormation stacks. // // This member is required. OrganizationResourceCollectionType types.OrganizationResourceCollectionType // The ID of the Amazon Web Services account. AccountIds []string // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // The ID of the organizational unit. OrganizationalUnitIds []string // contains filtered or unexported fields }
type DescribeOrganizationResourceCollectionHealthOutput ¶ added in v1.10.0
type DescribeOrganizationResourceCollectionHealthOutput struct { // The name of the organization's account. Account []types.AccountHealth // The returned CloudFormationHealthOverview object that contains an // InsightHealthOverview object with the requested system health information. CloudFormation []types.CloudFormationHealth // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // An array of ServiceHealth objects that describes the health of the Amazon Web // Services services associated with the resources in the collection. Service []types.ServiceHealth // Tags help you identify and organize your Amazon Web Services resources. Many // Amazon Web Services services support tagging, so you can assign the same tag to // resources from different services to indicate that the resources are related. // For example, you can assign the same tag to an Amazon DynamoDB table resource // that you assign to an Lambda function. For more information about using tags, // see the [Tagging best practices]whitepaper. // // Each Amazon Web Services tag has two parts. // // - A tag key (for example, CostCenter , Environment , Project , or Secret ). // Tag keys are case-sensitive. // // - An optional field known as a tag value (for example, 111122223333 , // Production , or a team name). Omitting the tag value is the same as using an // empty string. Like tag keys, tag values are case-sensitive. // // Together these are known as key-value pairs. // // The string used for a key in a tag that you use to define your resource // coverage must begin with the prefix Devops-guru- . The tag key might be // DevOps-Guru-deployment-application or devops-guru-rds-application . When you // create a key, the case of characters in the key can be whatever you choose. // After you create a key, it is case-sensitive. For example, DevOps Guru works // with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and these act // as two different keys. Possible key/value pairs in your application might be // Devops-Guru-production-application/RDS or // Devops-Guru-production-application/containers . // // [Tagging best practices]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html Tags []types.TagHealth // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeOrganizationResourceCollectionHealthPaginator ¶ added in v1.10.0
type DescribeOrganizationResourceCollectionHealthPaginator struct {
// contains filtered or unexported fields
}
DescribeOrganizationResourceCollectionHealthPaginator is a paginator for DescribeOrganizationResourceCollectionHealth
func NewDescribeOrganizationResourceCollectionHealthPaginator ¶ added in v1.10.0
func NewDescribeOrganizationResourceCollectionHealthPaginator(client DescribeOrganizationResourceCollectionHealthAPIClient, params *DescribeOrganizationResourceCollectionHealthInput, optFns ...func(*DescribeOrganizationResourceCollectionHealthPaginatorOptions)) *DescribeOrganizationResourceCollectionHealthPaginator
NewDescribeOrganizationResourceCollectionHealthPaginator returns a new DescribeOrganizationResourceCollectionHealthPaginator
func (*DescribeOrganizationResourceCollectionHealthPaginator) HasMorePages ¶ added in v1.10.0
func (p *DescribeOrganizationResourceCollectionHealthPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeOrganizationResourceCollectionHealthPaginator) NextPage ¶ added in v1.10.0
func (p *DescribeOrganizationResourceCollectionHealthPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeOrganizationResourceCollectionHealthOutput, error)
NextPage retrieves the next DescribeOrganizationResourceCollectionHealth page.
type DescribeOrganizationResourceCollectionHealthPaginatorOptions ¶ added in v1.10.0
type DescribeOrganizationResourceCollectionHealthPaginatorOptions struct { // 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 }
DescribeOrganizationResourceCollectionHealthPaginatorOptions is the paginator options for DescribeOrganizationResourceCollectionHealth
type DescribeResourceCollectionHealthAPIClient ¶
type DescribeResourceCollectionHealthAPIClient interface {
DescribeResourceCollectionHealth(context.Context, *DescribeResourceCollectionHealthInput, ...func(*Options)) (*DescribeResourceCollectionHealthOutput, error)
}
DescribeResourceCollectionHealthAPIClient is a client that implements the DescribeResourceCollectionHealth operation.
type DescribeResourceCollectionHealthInput ¶
type DescribeResourceCollectionHealthInput struct { // An Amazon Web Services resource collection type. This type specifies how // analyzed Amazon Web Services resources are defined. The two types of Amazon Web // Services resource collections supported are Amazon Web Services CloudFormation // stacks and Amazon Web Services resources that contain the same Amazon Web // Services tag. DevOps Guru can be configured to analyze the Amazon Web Services // resources that are defined in the stacks or that are tagged using the same tag // key. You can specify up to 500 Amazon Web Services CloudFormation stacks. // // This member is required. ResourceCollectionType types.ResourceCollectionType // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type DescribeResourceCollectionHealthOutput ¶
type DescribeResourceCollectionHealthOutput struct { // The returned CloudFormationHealthOverview object that contains an // InsightHealthOverview object with the requested system health information. CloudFormation []types.CloudFormationHealth // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // An array of ServiceHealth objects that describes the health of the Amazon Web // Services services associated with the resources in the collection. Service []types.ServiceHealth // The Amazon Web Services tags that are used by resources in the resource // collection. // // Tags help you identify and organize your Amazon Web Services resources. Many // Amazon Web Services services support tagging, so you can assign the same tag to // resources from different services to indicate that the resources are related. // For example, you can assign the same tag to an Amazon DynamoDB table resource // that you assign to an Lambda function. For more information about using tags, // see the [Tagging best practices]whitepaper. // // Each Amazon Web Services tag has two parts. // // - A tag key (for example, CostCenter , Environment , Project , or Secret ). // Tag keys are case-sensitive. // // - An optional field known as a tag value (for example, 111122223333 , // Production , or a team name). Omitting the tag value is the same as using an // empty string. Like tag keys, tag values are case-sensitive. // // Together these are known as key-value pairs. // // The string used for a key in a tag that you use to define your resource // coverage must begin with the prefix Devops-guru- . The tag key might be // DevOps-Guru-deployment-application or devops-guru-rds-application . When you // create a key, the case of characters in the key can be whatever you choose. // After you create a key, it is case-sensitive. For example, DevOps Guru works // with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and these act // as two different keys. Possible key/value pairs in your application might be // Devops-Guru-production-application/RDS or // Devops-Guru-production-application/containers . // // [Tagging best practices]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html Tags []types.TagHealth // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeResourceCollectionHealthPaginator ¶
type DescribeResourceCollectionHealthPaginator struct {
// contains filtered or unexported fields
}
DescribeResourceCollectionHealthPaginator is a paginator for DescribeResourceCollectionHealth
func NewDescribeResourceCollectionHealthPaginator ¶
func NewDescribeResourceCollectionHealthPaginator(client DescribeResourceCollectionHealthAPIClient, params *DescribeResourceCollectionHealthInput, optFns ...func(*DescribeResourceCollectionHealthPaginatorOptions)) *DescribeResourceCollectionHealthPaginator
NewDescribeResourceCollectionHealthPaginator returns a new DescribeResourceCollectionHealthPaginator
func (*DescribeResourceCollectionHealthPaginator) HasMorePages ¶
func (p *DescribeResourceCollectionHealthPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeResourceCollectionHealthPaginator) NextPage ¶
func (p *DescribeResourceCollectionHealthPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeResourceCollectionHealthOutput, error)
NextPage retrieves the next DescribeResourceCollectionHealth page.
type DescribeResourceCollectionHealthPaginatorOptions ¶
type DescribeResourceCollectionHealthPaginatorOptions struct { // 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 }
DescribeResourceCollectionHealthPaginatorOptions is the paginator options for DescribeResourceCollectionHealth
type DescribeServiceIntegrationInput ¶
type DescribeServiceIntegrationInput struct {
// contains filtered or unexported fields
}
type DescribeServiceIntegrationOutput ¶
type DescribeServiceIntegrationOutput struct { // Information about the integration of DevOps Guru with another Amazon Web // Services service, such as Amazon Web Services Systems Manager. ServiceIntegration *types.ServiceIntegrationConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.25.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.25.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.25.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 ¶ added in v1.1.0
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.25.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.25.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetCostEstimationAPIClient ¶ added in v1.3.0
type GetCostEstimationAPIClient interface {
GetCostEstimation(context.Context, *GetCostEstimationInput, ...func(*Options)) (*GetCostEstimationOutput, error)
}
GetCostEstimationAPIClient is a client that implements the GetCostEstimation operation.
type GetCostEstimationInput ¶ added in v1.3.0
type GetCostEstimationInput struct { // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type GetCostEstimationOutput ¶ added in v1.3.0
type GetCostEstimationOutput struct { // An array of ResourceCost objects that each contains details about the monthly // cost estimate to analyze one of your Amazon Web Services resources. Costs []types.ServiceResourceCost // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // The collection of the Amazon Web Services resources used to create your monthly // DevOps Guru cost estimate. ResourceCollection *types.CostEstimationResourceCollectionFilter // The status of creating this cost estimate. If it's still in progress, the // status ONGOING is returned. If it is finished, the status COMPLETED is returned. Status types.CostEstimationStatus // The start and end time of the cost estimation. TimeRange *types.CostEstimationTimeRange // The estimated monthly cost to analyze the Amazon Web Services resources. This // value is the sum of the estimated costs to analyze each resource in the Costs // object in this response. TotalCost float64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetCostEstimationPaginator ¶ added in v1.3.0
type GetCostEstimationPaginator struct {
// contains filtered or unexported fields
}
GetCostEstimationPaginator is a paginator for GetCostEstimation
func NewGetCostEstimationPaginator ¶ added in v1.3.0
func NewGetCostEstimationPaginator(client GetCostEstimationAPIClient, params *GetCostEstimationInput, optFns ...func(*GetCostEstimationPaginatorOptions)) *GetCostEstimationPaginator
NewGetCostEstimationPaginator returns a new GetCostEstimationPaginator
func (*GetCostEstimationPaginator) HasMorePages ¶ added in v1.3.0
func (p *GetCostEstimationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetCostEstimationPaginator) NextPage ¶ added in v1.3.0
func (p *GetCostEstimationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetCostEstimationOutput, error)
NextPage retrieves the next GetCostEstimation page.
type GetCostEstimationPaginatorOptions ¶ added in v1.3.0
type GetCostEstimationPaginatorOptions struct { // 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 }
GetCostEstimationPaginatorOptions is the paginator options for GetCostEstimation
type GetResourceCollectionAPIClient ¶
type GetResourceCollectionAPIClient interface {
GetResourceCollection(context.Context, *GetResourceCollectionInput, ...func(*Options)) (*GetResourceCollectionOutput, error)
}
GetResourceCollectionAPIClient is a client that implements the GetResourceCollection operation.
type GetResourceCollectionInput ¶
type GetResourceCollectionInput struct { // The type of Amazon Web Services resource collections to return. The one valid // value is CLOUD_FORMATION for Amazon Web Services CloudFormation stacks. // // This member is required. ResourceCollectionType types.ResourceCollectionType // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type GetResourceCollectionOutput ¶
type GetResourceCollectionOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // The requested list of Amazon Web Services resource collections. The two types // of Amazon Web Services resource collections supported are Amazon Web Services // CloudFormation stacks and Amazon Web Services resources that contain the same // Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web // Services resources that are defined in the stacks or that are tagged using the // same tag key. You can specify up to 500 Amazon Web Services CloudFormation // stacks. ResourceCollection *types.ResourceCollectionFilter // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourceCollectionPaginator ¶
type GetResourceCollectionPaginator struct {
// contains filtered or unexported fields
}
GetResourceCollectionPaginator is a paginator for GetResourceCollection
func NewGetResourceCollectionPaginator ¶
func NewGetResourceCollectionPaginator(client GetResourceCollectionAPIClient, params *GetResourceCollectionInput, optFns ...func(*GetResourceCollectionPaginatorOptions)) *GetResourceCollectionPaginator
NewGetResourceCollectionPaginator returns a new GetResourceCollectionPaginator
func (*GetResourceCollectionPaginator) HasMorePages ¶
func (p *GetResourceCollectionPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetResourceCollectionPaginator) NextPage ¶
func (p *GetResourceCollectionPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetResourceCollectionOutput, error)
NextPage retrieves the next GetResourceCollection page.
type GetResourceCollectionPaginatorOptions ¶
type GetResourceCollectionPaginatorOptions struct { // 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 }
GetResourceCollectionPaginatorOptions is the paginator options for GetResourceCollection
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶ added in v1.3.0
IdempotencyTokenProvider interface for providing idempotency token
type ListAnomaliesForInsightAPIClient ¶
type ListAnomaliesForInsightAPIClient interface {
ListAnomaliesForInsight(context.Context, *ListAnomaliesForInsightInput, ...func(*Options)) (*ListAnomaliesForInsightOutput, error)
}
ListAnomaliesForInsightAPIClient is a client that implements the ListAnomaliesForInsight operation.
type ListAnomaliesForInsightInput ¶
type ListAnomaliesForInsightInput struct { // The ID of the insight. The returned anomalies belong to this insight. // // This member is required. InsightId *string // The ID of the Amazon Web Services account. AccountId *string // Specifies one or more service names that are used to list anomalies. Filters *types.ListAnomaliesForInsightFilters // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // A time range used to specify when the requested anomalies started. All // returned anomalies started during this time range. StartTimeRange *types.StartTimeRange // contains filtered or unexported fields }
type ListAnomaliesForInsightOutput ¶
type ListAnomaliesForInsightOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // An array of ProactiveAnomalySummary objects that represent the requested // anomalies ProactiveAnomalies []types.ProactiveAnomalySummary // An array of ReactiveAnomalySummary objects that represent the requested // anomalies ReactiveAnomalies []types.ReactiveAnomalySummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAnomaliesForInsightPaginator ¶
type ListAnomaliesForInsightPaginator struct {
// contains filtered or unexported fields
}
ListAnomaliesForInsightPaginator is a paginator for ListAnomaliesForInsight
func NewListAnomaliesForInsightPaginator ¶
func NewListAnomaliesForInsightPaginator(client ListAnomaliesForInsightAPIClient, params *ListAnomaliesForInsightInput, optFns ...func(*ListAnomaliesForInsightPaginatorOptions)) *ListAnomaliesForInsightPaginator
NewListAnomaliesForInsightPaginator returns a new ListAnomaliesForInsightPaginator
func (*ListAnomaliesForInsightPaginator) HasMorePages ¶
func (p *ListAnomaliesForInsightPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAnomaliesForInsightPaginator) NextPage ¶
func (p *ListAnomaliesForInsightPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAnomaliesForInsightOutput, error)
NextPage retrieves the next ListAnomaliesForInsight page.
type ListAnomaliesForInsightPaginatorOptions ¶
type ListAnomaliesForInsightPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
ListAnomaliesForInsightPaginatorOptions is the paginator options for ListAnomaliesForInsight
type ListAnomalousLogGroupsAPIClient ¶ added in v1.18.0
type ListAnomalousLogGroupsAPIClient interface {
ListAnomalousLogGroups(context.Context, *ListAnomalousLogGroupsInput, ...func(*Options)) (*ListAnomalousLogGroupsOutput, error)
}
ListAnomalousLogGroupsAPIClient is a client that implements the ListAnomalousLogGroups operation.
type ListAnomalousLogGroupsInput ¶ added in v1.18.0
type ListAnomalousLogGroupsInput struct { // The ID of the insight containing the log groups. // // This member is required. InsightId *string // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type ListAnomalousLogGroupsOutput ¶ added in v1.18.0
type ListAnomalousLogGroupsOutput struct { // The list of Amazon CloudWatch log groups that are related to an insight. // // This member is required. AnomalousLogGroups []types.AnomalousLogGroup // The ID of the insight containing the log groups. // // This member is required. InsightId *string // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAnomalousLogGroupsPaginator ¶ added in v1.18.0
type ListAnomalousLogGroupsPaginator struct {
// contains filtered or unexported fields
}
ListAnomalousLogGroupsPaginator is a paginator for ListAnomalousLogGroups
func NewListAnomalousLogGroupsPaginator ¶ added in v1.18.0
func NewListAnomalousLogGroupsPaginator(client ListAnomalousLogGroupsAPIClient, params *ListAnomalousLogGroupsInput, optFns ...func(*ListAnomalousLogGroupsPaginatorOptions)) *ListAnomalousLogGroupsPaginator
NewListAnomalousLogGroupsPaginator returns a new ListAnomalousLogGroupsPaginator
func (*ListAnomalousLogGroupsPaginator) HasMorePages ¶ added in v1.18.0
func (p *ListAnomalousLogGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAnomalousLogGroupsPaginator) NextPage ¶ added in v1.18.0
func (p *ListAnomalousLogGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAnomalousLogGroupsOutput, error)
NextPage retrieves the next ListAnomalousLogGroups page.
type ListAnomalousLogGroupsPaginatorOptions ¶ added in v1.18.0
type ListAnomalousLogGroupsPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
ListAnomalousLogGroupsPaginatorOptions is the paginator options for ListAnomalousLogGroups
type ListEventsAPIClient ¶
type ListEventsAPIClient interface {
ListEvents(context.Context, *ListEventsInput, ...func(*Options)) (*ListEventsOutput, error)
}
ListEventsAPIClient is a client that implements the ListEvents operation.
type ListEventsInput ¶
type ListEventsInput struct { // A ListEventsFilters object used to specify which events to return. // // This member is required. Filters *types.ListEventsFilters // The ID of the Amazon Web Services account. AccountId *string // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type ListEventsOutput ¶
type ListEventsOutput struct { // A list of the requested events. // // This member is required. Events []types.Event // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListEventsPaginator ¶
type ListEventsPaginator struct {
// contains filtered or unexported fields
}
ListEventsPaginator is a paginator for ListEvents
func NewListEventsPaginator ¶
func NewListEventsPaginator(client ListEventsAPIClient, params *ListEventsInput, optFns ...func(*ListEventsPaginatorOptions)) *ListEventsPaginator
NewListEventsPaginator returns a new ListEventsPaginator
func (*ListEventsPaginator) HasMorePages ¶
func (p *ListEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListEventsPaginator) NextPage ¶
func (p *ListEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEventsOutput, error)
NextPage retrieves the next ListEvents page.
type ListEventsPaginatorOptions ¶
type ListEventsPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
ListEventsPaginatorOptions is the paginator options for ListEvents
type ListInsightsAPIClient ¶
type ListInsightsAPIClient interface {
ListInsights(context.Context, *ListInsightsInput, ...func(*Options)) (*ListInsightsOutput, error)
}
ListInsightsAPIClient is a client that implements the ListInsights operation.
type ListInsightsInput ¶
type ListInsightsInput struct { // A filter used to filter the returned insights by their status. You can specify // one status filter. // // This member is required. StatusFilter *types.ListInsightsStatusFilter // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type ListInsightsOutput ¶
type ListInsightsOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // The returned list of proactive insights. ProactiveInsights []types.ProactiveInsightSummary // The returned list of reactive insights. ReactiveInsights []types.ReactiveInsightSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListInsightsPaginator ¶
type ListInsightsPaginator struct {
// contains filtered or unexported fields
}
ListInsightsPaginator is a paginator for ListInsights
func NewListInsightsPaginator ¶
func NewListInsightsPaginator(client ListInsightsAPIClient, params *ListInsightsInput, optFns ...func(*ListInsightsPaginatorOptions)) *ListInsightsPaginator
NewListInsightsPaginator returns a new ListInsightsPaginator
func (*ListInsightsPaginator) HasMorePages ¶
func (p *ListInsightsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListInsightsPaginator) NextPage ¶
func (p *ListInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListInsightsOutput, error)
NextPage retrieves the next ListInsights page.
type ListInsightsPaginatorOptions ¶
type ListInsightsPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
ListInsightsPaginatorOptions is the paginator options for ListInsights
type ListMonitoredResourcesAPIClient ¶ added in v1.18.0
type ListMonitoredResourcesAPIClient interface {
ListMonitoredResources(context.Context, *ListMonitoredResourcesInput, ...func(*Options)) (*ListMonitoredResourcesOutput, error)
}
ListMonitoredResourcesAPIClient is a client that implements the ListMonitoredResources operation.
type ListMonitoredResourcesInput ¶ added in v1.18.0
type ListMonitoredResourcesInput struct { // Filters to determine which monitored resources you want to retrieve. You can // filter by resource type or resource permission status. Filters *types.ListMonitoredResourcesFilters // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type ListMonitoredResourcesOutput ¶ added in v1.18.0
type ListMonitoredResourcesOutput struct { // Information about the resource that is being monitored, including the name of // the resource, the type of resource, and whether or not permission is given to // DevOps Guru to access that resource. // // This member is required. MonitoredResourceIdentifiers []types.MonitoredResourceIdentifier // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMonitoredResourcesPaginator ¶ added in v1.18.0
type ListMonitoredResourcesPaginator struct {
// contains filtered or unexported fields
}
ListMonitoredResourcesPaginator is a paginator for ListMonitoredResources
func NewListMonitoredResourcesPaginator ¶ added in v1.18.0
func NewListMonitoredResourcesPaginator(client ListMonitoredResourcesAPIClient, params *ListMonitoredResourcesInput, optFns ...func(*ListMonitoredResourcesPaginatorOptions)) *ListMonitoredResourcesPaginator
NewListMonitoredResourcesPaginator returns a new ListMonitoredResourcesPaginator
func (*ListMonitoredResourcesPaginator) HasMorePages ¶ added in v1.18.0
func (p *ListMonitoredResourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMonitoredResourcesPaginator) NextPage ¶ added in v1.18.0
func (p *ListMonitoredResourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMonitoredResourcesOutput, error)
NextPage retrieves the next ListMonitoredResources page.
type ListMonitoredResourcesPaginatorOptions ¶ added in v1.18.0
type ListMonitoredResourcesPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
ListMonitoredResourcesPaginatorOptions is the paginator options for ListMonitoredResources
type ListNotificationChannelsAPIClient ¶
type ListNotificationChannelsAPIClient interface {
ListNotificationChannels(context.Context, *ListNotificationChannelsInput, ...func(*Options)) (*ListNotificationChannelsOutput, error)
}
ListNotificationChannelsAPIClient is a client that implements the ListNotificationChannels operation.
type ListNotificationChannelsInput ¶
type ListNotificationChannelsInput struct { // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type ListNotificationChannelsOutput ¶
type ListNotificationChannelsOutput struct { // An array that contains the requested notification channels. Channels []types.NotificationChannel // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListNotificationChannelsPaginator ¶
type ListNotificationChannelsPaginator struct {
// contains filtered or unexported fields
}
ListNotificationChannelsPaginator is a paginator for ListNotificationChannels
func NewListNotificationChannelsPaginator ¶
func NewListNotificationChannelsPaginator(client ListNotificationChannelsAPIClient, params *ListNotificationChannelsInput, optFns ...func(*ListNotificationChannelsPaginatorOptions)) *ListNotificationChannelsPaginator
NewListNotificationChannelsPaginator returns a new ListNotificationChannelsPaginator
func (*ListNotificationChannelsPaginator) HasMorePages ¶
func (p *ListNotificationChannelsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListNotificationChannelsPaginator) NextPage ¶
func (p *ListNotificationChannelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListNotificationChannelsOutput, error)
NextPage retrieves the next ListNotificationChannels page.
type ListNotificationChannelsPaginatorOptions ¶
type ListNotificationChannelsPaginatorOptions struct { // 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 }
ListNotificationChannelsPaginatorOptions is the paginator options for ListNotificationChannels
type ListOrganizationInsightsAPIClient ¶ added in v1.10.0
type ListOrganizationInsightsAPIClient interface {
ListOrganizationInsights(context.Context, *ListOrganizationInsightsInput, ...func(*Options)) (*ListOrganizationInsightsOutput, error)
}
ListOrganizationInsightsAPIClient is a client that implements the ListOrganizationInsights operation.
type ListOrganizationInsightsInput ¶ added in v1.10.0
type ListOrganizationInsightsInput struct { // A filter used by ListInsights to specify which insights to return. // // This member is required. StatusFilter *types.ListInsightsStatusFilter // The ID of the Amazon Web Services account. AccountIds []string // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // The ID of the organizational unit. OrganizationalUnitIds []string // contains filtered or unexported fields }
type ListOrganizationInsightsOutput ¶ added in v1.10.0
type ListOrganizationInsightsOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // An integer that specifies the number of open proactive insights in your Amazon // Web Services account. ProactiveInsights []types.ProactiveOrganizationInsightSummary // An integer that specifies the number of open reactive insights in your Amazon // Web Services account. ReactiveInsights []types.ReactiveOrganizationInsightSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListOrganizationInsightsPaginator ¶ added in v1.10.0
type ListOrganizationInsightsPaginator struct {
// contains filtered or unexported fields
}
ListOrganizationInsightsPaginator is a paginator for ListOrganizationInsights
func NewListOrganizationInsightsPaginator ¶ added in v1.10.0
func NewListOrganizationInsightsPaginator(client ListOrganizationInsightsAPIClient, params *ListOrganizationInsightsInput, optFns ...func(*ListOrganizationInsightsPaginatorOptions)) *ListOrganizationInsightsPaginator
NewListOrganizationInsightsPaginator returns a new ListOrganizationInsightsPaginator
func (*ListOrganizationInsightsPaginator) HasMorePages ¶ added in v1.10.0
func (p *ListOrganizationInsightsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListOrganizationInsightsPaginator) NextPage ¶ added in v1.10.0
func (p *ListOrganizationInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListOrganizationInsightsOutput, error)
NextPage retrieves the next ListOrganizationInsights page.
type ListOrganizationInsightsPaginatorOptions ¶ added in v1.10.0
type ListOrganizationInsightsPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
ListOrganizationInsightsPaginatorOptions is the paginator options for ListOrganizationInsights
type ListRecommendationsAPIClient ¶
type ListRecommendationsAPIClient interface {
ListRecommendations(context.Context, *ListRecommendationsInput, ...func(*Options)) (*ListRecommendationsOutput, error)
}
ListRecommendationsAPIClient is a client that implements the ListRecommendations operation.
type ListRecommendationsInput ¶
type ListRecommendationsInput struct { // The ID of the requested insight. // // This member is required. InsightId *string // The ID of the Amazon Web Services account. AccountId *string // A locale that specifies the language to use for recommendations. Locale types.Locale // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type ListRecommendationsOutput ¶
type ListRecommendationsOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // An array of the requested recommendations. Recommendations []types.Recommendation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRecommendationsPaginator ¶
type ListRecommendationsPaginator struct {
// contains filtered or unexported fields
}
ListRecommendationsPaginator is a paginator for ListRecommendations
func NewListRecommendationsPaginator ¶
func NewListRecommendationsPaginator(client ListRecommendationsAPIClient, params *ListRecommendationsInput, optFns ...func(*ListRecommendationsPaginatorOptions)) *ListRecommendationsPaginator
NewListRecommendationsPaginator returns a new ListRecommendationsPaginator
func (*ListRecommendationsPaginator) HasMorePages ¶
func (p *ListRecommendationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRecommendationsPaginator) NextPage ¶
func (p *ListRecommendationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRecommendationsOutput, error)
NextPage retrieves the next ListRecommendations page.
type ListRecommendationsPaginatorOptions ¶
type ListRecommendationsPaginatorOptions struct { // 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 }
ListRecommendationsPaginatorOptions is the paginator options for ListRecommendations
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.27.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutFeedbackInput ¶
type PutFeedbackInput struct { // The feedback from customers is about the recommendations in this insight. InsightFeedback *types.InsightFeedback // contains filtered or unexported fields }
type PutFeedbackOutput ¶
type PutFeedbackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RemoveNotificationChannelInput ¶
type RemoveNotificationChannelInput struct { // The ID of the notification channel to be removed. // // This member is required. Id *string // contains filtered or unexported fields }
type RemoveNotificationChannelOutput ¶
type RemoveNotificationChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 SearchInsightsAPIClient ¶
type SearchInsightsAPIClient interface {
SearchInsights(context.Context, *SearchInsightsInput, ...func(*Options)) (*SearchInsightsOutput, error)
}
SearchInsightsAPIClient is a client that implements the SearchInsights operation.
type SearchInsightsInput ¶
type SearchInsightsInput struct { // The start of the time range passed in. Returned insights occurred after this // time. // // This member is required. StartTimeRange *types.StartTimeRange // The type of insights you are searching for ( REACTIVE or PROACTIVE ). // // This member is required. Type types.InsightType // A SearchInsightsFilters object that is used to set the severity and status // filters on your insight search. Filters *types.SearchInsightsFilters // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type SearchInsightsOutput ¶
type SearchInsightsOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // The returned proactive insights. ProactiveInsights []types.ProactiveInsightSummary // The returned reactive insights. ReactiveInsights []types.ReactiveInsightSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SearchInsightsPaginator ¶
type SearchInsightsPaginator struct {
// contains filtered or unexported fields
}
SearchInsightsPaginator is a paginator for SearchInsights
func NewSearchInsightsPaginator ¶
func NewSearchInsightsPaginator(client SearchInsightsAPIClient, params *SearchInsightsInput, optFns ...func(*SearchInsightsPaginatorOptions)) *SearchInsightsPaginator
NewSearchInsightsPaginator returns a new SearchInsightsPaginator
func (*SearchInsightsPaginator) HasMorePages ¶
func (p *SearchInsightsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*SearchInsightsPaginator) NextPage ¶
func (p *SearchInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*SearchInsightsOutput, error)
NextPage retrieves the next SearchInsights page.
type SearchInsightsPaginatorOptions ¶
type SearchInsightsPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
SearchInsightsPaginatorOptions is the paginator options for SearchInsights
type SearchOrganizationInsightsAPIClient ¶ added in v1.10.0
type SearchOrganizationInsightsAPIClient interface {
SearchOrganizationInsights(context.Context, *SearchOrganizationInsightsInput, ...func(*Options)) (*SearchOrganizationInsightsOutput, error)
}
SearchOrganizationInsightsAPIClient is a client that implements the SearchOrganizationInsights operation.
type SearchOrganizationInsightsInput ¶ added in v1.10.0
type SearchOrganizationInsightsInput struct { // The ID of the Amazon Web Services account. // // This member is required. AccountIds []string // A time range used to specify when the behavior of an insight or anomaly // started. // // This member is required. StartTimeRange *types.StartTimeRange // The type of insights you are searching for ( REACTIVE or PROACTIVE ). // // This member is required. Type types.InsightType // A SearchOrganizationInsightsFilters object that is used to set the severity // and status filters on your insight search. Filters *types.SearchOrganizationInsightsFilters // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // contains filtered or unexported fields }
type SearchOrganizationInsightsOutput ¶ added in v1.10.0
type SearchOrganizationInsightsOutput struct { // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string // An integer that specifies the number of open proactive insights in your Amazon // Web Services account. ProactiveInsights []types.ProactiveInsightSummary // An integer that specifies the number of open reactive insights in your Amazon // Web Services account. ReactiveInsights []types.ReactiveInsightSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SearchOrganizationInsightsPaginator ¶ added in v1.10.0
type SearchOrganizationInsightsPaginator struct {
// contains filtered or unexported fields
}
SearchOrganizationInsightsPaginator is a paginator for SearchOrganizationInsights
func NewSearchOrganizationInsightsPaginator ¶ added in v1.10.0
func NewSearchOrganizationInsightsPaginator(client SearchOrganizationInsightsAPIClient, params *SearchOrganizationInsightsInput, optFns ...func(*SearchOrganizationInsightsPaginatorOptions)) *SearchOrganizationInsightsPaginator
NewSearchOrganizationInsightsPaginator returns a new SearchOrganizationInsightsPaginator
func (*SearchOrganizationInsightsPaginator) HasMorePages ¶ added in v1.10.0
func (p *SearchOrganizationInsightsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*SearchOrganizationInsightsPaginator) NextPage ¶ added in v1.10.0
func (p *SearchOrganizationInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*SearchOrganizationInsightsOutput, error)
NextPage retrieves the next SearchOrganizationInsights page.
type SearchOrganizationInsightsPaginatorOptions ¶ added in v1.10.0
type SearchOrganizationInsightsPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. 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 }
SearchOrganizationInsightsPaginatorOptions is the paginator options for SearchOrganizationInsights
type StartCostEstimationInput ¶ added in v1.3.0
type StartCostEstimationInput struct { // The collection of Amazon Web Services resources used to create a monthly DevOps // Guru cost estimate. // // This member is required. ResourceCollection *types.CostEstimationResourceCollectionFilter // The idempotency token used to identify each cost estimate request. ClientToken *string // contains filtered or unexported fields }
type StartCostEstimationOutput ¶ added in v1.3.0
type StartCostEstimationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateEventSourcesConfigInput ¶ added in v1.16.0
type UpdateEventSourcesConfigInput struct { // Configuration information about the integration of DevOps Guru as the Consumer // via EventBridge with another AWS Service. EventSources *types.EventSourcesConfig // contains filtered or unexported fields }
type UpdateEventSourcesConfigOutput ¶ added in v1.16.0
type UpdateEventSourcesConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateResourceCollectionInput ¶
type UpdateResourceCollectionInput struct { // Specifies if the resource collection in the request is added or deleted to the // resource collection. // // This member is required. Action types.UpdateResourceCollectionAction // Contains information used to update a collection of Amazon Web Services // resources. // // This member is required. ResourceCollection *types.UpdateResourceCollectionFilter // contains filtered or unexported fields }
type UpdateResourceCollectionOutput ¶
type UpdateResourceCollectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateServiceIntegrationInput ¶
type UpdateServiceIntegrationInput struct { // An IntegratedServiceConfig object used to specify the integrated service you // want to update, and whether you want to update it to enabled or disabled. // // This member is required. ServiceIntegration *types.UpdateServiceIntegrationConfig // contains filtered or unexported fields }
type UpdateServiceIntegrationOutput ¶
type UpdateServiceIntegrationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_AddNotificationChannel.go
- api_op_DeleteInsight.go
- api_op_DescribeAccountHealth.go
- api_op_DescribeAccountOverview.go
- api_op_DescribeAnomaly.go
- api_op_DescribeEventSourcesConfig.go
- api_op_DescribeFeedback.go
- api_op_DescribeInsight.go
- api_op_DescribeOrganizationHealth.go
- api_op_DescribeOrganizationOverview.go
- api_op_DescribeOrganizationResourceCollectionHealth.go
- api_op_DescribeResourceCollectionHealth.go
- api_op_DescribeServiceIntegration.go
- api_op_GetCostEstimation.go
- api_op_GetResourceCollection.go
- api_op_ListAnomaliesForInsight.go
- api_op_ListAnomalousLogGroups.go
- api_op_ListEvents.go
- api_op_ListInsights.go
- api_op_ListMonitoredResources.go
- api_op_ListNotificationChannels.go
- api_op_ListOrganizationInsights.go
- api_op_ListRecommendations.go
- api_op_PutFeedback.go
- api_op_RemoveNotificationChannel.go
- api_op_SearchInsights.go
- api_op_SearchOrganizationInsights.go
- api_op_StartCostEstimation.go
- api_op_UpdateEventSourcesConfig.go
- api_op_UpdateResourceCollection.go
- api_op_UpdateServiceIntegration.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go