URL encodes a string. If the path property is specified,
the accepted path characters {/+:} are not encoded.

Declaration Syntax

Parameters
- data (String)
- The string to encode
- path (Boolean)
- Whether the string is a URL path or not

Return Value
Assembly:
AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)