public function copyRecording($recordingName, $destinationRecordingName)
    {
        $uri = "recordings/stored/$recordingName/copy";
        try {
            $response = $this->client->getEndpoint()->post($uri, [
                'form_params' => [
                    'destinationRecordingName' => $destinationRecordingName,
                ]
            ]);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }

        return new StoredRecording(\GuzzleHttp\json_decode($response->getBody()));
    }
public function copyRecording($recordingName, $destinationRecordingName)
    {
        $uri = "recordings/stored/$recordingName/copy";
        try {
            $response = $this->client->getEndpoint()->post($uri, [
                'form_params' => [
                    'destinationRecordingName' => $destinationRecordingName,
                ]
            ]);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }

        return new StoredRecording(\GuzzleHttp\json_decode($response->getBody()));
    }
public function copyRecording ( $ recordingName , $ destinationRecordingName ) { $ uri = "recordings/stored/$recordingName/copy" ; try { $ response = $ this -> client -> getEndpoint ( ) -> post ( $ uri , [ 'form_params' => [ 'destinationRecordingName' => $ destinationRecordingName , ] ] ) ; } catch ( RequestException $ e ) { $ this -> processRequestException ( $ e ) ; } return new StoredRecording ( \ GuzzleHttp \ json_decode ( $ response -> getBody ( ) ) ) ; }
Copy a stored recording.

@param string $recordingName The name of the recording to copy
@param string $destinationRecordingName (required) The destination name of the recording
@return StoredRecording
@throws ConflictException
@throws NotFoundException
Copy a stored recording .