execute(operation:path:httpMethod:serviceConfig:input:hostPrefix:logger:)

Execute a request with an input object and an empty response

AWSClient.swift:241
func execute(operation operationName: String, path: String, httpMethod: HTTPMethod, serviceConfig: AWSServiceConfig, input: some AWSEncodableShape, hostPrefix: String? = nil, logger: Logger = AWSClient.loggingDisabled) async throws

Parameters

operationName

Name of the AWS operation

path

path to append to endpoint URL

httpMethod

HTTP method to use (“GET”, “PUT”, “PUSH” etc)

serviceConfig

AWS Service configuration

input

Input object

hostPrefix

String to prefix host name with

logger

Logger to log request details to