Empties the list of SNS topics to send notifications to.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the bucket to use. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete bucket notifications.
// Instantiate the class $s3 = new AmazonS3(); $bucket = 'my-bucket' . strtolower($s3->key); $response = $s3->delete_bucket_notification($bucket); // Success? var_dump($response->isOK());Result:
bool(true)
See Also
Source
Method defined in services/s3.class.php | Toggle source view (10 lines) | View on GitHub