SecurityLake / Client / update_subscription_notification_configuration

update_subscription_notification_configuration#

SecurityLake.Client.update_subscription_notification_configuration(**kwargs)#

Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or switches the notification subscription endpoint for a subscriber.

See also: AWS API Documentation

Request Syntax

response = client.update_subscription_notification_configuration(
    createSqs=True|False,
    httpsApiKeyName='string',
    httpsApiKeyValue='string',
    httpsMethod='POST'|'PUT',
    roleArn='string',
    subscriptionEndpoint='string',
    subscriptionId='string'
)
Parameters:
  • createSqs (boolean) – Create a new subscription notification for the specified subscription ID in Amazon Security Lake.

  • httpsApiKeyName (string) – The key name for the subscription notification.

  • httpsApiKeyValue (string) – The key value for the subscription notification.

  • httpsMethod (string) – The HTTPS method used for the subscription notification.

  • roleArn (string) – The Amazon Resource Name (ARN) specifying the role of the subscriber. For more information about ARNs and how to use them in policies, see, see the Managing data access and `Amazon Web Services Managed Policies <https://docs.aws.amazon.com/security-lake/latest/userguide/security-iam-awsmanpol.html>`__in the Amazon Security Lake User Guide.

  • subscriptionEndpoint (string) – The subscription endpoint in Security Lake.

  • subscriptionId (string) –

    [REQUIRED]

    The subscription ID for which the subscription notification is specified.

Return type:

dict

Returns:

Response Syntax

{
    'queueArn': 'string'
}

Response Structure

  • (dict) –

    • queueArn (string) –

      Returns the ARN of the queue.

Exceptions

  • SecurityLake.Client.exceptions.ConcurrentModificationException

  • SecurityLake.Client.exceptions.InternalServerException

  • SecurityLake.Client.exceptions.ValidationException

  • SecurityLake.Client.exceptions.AccessDeniedException

  • SecurityLake.Client.exceptions.ResourceNotFoundException

  • SecurityLake.Client.exceptions.AccountNotFoundException

  • SecurityLake.Client.exceptions.InvalidInputException