create_case_comment
async
¶
create_case_comment(
case_id: CaseId,
body: CommentBody,
*,
config_overrides: Optional[AsyncSecurityIRClientConfig] = None,
client_token: Optional[str] = None,
) -> CreateCaseCommentResponse
Adds a comment to an existing case.
Parameters:
-
case_id(CaseId) –Required element used in combination with CreateCaseComment to specify a case ID.
-
client_token(Optional[str], default:None) –The
clientTokenfield is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided. -
body(CommentBody) –Required element used in combination with CreateCaseComment to add content for the new comment.
Raises:
-
AccessDeniedException– -
ConflictException– -
InternalServerException– -
InvalidTokenException– -
ResourceNotFoundException– -
SecurityIncidentResponseNotActiveException– -
ServiceQuotaExceededException– -
ThrottlingException– -
ValidationException– -
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Invoke CreateCaseComment
Source code in docs_src/capo_security_ir/_services/async_security_ir.py
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 | |