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
    • Arn
      • Exception
    • Athena
      • Exception
    • AuditManager
      • Exception
    • AugmentedAIRuntime
      • Exception
    • AutoScaling
      • Exception
    • AutoScalingPlans
      • Exception
    • Backup
      • Exception
    • BackupGateway
      • Exception
    • Batch
      • Exception
    • BillingConductor
      • Exception
    • Braket
      • Exception
    • Budgets
      • Exception
    • Chime
      • Exception
    • ChimeSDKIdentity
      • Exception
    • ChimeSDKMediaPipelines
      • Exception
    • ChimeSDKMeetings
      • Exception
    • ChimeSDKMessaging
      • Exception
    • ClientSideMonitoring
      • Exception
    • Cloud9
      • Exception
    • CloudControlApi
      • Exception
    • CloudDirectory
      • Exception
    • CloudFormation
      • Exception
    • CloudFront
      • Exception
    • CloudHsm
      • Exception
    • CloudHSMV2
      • Exception
    • CloudSearch
      • Exception
    • CloudSearchDomain
      • Exception
    • CloudTrail
      • Exception
    • CloudWatch
      • Exception
    • CloudWatchEvents
      • Exception
    • CloudWatchEvidently
      • Exception
    • CloudWatchLogs
      • Exception
    • CloudWatchRUM
      • Exception
    • CodeArtifact
      • Exception
    • CodeBuild
      • 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
    • ConnectContactLens
      • Exception
    • ConnectParticipant
      • Exception
    • ConnectWisdomService
      • 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
    • 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
    • Endpoint
      • UseDualstackEndpoint
        • Exception
      • UseFipsEndpoint
        • Exception
    • EndpointDiscovery
      • Exception
    • 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
    • IoTJobsDataPlane
      • Exception
    • IoTSecureTunneling
      • Exception
    • IoTSiteWise
      • Exception
    • IoTThingsGraph
      • Exception
    • IoTTwinMaker
      • Exception
    • IoTWireless
      • Exception
    • IVS
      • Exception
    • ivschat
      • Exception
    • Kafka
      • Exception
    • KafkaConnect
      • Exception
    • kendra
      • Exception
    • Keyspaces
      • Exception
    • Kinesis
      • Exception
    • KinesisAnalytics
      • Exception
    • KinesisAnalyticsV2
      • Exception
    • KinesisVideo
      • Exception
    • KinesisVideoArchivedMedia
      • Exception
    • KinesisVideoMedia
      • Exception
    • KinesisVideoSignalingChannels
      • Exception
    • Kms
      • Exception
    • LakeFormation
      • Exception
    • Lambda
      • Exception
    • LexModelBuildingService
      • Exception
    • LexModelsV2
      • Exception
    • LexRuntimeService
      • Exception
    • LexRuntimeV2
      • Exception
    • LicenseManager
      • Exception
    • Lightsail
      • Exception
    • LocationService
      • Exception
    • LookoutEquipment
      • Exception
    • LookoutforVision
      • Exception
    • LookoutMetrics
      • Exception
    • MachineLearning
      • Exception
    • Macie
      • Exception
    • Macie2
      • 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
    • MigrationHubRefactorSpaces
      • Exception
    • MigrationHubStrategyRecommendations
      • Exception
    • Mobile
      • Exception
    • MQ
      • Exception
    • MTurk
      • Exception
    • Multipart
    • MWAA
      • Exception
    • Neptune
      • Exception
    • NetworkFirewall
      • Exception
    • NetworkManager
      • Exception
    • NimbleStudio
      • 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
    • Polly
      • Exception
    • Pricing
      • Exception
    • PrometheusService
      • Exception
    • Proton
      • Exception
    • QLDB
      • Exception
    • QLDBSession
      • Exception
    • QuickSight
      • Exception
    • RAM
      • Exception
    • Rds
      • Exception
    • RDSDataService
      • Exception
    • RecycleBin
      • Exception
    • Redshift
      • Exception
    • RedshiftDataAPIService
      • Exception
    • Rekognition
      • Exception
    • ResilienceHub
      • Exception
    • ResourceGroups
      • Exception
    • ResourceGroupsTaggingAPI
      • Exception
    • Retry
      • Exception
    • RoboMaker
      • 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
    • SageMakerRuntime
      • Exception
    • SavingsPlans
      • Exception
    • Schemas
      • Exception
    • SecretsManager
      • Exception
    • SecurityHub
      • Exception
    • ServerlessApplicationRepository
      • Exception
    • ServiceCatalog
      • Exception
    • ServiceDiscovery
      • Exception
    • ServiceQuotas
      • Exception
    • Ses
      • Exception
    • SesV2
      • Exception
    • Sfn
      • Exception
    • Shield
      • Exception
    • Signature
    • signer
      • Exception
    • Sms
      • Exception
    • SnowBall
      • Exception
    • SnowDeviceManagement
      • Exception
    • Sns
      • Exception
    • Sqs
      • Exception
    • Ssm
      • Exception
    • SSMContacts
      • Exception
    • SSMIncidents
      • Exception
    • SSO
      • Exception
    • SSOAdmin
      • Exception
    • SSOOIDC
      • Exception
    • StorageGateway
      • Exception
    • Sts
      • Exception
      • RegionalEndpoints
        • Exception
    • Support
      • Exception
    • Swf
      • Exception
    • Synthetics
      • Exception
    • Textract
      • Exception
    • TimestreamQuery
      • Exception
    • TimestreamWrite
      • Exception
    • 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\Athena\AthenaClient
  • Aws\AuditManager\AuditManagerClient
  • Aws\AugmentedAIRuntime\AugmentedAIRuntimeClient
  • Aws\AutoScaling\AutoScalingClient
  • Aws\AutoScalingPlans\AutoScalingPlansClient
  • Aws\AwsClient
  • Aws\Backup\BackupClient
  • Aws\BackupGateway\BackupGatewayClient
  • 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\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\CloudWatch\CloudWatchClient
  • Aws\CloudWatchEvents\CloudWatchEventsClient
  • Aws\CloudWatchEvidently\CloudWatchEvidentlyClient
  • Aws\CloudWatchLogs\CloudWatchLogsClient
  • Aws\CloudWatchRUM\CloudWatchRUMClient
  • Aws\CodeArtifact\CodeArtifactClient
  • Aws\CodeBuild\CodeBuildClient
  • 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\ConnectContactLens\ConnectContactLensClient
  • Aws\ConnectParticipant\ConnectParticipantClient
  • Aws\ConnectWisdomService\ConnectWisdomServiceClient
  • 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\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\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\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\IoTJobsDataPlane\IoTJobsDataPlaneClient
  • 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\Keyspaces\KeyspacesClient
  • Aws\Kinesis\KinesisClient
  • Aws\KinesisAnalytics\KinesisAnalyticsClient
  • Aws\KinesisAnalyticsV2\KinesisAnalyticsV2Client
  • Aws\KinesisVideo\KinesisVideoClient
  • Aws\KinesisVideoArchivedMedia\KinesisVideoArchivedMediaClient
  • Aws\KinesisVideoMedia\KinesisVideoMediaClient
  • Aws\KinesisVideoSignalingChannels\KinesisVideoSignalingChannelsClient
  • 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\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\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\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\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\Polly\PollyClient
  • Aws\PresignUrlMiddleware
  • Aws\Pricing\PricingClient
  • 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\Rekognition\RekognitionClient
  • Aws\ResilienceHub\ResilienceHubClient
  • Aws\ResourceGroups\ResourceGroupsClient
  • Aws\ResourceGroupsTaggingAPI\ResourceGroupsTaggingAPIClient
  • Aws\Result
  • Aws\ResultPaginator
  • Aws\Retry\Configuration
  • Aws\Retry\ConfigurationProvider
  • Aws\RoboMaker\RoboMakerClient
  • 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\SageMakerRuntime\SageMakerRuntimeClient
  • Aws\SavingsPlans\SavingsPlansClient
  • Aws\Schemas\SchemasClient
  • Aws\Sdk
  • Aws\SecretsManager\SecretsManagerClient
  • Aws\SecurityHub\SecurityHubClient
  • 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\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\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\Swf\SwfClient
  • Aws\Synthetics\SyntheticsClient
  • Aws\Textract\TextractClient
  • Aws\TimestreamQuery\TimestreamQueryClient
  • Aws\TimestreamWrite\TimestreamWriteClient
  • 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

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

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\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\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\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\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\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\ConnectContactLens\Exception\ConnectContactLensException
  • Aws\ConnectParticipant\Exception\ConnectParticipantException
  • Aws\ConnectWisdomService\Exception\ConnectWisdomServiceException
  • 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\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\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\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\IoTJobsDataPlane\Exception\IoTJobsDataPlaneException
  • 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\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\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\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\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\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\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\Polly\Exception\PollyException
  • Aws\Pricing\Exception\PricingException
  • 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\Rekognition\Exception\RekognitionException
  • Aws\ResilienceHub\Exception\ResilienceHubException
  • Aws\ResourceGroups\Exception\ResourceGroupsException
  • Aws\ResourceGroupsTaggingAPI\Exception\ResourceGroupsTaggingAPIException
  • Aws\Retry\Exception\ConfigurationException
  • Aws\RoboMaker\Exception\RoboMakerException
  • 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\SageMakerRuntime\Exception\SageMakerRuntimeException
  • Aws\SavingsPlans\Exception\SavingsPlansException
  • Aws\Schemas\Exception\SchemasException
  • Aws\SecretsManager\Exception\SecretsManagerException
  • Aws\SecurityHub\Exception\SecurityHubException
  • 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\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\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\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 AppSync 2017-07-25

Client: Aws\AppSync\AppSyncClient
Service ID: appsync
Version: 2017-07-25

