serviceProtocol
Protocol used by service json/xml/query
let serviceProtocol: ServiceProtocol
Protocol used by service json/xml/query
let serviceProtocol: ServiceProtocol
s8SotoCore16AWSServiceConfigC15serviceProtocolAA07ServiceF0Ovp
What are these?5U5R
import SotoCore
final class AWSServiceConfig
Configuration class defining an AWS service
enum ServiceProtocol
Communication protocol
init(region: Region?, partition: AWSPartition, amzTarget: String? = nil, serviceName: String, serviceIdentifier: String, signingName: String? = nil, serviceProtocol: ServiceProtocol, apiVersion: String, endpoint: String? = nil, serviceEndpoints: [String : String] = [:], partitionEndpoints: [AWSPartition : (endpoint: String, region: Region)] = [:], variantEndpoints: [EndpointVariantType : EndpointVariant] = [:], errorType: AWSErrorType.Type? = nil, xmlNamespace: String? = nil, middleware: AWSMiddlewareProtocol? = nil, timeout: TimeAmount? = nil, byteBufferAllocator: ByteBufferAllocator = ByteBufferAllocator(), options: Options = [])
Create a ServiceConfig object
let amzTarget: String?
The destination service of the request. Added as a header value, along with the operation name
let apiVersion: String
Version of the Service API, added as a header in query protocol based services
let byteBufferAllocator: ByteBufferAllocator
ByteBuffer allocator used by service
let endpoint: String
The url to use in requests
let errorType: AWSErrorType.Type?
An array of the possible error types returned by the service
let middleware: AWSMiddlewareProtocol?
Middleware code specific to the service used to edit requests before they sent and responses before they are decoded
let options: Options
options
let region: Region
Region where service is running
let serviceIdentifier: String
Identifier of service. Used in ARN and as endpoint prefix
let serviceName: String
Name of service
let signingName: String
Name used to sign requests
let timeout: TimeAmount
timeout value for HTTP requests
let xmlNamespace: String?
XML namespace to be applied to all request objects
func with(patch: Patch) -> AWSServiceConfig
Return new version of serviceConfig with a modified parameters
func with(region: Region? = nil, middleware: AWSMiddlewareProtocol? = nil, timeout: TimeAmount? = nil, byteBufferAllocator: ByteBufferAllocator? = nil, options: AWSServiceConfig.Options? = nil) -> AWSServiceConfig
Return new version of Service with edited parameters
struct EndpointVariant
Details about endpoint variants eg fips, dualstack
struct Options
Options used by client when processing requests
struct Patch
Service config parameters you can patch