SupportedProtocols
: string
in package
Priority ordered collection of supported AWS protocols.
Table of Contents
Cases
- CBOR = 'smithy-rpc-v2-cbor'
- EC2 = 'ec2'
- JSON = 'json'
- QUERY = 'query'
- REST_JSON = 'rest-json'
- REST_XML = 'rest-xml'
Methods
- isSupported() : bool
- Check if a protocol is valid.
Cases
JSON
CBOR
REST_JSON
REST_XML
QUERY
EC2
Methods
isSupported()
Check if a protocol is valid.
public
static isSupported(string $protocol) : bool
Parameters
- $protocol : string
Return values
bool —True if the protocol is supported, otherwise false.