SqsConnector
class SqsConnector implements ConnectorInterface (View source)
Methods
Get the default configuration for SQS.
Configure the credentials for the given connection config.
Resolve a credential provider from the given config.
Wrap the given credential provider so the credentials it resolves are shared across processes via the cache.
Get the cache key for the connection's shared credentials.
Determine if resolved credentials should be shared across processes via the cache.
Details
Queue
connect(array $config)
Establish a queue connection.
protected array
getDefaultConfiguration(array $config)
Get the default configuration for SQS.
protected array
withCredentials(array $config)
Configure the credentials for the given connection config.
protected callable|null
resolveCredentialProvider(array $config)
Resolve a credential provider from the given config.
protected callable
cachedCredentialProvider(callable $provider, array $config)
Wrap the given credential provider so the credentials it resolves are shared across processes via the cache.
static string
credentialsCacheKey(array $config)
Get the cache key for the connection's shared credentials.
protected bool
credentialCachingEnabled(array $config)
Determine if resolved credentials should be shared across processes via the cache.