public function addSdkOption($key, $value)
    {
        if ($key === 'version' && $value !== self::REQUIRED_DYNAMODB_API_VERSION) {
            throw ODMException::dynamodbApiInvalidVersion(self::REQUIRED_DYNAMODB_API_VERSION);
        }

        $this->sdkOptions[$key] = $value;
    }
public function addSdkOption($key, $value)
    {
        if ($key === 'version' && $value !== self::REQUIRED_DYNAMODB_API_VERSION) {
            throw ODMException::dynamodbApiInvalidVersion(self::REQUIRED_DYNAMODB_API_VERSION);
        }

        $this->sdkOptions[$key] = $value;
    }
public function addSdkOption ( $ key , $ value ) { if ( $ key === 'version' && $ value !== self :: REQUIRED_DYNAMODB_API_VERSION ) { throw ODMException :: dynamodbApiInvalidVersion ( self :: REQUIRED_DYNAMODB_API_VERSION ) ; } $ this -> sdkOptions [ $ key ] = $ value ; }
Set an AWS SDK configuration option.

NOTE: This will override any pre-existing setting for the specified key.

@param string $key
@param mixed  $value

@throws ODMException
Set an AWS SDK configuration option .