AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Settings in the investigation group help you centrally manage the common properties of your investigations, such as the following:

Currently, you can have one investigation group in each Region in your account. Each investigation in a Region is a part of the investigation group in that Region

To create an investigation group and set up CloudWatch investigations, you must be signed in to an IAM principal that has either the AIOpsConsoleAdminPolicy or the AdministratorAccess IAM policy attached, or to an account that has similar permissions.

You can configure CloudWatch alarms to start investigations and add events to investigations. If you create your investigation group with CreateInvestigationGroup and you want to enable alarms to do this, you must use PutInvestigationGroupPolicy to create a resource policy that grants this permission to CloudWatch alarms.

For more information about configuring CloudWatch alarms, see Using Amazon CloudWatch alarms

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateInvestigationGroup and EndCreateInvestigationGroup.

Namespace: Amazon.AIOps
Assembly: AWSSDK.AIOps.dll
Version: 3.x.y.z

Syntax

C#
public virtual Task<CreateInvestigationGroupResponse> CreateInvestigationGroupAsync(
         CreateInvestigationGroupRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.AIOps.Model.CreateInvestigationGroupRequest

Container for the necessary parameters to execute the CreateInvestigationGroup service method.

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value


The response from the CreateInvestigationGroup service method, as returned by AIOps.

Exceptions

ExceptionCondition
AccessDeniedException You don't have sufficient permissions to perform this action.
ConflictException This operation couldn't be completed because of a conflict in resource states.
ForbiddenException Access id denied for this operation, or this operation is not valid for the specified resource.
InternalServerException An internal server error occurred. You can try again later.
ResourceNotFoundException The specified resource doesn't exist.
ServiceQuotaExceededException This request exceeds a service quota.
ThrottlingException The request was throttled because of quota limits. You can try again later.
ValidationException This operation or its parameters aren't formatted correctly.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer

See Also