This page describes the parameters and results for the operations of the AWS AppSync (2017-07-25), and shows how to use the Aws\AppSync\AppSyncClient object to call the described operations. This documentation is specific to the 2017-07-25 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 */).

  • AssociateApi ( array $params = [] )

    Maps an endpoint to your custom domain.

  • CreateApiCache ( array $params = [] )

    Creates a cache for the GraphQL API.

  • CreateApiKey ( array $params = [] )

    Creates a unique key that you can distribute to clients who invoke your API.

  • CreateDataSource ( array $params = [] )

    Creates a DataSource object.

  • CreateDomainName ( array $params = [] )

    Creates a custom DomainName object.

  • CreateFunction ( array $params = [] )

    Creates a Function object.

  • CreateGraphqlApi ( array $params = [] )

    Creates a GraphqlApi object.

  • CreateResolver ( array $params = [] )

    Creates a Resolver object.

  • CreateType ( array $params = [] )

    Creates a Type object.

  • DeleteApiCache ( array $params = [] )

    Deletes an ApiCache object.

  • DeleteApiKey ( array $params = [] )

    Deletes an API key.

  • DeleteDataSource ( array $params = [] )

    Deletes a DataSource object.

  • DeleteDomainName ( array $params = [] )

    Deletes a custom DomainName object.

  • DeleteFunction ( array $params = [] )

    Deletes a Function.

  • DeleteGraphqlApi ( array $params = [] )

    Deletes a GraphqlApi object.

  • DeleteResolver ( array $params = [] )

    Deletes a Resolver object.

  • DeleteType ( array $params = [] )

    Deletes a Type object.

  • DisassociateApi ( array $params = [] )

    Removes an ApiAssociation object from a custom domain.

  • FlushApiCache ( array $params = [] )

    Flushes an ApiCache object.

  • GetApiAssociation ( array $params = [] )

    Retrieves an ApiAssociation object.

  • GetApiCache ( array $params = [] )

    Retrieves an ApiCache object.

  • GetDataSource ( array $params = [] )

    Retrieves a DataSource object.

  • GetDomainName ( array $params = [] )

    Retrieves a custom DomainName object.

  • GetFunction ( array $params = [] )

    Get a Function.

  • GetGraphqlApi ( array $params = [] )

    Retrieves a GraphqlApi object.

  • GetIntrospectionSchema ( array $params = [] )

    Retrieves the introspection schema for a GraphQL API.

  • GetResolver ( array $params = [] )

    Retrieves a Resolver object.

  • GetSchemaCreationStatus ( array $params = [] )

    Retrieves the current status of a schema creation operation.

  • GetType ( array $params = [] )

    Retrieves a Type object.

  • ListApiKeys ( array $params = [] )

    Lists the API keys for a given API.

  • ListDataSources ( array $params = [] )

    Lists the data sources for a given API.

  • ListDomainNames ( array $params = [] )

    Lists multiple custom domain names.

  • ListFunctions ( array $params = [] )

    List multiple functions.

  • ListGraphqlApis ( array $params = [] )

    Lists your GraphQL APIs.

  • ListResolvers ( array $params = [] )

    Lists the resolvers for a given API and type.

  • ListResolversByFunction ( array $params = [] )

    List the resolvers that are associated with a specific function.

  • ListTagsForResource ( array $params = [] )

    Lists the tags for a resource.

  • ListTypes ( array $params = [] )

    Lists the types for a given API.

  • StartSchemaCreation ( array $params = [] )

    Adds a new schema to your GraphQL API.

  • TagResource ( array $params = [] )

    Tags a resource with user-supplied tags.

  • UntagResource ( array $params = [] )

    Untags a resource.

  • UpdateApiCache ( array $params = [] )

    Updates the cache for the GraphQL API.

  • UpdateApiKey ( array $params = [] )

    Updates an API key.

  • UpdateDataSource ( array $params = [] )

    Updates a DataSource object.

  • UpdateDomainName ( array $params = [] )

    Updates a custom DomainName object.

  • UpdateFunction ( array $params = [] )

    Updates a Function object.

  • UpdateGraphqlApi ( array $params = [] )

    Updates a GraphqlApi object.

  • UpdateResolver ( array $params = [] )

    Updates a Resolver object.

  • UpdateType ( array $params = [] )

    Updates a Type object.

Operations

AssociateApi

$result = $client->associateApi([/* ... */]);
$promise = $client->associateApiAsync([/* ... */]);

Maps an endpoint to your custom domain.

Parameter Syntax

