SecurityHub / Client / update_action_target

update_action_target#

SecurityHub.Client.update_action_target(**kwargs)#

Updates the name and description of a custom action target in Security Hub.

See also: AWS API Documentation

Request Syntax

response = client.update_action_target(
    ActionTargetArn='string',
    Name='string',
    Description='string'
)
Parameters:
  • ActionTargetArn (string) –

    [REQUIRED]

    The ARN of the custom action target to update.

  • Name (string) – The updated name of the custom action target.

  • Description (string) – The updated description for the custom action target.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SecurityHub.Client.exceptions.InternalException

  • SecurityHub.Client.exceptions.InvalidInputException

  • SecurityHub.Client.exceptions.ResourceNotFoundException

  • SecurityHub.Client.exceptions.InvalidAccessException

  • SecurityHub.Client.exceptions.ResourceNotFoundException