CloudWatch Omni

2026/11/23 - CloudWatch Omni - 4 updated api methods

Changes  Release of the new integration type in CreateIntegration API - Used to add Microsoft Azure resources to the Amazon CloudWatch Omni context graph through an AWS Config connector for your Azure tenant.

CreateIntegration (updated) Link ¶
Changes (request, response)
Request
{'integrationType': {'AWS_CONFIG_AZURE_SLREC'}}
Response
{'integration': {'integrationType': {'AWS_CONFIG_AZURE_SLREC'}}}

Creates an integration with a third-party provider. Returns the integration identifier and its initial status; when the provider requires interactive consent, an authorization URL is returned for the user to complete setup.

See also: AWS API Documentation

Request Syntax

client.create_integration(
    integrationType='AWS_CONFIG_SLREC'|'AWS_CONFIG_AZURE_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
    name='string',
    credential={
        'oauthCodeCredential': {
            'authCode': 'string'
        },
        'oauthClientCredential': {
            'clientId': 'string',
            'clientSecret': 'string',
            'providerId': 'string'
        },
        'apiKeyCredential': {
            'apiKeyValue': 'string'
        }
    },
    integrationAttributes={
        'string': 'string'
    },
    roleArn='string',
    tags={
        'string': 'string'
    },
    clientToken='string'
)
type integrationType:

string

param integrationType:

[REQUIRED]

The type of third-party provider to integrate with.

type name:

string

param name:

[REQUIRED]

The name for the new integration; unique within the account.

type credential:

dict

param credential:

The credential used to authenticate with the third-party provider.

  • oauthCodeCredential (dict) --

    Credentials for an OAuth 2.0 authorization-code grant.

    • authCode (string) -- [REQUIRED]

      The OAuth 2.0 authorization code returned by the external system's authorization endpoint.

  • oauthClientCredential (dict) --

    Credentials for an OAuth 2.0 client-credentials grant.

    • clientId (string) -- [REQUIRED]

      The OAuth 2.0 client identifier registered with the external system.

    • clientSecret (string) -- [REQUIRED]

      The OAuth 2.0 client secret that pairs with the client identifier.

    • providerId (string) --

      The identifier of the OAuth provider that issued the client credentials.

  • apiKeyCredential (dict) --

    An API key credential.

    • apiKeyValue (string) -- [REQUIRED]

      The API key value used to authenticate with the external system.

type integrationAttributes:

dict

param integrationAttributes:

Provider-specific attributes to associate with the integration.

  • (string) --

    • (string) --

type roleArn:

string

param roleArn:

The Amazon Resource Name of the IAM role assumed to access the integration.

type tags:

dict

param tags:

Tags to apply to the integration at creation time (Tagris tag-on-create).

  • (string) --

    Tag key. Must be non-empty; AWS-standard maximum length. Constraining the key (rather than a bare String) rejects empty-key payloads at the edge with a 400 ValidationException instead of faulting downstream as a 500.

    • (string) --

      Tag value. AWS-standard maximum length; may be empty.

type clientToken:

string

param clientToken:

Idempotency token for safe retries. Retrying with the same token returns the original integration instead of creating a duplicate.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'integration': {
        'integrationId': 'string',
        'integrationArn': 'string',
        'integrationType': 'AWS_CONFIG_SLREC'|'AWS_CONFIG_AZURE_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
        'name': 'string',
        'status': 'ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
        'authType': 'NONE'|'OAUTH2'|'API_KEY',
        'credentialArn': 'string',
        'roleArn': 'string',
        'integrationAttributes': {
            'string': 'string'
        },
        'authorizationUrl': 'string',
        'errorMessage': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'scope': 'ACCOUNT'|'ORGANIZATION'
    }
}

Response Structure

  • (dict) --

    The response from creating an integration.

    • integration (dict) --

      The details of the created integration. This is the same object returned by GetIntegration and UpdateIntegration.

      • integrationId (string) --

        The unique identifier of the integration.

      • integrationArn (string) --

        The Amazon Resource Name (ARN) of the integration.

      • integrationType (string) --

        The type of external system that an integration connects to, such as a source of configuration data, a messaging destination, or a model provider.

      • name (string) --

        The customer-provided name of the integration.

      • status (string) --

        The current lifecycle state of an integration.

      • authType (string) --

        The authentication method that an integration uses to connect to its external system.

      • credentialArn (string) --

        The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.

      • roleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.

      • integrationAttributes (dict) --

        Provider-specific key/value attributes that configure the integration.

        • (string) --

          • (string) --

      • authorizationUrl (string) --

        The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.

      • errorMessage (string) --

        A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.

      • createdAt (datetime) --

        The time at which the integration was created.

      • updatedAt (datetime) --

        The time at which the integration was last updated.

      • scope (string) --

        Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.