$result = $client->associateApi([
    'apiId' => '<string>', // REQUIRED
    'domainName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[
    'apiAssociation' => [
        'apiId' => '<string>',
        'associationStatus' => 'PROCESSING|FAILED|SUCCESS',
        'deploymentDetail' => '<string>',
        'domainName' => '<string>',
    ],
]

Result Details

Members
apiAssociation
  • Type: ApiAssociation structure

The ApiAssociation object.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

CreateApiCache

$result = $client->createApiCache([/* ... */]);
$promise = $client->createApiCacheAsync([/* ... */]);

Creates a cache for the GraphQL API.

Parameter Syntax

$result = $client->createApiCache([
    'apiCachingBehavior' => 'FULL_REQUEST_CACHING|PER_RESOLVER_CACHING', // REQUIRED
    'apiId' => '<string>', // REQUIRED
    'atRestEncryptionEnabled' => true || false,
    'transitEncryptionEnabled' => true || false,
    'ttl' => <integer>, // REQUIRED
    'type' => 'T2_SMALL|T2_MEDIUM|R4_LARGE|R4_XLARGE|R4_2XLARGE|R4_4XLARGE|R4_8XLARGE|SMALL|MEDIUM|LARGE|XLARGE|LARGE_2X|LARGE_4X|LARGE_8X|LARGE_12X', // REQUIRED
]);

Parameter Details

Members
apiCachingBehavior
  • Required: Yes
  • Type: string

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

atRestEncryptionEnabled
  • Type: boolean

At-rest encryption flag for cache. You cannot update this setting after creation.

transitEncryptionEnabled
  • Type: boolean

Transit encryption flag when connecting to cache. You cannot update this setting after creation.

ttl
  • Required: Yes
  • Type: long (int|float)

TTL in seconds for cache entries.

Valid values are 1–3,600 seconds.

type
  • Required: Yes
  • Type: string

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Result Syntax

[
    'apiCache' => [
        'apiCachingBehavior' => 'FULL_REQUEST_CACHING|PER_RESOLVER_CACHING',
        'atRestEncryptionEnabled' => true || false,
        'status' => 'AVAILABLE|CREATING|DELETING|MODIFYING|FAILED',
        'transitEncryptionEnabled' => true || false,
        'ttl' => <integer>,
        'type' => 'T2_SMALL|T2_MEDIUM|R4_LARGE|R4_XLARGE|R4_2XLARGE|R4_4XLARGE|R4_8XLARGE|SMALL|MEDIUM|LARGE|XLARGE|LARGE_2X|LARGE_4X|LARGE_8X|LARGE_12X',
    ],
]

Result Details

Members
apiCache
  • Type: ApiCache structure

The ApiCache object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

CreateApiKey

$result = $client->createApiKey([/* ... */]);
$promise = $client->createApiKeyAsync([/* ... */]);

Creates a unique key that you can distribute to clients who invoke your API.

Parameter Syntax

$result = $client->createApiKey([
    'apiId' => '<string>', // REQUIRED
    'description' => '<string>',
    'expires' => <integer>,
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The ID for your GraphQL API.

description
  • Type: string

A description of the purpose of the API key.

expires
  • Type: long (int|float)

From the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .

Result Syntax

[
    'apiKey' => [
        'deletes' => <integer>,
        'description' => '<string>',
        'expires' => <integer>,
        'id' => '<string>',
    ],
]

Result Details

Members
apiKey
  • Type: ApiKey structure

The API key.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • ApiKeyLimitExceededException:

    The API key exceeded a limit. Try your request again.

  • ApiKeyValidityOutOfBoundsException:

    The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).

CreateDataSource

$result = $client->createDataSource([/* ... */]);
$promise = $client->createDataSourceAsync([/* ... */]);

Creates a DataSource object.

Parameter Syntax

$result = $client->createDataSource([
    'apiId' => '<string>', // REQUIRED
    'description' => '<string>',
    'dynamodbConfig' => [
        'awsRegion' => '<string>', // REQUIRED
        'deltaSyncConfig' => [
            'baseTableTTL' => <integer>,
            'deltaSyncTableName' => '<string>',
            'deltaSyncTableTTL' => <integer>,
        ],
        'tableName' => '<string>', // REQUIRED
        'useCallerCredentials' => true || false,
        'versioned' => true || false,
    ],
    'elasticsearchConfig' => [
        'awsRegion' => '<string>', // REQUIRED
        'endpoint' => '<string>', // REQUIRED
    ],
    'httpConfig' => [
        'authorizationConfig' => [
            'authorizationType' => 'AWS_IAM', // REQUIRED
            'awsIamConfig' => [
                'signingRegion' => '<string>',
                'signingServiceName' => '<string>',
            ],
        ],
        'endpoint' => '<string>',
    ],
    'lambdaConfig' => [
        'lambdaFunctionArn' => '<string>', // REQUIRED
    ],
    'name' => '<string>', // REQUIRED
    'openSearchServiceConfig' => [
        'awsRegion' => '<string>', // REQUIRED
        'endpoint' => '<string>', // REQUIRED
    ],
    'relationalDatabaseConfig' => [
        'rdsHttpEndpointConfig' => [
            'awsRegion' => '<string>',
            'awsSecretStoreArn' => '<string>',
            'databaseName' => '<string>',
            'dbClusterIdentifier' => '<string>',
            'schema' => '<string>',
        ],
        'relationalDatabaseSourceType' => 'RDS_HTTP_ENDPOINT',
    ],
    'serviceRoleArn' => '<string>',
    'type' => 'AWS_LAMBDA|AMAZON_DYNAMODB|AMAZON_ELASTICSEARCH|NONE|HTTP|RELATIONAL_DATABASE|AMAZON_OPENSEARCH_SERVICE', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID for the GraphQL API for the DataSource.

description
  • Type: string

A description of the DataSource.

dynamodbConfig
  • Type: DynamodbDataSourceConfig structure

Amazon DynamoDB settings.

elasticsearchConfig
  • Type: ElasticsearchDataSourceConfig structure

Amazon OpenSearch Service settings.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.

httpConfig
  • Type: HttpDataSourceConfig structure

HTTP endpoint settings.

lambdaConfig
  • Type: LambdaDataSourceConfig structure

Lambda settings.

name
  • Required: Yes
  • Type: string

A user-supplied name for the DataSource.

openSearchServiceConfig
  • Type: OpenSearchServiceDataSourceConfig structure

Amazon OpenSearch Service settings.

relationalDatabaseConfig
  • Type: RelationalDatabaseDataSourceConfig structure

Relational database settings.

serviceRoleArn
  • Type: string

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.

type
  • Required: Yes
  • Type: string

The type of the DataSource.

Result Syntax

[
    'dataSource' => [
        'dataSourceArn' => '<string>',
        'description' => '<string>',
        'dynamodbConfig' => [
            'awsRegion' => '<string>',
            'deltaSyncConfig' => [
                'baseTableTTL' => <integer>,
                'deltaSyncTableName' => '<string>',
                'deltaSyncTableTTL' => <integer>,
            ],
            'tableName' => '<string>',
            'useCallerCredentials' => true || false,
            'versioned' => true || false,
        ],
        'elasticsearchConfig' => [
            'awsRegion' => '<string>',
            'endpoint' => '<string>',
        ],
        'httpConfig' => [
            'authorizationConfig' => [
                'authorizationType' => 'AWS_IAM',
                'awsIamConfig' => [
                    'signingRegion' => '<string>',
                    'signingServiceName' => '<string>',
                ],
            ],
            'endpoint' => '<string>',
        ],
        'lambdaConfig' => [
            'lambdaFunctionArn' => '<string>',
        ],
        'name' => '<string>',
        'openSearchServiceConfig' => [
            'awsRegion' => '<string>',
            'endpoint' => '<string>',
        ],
        'relationalDatabaseConfig' => [
            'rdsHttpEndpointConfig' => [
                'awsRegion' => '<string>',
                'awsSecretStoreArn' => '<string>',
                'databaseName' => '<string>',
                'dbClusterIdentifier' => '<string>',
                'schema' => '<string>',
            ],
            'relationalDatabaseSourceType' => 'RDS_HTTP_ENDPOINT',
        ],
        'serviceRoleArn' => '<string>',
        'type' => 'AWS_LAMBDA|AMAZON_DYNAMODB|AMAZON_ELASTICSEARCH|NONE|HTTP|RELATIONAL_DATABASE|AMAZON_OPENSEARCH_SERVICE',
    ],
]

Result Details

Members
dataSource
  • Type: DataSource structure

The DataSource object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

CreateDomainName

$result = $client->createDomainName([/* ... */]);
$promise = $client->createDomainNameAsync([/* ... */]);

Creates a custom DomainName object.

Parameter Syntax

$result = $client->createDomainName([
    'certificateArn' => '<string>', // REQUIRED
    'description' => '<string>',
    'domainName' => '<string>', // REQUIRED
]);

Parameter Details

Members
certificateArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.

description
  • Type: string

A description of the DomainName.

domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[
    'domainNameConfig' => [
        'appsyncDomainName' => '<string>',
        'certificateArn' => '<string>',
        'description' => '<string>',
        'domainName' => '<string>',
        'hostedZoneId' => '<string>',
    ],
]

Result Details

Members
domainNameConfig
  • Type: DomainNameConfig structure

The configuration for the DomainName.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

CreateFunction

$result = $client->createFunction([/* ... */]);
$promise = $client->createFunctionAsync([/* ... */]);

Creates a Function object.

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

Parameter Syntax

$result = $client->createFunction([
    'apiId' => '<string>', // REQUIRED
    'dataSourceName' => '<string>', // REQUIRED
    'description' => '<string>',
    'functionVersion' => '<string>', // REQUIRED
    'maxBatchSize' => <integer>,
    'name' => '<string>', // REQUIRED
    'requestMappingTemplate' => '<string>',
    'responseMappingTemplate' => '<string>',
    'syncConfig' => [
        'conflictDetection' => 'VERSION|NONE',
        'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
        'lambdaConflictHandlerConfig' => [
            'lambdaConflictHandlerArn' => '<string>',
        ],
    ],
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

dataSourceName
  • Required: Yes
  • Type: string

The Function DataSource name.

description
  • Type: string

The Function description.

functionVersion
  • Required: Yes
  • Type: string

The version of the request mapping template. Currently, the supported value is 2018-05-29.

maxBatchSize
  • Type: int

The maximum batching size for a resolver.

name
  • Required: Yes
  • Type: string

The Function name. The function name does not have to be unique.

requestMappingTemplate
  • Type: string

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

responseMappingTemplate
  • Type: string

The Function response mapping template.

syncConfig
  • Type: SyncConfig structure

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

Result Syntax

[
    'functionConfiguration' => [
        'dataSourceName' => '<string>',
        'description' => '<string>',
        'functionArn' => '<string>',
        'functionId' => '<string>',
        'functionVersion' => '<string>',
        'maxBatchSize' => <integer>,
        'name' => '<string>',
        'requestMappingTemplate' => '<string>',
        'responseMappingTemplate' => '<string>',
        'syncConfig' => [
            'conflictDetection' => 'VERSION|NONE',
            'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
            'lambdaConflictHandlerConfig' => [
                'lambdaConflictHandlerArn' => '<string>',
            ],
        ],
    ],
]

Result Details

Members
functionConfiguration
  • Type: FunctionConfiguration structure

The Function object.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

CreateGraphqlApi

$result = $client->createGraphqlApi([/* ... */]);
$promise = $client->createGraphqlApiAsync([/* ... */]);

Creates a GraphqlApi object.

Parameter Syntax

$result = $client->createGraphqlApi([
    'additionalAuthenticationProviders' => [
        [
            'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
            'lambdaAuthorizerConfig' => [
                'authorizerResultTtlInSeconds' => <integer>,
                'authorizerUri' => '<string>', // REQUIRED
                'identityValidationExpression' => '<string>',
            ],
            'openIDConnectConfig' => [
                'authTTL' => <integer>,
                'clientId' => '<string>',
                'iatTTL' => <integer>,
                'issuer' => '<string>', // REQUIRED
            ],
            'userPoolConfig' => [
                'appIdClientRegex' => '<string>',
                'awsRegion' => '<string>', // REQUIRED
                'userPoolId' => '<string>', // REQUIRED
            ],
        ],
        // ...
    ],
    'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA', // REQUIRED
    'lambdaAuthorizerConfig' => [
        'authorizerResultTtlInSeconds' => <integer>,
        'authorizerUri' => '<string>', // REQUIRED
        'identityValidationExpression' => '<string>',
    ],
    'logConfig' => [
        'cloudWatchLogsRoleArn' => '<string>', // REQUIRED
        'excludeVerboseContent' => true || false,
        'fieldLogLevel' => 'NONE|ERROR|ALL', // REQUIRED
    ],
    'name' => '<string>', // REQUIRED
    'openIDConnectConfig' => [
        'authTTL' => <integer>,
        'clientId' => '<string>',
        'iatTTL' => <integer>,
        'issuer' => '<string>', // REQUIRED
    ],
    'tags' => ['<string>', ...],
    'userPoolConfig' => [
        'appIdClientRegex' => '<string>',
        'awsRegion' => '<string>', // REQUIRED
        'defaultAction' => 'ALLOW|DENY', // REQUIRED
        'userPoolId' => '<string>', // REQUIRED
    ],
    'xrayEnabled' => true || false,
]);

Parameter Details

Members
additionalAuthenticationProviders
  • Type: Array of AdditionalAuthenticationProvider structures

A list of additional authentication providers for the GraphqlApi API.

authenticationType
  • Required: Yes
  • Type: string

The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

lambdaAuthorizerConfig
  • Type: LambdaAuthorizerConfig structure

Configuration for Lambda function authorization.

logConfig
  • Type: LogConfig structure

The Amazon CloudWatch Logs configuration.

name
  • Required: Yes
  • Type: string

A user-supplied name for the GraphqlApi.

openIDConnectConfig
  • Type: OpenIDConnectConfig structure

The OIDC configuration.

tags
  • Type: Associative array of custom strings keys (TagKey) to strings

A TagMap object.

userPoolConfig
  • Type: UserPoolConfig structure

The Amazon Cognito user pool configuration.

xrayEnabled
  • Type: boolean

A flag indicating whether to use X-Ray tracing for the GraphqlApi.

Result Syntax

[
    'graphqlApi' => [
        'additionalAuthenticationProviders' => [
            [
                'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
                'lambdaAuthorizerConfig' => [
                    'authorizerResultTtlInSeconds' => <integer>,
                    'authorizerUri' => '<string>',
                    'identityValidationExpression' => '<string>',
                ],
                'openIDConnectConfig' => [
                    'authTTL' => <integer>,
                    'clientId' => '<string>',
                    'iatTTL' => <integer>,
                    'issuer' => '<string>',
                ],
                'userPoolConfig' => [
                    'appIdClientRegex' => '<string>',
                    'awsRegion' => '<string>',
                    'userPoolId' => '<string>',
                ],
            ],
            // ...
        ],
        'apiId' => '<string>',
        'arn' => '<string>',
        'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
        'lambdaAuthorizerConfig' => [
            'authorizerResultTtlInSeconds' => <integer>,
            'authorizerUri' => '<string>',
            'identityValidationExpression' => '<string>',
        ],
        'logConfig' => [
            'cloudWatchLogsRoleArn' => '<string>',
            'excludeVerboseContent' => true || false,
            'fieldLogLevel' => 'NONE|ERROR|ALL',
        ],
        'name' => '<string>',
        'openIDConnectConfig' => [
            'authTTL' => <integer>,
            'clientId' => '<string>',
            'iatTTL' => <integer>,
            'issuer' => '<string>',
        ],
        'tags' => ['<string>', ...],
        'uris' => ['<string>', ...],
        'userPoolConfig' => [
            'appIdClientRegex' => '<string>',
            'awsRegion' => '<string>',
            'defaultAction' => 'ALLOW|DENY',
            'userPoolId' => '<string>',
        ],
        'wafWebAclArn' => '<string>',
        'xrayEnabled' => true || false,
    ],
]

Result Details

Members
graphqlApi
  • Type: GraphqlApi structure

The GraphqlApi.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • ApiLimitExceededException:

    The GraphQL API exceeded a limit. Try your request again.

CreateResolver

$result = $client->createResolver([/* ... */]);
$promise = $client->createResolverAsync([/* ... */]);

Creates a Resolver object.

A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.

Parameter Syntax

$result = $client->createResolver([
    'apiId' => '<string>', // REQUIRED
    'cachingConfig' => [
        'cachingKeys' => ['<string>', ...],
        'ttl' => <integer>,
    ],
    'dataSourceName' => '<string>',
    'fieldName' => '<string>', // REQUIRED
    'kind' => 'UNIT|PIPELINE',
    'maxBatchSize' => <integer>,
    'pipelineConfig' => [
        'functions' => ['<string>', ...],
    ],
    'requestMappingTemplate' => '<string>',
    'responseMappingTemplate' => '<string>',
    'syncConfig' => [
        'conflictDetection' => 'VERSION|NONE',
        'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
        'lambdaConflictHandlerConfig' => [
            'lambdaConflictHandlerArn' => '<string>',
        ],
    ],
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The ID for the GraphQL API for which the resolver is being created.

cachingConfig
  • Type: CachingConfig structure

The caching configuration for the resolver.

dataSourceName
  • Type: string

The name of the data source for which the resolver is being created.

fieldName
  • Required: Yes
  • Type: string

The name of the field to attach the resolver to.

kind
  • Type: string

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.

  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

maxBatchSize
  • Type: int

The maximum batching size for a resolver.

pipelineConfig
  • Type: PipelineConfig structure

The PipelineConfig.

requestMappingTemplate
  • Type: string

The mapping template to use for requests.

A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).

VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.

responseMappingTemplate
  • Type: string

The mapping template to use for responses from the data source.

syncConfig
  • Type: SyncConfig structure

The SyncConfig for a resolver attached to a versioned data source.

typeName
  • Required: Yes
  • Type: string

The name of the Type.

Result Syntax

[
    'resolver' => [
        'cachingConfig' => [
            'cachingKeys' => ['<string>', ...],
            'ttl' => <integer>,
        ],
        'dataSourceName' => '<string>',
        'fieldName' => '<string>',
        'kind' => 'UNIT|PIPELINE',
        'maxBatchSize' => <integer>,
        'pipelineConfig' => [
            'functions' => ['<string>', ...],
        ],
        'requestMappingTemplate' => '<string>',
        'resolverArn' => '<string>',
        'responseMappingTemplate' => '<string>',
        'syncConfig' => [
            'conflictDetection' => 'VERSION|NONE',
            'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
            'lambdaConflictHandlerConfig' => [
                'lambdaConflictHandlerArn' => '<string>',
            ],
        ],
        'typeName' => '<string>',
    ],
]

Result Details

Members
resolver
  • Type: Resolver structure

The Resolver object.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

CreateType

$result = $client->createType([/* ... */]);
$promise = $client->createTypeAsync([/* ... */]);

Creates a Type object.

Parameter Syntax

$result = $client->createType([
    'apiId' => '<string>', // REQUIRED
    'definition' => '<string>', // REQUIRED
    'format' => 'SDL|JSON', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

definition
  • Required: Yes
  • Type: string

The type definition, in GraphQL Schema Definition Language (SDL) format.

For more information, see the GraphQL SDL documentation.

format
  • Required: Yes
  • Type: string

The type format: SDL or JSON.

Result Syntax

[
    'type' => [
        'arn' => '<string>',
        'definition' => '<string>',
        'description' => '<string>',
        'format' => 'SDL|JSON',
        'name' => '<string>',
    ],
]

Result Details

Members
type
  • Type: Type structure

The Type object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DeleteApiCache

$result = $client->deleteApiCache([/* ... */]);
$promise = $client->deleteApiCacheAsync([/* ... */]);

Deletes an ApiCache object.

Parameter Syntax

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

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DeleteApiKey

$result = $client->deleteApiKey([/* ... */]);
$promise = $client->deleteApiKeyAsync([/* ... */]);

Deletes an API key.

Parameter Syntax

$result = $client->deleteApiKey([
    'apiId' => '<string>', // REQUIRED
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

id
  • Required: Yes
  • Type: string

The ID for the API key.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DeleteDataSource

$result = $client->deleteDataSource([/* ... */]);
$promise = $client->deleteDataSourceAsync([/* ... */]);

Deletes a DataSource object.

Parameter Syntax

$result = $client->deleteDataSource([
    'apiId' => '<string>', // REQUIRED
    'name' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

name
  • Required: Yes
  • Type: string

The name of the data source.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DeleteDomainName

$result = $client->deleteDomainName([/* ... */]);
$promise = $client->deleteDomainNameAsync([/* ... */]);

Deletes a custom DomainName object.

Parameter Syntax

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

Parameter Details

Members
domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

DeleteFunction

$result = $client->deleteFunction([/* ... */]);
$promise = $client->deleteFunctionAsync([/* ... */]);

Deletes a Function.

Parameter Syntax

$result = $client->deleteFunction([
    'apiId' => '<string>', // REQUIRED
    'functionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

functionId
  • Required: Yes
  • Type: string

The Function ID.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DeleteGraphqlApi

$result = $client->deleteGraphqlApi([/* ... */]);
$promise = $client->deleteGraphqlApiAsync([/* ... */]);

Deletes a GraphqlApi object.

Parameter Syntax

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

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

DeleteResolver

$result = $client->deleteResolver([/* ... */]);
$promise = $client->deleteResolverAsync([/* ... */]);

Deletes a Resolver object.

Parameter Syntax

$result = $client->deleteResolver([
    'apiId' => '<string>', // REQUIRED
    'fieldName' => '<string>', // REQUIRED
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

fieldName
  • Required: Yes
  • Type: string

The resolver field name.

typeName
  • Required: Yes
  • Type: string

The name of the resolver type.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DeleteType

$result = $client->deleteType([/* ... */]);
$promise = $client->deleteTypeAsync([/* ... */]);

Deletes a Type object.

Parameter Syntax

$result = $client->deleteType([
    'apiId' => '<string>', // REQUIRED
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

typeName
  • Required: Yes
  • Type: string

The type name.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

DisassociateApi

$result = $client->disassociateApi([/* ... */]);
$promise = $client->disassociateApiAsync([/* ... */]);

Removes an ApiAssociation object from a custom domain.

Parameter Syntax

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

Parameter Details

Members
domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

FlushApiCache

$result = $client->flushApiCache([/* ... */]);
$promise = $client->flushApiCacheAsync([/* ... */]);

Flushes an ApiCache object.

Parameter Syntax

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

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

GetApiAssociation

$result = $client->getApiAssociation([/* ... */]);
$promise = $client->getApiAssociationAsync([/* ... */]);

Retrieves an ApiAssociation object.

Parameter Syntax

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

Parameter Details

Members
domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[
    'apiAssociation' => [
        'apiId' => '<string>',
        'associationStatus' => 'PROCESSING|FAILED|SUCCESS',
        'deploymentDetail' => '<string>',
        'domainName' => '<string>',
    ],
]

Result Details

Members
apiAssociation
  • Type: ApiAssociation structure

The ApiAssociation object.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

GetApiCache

$result = $client->getApiCache([/* ... */]);
$promise = $client->getApiCacheAsync([/* ... */]);

Retrieves an ApiCache object.

Parameter Syntax

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

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

Result Syntax

[
    'apiCache' => [
        'apiCachingBehavior' => 'FULL_REQUEST_CACHING|PER_RESOLVER_CACHING',
        'atRestEncryptionEnabled' => true || false,
        'status' => 'AVAILABLE|CREATING|DELETING|MODIFYING|FAILED',
        'transitEncryptionEnabled' => true || false,
        'ttl' => <integer>,
        'type' => 'T2_SMALL|T2_MEDIUM|R4_LARGE|R4_XLARGE|R4_2XLARGE|R4_4XLARGE|R4_8XLARGE|SMALL|MEDIUM|LARGE|XLARGE|LARGE_2X|LARGE_4X|LARGE_8X|LARGE_12X',
    ],
]

Result Details

Members
apiCache
  • Type: ApiCache structure

The ApiCache object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

GetDataSource

$result = $client->getDataSource([/* ... */]);
$promise = $client->getDataSourceAsync([/* ... */]);

Retrieves a DataSource object.

Parameter Syntax

$result = $client->getDataSource([
    'apiId' => '<string>', // REQUIRED
    'name' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

name
  • Required: Yes
  • Type: string

The name of the data source.

Result Syntax

[
    'dataSource' => [
        'dataSourceArn' => '<string>',
        'description' => '<string>',
        'dynamodbConfig' => [
            'awsRegion' => '<string>',
            'deltaSyncConfig' => [
                'baseTableTTL' => <integer>,
                'deltaSyncTableName' => '<string>',
                'deltaSyncTableTTL' => <integer>,
            ],
            'tableName' => '<string>',
            'useCallerCredentials' => true || false,
            'versioned' => true || false,
        ],
        'elasticsearchConfig' => [
            'awsRegion' => '<string>',
            'endpoint' => '<string>',
        ],
        'httpConfig' => [
            'authorizationConfig' => [
                'authorizationType' => 'AWS_IAM',
                'awsIamConfig' => [
                    'signingRegion' => '<string>',
                    'signingServiceName' => '<string>',
                ],
            ],
            'endpoint' => '<string>',
        ],
        'lambdaConfig' => [
            'lambdaFunctionArn' => '<string>',
        ],
        'name' => '<string>',
        'openSearchServiceConfig' => [
            'awsRegion' => '<string>',
            'endpoint' => '<string>',
        ],
        'relationalDatabaseConfig' => [
            'rdsHttpEndpointConfig' => [
                'awsRegion' => '<string>',
                'awsSecretStoreArn' => '<string>',
                'databaseName' => '<string>',
                'dbClusterIdentifier' => '<string>',
                'schema' => '<string>',
            ],
            'relationalDatabaseSourceType' => 'RDS_HTTP_ENDPOINT',
        ],
        'serviceRoleArn' => '<string>',
        'type' => 'AWS_LAMBDA|AMAZON_DYNAMODB|AMAZON_ELASTICSEARCH|NONE|HTTP|RELATIONAL_DATABASE|AMAZON_OPENSEARCH_SERVICE',
    ],
]

Result Details

Members
dataSource
  • Type: DataSource structure

The DataSource object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

GetDomainName

$result = $client->getDomainName([/* ... */]);
$promise = $client->getDomainNameAsync([/* ... */]);

Retrieves a custom DomainName object.

Parameter Syntax

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

Parameter Details

Members
domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[
    'domainNameConfig' => [
        'appsyncDomainName' => '<string>',
        'certificateArn' => '<string>',
        'description' => '<string>',
        'domainName' => '<string>',
        'hostedZoneId' => '<string>',
    ],
]

Result Details

Members
domainNameConfig
  • Type: DomainNameConfig structure

The configuration for the DomainName.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

GetFunction

$result = $client->getFunction([/* ... */]);
$promise = $client->getFunctionAsync([/* ... */]);

Get a Function.

Parameter Syntax

$result = $client->getFunction([
    'apiId' => '<string>', // REQUIRED
    'functionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

functionId
  • Required: Yes
  • Type: string

The Function ID.

Result Syntax

[
    'functionConfiguration' => [
        'dataSourceName' => '<string>',
        'description' => '<string>',
        'functionArn' => '<string>',
        'functionId' => '<string>',
        'functionVersion' => '<string>',
        'maxBatchSize' => <integer>,
        'name' => '<string>',
        'requestMappingTemplate' => '<string>',
        'responseMappingTemplate' => '<string>',
        'syncConfig' => [
            'conflictDetection' => 'VERSION|NONE',
            'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
            'lambdaConflictHandlerConfig' => [
                'lambdaConflictHandlerArn' => '<string>',
            ],
        ],
    ],
]

Result Details

Members
functionConfiguration
  • Type: FunctionConfiguration structure

The Function object.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

GetGraphqlApi

$result = $client->getGraphqlApi([/* ... */]);
$promise = $client->getGraphqlApiAsync([/* ... */]);

Retrieves a GraphqlApi object.

Parameter Syntax

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

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID for the GraphQL API.

Result Syntax

[
    'graphqlApi' => [
        'additionalAuthenticationProviders' => [
            [
                'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
                'lambdaAuthorizerConfig' => [
                    'authorizerResultTtlInSeconds' => <integer>,
                    'authorizerUri' => '<string>',
                    'identityValidationExpression' => '<string>',
                ],
                'openIDConnectConfig' => [
                    'authTTL' => <integer>,
                    'clientId' => '<string>',
                    'iatTTL' => <integer>,
                    'issuer' => '<string>',
                ],
                'userPoolConfig' => [
                    'appIdClientRegex' => '<string>',
                    'awsRegion' => '<string>',
                    'userPoolId' => '<string>',
                ],
            ],
            // ...
        ],
        'apiId' => '<string>',
        'arn' => '<string>',
        'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
        'lambdaAuthorizerConfig' => [
            'authorizerResultTtlInSeconds' => <integer>,
            'authorizerUri' => '<string>',
            'identityValidationExpression' => '<string>',
        ],
        'logConfig' => [
            'cloudWatchLogsRoleArn' => '<string>',
            'excludeVerboseContent' => true || false,
            'fieldLogLevel' => 'NONE|ERROR|ALL',
        ],
        'name' => '<string>',
        'openIDConnectConfig' => [
            'authTTL' => <integer>,
            'clientId' => '<string>',
            'iatTTL' => <integer>,
            'issuer' => '<string>',
        ],
        'tags' => ['<string>', ...],
        'uris' => ['<string>', ...],
        'userPoolConfig' => [
            'appIdClientRegex' => '<string>',
            'awsRegion' => '<string>',
            'defaultAction' => 'ALLOW|DENY',
            'userPoolId' => '<string>',
        ],
        'wafWebAclArn' => '<string>',
        'xrayEnabled' => true || false,
    ],
]

Result Details

Members
graphqlApi
  • Type: GraphqlApi structure

The GraphqlApi object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

GetIntrospectionSchema

$result = $client->getIntrospectionSchema([/* ... */]);
$promise = $client->getIntrospectionSchemaAsync([/* ... */]);

Retrieves the introspection schema for a GraphQL API.

Parameter Syntax

$result = $client->getIntrospectionSchema([
    'apiId' => '<string>', // REQUIRED
    'format' => 'SDL|JSON', // REQUIRED
    'includeDirectives' => true || false,
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

format
  • Required: Yes
  • Type: string

The schema format: SDL or JSON.

includeDirectives
  • Type: boolean

A flag that specifies whether the schema introspection should contain directives.

Result Syntax

[
    'schema' => <string || resource || Psr\Http\Message\StreamInterface>,
]

Result Details

Members
schema
  • Type: blob (string|resource|Psr\Http\Message\StreamInterface)

The schema, in GraphQL Schema Definition Language (SDL) format.

For more information, see the GraphQL SDL documentation.

Errors

  • GraphQLSchemaException:

    The GraphQL schema is not valid.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

GetResolver

$result = $client->getResolver([/* ... */]);
$promise = $client->getResolverAsync([/* ... */]);

Retrieves a Resolver object.

Parameter Syntax

$result = $client->getResolver([
    'apiId' => '<string>', // REQUIRED
    'fieldName' => '<string>', // REQUIRED
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

fieldName
  • Required: Yes
  • Type: string

The resolver field name.

typeName
  • Required: Yes
  • Type: string

The resolver type name.

Result Syntax

[
    'resolver' => [
        'cachingConfig' => [
            'cachingKeys' => ['<string>', ...],
            'ttl' => <integer>,
        ],
        'dataSourceName' => '<string>',
        'fieldName' => '<string>',
        'kind' => 'UNIT|PIPELINE',
        'maxBatchSize' => <integer>,
        'pipelineConfig' => [
            'functions' => ['<string>', ...],
        ],
        'requestMappingTemplate' => '<string>',
        'resolverArn' => '<string>',
        'responseMappingTemplate' => '<string>',
        'syncConfig' => [
            'conflictDetection' => 'VERSION|NONE',
            'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
            'lambdaConflictHandlerConfig' => [
                'lambdaConflictHandlerArn' => '<string>',
            ],
        ],
        'typeName' => '<string>',
    ],
]

Result Details

Members
resolver
  • Type: Resolver structure

The Resolver object.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

GetSchemaCreationStatus

$result = $client->getSchemaCreationStatus([/* ... */]);
$promise = $client->getSchemaCreationStatusAsync([/* ... */]);

Retrieves the current status of a schema creation operation.

Parameter Syntax

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

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

Result Syntax

[
    'details' => '<string>',
    'status' => 'PROCESSING|ACTIVE|DELETING|FAILED|SUCCESS|NOT_APPLICABLE',
]

Result Details

Members
details
  • Type: string

Detailed information about the status of the schema creation operation.

status
  • Type: string

The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add data.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

GetType

$result = $client->getType([/* ... */]);
$promise = $client->getTypeAsync([/* ... */]);

Retrieves a Type object.

Parameter Syntax

$result = $client->getType([
    'apiId' => '<string>', // REQUIRED
    'format' => 'SDL|JSON', // REQUIRED
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

format
  • Required: Yes
  • Type: string

The type format: SDL or JSON.

typeName
  • Required: Yes
  • Type: string

The type name.

Result Syntax

[
    'type' => [
        'arn' => '<string>',
        'definition' => '<string>',
        'description' => '<string>',
        'format' => 'SDL|JSON',
        'name' => '<string>',
    ],
]

Result Details

Members
type
  • Type: Type structure

The Type object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListApiKeys

$result = $client->listApiKeys([/* ... */]);
$promise = $client->listApiKeysAsync([/* ... */]);

Lists the API keys for a given API.

API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.

Parameter Syntax

$result = $client->listApiKeys([
    'apiId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Result Syntax

[
    'apiKeys' => [
        [
            'deletes' => <integer>,
            'description' => '<string>',
            'expires' => <integer>,
            'id' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
apiKeys
  • Type: Array of ApiKey structures

The ApiKey objects.

nextToken
  • Type: string

An identifier to pass in the next request to this operation to return the next set of items in the list.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListDataSources

$result = $client->listDataSources([/* ... */]);
$promise = $client->listDataSourcesAsync([/* ... */]);

Lists the data sources for a given API.

Parameter Syntax

$result = $client->listDataSources([
    'apiId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Result Syntax

[
    'dataSources' => [
        [
            'dataSourceArn' => '<string>',
            'description' => '<string>',
            'dynamodbConfig' => [
                'awsRegion' => '<string>',
                'deltaSyncConfig' => [
                    'baseTableTTL' => <integer>,
                    'deltaSyncTableName' => '<string>',
                    'deltaSyncTableTTL' => <integer>,
                ],
                'tableName' => '<string>',
                'useCallerCredentials' => true || false,
                'versioned' => true || false,
            ],
            'elasticsearchConfig' => [
                'awsRegion' => '<string>',
                'endpoint' => '<string>',
            ],
            'httpConfig' => [
                'authorizationConfig' => [
                    'authorizationType' => 'AWS_IAM',
                    'awsIamConfig' => [
                        'signingRegion' => '<string>',
                        'signingServiceName' => '<string>',
                    ],
                ],
                'endpoint' => '<string>',
            ],
            'lambdaConfig' => [
                'lambdaFunctionArn' => '<string>',
            ],
            'name' => '<string>',
            'openSearchServiceConfig' => [
                'awsRegion' => '<string>',
                'endpoint' => '<string>',
            ],
            'relationalDatabaseConfig' => [
                'rdsHttpEndpointConfig' => [
                    'awsRegion' => '<string>',
                    'awsSecretStoreArn' => '<string>',
                    'databaseName' => '<string>',
                    'dbClusterIdentifier' => '<string>',
                    'schema' => '<string>',
                ],
                'relationalDatabaseSourceType' => 'RDS_HTTP_ENDPOINT',
            ],
            'serviceRoleArn' => '<string>',
            'type' => 'AWS_LAMBDA|AMAZON_DYNAMODB|AMAZON_ELASTICSEARCH|NONE|HTTP|RELATIONAL_DATABASE|AMAZON_OPENSEARCH_SERVICE',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
dataSources
  • Type: Array of DataSource structures

The DataSource objects.

nextToken
  • Type: string

An identifier to pass in the next request to this operation to return the next set of items in the list.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListDomainNames

$result = $client->listDomainNames([/* ... */]);
$promise = $client->listDomainNamesAsync([/* ... */]);

Lists multiple custom domain names.

Parameter Syntax

$result = $client->listDomainNames([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

The API token.

Result Syntax

[
    'domainNameConfigs' => [
        [
            'appsyncDomainName' => '<string>',
            'certificateArn' => '<string>',
            'description' => '<string>',
            'domainName' => '<string>',
            'hostedZoneId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
domainNameConfigs
  • Type: Array of DomainNameConfig structures

Lists configurations for multiple domain names.

nextToken
  • Type: string

The API token.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListFunctions

$result = $client->listFunctions([/* ... */]);
$promise = $client->listFunctionsAsync([/* ... */]);

List multiple functions.

Parameter Syntax

$result = $client->listFunctions([
    'apiId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Result Syntax

[
    'functions' => [
        [
            'dataSourceName' => '<string>',
            'description' => '<string>',
            'functionArn' => '<string>',
            'functionId' => '<string>',
            'functionVersion' => '<string>',
            'maxBatchSize' => <integer>,
            'name' => '<string>',
            'requestMappingTemplate' => '<string>',
            'responseMappingTemplate' => '<string>',
            'syncConfig' => [
                'conflictDetection' => 'VERSION|NONE',
                'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
                'lambdaConflictHandlerConfig' => [
                    'lambdaConflictHandlerArn' => '<string>',
                ],
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
functions
  • Type: Array of FunctionConfiguration structures

A list of Function objects.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListGraphqlApis

$result = $client->listGraphqlApis([/* ... */]);
$promise = $client->listGraphqlApisAsync([/* ... */]);

Lists your GraphQL APIs.

Parameter Syntax

$result = $client->listGraphqlApis([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Result Syntax

[
    'graphqlApis' => [
        [
            'additionalAuthenticationProviders' => [
                [
                    'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
                    'lambdaAuthorizerConfig' => [
                        'authorizerResultTtlInSeconds' => <integer>,
                        'authorizerUri' => '<string>',
                        'identityValidationExpression' => '<string>',
                    ],
                    'openIDConnectConfig' => [
                        'authTTL' => <integer>,
                        'clientId' => '<string>',
                        'iatTTL' => <integer>,
                        'issuer' => '<string>',
                    ],
                    'userPoolConfig' => [
                        'appIdClientRegex' => '<string>',
                        'awsRegion' => '<string>',
                        'userPoolId' => '<string>',
                    ],
                ],
                // ...
            ],
            'apiId' => '<string>',
            'arn' => '<string>',
            'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
            'lambdaAuthorizerConfig' => [
                'authorizerResultTtlInSeconds' => <integer>,
                'authorizerUri' => '<string>',
                'identityValidationExpression' => '<string>',
            ],
            'logConfig' => [
                'cloudWatchLogsRoleArn' => '<string>',
                'excludeVerboseContent' => true || false,
                'fieldLogLevel' => 'NONE|ERROR|ALL',
            ],
            'name' => '<string>',
            'openIDConnectConfig' => [
                'authTTL' => <integer>,
                'clientId' => '<string>',
                'iatTTL' => <integer>,
                'issuer' => '<string>',
            ],
            'tags' => ['<string>', ...],
            'uris' => ['<string>', ...],
            'userPoolConfig' => [
                'appIdClientRegex' => '<string>',
                'awsRegion' => '<string>',
                'defaultAction' => 'ALLOW|DENY',
                'userPoolId' => '<string>',
            ],
            'wafWebAclArn' => '<string>',
            'xrayEnabled' => true || false,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
graphqlApis
  • Type: Array of GraphqlApi structures

The GraphqlApi objects.

nextToken
  • Type: string

An identifier to pass in the next request to this operation to return the next set of items in the list.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListResolvers

$result = $client->listResolvers([/* ... */]);
$promise = $client->listResolversAsync([/* ... */]);

Lists the resolvers for a given API and type.

Parameter Syntax

$result = $client->listResolvers([
    'apiId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

typeName
  • Required: Yes
  • Type: string

The type name.

Result Syntax

[
    'nextToken' => '<string>',
    'resolvers' => [
        [
            'cachingConfig' => [
                'cachingKeys' => ['<string>', ...],
                'ttl' => <integer>,
            ],
            'dataSourceName' => '<string>',
            'fieldName' => '<string>',
            'kind' => 'UNIT|PIPELINE',
            'maxBatchSize' => <integer>,
            'pipelineConfig' => [
                'functions' => ['<string>', ...],
            ],
            'requestMappingTemplate' => '<string>',
            'resolverArn' => '<string>',
            'responseMappingTemplate' => '<string>',
            'syncConfig' => [
                'conflictDetection' => 'VERSION|NONE',
                'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
                'lambdaConflictHandlerConfig' => [
                    'lambdaConflictHandlerArn' => '<string>',
                ],
            ],
            'typeName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
  • Type: string

An identifier to pass in the next request to this operation to return the next set of items in the list.

resolvers
  • Type: Array of Resolver structures

The Resolver objects.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListResolversByFunction

$result = $client->listResolversByFunction([/* ... */]);
$promise = $client->listResolversByFunctionAsync([/* ... */]);

List the resolvers that are associated with a specific function.

Parameter Syntax

$result = $client->listResolversByFunction([
    'apiId' => '<string>', // REQUIRED
    'functionId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

functionId
  • Required: Yes
  • Type: string

The function ID.

maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Result Syntax

[
    'nextToken' => '<string>',
    'resolvers' => [
        [
            'cachingConfig' => [
                'cachingKeys' => ['<string>', ...],
                'ttl' => <integer>,
            ],
            'dataSourceName' => '<string>',
            'fieldName' => '<string>',
            'kind' => 'UNIT|PIPELINE',
            'maxBatchSize' => <integer>,
            'pipelineConfig' => [
                'functions' => ['<string>', ...],
            ],
            'requestMappingTemplate' => '<string>',
            'resolverArn' => '<string>',
            'responseMappingTemplate' => '<string>',
            'syncConfig' => [
                'conflictDetection' => 'VERSION|NONE',
                'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
                'lambdaConflictHandlerConfig' => [
                    'lambdaConflictHandlerArn' => '<string>',
                ],
            ],
            'typeName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
  • Type: string

An identifier that you can use to return the next set of items in the list.

resolvers
  • Type: Array of Resolver structures

The list of resolvers.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

ListTagsForResource

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

Lists the tags for a resource.

Parameter Syntax

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

Parameter Details

Members
resourceArn
  • Required: Yes
  • Type: string

The GraphqlApi Amazon Resource Name (ARN).

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
  • Type: Associative array of custom strings keys (TagKey) to strings

A TagMap object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

ListTypes

$result = $client->listTypes([/* ... */]);
$promise = $client->listTypesAsync([/* ... */]);

Lists the types for a given API.

Parameter Syntax

$result = $client->listTypes([
    'apiId' => '<string>', // REQUIRED
    'format' => 'SDL|JSON', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

format
  • Required: Yes
  • Type: string

The type format: SDL or JSON.

maxResults
  • Type: int

The maximum number of results that you want the request to return.

nextToken
  • Type: string

An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

Result Syntax

[
    'nextToken' => '<string>',
    'types' => [
        [
            'arn' => '<string>',
            'definition' => '<string>',
            'description' => '<string>',
            'format' => 'SDL|JSON',
            'name' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
  • Type: string

An identifier to pass in the next request to this operation to return the next set of items in the list.

types
  • Type: Array of Type structures

The Type objects.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

StartSchemaCreation

$result = $client->startSchemaCreation([/* ... */]);
$promise = $client->startSchemaCreationAsync([/* ... */]);

Adds a new schema to your GraphQL API.

This operation is asynchronous. Use to determine when it has completed.

Parameter Syntax

$result = $client->startSchemaCreation([
    'apiId' => '<string>', // REQUIRED
    'definition' => <string || resource || Psr\Http\Message\StreamInterface>, // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

definition
  • Required: Yes
  • Type: blob (string|resource|Psr\Http\Message\StreamInterface)

The schema definition, in GraphQL schema language format.

Result Syntax

[
    'status' => 'PROCESSING|ACTIVE|DELETING|FAILED|SUCCESS|NOT_APPLICABLE',
]

Result Details

Members
status
  • Type: string

The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add data.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

TagResource

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

Tags a resource with user-supplied tags.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
  • Required: Yes
  • Type: string

The GraphqlApi Amazon Resource Name (ARN).

tags
  • Required: Yes
  • Type: Associative array of custom strings keys (TagKey) to strings

A TagMap object.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

UntagResource

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

Untags a resource.

Parameter Syntax

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

Parameter Details

Members
resourceArn
  • Required: Yes
  • Type: string

The GraphqlApi Amazon Resource Name (ARN).

tagKeys
  • Required: Yes
  • Type: Array of strings

A list of TagKey objects.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

UpdateApiCache

$result = $client->updateApiCache([/* ... */]);
$promise = $client->updateApiCacheAsync([/* ... */]);

Updates the cache for the GraphQL API.

Parameter Syntax

$result = $client->updateApiCache([
    'apiCachingBehavior' => 'FULL_REQUEST_CACHING|PER_RESOLVER_CACHING', // REQUIRED
    'apiId' => '<string>', // REQUIRED
    'ttl' => <integer>, // REQUIRED
    'type' => 'T2_SMALL|T2_MEDIUM|R4_LARGE|R4_XLARGE|R4_2XLARGE|R4_4XLARGE|R4_8XLARGE|SMALL|MEDIUM|LARGE|XLARGE|LARGE_2X|LARGE_4X|LARGE_8X|LARGE_12X', // REQUIRED
]);

Parameter Details

Members
apiCachingBehavior
  • Required: Yes
  • Type: string

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

ttl
  • Required: Yes
  • Type: long (int|float)

TTL in seconds for cache entries.

Valid values are 1–3,600 seconds.

type
  • Required: Yes
  • Type: string

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Result Syntax

[
    'apiCache' => [
        'apiCachingBehavior' => 'FULL_REQUEST_CACHING|PER_RESOLVER_CACHING',
        'atRestEncryptionEnabled' => true || false,
        'status' => 'AVAILABLE|CREATING|DELETING|MODIFYING|FAILED',
        'transitEncryptionEnabled' => true || false,
        'ttl' => <integer>,
        'type' => 'T2_SMALL|T2_MEDIUM|R4_LARGE|R4_XLARGE|R4_2XLARGE|R4_4XLARGE|R4_8XLARGE|SMALL|MEDIUM|LARGE|XLARGE|LARGE_2X|LARGE_4X|LARGE_8X|LARGE_12X',
    ],
]

Result Details

Members
apiCache
  • Type: ApiCache structure

The ApiCache object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

UpdateApiKey

$result = $client->updateApiKey([/* ... */]);
$promise = $client->updateApiKeyAsync([/* ... */]);

Updates an API key. You can update the key as long as it's not deleted.

Parameter Syntax

$result = $client->updateApiKey([
    'apiId' => '<string>', // REQUIRED
    'description' => '<string>',
    'expires' => <integer>,
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The ID for the GraphQL API.

description
  • Type: string

A description of the purpose of the API key.

expires
  • Type: long (int|float)

From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .

id
  • Required: Yes
  • Type: string

The API key ID.

Result Syntax

[
    'apiKey' => [
        'deletes' => <integer>,
        'description' => '<string>',
        'expires' => <integer>,
        'id' => '<string>',
    ],
]

Result Details

Members
apiKey
  • Type: ApiKey structure

The API key.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • LimitExceededException:

    The request exceeded a limit. Try your request again.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • ApiKeyValidityOutOfBoundsException:

    The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).

UpdateDataSource

$result = $client->updateDataSource([/* ... */]);
$promise = $client->updateDataSourceAsync([/* ... */]);

Updates a DataSource object.

Parameter Syntax

$result = $client->updateDataSource([
    'apiId' => '<string>', // REQUIRED
    'description' => '<string>',
    'dynamodbConfig' => [
        'awsRegion' => '<string>', // REQUIRED
        'deltaSyncConfig' => [
            'baseTableTTL' => <integer>,
            'deltaSyncTableName' => '<string>',
            'deltaSyncTableTTL' => <integer>,
        ],
        'tableName' => '<string>', // REQUIRED
        'useCallerCredentials' => true || false,
        'versioned' => true || false,
    ],
    'elasticsearchConfig' => [
        'awsRegion' => '<string>', // REQUIRED
        'endpoint' => '<string>', // REQUIRED
    ],
    'httpConfig' => [
        'authorizationConfig' => [
            'authorizationType' => 'AWS_IAM', // REQUIRED
            'awsIamConfig' => [
                'signingRegion' => '<string>',
                'signingServiceName' => '<string>',
            ],
        ],
        'endpoint' => '<string>',
    ],
    'lambdaConfig' => [
        'lambdaFunctionArn' => '<string>', // REQUIRED
    ],
    'name' => '<string>', // REQUIRED
    'openSearchServiceConfig' => [
        'awsRegion' => '<string>', // REQUIRED
        'endpoint' => '<string>', // REQUIRED
    ],
    'relationalDatabaseConfig' => [
        'rdsHttpEndpointConfig' => [
            'awsRegion' => '<string>',
            'awsSecretStoreArn' => '<string>',
            'databaseName' => '<string>',
            'dbClusterIdentifier' => '<string>',
            'schema' => '<string>',
        ],
        'relationalDatabaseSourceType' => 'RDS_HTTP_ENDPOINT',
    ],
    'serviceRoleArn' => '<string>',
    'type' => 'AWS_LAMBDA|AMAZON_DYNAMODB|AMAZON_ELASTICSEARCH|NONE|HTTP|RELATIONAL_DATABASE|AMAZON_OPENSEARCH_SERVICE', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

description
  • Type: string

The new description for the data source.

dynamodbConfig
  • Type: DynamodbDataSourceConfig structure

The new Amazon DynamoDB configuration.

elasticsearchConfig
  • Type: ElasticsearchDataSourceConfig structure

The new OpenSearch configuration.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.

httpConfig
  • Type: HttpDataSourceConfig structure

The new HTTP endpoint configuration.

lambdaConfig
  • Type: LambdaDataSourceConfig structure

The new Lambda configuration.

name
  • Required: Yes
  • Type: string

The new name for the data source.

openSearchServiceConfig
  • Type: OpenSearchServiceDataSourceConfig structure

The new OpenSearch configuration.

relationalDatabaseConfig
  • Type: RelationalDatabaseDataSourceConfig structure

The new relational database configuration.

serviceRoleArn
  • Type: string

The new service role Amazon Resource Name (ARN) for the data source.

type
  • Required: Yes
  • Type: string

The new data source type.

Result Syntax

[
    'dataSource' => [
        'dataSourceArn' => '<string>',
        'description' => '<string>',
        'dynamodbConfig' => [
            'awsRegion' => '<string>',
            'deltaSyncConfig' => [
                'baseTableTTL' => <integer>,
                'deltaSyncTableName' => '<string>',
                'deltaSyncTableTTL' => <integer>,
            ],
            'tableName' => '<string>',
            'useCallerCredentials' => true || false,
            'versioned' => true || false,
        ],
        'elasticsearchConfig' => [
            'awsRegion' => '<string>',
            'endpoint' => '<string>',
        ],
        'httpConfig' => [
            'authorizationConfig' => [
                'authorizationType' => 'AWS_IAM',
                'awsIamConfig' => [
                    'signingRegion' => '<string>',
                    'signingServiceName' => '<string>',
                ],
            ],
            'endpoint' => '<string>',
        ],
        'lambdaConfig' => [
            'lambdaFunctionArn' => '<string>',
        ],
        'name' => '<string>',
        'openSearchServiceConfig' => [
            'awsRegion' => '<string>',
            'endpoint' => '<string>',
        ],
        'relationalDatabaseConfig' => [
            'rdsHttpEndpointConfig' => [
                'awsRegion' => '<string>',
                'awsSecretStoreArn' => '<string>',
                'databaseName' => '<string>',
                'dbClusterIdentifier' => '<string>',
                'schema' => '<string>',
            ],
            'relationalDatabaseSourceType' => 'RDS_HTTP_ENDPOINT',
        ],
        'serviceRoleArn' => '<string>',
        'type' => 'AWS_LAMBDA|AMAZON_DYNAMODB|AMAZON_ELASTICSEARCH|NONE|HTTP|RELATIONAL_DATABASE|AMAZON_OPENSEARCH_SERVICE',
    ],
]

Result Details

Members
dataSource
  • Type: DataSource structure

The updated DataSource object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

UpdateDomainName

$result = $client->updateDomainName([/* ... */]);
$promise = $client->updateDomainNameAsync([/* ... */]);

Updates a custom DomainName object.

Parameter Syntax

$result = $client->updateDomainName([
    'description' => '<string>',
    'domainName' => '<string>', // REQUIRED
]);

Parameter Details

Members
description
  • Type: string

A description of the DomainName.

domainName
  • Required: Yes
  • Type: string

The domain name.

Result Syntax

[
    'domainNameConfig' => [
        'appsyncDomainName' => '<string>',
        'certificateArn' => '<string>',
        'description' => '<string>',
        'domainName' => '<string>',
        'hostedZoneId' => '<string>',
    ],
]

Result Details

Members
domainNameConfig
  • Type: DomainNameConfig structure

The configuration for the DomainName.

Errors

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

UpdateFunction

$result = $client->updateFunction([/* ... */]);
$promise = $client->updateFunctionAsync([/* ... */]);

Updates a Function object.

Parameter Syntax

$result = $client->updateFunction([
    'apiId' => '<string>', // REQUIRED
    'dataSourceName' => '<string>', // REQUIRED
    'description' => '<string>',
    'functionId' => '<string>', // REQUIRED
    'functionVersion' => '<string>', // REQUIRED
    'maxBatchSize' => <integer>,
    'name' => '<string>', // REQUIRED
    'requestMappingTemplate' => '<string>',
    'responseMappingTemplate' => '<string>',
    'syncConfig' => [
        'conflictDetection' => 'VERSION|NONE',
        'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
        'lambdaConflictHandlerConfig' => [
            'lambdaConflictHandlerArn' => '<string>',
        ],
    ],
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The GraphQL API ID.

dataSourceName
  • Required: Yes
  • Type: string

The Function DataSource name.

description
  • Type: string

The Function description.

functionId
  • Required: Yes
  • Type: string

The function ID.

functionVersion
  • Required: Yes
  • Type: string

The version of the request mapping template. Currently, the supported value is 2018-05-29.

maxBatchSize
  • Type: int

The maximum batching size for a resolver.

name
  • Required: Yes
  • Type: string

The Function name.

requestMappingTemplate
  • Type: string

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

responseMappingTemplate
  • Type: string

The Function request mapping template.

syncConfig
  • Type: SyncConfig structure

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

Result Syntax

[
    'functionConfiguration' => [
        'dataSourceName' => '<string>',
        'description' => '<string>',
        'functionArn' => '<string>',
        'functionId' => '<string>',
        'functionVersion' => '<string>',
        'maxBatchSize' => <integer>,
        'name' => '<string>',
        'requestMappingTemplate' => '<string>',
        'responseMappingTemplate' => '<string>',
        'syncConfig' => [
            'conflictDetection' => 'VERSION|NONE',
            'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
            'lambdaConflictHandlerConfig' => [
                'lambdaConflictHandlerArn' => '<string>',
            ],
        ],
    ],
]

Result Details

Members
functionConfiguration
  • Type: FunctionConfiguration structure

The Function object.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

UpdateGraphqlApi

$result = $client->updateGraphqlApi([/* ... */]);
$promise = $client->updateGraphqlApiAsync([/* ... */]);

Updates a GraphqlApi object.

Parameter Syntax

$result = $client->updateGraphqlApi([
    'additionalAuthenticationProviders' => [
        [
            'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
            'lambdaAuthorizerConfig' => [
                'authorizerResultTtlInSeconds' => <integer>,
                'authorizerUri' => '<string>', // REQUIRED
                'identityValidationExpression' => '<string>',
            ],
            'openIDConnectConfig' => [
                'authTTL' => <integer>,
                'clientId' => '<string>',
                'iatTTL' => <integer>,
                'issuer' => '<string>', // REQUIRED
            ],
            'userPoolConfig' => [
                'appIdClientRegex' => '<string>',
                'awsRegion' => '<string>', // REQUIRED
                'userPoolId' => '<string>', // REQUIRED
            ],
        ],
        // ...
    ],
    'apiId' => '<string>', // REQUIRED
    'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
    'lambdaAuthorizerConfig' => [
        'authorizerResultTtlInSeconds' => <integer>,
        'authorizerUri' => '<string>', // REQUIRED
        'identityValidationExpression' => '<string>',
    ],
    'logConfig' => [
        'cloudWatchLogsRoleArn' => '<string>', // REQUIRED
        'excludeVerboseContent' => true || false,
        'fieldLogLevel' => 'NONE|ERROR|ALL', // REQUIRED
    ],
    'name' => '<string>', // REQUIRED
    'openIDConnectConfig' => [
        'authTTL' => <integer>,
        'clientId' => '<string>',
        'iatTTL' => <integer>,
        'issuer' => '<string>', // REQUIRED
    ],
    'userPoolConfig' => [
        'appIdClientRegex' => '<string>',
        'awsRegion' => '<string>', // REQUIRED
        'defaultAction' => 'ALLOW|DENY', // REQUIRED
        'userPoolId' => '<string>', // REQUIRED
    ],
    'xrayEnabled' => true || false,
]);

Parameter Details

Members
additionalAuthenticationProviders
  • Type: Array of AdditionalAuthenticationProvider structures

A list of additional authentication providers for the GraphqlApi API.

apiId
  • Required: Yes
  • Type: string

The API ID.

authenticationType
  • Type: string

The new authentication type for the GraphqlApi object.

lambdaAuthorizerConfig
  • Type: LambdaAuthorizerConfig structure

Configuration for Lambda function authorization.

logConfig
  • Type: LogConfig structure

The Amazon CloudWatch Logs configuration for the GraphqlApi object.

name
  • Required: Yes
  • Type: string

The new name for the GraphqlApi object.

openIDConnectConfig
  • Type: OpenIDConnectConfig structure

The OpenID Connect configuration for the GraphqlApi object.

userPoolConfig
  • Type: UserPoolConfig structure

The new Amazon Cognito user pool configuration for the ~GraphqlApi object.

xrayEnabled
  • Type: boolean

A flag indicating whether to use X-Ray tracing for the GraphqlApi.

Result Syntax

[
    'graphqlApi' => [
        'additionalAuthenticationProviders' => [
            [
                'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
                'lambdaAuthorizerConfig' => [
                    'authorizerResultTtlInSeconds' => <integer>,
                    'authorizerUri' => '<string>',
                    'identityValidationExpression' => '<string>',
                ],
                'openIDConnectConfig' => [
                    'authTTL' => <integer>,
                    'clientId' => '<string>',
                    'iatTTL' => <integer>,
                    'issuer' => '<string>',
                ],
                'userPoolConfig' => [
                    'appIdClientRegex' => '<string>',
                    'awsRegion' => '<string>',
                    'userPoolId' => '<string>',
                ],
            ],
            // ...
        ],
        'apiId' => '<string>',
        'arn' => '<string>',
        'authenticationType' => 'API_KEY|AWS_IAM|AMAZON_COGNITO_USER_POOLS|OPENID_CONNECT|AWS_LAMBDA',
        'lambdaAuthorizerConfig' => [
            'authorizerResultTtlInSeconds' => <integer>,
            'authorizerUri' => '<string>',
            'identityValidationExpression' => '<string>',
        ],
        'logConfig' => [
            'cloudWatchLogsRoleArn' => '<string>',
            'excludeVerboseContent' => true || false,
            'fieldLogLevel' => 'NONE|ERROR|ALL',
        ],
        'name' => '<string>',
        'openIDConnectConfig' => [
            'authTTL' => <integer>,
            'clientId' => '<string>',
            'iatTTL' => <integer>,
            'issuer' => '<string>',
        ],
        'tags' => ['<string>', ...],
        'uris' => ['<string>', ...],
        'userPoolConfig' => [
            'appIdClientRegex' => '<string>',
            'awsRegion' => '<string>',
            'defaultAction' => 'ALLOW|DENY',
            'userPoolId' => '<string>',
        ],
        'wafWebAclArn' => '<string>',
        'xrayEnabled' => true || false,
    ],
]

Result Details

Members
graphqlApi
  • Type: GraphqlApi structure

The updated GraphqlApi object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

  • AccessDeniedException:

    You don't have access to perform this operation on this resource.

UpdateResolver

$result = $client->updateResolver([/* ... */]);
$promise = $client->updateResolverAsync([/* ... */]);

Updates a Resolver object.

Parameter Syntax

$result = $client->updateResolver([
    'apiId' => '<string>', // REQUIRED
    'cachingConfig' => [
        'cachingKeys' => ['<string>', ...],
        'ttl' => <integer>,
    ],
    'dataSourceName' => '<string>',
    'fieldName' => '<string>', // REQUIRED
    'kind' => 'UNIT|PIPELINE',
    'maxBatchSize' => <integer>,
    'pipelineConfig' => [
        'functions' => ['<string>', ...],
    ],
    'requestMappingTemplate' => '<string>',
    'responseMappingTemplate' => '<string>',
    'syncConfig' => [
        'conflictDetection' => 'VERSION|NONE',
        'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
        'lambdaConflictHandlerConfig' => [
            'lambdaConflictHandlerArn' => '<string>',
        ],
    ],
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

cachingConfig
  • Type: CachingConfig structure

The caching configuration for the resolver.

dataSourceName
  • Type: string

The new data source name.

fieldName
  • Required: Yes
  • Type: string

The new field name.

kind
  • Type: string

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.

  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

maxBatchSize
  • Type: int

The maximum batching size for a resolver.

pipelineConfig
  • Type: PipelineConfig structure

The PipelineConfig.

requestMappingTemplate
  • Type: string

The new request mapping template.

A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).

VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.

responseMappingTemplate
  • Type: string

The new response mapping template.

syncConfig
  • Type: SyncConfig structure

The SyncConfig for a resolver attached to a versioned data source.

typeName
  • Required: Yes
  • Type: string

The new type name.

Result Syntax

[
    'resolver' => [
        'cachingConfig' => [
            'cachingKeys' => ['<string>', ...],
            'ttl' => <integer>,
        ],
        'dataSourceName' => '<string>',
        'fieldName' => '<string>',
        'kind' => 'UNIT|PIPELINE',
        'maxBatchSize' => <integer>,
        'pipelineConfig' => [
            'functions' => ['<string>', ...],
        ],
        'requestMappingTemplate' => '<string>',
        'resolverArn' => '<string>',
        'responseMappingTemplate' => '<string>',
        'syncConfig' => [
            'conflictDetection' => 'VERSION|NONE',
            'conflictHandler' => 'OPTIMISTIC_CONCURRENCY|LAMBDA|AUTOMERGE|NONE',
            'lambdaConflictHandlerConfig' => [
                'lambdaConflictHandlerArn' => '<string>',
            ],
        ],
        'typeName' => '<string>',
    ],
]

Result Details

Members
resolver
  • Type: Resolver structure

The updated Resolver object.

Errors

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

UpdateType

$result = $client->updateType([/* ... */]);
$promise = $client->updateTypeAsync([/* ... */]);

Updates a Type object.

Parameter Syntax

$result = $client->updateType([
    'apiId' => '<string>', // REQUIRED
    'definition' => '<string>',
    'format' => 'SDL|JSON', // REQUIRED
    'typeName' => '<string>', // REQUIRED
]);

Parameter Details

Members
apiId
  • Required: Yes
  • Type: string

The API ID.

definition
  • Type: string

The new definition.

format
  • Required: Yes
  • Type: string

The new type format: SDL or JSON.

typeName
  • Required: Yes
  • Type: string

The new type name.

Result Syntax

[
    'type' => [
        'arn' => '<string>',
        'definition' => '<string>',
        'description' => '<string>',
        'format' => 'SDL|JSON',
        'name' => '<string>',
    ],
]

Result Details

Members
type
  • Type: Type structure

The updated Type object.

Errors

  • BadRequestException:

    The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

  • ConcurrentModificationException:

    Another modification is in progress at this time and it must complete before you can make your change.

  • NotFoundException:

    The resource specified in the request was not found. Check the resource, and then try again.

  • UnauthorizedException:

    You aren't authorized to perform this operation.

  • InternalFailureException:

    An internal AppSync error occurred. Try your request again.

Shapes

AccessDeniedException

Description

You don't have access to perform this operation on this resource.

Members
message
  • Type: string

AdditionalAuthenticationProvider

Description

Describes an additional authentication provider.

Members
authenticationType
  • Type: string

The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

lambdaAuthorizerConfig
  • Type: LambdaAuthorizerConfig structure

Configuration for Lambda function authorization.

openIDConnectConfig
  • Type: OpenIDConnectConfig structure

The OIDC configuration.

userPoolConfig
  • Type: CognitoUserPoolConfig structure

The Amazon Cognito user pool configuration.

ApiAssociation

Description

Describes an ApiAssociation object.

Members
apiId
  • Type: string

The API ID.

associationStatus
  • Type: string

Identifies the status of an association.

  • PROCESSING: The API association is being created. You cannot modify association requests during processing.

  • SUCCESS: The API association was successful. You can modify associations after success.

  • FAILED: The API association has failed. You can modify associations after failure.

deploymentDetail
  • Type: string

Details about the last deployment status.

domainName
  • Type: string

The domain name.

ApiCache

Description

The ApiCache object.

Members
apiCachingBehavior
  • Type: string

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

atRestEncryptionEnabled
  • Type: boolean

At-rest encryption flag for cache. You cannot update this setting after creation.

status
  • Type: string

The cache instance status.

  • AVAILABLE: The instance is available for use.

  • CREATING: The instance is currently creating.

  • DELETING: The instance is currently deleting.

  • MODIFYING: The instance is currently modifying.

  • FAILED: The instance has failed creation.

transitEncryptionEnabled
  • Type: boolean

Transit encryption flag when connecting to cache. You cannot update this setting after creation.

ttl
  • Type: long (int|float)

TTL in seconds for cache entries.

Valid values are 1–3,600 seconds.

type
  • Type: string

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

ApiKey

Description

Describes an API key.

Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:

da1: We introduced this version at launch in November 2017. These keys always expire after 7 days. Amazon DynamoDB TTL manages key expiration. These keys ceased to be valid after February 21, 2018, and they should no longer be used.

  • ListApiKeys returns the expiration time in milliseconds.

  • CreateApiKey returns the expiration time in milliseconds.

  • UpdateApiKey is not available for this key version.

  • DeleteApiKey deletes the item from the table.

  • Expiration is stored in DynamoDB as milliseconds. This results in a bug where keys are not automatically deleted because DynamoDB expects the TTL to be stored in seconds. As a one-time action, we deleted these keys from the table on February 21, 2018.

da2: We introduced this version in February 2018 when AppSync added support to extend key expiration.

  • ListApiKeys returns the expiration time and deletion time in seconds.

  • CreateApiKey returns the expiration time and deletion time in seconds and accepts a user-provided expiration time in seconds.

  • UpdateApiKey returns the expiration time and and deletion time in seconds and accepts a user-provided expiration time in seconds. Expired API keys are kept for 60 days after the expiration time. You can update the key expiration time as long as the key isn't deleted.

  • DeleteApiKey deletes the item from the table.

  • Expiration is stored in DynamoDB as seconds. After the expiration time, using the key to authenticate will fail. However, you can reinstate the key before deletion.

  • Deletion is stored in DynamoDB as seconds. The key is deleted after deletion time.

Members
deletes
  • Type: long (int|float)

The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.

description
  • Type: string

A description of the purpose of the API key.

expires
  • Type: long (int|float)

The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.

id
  • Type: string

The API key ID.

ApiKeyLimitExceededException

Description

The API key exceeded a limit. Try your request again.

Members
message
  • Type: string

ApiKeyValidityOutOfBoundsException

Description

The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).

Members
message
  • Type: string

ApiLimitExceededException

Description

The GraphQL API exceeded a limit. Try your request again.

Members
message
  • Type: string

AuthorizationConfig

Description

The authorization configuration in case the HTTP endpoint requires authorization.

Members
authorizationType
  • Required: Yes
  • Type: string

The authorization type that the HTTP endpoint requires.

  • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

awsIamConfig
  • Type: AwsIamConfig structure

The Identity and Access Management (IAM) settings.

AwsIamConfig

Description

The Identity and Access Management (IAM) configuration.

Members
signingRegion
  • Type: string

The signing Amazon Web Services Region for IAM authorization.

signingServiceName
  • Type: string

The signing service name for IAM authorization.

BadRequestException

Description

The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

Members
message
  • Type: string

CachingConfig

Description

The caching configuration for a resolver that has caching activated.

Members
cachingKeys
  • Type: Array of strings

The caching keys for a resolver that has caching activated.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

ttl
  • Type: long (int|float)

The TTL in seconds for a resolver that has caching activated.

Valid values are 1–3,600 seconds.

CognitoUserPoolConfig

Description

Describes an Amazon Cognito user pool configuration.

Members
appIdClientRegex
  • Type: string

A regular expression for validating the incoming Amazon Cognito user pool app client ID.

awsRegion
  • Required: Yes
  • Type: string

The Amazon Web Services Region in which the user pool was created.

userPoolId
  • Required: Yes
  • Type: string

The user pool ID.

ConcurrentModificationException

Description

Another modification is in progress at this time and it must complete before you can make your change.

Members
message
  • Type: string

DataSource

Description

Describes a data source.

Members
dataSourceArn
  • Type: string

The data source Amazon Resource Name (ARN).

description
  • Type: string

The description of the data source.

dynamodbConfig
  • Type: DynamodbDataSourceConfig structure

DynamoDB settings.

elasticsearchConfig
  • Type: ElasticsearchDataSourceConfig structure

Amazon OpenSearch Service settings.

httpConfig
  • Type: HttpDataSourceConfig structure

HTTP endpoint settings.

lambdaConfig
  • Type: LambdaDataSourceConfig structure

Lambda settings.

name
  • Type: string

The name of the data source.

openSearchServiceConfig
  • Type: OpenSearchServiceDataSourceConfig structure

Amazon OpenSearch Service settings.

relationalDatabaseConfig
  • Type: RelationalDatabaseDataSourceConfig structure

Relational database settings.

serviceRoleArn
  • Type: string

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.

type
  • Type: string

The type of the data source.

  • AWS_LAMBDA: The data source is an Lambda function.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.

  • AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.

  • NONE: There is no data source. Use this type when you want to invoke a GraphQL operation without connecting to a data source, such as when you're performing data transformation with resolvers or invoking a subscription from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

DeltaSyncConfig

Description

Describes a Delta Sync configuration.

Members
baseTableTTL
  • Type: long (int|float)

The number of minutes that an Item is stored in the data source.

deltaSyncTableName
  • Type: string

The Delta Sync table name.

deltaSyncTableTTL
  • Type: long (int|float)

The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.

DomainNameConfig

Description

Describes a configuration for a custom domain.

Members
appsyncDomainName
  • Type: string

The domain name that AppSync provides.

certificateArn
  • Type: string

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.

description
  • Type: string

A description of the DomainName configuration.

domainName
  • Type: string

The domain name.

hostedZoneId
  • Type: string

The ID of your Amazon Route 53 hosted zone.

DynamodbDataSourceConfig

Description

Describes an Amazon DynamoDB data source configuration.

Members
awsRegion
  • Required: Yes
  • Type: string

The Amazon Web Services Region.

deltaSyncConfig
  • Type: DeltaSyncConfig structure

The DeltaSyncConfig for a versioned data source.

tableName
  • Required: Yes
  • Type: string

The table name.

useCallerCredentials
  • Type: boolean

Set to TRUE to use Amazon Cognito credentials with this data source.

versioned
  • Type: boolean

Set to TRUE to use Conflict Detection and Resolution with this data source.

ElasticsearchDataSourceConfig

Description

Describes an OpenSearch data source configuration.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.

Members
awsRegion
  • Required: Yes
  • Type: string

The Amazon Web Services Region.

endpoint
  • Required: Yes
  • Type: string

The endpoint.

FunctionConfiguration

Description

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

Members
dataSourceName
  • Type: string

The name of the DataSource.

description
  • Type: string

The Function description.

functionArn
  • Type: string

The Amazon Resource Name (ARN) of the Function object.

functionId
  • Type: string

A unique ID representing the Function object.

functionVersion
  • Type: string

The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.

maxBatchSize
  • Type: int

The maximum batching size for a resolver.

name
  • Type: string

The name of the Function object.

requestMappingTemplate
  • Type: string

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

responseMappingTemplate
  • Type: string

The Function response mapping template.

syncConfig
  • Type: SyncConfig structure

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

GraphQLSchemaException

Description

The GraphQL schema is not valid.

Members
message
  • Type: string

GraphqlApi

Description

Describes a GraphQL API.

Members
additionalAuthenticationProviders
  • Type: Array of AdditionalAuthenticationProvider structures

A list of additional authentication providers for the GraphqlApi API.

apiId
  • Type: string

The API ID.

arn
  • Type: string

The Amazon Resource Name (ARN).

authenticationType
  • Type: string

The authentication type.

lambdaAuthorizerConfig
  • Type: LambdaAuthorizerConfig structure

Configuration for Lambda function authorization.

logConfig
  • Type: LogConfig structure

The Amazon CloudWatch Logs configuration.

name
  • Type: string

The API name.

openIDConnectConfig
  • Type: OpenIDConnectConfig structure

The OpenID Connect configuration.

tags
  • Type: Associative array of custom strings keys (TagKey) to strings

The tags.

uris
  • Type: Associative array of custom strings keys (String) to strings

The URIs.

userPoolConfig
  • Type: UserPoolConfig structure

The Amazon Cognito user pool configuration.

wafWebAclArn
  • Type: string

The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one exists.

xrayEnabled
  • Type: boolean

A flag indicating whether to use X-Ray tracing for this GraphqlApi.

HttpDataSourceConfig

Description

Describes an HTTP data source configuration.

Members
authorizationConfig
  • Type: AuthorizationConfig structure

The authorization configuration in case the HTTP endpoint requires authorization.

endpoint
  • Type: string

The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

InternalFailureException

Description

An internal AppSync error occurred. Try your request again.

Members
message
  • Type: string

LambdaAuthorizerConfig

Description

A LambdaAuthorizerConfig specifies how to authorize AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a time.

Members
authorizerResultTtlInSeconds
  • Type: int

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses.

authorizerUri
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.

Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:

aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction

identityValidationExpression
  • Type: string

A regular expression for validation of tokens before the Lambda function is called.

LambdaConflictHandlerConfig

Description

The LambdaConflictHandlerConfig object when configuring LAMBDA as the Conflict Handler.

Members
lambdaConflictHandlerArn
  • Type: string

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

LambdaDataSourceConfig

Description

Describes an Lambda data source configuration.

Members
lambdaFunctionArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) for the Lambda function.

LimitExceededException

Description

The request exceeded a limit. Try your request again.

Members
message
  • Type: string

LogConfig

Description

The Amazon CloudWatch Logs configuration.

Members
cloudWatchLogsRoleArn
  • Required: Yes
  • Type: string

The service role that AppSync assumes to publish to CloudWatch logs in your account.

excludeVerboseContent
  • Type: boolean

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

fieldLogLevel
  • Required: Yes
  • Type: string

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

NotFoundException

Description

The resource specified in the request was not found. Check the resource, and then try again.

Members
message
  • Type: string

OpenIDConnectConfig

Description

Describes an OpenID Connect (OIDC) configuration.

Members
authTTL
  • Type: long (int|float)

The number of milliseconds that a token is valid after being authenticated.

clientId
  • Type: string

The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.

iatTTL
  • Type: long (int|float)

The number of milliseconds that a token is valid after it's issued to a user.

issuer
  • Required: Yes
  • Type: string

The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

OpenSearchServiceDataSourceConfig

Description

Describes an OpenSearch data source configuration.

Members
awsRegion
  • Required: Yes
  • Type: string

The Amazon Web Services Region.

endpoint
  • Required: Yes
  • Type: string

The endpoint.

PipelineConfig

Description

The pipeline configuration for a resolver of kind PIPELINE.

Members
functions
  • Type: Array of strings

A list of Function objects.

RdsHttpEndpointConfig

Description

The Amazon Relational Database Service (Amazon RDS) HTTP endpoint configuration.

Members
awsRegion
  • Type: string

Amazon Web Services Region for Amazon RDS HTTP endpoint.

awsSecretStoreArn
  • Type: string

Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.

databaseName
  • Type: string

Logical database name.

dbClusterIdentifier
  • Type: string

Amazon RDS cluster Amazon Resource Name (ARN).

schema
  • Type: string

Logical schema name.

RelationalDatabaseDataSourceConfig

Description

Describes a relational database data source configuration.

Members
rdsHttpEndpointConfig
  • Type: RdsHttpEndpointConfig structure

Amazon RDS HTTP endpoint settings.

relationalDatabaseSourceType
  • Type: string

Source type for the relational database.

  • RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.

Resolver

Description

Describes a resolver.

Members
cachingConfig
  • Type: CachingConfig structure

The caching configuration for the resolver.

dataSourceName
  • Type: string

The resolver data source name.

fieldName
  • Type: string

The resolver field name.

kind
  • Type: string

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.

  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

maxBatchSize
  • Type: int

The maximum batching size for a resolver.

pipelineConfig
  • Type: PipelineConfig structure

The PipelineConfig.

requestMappingTemplate
  • Type: string

The request mapping template.

resolverArn
  • Type: string

The resolver Amazon Resource Name (ARN).

responseMappingTemplate
  • Type: string

The response mapping template.

syncConfig
  • Type: SyncConfig structure

The SyncConfig for a resolver attached to a versioned data source.

typeName
  • Type: string

The resolver type name.

SyncConfig

Description

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

Members
conflictDetection
  • Type: string

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when invoking this resolver.

conflictHandler
  • Type: string

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.

lambdaConflictHandlerConfig
  • Type: LambdaConflictHandlerConfig structure

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Type

Description

Describes a type.

Members
arn
  • Type: string

The type Amazon Resource Name (ARN).

definition
  • Type: string

The type definition.

description
  • Type: string

The type description.

format
  • Type: string

The type format: SDL or JSON.

name
  • Type: string

The type name.

UnauthorizedException

Description

You aren't authorized to perform this operation.

Members
message
  • Type: string

UserPoolConfig

Description

Describes an Amazon Cognito user pool configuration.

Members
appIdClientRegex
  • Type: string

A regular expression for validating the incoming Amazon Cognito user pool app client ID.

awsRegion
  • Required: Yes
  • Type: string

The Amazon Web Services Region in which the user pool was created.

defaultAction
  • Required: Yes
  • Type: string

The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.

userPoolId
  • Required: Yes
  • Type: string

The user pool ID.

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