diff --git a/aws-xray-recorder-sdk-aws-sdk-v2/src/main/resources/com/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json b/aws-xray-recorder-sdk-aws-sdk-v2/src/main/resources/com/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json index 0897137b..7cc6bda9 100644 --- a/aws-xray-recorder-sdk-aws-sdk-v2/src/main/resources/com/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json +++ b/aws-xray-recorder-sdk-aws-sdk-v2/src/main/resources/com/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json @@ -1,5 +1,19 @@ { "services": { + "SNS": { + "operations": { + "Publish": { + "request_parameters": [ + "TopicArn" + ] + }, + "PublishBatch": { + "request_parameters": [ + "TopicArn" + ] + } + } + }, "DynamoDb": { "operations": { "BatchGetItem": { diff --git a/aws-xray-recorder-sdk-aws-sdk/src/main/resources/com/amazonaws/xray/handlers/DefaultOperationParameterWhitelist.json b/aws-xray-recorder-sdk-aws-sdk/src/main/resources/com/amazonaws/xray/handlers/DefaultOperationParameterWhitelist.json index af2a9472..8dfdcd0e 100644 --- a/aws-xray-recorder-sdk-aws-sdk/src/main/resources/com/amazonaws/xray/handlers/DefaultOperationParameterWhitelist.json +++ b/aws-xray-recorder-sdk-aws-sdk/src/main/resources/com/amazonaws/xray/handlers/DefaultOperationParameterWhitelist.json @@ -332,6 +332,11 @@ "request_parameters": [ "TopicArn" ] + }, + "PublishBatch": { + "request_parameters": [ + "TopicArn" + ] } } },