GetIntegration (updated) Link ¶
Changes (response)
{'integration': {'integrationType': {'AWS_CONFIG_AZURE_SLREC'}}}

Returns the details of a single integration, identified by its identifier, Amazon Resource Name, or name.

See also: AWS API Documentation

Request Syntax

client.get_integration(
    identifier={
        'integrationId': 'string',
        'integrationArn': 'string',
        'integrationName': 'string'
    }
)
type identifier:

dict

param identifier:

[REQUIRED]

Identifies the integration to return — exactly one of integrationId, integrationArn, or integrationName.

  • integrationId (string) --

    The unique identifier of the integration.

  • integrationArn (string) --

    The Amazon Resource Name of the integration.

  • integrationName (string) --

    The name of the integration; unique within the account.

rtype:

dict

returns:

Response Syntax

{
    'integration': {
        'integrationId': 'string',
        'integrationArn': 'string',
        'integrationType': 'AWS_CONFIG_SLREC'|'AWS_CONFIG_AZURE_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
        'name': 'string',
        'status': 'ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
        'authType': 'NONE'|'OAUTH2'|'API_KEY',
        'credentialArn': 'string',
        'roleArn': 'string',
        'integrationAttributes': {
            'string': 'string'
        },
        'authorizationUrl': 'string',
        'errorMessage': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'scope': 'ACCOUNT'|'ORGANIZATION'
    }
}

Response Structure

  • (dict) --

    The response containing the requested integration.

    • integration (dict) --

      The details of the requested integration.

      • integrationId (string) --

        The unique identifier of the integration.

      • integrationArn (string) --

        The Amazon Resource Name (ARN) of the integration.

      • integrationType (string) --

        The type of external system that an integration connects to, such as a source of configuration data, a messaging destination, or a model provider.

      • name (string) --

        The customer-provided name of the integration.

      • status (string) --

        The current lifecycle state of an integration.

      • authType (string) --

        The authentication method that an integration uses to connect to its external system.

      • credentialArn (string) --

        The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.

      • roleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.

      • integrationAttributes (dict) --

        Provider-specific key/value attributes that configure the integration.

        • (string) --

          • (string) --

      • authorizationUrl (string) --

        The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.

      • errorMessage (string) --

        A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.

      • createdAt (datetime) --

        The time at which the integration was created.

      • updatedAt (datetime) --

        The time at which the integration was last updated.

      • scope (string) --

        Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.

ListIntegrations (updated) Link ¶
Changes (request, response)
Request
{'integrationType': {'AWS_CONFIG_AZURE_SLREC'}}
Response
{'items': {'integrationType': {'AWS_CONFIG_AZURE_SLREC'}}}

Lists the integrations in the account, optionally filtered by type, status, or name. Results are paginated.

See also: AWS API Documentation

Request Syntax

client.list_integrations(
    integrationType='AWS_CONFIG_SLREC'|'AWS_CONFIG_AZURE_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
    status='ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
    name='string',
    nextToken='string',
    maxResults=123
)
type integrationType:

string

param integrationType:

Returns only integrations of this provider type.

type status:

string

param status:

Returns only integrations in this status.

type name:

string

param name:

Returns only the integration with this exact name.

type nextToken:

string

param nextToken:

Pagination token from a previous response; omit for the first page.

type maxResults:

integer

param maxResults:

Maximum number of integrations to return in one page.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'integrationId': 'string',
            'integrationArn': 'string',
            'integrationType': 'AWS_CONFIG_SLREC'|'AWS_CONFIG_AZURE_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
            'name': 'string',
            'status': 'ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
            'authType': 'NONE'|'OAUTH2'|'API_KEY',
            'credentialArn': 'string',
            'roleArn': 'string',
            'integrationAttributes': {
                'string': 'string'
            },
            'authorizationUrl': 'string',
            'errorMessage': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'scope': 'ACCOUNT'|'ORGANIZATION'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    The response containing a page of integrations.

    • items (list) --

      The page of integrations.

      • (dict) --

        A connection between CloudWatch and an external system — such as a source of telemetry or configuration data, a messaging destination, or a model provider.

        • integrationId (string) --

          The unique identifier of the integration.

        • integrationArn (string) --

          The Amazon Resource Name (ARN) of the integration.

        • integrationType (string) --

          The type of external system that an integration connects to, such as a source of configuration data, a messaging destination, or a model provider.

        • name (string) --

          The customer-provided name of the integration.

        • status (string) --

          The current lifecycle state of an integration.

        • authType (string) --

          The authentication method that an integration uses to connect to its external system.

        • credentialArn (string) --

          The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.

        • roleArn (string) --

          The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.

        • integrationAttributes (dict) --

          Provider-specific key/value attributes that configure the integration.

          • (string) --

            • (string) --

        • authorizationUrl (string) --

          The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.

        • errorMessage (string) --

          A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.

        • createdAt (datetime) --

          The time at which the integration was created.

        • updatedAt (datetime) --

          The time at which the integration was last updated.

        • scope (string) --

          Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.

    • nextToken (string) --

      Pagination token for the next page; absent when there are no more results.

