Class S3Exception
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\S3\Exception\S3Exception
- Namespace: Aws\S3\Exception
- Located at S3/Exception/S3Exception.php
Represents an error interacting with the Amazon Simple Storage Service.
Direct known subclasses
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
BucketAlreadyExists
[ ]
Description
The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again.
Members
BucketAlreadyOwnedByYou
[ ]
Description
The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
Members
InvalidObjectState
[ 'AccessTier' => 'ARCHIVE_ACCESS|DEEP_ARCHIVE_ACCESS', 'StorageClass' => 'STANDARD|REDUCED_REDUNDANCY|STANDARD_IA|ONEZONE_IA|INTELLIGENT_TIERING|GLACIER|DEEP_ARCHIVE|OUTPOSTS|GLACIER_IR|SNOW', ]
Description
Object is archived and inaccessible until restored.
Members
- AccessTier
-
- Type: string
- StorageClass
-
- Type: string
NoSuchBucket
[ ]
Description
The specified bucket does not exist.
Members
NoSuchKey
[ ]
Description
The specified key does not exist.
Members
NoSuchUpload
[ ]
Description
The specified multipart upload does not exist.
Members
ObjectAlreadyInActiveTierError
[ ]
Description
This action is not allowed against this storage tier.
Members
ObjectNotInActiveTierError
[ ]
Description
The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier.