update_investigation_group
async
¶
update_investigation_group(
identifier: InvestigationGroupIdentifier,
*,
config_overrides: Optional[AsyncAIOpsClientConfig] = None,
role_arn: Optional[RoleArn] = None,
encryption_configuration: Optional[EncryptionConfiguration] = None,
tag_key_boundaries: Optional[TagKeyBoundaries] = None,
chatbot_notification_channel: Optional[ChatbotNotificationChannel] = None,
is_cloud_trail_event_history_enabled: Optional[bool] = None,
cross_account_configurations: Optional[CrossAccountConfigurations] = None,
) -> UpdateInvestigationGroupOutput
Updates the configuration of the specified investigation group.
Parameters:
-
identifier(InvestigationGroupIdentifier) –Specify either the name or the ARN of the investigation group that you want to modify.
-
role_arn(Optional[RoleArn], default:None) –Specify this field if you want to change the IAM role that CloudWatch investigations will use when it gathers investigation data. To do so, specify the ARN of the new role.
The permissions in this role determine which of your resources that CloudWatch investigations will have access to during investigations.
For more information, see How to control what data CloudWatch investigations has access to during investigations.
-
encryption_configuration(Optional[EncryptionConfiguration], default:None) –Use this structure if you want to use a customer managed KMS key to encrypt your investigation data. If you omit this parameter, CloudWatch investigations will use an Amazon Web Services key to encrypt the data. For more information, see Encryption of investigation data.
-
tag_key_boundaries(Optional[TagKeyBoundaries], default:None) –Enter the existing custom tag keys for custom applications in your system. Resource tags help CloudWatch investigations narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, CloudWatch investigations can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, CloudWatch investigations will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by CloudWatch investigations in these cases.
You don't need to enter tags created by myApplications or CloudFormation, because CloudWatch investigations can automatically detect those tags.
-
chatbot_notification_channel(Optional[ChatbotNotificationChannel], default:None) –Use this structure to integrate CloudWatch investigations with chat applications. This structure is a string array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see Getting started with Amazon Q in chat applications and Resource type defined by Amazon Web Services Chatbot.
-
is_cloud_trail_event_history_enabled(Optional[bool], default:None) –Specify
trueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default istrue. -
cross_account_configurations(Optional[CrossAccountConfigurations], default:None) –Used to configure cross-account access for an investigation group. It allows the investigation group to access resources in other accounts.
Raises:
-
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.
-
ValidationException–This operation or its parameters aren't formatted correctly.
-
ThrottlingException–The request was throttled because of quota limits. You can try again later.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_aiops/_services/async_ai_ops.py
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 | |