CloudWatchOmni / Client / put_intelligence_configuration

put_intelligence_configuration

CloudWatchOmni.Client.put_intelligence_configuration(**kwargs)

Creates or updates the intelligence configuration for the calling account. Account is identified via FAS (caller identity).

See also: AWS API Documentation

Request Syntax

response = client.put_intelligence_configuration(
    kmsKeyArn='string',
    removeKmsKey=True|False,
    clientToken='string'
)
Parameters:
  • kmsKeyArn (string) – Optional KMS key ARN to configure customer-managed encryption for anomaly data.

  • removeKmsKey (boolean) – Set to true to disassociate the configured KMS key. Mutually exclusive with kmsKeyArn; the service returns ValidationException if both are provided.

  • clientToken (string) –

    Idempotency token for safe retries. Repeating a request with the same token applies the update at most once instead of reprocessing it.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'accountId': 'string',
    'kmsKeyArn': 'string',
    'updatedAt': datetime(2015, 1, 1),
    'createdAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    The intelligence configuration for the calling account after the update.

    • accountId (string) –

      The AWS account ID this configuration applies to.

    • kmsKeyArn (string) –

      The currently active KMS key ARN for customer-managed encryption, if configured.

    • updatedAt (datetime) –

      ISO-8601 timestamp of the last update.

    • createdAt (datetime) –

      ISO-8601 timestamp of initial creation.

Exceptions