AWS SDK for PHP 3.x
  • Namespace
  • Class
Did this page help you? SUBMIT FEEDBACK!

Namespaces

  • Aws
    • AccessAnalyzer
      • Exception
    • Account
      • Exception
    • Acm
      • Exception
    • ACMPCA
      • Exception
    • AlexaForBusiness
      • Exception
    • Amplify
      • Exception
    • AmplifyBackend
      • Exception
    • AmplifyUIBuilder
      • Exception
    • Api
      • ErrorParser
      • Parser
        • Exception
      • Serializer
    • ApiGateway
      • Exception
    • ApiGatewayManagementApi
      • Exception
    • ApiGatewayV2
      • Exception
    • AppConfig
      • Exception
    • AppConfigData
      • Exception
    • Appflow
      • Exception
    • AppIntegrationsService
      • Exception
    • ApplicationAutoScaling
      • Exception
    • ApplicationCostProfiler
      • Exception
    • ApplicationDiscoveryService
      • Exception
    • ApplicationInsights
      • Exception
    • AppMesh
      • Exception
    • AppRegistry
      • Exception
    • AppRunner
      • Exception
    • Appstream
      • Exception
    • AppSync
      • Exception
    • ARCZonalShift
      • Exception
    • Arn
      • Exception
    • Athena
      • Exception
    • AuditManager
      • Exception
    • AugmentedAIRuntime
      • Exception
    • AutoScaling
      • Exception
    • AutoScalingPlans
      • Exception
    • Backup
      • Exception
    • BackupGateway
      • Exception
    • BackupStorage
      • Exception
    • Batch
      • Exception
    • BillingConductor
      • Exception
    • Braket
      • Exception
    • Budgets
      • Exception
    • Chime
      • Exception
    • ChimeSDKIdentity
      • Exception
    • ChimeSDKMediaPipelines
      • Exception
    • ChimeSDKMeetings
      • Exception
    • ChimeSDKMessaging
      • Exception
    • ChimeSDKVoice
      • Exception
    • CleanRooms
      • Exception
    • ClientSideMonitoring
      • Exception
    • Cloud9
      • Exception
    • CloudControlApi
      • Exception
    • CloudDirectory
      • Exception
    • CloudFormation
      • Exception
    • CloudFront
      • Exception
    • CloudHsm
      • Exception
    • CloudHSMV2
      • Exception
    • CloudSearch
      • Exception
    • CloudSearchDomain
      • Exception
    • CloudTrail
      • Exception
    • CloudTrailData
      • Exception
    • CloudWatch
      • Exception
    • CloudWatchEvents
      • Exception
    • CloudWatchEvidently
      • Exception
    • CloudWatchLogs
      • Exception
    • CloudWatchRUM
      • Exception
    • CodeArtifact
      • Exception
    • CodeBuild
      • Exception
    • CodeCatalyst
      • Exception
    • CodeCommit
      • Exception
    • CodeDeploy
      • Exception
    • CodeGuruProfiler
      • Exception
    • CodeGuruReviewer
      • Exception
    • CodePipeline
      • Exception
    • CodeStar
      • Exception
    • CodeStarconnections
      • Exception
    • CodeStarNotifications
      • Exception
    • CognitoIdentity
      • Exception
    • CognitoIdentityProvider
      • Exception
    • CognitoSync
      • Exception
    • Comprehend
      • Exception
    • ComprehendMedical
      • Exception
    • ComputeOptimizer
      • Exception
    • ConfigService
      • Exception
    • Connect
      • Exception
    • ConnectCampaignService
      • Exception
    • ConnectCases
      • Exception
    • ConnectContactLens
      • Exception
    • ConnectParticipant
      • Exception
    • ConnectWisdomService
      • Exception
    • ControlTower
      • Exception
    • CostandUsageReportService
      • Exception
    • CostExplorer
      • Exception
    • Credentials
    • Crypto
      • Cipher
      • Polyfill
    • CustomerProfiles
      • Exception
    • DatabaseMigrationService
      • Exception
    • DataExchange
      • Exception
    • DataPipeline
      • Exception
    • DataSync
      • Exception
    • DAX
      • Exception
    • DefaultsMode
      • Exception
    • Detective
      • Exception
    • DeviceFarm
      • Exception
    • DevOpsGuru
      • Exception
    • DirectConnect
      • Exception
    • DirectoryService
      • Exception
    • DLM
      • Exception
    • DocDB
      • Exception
    • DocDBElastic
      • Exception
    • drs
      • Exception
    • DynamoDb
      • Exception
    • DynamoDbStreams
      • Exception
    • EBS
      • Exception
    • Ec2
      • Exception
    • EC2InstanceConnect
      • Exception
    • Ecr
      • Exception
    • ECRPublic
      • Exception
    • Ecs
      • Exception
    • Efs
      • Exception
    • EKS
      • Exception
    • ElastiCache
      • Exception
    • ElasticBeanstalk
      • Exception
    • ElasticInference
      • Exception
    • ElasticLoadBalancing
      • Exception
    • ElasticLoadBalancingV2
      • Exception
    • ElasticsearchService
      • Exception
    • ElasticTranscoder
      • Exception
    • Emr
      • Exception
    • EMRContainers
      • Exception
    • EMRServerless
      • Exception
    • Endpoint
      • UseDualstackEndpoint
        • Exception
      • UseFipsEndpoint
        • Exception
    • EndpointDiscovery
      • Exception
    • EndpointV2
      • Rule
      • Ruleset
    • EventBridge
      • Exception
    • Exception
    • finspace
      • Exception
    • FinSpaceData
      • Exception
    • Firehose
      • Exception
    • FIS
      • Exception
    • FMS
      • Exception
    • ForecastQueryService
      • Exception
    • ForecastService
      • Exception
    • FraudDetector
      • Exception
    • FSx
      • Exception
    • GameLift
      • Exception
    • GameSparks
      • Exception
    • Glacier
      • Exception
    • GlobalAccelerator
      • Exception
    • Glue
      • Exception
    • GlueDataBrew
      • Exception
    • Greengrass
      • Exception
    • GreengrassV2
      • Exception
    • GroundStation
      • Exception
    • GuardDuty
      • Exception
    • Handler
      • GuzzleV5
      • GuzzleV6
    • Health
      • Exception
    • HealthLake
      • Exception
    • Honeycode
      • Exception
    • Iam
      • Exception
    • IdentityStore
      • Exception
    • imagebuilder
      • Exception
    • ImportExport
      • Exception
    • Inspector
      • Exception
    • Inspector2
      • Exception
    • InternetMonitor
      • Exception
    • Iot
      • Exception
    • IoT1ClickDevicesService
      • Exception
    • IoT1ClickProjects
      • Exception
    • IoTAnalytics
      • Exception
    • IotDataPlane
      • Exception
    • IoTDeviceAdvisor
      • Exception
    • IoTEvents
      • Exception
    • IoTEventsData
      • Exception
    • IoTFleetHub
      • Exception
    • IoTFleetWise
      • Exception
    • IoTJobsDataPlane
      • Exception
    • IoTRoboRunner
      • Exception
    • IoTSecureTunneling
      • Exception
    • IoTSiteWise
      • Exception
    • IoTThingsGraph
      • Exception
    • IoTTwinMaker
      • Exception
    • IoTWireless
      • Exception
    • IVS
      • Exception
    • ivschat
      • Exception
    • IVSRealTime
      • Exception
    • Kafka
      • Exception
    • KafkaConnect
      • Exception
    • kendra
      • Exception
    • KendraRanking
      • Exception
    • Keyspaces
      • Exception
    • Kinesis
      • Exception
    • KinesisAnalytics
      • Exception
    • KinesisAnalyticsV2
      • Exception
    • KinesisVideo
      • Exception
    • KinesisVideoArchivedMedia
      • Exception
    • KinesisVideoMedia
      • Exception
    • KinesisVideoSignalingChannels
      • Exception
    • KinesisVideoWebRTCStorage
      • Exception
    • Kms
      • Exception
    • LakeFormation
      • Exception
    • Lambda
      • Exception
    • LexModelBuildingService
      • Exception
    • LexModelsV2
      • Exception
    • LexRuntimeService
      • Exception
    • LexRuntimeV2
      • Exception
    • LicenseManager
      • Exception
    • LicenseManagerLinuxSubscriptions
      • Exception
    • LicenseManagerUserSubscriptions
      • Exception
    • Lightsail
      • Exception
    • LocationService
      • Exception
    • LookoutEquipment
      • Exception
    • LookoutforVision
      • Exception
    • LookoutMetrics
      • Exception
    • MachineLearning
      • Exception
    • Macie
      • Exception
    • Macie2
      • Exception
    • MainframeModernization
      • Exception
    • ManagedBlockchain
      • Exception
    • ManagedGrafana
      • Exception
    • MarketplaceCatalog
      • Exception
    • MarketplaceCommerceAnalytics
      • Exception
    • MarketplaceEntitlementService
      • Exception
    • MarketplaceMetering
      • Exception
    • MediaConnect
      • Exception
    • MediaConvert
      • Exception
    • MediaLive
      • Exception
    • MediaPackage
      • Exception
    • MediaPackageVod
      • Exception
    • MediaStore
      • Exception
    • MediaStoreData
      • Exception
    • MediaTailor
      • Exception
    • MemoryDB
      • Exception
    • mgn
      • Exception
    • MigrationHub
      • Exception
    • MigrationHubConfig
      • Exception
    • MigrationHubOrchestrator
      • Exception
    • MigrationHubRefactorSpaces
      • Exception
    • MigrationHubStrategyRecommendations
      • Exception
    • Mobile
      • Exception
    • MQ
      • Exception
    • MTurk
      • Exception
    • Multipart
    • MWAA
      • Exception
    • Neptune
      • Exception
    • NetworkFirewall
      • Exception
    • NetworkManager
      • Exception
    • NimbleStudio
      • Exception
    • OAM
      • Exception
    • Omics
      • Exception
    • OpenSearchServerless
      • Exception
    • OpenSearchService
      • Exception
    • OpsWorks
      • Exception
    • OpsWorksCM
      • Exception
    • Organizations
      • Exception
    • Outposts
      • Exception
    • Panorama
      • Exception
    • Personalize
      • Exception
    • PersonalizeEvents
      • Exception
    • PersonalizeRuntime
      • Exception
    • PI
      • Exception
    • Pinpoint
      • Exception
    • PinpointEmail
      • Exception
    • PinpointSMSVoice
      • Exception
    • PinpointSMSVoiceV2
      • Exception
    • Pipes
      • Exception
    • Polly
      • Exception
    • Pricing
      • Exception
    • PrivateNetworks
      • Exception
    • PrometheusService
      • Exception
    • Proton
      • Exception
    • QLDB
      • Exception
    • QLDBSession
      • Exception
    • QuickSight
      • Exception
    • RAM
      • Exception
    • Rds
      • Exception
    • RDSDataService
      • Exception
    • RecycleBin
      • Exception
    • Redshift
      • Exception
    • RedshiftDataAPIService
      • Exception
    • RedshiftServerless
      • Exception
    • Rekognition
      • Exception
    • ResilienceHub
      • Exception
    • ResourceExplorer2
      • Exception
    • ResourceGroups
      • Exception
    • ResourceGroupsTaggingAPI
      • Exception
    • Retry
      • Exception
    • RoboMaker
      • Exception
    • RolesAnywhere
      • Exception
    • Route53
      • Exception
    • Route53Domains
      • Exception
    • Route53RecoveryCluster
      • Exception
    • Route53RecoveryControlConfig
      • Exception
    • Route53RecoveryReadiness
      • Exception
    • Route53Resolver
      • Exception
    • S3
      • Crypto
      • Exception
      • RegionalEndpoint
        • Exception
      • UseArnRegion
        • Exception
    • S3Control
      • Exception
    • S3Outposts
      • Exception
    • SageMaker
      • Exception
    • SagemakerEdgeManager
      • Exception
    • SageMakerFeatureStoreRuntime
      • Exception
    • SageMakerGeospatial
      • Exception
    • SageMakerMetrics
      • Exception
    • SageMakerRuntime
      • Exception
    • SavingsPlans
      • Exception
    • Scheduler
      • Exception
    • Schemas
      • Exception
    • Script
      • Composer
    • SecretsManager
      • Exception
    • SecurityHub
      • Exception
    • SecurityLake
      • Exception
    • ServerlessApplicationRepository
      • Exception
    • ServiceCatalog
      • Exception
    • ServiceDiscovery
      • Exception
    • ServiceQuotas
      • Exception
    • Ses
      • Exception
    • SesV2
      • Exception
    • Sfn
      • Exception
    • Shield
      • Exception
    • Signature
    • signer
      • Exception
    • SimSpaceWeaver
      • Exception
    • Sms
      • Exception
    • SnowBall
      • Exception
    • SnowDeviceManagement
      • Exception
    • Sns
      • Exception
    • Sqs
      • Exception
    • Ssm
      • Exception
    • SSMContacts
      • Exception
    • SSMIncidents
      • Exception
    • SsmSap
      • Exception
    • SSO
      • Exception
    • SSOAdmin
      • Exception
    • SSOOIDC
      • Exception
    • StorageGateway
      • Exception
    • Sts
      • Exception
      • RegionalEndpoints
        • Exception
    • Support
      • Exception
    • SupportApp
      • Exception
    • Swf
      • Exception
    • Synthetics
      • Exception
    • Textract
      • Exception
    • TimestreamQuery
      • Exception
    • TimestreamWrite
      • Exception
    • Tnb
      • Exception
    • Token
    • TranscribeService
      • Exception
    • Transfer
      • Exception
    • Translate
      • Exception
    • VoiceID
      • Exception
    • VPCLattice
      • Exception
    • Waf
      • Exception
    • WafRegional
      • Exception
    • WAFV2
      • Exception
    • WellArchitected
      • Exception
    • WorkDocs
      • Exception
    • WorkLink
      • Exception
    • WorkMail
      • Exception
    • WorkMailMessageFlow
      • Exception
    • WorkSpaces
      • Exception
    • WorkSpacesWeb
      • Exception
    • XRay
      • Exception
  • GuzzleHttp
    • Promise
    • Psr7
  • Psr
    • Http
      • Message

Exceptions

  • ElastiCacheException

Class ElastiCacheException

Exception
Extended by RuntimeException
Extended by Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
Extended by Aws\ElastiCache\Exception\ElastiCacheException
Namespace: Aws\ElastiCache\Exception
Located at ElastiCache/Exception/ElastiCacheException.php

Represents an error interacting with the Amazon ElastiCache service.

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

appendMonitoringEvent(), getMonitoringEvents(), prependMonitoringEvent()

Methods used from Aws\HasDataTrait

count(), getIterator(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), toArray()

Methods used from Aws\HasMonitoringEventsTrait

appendMonitoringEvent(), getMonitoringEvents(), prependMonitoringEvent()

Expected Exception Codes

The following are the known exception codes and corresponding data shapes that this service may return as part of an error response.

APICallRateForCustomerExceededFault

[
]
Description

The customer has exceeded the allowed rate of API calls.

Members

AuthorizationAlreadyExistsFault

[
]
Description

The specified Amazon EC2 security group is already authorized for the specified cache security group.

Members

AuthorizationNotFoundFault

[
]
Description

The specified Amazon EC2 security group is not authorized for the specified cache security group.

Members

CacheClusterAlreadyExistsFault

[
]
Description

You already have a cluster with the given identifier.

Members

CacheClusterNotFoundFault

[
]
Description

The requested cluster ID does not refer to an existing cluster.

Members

CacheParameterGroupAlreadyExistsFault

[
]
Description

A cache parameter group with the requested name already exists.

Members

CacheParameterGroupNotFoundFault

[
]
Description

The requested cache parameter group name does not refer to an existing cache parameter group.

Members

CacheParameterGroupQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the maximum number of cache security groups.

Members

CacheSecurityGroupAlreadyExistsFault

[
]
Description

A cache security group with the specified name already exists.

Members

CacheSecurityGroupNotFoundFault

[
]
Description

The requested cache security group name does not refer to an existing cache security group.

Members

CacheSecurityGroupQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the allowed number of cache security groups.

Members

CacheSubnetGroupAlreadyExistsFault

[
]
Description

The requested cache subnet group name is already in use by an existing cache subnet group.

Members

CacheSubnetGroupInUse

[
]
Description

The requested cache subnet group is currently in use.

Members

CacheSubnetGroupNotFoundFault

[
]
Description

The requested cache subnet group name does not refer to an existing cache subnet group.

Members

CacheSubnetGroupQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the allowed number of cache subnet groups.

Members

CacheSubnetQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.

Members

ClusterQuotaForCustomerExceededFault

[
]
Description

The request cannot be processed because it would exceed the allowed number of clusters per customer.

Members

DefaultUserAssociatedToUserGroupFault

[
]
Description

The default user assigned to the user group.

Members

DefaultUserRequired

[
]
Description

You must add default user to a user group.

Members

DuplicateUserNameFault

[
]
Description

A user with this username already exists.

Members

GlobalReplicationGroupAlreadyExistsFault

[
]
Description

The Global datastore name already exists.

Members

GlobalReplicationGroupNotFoundFault

[
]
Description

The Global datastore does not exist

Members

InsufficientCacheClusterCapacityFault

[
]
Description

The requested cache node type is not available in the specified Availability Zone. For more information, see InsufficientCacheClusterCapacity in the ElastiCache User Guide.

Members

InvalidARNFault

[
]
Description

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

Members

InvalidCacheClusterStateFault

[
]
Description

The requested cluster is not in the available state.

Members

InvalidCacheParameterGroupStateFault

[
]
Description

The current state of the cache parameter group does not allow the requested operation to occur.

Members

InvalidCacheSecurityGroupStateFault

[
]
Description

The current state of the cache security group does not allow deletion.

Members

InvalidGlobalReplicationGroupStateFault

[
]
Description

The Global datastore is not available or in primary-only state.

Members

InvalidKMSKeyFault

[
]
Description

The KMS key supplied is not valid.

Members

InvalidParameterCombinationException

[
    'message' => '<string>',
]
Description

Two or more incompatible parameters were specified.

Members
message
  • Type: string

Two or more parameters that must not be used together were used together.

InvalidParameterValueException

[
    'message' => '<string>',
]
Description

The value for a parameter is invalid.

Members
message
  • Type: string

A parameter value is invalid.

InvalidReplicationGroupStateFault

[
]
Description

The requested replication group is not in the available state.

Members

InvalidSnapshotStateFault

[
]
Description

The current state of the snapshot does not allow the requested operation to occur.

Members

InvalidSubnet

[
]
Description

An invalid subnet identifier was specified.

Members

InvalidUserGroupStateFault

[
]
Description

The user group is not in an active state.

Members

InvalidUserStateFault

[
]
Description

The user is not in active state.

Members

InvalidVPCNetworkStateFault

[
]
Description

The VPC network is in an invalid state.

Members

NoOperationFault

[
]
Description

The operation was not performed because no changes were required.

Members

NodeGroupNotFoundFault

[
]
Description

The node group specified by the NodeGroupId parameter could not be found. Please verify that the node group exists and that you spelled the NodeGroupId value correctly.

Members

NodeGroupsPerReplicationGroupQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the maximum allowed number of node groups (shards) in a single replication group. The default maximum is 90

Members

NodeQuotaForClusterExceededFault

[
]
Description

The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.

Members

NodeQuotaForCustomerExceededFault

[
]
Description

The request cannot be processed because it would exceed the allowed number of cache nodes per customer.

Members

ReplicationGroupAlreadyExistsFault

[
]
Description

The specified replication group already exists.

Members

ReplicationGroupAlreadyUnderMigrationFault

[
]
Description

The targeted replication group is not available.

Members

ReplicationGroupNotFoundFault

[
]
Description

The specified replication group does not exist.

Members

ReplicationGroupNotUnderMigrationFault

[
]
Description

The designated replication group is not available for data migration.

Members

ReservedCacheNodeAlreadyExistsFault

[
]
Description

You already have a reservation with the given identifier.

Members

ReservedCacheNodeNotFoundFault

[
]
Description

The requested reserved cache node was not found.

Members

ReservedCacheNodeQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the user's cache node quota.

Members

ReservedCacheNodesOfferingNotFoundFault

[
]
Description

The requested cache node offering does not exist.

Members

ServiceLinkedRoleNotFoundFault

[
]
Description

The specified service linked role (SLR) was not found.

Members

ServiceUpdateNotFoundFault

[
]
Description

The service update doesn't exist

Members

SnapshotAlreadyExistsFault

[
]
Description

You already have a snapshot with the given name.

Members

SnapshotFeatureNotSupportedFault

[
]
Description

You attempted one of the following operations:

  • Creating a snapshot of a Redis cluster running on a cache.t1.micro cache node.

  • Creating a snapshot of a cluster that is running Memcached rather than Redis.

Neither of these are supported by ElastiCache.

Members

SnapshotNotFoundFault

[
]
Description

The requested snapshot name does not refer to an existing snapshot.

Members

SnapshotQuotaExceededFault

[
]
Description

The request cannot be processed because it would exceed the maximum number of snapshots.

Members

SubnetInUse

[
]
Description

The requested subnet is being used by another cache subnet group.

Members

SubnetNotAllowedFault

[
]
Description

At least one subnet ID does not match the other subnet IDs. This mismatch typically occurs when a user sets one subnet ID to a regional Availability Zone and a different one to an outpost. Or when a user sets the subnet ID to an Outpost when not subscribed on this service.

Members

TagNotFoundFault

[
]
Description

The requested tag was not found on this resource.

Members

TagQuotaPerResourceExceeded

[
]
Description

The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 50.

Members

TestFailoverNotAvailableFault

[
]
Description

The TestFailover action is not available.

Members

UserAlreadyExistsFault

[
]
Description

A user with this ID already exists.

Members

UserGroupAlreadyExistsFault

[
]
Description

The user group with this ID already exists.

Members

UserGroupNotFoundFault

[
]
Description

The user group was not found or does not exist

Members

UserGroupQuotaExceededFault

[
]
Description

The number of users exceeds the user group limit.

Members

UserNotFoundFault

[
]
Description

The user does not exist or could not be found.

Members

UserQuotaExceededFault

[
]
Description

The quota of users has been exceeded.

Members
AWS SDK for PHP 3.x API documentation generated by ApiGen