CloudWatchObservabilityAdminService / Client / create_dataset_integration

create_dataset_integration

CloudWatchObservabilityAdminService.Client.create_dataset_integration(**kwargs)

Creates a dataset integration for the caller’s account in the current region and returns its ARN.

To use this operation, you must have permission to access the dataset integration resources through the IAM role specified in the RoleArn parameter.

If a dataset integration already exists for the account, this operation fails with a ConflictException.

See also: AWS API Documentation

Request Syntax

response = client.create_dataset_integration(
    RoleArn='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • RoleArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the IAM role that grants Amazon CloudWatch permission to access the resources needed for the dataset integration.

  • Tags (dict) –

    The key-value pairs to associate with the dataset integration resource for categorization and management purposes.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'RoleArn': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the created dataset integration.

    • RoleArn (string) –

      The Amazon Resource Name (ARN) of the IAM role associated with the dataset integration.

    • CreatedAt (datetime) –

      The timestamp when the dataset integration was created.

    • UpdatedAt (datetime) –

      The timestamp when the dataset integration was last updated.

Exceptions

  • CloudWatchObservabilityAdminService.Client.exceptions.ConflictException

  • CloudWatchObservabilityAdminService.Client.exceptions.AccessDeniedException

  • CloudWatchObservabilityAdminService.Client.exceptions.InternalServerException

  • CloudWatchObservabilityAdminService.Client.exceptions.ValidationException

  • CloudWatchObservabilityAdminService.Client.exceptions.TooManyRequestsException