AiOpsClient

The CloudWatch investigations feature is a generative AI-powered assistant that can help you respond to incidents in your system. It uses generative AI to scan your system's telemetry and quickly surface suggestions that might be related to your issue. These suggestions include metrics, logs, deployment events, and root-cause hypotheses.

You can use API actions to create, manage, and delete investigation groups and investigation group policies. To start and manage investigations, you must use the CloudWatch console.

Properties

Link copied to clipboard
abstract override val config: AiOpsClient.Config

AiOpsClient's configuration

Functions

Link copied to clipboard

Creates an investigation group in your account. Creating an investigation group is a one-time setup task for each Region in your account. It is a necessary task to be able to perform investigations.

Link copied to clipboard

Deletes the specified investigation group from your account. You can currently have one investigation group per Region in your account. After you delete an investigation group, you can later create a new investigation group in the same Region.

Link copied to clipboard

Removes the IAM resource policy from being associated with the investigation group that you specify.

Link copied to clipboard

Returns the configuration information for the specified investigation group.

Link copied to clipboard

Returns the IAM resource policy that is associated with the specified investigation group.

Link copied to clipboard
abstract suspend fun listInvestigationGroups(input: ListInvestigationGroupsRequest = ListInvestigationGroupsRequest { }): ListInvestigationGroupsResponse

Returns the ARN and name of each investigation group in the account.

Link copied to clipboard

Displays the tags associated with a CloudWatch investigations resource. Currently, investigation groups support tagging.

Link copied to clipboard

Creates an IAM resource policy and assigns it to the specified investigation group.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Assigns one or more tags (key-value pairs) to the specified resource.

Link copied to clipboard

Removes one or more tags from the specified resource.

Link copied to clipboard

Updates the configuration of the specified investigation group.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Creates an investigation group in your account. Creating an investigation group is a one-time setup task for each Region in your account. It is a necessary task to be able to perform investigations.

Link copied to clipboard

Deletes the specified investigation group from your account. You can currently have one investigation group per Region in your account. After you delete an investigation group, you can later create a new investigation group in the same Region.

Link copied to clipboard

Removes the IAM resource policy from being associated with the investigation group that you specify.

Link copied to clipboard

Returns the configuration information for the specified investigation group.

Link copied to clipboard

Returns the IAM resource policy that is associated with the specified investigation group.

Link copied to clipboard

Returns the ARN and name of each investigation group in the account.

Link copied to clipboard

Displays the tags associated with a CloudWatch investigations resource. Currently, investigation groups support tagging.

Link copied to clipboard

Creates an IAM resource policy and assigns it to the specified investigation group.

Link copied to clipboard
inline suspend fun AiOpsClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Assigns one or more tags (key-value pairs) to the specified resource.

Link copied to clipboard

Removes one or more tags from the specified resource.

Link copied to clipboard

Updates the configuration of the specified investigation group.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.