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

Namespaces

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

Classes

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

Interfaces

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

Traits

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

Exceptions

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

CodeArtifact 2018-09-22

Client: Aws\CodeArtifact\CodeArtifactClient
Service ID: codeartifact
Version: 2018-09-22

This page describes the parameters and results for the operations of the CodeArtifact (2018-09-22), and shows how to use the Aws\CodeArtifact\CodeArtifactClient object to call the described operations. This documentation is specific to the 2018-09-22 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 */).

  • AssociateExternalConnection ( array $params = [] )

    Adds an existing external connection to a repository.

  • CopyPackageVersions ( array $params = [] )

    Copies package versions from one repository to another repository in the same domain.

  • CreateDomain ( array $params = [] )

    Creates a domain.

  • CreateRepository ( array $params = [] )

    Creates a repository.

  • DeleteDomain ( array $params = [] )

    Deletes a domain.

  • DeleteDomainPermissionsPolicy ( array $params = [] )

    Deletes the resource policy set on a domain.

  • DeletePackage ( array $params = [] )

    Deletes a package and all associated package versions.

  • DeletePackageVersions ( array $params = [] )

    Deletes one or more versions of a package.

  • DeleteRepository ( array $params = [] )

    Deletes a repository.

  • DeleteRepositoryPermissionsPolicy ( array $params = [] )

    Deletes the resource policy that is set on a repository.

  • DescribeDomain ( array $params = [] )

    Returns a DomainDescription object that contains information about the requested domain.

  • DescribePackage ( array $params = [] )

    Returns a PackageDescription object that contains information about the requested package.

  • DescribePackageVersion ( array $params = [] )

    Returns a PackageVersionDescription object that contains information about the requested package version.

  • DescribeRepository ( array $params = [] )

    Returns a RepositoryDescription object that contains detailed information about the requested repository.

  • DisassociateExternalConnection ( array $params = [] )

    Removes an existing external connection from a repository.

  • DisposePackageVersions ( array $params = [] )

    Deletes the assets in package versions and sets the package versions' status to Disposed.

  • GetAuthorizationToken ( array $params = [] )

    Generates a temporary authorization token for accessing repositories in the domain.

  • GetDomainPermissionsPolicy ( array $params = [] )

    Returns the resource policy attached to the specified domain.

  • GetPackageVersionAsset ( array $params = [] )

    Returns an asset (or file) that is in a package.

  • GetPackageVersionReadme ( array $params = [] )

    Gets the readme file or descriptive text for a package version.

  • GetRepositoryEndpoint ( array $params = [] )

    Returns the endpoint of a repository for a specific package format.

  • GetRepositoryPermissionsPolicy ( array $params = [] )

    Returns the resource policy that is set on a repository.

  • ListDomains ( array $params = [] )

    Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call.

  • ListPackageVersionAssets ( array $params = [] )

    Returns a list of AssetSummary objects for assets in a package version.

  • ListPackageVersionDependencies ( array $params = [] )

    Returns the direct dependencies for a package version.

  • ListPackageVersions ( array $params = [] )

    Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters.

  • ListPackages ( array $params = [] )

    Returns a list of PackageSummary objects for packages in a repository that match the request parameters.

  • ListRepositories ( array $params = [] )

    Returns a list of RepositorySummary objects.

  • ListRepositoriesInDomain ( array $params = [] )

    Returns a list of RepositorySummary objects.

  • ListTagsForResource ( array $params = [] )

    Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.

  • PublishPackageVersion ( array $params = [] )

    Creates a new package version containing one or more assets (or files).

  • PutDomainPermissionsPolicy ( array $params = [] )

    Sets a resource policy on a domain that specifies permissions to access it.

  • PutPackageOriginConfiguration ( array $params = [] )

    Sets the package origin configuration for a package.

  • PutRepositoryPermissionsPolicy ( array $params = [] )

    Sets the resource policy on a repository that specifies permissions to access it.

  • TagResource ( array $params = [] )

    Adds or updates tags for a resource in CodeArtifact.

  • UntagResource ( array $params = [] )

    Removes tags from a resource in CodeArtifact.

  • UpdatePackageVersionsStatus ( array $params = [] )

    Updates the status of one or more versions of a package.

  • UpdateRepository ( array $params = [] )

    Update the properties of a repository.

Paginators

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

  • ListDomains
  • ListPackageVersionAssets
  • ListPackageVersions
  • ListPackages
  • ListRepositories
  • ListRepositoriesInDomain

Operations

AssociateExternalConnection

$result = $client->associateExternalConnection([/* ... */]);
$promise = $client->associateExternalConnectionAsync([/* ... */]);

Adds an existing external connection to a repository. One external connection is allowed per repository.

A repository can have one or more upstream repositories, or an external connection.

Parameter Syntax

