ServiceExecute["AWS","GetService""service"] retrieves a child ServiceObject representing the AWS service named "service", such as "EC2" or "CloudFormation".
ServiceExecute["AWS","request",params] performs an operation on the master AWS service connection, using parameters params. The following give possible requests.
Service Metadata
Requests:
"Services"— list available AWS services
Obtain Child Service Objects
Requests:
"GetService"— obtain a child ServiceObject representing a single AWS service
Parameters:
"Name"
(required)
AWS service to access
Child Service Requests
After using ServiceExecute["AWS","GetService","Name""service"] to obtain a child ServiceObjectobj representing a single AWS service "service", ServiceExecute[obj,"request",params] sends a request to "service" using parameters params.
obj["request",param1val1,param2val2,…] is equivalent to ServiceExecute[obj,"req",{param1val1,param2val2,…}].
A service's available requests can be listed with ServiceExecute[obj,"Requests"]. Request and parameter names correspond to those used in AWS official API documentation.
The following additional meta requests are applicable to all child services.
List Requests
Requests:
"Requests"— list available requests for the service
Request Metadata
Requests:
"RequestTemplate"— show the expected structure of a request's payload
"ResponseTemplate"— show the expected structure of a request's response data
Parameters:
"Request"
(required)
name of request to inspect
Parameter Details
The following meta parameters are available for all service requests, in addition to those parameters given by each request's "RequestTemplate":
Setting "IncludeBodyByteArray"True causes a ByteArray containing the raw, unparsed response body to be included in the response metadata association. "IncludeBodyByteArray" is relevant only if "RawResponse" is also True.
Setting "RawResponse"True causes ServiceExecute to return an association containing response metadata as well as the parsed response data. If a request error occurred, the association also contains rich failure data.
The value of the "RequestEndpoint" parameter can be a verbatim string like "https://abcd1234.mediaconvert.us-west-1.amazonaws.com" or a string containing template variables "{service}" or "{region}", like "{service}.{region}.c2s.ic.gov". If no URL scheme is indicated, the default for the service is assumed.
The default setting "ValidateRequest"True causes the service connection to validate supplied request parameters locally before sending a request to the server.