UpdateIntegration (updated) Link ¶
Changes (response)
{'integration': {'integrationType': {'AWS_CONFIG_AZURE_SLREC'}}}

Updates an existing integration, identified by its id, ARN, or name. Only the fields you provide are changed.

See also: AWS API Documentation

Request Syntax

client.update_integration(
    identifier={
        'integrationId': 'string',
        'integrationArn': 'string',
        'integrationName': 'string'
    },
    credential={
        'oauthCodeCredential': {
            'authCode': 'string'
        },
        'oauthClientCredential': {
            'clientId': 'string',
            'clientSecret': 'string',
            'providerId': 'string'
        },
        'apiKeyCredential': {
            'apiKeyValue': 'string'
        }
    },
    integrationAttributes={
        'string': 'string'
    },
    roleArn='string'
)
type identifier:

dict

param identifier:

[REQUIRED]

Identifies the integration to update — exactly one of integrationId, integrationArn, or integrationName.

  • integrationId (string) --

    The unique identifier of the integration.

  • integrationArn (string) --

    The Amazon Resource Name of the integration.

  • integrationName (string) --

    The name of the integration; unique within the account.

type credential:

dict

param credential:

The replacement credential used to authenticate with the provider.

  • oauthCodeCredential (dict) --

    Credentials for an OAuth 2.0 authorization-code grant.

    • authCode (string) -- [REQUIRED]

      The OAuth 2.0 authorization code returned by the external system's authorization endpoint.

  • oauthClientCredential (dict) --

    Credentials for an OAuth 2.0 client-credentials grant.

    • clientId (string) -- [REQUIRED]

      The OAuth 2.0 client identifier registered with the external system.

    • clientSecret (string) -- [REQUIRED]

      The OAuth 2.0 client secret that pairs with the client identifier.

    • providerId (string) --

      The identifier of the OAuth provider that issued the client credentials.

  • apiKeyCredential (dict) --

    An API key credential.

    • apiKeyValue (string) -- [REQUIRED]

      The API key value used to authenticate with the external system.

type integrationAttributes:

dict

param integrationAttributes:

The provider-specific attributes to associate with the integration.

  • (string) --

    • (string) --

type roleArn:

string

param roleArn:

The Amazon Resource Name of the IAM role assumed to access the integration.

rtype:

dict

returns:

Response Syntax

{
    'integration': {
        'integrationId': 'string',
        'integrationArn': 'string',
        'integrationType': 'AWS_CONFIG_SLREC'|'AWS_CONFIG_AZURE_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
        'name': 'string',
        'status': 'ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
        'authType': 'NONE'|'OAUTH2'|'API_KEY',
        'credentialArn': 'string',
        'roleArn': 'string',
        'integrationAttributes': {
            'string': 'string'
        },
        'authorizationUrl': 'string',
        'errorMessage': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'scope': 'ACCOUNT'|'ORGANIZATION'
    }
}

Response Structure

  • (dict) --

    The response from updating an integration.

    • integration (dict) --

      The details of the updated integration. This is the same object returned by GetIntegration and CreateIntegration. Populated on a successful update; absent only if the post-update read-back of the resource did not complete.

      • integrationId (string) --

        The unique identifier of the integration.

      • integrationArn (string) --

        The Amazon Resource Name (ARN) of the integration.

      • integrationType (string) --

        The type of external system that an integration connects to, such as a source of configuration data, a messaging destination, or a model provider.

      • name (string) --

        The customer-provided name of the integration.

      • status (string) --

        The current lifecycle state of an integration.

      • authType (string) --

        The authentication method that an integration uses to connect to its external system.

      • credentialArn (string) --

        The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.

      • roleArn (string) --

        The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.

      • integrationAttributes (dict) --

        Provider-specific key/value attributes that configure the integration.

        • (string) --

          • (string) --

      • authorizationUrl (string) --

        The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.

      • errorMessage (string) --

        A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.

      • createdAt (datetime) --

        The time at which the integration was created.

      • updatedAt (datetime) --

        The time at which the integration was last updated.

      • scope (string) --

        Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.