with(region:middleware:timeout:byteBufferAllocator:options:)
Return new version of Service with edited parameters
func with(region: Region? = nil, middleware: AWSMiddlewareProtocol? = nil, timeout: TimeAmount? = nil, byteBufferAllocator: ByteBufferAllocator? = nil, options: AWSServiceConfig.Options? = nil) -> Self
Parameters
- region
Server region
- middlewares
Additional middleware to add
- timeout
Time out value for HTTP requests
- byteBufferAllocator
byte buffer allocator used throughout AWSClient
- options
options used by client when processing requests
Returns
New version of the service