NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class TransferState

State of a multipart upload

  Aws\Common\Model\MultipartUpload\AbstractTransferState implements Aws\Common\Model\MultipartUpload\TransferStateInterface
  Aws\S3\Model\MultipartUpload\TransferState

Namespace: Aws\S3\Model\MultipartUpload
Located at Aws/S3/Model/MultipartUpload/TransferState.php

## Methods summary

- `public static` `fromUploadId ( Aws\Common\Client\AwsClientInterface $client, Aws\Common\Model\MultipartUpload\UploadIdInterface $uploadId )`

  Create the transfer state from the results of list parts request

## Methods detail

# `public static `Aws\S3\Model\MultipartUpload\TransferState``
`fromUploadId( `Aws\Common\Client\AwsClientInterface` $client, `Aws\Common\Model\MultipartUpload\UploadIdInterface` $uploadId )`

Create the transfer state from the results of list parts request

#### Parameters

$client
  ``Aws\Common\Client\AwsClientInterface``
  $client Client used to send the request
$uploadId
  ``Aws\Common\Model\MultipartUpload\UploadIdInterface``
  $uploadId Params needed to identify the upload and form the request

#### Returns

``Aws\S3\Model\MultipartUpload\TransferState``

### Methods inherited from Aws\Common\Model\MultipartUpload\AbstractTransferState

`__construct()`, `addPart()`, `count()`, `getFromId()`, `getIterator()`, `getPart()`, `getPartNumbers()`, `getUploadId()`, `hasPart()`, `isAborted()`, `serialize()`, `setAborted()`, `unserialize()`

### Magic methods summary

## Properties summary

### Properties inherited from Aws\Common\Model\MultipartUpload\AbstractTransferState

`$aborted`, `$parts`, `$uploadId`