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

# Interface ResourceWaiterInterface

Interface used in conjunction with clients to wait on a resource

  Aws\Common\Waiter\ResourceWaiterInterface implements Aws\Common\Waiter\WaiterInterface

### Direct known implementers

`Aws\Common\Waiter\AbstractResourceWaiter`

### Indirect known implementers

`Aws\Common\InstanceMetadata\Waiter\ServiceAvailable`, `Aws\Common\Waiter\ConfigResourceWaiter`

Namespace: Aws\Common\Waiter
Located at Aws/Common/Waiter/ResourceWaiterInterface.php

## Methods summary

- `public` `setClient ( Aws\Common\Client\AwsClientInterface $client )`

  Set the client associated with the waiter

## Methods detail

# `public `Aws\Common\Waiter\ResourceWaiterInterface``
`setClient( `Aws\Common\Client\AwsClientInterface` $client )`

Set the client associated with the waiter

#### Parameters

$client
  ``Aws\Common\Client\AwsClientInterface``
  $client Client to use with the waiter

#### Returns

``Aws\Common\Waiter\ResourceWaiterInterface``

### Methods inherited from Aws\Common\Waiter\WaiterInterface

`setConfig()`, `setInterval()`, `setMaxAttempts()`, `wait()`

### Magic methods summary

## Constants summary

### Constants inherited from Aws\Common\Waiter\WaiterInterface

`INTERVAL`, `MAX_ATTEMPTS`