$result = $client->associateExternalConnection([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'externalConnection' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

externalConnection
  • Required: Yes
  • Type: string

The name of the external connection to add to the repository. The following values are supported:

  • public:npmjs - for the npm public repository.

  • public:nuget-org - for the NuGet Gallery.

  • public:pypi - for the Python Package Index.

  • public:maven-central - for Maven Central.

  • public:maven-googleandroid - for the Google Android repository.

  • public:maven-gradleplugins - for the Gradle plugins repository.

  • public:maven-commonsware - for the CommonsWare Android repository.

  • public:maven-clojars - for the Clojars repository.

repository
  • Required: Yes
  • Type: string

The name of the repository to which the external connection is added.

Result Syntax

[
    'repository' => [
        'administratorAccount' => '<string>',
        'arn' => '<string>',
        'createdTime' => <DateTime>,
        'description' => '<string>',
        'domainName' => '<string>',
        'domainOwner' => '<string>',
        'externalConnections' => [
            [
                'externalConnectionName' => '<string>',
                'packageFormat' => 'npm|pypi|maven|nuget|generic',
                'status' => 'Available',
            ],
            // ...
        ],
        'name' => '<string>',
        'upstreams' => [
            [
                'repositoryName' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
repository
  • Type: RepositoryDescription structure

Information about the connected repository after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

CopyPackageVersions

$result = $client->copyPackageVersions([/* ... */]);
$promise = $client->copyPackageVersionsAsync([/* ... */]);

Copies package versions from one repository to another repository in the same domain.

You must specify versions or versionRevisions. You cannot specify both.

Parameter Syntax

$result = $client->copyPackageVersions([
    'allowOverwrite' => true || false,
    'destinationRepository' => '<string>', // REQUIRED
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'includeFromUpstream' => true || false,
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'sourceRepository' => '<string>', // REQUIRED
    'versionRevisions' => ['<string>', ...],
    'versions' => ['<string>', ...],
]);

Parameter Details

Members
allowOverwrite
  • Type: boolean

Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code.

destinationRepository
  • Required: Yes
  • Type: string

The name of the repository into which package versions are copied.

domain
  • Required: Yes
  • Type: string

The name of the domain that contains the source and destination repositories.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

The format of the package versions to be copied.

includeFromUpstream
  • Type: boolean

Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.

namespace
  • Type: string

The namespace of the package versions to be copied. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId. The namespace is required when copying Maven package versions.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package that contains the versions to be copied.

sourceRepository
  • Required: Yes
  • Type: string

The name of the repository that contains the package versions to be copied.

versionRevisions
  • Type: Associative array of custom strings keys (PackageVersion) to strings

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

versions
  • Type: Array of strings

The versions of the package to be copied.

You must specify versions or versionRevisions. You cannot specify both.

Result Syntax

[
    'failedVersions' => [
        '<PackageVersion>' => [
            'errorCode' => 'ALREADY_EXISTS|MISMATCHED_REVISION|MISMATCHED_STATUS|NOT_ALLOWED|NOT_FOUND|SKIPPED',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'successfulVersions' => [
        '<PackageVersion>' => [
            'revision' => '<string>',
            'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
        ],
        // ...
    ],
]

Result Details

Members
failedVersions
  • Type: Associative array of custom strings keys (PackageVersion) to PackageVersionError structures

A map of package versions that failed to copy and their error codes. The possible error codes are in the PackageVersionError data type. They are:

  • ALREADY_EXISTS

  • MISMATCHED_REVISION

  • MISMATCHED_STATUS

  • NOT_ALLOWED

  • NOT_FOUND

  • SKIPPED

successfulVersions
  • Type: Associative array of custom strings keys (PackageVersion) to SuccessfulPackageVersionInfo structures

A list of the package versions that were successfully copied to your repository.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

CreateDomain

$result = $client->createDomain([/* ... */]);
$promise = $client->createDomainAsync([/* ... */]);

Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different Amazon Web Services accounts. An asset is stored only once in a domain, even if it's in multiple repositories.

Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second pre-production domain to test changes to the production domain configuration.

Parameter Syntax

$result = $client->createDomain([
    'domain' => '<string>', // REQUIRED
    'encryptionKey' => '<string>',
    'tags' => [
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.

encryptionKey
  • Type: string

The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey, your IAM role must have kms:DescribeKey and kms:CreateGrant permissions on the encryption key that is used. For more information, see DescribeKey in the Key Management Service API Reference and Key Management Service API Permissions Reference in the Key Management Service Developer Guide.

CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.

tags
  • Type: Array of Tag structures

One or more tag key-value pairs for the domain.

Result Syntax

[
    'domain' => [
        'arn' => '<string>',
        'assetSizeBytes' => <integer>,
        'createdTime' => <DateTime>,
        'encryptionKey' => '<string>',
        'name' => '<string>',
        'owner' => '<string>',
        'repositoryCount' => <integer>,
        's3BucketArn' => '<string>',
        'status' => 'Active|Deleted',
    ],
]

Result Details

Members
domain
  • Type: DomainDescription structure

Contains information about the created domain after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

CreateRepository

$result = $client->createRepository([/* ... */]);
$promise = $client->createRepositoryAsync([/* ... */]);

Creates a repository.

Parameter Syntax

$result = $client->createRepository([
    'description' => '<string>',
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'repository' => '<string>', // REQUIRED
    'tags' => [
        [
            'key' => '<string>', // REQUIRED
            'value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'upstreams' => [
        [
            'repositoryName' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
description
  • Type: string

A description of the created repository.

domain
  • Required: Yes
  • Type: string

The name of the domain that contains the created repository.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

repository
  • Required: Yes
  • Type: string

The name of the repository to create.

tags
  • Type: Array of Tag structures

One or more tag key-value pairs for the repository.

upstreams
  • Type: Array of UpstreamRepository structures

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

Result Syntax

[
    'repository' => [
        'administratorAccount' => '<string>',
        'arn' => '<string>',
        'createdTime' => <DateTime>,
        'description' => '<string>',
        'domainName' => '<string>',
        'domainOwner' => '<string>',
        'externalConnections' => [
            [
                'externalConnectionName' => '<string>',
                'packageFormat' => 'npm|pypi|maven|nuget|generic',
                'status' => 'Available',
            ],
            // ...
        ],
        'name' => '<string>',
        'upstreams' => [
            [
                'repositoryName' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
repository
  • Type: RepositoryDescription structure

Information about the created repository after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DeleteDomain

$result = $client->deleteDomain([/* ... */]);
$promise = $client->deleteDomainAsync([/* ... */]);

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

Parameter Syntax

$result = $client->deleteDomain([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain to delete.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

Result Syntax

[
    'domain' => [
        'arn' => '<string>',
        'assetSizeBytes' => <integer>,
        'createdTime' => <DateTime>,
        'encryptionKey' => '<string>',
        'name' => '<string>',
        'owner' => '<string>',
        'repositoryCount' => <integer>,
        's3BucketArn' => '<string>',
        'status' => 'Active|Deleted',
    ],
]

Result Details

Members
domain
  • Type: DomainDescription structure

Contains information about the deleted domain after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DeleteDomainPermissionsPolicy

$result = $client->deleteDomainPermissionsPolicy([/* ... */]);
$promise = $client->deleteDomainPermissionsPolicyAsync([/* ... */]);

Deletes the resource policy set on a domain.

Parameter Syntax

$result = $client->deleteDomainPermissionsPolicy([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'policyRevision' => '<string>',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain associated with the resource policy to be deleted.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

policyRevision
  • Type: string

The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.

Result Syntax

[
    'policy' => [
        'document' => '<string>',
        'resourceArn' => '<string>',
        'revision' => '<string>',
    ],
]

Result Details

Members
policy
  • Type: ResourcePolicy structure

Information about the deleted resource policy after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DeletePackage

$result = $client->deletePackage([/* ... */]);
$promise = $client->deletePackageAsync([/* ... */]);

Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.

Parameter Syntax

$result = $client->deletePackage([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the package to delete.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

The format of the requested package to delete.

namespace
  • Type: string

The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId. The namespace is required when deleting Maven package versions.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package to delete.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the package to delete.

Result Syntax

[
    'deletedPackage' => [
        'format' => 'npm|pypi|maven|nuget|generic',
        'namespace' => '<string>',
        'originConfiguration' => [
            'restrictions' => [
                'publish' => 'ALLOW|BLOCK',
                'upstream' => 'ALLOW|BLOCK',
            ],
        ],
        'package' => '<string>',
    ],
]

Result Details

Members
deletedPackage
  • Type: PackageSummary structure

Details about a package, including its format, namespace, and name.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DeletePackageVersions

$result = $client->deletePackageVersions([/* ... */]);
$promise = $client->deletePackageVersionsAsync([/* ... */]);

Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus.

Parameter Syntax

$result = $client->deletePackageVersions([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'expectedStatus' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
    'versions' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the package to delete.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

expectedStatus
  • Type: string

The expected status of the package version to delete.

format
  • Required: Yes
  • Type: string

The format of the package versions to delete.

namespace
  • Type: string

The namespace of the package versions to be deleted. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId. The namespace is required when deleting Maven package versions.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package with the versions to delete.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the package versions to delete.

versions
  • Required: Yes
  • Type: Array of strings

An array of strings that specify the versions of the package to delete.

Result Syntax

[
    'failedVersions' => [
        '<PackageVersion>' => [
            'errorCode' => 'ALREADY_EXISTS|MISMATCHED_REVISION|MISMATCHED_STATUS|NOT_ALLOWED|NOT_FOUND|SKIPPED',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'successfulVersions' => [
        '<PackageVersion>' => [
            'revision' => '<string>',
            'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
        ],
        // ...
    ],
]

Result Details

Members
failedVersions
  • Type: Associative array of custom strings keys (PackageVersion) to PackageVersionError structures

A PackageVersionError object that contains a map of errors codes for the deleted package that failed. The possible error codes are:

  • ALREADY_EXISTS

  • MISMATCHED_REVISION

  • MISMATCHED_STATUS

  • NOT_ALLOWED

  • NOT_FOUND

  • SKIPPED

successfulVersions
  • Type: Associative array of custom strings keys (PackageVersion) to SuccessfulPackageVersionInfo structures

A list of the package versions that were successfully deleted. The status of every successful version will be Deleted.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DeleteRepository

$result = $client->deleteRepository([/* ... */]);
$promise = $client->deleteRepositoryAsync([/* ... */]);

Deletes a repository.

Parameter Syntax

$result = $client->deleteRepository([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository to delete.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

repository
  • Required: Yes
  • Type: string

The name of the repository to delete.

Result Syntax

[
    'repository' => [
        'administratorAccount' => '<string>',
        'arn' => '<string>',
        'createdTime' => <DateTime>,
        'description' => '<string>',
        'domainName' => '<string>',
        'domainOwner' => '<string>',
        'externalConnections' => [
            [
                'externalConnectionName' => '<string>',
                'packageFormat' => 'npm|pypi|maven|nuget|generic',
                'status' => 'Available',
            ],
            // ...
        ],
        'name' => '<string>',
        'upstreams' => [
            [
                'repositoryName' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
repository
  • Type: RepositoryDescription structure

Information about the deleted repository after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DeleteRepositoryPermissionsPolicy

$result = $client->deleteRepositoryPermissionsPolicy([/* ... */]);
$promise = $client->deleteRepositoryPermissionsPolicyAsync([/* ... */]);

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

Parameter Syntax

$result = $client->deleteRepositoryPermissionsPolicy([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'policyRevision' => '<string>',
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository associated with the resource policy to be deleted.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

policyRevision
  • Type: string

The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy.

repository
  • Required: Yes
  • Type: string

The name of the repository that is associated with the resource policy to be deleted

Result Syntax

[
    'policy' => [
        'document' => '<string>',
        'resourceArn' => '<string>',
        'revision' => '<string>',
    ],
]

Result Details

Members
policy
  • Type: ResourcePolicy structure

Information about the deleted policy after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DescribeDomain

$result = $client->describeDomain([/* ... */]);
$promise = $client->describeDomainAsync([/* ... */]);

Returns a DomainDescription object that contains information about the requested domain.

Parameter Syntax

$result = $client->describeDomain([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

A string that specifies the name of the requested domain.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

Result Syntax

[
    'domain' => [
        'arn' => '<string>',
        'assetSizeBytes' => <integer>,
        'createdTime' => <DateTime>,
        'encryptionKey' => '<string>',
        'name' => '<string>',
        'owner' => '<string>',
        'repositoryCount' => <integer>,
        's3BucketArn' => '<string>',
        'status' => 'Active|Deleted',
    ],
]

Result Details

Members
domain
  • Type: DomainDescription structure

Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DescribePackage

$result = $client->describePackage([/* ... */]);
$promise = $client->describePackageAsync([/* ... */]);

Returns a PackageDescription object that contains information about the requested package.

Parameter Syntax

$result = $client->describePackage([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the requested package.

namespace
  • Type: string

The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId. The namespace is required when requesting Maven packages.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the requested package.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the requested package.

Result Syntax

[
    'package' => [
        'format' => 'npm|pypi|maven|nuget|generic',
        'name' => '<string>',
        'namespace' => '<string>',
        'originConfiguration' => [
            'restrictions' => [
                'publish' => 'ALLOW|BLOCK',
                'upstream' => 'ALLOW|BLOCK',
            ],
        ],
    ],
]

Result Details

Members
package
  • Required: Yes
  • Type: PackageDescription structure

A PackageDescription object that contains information about the requested package.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DescribePackageVersion

$result = $client->describePackageVersion([/* ... */]);
$promise = $client->describePackageVersionAsync([/* ... */]);

Returns a PackageVersionDescription object that contains information about the requested package version.

Parameter Syntax

$result = $client->describePackageVersion([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'packageVersion' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package version.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the requested package version.

namespace
  • Type: string

The namespace of the requested package version. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the requested package version.

packageVersion
  • Required: Yes
  • Type: string

A string that contains the package version (for example, 3.5.2).

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the package version.

Result Syntax

[
    'packageVersion' => [
        'displayName' => '<string>',
        'format' => 'npm|pypi|maven|nuget|generic',
        'homePage' => '<string>',
        'licenses' => [
            [
                'name' => '<string>',
                'url' => '<string>',
            ],
            // ...
        ],
        'namespace' => '<string>',
        'origin' => [
            'domainEntryPoint' => [
                'externalConnectionName' => '<string>',
                'repositoryName' => '<string>',
            ],
            'originType' => 'INTERNAL|EXTERNAL|UNKNOWN',
        ],
        'packageName' => '<string>',
        'publishedTime' => <DateTime>,
        'revision' => '<string>',
        'sourceCodeRepository' => '<string>',
        'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
        'summary' => '<string>',
        'version' => '<string>',
    ],
]

Result Details

Members
packageVersion
  • Required: Yes
  • Type: PackageVersionDescription structure

A PackageVersionDescription object that contains information about the requested package version.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DescribeRepository

$result = $client->describeRepository([/* ... */]);
$promise = $client->describeRepositoryAsync([/* ... */]);

Returns a RepositoryDescription object that contains detailed information about the requested repository.

Parameter Syntax

$result = $client->describeRepository([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository to describe.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

repository
  • Required: Yes
  • Type: string

A string that specifies the name of the requested repository.

Result Syntax

[
    'repository' => [
        'administratorAccount' => '<string>',
        'arn' => '<string>',
        'createdTime' => <DateTime>,
        'description' => '<string>',
        'domainName' => '<string>',
        'domainOwner' => '<string>',
        'externalConnections' => [
            [
                'externalConnectionName' => '<string>',
                'packageFormat' => 'npm|pypi|maven|nuget|generic',
                'status' => 'Available',
            ],
            // ...
        ],
        'name' => '<string>',
        'upstreams' => [
            [
                'repositoryName' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
repository
  • Type: RepositoryDescription structure

A RepositoryDescription object that contains the requested repository information.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DisassociateExternalConnection

$result = $client->disassociateExternalConnection([/* ... */]);
$promise = $client->disassociateExternalConnectionAsync([/* ... */]);

Removes an existing external connection from a repository.

Parameter Syntax

$result = $client->disassociateExternalConnection([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'externalConnection' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository from which to remove the external repository.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

externalConnection
  • Required: Yes
  • Type: string

The name of the external connection to be removed from the repository.

repository
  • Required: Yes
  • Type: string

The name of the repository from which the external connection will be removed.

Result Syntax

[
    'repository' => [
        'administratorAccount' => '<string>',
        'arn' => '<string>',
        'createdTime' => <DateTime>,
        'description' => '<string>',
        'domainName' => '<string>',
        'domainOwner' => '<string>',
        'externalConnections' => [
            [
                'externalConnectionName' => '<string>',
                'packageFormat' => 'npm|pypi|maven|nuget|generic',
                'status' => 'Available',
            ],
            // ...
        ],
        'name' => '<string>',
        'upstreams' => [
            [
                'repositoryName' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
repository
  • Type: RepositoryDescription structure

The repository associated with the removed external connection.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

DisposePackageVersions

$result = $client->disposePackageVersions([/* ... */]);
$promise = $client->disposePackageVersionsAsync([/* ... */]);

Deletes the assets in package versions and sets the package versions' status to Disposed. A disposed package version cannot be restored in your repository because its assets are deleted.

To view all disposed package versions in a repository, use ListPackageVersions and set the status parameter to Disposed.

To view information about a disposed package version, use DescribePackageVersion.

Parameter Syntax

$result = $client->disposePackageVersions([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'expectedStatus' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
    'versionRevisions' => ['<string>', ...],
    'versions' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository you want to dispose.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

expectedStatus
  • Type: string

The expected status of the package version to dispose.

format
  • Required: Yes
  • Type: string

A format that specifies the type of package versions you want to dispose.

namespace
  • Type: string

The namespace of the package versions to be disposed. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package with the versions you want to dispose.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the package versions you want to dispose.

versionRevisions
  • Type: Associative array of custom strings keys (PackageVersion) to strings

The revisions of the package versions you want to dispose.

versions
  • Required: Yes
  • Type: Array of strings

The versions of the package you want to dispose.

Result Syntax

[
    'failedVersions' => [
        '<PackageVersion>' => [
            'errorCode' => 'ALREADY_EXISTS|MISMATCHED_REVISION|MISMATCHED_STATUS|NOT_ALLOWED|NOT_FOUND|SKIPPED',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'successfulVersions' => [
        '<PackageVersion>' => [
            'revision' => '<string>',
            'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
        ],
        // ...
    ],
]

Result Details

Members
failedVersions
  • Type: Associative array of custom strings keys (PackageVersion) to PackageVersionError structures

A PackageVersionError object that contains a map of errors codes for the disposed package versions that failed. The possible error codes are:

  • ALREADY_EXISTS

  • MISMATCHED_REVISION

  • MISMATCHED_STATUS

  • NOT_ALLOWED

  • NOT_FOUND

  • SKIPPED

successfulVersions
  • Type: Associative array of custom strings keys (PackageVersion) to SuccessfulPackageVersionInfo structures

A list of the package versions that were successfully disposed.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

GetAuthorizationToken

$result = $client->getAuthorizationToken([/* ... */]);
$promise = $client->getAuthorizationTokenAsync([/* ... */]);

Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see CodeArtifact authentication and tokens.

CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. You can call login periodically to refresh the token. When you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, up to a maximum of 12 hours, with the durationSeconds parameter.

The authorization period begins after login or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while assuming a role, the token lifetime is independent of the maximum session duration of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then generate a CodeArtifact authorization token, the token will be valid for the full authorization period even though this is longer than the 15-minute session duration.

See Using IAM Roles for more information on controlling session duration.

Parameter Syntax

$result = $client->getAuthorizationToken([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'durationSeconds' => <integer>,
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that is in scope for the generated authorization token.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

durationSeconds
  • Type: long (int|float)

The time, in seconds, that the generated authorization token is valid. Valid values are 0 and any number between 900 (15 minutes) and 43200 (12 hours). A value of 0 will set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.

Result Syntax

[
    'authorizationToken' => '<string>',
    'expiration' => <DateTime>,
]

Result Details

Members
authorizationToken
  • Type: string

The returned authentication token.

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

A timestamp that specifies the date and time the authorization token expires.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

GetDomainPermissionsPolicy

$result = $client->getDomainPermissionsPolicy([/* ... */]);
$promise = $client->getDomainPermissionsPolicyAsync([/* ... */]);

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the IAM User Guide.

Parameter Syntax

$result = $client->getDomainPermissionsPolicy([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain to which the resource policy is attached.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

Result Syntax

[
    'policy' => [
        'document' => '<string>',
        'resourceArn' => '<string>',
        'revision' => '<string>',
    ],
]

Result Details

Members
policy
  • Type: ResourcePolicy structure

The returned resource policy.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

GetPackageVersionAsset

$result = $client->getPackageVersionAsset([/* ... */]);
$promise = $client->getPackageVersionAssetAsync([/* ... */]);

Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version.

Parameter Syntax

$result = $client->getPackageVersionAsset([
    'asset' => '<string>', // REQUIRED
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'packageVersion' => '<string>', // REQUIRED
    'packageVersionRevision' => '<string>',
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
asset
  • Required: Yes
  • Type: string

The name of the requested asset.

domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package version with the requested asset.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the package version with the requested asset file.

namespace
  • Type: string

The namespace of the package version with the requested asset file. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package that contains the requested asset.

packageVersion
  • Required: Yes
  • Type: string

A string that contains the package version (for example, 3.5.2).

packageVersionRevision
  • Type: string

The name of the package version revision that contains the requested asset.

repository
  • Required: Yes
  • Type: string

The repository that contains the package version with the requested asset.

Result Syntax

[
    'asset' => <string || resource || Psr\Http\Message\StreamInterface>,
    'assetName' => '<string>',
    'packageVersion' => '<string>',
    'packageVersionRevision' => '<string>',
]

Result Details

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

The binary file, or asset, that is downloaded.

assetName
  • Type: string

The name of the asset that is downloaded.

packageVersion
  • Type: string

A string that contains the package version (for example, 3.5.2).

packageVersionRevision
  • Type: string

The name of the package version revision that contains the downloaded asset.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

GetPackageVersionReadme

$result = $client->getPackageVersionReadme([/* ... */]);
$promise = $client->getPackageVersionReadmeAsync([/* ... */]);

Gets the readme file or descriptive text for a package version.

The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.

Parameter Syntax

$result = $client->getPackageVersionReadme([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'packageVersion' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package version with the requested readme file.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the package version with the requested readme file.

namespace
  • Type: string

The namespace of the package version with the requested readme file. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

package
  • Required: Yes
  • Type: string

The name of the package version that contains the requested readme file.

packageVersion
  • Required: Yes
  • Type: string

A string that contains the package version (for example, 3.5.2).

repository
  • Required: Yes
  • Type: string

The repository that contains the package with the requested readme file.

Result Syntax

[
    'format' => 'npm|pypi|maven|nuget|generic',
    'namespace' => '<string>',
    'package' => '<string>',
    'readme' => '<string>',
    'version' => '<string>',
    'versionRevision' => '<string>',
]

Result Details

Members
format
  • Type: string

The format of the package with the requested readme file.

namespace
  • Type: string

The namespace of the package version with the requested readme file. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

package
  • Type: string

The name of the package that contains the returned readme file.

readme
  • Type: string

The text of the returned readme file.

version
  • Type: string

The version of the package with the requested readme file.

versionRevision
  • Type: string

The current revision associated with the package version.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

GetRepositoryEndpoint

$result = $client->getRepositoryEndpoint([/* ... */]);
$promise = $client->getRepositoryEndpointAsync([/* ... */]);

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

  • maven

  • npm

  • nuget

  • pypi

Parameter Syntax

$result = $client->getRepositoryEndpoint([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

Returns which endpoint of a repository to return. A repository has one endpoint for each package format.

repository
  • Required: Yes
  • Type: string

The name of the repository.

Result Syntax

[
    'repositoryEndpoint' => '<string>',
]

Result Details

Members
repositoryEndpoint
  • Type: string

A string that specifies the URL of the returned endpoint.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

GetRepositoryPermissionsPolicy

$result = $client->getRepositoryPermissionsPolicy([/* ... */]);
$promise = $client->getRepositoryPermissionsPolicyAsync([/* ... */]);

Returns the resource policy that is set on a repository.

Parameter Syntax

$result = $client->getRepositoryPermissionsPolicy([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain containing the repository whose associated resource policy is to be retrieved.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

repository
  • Required: Yes
  • Type: string

The name of the repository whose associated resource policy is to be retrieved.

Result Syntax

[
    'policy' => [
        'document' => '<string>',
        'resourceArn' => '<string>',
        'revision' => '<string>',
    ],
]

Result Details

Members
policy
  • Type: ResourcePolicy structure

The returned resource policy.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListDomains

$result = $client->listDomains([/* ... */]);
$promise = $client->listDomainsAsync([/* ... */]);

Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.

Parameter Syntax

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

Parameter Details

Members
maxResults
  • Type: int

The maximum number of results to return per page.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Result Syntax

[
    'domains' => [
        [
            'arn' => '<string>',
            'createdTime' => <DateTime>,
            'encryptionKey' => '<string>',
            'name' => '<string>',
            'owner' => '<string>',
            'status' => 'Active|Deleted',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
domains
  • Type: Array of DomainSummary structures

The returned list of DomainSummary objects.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListPackageVersionAssets

$result = $client->listPackageVersionAssets([/* ... */]);
$promise = $client->listPackageVersionAssetsAsync([/* ... */]);

Returns a list of AssetSummary objects for assets in a package version.

Parameter Syntax

$result = $client->listPackageVersionAssets([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'maxResults' => <integer>,
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'package' => '<string>', // REQUIRED
    'packageVersion' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository associated with the package version assets.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

The format of the package that contains the requested package version assets.

maxResults
  • Type: int

The maximum number of results to return per page.

namespace
  • Type: string

The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

package
  • Required: Yes
  • Type: string

The name of the package that contains the requested package version assets.

packageVersion
  • Required: Yes
  • Type: string

A string that contains the package version (for example, 3.5.2).

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the package that contains the requested package version assets.

Result Syntax

[
    'assets' => [
        [
            'hashes' => ['<string>', ...],
            'name' => '<string>',
            'size' => <integer>,
        ],
        // ...
    ],
    'format' => 'npm|pypi|maven|nuget|generic',
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'package' => '<string>',
    'version' => '<string>',
    'versionRevision' => '<string>',
]

Result Details

Members
assets
  • Type: Array of AssetSummary structures

The returned list of AssetSummary objects.

format
  • Type: string

The format of the package that contains the requested package version assets.

namespace
  • Type: string

The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

nextToken
  • Type: string

If there are additional results, this is the token for the next set of results.

package
  • Type: string

The name of the package that contains the requested package version assets.

version
  • Type: string

The version of the package associated with the requested assets.

versionRevision
  • Type: string

The current revision associated with the package version.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListPackageVersionDependencies

$result = $client->listPackageVersionDependencies([/* ... */]);
$promise = $client->listPackageVersionDependenciesAsync([/* ... */]);

Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.

Parameter Syntax

$result = $client->listPackageVersionDependencies([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'package' => '<string>', // REQUIRED
    'packageVersion' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the requested package version dependencies.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

The format of the package with the requested dependencies.

namespace
  • Type: string

The namespace of the package version with the requested dependencies. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

package
  • Required: Yes
  • Type: string

The name of the package versions' package.

packageVersion
  • Required: Yes
  • Type: string

A string that contains the package version (for example, 3.5.2).

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the requested package version.

Result Syntax

[
    'dependencies' => [
        [
            'dependencyType' => '<string>',
            'namespace' => '<string>',
            'package' => '<string>',
            'versionRequirement' => '<string>',
        ],
        // ...
    ],
    'format' => 'npm|pypi|maven|nuget|generic',
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'package' => '<string>',
    'version' => '<string>',
    'versionRevision' => '<string>',
]

Result Details

Members
dependencies
  • Type: Array of PackageDependency structures

The returned list of PackageDependency objects.

format
  • Type: string

A format that specifies the type of the package that contains the returned dependencies.

namespace
  • Type: string

The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

package
  • Type: string

The name of the package that contains the returned package versions dependencies.

version
  • Type: string

The version of the package that is specified in the request.

versionRevision
  • Type: string

The current revision associated with the package version.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListPackageVersions

$result = $client->listPackageVersions([/* ... */]);
$promise = $client->listPackageVersionsAsync([/* ... */]);

Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions with no --status parameter.

Parameter Syntax

$result = $client->listPackageVersions([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'maxResults' => <integer>,
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'originType' => 'INTERNAL|EXTERNAL|UNKNOWN',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
    'sortBy' => 'PUBLISHED_TIME',
    'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the requested package versions.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

The format of the package versions you want to list.

maxResults
  • Type: int

The maximum number of results to return per page.

namespace
  • Type: string

The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

originType
  • Type: string

The originType used to filter package versions. Only package versions with the provided originType will be returned.

package
  • Required: Yes
  • Type: string

The name of the package for which you want to request package versions.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the requested package versions.

sortBy
  • Type: string

How to sort the requested list of package versions.

status
  • Type: string

A string that filters the requested package versions by status.

Result Syntax

[
    'defaultDisplayVersion' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic',
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'package' => '<string>',
    'versions' => [
        [
            'origin' => [
                'domainEntryPoint' => [
                    'externalConnectionName' => '<string>',
                    'repositoryName' => '<string>',
                ],
                'originType' => 'INTERNAL|EXTERNAL|UNKNOWN',
            ],
            'revision' => '<string>',
            'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
            'version' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
defaultDisplayVersion
  • Type: string

The default package version to display. This depends on the package format:

  • For Maven and PyPI packages, it's the most recently published package version.

  • For npm packages, it's the version referenced by the latest tag. If the latest tag is not set, it's the most recently published package version.

format
  • Type: string

A format of the package.

namespace
  • Type: string

The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

nextToken
  • Type: string

If there are additional results, this is the token for the next set of results.

package
  • Type: string

The name of the package.

versions
  • Type: Array of PackageVersionSummary structures

The returned list of PackageVersionSummary objects.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListPackages

$result = $client->listPackages([/* ... */]);
$promise = $client->listPackagesAsync([/* ... */]);

Returns a list of PackageSummary objects for packages in a repository that match the request parameters.

Parameter Syntax

$result = $client->listPackages([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic',
    'maxResults' => <integer>,
    'namespace' => '<string>',
    'nextToken' => '<string>',
    'packagePrefix' => '<string>',
    'publish' => 'ALLOW|BLOCK',
    'repository' => '<string>', // REQUIRED
    'upstream' => 'ALLOW|BLOCK',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the requested packages.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Type: string

The format used to filter requested packages. Only packages from the provided format will be returned.

maxResults
  • Type: int

The maximum number of results to return per page.

namespace
  • Type: string

The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior.

Each package format uses namespace as follows:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

packagePrefix
  • Type: string

A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.

publish
  • Type: string

The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the requested packages.

upstream
  • Type: string

The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

Result Syntax

[
    'nextToken' => '<string>',
    'packages' => [
        [
            'format' => 'npm|pypi|maven|nuget|generic',
            'namespace' => '<string>',
            'originConfiguration' => [
                'restrictions' => [
                    'publish' => 'ALLOW|BLOCK',
                    'upstream' => 'ALLOW|BLOCK',
                ],
            ],
            'package' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
  • Type: string

If there are additional results, this is the token for the next set of results.

packages
  • Type: Array of PackageSummary structures

The list of returned PackageSummary objects.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListRepositories

$result = $client->listRepositories([/* ... */]);
$promise = $client->listRepositoriesAsync([/* ... */]);

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified Amazon Web Services account and that matches the input parameters.

Parameter Syntax

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

Parameter Details

Members
maxResults
  • Type: int

The maximum number of results to return per page.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

repositoryPrefix
  • Type: string

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

Result Syntax

[
    'nextToken' => '<string>',
    'repositories' => [
        [
            'administratorAccount' => '<string>',
            'arn' => '<string>',
            'createdTime' => <DateTime>,
            'description' => '<string>',
            'domainName' => '<string>',
            'domainOwner' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
  • Type: string

If there are additional results, this is the token for the next set of results.

repositories
  • Type: Array of RepositorySummary structures

The returned list of RepositorySummary objects.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListRepositoriesInDomain

$result = $client->listRepositoriesInDomain([/* ... */]);
$promise = $client->listRepositoriesInDomainAsync([/* ... */]);

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.

Parameter Syntax

$result = $client->listRepositoriesInDomain([
    'administratorAccount' => '<string>',
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'repositoryPrefix' => '<string>',
]);

Parameter Details

Members
administratorAccount
  • Type: string

Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.

domain
  • Required: Yes
  • Type: string

The name of the domain that contains the returned list of repositories.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

maxResults
  • Type: int

The maximum number of results to return per page.

nextToken
  • Type: string

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

repositoryPrefix
  • Type: string

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

Result Syntax

[
    'nextToken' => '<string>',
    'repositories' => [
        [
            'administratorAccount' => '<string>',
            'arn' => '<string>',
            'createdTime' => <DateTime>,
            'description' => '<string>',
            'domainName' => '<string>',
            'domainOwner' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
  • Type: string

If there are additional results, this is the token for the next set of results.

repositories
  • Type: Array of RepositorySummary structures

The returned list of repositories.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

ListTagsForResource

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

Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.

Parameter Syntax

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

Parameter Details

Members
resourceArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the resource to get tags for.

Result Syntax

[
    'tags' => [
        [
            'key' => '<string>',
            'value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
tags
  • Type: Array of Tag structures

A list of tag key and value pairs associated with the specified resource.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

PublishPackageVersion

$result = $client->publishPackageVersion([/* ... */]);
$promise = $client->publishPackageVersionAsync([/* ... */]);

Creates a new package version containing one or more assets (or files).

The unfinished flag can be used to keep the package version in the Unfinished state until all of its assets have been uploaded (see Package version status in the CodeArtifact user guide). To set the package version’s status to Published, omit the unfinished flag when uploading the final asset, or set the status using UpdatePackageVersionStatus. Once a package version’s status is set to Published, it cannot change back to Unfinished.

Only generic packages can be published using this API. For more information, see Using generic packages in the CodeArtifact User Guide.

Parameter Syntax

$result = $client->publishPackageVersion([
    'assetContent' => <string || resource || Psr\Http\Message\StreamInterface>, // REQUIRED
    'assetName' => '<string>', // REQUIRED
    'assetSHA256' => '<string>', // REQUIRED
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'packageVersion' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
    'unfinished' => true || false,
]);

Parameter Details

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

The content of the asset to publish.

assetName
  • Required: Yes
  • Type: string

The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , . `

assetSHA256
  • Required: Yes
  • Type: string

The SHA256 hash of the assetContent to publish. This value must be calculated by the caller and provided with the request (see Publishing a generic package in the CodeArtifact User Guide).

This value is used as an integrity check to verify that the assetContent has not changed after it was originally sent.

domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package version to publish.

domainOwner
  • Type: string

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the package version with the requested asset file.

namespace
  • Type: string

The namespace of the package version to publish.

package
  • Required: Yes
  • Type: string

The name of the package version to publish.

packageVersion
  • Required: Yes
  • Type: string

The package version to publish (for example, 3.5.2).

repository
  • Required: Yes
  • Type: string

The name of the repository that the package version will be published to.

unfinished
  • Type: boolean

Specifies whether the package version should remain in the unfinished state. If omitted, the package version status will be set to Published (see Package version status in the CodeArtifact User Guide).

Valid values: unfinished

Result Syntax

[
    'asset' => [
        'hashes' => ['<string>', ...],
        'name' => '<string>',
        'size' => <integer>,
    ],
    'format' => 'npm|pypi|maven|nuget|generic',
    'namespace' => '<string>',
    'package' => '<string>',
    'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
    'version' => '<string>',
    'versionRevision' => '<string>',
]

Result Details

Members
asset
  • Type: AssetSummary structure

An AssetSummary for the published asset.

format
  • Type: string

The format of the package version.

namespace
  • Type: string

The namespace of the package version.

package
  • Type: string

The name of the package.

status
  • Type: string

A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.

version
  • Type: string

The version of the package.

versionRevision
  • Type: string

The revision of the package version.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

PutDomainPermissionsPolicy

$result = $client->putDomainPermissionsPolicy([/* ... */]);
$promise = $client->putDomainPermissionsPolicyAsync([/* ... */]);

Sets a resource policy on a domain that specifies permissions to access it.

When you call PutDomainPermissionsPolicy, the resource policy on the domain is ignored when evaluting permissions. This ensures that the owner of a domain cannot lock themselves out of the domain, which would prevent them from being able to update the resource policy.

Parameter Syntax

$result = $client->putDomainPermissionsPolicy([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'policyDocument' => '<string>', // REQUIRED
    'policyRevision' => '<string>',
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain on which to set the resource policy.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

policyDocument
  • Required: Yes
  • Type: string

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.

policyRevision
  • Type: string

The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.

Result Syntax

[
    'policy' => [
        'document' => '<string>',
        'resourceArn' => '<string>',
        'revision' => '<string>',
    ],
]

Result Details

Members
policy
  • Type: ResourcePolicy structure

The resource policy that was set after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

PutPackageOriginConfiguration

$result = $client->putPackageOriginConfiguration([/* ... */]);
$promise = $client->putPackageOriginConfigurationAsync([/* ... */]);

Sets the package origin configuration for a package.

The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package origin controls and configuration, see Editing package origin controls in the CodeArtifact User Guide.

PutPackageOriginConfiguration can be called on a package that doesn't yet exist in the repository. When called on a package that does not exist, a package is created in the repository with no versions and the requested restrictions are set on the package. This can be used to preemptively block ingesting or retaining any versions from external connections or upstream repositories, or to block publishing any versions of the package into the repository before connecting any package managers or publishers to the repository.

Parameter Syntax

$result = $client->putPackageOriginConfiguration([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
    'restrictions' => [ // REQUIRED
        'publish' => 'ALLOW|BLOCK', // REQUIRED
        'upstream' => 'ALLOW|BLOCK', // REQUIRED
    ],
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the package to be updated.

namespace
  • Type: string

The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package to be updated.

repository
  • Required: Yes
  • Type: string

The name of the repository that contains the package.

restrictions
  • Required: Yes
  • Type: PackageOriginRestrictions structure

A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

You must include both the desired upstream and publish restrictions.

Result Syntax

[
    'originConfiguration' => [
        'restrictions' => [
            'publish' => 'ALLOW|BLOCK',
            'upstream' => 'ALLOW|BLOCK',
        ],
    ],
]

Result Details

Members
originConfiguration
  • Type: PackageOriginConfiguration structure

A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

PutRepositoryPermissionsPolicy

$result = $client->putRepositoryPermissionsPolicy([/* ... */]);
$promise = $client->putRepositoryPermissionsPolicyAsync([/* ... */]);

Sets the resource policy on a repository that specifies permissions to access it.

When you call PutRepositoryPermissionsPolicy, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy.

Parameter Syntax

$result = $client->putRepositoryPermissionsPolicy([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'policyDocument' => '<string>', // REQUIRED
    'policyRevision' => '<string>',
    'repository' => '<string>', // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain containing the repository to set the resource policy on.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

policyDocument
  • Required: Yes
  • Type: string

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.

policyRevision
  • Type: string

Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository's resource policy.

repository
  • Required: Yes
  • Type: string

The name of the repository to set the resource policy on.

Result Syntax

[
    'policy' => [
        'document' => '<string>',
        'resourceArn' => '<string>',
        'revision' => '<string>',
    ],
]

Result Details

Members
policy
  • Type: ResourcePolicy structure

The resource policy that was set after processing the request.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

TagResource

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

Adds or updates tags for a resource in CodeArtifact.

Parameter Syntax

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

Parameter Details

Members
resourceArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.

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

The tags you want to modify or add to the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

UntagResource

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

Removes tags from a resource in CodeArtifact.

Parameter Syntax

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

Parameter Details

Members
resourceArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

tagKeys
  • Required: Yes
  • Type: Array of strings

The tag key for each tag that you want to remove from the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

UpdatePackageVersionsStatus

$result = $client->updatePackageVersionsStatus([/* ... */]);
$promise = $client->updatePackageVersionsStatusAsync([/* ... */]);

Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, you can update the status of package versions to Archived, Published, or Unlisted. To set the status of a package version to Disposed, use DisposePackageVersions.

Parameter Syntax

$result = $client->updatePackageVersionsStatus([
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'expectedStatus' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
    'format' => 'npm|pypi|maven|nuget|generic', // REQUIRED
    'namespace' => '<string>',
    'package' => '<string>', // REQUIRED
    'repository' => '<string>', // REQUIRED
    'targetStatus' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted', // REQUIRED
    'versionRevisions' => ['<string>', ...],
    'versions' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
domain
  • Required: Yes
  • Type: string

The name of the domain that contains the repository that contains the package versions with a status to be updated.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

expectedStatus
  • Type: string

The package version’s expected status before it is updated. If expectedStatus is provided, the package version's status is updated only if its status at the time UpdatePackageVersionsStatus is called matches expectedStatus.

format
  • Required: Yes
  • Type: string

A format that specifies the type of the package with the statuses to update.

namespace
  • Type: string

The namespace of the package version to be updated. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

package
  • Required: Yes
  • Type: string

The name of the package with the version statuses to update.

repository
  • Required: Yes
  • Type: string

The repository that contains the package versions with the status you want to update.

targetStatus
  • Required: Yes
  • Type: string

The status you want to change the package version status to.

versionRevisions
  • Type: Associative array of custom strings keys (PackageVersion) to strings

A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2), and the map value is the package version revision.

versions
  • Required: Yes
  • Type: Array of strings

An array of strings that specify the versions of the package with the statuses to update.

Result Syntax

[
    'failedVersions' => [
        '<PackageVersion>' => [
            'errorCode' => 'ALREADY_EXISTS|MISMATCHED_REVISION|MISMATCHED_STATUS|NOT_ALLOWED|NOT_FOUND|SKIPPED',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'successfulVersions' => [
        '<PackageVersion>' => [
            'revision' => '<string>',
            'status' => 'Published|Unfinished|Unlisted|Archived|Disposed|Deleted',
        ],
        // ...
    ],
]

Result Details

Members
failedVersions
  • Type: Associative array of custom strings keys (PackageVersion) to PackageVersionError structures

A list of SuccessfulPackageVersionInfo objects, one for each package version with a status that successfully updated.

successfulVersions
  • Type: Associative array of custom strings keys (PackageVersion) to SuccessfulPackageVersionInfo structures

A list of PackageVersionError objects, one for each package version with a status that failed to update.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

UpdateRepository

$result = $client->updateRepository([/* ... */]);
$promise = $client->updateRepositoryAsync([/* ... */]);

Update the properties of a repository.

Parameter Syntax

$result = $client->updateRepository([
    'description' => '<string>',
    'domain' => '<string>', // REQUIRED
    'domainOwner' => '<string>',
    'repository' => '<string>', // REQUIRED
    'upstreams' => [
        [
            'repositoryName' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
description
  • Type: string

An updated repository description.

domain
  • Required: Yes
  • Type: string

The name of the domain associated with the repository to update.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

repository
  • Required: Yes
  • Type: string

The name of the repository to update.

upstreams
  • Type: Array of UpstreamRepository structures

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

Result Syntax

[
    'repository' => [
        'administratorAccount' => '<string>',
        'arn' => '<string>',
        'createdTime' => <DateTime>,
        'description' => '<string>',
        'domainName' => '<string>',
        'domainOwner' => '<string>',
        'externalConnections' => [
            [
                'externalConnectionName' => '<string>',
                'packageFormat' => 'npm|pypi|maven|nuget|generic',
                'status' => 'Available',
            ],
            // ...
        ],
        'name' => '<string>',
        'upstreams' => [
            [
                'repositoryName' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
repository
  • Type: RepositoryDescription structure

The updated repository.

Errors

  • AccessDeniedException:

    The operation did not succeed because of an unauthorized access attempt.

  • ConflictException:

    The operation did not succeed because prerequisites are not met.

  • InternalServerException:

    The operation did not succeed because of an error that occurred inside CodeArtifact.

  • ResourceNotFoundException:

    The operation did not succeed because the resource requested is not found in the service.

  • ServiceQuotaExceededException:

    The operation did not succeed because it would have exceeded a service limit for your account.

  • ThrottlingException:

    The operation did not succeed because too many requests are sent to the service.

  • ValidationException:

    The operation did not succeed because a parameter in the request was sent with an invalid value.

Shapes

AccessDeniedException

Description

The operation did not succeed because of an unauthorized access attempt.

Members
message
  • Required: Yes
  • Type: string

AssetSummary

Description

Contains details about a package version asset.

Members
hashes
  • Type: Associative array of custom strings keys (HashAlgorithm) to strings

The hashes of the asset.

name
  • Required: Yes
  • Type: string

The name of the asset.

size
  • Type: long (int|float)

The size of the asset.

ConflictException

Description

The operation did not succeed because prerequisites are not met.

Members
message
  • Required: Yes
  • Type: string
resourceId
  • Type: string

The ID of the resource.

resourceType
  • Type: string

The type of Amazon Web Services resource.

DomainDescription

Description

Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.

Members
arn
  • Type: string

The Amazon Resource Name (ARN) of the domain.

assetSizeBytes
  • Type: long (int|float)

The total size of all assets in the domain.

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

A timestamp that represents the date and time the domain was created.

encryptionKey
  • Type: string

The ARN of an Key Management Service (KMS) key associated with a domain.

name
  • Type: string

The name of the domain.

owner
  • Type: string

The Amazon Web Services account ID that owns the domain.

repositoryCount
  • Type: int

The number of repositories in the domain.

s3BucketArn
  • Type: string

The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.

status
  • Type: string

The current status of a domain.

DomainEntryPoint

Description

Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.

Members
externalConnectionName
  • Type: string

The name of the external connection that a package was ingested from.

repositoryName
  • Type: string

The name of the repository that a package was originally published to.

DomainSummary

Description

Information about a domain, including its name, Amazon Resource Name (ARN), and status. The ListDomains operation returns a list of DomainSummary objects.

Members
arn
  • Type: string

The ARN of the domain.

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

A timestamp that contains the date and time the domain was created.

encryptionKey
  • Type: string

The key used to encrypt the domain.

name
  • Type: string

The name of the domain.

owner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

status
  • Type: string

A string that contains the status of the domain.

InternalServerException

Description

The operation did not succeed because of an error that occurred inside CodeArtifact.

Members
message
  • Required: Yes
  • Type: string

LicenseInfo

Description

Details of the license data.

Members
name
  • Type: string

Name of the license.

url
  • Type: string

The URL for license data.

PackageDependency

Description

Details about a package dependency.

Members
dependencyType
  • Type: string

The type of a package dependency. The possible values depend on the package type.

  • npm: regular, dev, peer, optional

  • maven: optional, parent, compile, runtime, test, system, provided.

    Note that parent is not a regular Maven dependency type; instead this is extracted from the <parent> element if one is defined in the package version's POM file.

  • nuget: The dependencyType field is never set for NuGet packages.

  • pypi: Requires-Dist

namespace
  • Type: string

The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

package
  • Type: string

The name of the package that this package depends on.

versionRequirement
  • Type: string

The required version, or version range, of the package that this package depends on. The version format is specific to the package type. For example, the following are possible valid required versions: 1.2.3, ^2.3.4, or 4.x.

PackageDescription

Description

Details about a package.

Members
format
  • Type: string

A format that specifies the type of the package.

name
  • Type: string

The name of the package.

namespace
  • Type: string

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

originConfiguration
  • Type: PackageOriginConfiguration structure

The package origin configuration for the package.

PackageOriginConfiguration

Description

Details about the package origin configuration of a package.

Members
restrictions
  • Type: PackageOriginRestrictions structure

A PackageOriginRestrictions object that contains information about the upstream and publish package origin configuration for the package.

PackageOriginRestrictions

Description

Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.

Members
publish
  • Required: Yes
  • Type: string

The package origin configuration that determines if new versions of the package can be published directly to the repository.

upstream
  • Required: Yes
  • Type: string

The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.

PackageSummary

Description

Details about a package, including its format, namespace, and name.

Members
format
  • Type: string

The format of the package.

namespace
  • Type: string

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

originConfiguration
  • Type: PackageOriginConfiguration structure

A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.

package
  • Type: string

The name of the package.

PackageVersionDescription

Description

Details about a package version.

Members
displayName
  • Type: string

The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

format
  • Type: string

The format of the package version.

homePage
  • Type: string

The homepage associated with the package.

licenses
  • Type: Array of LicenseInfo structures

Information about licenses associated with the package version.

namespace
  • Type: string

The namespace of the package version. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm package version is its scope.

  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

  • The namespace of a generic package is its namespace.

origin
  • Type: PackageVersionOrigin structure

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

packageName
  • Type: string

The name of the requested package.

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

A timestamp that contains the date and time the package version was published.

revision
  • Type: string

The revision of the package version.

sourceCodeRepository
  • Type: string

The repository for the source code in the package version, or the source code used to build it.

status
  • Type: string

A string that contains the status of the package version.

summary
  • Type: string

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

version
  • Type: string

The version of the package.

PackageVersionError

Description

l An error associated with package.

Members
errorCode
  • Type: string

The error code associated with the error. Valid error codes are:

  • ALREADY_EXISTS

  • MISMATCHED_REVISION

  • MISMATCHED_STATUS

  • NOT_ALLOWED

  • NOT_FOUND

  • SKIPPED

errorMessage
  • Type: string

The error message associated with the error.

PackageVersionOrigin

Description

Information about how a package version was added to a repository.

Members
domainEntryPoint
  • Type: DomainEntryPoint structure

A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

originType
  • Type: string

Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.

PackageVersionSummary

Description

Details about a package version, including its status, version, and revision. The ListPackageVersions operation returns a list of PackageVersionSummary objects.

Members
origin
  • Type: PackageVersionOrigin structure

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

revision
  • Type: string

The revision associated with a package version.

status
  • Required: Yes
  • Type: string

A string that contains the status of the package version. It can be one of the following:

version
  • Required: Yes
  • Type: string

Information about a package version.

RepositoryDescription

Description

The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets. Repositories are polyglot—a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm CLI, the Maven CLI (mvn), and pip. You can create up to 100 repositories per Amazon Web Services account.

Members
administratorAccount
  • Type: string

The 12-digit account number of the Amazon Web Services account that manages the repository.

arn
  • Type: string

The Amazon Resource Name (ARN) of the repository.

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

A timestamp that represents the date and time the repository was created.

description
  • Type: string

A text description of the repository.

domainName
  • Type: string

The name of the domain that contains the repository.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.

externalConnections
  • Type: Array of RepositoryExternalConnectionInfo structures

An array of external connections associated with the repository.

name
  • Type: string

The name of the repository.

upstreams
  • Type: Array of UpstreamRepositoryInfo structures

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

RepositoryExternalConnectionInfo

Description

Contains information about the external connection of a repository.

Members
externalConnectionName
  • Type: string

The name of the external connection associated with a repository.

packageFormat
  • Type: string

The package format associated with a repository's external connection. The valid package formats are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

  • nuget: A NuGet package.

status
  • Type: string

The status of the external connection of a repository. There is one valid value, Available.

RepositorySummary

Description

Details about a repository, including its Amazon Resource Name (ARN), description, and domain information. The ListRepositories operation returns a list of RepositorySummary objects.

Members
administratorAccount
  • Type: string

The Amazon Web Services account ID that manages the repository.

arn
  • Type: string

The ARN of the repository.

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

A timestamp that represents the date and time the repository was created.

description
  • Type: string

The description of the repository.

domainName
  • Type: string

The name of the domain that contains the repository.

domainOwner
  • Type: string

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

name
  • Type: string

The name of the repository.

ResourceNotFoundException

Description

The operation did not succeed because the resource requested is not found in the service.

Members
message
  • Required: Yes
  • Type: string
resourceId
  • Type: string

The ID of the resource.

resourceType
  • Type: string

The type of Amazon Web Services resource.

ResourcePolicy

Description

An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.

Members
document
  • Type: string

The resource policy formatted in JSON.

resourceArn
  • Type: string

The ARN of the resource associated with the resource policy

revision
  • Type: string

The current revision of the resource policy.

ServiceQuotaExceededException

Description

The operation did not succeed because it would have exceeded a service limit for your account.

Members
message
  • Required: Yes
  • Type: string
resourceId
  • Type: string

The ID of the resource.

resourceType
  • Type: string

The type of Amazon Web Services resource.

SuccessfulPackageVersionInfo

Description

Contains the revision and status of a package version.

Members
revision
  • Type: string

The revision of a package version.

status
  • Type: string

The status of a package version.

Tag

Description

A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.

Members
key
  • Required: Yes
  • Type: string

The tag key.

value
  • Required: Yes
  • Type: string

The tag value.

ThrottlingException

Description

The operation did not succeed because too many requests are sent to the service.

Members
message
  • Required: Yes
  • Type: string
retryAfterSeconds
  • Type: int

The time period, in seconds, to wait before retrying the request.

UpstreamRepository

Description

Information about an upstream repository. A list of UpstreamRepository objects is an input parameter to CreateRepository and UpdateRepository.

Members
repositoryName
  • Required: Yes
  • Type: string

The name of an upstream repository.

UpstreamRepositoryInfo

Description

Information about an upstream repository.

Members
repositoryName
  • Type: string

The name of an upstream repository.

ValidationException

Description

The operation did not succeed because a parameter in the request was sent with an invalid value.

Members
message
  • Required: Yes
  • Type: string
reason
  • Type: string

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