update_project_data_delivery

CloudWatchEvidently.Client.update_project_data_delivery(**kwargs)

Updates the data storage options for this project. If you store evaluation events, you an keep them and analyze them on your own. If you choose not to store evaluation events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.

You can't specify both cloudWatchLogs and s3Destination in the same operation.

See also: AWS API Documentation

Request Syntax

response = client.update_project_data_delivery(
    cloudWatchLogs={
        'logGroup': 'string'
    },
    project='string',
    s3Destination={
        'bucket': 'string',
        'prefix': 'string'
    }
)
Parameters
  • cloudWatchLogs (dict) --

    A structure containing the CloudWatch Logs log group where you want to store evaluation events.

    • logGroup (string) --

      The name of the log group where the project stores evaluation events.

  • project (string) --

    [REQUIRED]

    The name or ARN of the project that you want to modify the data storage options for.

  • s3Destination (dict) --

    A structure containing the S3 bucket name and bucket prefix where you want to store evaluation events.

    • bucket (string) --

      The name of the bucket in which Evidently stores evaluation events.

    • prefix (string) --

      The bucket prefix in which Evidently stores evaluation events.

Return type

dict

Returns

Response Syntax

{
    'project': {
        'activeExperimentCount': 123,
        'activeLaunchCount': 123,
        'appConfigResource': {
            'applicationId': 'string',
            'configurationProfileId': 'string',
            'environmentId': 'string'
        },
        'arn': 'string',
        'createdTime': datetime(2015, 1, 1),
        'dataDelivery': {
            'cloudWatchLogs': {
                'logGroup': 'string'
            },
            's3Destination': {
                'bucket': 'string',
                'prefix': 'string'
            }
        },
        'description': 'string',
        'experimentCount': 123,
        'featureCount': 123,
        'lastUpdatedTime': datetime(2015, 1, 1),
        'launchCount': 123,
        'name': 'string',
        'status': 'AVAILABLE'|'UPDATING',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • project (dict) --

      A structure containing details about the project that you updated.

      • activeExperimentCount (integer) --

        The number of ongoing experiments currently in the project.

      • activeLaunchCount (integer) --

        The number of ongoing launches currently in the project.

      • appConfigResource (dict) --

        This structure defines the configuration of how your application integrates with AppConfig to run client-side evaluation.

        • applicationId (string) --

          The ID of the AppConfig application to use for client-side evaluation.

        • configurationProfileId (string) --

          The ID of the AppConfig profile to use for client-side evaluation.

        • environmentId (string) --

          The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId .

      • arn (string) --

        The name or ARN of the project.

      • createdTime (datetime) --

        The date and time that the project is created.

      • dataDelivery (dict) --

        A structure that contains information about where Evidently is to store evaluation events for longer term storage.

        • cloudWatchLogs (dict) --

          If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.

          • logGroup (string) --

            The name of the log group where the project stores evaluation events.

        • s3Destination (dict) --

          If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.

          • bucket (string) --

            The name of the bucket in which Evidently stores evaluation events.

          • prefix (string) --

            The bucket prefix in which Evidently stores evaluation events.

      • description (string) --

        The user-entered description of the project.

      • experimentCount (integer) --

        The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not.

      • featureCount (integer) --

        The number of features currently in the project.

      • lastUpdatedTime (datetime) --

        The date and time that the project was most recently updated.

      • launchCount (integer) --

        The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not.

      • name (string) --

        The name of the project.

      • status (string) --

        The current state of the project.

      • tags (dict) --

        The list of tag keys and values associated with this project.

        • (string) --
          • (string) --

Exceptions

  • CloudWatchEvidently.Client.exceptions.ValidationException
  • CloudWatchEvidently.Client.exceptions.ConflictException
  • CloudWatchEvidently.Client.exceptions.ServiceQuotaExceededException
  • CloudWatchEvidently.Client.exceptions.ResourceNotFoundException
  • CloudWatchEvidently.Client.exceptions.AccessDeniedException