GuardDuty / Client / update_trusted_entity_set

update_trusted_entity_set

GuardDuty.Client.update_trusted_entity_set(**kwargs)

Updates the trusted entity set associated with the specified trustedEntitySetId.

See also: AWS API Documentation

Request Syntax

response = client.update_trusted_entity_set(
    DetectorId='string',
    TrustedEntitySetId='string',
    Name='string',
    Location='string',
    ExpectedBucketOwner='string',
    Activate=True|False
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The unique ID of the GuardDuty detector associated with the threat entity set that you want to update.

    To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

  • TrustedEntitySetId (string) –

    [REQUIRED]

    The ID returned by GuardDuty after updating the trusted entity set resource.

  • Name (string) –

    A user-friendly name to identify the trusted entity set.

    The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).

  • Location (string) – The URI of the file that contains the trusted entity set.

  • ExpectedBucketOwner (string) – The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.

  • Activate (boolean) – A boolean value that indicates whether GuardDuty is to start using this updated trusted entity set. After you update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated entity set to be effective.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions