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
    • 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
    • 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
    • Token
    • TranscribeService
      • Exception
    • Transfer
      • Exception
    • Translate
      • Exception
    • VoiceID
      • 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

Classes

  • Aws\AbstractConfigurationProvider
  • Aws\AccessAnalyzer\AccessAnalyzerClient
  • Aws\Account\AccountClient
  • Aws\Acm\AcmClient
  • Aws\ACMPCA\ACMPCAClient
  • Aws\AlexaForBusiness\AlexaForBusinessClient
  • Aws\Amplify\AmplifyClient
  • Aws\AmplifyBackend\AmplifyBackendClient
  • Aws\AmplifyUIBuilder\AmplifyUIBuilderClient
  • Aws\Api\AbstractModel
  • Aws\Api\ApiProvider
  • Aws\Api\DateTimeResult
  • Aws\Api\DocModel
  • Aws\Api\ErrorParser\AbstractErrorParser
  • Aws\Api\ErrorParser\JsonRpcErrorParser
  • Aws\Api\ErrorParser\RestJsonErrorParser
  • Aws\Api\ErrorParser\XmlErrorParser
  • Aws\Api\ListShape
  • Aws\Api\MapShape
  • Aws\Api\Operation
  • Aws\Api\Parser\Crc32ValidatingParser
  • Aws\Api\Parser\DecodingEventStreamIterator
  • Aws\Api\Parser\EventParsingIterator
  • Aws\Api\Parser\JsonParser
  • Aws\Api\Parser\JsonRpcParser
  • Aws\Api\Parser\QueryParser
  • Aws\Api\Parser\RestJsonParser
  • Aws\Api\Parser\RestXmlParser
  • Aws\Api\Parser\XmlParser
  • Aws\Api\Serializer\XmlBody
  • Aws\Api\Service
  • Aws\Api\Shape
  • Aws\Api\ShapeMap
  • Aws\Api\StructureShape
  • Aws\Api\TimestampShape
  • Aws\Api\Validator
  • Aws\ApiGateway\ApiGatewayClient
  • Aws\ApiGatewayManagementApi\ApiGatewayManagementApiClient
  • Aws\ApiGatewayV2\ApiGatewayV2Client
  • Aws\AppConfig\AppConfigClient
  • Aws\AppConfigData\AppConfigDataClient
  • Aws\Appflow\AppflowClient
  • Aws\AppIntegrationsService\AppIntegrationsServiceClient
  • Aws\ApplicationAutoScaling\ApplicationAutoScalingClient
  • Aws\ApplicationCostProfiler\ApplicationCostProfilerClient
  • Aws\ApplicationDiscoveryService\ApplicationDiscoveryServiceClient
  • Aws\ApplicationInsights\ApplicationInsightsClient
  • Aws\AppMesh\AppMeshClient
  • Aws\AppRegistry\AppRegistryClient
  • Aws\AppRunner\AppRunnerClient
  • Aws\Appstream\AppstreamClient
  • Aws\AppSync\AppSyncClient
  • Aws\ARCZonalShift\ARCZonalShiftClient
  • Aws\Athena\AthenaClient
  • Aws\AuditManager\AuditManagerClient
  • Aws\AugmentedAIRuntime\AugmentedAIRuntimeClient
  • Aws\AutoScaling\AutoScalingClient
  • Aws\AutoScalingPlans\AutoScalingPlansClient
  • Aws\AwsClient
  • Aws\Backup\BackupClient
  • Aws\BackupGateway\BackupGatewayClient
  • Aws\BackupStorage\BackupStorageClient
  • Aws\Batch\BatchClient
  • Aws\BillingConductor\BillingConductorClient
  • Aws\Braket\BraketClient
  • Aws\Budgets\BudgetsClient
  • Aws\Chime\ChimeClient
  • Aws\ChimeSDKIdentity\ChimeSDKIdentityClient
  • Aws\ChimeSDKMediaPipelines\ChimeSDKMediaPipelinesClient
  • Aws\ChimeSDKMeetings\ChimeSDKMeetingsClient
  • Aws\ChimeSDKMessaging\ChimeSDKMessagingClient
  • Aws\ChimeSDKVoice\ChimeSDKVoiceClient
  • Aws\CleanRooms\CleanRoomsClient
  • Aws\ClientResolver
  • Aws\ClientSideMonitoring\Configuration
  • Aws\ClientSideMonitoring\ConfigurationProvider
  • Aws\Cloud9\Cloud9Client
  • Aws\CloudControlApi\CloudControlApiClient
  • Aws\CloudDirectory\CloudDirectoryClient
  • Aws\CloudFormation\CloudFormationClient
  • Aws\CloudFront\CloudFrontClient
  • Aws\CloudFront\CookieSigner
  • Aws\CloudFront\UrlSigner
  • Aws\CloudHsm\CloudHsmClient
  • Aws\CloudHSMV2\CloudHSMV2Client
  • Aws\CloudSearch\CloudSearchClient
  • Aws\CloudSearchDomain\CloudSearchDomainClient
  • Aws\CloudTrail\CloudTrailClient
  • Aws\CloudTrail\LogFileIterator
  • Aws\CloudTrail\LogFileReader
  • Aws\CloudTrail\LogRecordIterator
  • Aws\CloudTrailData\CloudTrailDataClient
  • Aws\CloudWatch\CloudWatchClient
  • Aws\CloudWatchEvents\CloudWatchEventsClient
  • Aws\CloudWatchEvidently\CloudWatchEvidentlyClient
  • Aws\CloudWatchLogs\CloudWatchLogsClient
  • Aws\CloudWatchRUM\CloudWatchRUMClient
  • Aws\CodeArtifact\CodeArtifactClient
  • Aws\CodeBuild\CodeBuildClient
  • Aws\CodeCatalyst\CodeCatalystClient
  • Aws\CodeCommit\CodeCommitClient
  • Aws\CodeDeploy\CodeDeployClient
  • Aws\CodeGuruProfiler\CodeGuruProfilerClient
  • Aws\CodeGuruReviewer\CodeGuruReviewerClient
  • Aws\CodePipeline\CodePipelineClient
  • Aws\CodeStar\CodeStarClient
  • Aws\CodeStarconnections\CodeStarconnectionsClient
  • Aws\CodeStarNotifications\CodeStarNotificationsClient
  • Aws\CognitoIdentity\CognitoIdentityClient
  • Aws\CognitoIdentity\CognitoIdentityProvider
  • Aws\CognitoIdentityProvider\CognitoIdentityProviderClient
  • Aws\CognitoSync\CognitoSyncClient
  • Aws\Command
  • Aws\CommandPool
  • Aws\Comprehend\ComprehendClient
  • Aws\ComprehendMedical\ComprehendMedicalClient
  • Aws\ComputeOptimizer\ComputeOptimizerClient
  • Aws\ConfigService\ConfigServiceClient
  • Aws\Connect\ConnectClient
  • Aws\ConnectCampaignService\ConnectCampaignServiceClient
  • Aws\ConnectCases\ConnectCasesClient
  • Aws\ConnectContactLens\ConnectContactLensClient
  • Aws\ConnectParticipant\ConnectParticipantClient
  • Aws\ConnectWisdomService\ConnectWisdomServiceClient
  • Aws\ControlTower\ControlTowerClient
  • Aws\CostandUsageReportService\CostandUsageReportServiceClient
  • Aws\CostExplorer\CostExplorerClient
  • Aws\Credentials\AssumeRoleCredentialProvider
  • Aws\Credentials\AssumeRoleWithWebIdentityCredentialProvider
  • Aws\Credentials\CredentialProvider
  • Aws\Credentials\Credentials
  • Aws\Credentials\EcsCredentialProvider
  • Aws\Credentials\InstanceProfileProvider
  • Aws\Crypto\AesDecryptingStream
  • Aws\Crypto\AesEncryptingStream
  • Aws\Crypto\AesGcmDecryptingStream
  • Aws\Crypto\AesGcmEncryptingStream
  • Aws\Crypto\Cipher\Cbc
  • Aws\Crypto\KmsMaterialsProvider
  • Aws\Crypto\KmsMaterialsProviderV2
  • Aws\Crypto\MaterialsProvider
  • Aws\Crypto\MaterialsProviderV2
  • Aws\Crypto\Polyfill\AesGcm
  • Aws\Crypto\Polyfill\ByteArray
  • Aws\Crypto\Polyfill\Gmac
  • Aws\Crypto\Polyfill\Key
  • Aws\CustomerProfiles\CustomerProfilesClient
  • Aws\DatabaseMigrationService\DatabaseMigrationServiceClient
  • Aws\DataExchange\DataExchangeClient
  • Aws\DataPipeline\DataPipelineClient
  • Aws\DataSync\DataSyncClient
  • Aws\DAX\DAXClient
  • Aws\DefaultsMode\Configuration
  • Aws\DefaultsMode\ConfigurationProvider
  • Aws\Detective\DetectiveClient
  • Aws\DeviceFarm\DeviceFarmClient
  • Aws\DevOpsGuru\DevOpsGuruClient
  • Aws\DirectConnect\DirectConnectClient
  • Aws\DirectoryService\DirectoryServiceClient
  • Aws\DLM\DLMClient
  • Aws\DocDB\DocDBClient
  • Aws\DocDBElastic\DocDBElasticClient
  • Aws\DoctrineCacheAdapter
  • Aws\drs\drsClient
  • Aws\DynamoDb\BinaryValue
  • Aws\DynamoDb\DynamoDbClient
  • Aws\DynamoDb\LockingSessionConnection
  • Aws\DynamoDb\Marshaler
  • Aws\DynamoDb\NumberValue
  • Aws\DynamoDb\SessionHandler
  • Aws\DynamoDb\SetValue
  • Aws\DynamoDb\StandardSessionConnection
  • Aws\DynamoDb\WriteRequestBatch
  • Aws\DynamoDbStreams\DynamoDbStreamsClient
  • Aws\EBS\EBSClient
  • Aws\Ec2\Ec2Client
  • Aws\EC2InstanceConnect\EC2InstanceConnectClient
  • Aws\Ecr\EcrClient
  • Aws\ECRPublic\ECRPublicClient
  • Aws\Ecs\EcsClient
  • Aws\Efs\EfsClient
  • Aws\EKS\EKSClient
  • Aws\ElastiCache\ElastiCacheClient
  • Aws\ElasticBeanstalk\ElasticBeanstalkClient
  • Aws\ElasticInference\ElasticInferenceClient
  • Aws\ElasticLoadBalancing\ElasticLoadBalancingClient
  • Aws\ElasticLoadBalancingV2\ElasticLoadBalancingV2Client
  • Aws\ElasticsearchService\ElasticsearchServiceClient
  • Aws\ElasticTranscoder\ElasticTranscoderClient
  • Aws\Emr\EmrClient
  • Aws\EMRContainers\EMRContainersClient
  • Aws\EMRServerless\EMRServerlessClient
  • Aws\Endpoint\EndpointProvider
  • Aws\Endpoint\Partition
  • Aws\Endpoint\PartitionEndpointProvider
  • Aws\Endpoint\PatternEndpointProvider
  • Aws\Endpoint\UseDualstackEndpoint\Configuration
  • Aws\Endpoint\UseDualstackEndpoint\ConfigurationProvider
  • Aws\Endpoint\UseFipsEndpoint\Configuration
  • Aws\Endpoint\UseFipsEndpoint\ConfigurationProvider
  • Aws\EndpointDiscovery\Configuration
  • Aws\EndpointDiscovery\ConfigurationProvider
  • Aws\EndpointDiscovery\EndpointDiscoveryMiddleware
  • Aws\EndpointDiscovery\EndpointList
  • Aws\EndpointV2\EndpointDefinitionProvider
  • Aws\EndpointV2\EndpointProviderV2
  • Aws\EndpointV2\Rule\AbstractRule
  • Aws\EndpointV2\Rule\EndpointRule
  • Aws\EndpointV2\Rule\ErrorRule
  • Aws\EndpointV2\Rule\RuleCreator
  • Aws\EndpointV2\Rule\TreeRule
  • Aws\EndpointV2\Ruleset\Ruleset
  • Aws\EndpointV2\Ruleset\RulesetEndpoint
  • Aws\EndpointV2\Ruleset\RulesetParameter
  • Aws\EventBridge\EventBridgeClient
  • Aws\finspace\finspaceClient
  • Aws\FinSpaceData\FinSpaceDataClient
  • Aws\Firehose\FirehoseClient
  • Aws\FIS\FISClient
  • Aws\FMS\FMSClient
  • Aws\ForecastQueryService\ForecastQueryServiceClient
  • Aws\ForecastService\ForecastServiceClient
  • Aws\FraudDetector\FraudDetectorClient
  • Aws\FSx\FSxClient
  • Aws\GameLift\GameLiftClient
  • Aws\GameSparks\GameSparksClient
  • Aws\Glacier\GlacierClient
  • Aws\Glacier\MultipartUploader
  • Aws\Glacier\TreeHash
  • Aws\GlobalAccelerator\GlobalAcceleratorClient
  • Aws\Glue\GlueClient
  • Aws\GlueDataBrew\GlueDataBrewClient
  • Aws\Greengrass\GreengrassClient
  • Aws\GreengrassV2\GreengrassV2Client
  • Aws\GroundStation\GroundStationClient
  • Aws\GuardDuty\GuardDutyClient
  • Aws\Handler\GuzzleV5\GuzzleHandler
  • Aws\Handler\GuzzleV5\GuzzleStream
  • Aws\Handler\GuzzleV5\PsrStream
  • Aws\Handler\GuzzleV6\GuzzleHandler
  • Aws\HandlerList
  • Aws\HashingStream
  • Aws\Health\HealthClient
  • Aws\HealthLake\HealthLakeClient
  • Aws\History
  • Aws\Honeycode\HoneycodeClient
  • Aws\Iam\IamClient
  • Aws\IdempotencyTokenMiddleware
  • Aws\IdentityStore\IdentityStoreClient
  • Aws\imagebuilder\imagebuilderClient
  • Aws\ImportExport\ImportExportClient
  • Aws\Inspector2\Inspector2Client
  • Aws\Inspector\InspectorClient
  • Aws\IoT1ClickDevicesService\IoT1ClickDevicesServiceClient
  • Aws\IoT1ClickProjects\IoT1ClickProjectsClient
  • Aws\Iot\IotClient
  • Aws\IoTAnalytics\IoTAnalyticsClient
  • Aws\IotDataPlane\IotDataPlaneClient
  • Aws\IoTDeviceAdvisor\IoTDeviceAdvisorClient
  • Aws\IoTEvents\IoTEventsClient
  • Aws\IoTEventsData\IoTEventsDataClient
  • Aws\IoTFleetHub\IoTFleetHubClient
  • Aws\IoTFleetWise\IoTFleetWiseClient
  • Aws\IoTJobsDataPlane\IoTJobsDataPlaneClient
  • Aws\IoTRoboRunner\IoTRoboRunnerClient
  • Aws\IoTSecureTunneling\IoTSecureTunnelingClient
  • Aws\IoTSiteWise\IoTSiteWiseClient
  • Aws\IoTThingsGraph\IoTThingsGraphClient
  • Aws\IoTTwinMaker\IoTTwinMakerClient
  • Aws\IoTWireless\IoTWirelessClient
  • Aws\IVS\IVSClient
  • Aws\ivschat\ivschatClient
  • Aws\JsonCompiler
  • Aws\Kafka\KafkaClient
  • Aws\KafkaConnect\KafkaConnectClient
  • Aws\kendra\kendraClient
  • Aws\KendraRanking\KendraRankingClient
  • Aws\Keyspaces\KeyspacesClient
  • Aws\Kinesis\KinesisClient
  • Aws\KinesisAnalytics\KinesisAnalyticsClient
  • Aws\KinesisAnalyticsV2\KinesisAnalyticsV2Client
  • Aws\KinesisVideo\KinesisVideoClient
  • Aws\KinesisVideoArchivedMedia\KinesisVideoArchivedMediaClient
  • Aws\KinesisVideoMedia\KinesisVideoMediaClient
  • Aws\KinesisVideoSignalingChannels\KinesisVideoSignalingChannelsClient
  • Aws\KinesisVideoWebRTCStorage\KinesisVideoWebRTCStorageClient
  • Aws\Kms\KmsClient
  • Aws\LakeFormation\LakeFormationClient
  • Aws\Lambda\LambdaClient
  • Aws\LexModelBuildingService\LexModelBuildingServiceClient
  • Aws\LexModelsV2\LexModelsV2Client
  • Aws\LexRuntimeService\LexRuntimeServiceClient
  • Aws\LexRuntimeV2\LexRuntimeV2Client
  • Aws\LicenseManager\LicenseManagerClient
  • Aws\LicenseManagerLinuxSubscriptions\LicenseManagerLinuxSubscriptionsClient
  • Aws\LicenseManagerUserSubscriptions\LicenseManagerUserSubscriptionsClient
  • Aws\Lightsail\LightsailClient
  • Aws\LocationService\LocationServiceClient
  • Aws\LookoutEquipment\LookoutEquipmentClient
  • Aws\LookoutforVision\LookoutforVisionClient
  • Aws\LookoutMetrics\LookoutMetricsClient
  • Aws\LruArrayCache
  • Aws\MachineLearning\MachineLearningClient
  • Aws\Macie2\Macie2Client
  • Aws\Macie\MacieClient
  • Aws\MainframeModernization\MainframeModernizationClient
  • Aws\ManagedBlockchain\ManagedBlockchainClient
  • Aws\ManagedGrafana\ManagedGrafanaClient
  • Aws\MarketplaceCatalog\MarketplaceCatalogClient
  • Aws\MarketplaceCommerceAnalytics\MarketplaceCommerceAnalyticsClient
  • Aws\MarketplaceEntitlementService\MarketplaceEntitlementServiceClient
  • Aws\MarketplaceMetering\MarketplaceMeteringClient
  • Aws\MediaConnect\MediaConnectClient
  • Aws\MediaConvert\MediaConvertClient
  • Aws\MediaLive\MediaLiveClient
  • Aws\MediaPackage\MediaPackageClient
  • Aws\MediaPackageVod\MediaPackageVodClient
  • Aws\MediaStore\MediaStoreClient
  • Aws\MediaStoreData\MediaStoreDataClient
  • Aws\MediaTailor\MediaTailorClient
  • Aws\MemoryDB\MemoryDBClient
  • Aws\mgn\mgnClient
  • Aws\Middleware
  • Aws\MigrationHub\MigrationHubClient
  • Aws\MigrationHubConfig\MigrationHubConfigClient
  • Aws\MigrationHubOrchestrator\MigrationHubOrchestratorClient
  • Aws\MigrationHubRefactorSpaces\MigrationHubRefactorSpacesClient
  • Aws\MigrationHubStrategyRecommendations\MigrationHubStrategyRecommendationsClient
  • Aws\Mobile\MobileClient
  • Aws\MockHandler
  • Aws\MQ\MQClient
  • Aws\MTurk\MTurkClient
  • Aws\Multipart\UploadState
  • Aws\MultiRegionClient
  • Aws\MWAA\MWAAClient
  • Aws\Neptune\NeptuneClient
  • Aws\NetworkFirewall\NetworkFirewallClient
  • Aws\NetworkManager\NetworkManagerClient
  • Aws\NimbleStudio\NimbleStudioClient
  • Aws\OAM\OAMClient
  • Aws\Omics\OmicsClient
  • Aws\OpenSearchServerless\OpenSearchServerlessClient
  • Aws\OpenSearchService\OpenSearchServiceClient
  • Aws\OpsWorks\OpsWorksClient
  • Aws\OpsWorksCM\OpsWorksCMClient
  • Aws\Organizations\OrganizationsClient
  • Aws\Outposts\OutpostsClient
  • Aws\Panorama\PanoramaClient
  • Aws\Personalize\PersonalizeClient
  • Aws\PersonalizeEvents\PersonalizeEventsClient
  • Aws\PersonalizeRuntime\PersonalizeRuntimeClient
  • Aws\PhpHash
  • Aws\PI\PIClient
  • Aws\Pinpoint\PinpointClient
  • Aws\PinpointEmail\PinpointEmailClient
  • Aws\PinpointSMSVoice\PinpointSMSVoiceClient
  • Aws\PinpointSMSVoiceV2\PinpointSMSVoiceV2Client
  • Aws\Pipes\PipesClient
  • Aws\Polly\PollyClient
  • Aws\PresignUrlMiddleware
  • Aws\Pricing\PricingClient
  • Aws\PrivateNetworks\PrivateNetworksClient
  • Aws\PrometheusService\PrometheusServiceClient
  • Aws\Proton\ProtonClient
  • Aws\Psr16CacheAdapter
  • Aws\PsrCacheAdapter
  • Aws\QLDB\QLDBClient
  • Aws\QLDBSession\QLDBSessionClient
  • Aws\QuickSight\QuickSightClient
  • Aws\RAM\RAMClient
  • Aws\Rds\AuthTokenGenerator
  • Aws\Rds\RdsClient
  • Aws\RDSDataService\RDSDataServiceClient
  • Aws\RecycleBin\RecycleBinClient
  • Aws\Redshift\RedshiftClient
  • Aws\RedshiftDataAPIService\RedshiftDataAPIServiceClient
  • Aws\RedshiftServerless\RedshiftServerlessClient
  • Aws\Rekognition\RekognitionClient
  • Aws\ResilienceHub\ResilienceHubClient
  • Aws\ResourceExplorer2\ResourceExplorer2Client
  • Aws\ResourceGroups\ResourceGroupsClient
  • Aws\ResourceGroupsTaggingAPI\ResourceGroupsTaggingAPIClient
  • Aws\Result
  • Aws\ResultPaginator
  • Aws\Retry\Configuration
  • Aws\Retry\ConfigurationProvider
  • Aws\RoboMaker\RoboMakerClient
  • Aws\RolesAnywhere\RolesAnywhereClient
  • Aws\Route53\Route53Client
  • Aws\Route53Domains\Route53DomainsClient
  • Aws\Route53RecoveryCluster\Route53RecoveryClusterClient
  • Aws\Route53RecoveryControlConfig\Route53RecoveryControlConfigClient
  • Aws\Route53RecoveryReadiness\Route53RecoveryReadinessClient
  • Aws\Route53Resolver\Route53ResolverClient
  • Aws\S3\BatchDelete
  • Aws\S3\Crypto\HeadersMetadataStrategy
  • Aws\S3\Crypto\InstructionFileMetadataStrategy
  • Aws\S3\Crypto\S3EncryptionClient
  • Aws\S3\Crypto\S3EncryptionClientV2
  • Aws\S3\Crypto\S3EncryptionMultipartUploader
  • Aws\S3\Crypto\S3EncryptionMultipartUploaderV2
  • Aws\S3\GetBucketLocationParser
  • Aws\S3\MultipartUploader
  • Aws\S3\ObjectCopier
  • Aws\S3\ObjectUploader
  • Aws\S3\PostObject
  • Aws\S3\PostObjectV4
  • Aws\S3\RegionalEndpoint\Configuration
  • Aws\S3\RegionalEndpoint\ConfigurationProvider
  • Aws\S3\S3Client
  • Aws\S3\S3MultiRegionClient
  • Aws\S3\S3UriParser
  • Aws\S3\StreamWrapper
  • Aws\S3\Transfer
  • Aws\S3\UseArnRegion\Configuration
  • Aws\S3\UseArnRegion\ConfigurationProvider
  • Aws\S3\ValidateResponseChecksumParser
  • Aws\S3Control\S3ControlClient
  • Aws\S3Outposts\S3OutpostsClient
  • Aws\SageMaker\SageMakerClient
  • Aws\SagemakerEdgeManager\SagemakerEdgeManagerClient
  • Aws\SageMakerFeatureStoreRuntime\SageMakerFeatureStoreRuntimeClient
  • Aws\SageMakerGeospatial\SageMakerGeospatialClient
  • Aws\SageMakerMetrics\SageMakerMetricsClient
  • Aws\SageMakerRuntime\SageMakerRuntimeClient
  • Aws\SavingsPlans\SavingsPlansClient
  • Aws\Scheduler\SchedulerClient
  • Aws\Schemas\SchemasClient
  • Aws\Script\Composer\Composer
  • Aws\Sdk
  • Aws\SecretsManager\SecretsManagerClient
  • Aws\SecurityHub\SecurityHubClient
  • Aws\SecurityLake\SecurityLakeClient
  • Aws\ServerlessApplicationRepository\ServerlessApplicationRepositoryClient
  • Aws\ServiceCatalog\ServiceCatalogClient
  • Aws\ServiceDiscovery\ServiceDiscoveryClient
  • Aws\ServiceQuotas\ServiceQuotasClient
  • Aws\Ses\SesClient
  • Aws\SesV2\SesV2Client
  • Aws\Sfn\SfnClient
  • Aws\Shield\ShieldClient
  • Aws\Signature\AnonymousSignature
  • Aws\Signature\S3SignatureV4
  • Aws\Signature\SignatureProvider
  • Aws\Signature\SignatureV4
  • Aws\signer\signerClient
  • Aws\SimSpaceWeaver\SimSpaceWeaverClient
  • Aws\Sms\SmsClient
  • Aws\SnowBall\SnowBallClient
  • Aws\SnowDeviceManagement\SnowDeviceManagementClient
  • Aws\Sns\Message
  • Aws\Sns\MessageValidator
  • Aws\Sns\SnsClient
  • Aws\Sqs\SqsClient
  • Aws\Ssm\SsmClient
  • Aws\SSMContacts\SSMContactsClient
  • Aws\SSMIncidents\SSMIncidentsClient
  • Aws\SsmSap\SsmSapClient
  • Aws\SSO\SSOClient
  • Aws\SSOAdmin\SSOAdminClient
  • Aws\SSOOIDC\SSOOIDCClient
  • Aws\StorageGateway\StorageGatewayClient
  • Aws\Sts\RegionalEndpoints\Configuration
  • Aws\Sts\RegionalEndpoints\ConfigurationProvider
  • Aws\Sts\StsClient
  • Aws\Support\SupportClient
  • Aws\SupportApp\SupportAppClient
  • Aws\Swf\SwfClient
  • Aws\Synthetics\SyntheticsClient
  • Aws\Textract\TextractClient
  • Aws\TimestreamQuery\TimestreamQueryClient
  • Aws\TimestreamWrite\TimestreamWriteClient
  • Aws\Token\BearerTokenAuthorization
  • Aws\Token\SsoToken
  • Aws\Token\SsoTokenProvider
  • Aws\Token\Token
  • Aws\Token\TokenProvider
  • Aws\TraceMiddleware
  • Aws\TranscribeService\TranscribeServiceClient
  • Aws\Transfer\TransferClient
  • Aws\Translate\TranslateClient
  • Aws\VoiceID\VoiceIDClient
  • Aws\Waf\WafClient
  • Aws\WafRegional\WafRegionalClient
  • Aws\WAFV2\WAFV2Client
  • Aws\Waiter
  • Aws\WellArchitected\WellArchitectedClient
  • Aws\WorkDocs\WorkDocsClient
  • Aws\WorkLink\WorkLinkClient
  • Aws\WorkMail\WorkMailClient
  • Aws\WorkMailMessageFlow\WorkMailMessageFlowClient
  • Aws\WorkSpaces\WorkSpacesClient
  • Aws\WorkSpacesWeb\WorkSpacesWebClient
  • Aws\WrappedHttpHandler
  • Aws\XRay\XRayClient

Interfaces

  • Aws\AwsClientInterface
  • Aws\CacheInterface
  • Aws\ClientSideMonitoring\ConfigurationInterface
  • Aws\CommandInterface
  • Aws\ConfigurationProviderInterface
  • Aws\Credentials\CredentialsInterface
  • Aws\Crypto\AesStreamInterface
  • Aws\Crypto\AesStreamInterfaceV2
  • Aws\Crypto\Cipher\CipherMethod
  • Aws\Crypto\MaterialsProviderInterface
  • Aws\Crypto\MaterialsProviderInterfaceV2
  • Aws\Crypto\MetadataStrategyInterface
  • Aws\DefaultsMode\ConfigurationInterface
  • Aws\DynamoDb\SessionConnectionInterface
  • Aws\Endpoint\PartitionInterface
  • Aws\Endpoint\UseDualstackEndpoint\ConfigurationInterface
  • Aws\Endpoint\UseFipsEndpoint\ConfigurationInterface
  • Aws\EndpointDiscovery\ConfigurationInterface
  • Aws\HashInterface
  • Aws\MonitoringEventsInterface
  • Aws\ResponseContainerInterface
  • Aws\ResultInterface
  • Aws\Retry\ConfigurationInterface
  • Aws\S3\RegionalEndpoint\ConfigurationInterface
  • Aws\S3\S3ClientInterface
  • Aws\S3\UseArnRegion\ConfigurationInterface
  • Aws\Signature\SignatureInterface
  • Aws\Sts\RegionalEndpoints\ConfigurationInterface
  • Aws\Token\RefreshableTokenProviderInterface
  • Aws\Token\TokenAuthorization
  • Aws\Token\TokenInterface

Traits

  • Aws\Api\ErrorParser\JsonParserTrait
  • Aws\Api\Parser\MetadataParserTrait
  • Aws\Api\Parser\PayloadParserTrait
  • Aws\AwsClientTrait
  • Aws\Crypto\Cipher\CipherBuilderTrait
  • Aws\Crypto\DecryptionTrait
  • Aws\Crypto\DecryptionTraitV2
  • Aws\Crypto\EncryptionTrait
  • Aws\Crypto\EncryptionTraitV2
  • Aws\Crypto\Polyfill\NeedsTrait
  • Aws\DynamoDb\SessionConnectionConfigTrait
  • Aws\HasDataTrait
  • Aws\HasMonitoringEventsTrait
  • Aws\Retry\RetryHelperTrait
  • Aws\S3\CalculatesChecksumTrait
  • Aws\S3\Crypto\CryptoParamsTrait
  • Aws\S3\Crypto\CryptoParamsTraitV2
  • Aws\S3\Crypto\UserAgentTrait
  • Aws\S3\MultipartUploadingTrait
  • Aws\S3\S3ClientTrait
  • Aws\Signature\SignatureTrait
  • Aws\Token\ParsesIniTrait

Exceptions

  • Aws\AccessAnalyzer\Exception\AccessAnalyzerException
  • Aws\Account\Exception\AccountException
  • Aws\Acm\Exception\AcmException
  • Aws\ACMPCA\Exception\ACMPCAException
  • Aws\AlexaForBusiness\Exception\AlexaForBusinessException
  • Aws\Amplify\Exception\AmplifyException
  • Aws\AmplifyBackend\Exception\AmplifyBackendException
  • Aws\AmplifyUIBuilder\Exception\AmplifyUIBuilderException
  • Aws\Api\Parser\Exception\ParserException
  • Aws\ApiGateway\Exception\ApiGatewayException
  • Aws\ApiGatewayManagementApi\Exception\ApiGatewayManagementApiException
  • Aws\ApiGatewayV2\Exception\ApiGatewayV2Exception
  • Aws\AppConfig\Exception\AppConfigException
  • Aws\AppConfigData\Exception\AppConfigDataException
  • Aws\Appflow\Exception\AppflowException
  • Aws\AppIntegrationsService\Exception\AppIntegrationsServiceException
  • Aws\ApplicationAutoScaling\Exception\ApplicationAutoScalingException
  • Aws\ApplicationCostProfiler\Exception\ApplicationCostProfilerException
  • Aws\ApplicationDiscoveryService\Exception\ApplicationDiscoveryServiceException
  • Aws\ApplicationInsights\Exception\ApplicationInsightsException
  • Aws\AppMesh\Exception\AppMeshException
  • Aws\AppRegistry\Exception\AppRegistryException
  • Aws\AppRunner\Exception\AppRunnerException
  • Aws\Appstream\Exception\AppstreamException
  • Aws\AppSync\Exception\AppSyncException
  • Aws\ARCZonalShift\Exception\ARCZonalShiftException
  • Aws\Arn\Exception\InvalidArnException
  • Aws\Athena\Exception\AthenaException
  • Aws\AuditManager\Exception\AuditManagerException
  • Aws\AugmentedAIRuntime\Exception\AugmentedAIRuntimeException
  • Aws\AutoScaling\Exception\AutoScalingException
  • Aws\AutoScalingPlans\Exception\AutoScalingPlansException
  • Aws\Backup\Exception\BackupException
  • Aws\BackupGateway\Exception\BackupGatewayException
  • Aws\BackupStorage\Exception\BackupStorageException
  • Aws\Batch\Exception\BatchException
  • Aws\BillingConductor\Exception\BillingConductorException
  • Aws\Braket\Exception\BraketException
  • Aws\Budgets\Exception\BudgetsException
  • Aws\Chime\Exception\ChimeException
  • Aws\ChimeSDKIdentity\Exception\ChimeSDKIdentityException
  • Aws\ChimeSDKMediaPipelines\Exception\ChimeSDKMediaPipelinesException
  • Aws\ChimeSDKMeetings\Exception\ChimeSDKMeetingsException
  • Aws\ChimeSDKMessaging\Exception\ChimeSDKMessagingException
  • Aws\ChimeSDKVoice\Exception\ChimeSDKVoiceException
  • Aws\CleanRooms\Exception\CleanRoomsException
  • Aws\ClientSideMonitoring\Exception\ConfigurationException
  • Aws\Cloud9\Exception\Cloud9Exception
  • Aws\CloudControlApi\Exception\CloudControlApiException
  • Aws\CloudDirectory\Exception\CloudDirectoryException
  • Aws\CloudFormation\Exception\CloudFormationException
  • Aws\CloudFront\Exception\CloudFrontException
  • Aws\CloudHsm\Exception\CloudHsmException
  • Aws\CloudHSMV2\Exception\CloudHSMV2Exception
  • Aws\CloudSearch\Exception\CloudSearchException
  • Aws\CloudSearchDomain\Exception\CloudSearchDomainException
  • Aws\CloudTrail\Exception\CloudTrailException
  • Aws\CloudTrailData\Exception\CloudTrailDataException
  • Aws\CloudWatch\Exception\CloudWatchException
  • Aws\CloudWatchEvents\Exception\CloudWatchEventsException
  • Aws\CloudWatchEvidently\Exception\CloudWatchEvidentlyException
  • Aws\CloudWatchLogs\Exception\CloudWatchLogsException
  • Aws\CloudWatchRUM\Exception\CloudWatchRUMException
  • Aws\CodeArtifact\Exception\CodeArtifactException
  • Aws\CodeBuild\Exception\CodeBuildException
  • Aws\CodeCatalyst\Exception\CodeCatalystException
  • Aws\CodeCommit\Exception\CodeCommitException
  • Aws\CodeDeploy\Exception\CodeDeployException
  • Aws\CodeGuruProfiler\Exception\CodeGuruProfilerException
  • Aws\CodeGuruReviewer\Exception\CodeGuruReviewerException
  • Aws\CodePipeline\Exception\CodePipelineException
  • Aws\CodeStar\Exception\CodeStarException
  • Aws\CodeStarconnections\Exception\CodeStarconnectionsException
  • Aws\CodeStarNotifications\Exception\CodeStarNotificationsException
  • Aws\CognitoIdentity\Exception\CognitoIdentityException
  • Aws\CognitoIdentityProvider\Exception\CognitoIdentityProviderException
  • Aws\CognitoSync\Exception\CognitoSyncException
  • Aws\Comprehend\Exception\ComprehendException
  • Aws\ComprehendMedical\Exception\ComprehendMedicalException
  • Aws\ComputeOptimizer\Exception\ComputeOptimizerException
  • Aws\ConfigService\Exception\ConfigServiceException
  • Aws\Connect\Exception\ConnectException
  • Aws\ConnectCampaignService\Exception\ConnectCampaignServiceException
  • Aws\ConnectCases\Exception\ConnectCasesException
  • Aws\ConnectContactLens\Exception\ConnectContactLensException
  • Aws\ConnectParticipant\Exception\ConnectParticipantException
  • Aws\ConnectWisdomService\Exception\ConnectWisdomServiceException
  • Aws\ControlTower\Exception\ControlTowerException
  • Aws\CostandUsageReportService\Exception\CostandUsageReportServiceException
  • Aws\CostExplorer\Exception\CostExplorerException
  • Aws\CustomerProfiles\Exception\CustomerProfilesException
  • Aws\DatabaseMigrationService\Exception\DatabaseMigrationServiceException
  • Aws\DataExchange\Exception\DataExchangeException
  • Aws\DataPipeline\Exception\DataPipelineException
  • Aws\DataSync\Exception\DataSyncException
  • Aws\DAX\Exception\DAXException
  • Aws\DefaultsMode\Exception\ConfigurationException
  • Aws\Detective\Exception\DetectiveException
  • Aws\DeviceFarm\Exception\DeviceFarmException
  • Aws\DevOpsGuru\Exception\DevOpsGuruException
  • Aws\DirectConnect\Exception\DirectConnectException
  • Aws\DirectoryService\Exception\DirectoryServiceException
  • Aws\DLM\Exception\DLMException
  • Aws\DocDB\Exception\DocDBException
  • Aws\DocDBElastic\Exception\DocDBElasticException
  • Aws\drs\Exception\drsException
  • Aws\DynamoDb\Exception\DynamoDbException
  • Aws\DynamoDbStreams\Exception\DynamoDbStreamsException
  • Aws\EBS\Exception\EBSException
  • Aws\Ec2\Exception\Ec2Exception
  • Aws\EC2InstanceConnect\Exception\EC2InstanceConnectException
  • Aws\Ecr\Exception\EcrException
  • Aws\ECRPublic\Exception\ECRPublicException
  • Aws\Ecs\Exception\EcsException
  • Aws\Efs\Exception\EfsException
  • Aws\EKS\Exception\EKSException
  • Aws\ElastiCache\Exception\ElastiCacheException
  • Aws\ElasticBeanstalk\Exception\ElasticBeanstalkException
  • Aws\ElasticInference\Exception\ElasticInferenceException
  • Aws\ElasticLoadBalancing\Exception\ElasticLoadBalancingException
  • Aws\ElasticLoadBalancingV2\Exception\ElasticLoadBalancingV2Exception
  • Aws\ElasticsearchService\Exception\ElasticsearchServiceException
  • Aws\ElasticTranscoder\Exception\ElasticTranscoderException
  • Aws\Emr\Exception\EmrException
  • Aws\EMRContainers\Exception\EMRContainersException
  • Aws\EMRServerless\Exception\EMRServerlessException
  • Aws\Endpoint\UseDualstackEndpoint\Exception\ConfigurationException
  • Aws\Endpoint\UseFipsEndpoint\Exception\ConfigurationException
  • Aws\EndpointDiscovery\Exception\ConfigurationException
  • Aws\EventBridge\Exception\EventBridgeException
  • Aws\Exception\AwsException
  • Aws\Exception\CommonRuntimeException
  • Aws\Exception\CouldNotCreateChecksumException
  • Aws\Exception\CredentialsException
  • Aws\Exception\CryptoException
  • Aws\Exception\CryptoPolyfillException
  • Aws\Exception\EventStreamDataException
  • Aws\Exception\IncalculablePayloadException
  • Aws\Exception\InvalidJsonException
  • Aws\Exception\InvalidRegionException
  • Aws\Exception\MultipartUploadException
  • Aws\Exception\TokenException
  • Aws\Exception\UnresolvedApiException
  • Aws\Exception\UnresolvedEndpointException
  • Aws\Exception\UnresolvedSignatureException
  • Aws\finspace\Exception\finspaceException
  • Aws\FinSpaceData\Exception\FinSpaceDataException
  • Aws\Firehose\Exception\FirehoseException
  • Aws\FIS\Exception\FISException
  • Aws\FMS\Exception\FMSException
  • Aws\ForecastQueryService\Exception\ForecastQueryServiceException
  • Aws\ForecastService\Exception\ForecastServiceException
  • Aws\FraudDetector\Exception\FraudDetectorException
  • Aws\FSx\Exception\FSxException
  • Aws\GameLift\Exception\GameLiftException
  • Aws\GameSparks\Exception\GameSparksException
  • Aws\Glacier\Exception\GlacierException
  • Aws\GlobalAccelerator\Exception\GlobalAcceleratorException
  • Aws\Glue\Exception\GlueException
  • Aws\GlueDataBrew\Exception\GlueDataBrewException
  • Aws\Greengrass\Exception\GreengrassException
  • Aws\GreengrassV2\Exception\GreengrassV2Exception
  • Aws\GroundStation\Exception\GroundStationException
  • Aws\GuardDuty\Exception\GuardDutyException
  • Aws\Health\Exception\HealthException
  • Aws\HealthLake\Exception\HealthLakeException
  • Aws\Honeycode\Exception\HoneycodeException
  • Aws\Iam\Exception\IamException
  • Aws\IdentityStore\Exception\IdentityStoreException
  • Aws\imagebuilder\Exception\imagebuilderException
  • Aws\ImportExport\Exception\ImportExportException
  • Aws\Inspector2\Exception\Inspector2Exception
  • Aws\Inspector\Exception\InspectorException
  • Aws\IoT1ClickDevicesService\Exception\IoT1ClickDevicesServiceException
  • Aws\IoT1ClickProjects\Exception\IoT1ClickProjectsException
  • Aws\Iot\Exception\IotException
  • Aws\IoTAnalytics\Exception\IoTAnalyticsException
  • Aws\IotDataPlane\Exception\IotDataPlaneException
  • Aws\IoTDeviceAdvisor\Exception\IoTDeviceAdvisorException
  • Aws\IoTEvents\Exception\IoTEventsException
  • Aws\IoTEventsData\Exception\IoTEventsDataException
  • Aws\IoTFleetHub\Exception\IoTFleetHubException
  • Aws\IoTFleetWise\Exception\IoTFleetWiseException
  • Aws\IoTJobsDataPlane\Exception\IoTJobsDataPlaneException
  • Aws\IoTRoboRunner\Exception\IoTRoboRunnerException
  • Aws\IoTSecureTunneling\Exception\IoTSecureTunnelingException
  • Aws\IoTSiteWise\Exception\IoTSiteWiseException
  • Aws\IoTThingsGraph\Exception\IoTThingsGraphException
  • Aws\IoTTwinMaker\Exception\IoTTwinMakerException
  • Aws\IoTWireless\Exception\IoTWirelessException
  • Aws\IVS\Exception\IVSException
  • Aws\ivschat\Exception\ivschatException
  • Aws\Kafka\Exception\KafkaException
  • Aws\KafkaConnect\Exception\KafkaConnectException
  • Aws\kendra\Exception\kendraException
  • Aws\KendraRanking\Exception\KendraRankingException
  • Aws\Keyspaces\Exception\KeyspacesException
  • Aws\Kinesis\Exception\KinesisException
  • Aws\KinesisAnalytics\Exception\KinesisAnalyticsException
  • Aws\KinesisAnalyticsV2\Exception\KinesisAnalyticsV2Exception
  • Aws\KinesisVideo\Exception\KinesisVideoException
  • Aws\KinesisVideoArchivedMedia\Exception\KinesisVideoArchivedMediaException
  • Aws\KinesisVideoMedia\Exception\KinesisVideoMediaException
  • Aws\KinesisVideoSignalingChannels\Exception\KinesisVideoSignalingChannelsException
  • Aws\KinesisVideoWebRTCStorage\Exception\KinesisVideoWebRTCStorageException
  • Aws\Kms\Exception\KmsException
  • Aws\LakeFormation\Exception\LakeFormationException
  • Aws\Lambda\Exception\LambdaException
  • Aws\LexModelBuildingService\Exception\LexModelBuildingServiceException
  • Aws\LexModelsV2\Exception\LexModelsV2Exception
  • Aws\LexRuntimeService\Exception\LexRuntimeServiceException
  • Aws\LexRuntimeV2\Exception\LexRuntimeV2Exception
  • Aws\LicenseManager\Exception\LicenseManagerException
  • Aws\LicenseManagerLinuxSubscriptions\Exception\LicenseManagerLinuxSubscriptionsException
  • Aws\LicenseManagerUserSubscriptions\Exception\LicenseManagerUserSubscriptionsException
  • Aws\Lightsail\Exception\LightsailException
  • Aws\LocationService\Exception\LocationServiceException
  • Aws\LookoutEquipment\Exception\LookoutEquipmentException
  • Aws\LookoutforVision\Exception\LookoutforVisionException
  • Aws\LookoutMetrics\Exception\LookoutMetricsException
  • Aws\MachineLearning\Exception\MachineLearningException
  • Aws\Macie2\Exception\Macie2Exception
  • Aws\Macie\Exception\MacieException
  • Aws\MainframeModernization\Exception\MainframeModernizationException
  • Aws\ManagedBlockchain\Exception\ManagedBlockchainException
  • Aws\ManagedGrafana\Exception\ManagedGrafanaException
  • Aws\MarketplaceCatalog\Exception\MarketplaceCatalogException
  • Aws\MarketplaceCommerceAnalytics\Exception\MarketplaceCommerceAnalyticsException
  • Aws\MarketplaceEntitlementService\Exception\MarketplaceEntitlementServiceException
  • Aws\MarketplaceMetering\Exception\MarketplaceMeteringException
  • Aws\MediaConnect\Exception\MediaConnectException
  • Aws\MediaConvert\Exception\MediaConvertException
  • Aws\MediaLive\Exception\MediaLiveException
  • Aws\MediaPackage\Exception\MediaPackageException
  • Aws\MediaPackageVod\Exception\MediaPackageVodException
  • Aws\MediaStore\Exception\MediaStoreException
  • Aws\MediaStoreData\Exception\MediaStoreDataException
  • Aws\MediaTailor\Exception\MediaTailorException
  • Aws\MemoryDB\Exception\MemoryDBException
  • Aws\mgn\Exception\mgnException
  • Aws\MigrationHub\Exception\MigrationHubException
  • Aws\MigrationHubConfig\Exception\MigrationHubConfigException
  • Aws\MigrationHubOrchestrator\Exception\MigrationHubOrchestratorException
  • Aws\MigrationHubRefactorSpaces\Exception\MigrationHubRefactorSpacesException
  • Aws\MigrationHubStrategyRecommendations\Exception\MigrationHubStrategyRecommendationsException
  • Aws\Mobile\Exception\MobileException
  • Aws\MQ\Exception\MQException
  • Aws\MTurk\Exception\MTurkException
  • Aws\MWAA\Exception\MWAAException
  • Aws\Neptune\Exception\NeptuneException
  • Aws\NetworkFirewall\Exception\NetworkFirewallException
  • Aws\NetworkManager\Exception\NetworkManagerException
  • Aws\NimbleStudio\Exception\NimbleStudioException
  • Aws\OAM\Exception\OAMException
  • Aws\Omics\Exception\OmicsException
  • Aws\OpenSearchServerless\Exception\OpenSearchServerlessException
  • Aws\OpenSearchService\Exception\OpenSearchServiceException
  • Aws\OpsWorks\Exception\OpsWorksException
  • Aws\OpsWorksCM\Exception\OpsWorksCMException
  • Aws\Organizations\Exception\OrganizationsException
  • Aws\Outposts\Exception\OutpostsException
  • Aws\Panorama\Exception\PanoramaException
  • Aws\Personalize\Exception\PersonalizeException
  • Aws\PersonalizeEvents\Exception\PersonalizeEventsException
  • Aws\PersonalizeRuntime\Exception\PersonalizeRuntimeException
  • Aws\PI\Exception\PIException
  • Aws\Pinpoint\Exception\PinpointException
  • Aws\PinpointEmail\Exception\PinpointEmailException
  • Aws\PinpointSMSVoice\Exception\PinpointSMSVoiceException
  • Aws\PinpointSMSVoiceV2\Exception\PinpointSMSVoiceV2Exception
  • Aws\Pipes\Exception\PipesException
  • Aws\Polly\Exception\PollyException
  • Aws\Pricing\Exception\PricingException
  • Aws\PrivateNetworks\Exception\PrivateNetworksException
  • Aws\PrometheusService\Exception\PrometheusServiceException
  • Aws\Proton\Exception\ProtonException
  • Aws\QLDB\Exception\QLDBException
  • Aws\QLDBSession\Exception\QLDBSessionException
  • Aws\QuickSight\Exception\QuickSightException
  • Aws\RAM\Exception\RAMException
  • Aws\Rds\Exception\RdsException
  • Aws\RDSDataService\Exception\RDSDataServiceException
  • Aws\RecycleBin\Exception\RecycleBinException
  • Aws\Redshift\Exception\RedshiftException
  • Aws\RedshiftDataAPIService\Exception\RedshiftDataAPIServiceException
  • Aws\RedshiftServerless\Exception\RedshiftServerlessException
  • Aws\Rekognition\Exception\RekognitionException
  • Aws\ResilienceHub\Exception\ResilienceHubException
  • Aws\ResourceExplorer2\Exception\ResourceExplorer2Exception
  • Aws\ResourceGroups\Exception\ResourceGroupsException
  • Aws\ResourceGroupsTaggingAPI\Exception\ResourceGroupsTaggingAPIException
  • Aws\Retry\Exception\ConfigurationException
  • Aws\RoboMaker\Exception\RoboMakerException
  • Aws\RolesAnywhere\Exception\RolesAnywhereException
  • Aws\Route53\Exception\Route53Exception
  • Aws\Route53Domains\Exception\Route53DomainsException
  • Aws\Route53RecoveryCluster\Exception\Route53RecoveryClusterException
  • Aws\Route53RecoveryControlConfig\Exception\Route53RecoveryControlConfigException
  • Aws\Route53RecoveryReadiness\Exception\Route53RecoveryReadinessException
  • Aws\Route53Resolver\Exception\Route53ResolverException
  • Aws\S3\Exception\DeleteMultipleObjectsException
  • Aws\S3\Exception\PermanentRedirectException
  • Aws\S3\Exception\S3Exception
  • Aws\S3\Exception\S3MultipartUploadException
  • Aws\S3\RegionalEndpoint\Exception\ConfigurationException
  • Aws\S3\UseArnRegion\Exception\ConfigurationException
  • Aws\S3Control\Exception\S3ControlException
  • Aws\S3Outposts\Exception\S3OutpostsException
  • Aws\SageMaker\Exception\SageMakerException
  • Aws\SagemakerEdgeManager\Exception\SagemakerEdgeManagerException
  • Aws\SageMakerFeatureStoreRuntime\Exception\SageMakerFeatureStoreRuntimeException
  • Aws\SageMakerGeospatial\Exception\SageMakerGeospatialException
  • Aws\SageMakerMetrics\Exception\SageMakerMetricsException
  • Aws\SageMakerRuntime\Exception\SageMakerRuntimeException
  • Aws\SavingsPlans\Exception\SavingsPlansException
  • Aws\Scheduler\Exception\SchedulerException
  • Aws\Schemas\Exception\SchemasException
  • Aws\SecretsManager\Exception\SecretsManagerException
  • Aws\SecurityHub\Exception\SecurityHubException
  • Aws\SecurityLake\Exception\SecurityLakeException
  • Aws\ServerlessApplicationRepository\Exception\ServerlessApplicationRepositoryException
  • Aws\ServiceCatalog\Exception\ServiceCatalogException
  • Aws\ServiceDiscovery\Exception\ServiceDiscoveryException
  • Aws\ServiceQuotas\Exception\ServiceQuotasException
  • Aws\Ses\Exception\SesException
  • Aws\SesV2\Exception\SesV2Exception
  • Aws\Sfn\Exception\SfnException
  • Aws\Shield\Exception\ShieldException
  • Aws\signer\Exception\signerException
  • Aws\SimSpaceWeaver\Exception\SimSpaceWeaverException
  • Aws\Sms\Exception\SmsException
  • Aws\SnowBall\Exception\SnowBallException
  • Aws\SnowDeviceManagement\Exception\SnowDeviceManagementException
  • Aws\Sns\Exception\InvalidSnsMessageException
  • Aws\Sns\Exception\SnsException
  • Aws\Sqs\Exception\SqsException
  • Aws\Ssm\Exception\SsmException
  • Aws\SSMContacts\Exception\SSMContactsException
  • Aws\SSMIncidents\Exception\SSMIncidentsException
  • Aws\SsmSap\Exception\SsmSapException
  • Aws\SSO\Exception\SSOException
  • Aws\SSOAdmin\Exception\SSOAdminException
  • Aws\SSOOIDC\Exception\SSOOIDCException
  • Aws\StorageGateway\Exception\StorageGatewayException
  • Aws\Sts\Exception\StsException
  • Aws\Sts\RegionalEndpoints\Exception\ConfigurationException
  • Aws\Support\Exception\SupportException
  • Aws\SupportApp\Exception\SupportAppException
  • Aws\Swf\Exception\SwfException
  • Aws\Synthetics\Exception\SyntheticsException
  • Aws\Textract\Exception\TextractException
  • Aws\TimestreamQuery\Exception\TimestreamQueryException
  • Aws\TimestreamWrite\Exception\TimestreamWriteException
  • Aws\TranscribeService\Exception\TranscribeServiceException
  • Aws\Transfer\Exception\TransferException
  • Aws\Translate\Exception\TranslateException
  • Aws\VoiceID\Exception\VoiceIDException
  • Aws\Waf\Exception\WafException
  • Aws\WafRegional\Exception\WafRegionalException
  • Aws\WAFV2\Exception\WAFV2Exception
  • Aws\WellArchitected\Exception\WellArchitectedException
  • Aws\WorkDocs\Exception\WorkDocsException
  • Aws\WorkLink\Exception\WorkLinkException
  • Aws\WorkMail\Exception\WorkMailException
  • Aws\WorkMailMessageFlow\Exception\WorkMailMessageFlowException
  • Aws\WorkSpaces\Exception\WorkSpacesException
  • Aws\WorkSpacesWeb\Exception\WorkSpacesWebException
  • Aws\XRay\Exception\XRayException

Functions

  • Aws\boolean_value
  • Aws\clear_compiled_json
  • Aws\constantly
  • Aws\default_http_handler
  • Aws\default_user_agent
  • Aws\describe_type
  • Aws\dir_iterator
  • Aws\filter
  • Aws\flatmap
  • Aws\guzzle_major_version
  • Aws\is_fips_pseudo_region
  • Aws\is_valid_epoch
  • Aws\is_valid_hostlabel
  • Aws\is_valid_hostname
  • Aws\load_compiled_json
  • Aws\manifest
  • Aws\map
  • Aws\or_chain
  • Aws\parse_ini_file
  • Aws\partition
  • Aws\recursive_dir_iterator
  • Aws\serialize
  • Aws\strip_fips_pseudo_regions

AWS X-Ray 2016-04-12

Client: Aws\XRay\XRayClient
Service ID: xray
Version: 2016-04-12

This page describes the parameters and results for the operations of the AWS X-Ray (2016-04-12), and shows how to use the Aws\XRay\XRayClient object to call the described operations. This documentation is specific to the 2016-04-12 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

  • BatchGetTraces ( array $params = [] )

    Retrieves a list of traces specified by ID.

  • CreateGroup ( array $params = [] )

    Creates a group resource with a name and a filter expression.

  • CreateSamplingRule ( array $params = [] )

    Creates a rule to control sampling behavior for instrumented applications.

  • DeleteGroup ( array $params = [] )

    Deletes a group resource.

  • DeleteResourcePolicy ( array $params = [] )

    Deletes a resource policy from the target Amazon Web Services account.

  • DeleteSamplingRule ( array $params = [] )

    Deletes a sampling rule.

  • GetEncryptionConfig ( array $params = [] )

    Retrieves the current encryption configuration for X-Ray data.

  • GetGroup ( array $params = [] )

    Retrieves group resource details.

  • GetGroups ( array $params = [] )

    Retrieves all active group details.

  • GetInsight ( array $params = [] )

    Retrieves the summary information of an insight.

  • GetInsightEvents ( array $params = [] )

    X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an event.

  • GetInsightImpactGraph ( array $params = [] )

    Retrieves a service graph structure filtered by the specified insight.

  • GetInsightSummaries ( array $params = [] )

    Retrieves the summaries of all insights in the specified group matching the provided filter values.

  • GetSamplingRules ( array $params = [] )

    Retrieves all sampling rules.

  • GetSamplingStatisticSummaries ( array $params = [] )

    Retrieves information about recent sampling results for all sampling rules.

  • GetSamplingTargets ( array $params = [] )

    Requests a sampling quota for rules that the service is using to sample requests.

  • GetServiceGraph ( array $params = [] )

    Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result.

  • GetTimeSeriesServiceStatistics ( array $params = [] )

    Get an aggregation of service statistics defined by a specific time range.

  • GetTraceGraph ( array $params = [] )

    Retrieves a service graph for one or more specific trace IDs.

  • GetTraceSummaries ( array $params = [] )

    Retrieves IDs and annotations for traces available for a specified time frame using an optional filter.

  • ListResourcePolicies ( array $params = [] )

    Returns the list of resource policies in the target Amazon Web Services account.

  • ListTagsForResource ( array $params = [] )

    Returns a list of tags that are applied to the specified Amazon Web Services X-Ray group or sampling rule.

  • PutEncryptionConfig ( array $params = [] )

    Updates the encryption configuration for X-Ray data.

  • PutResourcePolicy ( array $params = [] )

    Sets the resource policy to grant one or more Amazon Web Services services and accounts permissions to access X-Ray.

  • PutTelemetryRecords ( array $params = [] )

    Used by the Amazon Web Services X-Ray daemon to upload telemetry.

  • PutTraceSegments ( array $params = [] )

    Uploads segment documents to Amazon Web Services X-Ray.

  • TagResource ( array $params = [] )

    Applies tags to an existing Amazon Web Services X-Ray group or sampling rule.

  • UntagResource ( array $params = [] )

    Removes tags from an Amazon Web Services X-Ray group or sampling rule.

  • UpdateGroup ( array $params = [] )

    Updates a group resource.

  • UpdateSamplingRule ( array $params = [] )

    Modifies a sampling rule's configuration.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

  • BatchGetTraces
  • GetGroups
  • GetInsightEvents
  • GetInsightSummaries
  • GetSamplingRules
  • GetSamplingStatisticSummaries
  • GetServiceGraph
  • GetTimeSeriesServiceStatistics
  • GetTraceGraph
  • GetTraceSummaries
  • ListResourcePolicies
  • ListTagsForResource

Operations

BatchGetTraces

$result = $client->batchGetTraces([/* ... */]);
$promise = $client->batchGetTracesAsync([/* ... */]);

Retrieves a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use GetTraceSummaries to get a list of trace IDs.

Parameter Syntax

$result = $client->batchGetTraces([
    'NextToken' => '<string>',
    'TraceIds' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
NextToken
  • Type: string

Pagination token.

TraceIds
  • Required: Yes
  • Type: Array of strings

Specify the trace IDs of requests for which to retrieve segments.

Result Syntax

[
    'NextToken' => '<string>',
    'Traces' => [
        [
            'Duration' => <float>,
            'Id' => '<string>',
            'LimitExceeded' => true || false,
            'Segments' => [
                [
                    'Document' => '<string>',
                    'Id' => '<string>',
                ],
                // ...
            ],
        ],
        // ...
    ],
    'UnprocessedTraceIds' => ['<string>', ...],
]

Result Details

Members
NextToken
  • Type: string

Pagination token.

Traces
  • Type: Array of Trace structures

Full traces for the specified requests.

UnprocessedTraceIds
  • Type: Array of strings

Trace IDs of requests that haven't been processed.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

CreateGroup

$result = $client->createGroup([/* ... */]);
$promise = $client->createGroupAsync([/* ... */]);

Creates a group resource with a name and a filter expression.

Parameter Syntax

$result = $client->createGroup([
    'FilterExpression' => '<string>',
    'GroupName' => '<string>', // REQUIRED
    'InsightsConfiguration' => [
        'InsightsEnabled' => true || false,
        'NotificationsEnabled' => true || false,
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
FilterExpression
  • Type: string

The filter expression defining criteria by which to group traces.

GroupName
  • Required: Yes
  • Type: string

The case-sensitive name of the new group. Default is a reserved name and names must be unique.

InsightsConfiguration
  • Type: InsightsConfiguration structure

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.

  • The NotificationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.

Tags
  • Type: Array of Tag structures

A map that contains one or more tag keys and tag values to attach to an X-Ray group. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50

  • Maximum tag key length: 128 Unicode characters

  • Maximum tag value length: 256 Unicode characters

  • Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @

  • Tag keys and values are case sensitive.

  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.

Result Syntax

[
    'Group' => [
        'FilterExpression' => '<string>',
        'GroupARN' => '<string>',
        'GroupName' => '<string>',
        'InsightsConfiguration' => [
            'InsightsEnabled' => true || false,
            'NotificationsEnabled' => true || false,
        ],
    ],
]

Result Details

Members
Group
  • Type: Group structure

The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

CreateSamplingRule

$result = $client->createSamplingRule([/* ... */]);
$promise = $client->createSamplingRuleAsync([/* ... */]);

Creates a rule to control sampling behavior for instrumented applications. Services retrieve rules with GetSamplingRules, and evaluate each rule in ascending order of priority for each request. If a rule matches, the service records a trace, borrowing it from the reservoir size. After 10 seconds, the service reports back to X-Ray with GetSamplingTargets to get updated versions of each in-use rule. The updated rule contains a trace quota that the service can use instead of borrowing from the reservoir.

Parameter Syntax

$result = $client->createSamplingRule([
    'SamplingRule' => [ // REQUIRED
        'Attributes' => ['<string>', ...],
        'FixedRate' => <float>, // REQUIRED
        'HTTPMethod' => '<string>', // REQUIRED
        'Host' => '<string>', // REQUIRED
        'Priority' => <integer>, // REQUIRED
        'ReservoirSize' => <integer>, // REQUIRED
        'ResourceARN' => '<string>', // REQUIRED
        'RuleARN' => '<string>',
        'RuleName' => '<string>',
        'ServiceName' => '<string>', // REQUIRED
        'ServiceType' => '<string>', // REQUIRED
        'URLPath' => '<string>', // REQUIRED
        'Version' => <integer>, // REQUIRED
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
SamplingRule
  • Required: Yes
  • Type: SamplingRule structure

The rule definition.

Tags
  • Type: Array of Tag structures

A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50

  • Maximum tag key length: 128 Unicode characters

  • Maximum tag value length: 256 Unicode characters

  • Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @

  • Tag keys and values are case sensitive.

  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.

Result Syntax

[
    'SamplingRuleRecord' => [
        'CreatedAt' => <DateTime>,
        'ModifiedAt' => <DateTime>,
        'SamplingRule' => [
            'Attributes' => ['<string>', ...],
            'FixedRate' => <float>,
            'HTTPMethod' => '<string>',
            'Host' => '<string>',
            'Priority' => <integer>,
            'ReservoirSize' => <integer>,
            'ResourceARN' => '<string>',
            'RuleARN' => '<string>',
            'RuleName' => '<string>',
            'ServiceName' => '<string>',
            'ServiceType' => '<string>',
            'URLPath' => '<string>',
            'Version' => <integer>,
        ],
    ],
]

Result Details

Members
SamplingRuleRecord
  • Type: SamplingRuleRecord structure

The saved rule definition and metadata.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

  • RuleLimitExceededException:

    You have reached the maximum number of sampling rules.

DeleteGroup

$result = $client->deleteGroup([/* ... */]);
$promise = $client->deleteGroupAsync([/* ... */]);

Deletes a group resource.

Parameter Syntax

$result = $client->deleteGroup([
    'GroupARN' => '<string>',
    'GroupName' => '<string>',
]);

Parameter Details

Members
GroupARN
  • Type: string

The ARN of the group that was generated on creation.

GroupName
  • Type: string

The case-sensitive name of the group.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

DeleteResourcePolicy

$result = $client->deleteResourcePolicy([/* ... */]);
$promise = $client->deleteResourcePolicyAsync([/* ... */]);

Deletes a resource policy from the target Amazon Web Services account.

Parameter Syntax

$result = $client->deleteResourcePolicy([
    'PolicyName' => '<string>', // REQUIRED
    'PolicyRevisionId' => '<string>',
]);

Parameter Details

Members
PolicyName
  • Required: Yes
  • Type: string

The name of the resource policy to delete.

PolicyRevisionId
  • Type: string

Specifies a specific policy revision to delete. Provide a PolicyRevisionId to ensure an atomic delete operation. If the provided revision id does not match the latest policy revision id, an InvalidPolicyRevisionIdException exception is returned.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • InvalidPolicyRevisionIdException:

    A policy revision id was provided which does not match the latest policy revision. This exception is also if a policy revision id of 0 is provided via PutResourcePolicy and a policy with the same name already exists.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

DeleteSamplingRule

$result = $client->deleteSamplingRule([/* ... */]);
$promise = $client->deleteSamplingRuleAsync([/* ... */]);

Deletes a sampling rule.

Parameter Syntax

$result = $client->deleteSamplingRule([
    'RuleARN' => '<string>',
    'RuleName' => '<string>',
]);

Parameter Details

Members
RuleARN
  • Type: string

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

RuleName
  • Type: string

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Result Syntax

[
    'SamplingRuleRecord' => [
        'CreatedAt' => <DateTime>,
        'ModifiedAt' => <DateTime>,
        'SamplingRule' => [
            'Attributes' => ['<string>', ...],
            'FixedRate' => <float>,
            'HTTPMethod' => '<string>',
            'Host' => '<string>',
            'Priority' => <integer>,
            'ReservoirSize' => <integer>,
            'ResourceARN' => '<string>',
            'RuleARN' => '<string>',
            'RuleName' => '<string>',
            'ServiceName' => '<string>',
            'ServiceType' => '<string>',
            'URLPath' => '<string>',
            'Version' => <integer>,
        ],
    ],
]

Result Details

Members
SamplingRuleRecord
  • Type: SamplingRuleRecord structure

The deleted rule definition and metadata.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetEncryptionConfig

$result = $client->getEncryptionConfig([/* ... */]);
$promise = $client->getEncryptionConfigAsync([/* ... */]);

Retrieves the current encryption configuration for X-Ray data.

Parameter Syntax

$result = $client->getEncryptionConfig([
]);

Parameter Details

Members

Result Syntax

[
    'EncryptionConfig' => [
        'KeyId' => '<string>',
        'Status' => 'UPDATING|ACTIVE',
        'Type' => 'NONE|KMS',
    ],
]

Result Details

Members
EncryptionConfig
  • Type: EncryptionConfig structure

The encryption configuration document.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetGroup

$result = $client->getGroup([/* ... */]);
$promise = $client->getGroupAsync([/* ... */]);

Retrieves group resource details.

Parameter Syntax

$result = $client->getGroup([
    'GroupARN' => '<string>',
    'GroupName' => '<string>',
]);

Parameter Details

Members
GroupARN
  • Type: string

The ARN of the group that was generated on creation.

GroupName
  • Type: string

The case-sensitive name of the group.

Result Syntax

[
    'Group' => [
        'FilterExpression' => '<string>',
        'GroupARN' => '<string>',
        'GroupName' => '<string>',
        'InsightsConfiguration' => [
            'InsightsEnabled' => true || false,
            'NotificationsEnabled' => true || false,
        ],
    ],
]

Result Details

Members
Group
  • Type: Group structure

The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to the group.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetGroups

$result = $client->getGroups([/* ... */]);
$promise = $client->getGroupsAsync([/* ... */]);

Retrieves all active group details.

Parameter Syntax

$result = $client->getGroups([
    'NextToken' => '<string>',
]);

Parameter Details

Members
NextToken
  • Type: string

Pagination token.

Result Syntax

[
    'Groups' => [
        [
            'FilterExpression' => '<string>',
            'GroupARN' => '<string>',
            'GroupName' => '<string>',
            'InsightsConfiguration' => [
                'InsightsEnabled' => true || false,
                'NotificationsEnabled' => true || false,
            ],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Groups
  • Type: Array of GroupSummary structures

The collection of all active groups.

NextToken
  • Type: string

Pagination token.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetInsight

$result = $client->getInsight([/* ... */]);
$promise = $client->getInsightAsync([/* ... */]);

Retrieves the summary information of an insight. This includes impact to clients and root cause services, the top anomalous services, the category, the state of the insight, and the start and end time of the insight.

Parameter Syntax

$result = $client->getInsight([
    'InsightId' => '<string>', // REQUIRED
]);

Parameter Details

Members
InsightId
  • Required: Yes
  • Type: string

The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

Result Syntax

[
    'Insight' => [
        'Categories' => ['<string>', ...],
        'ClientRequestImpactStatistics' => [
            'FaultCount' => <integer>,
            'OkCount' => <integer>,
            'TotalCount' => <integer>,
        ],
        'EndTime' => <DateTime>,
        'GroupARN' => '<string>',
        'GroupName' => '<string>',
        'InsightId' => '<string>',
        'RootCauseServiceId' => [
            'AccountId' => '<string>',
            'Name' => '<string>',
            'Names' => ['<string>', ...],
            'Type' => '<string>',
        ],
        'RootCauseServiceRequestImpactStatistics' => [
            'FaultCount' => <integer>,
            'OkCount' => <integer>,
            'TotalCount' => <integer>,
        ],
        'StartTime' => <DateTime>,
        'State' => 'ACTIVE|CLOSED',
        'Summary' => '<string>',
        'TopAnomalousServices' => [
            [
                'ServiceId' => [
                    'AccountId' => '<string>',
                    'Name' => '<string>',
                    'Names' => ['<string>', ...],
                    'Type' => '<string>',
                ],
            ],
            // ...
        ],
    ],
]

Result Details

Members
Insight
  • Type: Insight structure

The summary information of an insight.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetInsightEvents

$result = $client->getInsightEvents([/* ... */]);
$promise = $client->getInsightEventsAsync([/* ... */]);

X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray console.

Parameter Syntax

$result = $client->getInsightEvents([
    'InsightId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
InsightId
  • Required: Yes
  • Type: string

The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

MaxResults
  • Type: int

Used to retrieve at most the specified value of events.

NextToken
  • Type: string

Specify the pagination token returned by a previous request to retrieve the next page of events.

Result Syntax

[
    'InsightEvents' => [
        [
            'ClientRequestImpactStatistics' => [
                'FaultCount' => <integer>,
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
            ],
            'EventTime' => <DateTime>,
            'RootCauseServiceRequestImpactStatistics' => [
                'FaultCount' => <integer>,
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
            ],
            'Summary' => '<string>',
            'TopAnomalousServices' => [
                [
                    'ServiceId' => [
                        'AccountId' => '<string>',
                        'Name' => '<string>',
                        'Names' => ['<string>', ...],
                        'Type' => '<string>',
                    ],
                ],
                // ...
            ],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
InsightEvents
  • Type: Array of InsightEvent structures

A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.

NextToken
  • Type: string

Use this token to retrieve the next page of insight events.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetInsightImpactGraph

$result = $client->getInsightImpactGraph([/* ... */]);
$promise = $client->getInsightImpactGraphAsync([/* ... */]);

Retrieves a service graph structure filtered by the specified insight. The service graph is limited to only structural information. For a complete service graph, use this API with the GetServiceGraph API.

Parameter Syntax

$result = $client->getInsightImpactGraph([
    'EndTime' => <integer || string || DateTime>, // REQUIRED
    'InsightId' => '<string>', // REQUIRED
    'NextToken' => '<string>',
    'StartTime' => <integer || string || DateTime>, // REQUIRED
]);

Parameter Details

Members
EndTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.

InsightId
  • Required: Yes
  • Type: string

The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

NextToken
  • Type: string

Specify the pagination token returned by a previous request to retrieve the next page of results.

StartTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.

Result Syntax

[
    'EndTime' => <DateTime>,
    'InsightId' => '<string>',
    'NextToken' => '<string>',
    'ServiceGraphEndTime' => <DateTime>,
    'ServiceGraphStartTime' => <DateTime>,
    'Services' => [
        [
            'AccountId' => '<string>',
            'Edges' => [
                [
                    'ReferenceId' => <integer>,
                ],
                // ...
            ],
            'Name' => '<string>',
            'Names' => ['<string>', ...],
            'ReferenceId' => <integer>,
            'Type' => '<string>',
        ],
        // ...
    ],
    'StartTime' => <DateTime>,
]

Result Details

Members
EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The provided end time.

InsightId
  • Type: string

The insight's unique identifier.

NextToken
  • Type: string

Pagination token.

ServiceGraphEndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the service graph ended.

ServiceGraphStartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the service graph started.

Services
  • Type: Array of InsightImpactGraphService structures

The Amazon Web Services instrumented services related to the insight.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The provided start time.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetInsightSummaries

$result = $client->getInsightSummaries([/* ... */]);
$promise = $client->getInsightSummariesAsync([/* ... */]);

Retrieves the summaries of all insights in the specified group matching the provided filter values.

Parameter Syntax

$result = $client->getInsightSummaries([
    'EndTime' => <integer || string || DateTime>, // REQUIRED
    'GroupARN' => '<string>',
    'GroupName' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'StartTime' => <integer || string || DateTime>, // REQUIRED
    'States' => ['<string>', ...],
]);

Parameter Details

Members
EndTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end of the time frame in which the insights ended. The end time can't be more than 30 days old.

GroupARN
  • Type: string

The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.

GroupName
  • Type: string

The name of the group. Required if the GroupARN isn't provided.

MaxResults
  • Type: int

The maximum number of results to display.

NextToken
  • Type: string

Pagination token.

StartTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The beginning of the time frame in which the insights started. The start time can't be more than 30 days old.

States
  • Type: Array of strings

The list of insight states.

Result Syntax

[
    'InsightSummaries' => [
        [
            'Categories' => ['<string>', ...],
            'ClientRequestImpactStatistics' => [
                'FaultCount' => <integer>,
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
            ],
            'EndTime' => <DateTime>,
            'GroupARN' => '<string>',
            'GroupName' => '<string>',
            'InsightId' => '<string>',
            'LastUpdateTime' => <DateTime>,
            'RootCauseServiceId' => [
                'AccountId' => '<string>',
                'Name' => '<string>',
                'Names' => ['<string>', ...],
                'Type' => '<string>',
            ],
            'RootCauseServiceRequestImpactStatistics' => [
                'FaultCount' => <integer>,
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
            ],
            'StartTime' => <DateTime>,
            'State' => 'ACTIVE|CLOSED',
            'Summary' => '<string>',
            'TopAnomalousServices' => [
                [
                    'ServiceId' => [
                        'AccountId' => '<string>',
                        'Name' => '<string>',
                        'Names' => ['<string>', ...],
                        'Type' => '<string>',
                    ],
                ],
                // ...
            ],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
InsightSummaries
  • Type: Array of InsightSummary structures

The summary of each insight within the group matching the provided filters. The summary contains the InsightID, start and end time, the root cause service, the root cause and client impact statistics, the top anomalous services, and the status of the insight.

NextToken
  • Type: string

Pagination token.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetSamplingRules

$result = $client->getSamplingRules([/* ... */]);
$promise = $client->getSamplingRulesAsync([/* ... */]);

Retrieves all sampling rules.

Parameter Syntax

$result = $client->getSamplingRules([
    'NextToken' => '<string>',
]);

Parameter Details

Members
NextToken
  • Type: string

Pagination token.

Result Syntax

[
    'NextToken' => '<string>',
    'SamplingRuleRecords' => [
        [
            'CreatedAt' => <DateTime>,
            'ModifiedAt' => <DateTime>,
            'SamplingRule' => [
                'Attributes' => ['<string>', ...],
                'FixedRate' => <float>,
                'HTTPMethod' => '<string>',
                'Host' => '<string>',
                'Priority' => <integer>,
                'ReservoirSize' => <integer>,
                'ResourceARN' => '<string>',
                'RuleARN' => '<string>',
                'RuleName' => '<string>',
                'ServiceName' => '<string>',
                'ServiceType' => '<string>',
                'URLPath' => '<string>',
                'Version' => <integer>,
            ],
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

Pagination token.

SamplingRuleRecords
  • Type: Array of SamplingRuleRecord structures

Rule definitions and metadata.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetSamplingStatisticSummaries

$result = $client->getSamplingStatisticSummaries([/* ... */]);
$promise = $client->getSamplingStatisticSummariesAsync([/* ... */]);

Retrieves information about recent sampling results for all sampling rules.

Parameter Syntax

$result = $client->getSamplingStatisticSummaries([
    'NextToken' => '<string>',
]);

Parameter Details

Members
NextToken
  • Type: string

Pagination token.

Result Syntax

[
    'NextToken' => '<string>',
    'SamplingStatisticSummaries' => [
        [
            'BorrowCount' => <integer>,
            'RequestCount' => <integer>,
            'RuleName' => '<string>',
            'SampledCount' => <integer>,
            'Timestamp' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

Pagination token.

SamplingStatisticSummaries
  • Type: Array of SamplingStatisticSummary structures

Information about the number of requests instrumented for each sampling rule.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetSamplingTargets

$result = $client->getSamplingTargets([/* ... */]);
$promise = $client->getSamplingTargetsAsync([/* ... */]);

Requests a sampling quota for rules that the service is using to sample requests.

Parameter Syntax

$result = $client->getSamplingTargets([
    'SamplingStatisticsDocuments' => [ // REQUIRED
        [
            'BorrowCount' => <integer>,
            'ClientID' => '<string>', // REQUIRED
            'RequestCount' => <integer>, // REQUIRED
            'RuleName' => '<string>', // REQUIRED
            'SampledCount' => <integer>, // REQUIRED
            'Timestamp' => <integer || string || DateTime>, // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
SamplingStatisticsDocuments
  • Required: Yes
  • Type: Array of SamplingStatisticsDocument structures

Information about rules that the service is using to sample requests.

Result Syntax

[
    'LastRuleModification' => <DateTime>,
    'SamplingTargetDocuments' => [
        [
            'FixedRate' => <float>,
            'Interval' => <integer>,
            'ReservoirQuota' => <integer>,
            'ReservoirQuotaTTL' => <DateTime>,
            'RuleName' => '<string>',
        ],
        // ...
    ],
    'UnprocessedStatistics' => [
        [
            'ErrorCode' => '<string>',
            'Message' => '<string>',
            'RuleName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
LastRuleModification
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.

SamplingTargetDocuments
  • Type: Array of SamplingTargetDocument structures

Updated rules that the service should use to sample requests.

UnprocessedStatistics
  • Type: Array of UnprocessedStatistics structures

Information about SamplingStatisticsDocument that X-Ray could not process.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetServiceGraph

$result = $client->getServiceGraph([/* ... */]);
$promise = $client->getServiceGraphAsync([/* ... */]);

Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the Amazon Web Services X-Ray SDK. Downstream services can be other applications, Amazon Web Services resources, HTTP web APIs, or SQL databases.

Parameter Syntax

$result = $client->getServiceGraph([
    'EndTime' => <integer || string || DateTime>, // REQUIRED
    'GroupARN' => '<string>',
    'GroupName' => '<string>',
    'NextToken' => '<string>',
    'StartTime' => <integer || string || DateTime>, // REQUIRED
]);

Parameter Details

Members
EndTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end of the timeframe for which to generate a graph.

GroupARN
  • Type: string

The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.

GroupName
  • Type: string

The name of a group based on which you want to generate a graph.

NextToken
  • Type: string

Pagination token.

StartTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start of the time frame for which to generate a graph.

Result Syntax

[
    'ContainsOldGroupVersions' => true || false,
    'EndTime' => <DateTime>,
    'NextToken' => '<string>',
    'Services' => [
        [
            'AccountId' => '<string>',
            'DurationHistogram' => [
                [
                    'Count' => <integer>,
                    'Value' => <float>,
                ],
                // ...
            ],
            'Edges' => [
                [
                    'Aliases' => [
                        [
                            'Name' => '<string>',
                            'Names' => ['<string>', ...],
                            'Type' => '<string>',
                        ],
                        // ...
                    ],
                    'EdgeType' => '<string>',
                    'EndTime' => <DateTime>,
                    'ReceivedEventAgeHistogram' => [
                        [
                            'Count' => <integer>,
                            'Value' => <float>,
                        ],
                        // ...
                    ],
                    'ReferenceId' => <integer>,
                    'ResponseTimeHistogram' => [
                        [
                            'Count' => <integer>,
                            'Value' => <float>,
                        ],
                        // ...
                    ],
                    'StartTime' => <DateTime>,
                    'SummaryStatistics' => [
                        'ErrorStatistics' => [
                            'OtherCount' => <integer>,
                            'ThrottleCount' => <integer>,
                            'TotalCount' => <integer>,
                        ],
                        'FaultStatistics' => [
                            'OtherCount' => <integer>,
                            'TotalCount' => <integer>,
                        ],
                        'OkCount' => <integer>,
                        'TotalCount' => <integer>,
                        'TotalResponseTime' => <float>,
                    ],
                ],
                // ...
            ],
            'EndTime' => <DateTime>,
            'Name' => '<string>',
            'Names' => ['<string>', ...],
            'ReferenceId' => <integer>,
            'ResponseTimeHistogram' => [
                [
                    'Count' => <integer>,
                    'Value' => <float>,
                ],
                // ...
            ],
            'Root' => true || false,
            'StartTime' => <DateTime>,
            'State' => '<string>',
            'SummaryStatistics' => [
                'ErrorStatistics' => [
                    'OtherCount' => <integer>,
                    'ThrottleCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'FaultStatistics' => [
                    'OtherCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
                'TotalResponseTime' => <float>,
            ],
            'Type' => '<string>',
        ],
        // ...
    ],
    'StartTime' => <DateTime>,
]

Result Details

Members
ContainsOldGroupVersions
  • Type: boolean

A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.

EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end of the time frame for which the graph was generated.

NextToken
  • Type: string

Pagination token.

Services
  • Type: Array of Service structures

The services that have processed a traced request during the specified time frame.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start of the time frame for which the graph was generated.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetTimeSeriesServiceStatistics

$result = $client->getTimeSeriesServiceStatistics([/* ... */]);
$promise = $client->getTimeSeriesServiceStatisticsAsync([/* ... */]);

Get an aggregation of service statistics defined by a specific time range.

Parameter Syntax

$result = $client->getTimeSeriesServiceStatistics([
    'EndTime' => <integer || string || DateTime>, // REQUIRED
    'EntitySelectorExpression' => '<string>',
    'ForecastStatistics' => true || false,
    'GroupARN' => '<string>',
    'GroupName' => '<string>',
    'NextToken' => '<string>',
    'Period' => <integer>,
    'StartTime' => <integer || string || DateTime>, // REQUIRED
]);

Parameter Details

Members
EndTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end of the time frame for which to aggregate statistics.

EntitySelectorExpression
  • Type: string

A filter expression defining entities that will be aggregated for statistics. Supports ID, service, and edge functions. If no selector expression is specified, edge statistics are returned.

ForecastStatistics
  • Type: boolean

The forecasted high and low fault count values. Forecast enabled requests require the EntitySelectorExpression ID be provided.

GroupARN
  • Type: string

The Amazon Resource Name (ARN) of the group for which to pull statistics from.

GroupName
  • Type: string

The case-sensitive name of the group for which to pull statistics from.

NextToken
  • Type: string

Pagination token.

Period
  • Type: int

Aggregation period in seconds.

StartTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start of the time frame for which to aggregate statistics.

Result Syntax

[
    'ContainsOldGroupVersions' => true || false,
    'NextToken' => '<string>',
    'TimeSeriesServiceStatistics' => [
        [
            'EdgeSummaryStatistics' => [
                'ErrorStatistics' => [
                    'OtherCount' => <integer>,
                    'ThrottleCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'FaultStatistics' => [
                    'OtherCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
                'TotalResponseTime' => <float>,
            ],
            'ResponseTimeHistogram' => [
                [
                    'Count' => <integer>,
                    'Value' => <float>,
                ],
                // ...
            ],
            'ServiceForecastStatistics' => [
                'FaultCountHigh' => <integer>,
                'FaultCountLow' => <integer>,
            ],
            'ServiceSummaryStatistics' => [
                'ErrorStatistics' => [
                    'OtherCount' => <integer>,
                    'ThrottleCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'FaultStatistics' => [
                    'OtherCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
                'TotalResponseTime' => <float>,
            ],
            'Timestamp' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
ContainsOldGroupVersions
  • Type: boolean

A flag indicating whether or not a group's filter expression has been consistent, or if a returned aggregation might show statistics from an older version of the group's filter expression.

NextToken
  • Type: string

Pagination token.

TimeSeriesServiceStatistics
  • Type: Array of TimeSeriesServiceStatistics structures

The collection of statistics.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetTraceGraph

$result = $client->getTraceGraph([/* ... */]);
$promise = $client->getTraceGraphAsync([/* ... */]);

Retrieves a service graph for one or more specific trace IDs.

Parameter Syntax

$result = $client->getTraceGraph([
    'NextToken' => '<string>',
    'TraceIds' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
NextToken
  • Type: string

Pagination token.

TraceIds
  • Required: Yes
  • Type: Array of strings

Trace IDs of requests for which to generate a service graph.

Result Syntax

[
    'NextToken' => '<string>',
    'Services' => [
        [
            'AccountId' => '<string>',
            'DurationHistogram' => [
                [
                    'Count' => <integer>,
                    'Value' => <float>,
                ],
                // ...
            ],
            'Edges' => [
                [
                    'Aliases' => [
                        [
                            'Name' => '<string>',
                            'Names' => ['<string>', ...],
                            'Type' => '<string>',
                        ],
                        // ...
                    ],
                    'EdgeType' => '<string>',
                    'EndTime' => <DateTime>,
                    'ReceivedEventAgeHistogram' => [
                        [
                            'Count' => <integer>,
                            'Value' => <float>,
                        ],
                        // ...
                    ],
                    'ReferenceId' => <integer>,
                    'ResponseTimeHistogram' => [
                        [
                            'Count' => <integer>,
                            'Value' => <float>,
                        ],
                        // ...
                    ],
                    'StartTime' => <DateTime>,
                    'SummaryStatistics' => [
                        'ErrorStatistics' => [
                            'OtherCount' => <integer>,
                            'ThrottleCount' => <integer>,
                            'TotalCount' => <integer>,
                        ],
                        'FaultStatistics' => [
                            'OtherCount' => <integer>,
                            'TotalCount' => <integer>,
                        ],
                        'OkCount' => <integer>,
                        'TotalCount' => <integer>,
                        'TotalResponseTime' => <float>,
                    ],
                ],
                // ...
            ],
            'EndTime' => <DateTime>,
            'Name' => '<string>',
            'Names' => ['<string>', ...],
            'ReferenceId' => <integer>,
            'ResponseTimeHistogram' => [
                [
                    'Count' => <integer>,
                    'Value' => <float>,
                ],
                // ...
            ],
            'Root' => true || false,
            'StartTime' => <DateTime>,
            'State' => '<string>',
            'SummaryStatistics' => [
                'ErrorStatistics' => [
                    'OtherCount' => <integer>,
                    'ThrottleCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'FaultStatistics' => [
                    'OtherCount' => <integer>,
                    'TotalCount' => <integer>,
                ],
                'OkCount' => <integer>,
                'TotalCount' => <integer>,
                'TotalResponseTime' => <float>,
            ],
            'Type' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

Pagination token.

Services
  • Type: Array of Service structures

The services that have processed one of the specified requests.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

GetTraceSummaries

$result = $client->getTraceSummaries([/* ... */]);
$promise = $client->getTraceSummariesAsync([/* ... */]);

Retrieves IDs and annotations for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces.

A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com:

service("api.example.com")

This filter expression finds traces that have an annotation named account with the value 12345:

annotation.account = "12345"

For a full list of indexed fields and keywords that you can use in filter expressions, see Using Filter Expressions in the Amazon Web Services X-Ray Developer Guide.

Parameter Syntax

$result = $client->getTraceSummaries([
    'EndTime' => <integer || string || DateTime>, // REQUIRED
    'FilterExpression' => '<string>',
    'NextToken' => '<string>',
    'Sampling' => true || false,
    'SamplingStrategy' => [
        'Name' => 'PartialScan|FixedRate',
        'Value' => <float>,
    ],
    'StartTime' => <integer || string || DateTime>, // REQUIRED
    'TimeRangeType' => 'TraceId|Event',
]);

Parameter Details

Members
EndTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end of the time frame for which to retrieve traces.

FilterExpression
  • Type: string

Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.

NextToken
  • Type: string

Specify the pagination token returned by a previous request to retrieve the next page of results.

Sampling
  • Type: boolean

Set to true to get summaries for only a subset of available traces.

SamplingStrategy
  • Type: SamplingStrategy structure

A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.

StartTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start of the time frame for which to retrieve traces.

TimeRangeType
  • Type: string

A parameter to indicate whether to query trace summaries by TraceId or Event time.

Result Syntax

[
    'ApproximateTime' => <DateTime>,
    'NextToken' => '<string>',
    'TraceSummaries' => [
        [
            'Annotations' => [
                '<AnnotationKey>' => [
                    [
                        'AnnotationValue' => [
                            'BooleanValue' => true || false,
                            'NumberValue' => <float>,
                            'StringValue' => '<string>',
                        ],
                        'ServiceIds' => [
                            [
                                'AccountId' => '<string>',
                                'Name' => '<string>',
                                'Names' => ['<string>', ...],
                                'Type' => '<string>',
                            ],
                            // ...
                        ],
                    ],
                    // ...
                ],
                // ...
            ],
            'AvailabilityZones' => [
                [
                    'Name' => '<string>',
                ],
                // ...
            ],
            'Duration' => <float>,
            'EntryPoint' => [
                'AccountId' => '<string>',
                'Name' => '<string>',
                'Names' => ['<string>', ...],
                'Type' => '<string>',
            ],
            'ErrorRootCauses' => [
                [
                    'ClientImpacting' => true || false,
                    'Services' => [
                        [
                            'AccountId' => '<string>',
                            'EntityPath' => [
                                [
                                    'Exceptions' => [
                                        [
                                            'Message' => '<string>',
                                            'Name' => '<string>',
                                        ],
                                        // ...
                                    ],
                                    'Name' => '<string>',
                                    'Remote' => true || false,
                                ],
                                // ...
                            ],
                            'Inferred' => true || false,
                            'Name' => '<string>',
                            'Names' => ['<string>', ...],
                            'Type' => '<string>',
                        ],
                        // ...
                    ],
                ],
                // ...
            ],
            'FaultRootCauses' => [
                [
                    'ClientImpacting' => true || false,
                    'Services' => [
                        [
                            'AccountId' => '<string>',
                            'EntityPath' => [
                                [
                                    'Exceptions' => [
                                        [
                                            'Message' => '<string>',
                                            'Name' => '<string>',
                                        ],
                                        // ...
                                    ],
                                    'Name' => '<string>',
                                    'Remote' => true || false,
                                ],
                                // ...
                            ],
                            'Inferred' => true || false,
                            'Name' => '<string>',
                            'Names' => ['<string>', ...],
                            'Type' => '<string>',
                        ],
                        // ...
                    ],
                ],
                // ...
            ],
            'HasError' => true || false,
            'HasFault' => true || false,
            'HasThrottle' => true || false,
            'Http' => [
                'ClientIp' => '<string>',
                'HttpMethod' => '<string>',
                'HttpStatus' => <integer>,
                'HttpURL' => '<string>',
                'UserAgent' => '<string>',
            ],
            'Id' => '<string>',
            'InstanceIds' => [
                [
                    'Id' => '<string>',
                ],
                // ...
            ],
            'IsPartial' => true || false,
            'MatchedEventTime' => <DateTime>,
            'ResourceARNs' => [
                [
                    'ARN' => '<string>',
                ],
                // ...
            ],
            'ResponseTime' => <float>,
            'ResponseTimeRootCauses' => [
                [
                    'ClientImpacting' => true || false,
                    'Services' => [
                        [
                            'AccountId' => '<string>',
                            'EntityPath' => [
                                [
                                    'Coverage' => <float>,
                                    'Name' => '<string>',
                                    'Remote' => true || false,
                                ],
                                // ...
                            ],
                            'Inferred' => true || false,
                            'Name' => '<string>',
                            'Names' => ['<string>', ...],
                            'Type' => '<string>',
                        ],
                        // ...
                    ],
                ],
                // ...
            ],
            'Revision' => <integer>,
            'ServiceIds' => [
                [
                    'AccountId' => '<string>',
                    'Name' => '<string>',
                    'Names' => ['<string>', ...],
                    'Type' => '<string>',
                ],
                // ...
            ],
            'Users' => [
                [
                    'ServiceIds' => [
                        [
                            'AccountId' => '<string>',
                            'Name' => '<string>',
                            'Names' => ['<string>', ...],
                            'Type' => '<string>',
                        ],
                        // ...
                    ],
                    'UserName' => '<string>',
                ],
                // ...
            ],
        ],
        // ...
    ],
    'TracesProcessedCount' => <integer>,
]

Result Details

Members
ApproximateTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start time of this page of results.

NextToken
  • Type: string

If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.

TraceSummaries
  • Type: Array of TraceSummary structures

Trace IDs and annotations for traces that were found in the specified time frame.

TracesProcessedCount
  • Type: long (int|float)

The total number of traces processed, including traces that did not match the specified filter expression.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

ListResourcePolicies

$result = $client->listResourcePolicies([/* ... */]);
$promise = $client->listResourcePoliciesAsync([/* ... */]);

Returns the list of resource policies in the target Amazon Web Services account.

Parameter Syntax

$result = $client->listResourcePolicies([
    'NextToken' => '<string>',
]);

Parameter Details

Members
NextToken
  • Type: string

Not currently supported.

Result Syntax

[
    'NextToken' => '<string>',
    'ResourcePolicies' => [
        [
            'LastUpdatedTime' => <DateTime>,
            'PolicyDocument' => '<string>',
            'PolicyName' => '<string>',
            'PolicyRevisionId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

Pagination token. Not currently supported.

ResourcePolicies
  • Type: Array of ResourcePolicy structures

The list of resource policies in the target Amazon Web Services account.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Returns a list of tags that are applied to the specified Amazon Web Services X-Ray group or sampling rule.

Parameter Syntax

$result = $client->listTagsForResource([
    'NextToken' => '<string>',
    'ResourceARN' => '<string>', // REQUIRED
]);

Parameter Details

Members
NextToken
  • Type: string

A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results as the value of this parameter to get the next page of results.

ResourceARN
  • Required: Yes
  • Type: string

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

Result Syntax

[
    'NextToken' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results to get the next page of results.

Tags
  • Type: Array of Tag structures

A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

  • ResourceNotFoundException:

    The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is correct.

PutEncryptionConfig

$result = $client->putEncryptionConfig([/* ... */]);
$promise = $client->putEncryptionConfigAsync([/* ... */]);

Updates the encryption configuration for X-Ray data.

Parameter Syntax

$result = $client->putEncryptionConfig([
    'KeyId' => '<string>',
    'Type' => 'NONE|KMS', // REQUIRED
]);

Parameter Details

Members
KeyId
  • Type: string

An Amazon Web Services KMS key in one of the following formats:

  • Alias - The name of the key. For example, alias/MyKey.

  • Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Amazon Web Services X-Ray does not support asymmetric KMS keys.

  • ARN - The full Amazon Resource Name of the key ID or alias. For example, arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Use this format to specify a key in a different account.

Omit this key if you set Type to NONE.

Type
  • Required: Yes
  • Type: string

The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

Result Syntax

[
    'EncryptionConfig' => [
        'KeyId' => '<string>',
        'Status' => 'UPDATING|ACTIVE',
        'Type' => 'NONE|KMS',
    ],
]

Result Details

Members
EncryptionConfig
  • Type: EncryptionConfig structure

The new encryption configuration.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

PutResourcePolicy

$result = $client->putResourcePolicy([/* ... */]);
$promise = $client->putResourcePolicyAsync([/* ... */]);

Sets the resource policy to grant one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy will be associated with a specific Amazon Web Services account. Each Amazon Web Services account can have a maximum of 5 resource policies, and each policy name must be unique within that account. The maximum size of each resource policy is 5KB.

Parameter Syntax

$result = $client->putResourcePolicy([
    'BypassPolicyLockoutCheck' => true || false,
    'PolicyDocument' => '<string>', // REQUIRED
    'PolicyName' => '<string>', // REQUIRED
    'PolicyRevisionId' => '<string>',
]);

Parameter Details

Members
BypassPolicyLockoutCheck
  • Type: boolean

A flag to indicate whether to bypass the resource policy lockout safety check.

Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately.

Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request.

The default value is false.

PolicyDocument
  • Required: Yes
  • Type: string

The resource policy document, which can be up to 5kb in size.

PolicyName
  • Required: Yes
  • Type: string

The name of the resource policy. Must be unique within a specific Amazon Web Services account.

PolicyRevisionId
  • Type: string

Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account.

If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.

Result Syntax

[
    'ResourcePolicy' => [
        'LastUpdatedTime' => <DateTime>,
        'PolicyDocument' => '<string>',
        'PolicyName' => '<string>',
        'PolicyRevisionId' => '<string>',
    ],
]

Result Details

Members
ResourcePolicy
  • Type: ResourcePolicy structure

The resource policy document, as provided in the PutResourcePolicyRequest.

Errors

  • MalformedPolicyDocumentException:

    Invalid policy document provided in request.

  • LockoutPreventionException:

    The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.

  • InvalidPolicyRevisionIdException:

    A policy revision id was provided which does not match the latest policy revision. This exception is also if a policy revision id of 0 is provided via PutResourcePolicy and a policy with the same name already exists.

  • PolicySizeLimitExceededException:

    Exceeded the maximum size for a resource policy.

  • PolicyCountLimitExceededException:

    Exceeded the maximum number of resource policies for a target Amazon Web Services account.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

PutTelemetryRecords

$result = $client->putTelemetryRecords([/* ... */]);
$promise = $client->putTelemetryRecordsAsync([/* ... */]);

Used by the Amazon Web Services X-Ray daemon to upload telemetry.

Parameter Syntax

$result = $client->putTelemetryRecords([
    'EC2InstanceId' => '<string>',
    'Hostname' => '<string>',
    'ResourceARN' => '<string>',
    'TelemetryRecords' => [ // REQUIRED
        [
            'BackendConnectionErrors' => [
                'ConnectionRefusedCount' => <integer>,
                'HTTPCode4XXCount' => <integer>,
                'HTTPCode5XXCount' => <integer>,
                'OtherCount' => <integer>,
                'TimeoutCount' => <integer>,
                'UnknownHostCount' => <integer>,
            ],
            'SegmentsReceivedCount' => <integer>,
            'SegmentsRejectedCount' => <integer>,
            'SegmentsSentCount' => <integer>,
            'SegmentsSpilloverCount' => <integer>,
            'Timestamp' => <integer || string || DateTime>, // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
EC2InstanceId
  • Type: string

Hostname
  • Type: string

ResourceARN
  • Type: string

TelemetryRecords
  • Required: Yes
  • Type: Array of TelemetryRecord structures

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

PutTraceSegments

$result = $client->putTraceSegments([/* ... */]);
$promise = $client->putTraceSegmentsAsync([/* ... */]);

Uploads segment documents to Amazon Web Services X-Ray. The X-Ray SDK generates segment documents and sends them to the X-Ray daemon, which uploads them in batches. A segment document can be a completed segment, an in-progress segment, or an array of subsegments.

Segments must include the following fields. For the full segment document schema, see Amazon Web Services X-Ray Segment Documents in the Amazon Web Services X-Ray Developer Guide.

Required segment document fields

  • name - The name of the service that handled the request.

  • id - A 64-bit identifier for the segment, unique among segments in the same trace, in 16 hexadecimal digits.

  • trace_id - A unique identifier that connects all segments and subsegments originating from a single client request.

  • start_time - Time the segment or subsegment was created, in floating point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010 or 1.480615200010E9.

  • end_time - Time the segment or subsegment was closed. For example, 1480615200.090 or 1.480615200090E9. Specify either an end_time or in_progress.

  • in_progress - Set to true instead of specifying an end_time to record that a segment has been started, but is not complete. Send an in-progress segment when your application receives a request that will take a long time to serve, to trace that the request was received. When the response is sent, send the complete segment to overwrite the in-progress segment.

A trace_id consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. This includes:

Trace ID Format

  • The version number, for instance, 1.

  • The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200 seconds, or 58406520 in hexadecimal.

  • A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits.

Parameter Syntax

$result = $client->putTraceSegments([
    'TraceSegmentDocuments' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
TraceSegmentDocuments
  • Required: Yes
  • Type: Array of strings

A string containing a JSON document defining one or more segments or subsegments.

Result Syntax

[
    'UnprocessedTraceSegments' => [
        [
            'ErrorCode' => '<string>',
            'Id' => '<string>',
            'Message' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
UnprocessedTraceSegments
  • Type: Array of UnprocessedTraceSegment structures

Segments that failed processing.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Applies tags to an existing Amazon Web Services X-Ray group or sampling rule.

Parameter Syntax

$result = $client->tagResource([
    'ResourceARN' => '<string>', // REQUIRED
    'Tags' => [ // REQUIRED
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ResourceARN
  • Required: Yes
  • Type: string

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

Tags
  • Required: Yes
  • Type: Array of Tag structures

A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50

  • Maximum tag key length: 128 Unicode characters

  • Maximum tag value length: 256 Unicode characters

  • Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @

  • Tag keys and values are case sensitive.

  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use. You cannot edit or delete system tags.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

  • ResourceNotFoundException:

    The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is correct.

  • TooManyTagsException:

    You have exceeded the maximum number of tags you can apply to this resource.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot edit or delete system tags (those with an aws: prefix).

Parameter Syntax

$result = $client->untagResource([
    'ResourceARN' => '<string>', // REQUIRED
    'TagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceARN
  • Required: Yes
  • Type: string

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

TagKeys
  • Required: Yes
  • Type: Array of strings

Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

  • ResourceNotFoundException:

    The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is correct.

UpdateGroup

$result = $client->updateGroup([/* ... */]);
$promise = $client->updateGroupAsync([/* ... */]);

Updates a group resource.

Parameter Syntax

$result = $client->updateGroup([
    'FilterExpression' => '<string>',
    'GroupARN' => '<string>',
    'GroupName' => '<string>',
    'InsightsConfiguration' => [
        'InsightsEnabled' => true || false,
        'NotificationsEnabled' => true || false,
    ],
]);

Parameter Details

Members
FilterExpression
  • Type: string

The updated filter expression defining criteria by which to group traces.

GroupARN
  • Type: string

The ARN that was generated upon creation.

GroupName
  • Type: string

The case-sensitive name of the group.

InsightsConfiguration
  • Type: InsightsConfiguration structure

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.

  • The NotificationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.

Result Syntax

[
    'Group' => [
        'FilterExpression' => '<string>',
        'GroupARN' => '<string>',
        'GroupName' => '<string>',
        'InsightsConfiguration' => [
            'InsightsEnabled' => true || false,
            'NotificationsEnabled' => true || false,
        ],
    ],
]

Result Details

Members
Group
  • Type: Group structure

The group that was updated. Contains the name of the group that was updated, the ARN of the group that was updated, the updated filter expression, and the updated insight configuration assigned to the group.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

UpdateSamplingRule

$result = $client->updateSamplingRule([/* ... */]);
$promise = $client->updateSamplingRuleAsync([/* ... */]);

Modifies a sampling rule's configuration.

Parameter Syntax

$result = $client->updateSamplingRule([
    'SamplingRuleUpdate' => [ // REQUIRED
        'Attributes' => ['<string>', ...],
        'FixedRate' => <float>,
        'HTTPMethod' => '<string>',
        'Host' => '<string>',
        'Priority' => <integer>,
        'ReservoirSize' => <integer>,
        'ResourceARN' => '<string>',
        'RuleARN' => '<string>',
        'RuleName' => '<string>',
        'ServiceName' => '<string>',
        'ServiceType' => '<string>',
        'URLPath' => '<string>',
    ],
]);

Parameter Details

Members
SamplingRuleUpdate
  • Required: Yes
  • Type: SamplingRuleUpdate structure

The rule and fields to change.

Result Syntax

[
    'SamplingRuleRecord' => [
        'CreatedAt' => <DateTime>,
        'ModifiedAt' => <DateTime>,
        'SamplingRule' => [
            'Attributes' => ['<string>', ...],
            'FixedRate' => <float>,
            'HTTPMethod' => '<string>',
            'Host' => '<string>',
            'Priority' => <integer>,
            'ReservoirSize' => <integer>,
            'ResourceARN' => '<string>',
            'RuleARN' => '<string>',
            'RuleName' => '<string>',
            'ServiceName' => '<string>',
            'ServiceType' => '<string>',
            'URLPath' => '<string>',
            'Version' => <integer>,
        ],
    ],
]

Result Details

Members
SamplingRuleRecord
  • Type: SamplingRuleRecord structure

The updated rule definition and metadata.

Errors

  • InvalidRequestException:

    The request is missing required parameters or has invalid parameters.

  • ThrottledException:

    The request exceeds the maximum number of requests per second.

Shapes

Alias

Description

An alias for an edge.

Members
Name
  • Type: string

The canonical name of the alias.

Names
  • Type: Array of strings

A list of names for the alias, including the canonical name.

Type
  • Type: string

The type of the alias.

AnnotationValue

Description

Value of a segment annotation. Has one of three value types: Number, Boolean, or String.

Members
BooleanValue
  • Type: boolean

Value for a Boolean annotation.

NumberValue
  • Type: double

Value for a Number annotation.

StringValue
  • Type: string

Value for a String annotation.

AnomalousService

Description

The service within the service graph that has anomalously high fault rates.

Members
ServiceId
  • Type: ServiceId structure

AvailabilityZoneDetail

Description

A list of Availability Zones corresponding to the segments in a trace.

Members
Name
  • Type: string

The name of a corresponding Availability Zone.

BackendConnectionErrors

Description

Members
ConnectionRefusedCount
  • Type: int

HTTPCode4XXCount
  • Type: int

HTTPCode5XXCount
  • Type: int

OtherCount
  • Type: int

TimeoutCount
  • Type: int

UnknownHostCount
  • Type: int

Edge

Description

Information about a connection between two services. An edge can be a synchronous connection, such as typical call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an SNS queue.

Members
Aliases
  • Type: Array of Alias structures

Aliases for the edge.

EdgeType
  • Type: string

Describes an asynchronous connection, with a value of link.

EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end time of the last segment on the edge.

ReceivedEventAgeHistogram
  • Type: Array of HistogramEntry structures

A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link.

ReferenceId
  • Type: int

Identifier of the edge. Unique within a service map.

ResponseTimeHistogram
  • Type: Array of HistogramEntry structures

A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start time of the first segment on the edge.

SummaryStatistics
  • Type: EdgeStatistics structure

Response statistics for segments on the edge.

EdgeStatistics

Description

Response statistics for an edge.

Members
ErrorStatistics
  • Type: ErrorStatistics structure

Information about requests that failed with a 4xx Client Error status code.

FaultStatistics
  • Type: FaultStatistics structure

Information about requests that failed with a 5xx Server Error status code.

OkCount
  • Type: long (int|float)

The number of requests that completed with a 2xx Success status code.

TotalCount
  • Type: long (int|float)

The total number of completed requests.

TotalResponseTime
  • Type: double

The aggregate response time of completed requests.

EncryptionConfig

Description

A configuration document that specifies encryption configuration settings.

Members
KeyId
  • Type: string

The ID of the KMS key used for encryption, if applicable.

Status
  • Type: string

The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of the new and old settings.

Type
  • Type: string

The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for default encryption.

ErrorRootCause

Description

The root cause of a trace summary error.

Members
ClientImpacting
  • Type: boolean

A flag that denotes that the root cause impacts the trace client.

Services
  • Type: Array of ErrorRootCauseService structures

A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

ErrorRootCauseEntity

Description

A collection of segments and corresponding subsegments associated to a trace summary error.

Members
Exceptions
  • Type: Array of RootCauseException structures

The types and messages of the exceptions.

Name
  • Type: string

The name of the entity.

Remote
  • Type: boolean

A flag that denotes a remote subsegment.

ErrorRootCauseService

Description

A collection of fields identifying the services in a trace summary error.

Members
AccountId
  • Type: string

The account ID associated to the service.

EntityPath
  • Type: Array of ErrorRootCauseEntity structures

The path of root cause entities found on the service.

Inferred
  • Type: boolean

A Boolean value indicating if the service is inferred from the trace.

Name
  • Type: string

The service name.

Names
  • Type: Array of strings

A collection of associated service names.

Type
  • Type: string

The type associated to the service.

ErrorStatistics

Description

Information about requests that failed with a 4xx Client Error status code.

Members
OtherCount
  • Type: long (int|float)

The number of requests that failed with untracked 4xx Client Error status codes.

ThrottleCount
  • Type: long (int|float)

The number of requests that failed with a 419 throttling status code.

TotalCount
  • Type: long (int|float)

The total number of requests that failed with a 4xx Client Error status code.

FaultRootCause

Description

The root cause information for a trace summary fault.

Members
ClientImpacting
  • Type: boolean

A flag that denotes that the root cause impacts the trace client.

Services
  • Type: Array of FaultRootCauseService structures

A list of corresponding services. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

FaultRootCauseEntity

Description

A collection of segments and corresponding subsegments associated to a trace summary fault error.

Members
Exceptions
  • Type: Array of RootCauseException structures

The types and messages of the exceptions.

Name
  • Type: string

The name of the entity.

Remote
  • Type: boolean

A flag that denotes a remote subsegment.

FaultRootCauseService

Description

A collection of fields identifying the services in a trace summary fault.

Members
AccountId
  • Type: string

The account ID associated to the service.

EntityPath
  • Type: Array of FaultRootCauseEntity structures

The path of root cause entities found on the service.

Inferred
  • Type: boolean

A Boolean value indicating if the service is inferred from the trace.

Name
  • Type: string

The service name.

Names
  • Type: Array of strings

A collection of associated service names.

Type
  • Type: string

The type associated to the service.

FaultStatistics

Description

Information about requests that failed with a 5xx Server Error status code.

Members
OtherCount
  • Type: long (int|float)

The number of requests that failed with untracked 5xx Server Error status codes.

TotalCount
  • Type: long (int|float)

The total number of requests that failed with a 5xx Server Error status code.

ForecastStatistics

Description

The predicted high and low fault count. This is used to determine if a service has become anomalous and if an insight should be created.

Members
FaultCountHigh
  • Type: long (int|float)

The upper limit of fault counts for a service.

FaultCountLow
  • Type: long (int|float)

The lower limit of fault counts for a service.

Group

Description

Details and metadata for a group.

Members
FilterExpression
  • Type: string

The filter expression defining the parameters to include traces.

GroupARN
  • Type: string

The Amazon Resource Name (ARN) of the group generated based on the GroupName.

GroupName
  • Type: string

The unique case-sensitive name of the group.

InsightsConfiguration
  • Type: InsightsConfiguration structure

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.

  • The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.

GroupSummary

Description

Details for a group without metadata.

Members
FilterExpression
  • Type: string

The filter expression defining the parameters to include traces.

GroupARN
  • Type: string

The ARN of the group generated based on the GroupName.

GroupName
  • Type: string

The unique case-sensitive name of the group.

InsightsConfiguration
  • Type: InsightsConfiguration structure

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.

  • The NotificationsEnabled boolean can be set to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

HistogramEntry

Description

An entry in a histogram for a statistic. A histogram maps the range of observed values on the X axis, and the prevalence of each value on the Y axis.

Members
Count
  • Type: int

The prevalence of the entry.

Value
  • Type: double

The value of the entry.

Http

Description

Information about an HTTP request.

Members
ClientIp
  • Type: string

The IP address of the requestor.

HttpMethod
  • Type: string

The request method.

HttpStatus
  • Type: int

The response status.

HttpURL
  • Type: string

The request URL.

UserAgent
  • Type: string

The request's user agent string.

Insight

Description

When fault rates go outside of the expected range, X-Ray creates an insight. Insights tracks emergent issues within your applications.

Members
Categories
  • Type: Array of strings

The categories that label and describe the type of insight.

ClientRequestImpactStatistics
  • Type: RequestImpactStatistics structure

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the insight ended.

GroupARN
  • Type: string

The Amazon Resource Name (ARN) of the group that the insight belongs to.

GroupName
  • Type: string

The name of the group that the insight belongs to.

InsightId
  • Type: string

The insights unique identifier.

RootCauseServiceId
  • Type: ServiceId structure

RootCauseServiceRequestImpactStatistics
  • Type: RequestImpactStatistics structure

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the insight began.

State
  • Type: string

The current state of the insight.

Summary
  • Type: string

A brief description of the insight.

TopAnomalousServices
  • Type: Array of AnomalousService structures

The service within the insight that is most impacted by the incident.

InsightEvent

Description

X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.

Members
ClientRequestImpactStatistics
  • Type: RequestImpactStatistics structure

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

EventTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the event was recorded.

RootCauseServiceRequestImpactStatistics
  • Type: RequestImpactStatistics structure

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

Summary
  • Type: string

A brief description of the event.

TopAnomalousServices
  • Type: Array of AnomalousService structures

The service during the event that is most impacted by the incident.

InsightImpactGraphEdge

Description

The connection between two service in an insight impact graph.

Members
ReferenceId
  • Type: int

Identifier of the edge. Unique within a service map.

InsightImpactGraphService

Description

Information about an application that processed requests, users that made requests, or downstream services, resources, and applications that an application used.

Members
AccountId
  • Type: string

Identifier of the Amazon Web Services account in which the service runs.

Edges
  • Type: Array of InsightImpactGraphEdge structures

Connections to downstream services.

Name
  • Type: string

The canonical name of the service.

Names
  • Type: Array of strings

A list of names for the service, including the canonical name.

ReferenceId
  • Type: int

Identifier for the service. Unique within the service map.

Type
  • Type: string

Identifier for the service. Unique within the service map.

  • Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used.

  • Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table.

  • Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table.

  • remote - A downstream service of indeterminate type.

InsightSummary

Description

Information that describes an insight.

Members
Categories
  • Type: Array of strings

Categories The categories that label and describe the type of insight.

ClientRequestImpactStatistics
  • Type: RequestImpactStatistics structure

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the insight ended.

GroupARN
  • Type: string

The Amazon Resource Name (ARN) of the group that the insight belongs to.

GroupName
  • Type: string

The name of the group that the insight belongs to.

InsightId
  • Type: string

The insights unique identifier.

LastUpdateTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, that the insight was last updated.

RootCauseServiceId
  • Type: ServiceId structure

RootCauseServiceRequestImpactStatistics
  • Type: RequestImpactStatistics structure

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The time, in Unix seconds, at which the insight began.

State
  • Type: string

The current state of the insight.

Summary
  • Type: string

A brief description of the insight.

TopAnomalousServices
  • Type: Array of AnomalousService structures

The service within the insight that is most impacted by the incident.

InsightsConfiguration

Description

The structure containing configurations related to insights.

Members
InsightsEnabled
  • Type: boolean

Set the InsightsEnabled value to true to enable insights or false to disable insights.

NotificationsEnabled
  • Type: boolean

Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

InstanceIdDetail

Description

A list of EC2 instance IDs corresponding to the segments in a trace.

Members
Id
  • Type: string

The ID of a corresponding EC2 instance.

InvalidPolicyRevisionIdException

Description

A policy revision id was provided which does not match the latest policy revision. This exception is also if a policy revision id of 0 is provided via PutResourcePolicy and a policy with the same name already exists.

Members
Message
  • Type: string

InvalidRequestException

Description

The request is missing required parameters or has invalid parameters.

Members
Message
  • Type: string

LockoutPreventionException

Description

The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.

Members
Message
  • Type: string

MalformedPolicyDocumentException

Description

Invalid policy document provided in request.

Members
Message
  • Type: string

PolicyCountLimitExceededException

Description

Exceeded the maximum number of resource policies for a target Amazon Web Services account.

Members
Message
  • Type: string

PolicySizeLimitExceededException

Description

Exceeded the maximum size for a resource policy.

Members
Message
  • Type: string

RequestImpactStatistics

Description

Statistics that describe how the incident has impacted a service.

Members
FaultCount
  • Type: long (int|float)

The number of requests that have resulted in a fault,

OkCount
  • Type: long (int|float)

The number of successful requests.

TotalCount
  • Type: long (int|float)

The total number of requests to the service.

ResourceARNDetail

Description

A list of resources ARNs corresponding to the segments in a trace.

Members
ARN
  • Type: string

The ARN of a corresponding resource.

ResourceNotFoundException

Description

The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is correct.

Members
Message
  • Type: string
ResourceName
  • Type: string

ResourcePolicy

Description

A resource policy grants one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon Web Services account.

Members
LastUpdatedTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

When the policy was last updated, in Unix time seconds.

PolicyDocument
  • Type: string

The resource policy document, which can be up to 5kb in size.

PolicyName
  • Type: string

The name of the resource policy. Must be unique within a specific Amazon Web Services account.

PolicyRevisionId
  • Type: string

Returns the current policy revision id for this policy name.

ResponseTimeRootCause

Description

The root cause information for a response time warning.

Members
ClientImpacting
  • Type: boolean

A flag that denotes that the root cause impacts the trace client.

Services
  • Type: Array of ResponseTimeRootCauseService structures

A list of corresponding services. A service identifies a segment and contains a name, account ID, type, and inferred flag.

ResponseTimeRootCauseEntity

Description

A collection of segments and corresponding subsegments associated to a response time warning.

Members
Coverage
  • Type: double

The type and messages of the exceptions.

Name
  • Type: string

The name of the entity.

Remote
  • Type: boolean

A flag that denotes a remote subsegment.

ResponseTimeRootCauseService

Description

A collection of fields identifying the service in a response time warning.

Members
AccountId
  • Type: string

The account ID associated to the service.

EntityPath
  • Type: Array of ResponseTimeRootCauseEntity structures

The path of root cause entities found on the service.

Inferred
  • Type: boolean

A Boolean value indicating if the service is inferred from the trace.

Name
  • Type: string

The service name.

Names
  • Type: Array of strings

A collection of associated service names.

Type
  • Type: string

The type associated to the service.

RootCauseException

Description

The exception associated with a root cause.

Members
Message
  • Type: string

The message of the exception.

Name
  • Type: string

The name of the exception.

RuleLimitExceededException

Description

You have reached the maximum number of sampling rules.

Members
Message
  • Type: string

SamplingRule

Description

A sampling rule that services use to decide whether to instrument a request. Rule fields can match properties of the service, or properties of a request. The service can ignore rules that don't match its properties.

Members
Attributes
  • Type: Associative array of custom strings keys (AttributeKey) to strings

Matches attributes derived from the request.

FixedRate
  • Required: Yes
  • Type: double

The percentage of matching requests to instrument, after the reservoir is exhausted.

HTTPMethod
  • Required: Yes
  • Type: string

Matches the HTTP method of a request.

Host
  • Required: Yes
  • Type: string

Matches the hostname from a request URL.

Priority
  • Required: Yes
  • Type: int

The priority of the sampling rule.

ReservoirSize
  • Required: Yes
  • Type: int

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

ResourceARN
  • Required: Yes
  • Type: string

Matches the ARN of the Amazon Web Services resource on which the service runs.

RuleARN
  • Type: string

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

RuleName
  • Type: string

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

ServiceName
  • Required: Yes
  • Type: string

Matches the name that the service uses to identify itself in segments.

ServiceType
  • Required: Yes
  • Type: string

Matches the origin that the service uses to identify its type in segments.

URLPath
  • Required: Yes
  • Type: string

Matches the path from a request URL.

Version
  • Required: Yes
  • Type: int

The version of the sampling rule format (1).

SamplingRuleRecord

Description

A SamplingRule and its metadata.

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

When the rule was created.

ModifiedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

When the rule was last modified.

SamplingRule
  • Type: SamplingRule structure

The sampling rule.

SamplingRuleUpdate

Description

A document specifying changes to a sampling rule's configuration.

Members
Attributes
  • Type: Associative array of custom strings keys (AttributeKey) to strings

Matches attributes derived from the request.

FixedRate
  • Type: double

The percentage of matching requests to instrument, after the reservoir is exhausted.

HTTPMethod
  • Type: string

Matches the HTTP method of a request.

Host
  • Type: string

Matches the hostname from a request URL.

Priority
  • Type: int

The priority of the sampling rule.

ReservoirSize
  • Type: int

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

ResourceARN
  • Type: string

Matches the ARN of the Amazon Web Services resource on which the service runs.

RuleARN
  • Type: string

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

RuleName
  • Type: string

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

ServiceName
  • Type: string

Matches the name that the service uses to identify itself in segments.

ServiceType
  • Type: string

Matches the origin that the service uses to identify its type in segments.

URLPath
  • Type: string

Matches the path from a request URL.

SamplingStatisticSummary

Description

Aggregated request sampling data for a sampling rule across all services for a 10-second window.

Members
BorrowCount
  • Type: int

The number of requests recorded with borrowed reservoir quota.

RequestCount
  • Type: int

The number of requests that matched the rule.

RuleName
  • Type: string

The name of the sampling rule.

SampledCount
  • Type: int

The number of requests recorded.

Timestamp
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start time of the reporting window.

SamplingStatisticsDocument

Description

Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.

Members
BorrowCount
  • Type: int

The number of requests recorded with borrowed reservoir quota.

ClientID
  • Required: Yes
  • Type: string

A unique identifier for the service in hexadecimal.

RequestCount
  • Required: Yes
  • Type: int

The number of requests that matched the rule.

RuleName
  • Required: Yes
  • Type: string

The name of the sampling rule.

SampledCount
  • Required: Yes
  • Type: int

The number of requests recorded.

Timestamp
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The current time.

SamplingStrategy

Description

The name and value of a sampling rule to apply to a trace summary.

Members
Name
  • Type: string

The name of a sampling rule.

Value
  • Type: double

The value of a sampling rule.

SamplingTargetDocument

Description

Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.

Members
FixedRate
  • Type: double

The percentage of matching requests to instrument, after the reservoir is exhausted.

Interval
  • Type: int

The number of seconds for the service to wait before getting sampling targets again.

ReservoirQuota
  • Type: int

The number of requests per second that X-Ray allocated for this service.

ReservoirQuotaTTL
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

When the reservoir quota expires.

RuleName
  • Type: string

The name of the sampling rule.

Segment

Description

A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with PutTraceSegments, or an inferred segment for a downstream service, generated from a subsegment sent by the service that called it.

For the full segment document schema, see Amazon Web Services X-Ray Segment Documents in the Amazon Web Services X-Ray Developer Guide.

Members
Document
  • Type: string

The segment document.

Id
  • Type: string

The segment's ID.

Service

Description

Information about an application that processed requests, users that made requests, or downstream services, resources, and applications that an application used.

Members
AccountId
  • Type: string

Identifier of the Amazon Web Services account in which the service runs.

DurationHistogram
  • Type: Array of HistogramEntry structures

A histogram that maps the spread of service durations.

Edges
  • Type: Array of Edge structures

Connections to downstream services.

EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The end time of the last segment that the service generated.

Name
  • Type: string

The canonical name of the service.

Names
  • Type: Array of strings

A list of names for the service, including the canonical name.

ReferenceId
  • Type: int

Identifier for the service. Unique within the service map.

ResponseTimeHistogram
  • Type: Array of HistogramEntry structures

A histogram that maps the spread of service response times.

Root
  • Type: boolean

Indicates that the service was the first service to process a request.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The start time of the first segment that the service generated.

State
  • Type: string

The service's state.

SummaryStatistics
  • Type: ServiceStatistics structure

Aggregated statistics for the service.

Type
  • Type: string

The type of service.

  • Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used.

  • Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table.

  • client - Represents the clients that sent requests to a root service.

  • remote - A downstream service of indeterminate type.

ServiceId

Description

Members
AccountId
  • Type: string

Name
  • Type: string

Names
  • Type: Array of strings

Type
  • Type: string

ServiceStatistics

Description

Response statistics for a service.

Members
ErrorStatistics
  • Type: ErrorStatistics structure

Information about requests that failed with a 4xx Client Error status code.

FaultStatistics
  • Type: FaultStatistics structure

Information about requests that failed with a 5xx Server Error status code.

OkCount
  • Type: long (int|float)

The number of requests that completed with a 2xx Success status code.

TotalCount
  • Type: long (int|float)

The total number of completed requests.

TotalResponseTime
  • Type: double

The aggregate response time of completed requests.

Tag

Description

A map that contains tag keys and tag values to attach to an Amazon Web Services X-Ray group or sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50

  • Tag keys and values are case sensitive.

  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use. You cannot edit or delete system tags.

Members
Key
  • Required: Yes
  • Type: string

A tag key, such as Stage or Name. A tag key cannot be empty. The key can be a maximum of 128 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

Value
  • Required: Yes
  • Type: string

An optional tag value, such as Production or test-only. The value can be a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

TelemetryRecord

Description

Members
BackendConnectionErrors
  • Type: BackendConnectionErrors structure

SegmentsReceivedCount
  • Type: int

SegmentsRejectedCount
  • Type: int

SegmentsSentCount
  • Type: int

SegmentsSpilloverCount
  • Type: int

Timestamp
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

ThrottledException

Description

The request exceeds the maximum number of requests per second.

Members
Message
  • Type: string

TimeSeriesServiceStatistics

Description

A list of TimeSeriesStatistic structures.

Members
EdgeSummaryStatistics
  • Type: EdgeStatistics structure

Response statistics for an edge.

ResponseTimeHistogram
  • Type: Array of HistogramEntry structures

The response time histogram for the selected entities.

ServiceForecastStatistics
  • Type: ForecastStatistics structure

The forecasted high and low fault count values.

ServiceSummaryStatistics
  • Type: ServiceStatistics structure

Response statistics for a service.

Timestamp
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp of the window for which statistics are aggregated.

TooManyTagsException

Description

You have exceeded the maximum number of tags you can apply to this resource.

Members
Message
  • Type: string
ResourceName
  • Type: string

Trace

Description

A collection of segment documents with matching trace IDs.

Members
Duration
  • Type: double

The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.

Id
  • Type: string

The unique identifier for the request that generated the trace's segments and subsegments.

LimitExceeded
  • Type: boolean

LimitExceeded is set to true when the trace has exceeded the Trace document size limit. For more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and quotas.

Segments
  • Type: Array of Segment structures

Segment documents for the segments and subsegments that comprise the trace.

TraceSummary

Description

Metadata generated from the segment documents in a trace.

Members
Annotations
  • Type: Associative array of custom strings keys (AnnotationKey) to ValueWithServiceIds structuress

Annotations from the trace's segment documents.

AvailabilityZones
  • Type: Array of AvailabilityZoneDetail structures

A list of Availability Zones for any zone corresponding to the trace segments.

Duration
  • Type: double

The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.

EntryPoint
  • Type: ServiceId structure

The root of a trace.

ErrorRootCauses
  • Type: Array of ErrorRootCause structures

A collection of ErrorRootCause structures corresponding to the trace segments.

FaultRootCauses
  • Type: Array of FaultRootCause structures

A collection of FaultRootCause structures corresponding to the trace segments.

HasError
  • Type: boolean

The root segment document has a 400 series error.

HasFault
  • Type: boolean

The root segment document has a 500 series error.

HasThrottle
  • Type: boolean

One or more of the segment documents has a 429 throttling error.

Http
  • Type: Http structure

Information about the HTTP request served by the trace.

Id
  • Type: string

The unique identifier for the request that generated the trace's segments and subsegments.

InstanceIds
  • Type: Array of InstanceIdDetail structures

A list of EC2 instance IDs for any instance corresponding to the trace segments.

IsPartial
  • Type: boolean

One or more of the segment documents is in progress.

MatchedEventTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The matched time stamp of a defined event.

ResourceARNs
  • Type: Array of ResourceARNDetail structures

A list of resource ARNs for any resource corresponding to the trace segments.

ResponseTime
  • Type: double

The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.

ResponseTimeRootCauses
  • Type: Array of ResponseTimeRootCause structures

A collection of ResponseTimeRootCause structures corresponding to the trace segments.

Revision
  • Type: int

The revision number of a trace.

ServiceIds
  • Type: Array of ServiceId structures

Service IDs from the trace's segment documents.

Users
  • Type: Array of TraceUser structures

Users from the trace's segment documents.

TraceUser

Description

Information about a user recorded in segment documents.

Members
ServiceIds
  • Type: Array of ServiceId structures

Services that the user's request hit.

UserName
  • Type: string

The user's name.

UnprocessedStatistics

Description

Sampling statistics from a call to GetSamplingTargets that X-Ray could not process.

Members
ErrorCode
  • Type: string

The error code.

Message
  • Type: string

The error message.

RuleName
  • Type: string

The name of the sampling rule.

UnprocessedTraceSegment

Description

Information about a segment that failed processing.

Members
ErrorCode
  • Type: string

The error that caused processing to fail.

Id
  • Type: string

The segment's ID.

Message
  • Type: string

The error message.

ValueWithServiceIds

Description

Information about a segment annotation.

Members
AnnotationValue
  • Type: AnnotationValue structure

Values of the annotation.

ServiceIds
  • Type: Array of ServiceId structures

Services to which the annotation applies.

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