AWS code-library documentation change
Summary
Fixed parameter names in multiple IVS Chat CLI examples (hyphenation corrections)
Security assessment
Syntax corrections without security impact. No evidence of security vulnerabilities addressed.
Diff
diff --git a/code-library/latest/ug/cli_2_ivschat_code_examples.md b/code-library/latest/ug/cli_2_ivschat_code_examples.md index a4e858038..0d005dccc 100644 --- a//code-library/latest/ug/cli_2_ivschat_code_examples.md +++ b//code-library/latest/ug/cli_2_ivschat_code_examples.md @@ -39,2 +39,2 @@ The following `create-chat-token` example creates an encrypted chat token that i - --roomIdentifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6", \ - --userId" "11231234" \ + --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6", \ + --user-id "11231234" \ @@ -42 +42 @@ The following `create-chat-token` example creates an encrypted chat token that i - --sessionDurationInMinutes" 30 + --session-duration-in-minutes 30 @@ -176 +176 @@ The following `delete-message` example sends an even to the specified room, whic - --roomIdentifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" \ + --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" \ @@ -229,2 +229,2 @@ The following `disconnect-user` example disconnects all connections for the spec - --roomIdentifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" \ - --userId "ABC123def456" \ + --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" \ + --user-id "ABC123def456" \ @@ -448,2 +448,2 @@ The following `send-event` example sends the given event to the specified room. - --roomIdentifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" \ - --eventName "SystemMessage" \ + --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" \ + --event-name "SystemMessage" \