AWS SDK for PHP 3.x
  • Namespace
  • Class

Namespaces

  • Aws
    • Acm
      • Exception
    • ACMPCA
      • Exception
    • AlexaForBusiness
      • Exception
    • Amplify
      • Exception
    • Api
      • ErrorParser
      • Parser
        • Exception
      • Serializer
    • ApiGateway
      • Exception
    • ApiGatewayManagementApi
      • Exception
    • ApiGatewayV2
      • Exception
    • ApplicationAutoScaling
      • Exception
    • ApplicationDiscoveryService
      • Exception
    • AppMesh
      • Exception
    • Appstream
      • Exception
    • AppSync
      • Exception
    • Athena
      • Exception
    • AutoScaling
      • Exception
    • AutoScalingPlans
      • Exception
    • Backup
      • Exception
    • Batch
      • Exception
    • Budgets
      • Exception
    • Chime
      • Exception
    • ClientSideMonitoring
      • Exception
    • Cloud9
      • Exception
    • CloudDirectory
      • Exception
    • CloudFormation
      • Exception
    • CloudFront
      • Exception
    • CloudHsm
      • Exception
    • CloudHSMV2
      • Exception
    • CloudSearch
      • Exception
    • CloudSearchDomain
      • Exception
    • CloudTrail
      • Exception
    • CloudWatch
      • Exception
    • CloudWatchEvents
      • Exception
    • CloudWatchLogs
      • Exception
    • CodeBuild
      • Exception
    • CodeCommit
      • Exception
    • CodeDeploy
      • Exception
    • CodePipeline
      • Exception
    • CodeStar
      • Exception
    • CognitoIdentity
      • Exception
    • CognitoIdentityProvider
      • Exception
    • CognitoSync
      • Exception
    • Comprehend
      • Exception
    • ComprehendMedical
      • Exception
    • ConfigService
      • Exception
    • Connect
      • Exception
    • CostandUsageReportService
      • Exception
    • CostExplorer
      • Exception
    • Credentials
    • Crypto
      • Cipher
    • DatabaseMigrationService
      • Exception
    • DataPipeline
      • Exception
    • DataSync
      • Exception
    • DAX
      • Exception
    • DeviceFarm
      • Exception
    • DirectConnect
      • Exception
    • DirectoryService
      • Exception
    • DLM
      • Exception
    • DocDB
      • Exception
    • DynamoDb
      • Exception
    • DynamoDbStreams
      • Exception
    • Ec2
      • Exception
    • Ecr
      • Exception
    • Ecs
      • Exception
    • Efs
      • Exception
    • EKS
      • Exception
    • ElastiCache
      • Exception
    • ElasticBeanstalk
      • Exception
    • ElasticLoadBalancing
      • Exception
    • ElasticLoadBalancingV2
      • Exception
    • ElasticsearchService
      • Exception
    • ElasticTranscoder
      • Exception
    • Emr
      • Exception
    • Endpoint
    • EndpointDiscovery
      • Exception
    • Exception
    • Firehose
      • Exception
    • FMS
      • Exception
    • FSx
      • Exception
    • GameLift
      • Exception
    • Glacier
      • Exception
    • GlobalAccelerator
      • Exception
    • Glue
      • Exception
    • Greengrass
      • Exception
    • GuardDuty
      • Exception
    • Handler
      • GuzzleV5
      • GuzzleV6
    • Health
      • Exception
    • Iam
      • Exception
    • ImportExport
      • Exception
    • Inspector
      • Exception
    • Iot
      • Exception
    • IoT1ClickDevicesService
      • Exception
    • IoT1ClickProjects
      • Exception
    • IoTAnalytics
      • Exception
    • IotDataPlane
      • Exception
    • IoTJobsDataPlane
      • Exception
    • Kafka
      • Exception
    • Kinesis
      • Exception
    • KinesisAnalytics
      • Exception
    • KinesisAnalyticsV2
      • Exception
    • KinesisVideo
      • Exception
    • KinesisVideoArchivedMedia
      • Exception
    • KinesisVideoMedia
      • Exception
    • Kms
      • Exception
    • Lambda
      • Exception
    • LexModelBuildingService
      • Exception
    • LexRuntimeService
      • Exception
    • LicenseManager
      • Exception
    • Lightsail
      • Exception
    • MachineLearning
      • Exception
    • Macie
      • Exception
    • MarketplaceCommerceAnalytics
      • Exception
    • MarketplaceEntitlementService
      • Exception
    • MarketplaceMetering
      • Exception
    • MediaConnect
      • Exception
    • MediaConvert
      • Exception
    • MediaLive
      • Exception
    • MediaPackage
      • Exception
    • MediaStore
      • Exception
    • MediaStoreData
      • Exception
    • MediaTailor
      • Exception
    • MigrationHub
      • Exception
    • Mobile
      • Exception
    • MQ
      • Exception
    • MTurk
      • Exception
    • Multipart
    • Neptune
      • Exception
    • OpsWorks
      • Exception
    • OpsWorksCM
      • Exception
    • Organizations
      • Exception
    • PI
      • Exception
    • Pinpoint
      • Exception
    • PinpointEmail
      • Exception
    • PinpointSMSVoice
      • Exception
    • Polly
      • Exception
    • Pricing
      • Exception
    • QuickSight
      • Exception
    • RAM
      • Exception
    • Rds
      • Exception
    • RDSDataService
      • Exception
    • Redshift
      • Exception
    • Rekognition
      • Exception
    • ResourceGroups
      • Exception
    • ResourceGroupsTaggingAPI
      • Exception
    • RoboMaker
      • Exception
    • Route53
      • Exception
    • Route53Domains
      • Exception
    • Route53Resolver
      • Exception
    • S3
      • Crypto
      • Exception
    • S3Control
      • Exception
    • SageMaker
      • Exception
    • SageMakerRuntime
      • Exception
    • SecretsManager
      • Exception
    • SecurityHub
      • Exception
    • ServerlessApplicationRepository
      • Exception
    • ServiceCatalog
      • Exception
    • ServiceDiscovery
      • Exception
    • Ses
      • Exception
    • Sfn
      • Exception
    • Shield
      • Exception
    • Signature
    • signer
      • Exception
    • Sms
      • Exception
    • SnowBall
      • Exception
    • Sns
      • Exception
    • Sqs
      • Exception
    • Ssm
      • Exception
    • StorageGateway
      • Exception
    • Sts
      • Exception
    • Support
      • Exception
    • Swf
      • Exception
    • TranscribeService
      • Exception
    • Transfer
      • Exception
    • Translate
      • Exception
    • Waf
      • Exception
    • WafRegional
      • Exception
    • WorkDocs
      • Exception
    • WorkLink
      • Exception
    • WorkMail
      • Exception
    • WorkSpaces
      • Exception
    • XRay
      • Exception
  • GuzzleHttp
    • Promise
    • Psr7
  • Psr
    • Http
      • Message

Classes

  • Aws\Acm\AcmClient
  • Aws\ACMPCA\ACMPCAClient
  • Aws\AlexaForBusiness\AlexaForBusinessClient
  • Aws\Amplify\AmplifyClient
  • Aws\Api\AbstractModel
  • Aws\Api\ApiProvider
  • Aws\Api\DateTimeResult
  • Aws\Api\DocModel
  • 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\ApplicationAutoScaling\ApplicationAutoScalingClient
  • Aws\ApplicationDiscoveryService\ApplicationDiscoveryServiceClient
  • Aws\AppMesh\AppMeshClient
  • Aws\Appstream\AppstreamClient
  • Aws\AppSync\AppSyncClient
  • Aws\Athena\AthenaClient
  • Aws\AutoScaling\AutoScalingClient
  • Aws\AutoScalingPlans\AutoScalingPlansClient
  • Aws\AwsClient
  • Aws\Backup\BackupClient
  • Aws\Batch\BatchClient
  • Aws\Budgets\BudgetsClient
  • Aws\Chime\ChimeClient
  • Aws\ClientResolver
  • Aws\ClientSideMonitoring\Configuration
  • Aws\ClientSideMonitoring\ConfigurationProvider
  • Aws\Cloud9\Cloud9Client
  • Aws\CloudDirectory\CloudDirectoryClient
  • Aws\CloudFormation\CloudFormationClient
  • Aws\CloudFront\CloudFrontClient
  • Aws\CloudFront\CookieSigner
  • Aws\CloudFront\UrlSigner
  • Aws\CloudHsm\CloudHsmClient
  • Aws\CloudHSMV2\CloudHSMV2Client
  • Aws\CloudSearch\CloudSearchClient
  • Aws\CloudSearchDomain\CloudSearchDomainClient
  • Aws\CloudTrail\CloudTrailClient
  • Aws\CloudTrail\LogFileIterator
  • Aws\CloudTrail\LogFileReader
  • Aws\CloudTrail\LogRecordIterator
  • Aws\CloudWatch\CloudWatchClient
  • Aws\CloudWatchEvents\CloudWatchEventsClient
  • Aws\CloudWatchLogs\CloudWatchLogsClient
  • Aws\CodeBuild\CodeBuildClient
  • Aws\CodeCommit\CodeCommitClient
  • Aws\CodeDeploy\CodeDeployClient
  • Aws\CodePipeline\CodePipelineClient
  • Aws\CodeStar\CodeStarClient
  • Aws\CognitoIdentity\CognitoIdentityClient
  • Aws\CognitoIdentity\CognitoIdentityProvider
  • Aws\CognitoIdentityProvider\CognitoIdentityProviderClient
  • Aws\CognitoSync\CognitoSyncClient
  • Aws\Command
  • Aws\CommandPool
  • Aws\Comprehend\ComprehendClient
  • Aws\ComprehendMedical\ComprehendMedicalClient
  • Aws\ConfigService\ConfigServiceClient
  • Aws\Connect\ConnectClient
  • Aws\CostandUsageReportService\CostandUsageReportServiceClient
  • Aws\CostExplorer\CostExplorerClient
  • Aws\Credentials\AssumeRoleCredentialProvider
  • 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\MaterialsProvider
  • Aws\DatabaseMigrationService\DatabaseMigrationServiceClient
  • Aws\DataPipeline\DataPipelineClient
  • Aws\DataSync\DataSyncClient
  • Aws\DAX\DAXClient
  • Aws\DeviceFarm\DeviceFarmClient
  • Aws\DirectConnect\DirectConnectClient
  • Aws\DirectoryService\DirectoryServiceClient
  • Aws\DLM\DLMClient
  • Aws\DocDB\DocDBClient
  • Aws\DoctrineCacheAdapter
  • 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\Ec2\Ec2Client
  • Aws\Ecr\EcrClient
  • Aws\Ecs\EcsClient
  • Aws\Efs\EfsClient
  • Aws\EKS\EKSClient
  • Aws\ElastiCache\ElastiCacheClient
  • Aws\ElasticBeanstalk\ElasticBeanstalkClient
  • Aws\ElasticLoadBalancing\ElasticLoadBalancingClient
  • Aws\ElasticLoadBalancingV2\ElasticLoadBalancingV2Client
  • Aws\ElasticsearchService\ElasticsearchServiceClient
  • Aws\ElasticTranscoder\ElasticTranscoderClient
  • Aws\Emr\EmrClient
  • Aws\Endpoint\EndpointProvider
  • Aws\Endpoint\Partition
  • Aws\Endpoint\PartitionEndpointProvider
  • Aws\Endpoint\PatternEndpointProvider
  • Aws\EndpointDiscovery\Configuration
  • Aws\EndpointDiscovery\ConfigurationProvider
  • Aws\EndpointDiscovery\EndpointDiscoveryMiddleware
  • Aws\EndpointDiscovery\EndpointList
  • Aws\Firehose\FirehoseClient
  • Aws\FMS\FMSClient
  • Aws\FSx\FSxClient
  • Aws\GameLift\GameLiftClient
  • Aws\Glacier\GlacierClient
  • Aws\Glacier\MultipartUploader
  • Aws\Glacier\TreeHash
  • Aws\GlobalAccelerator\GlobalAcceleratorClient
  • Aws\Glue\GlueClient
  • Aws\Greengrass\GreengrassClient
  • 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\History
  • Aws\Iam\IamClient
  • Aws\IdempotencyTokenMiddleware
  • Aws\ImportExport\ImportExportClient
  • Aws\Inspector\InspectorClient
  • Aws\IoT1ClickDevicesService\IoT1ClickDevicesServiceClient
  • Aws\IoT1ClickProjects\IoT1ClickProjectsClient
  • Aws\Iot\IotClient
  • Aws\IoTAnalytics\IoTAnalyticsClient
  • Aws\IotDataPlane\IotDataPlaneClient
  • Aws\IoTJobsDataPlane\IoTJobsDataPlaneClient
  • Aws\JsonCompiler
  • Aws\Kafka\KafkaClient
  • Aws\Kinesis\KinesisClient
  • Aws\KinesisAnalytics\KinesisAnalyticsClient
  • Aws\KinesisAnalyticsV2\KinesisAnalyticsV2Client
  • Aws\KinesisVideo\KinesisVideoClient
  • Aws\KinesisVideoArchivedMedia\KinesisVideoArchivedMediaClient
  • Aws\KinesisVideoMedia\KinesisVideoMediaClient
  • Aws\Kms\KmsClient
  • Aws\Lambda\LambdaClient
  • Aws\LexModelBuildingService\LexModelBuildingServiceClient
  • Aws\LexRuntimeService\LexRuntimeServiceClient
  • Aws\LicenseManager\LicenseManagerClient
  • Aws\Lightsail\LightsailClient
  • Aws\LruArrayCache
  • Aws\MachineLearning\MachineLearningClient
  • Aws\Macie\MacieClient
  • Aws\MarketplaceCommerceAnalytics\MarketplaceCommerceAnalyticsClient
  • Aws\MarketplaceEntitlementService\MarketplaceEntitlementServiceClient
  • Aws\MarketplaceMetering\MarketplaceMeteringClient
  • Aws\MediaConnect\MediaConnectClient
  • Aws\MediaConvert\MediaConvertClient
  • Aws\MediaLive\MediaLiveClient
  • Aws\MediaPackage\MediaPackageClient
  • Aws\MediaStore\MediaStoreClient
  • Aws\MediaStoreData\MediaStoreDataClient
  • Aws\MediaTailor\MediaTailorClient
  • Aws\Middleware
  • Aws\MigrationHub\MigrationHubClient
  • Aws\Mobile\MobileClient
  • Aws\MockHandler
  • Aws\MQ\MQClient
  • Aws\MTurk\MTurkClient
  • Aws\Multipart\UploadState
  • Aws\MultiRegionClient
  • Aws\Neptune\NeptuneClient
  • Aws\OpsWorks\OpsWorksClient
  • Aws\OpsWorksCM\OpsWorksCMClient
  • Aws\Organizations\OrganizationsClient
  • Aws\PhpHash
  • Aws\PI\PIClient
  • Aws\Pinpoint\PinpointClient
  • Aws\PinpointEmail\PinpointEmailClient
  • Aws\PinpointSMSVoice\PinpointSMSVoiceClient
  • Aws\Polly\PollyClient
  • Aws\PresignUrlMiddleware
  • Aws\Pricing\PricingClient
  • Aws\PsrCacheAdapter
  • Aws\QuickSight\QuickSightClient
  • Aws\RAM\RAMClient
  • Aws\Rds\AuthTokenGenerator
  • Aws\Rds\RdsClient
  • Aws\RDSDataService\RDSDataServiceClient
  • Aws\Redshift\RedshiftClient
  • Aws\Rekognition\RekognitionClient
  • Aws\ResourceGroups\ResourceGroupsClient
  • Aws\ResourceGroupsTaggingAPI\ResourceGroupsTaggingAPIClient
  • Aws\Result
  • Aws\ResultPaginator
  • Aws\RetryMiddleware
  • Aws\RoboMaker\RoboMakerClient
  • Aws\Route53\Route53Client
  • Aws\Route53Domains\Route53DomainsClient
  • Aws\Route53Resolver\Route53ResolverClient
  • Aws\S3\BatchDelete
  • Aws\S3\Crypto\HeadersMetadataStrategy
  • Aws\S3\Crypto\InstructionFileMetadataStrategy
  • Aws\S3\Crypto\S3EncryptionClient
  • Aws\S3\Crypto\S3EncryptionMultipartUploader
  • Aws\S3\GetBucketLocationParser
  • Aws\S3\MultipartUploader
  • Aws\S3\ObjectCopier
  • Aws\S3\ObjectUploader
  • Aws\S3\PostObject
  • Aws\S3\PostObjectV4
  • Aws\S3\S3Client
  • Aws\S3\S3MultiRegionClient
  • Aws\S3\S3UriParser
  • Aws\S3\StreamWrapper
  • Aws\S3\Transfer
  • Aws\S3Control\S3ControlClient
  • Aws\SageMaker\SageMakerClient
  • Aws\SageMakerRuntime\SageMakerRuntimeClient
  • Aws\Sdk
  • Aws\SecretsManager\SecretsManagerClient
  • Aws\SecurityHub\SecurityHubClient
  • Aws\ServerlessApplicationRepository\ServerlessApplicationRepositoryClient
  • Aws\ServiceCatalog\ServiceCatalogClient
  • Aws\ServiceDiscovery\ServiceDiscoveryClient
  • Aws\Ses\SesClient
  • Aws\Sfn\SfnClient
  • Aws\Shield\ShieldClient
  • Aws\Signature\AnonymousSignature
  • Aws\Signature\S3SignatureV4
  • Aws\Signature\SignatureProvider
  • Aws\Signature\SignatureV4
  • Aws\signer\signerClient
  • Aws\Sms\SmsClient
  • Aws\SnowBall\SnowBallClient
  • Aws\Sns\Message
  • Aws\Sns\MessageValidator
  • Aws\Sns\SnsClient
  • Aws\Sqs\SqsClient
  • Aws\Ssm\SsmClient
  • Aws\StorageGateway\StorageGatewayClient
  • Aws\Sts\StsClient
  • Aws\Support\SupportClient
  • Aws\Swf\SwfClient
  • Aws\TraceMiddleware
  • Aws\TranscribeService\TranscribeServiceClient
  • Aws\Transfer\TransferClient
  • Aws\Translate\TranslateClient
  • Aws\Waf\WafClient
  • Aws\WafRegional\WafRegionalClient
  • Aws\Waiter
  • Aws\WorkDocs\WorkDocsClient
  • Aws\WorkLink\WorkLinkClient
  • Aws\WorkMail\WorkMailClient
  • Aws\WorkSpaces\WorkSpacesClient
  • Aws\WrappedHttpHandler
  • Aws\XRay\XRayClient

Interfaces

  • Aws\AwsClientInterface
  • Aws\CacheInterface
  • Aws\ClientSideMonitoring\ConfigurationInterface
  • Aws\CommandInterface
  • Aws\Credentials\CredentialsInterface
  • Aws\Crypto\AesStreamInterface
  • Aws\Crypto\Cipher\CipherMethod
  • Aws\Crypto\MetadataStrategyInterface
  • Aws\DynamoDb\SessionConnectionInterface
  • Aws\Endpoint\PartitionInterface
  • Aws\EndpointDiscovery\ConfigurationInterface
  • Aws\HashInterface
  • Aws\MonitoringEventsInterface
  • Aws\ResponseContainerInterface
  • Aws\ResultInterface
  • Aws\S3\S3ClientInterface
  • Aws\Signature\SignatureInterface

Traits

  • Aws\Api\ErrorParser\JsonParserTrait
  • Aws\Api\Parser\PayloadParserTrait
  • Aws\AwsClientTrait
  • Aws\Crypto\Cipher\CipherBuilderTrait
  • Aws\Crypto\DecryptionTrait
  • Aws\Crypto\EncryptionTrait
  • Aws\HasDataTrait
  • Aws\HasMonitoringEventsTrait
  • Aws\S3\Crypto\CryptoParamsTrait
  • Aws\S3\MultipartUploadingTrait
  • Aws\S3\S3ClientTrait
  • Aws\Signature\SignatureTrait

Exceptions

  • Aws\Acm\Exception\AcmException
  • Aws\ACMPCA\Exception\ACMPCAException
  • Aws\AlexaForBusiness\Exception\AlexaForBusinessException
  • Aws\Amplify\Exception\AmplifyException
  • Aws\Api\Parser\Exception\ParserException
  • Aws\ApiGateway\Exception\ApiGatewayException
  • Aws\ApiGatewayManagementApi\Exception\ApiGatewayManagementApiException
  • Aws\ApiGatewayV2\Exception\ApiGatewayV2Exception
  • Aws\ApplicationAutoScaling\Exception\ApplicationAutoScalingException
  • Aws\ApplicationDiscoveryService\Exception\ApplicationDiscoveryServiceException
  • Aws\AppMesh\Exception\AppMeshException
  • Aws\Appstream\Exception\AppstreamException
  • Aws\AppSync\Exception\AppSyncException
  • Aws\Athena\Exception\AthenaException
  • Aws\AutoScaling\Exception\AutoScalingException
  • Aws\AutoScalingPlans\Exception\AutoScalingPlansException
  • Aws\Backup\Exception\BackupException
  • Aws\Batch\Exception\BatchException
  • Aws\Budgets\Exception\BudgetsException
  • Aws\Chime\Exception\ChimeException
  • Aws\ClientSideMonitoring\Exception\ConfigurationException
  • Aws\Cloud9\Exception\Cloud9Exception
  • Aws\CloudDirectory\Exception\CloudDirectoryException
  • Aws\CloudFormation\Exception\CloudFormationException
  • Aws\CloudFront\Exception\CloudFrontException
  • Aws\CloudHsm\Exception\CloudHsmException
  • Aws\CloudHSMV2\Exception\CloudHSMV2Exception
  • Aws\CloudSearch\Exception\CloudSearchException
  • Aws\CloudSearchDomain\Exception\CloudSearchDomainException
  • Aws\CloudTrail\Exception\CloudTrailException
  • Aws\CloudWatch\Exception\CloudWatchException
  • Aws\CloudWatchEvents\Exception\CloudWatchEventsException
  • Aws\CloudWatchLogs\Exception\CloudWatchLogsException
  • Aws\CodeBuild\Exception\CodeBuildException
  • Aws\CodeCommit\Exception\CodeCommitException
  • Aws\CodeDeploy\Exception\CodeDeployException
  • Aws\CodePipeline\Exception\CodePipelineException
  • Aws\CodeStar\Exception\CodeStarException
  • Aws\CognitoIdentity\Exception\CognitoIdentityException
  • Aws\CognitoIdentityProvider\Exception\CognitoIdentityProviderException
  • Aws\CognitoSync\Exception\CognitoSyncException
  • Aws\Comprehend\Exception\ComprehendException
  • Aws\ComprehendMedical\Exception\ComprehendMedicalException
  • Aws\ConfigService\Exception\ConfigServiceException
  • Aws\Connect\Exception\ConnectException
  • Aws\CostandUsageReportService\Exception\CostandUsageReportServiceException
  • Aws\CostExplorer\Exception\CostExplorerException
  • Aws\DatabaseMigrationService\Exception\DatabaseMigrationServiceException
  • Aws\DataPipeline\Exception\DataPipelineException
  • Aws\DataSync\Exception\DataSyncException
  • Aws\DAX\Exception\DAXException
  • Aws\DeviceFarm\Exception\DeviceFarmException
  • Aws\DirectConnect\Exception\DirectConnectException
  • Aws\DirectoryService\Exception\DirectoryServiceException
  • Aws\DLM\Exception\DLMException
  • Aws\DocDB\Exception\DocDBException
  • Aws\DynamoDb\Exception\DynamoDbException
  • Aws\DynamoDbStreams\Exception\DynamoDbStreamsException
  • Aws\Ec2\Exception\Ec2Exception
  • Aws\Ecr\Exception\EcrException
  • Aws\Ecs\Exception\EcsException
  • Aws\Efs\Exception\EfsException
  • Aws\EKS\Exception\EKSException
  • Aws\ElastiCache\Exception\ElastiCacheException
  • Aws\ElasticBeanstalk\Exception\ElasticBeanstalkException
  • Aws\ElasticLoadBalancing\Exception\ElasticLoadBalancingException
  • Aws\ElasticLoadBalancingV2\Exception\ElasticLoadBalancingV2Exception
  • Aws\ElasticsearchService\Exception\ElasticsearchServiceException
  • Aws\ElasticTranscoder\Exception\ElasticTranscoderException
  • Aws\Emr\Exception\EmrException
  • Aws\EndpointDiscovery\Exception\ConfigurationException
  • Aws\Exception\AwsException
  • Aws\Exception\CouldNotCreateChecksumException
  • Aws\Exception\CredentialsException
  • Aws\Exception\EventStreamDataException
  • Aws\Exception\MultipartUploadException
  • Aws\Exception\UnresolvedApiException
  • Aws\Exception\UnresolvedEndpointException
  • Aws\Exception\UnresolvedSignatureException
  • Aws\Firehose\Exception\FirehoseException
  • Aws\FMS\Exception\FMSException
  • Aws\FSx\Exception\FSxException
  • Aws\GameLift\Exception\GameLiftException
  • Aws\Glacier\Exception\GlacierException
  • Aws\GlobalAccelerator\Exception\GlobalAcceleratorException
  • Aws\Glue\Exception\GlueException
  • Aws\Greengrass\Exception\GreengrassException
  • Aws\GuardDuty\Exception\GuardDutyException
  • Aws\Health\Exception\HealthException
  • Aws\Iam\Exception\IamException
  • Aws\ImportExport\Exception\ImportExportException
  • Aws\Inspector\Exception\InspectorException
  • Aws\IoT1ClickDevicesService\Exception\IoT1ClickDevicesServiceException
  • Aws\IoT1ClickProjects\Exception\IoT1ClickProjectsException
  • Aws\Iot\Exception\IotException
  • Aws\IoTAnalytics\Exception\IoTAnalyticsException
  • Aws\IotDataPlane\Exception\IotDataPlaneException
  • Aws\IoTJobsDataPlane\Exception\IoTJobsDataPlaneException
  • Aws\Kafka\Exception\KafkaException
  • 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\Kms\Exception\KmsException
  • Aws\Lambda\Exception\LambdaException
  • Aws\LexModelBuildingService\Exception\LexModelBuildingServiceException
  • Aws\LexRuntimeService\Exception\LexRuntimeServiceException
  • Aws\LicenseManager\Exception\LicenseManagerException
  • Aws\Lightsail\Exception\LightsailException
  • Aws\MachineLearning\Exception\MachineLearningException
  • Aws\Macie\Exception\MacieException
  • 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\MediaStore\Exception\MediaStoreException
  • Aws\MediaStoreData\Exception\MediaStoreDataException
  • Aws\MediaTailor\Exception\MediaTailorException
  • Aws\MigrationHub\Exception\MigrationHubException
  • Aws\Mobile\Exception\MobileException
  • Aws\MQ\Exception\MQException
  • Aws\MTurk\Exception\MTurkException
  • Aws\Neptune\Exception\NeptuneException
  • Aws\OpsWorks\Exception\OpsWorksException
  • Aws\OpsWorksCM\Exception\OpsWorksCMException
  • Aws\Organizations\Exception\OrganizationsException
  • Aws\PI\Exception\PIException
  • Aws\Pinpoint\Exception\PinpointException
  • Aws\PinpointEmail\Exception\PinpointEmailException
  • Aws\PinpointSMSVoice\Exception\PinpointSMSVoiceException
  • Aws\Polly\Exception\PollyException
  • Aws\Pricing\Exception\PricingException
  • Aws\QuickSight\Exception\QuickSightException
  • Aws\RAM\Exception\RAMException
  • Aws\Rds\Exception\RdsException
  • Aws\RDSDataService\Exception\RDSDataServiceException
  • Aws\Redshift\Exception\RedshiftException
  • Aws\Rekognition\Exception\RekognitionException
  • Aws\ResourceGroups\Exception\ResourceGroupsException
  • Aws\ResourceGroupsTaggingAPI\Exception\ResourceGroupsTaggingAPIException
  • Aws\RoboMaker\Exception\RoboMakerException
  • Aws\Route53\Exception\Route53Exception
  • Aws\Route53Domains\Exception\Route53DomainsException
  • Aws\Route53Resolver\Exception\Route53ResolverException
  • Aws\S3\Exception\DeleteMultipleObjectsException
  • Aws\S3\Exception\PermanentRedirectException
  • Aws\S3\Exception\S3Exception
  • Aws\S3\Exception\S3MultipartUploadException
  • Aws\S3Control\Exception\S3ControlException
  • Aws\SageMaker\Exception\SageMakerException
  • Aws\SageMakerRuntime\Exception\SageMakerRuntimeException
  • Aws\SecretsManager\Exception\SecretsManagerException
  • Aws\SecurityHub\Exception\SecurityHubException
  • Aws\ServerlessApplicationRepository\Exception\ServerlessApplicationRepositoryException
  • Aws\ServiceCatalog\Exception\ServiceCatalogException
  • Aws\ServiceDiscovery\Exception\ServiceDiscoveryException
  • Aws\Ses\Exception\SesException
  • Aws\Sfn\Exception\SfnException
  • Aws\Shield\Exception\ShieldException
  • Aws\signer\Exception\signerException
  • Aws\Sms\Exception\SmsException
  • Aws\SnowBall\Exception\SnowBallException
  • Aws\Sns\Exception\InvalidSnsMessageException
  • Aws\Sns\Exception\SnsException
  • Aws\Sqs\Exception\SqsException
  • Aws\Ssm\Exception\SsmException
  • Aws\StorageGateway\Exception\StorageGatewayException
  • Aws\Sts\Exception\StsException
  • Aws\Support\Exception\SupportException
  • Aws\Swf\Exception\SwfException
  • Aws\TranscribeService\Exception\TranscribeServiceException
  • Aws\Transfer\Exception\TransferException
  • Aws\Translate\Exception\TranslateException
  • Aws\Waf\Exception\WafException
  • Aws\WafRegional\Exception\WafRegionalException
  • Aws\WorkDocs\Exception\WorkDocsException
  • Aws\WorkLink\Exception\WorkLinkException
  • Aws\WorkMail\Exception\WorkMailException
  • Aws\WorkSpaces\Exception\WorkSpacesException
  • Aws\XRay\Exception\XRayException

Functions

  • 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\is_valid_hostname
  • Aws\load_compiled_json
  • Aws\manifest
  • Aws\map
  • Aws\or_chain
  • Aws\partition
  • Aws\recursive_dir_iterator
  • Aws\serialize

AWS CloudHSM V2 2017-04-28

Client: Aws\CloudHSMV2\CloudHSMV2Client
Service ID: cloudhsmv2
Version: 2017-04-28

This page describes the parameters and results for the operations of the AWS CloudHSM V2 (2017-04-28), and shows how to use the Aws\CloudHSMV2\CloudHSMV2Client object to call the described operations. This documentation is specific to the 2017-04-28 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 */).

  • CopyBackupToRegion ( array $params = [] )

    Copy an AWS CloudHSM cluster backup to a different region.

  • CreateCluster ( array $params = [] )

    Creates a new AWS CloudHSM cluster.

  • CreateHsm ( array $params = [] )

    Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.

  • DeleteBackup ( array $params = [] )

    Deletes a specified AWS CloudHSM backup.

  • DeleteCluster ( array $params = [] )

    Deletes the specified AWS CloudHSM cluster.

  • DeleteHsm ( array $params = [] )

    Deletes the specified HSM.

  • DescribeBackups ( array $params = [] )

    Gets information about backups of AWS CloudHSM clusters.

  • DescribeClusters ( array $params = [] )

    Gets information about AWS CloudHSM clusters.

  • InitializeCluster ( array $params = [] )

    Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate.

  • ListTags ( array $params = [] )

    Gets a list of tags for the specified AWS CloudHSM cluster.

  • RestoreBackup ( array $params = [] )

    Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state.

  • TagResource ( array $params = [] )

    Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.

  • UntagResource ( array $params = [] )

    Removes the specified tag or tags from the specified AWS CloudHSM cluster.

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:

  • DescribeBackups
  • DescribeClusters
  • ListTags

Operations

CopyBackupToRegion

$result = $client->copyBackupToRegion([/* ... */]);
$promise = $client->copyBackupToRegionAsync([/* ... */]);

Copy an AWS CloudHSM cluster backup to a different region.

Parameter Syntax

$result = $client->copyBackupToRegion([
    'BackupId' => '<string>', // REQUIRED
    'DestinationRegion' => '<string>', // REQUIRED
]);

Parameter Details

Members
BackupId
  • Required: Yes
  • Type: string

The ID of the backup that will be copied to the destination region.

DestinationRegion
  • Required: Yes
  • Type: string

The AWS region that will contain your copied CloudHSM cluster backup.

Result Syntax

[
    'DestinationBackup' => [
        'CreateTimestamp' => <DateTime>,
        'SourceBackup' => '<string>',
        'SourceCluster' => '<string>',
        'SourceRegion' => '<string>',
    ],
]

Result Details

Members
DestinationBackup
  • Type: DestinationBackup structure

Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.

You will need to use the sourceBackupID returned in this operation to use the DescribeBackups operation on the backup that will be copied to the destination region.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

CreateCluster

$result = $client->createCluster([/* ... */]);
$promise = $client->createClusterAsync([/* ... */]);

Creates a new AWS CloudHSM cluster.

Parameter Syntax

$result = $client->createCluster([
    'HsmType' => '<string>', // REQUIRED
    'SourceBackupId' => '<string>',
    'SubnetIds' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
HsmType
  • Required: Yes
  • Type: string

The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium.

SourceBackupId
  • Type: string

The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.

SubnetIds
  • Required: Yes
  • Type: Array of strings

The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:

  • All subnets must be in the same virtual private cloud (VPC).

  • You can specify only one subnet per Availability Zone.

Result Syntax

[
    'Cluster' => [
        'BackupPolicy' => 'DEFAULT',
        'Certificates' => [
            'AwsHardwareCertificate' => '<string>',
            'ClusterCertificate' => '<string>',
            'ClusterCsr' => '<string>',
            'HsmCertificate' => '<string>',
            'ManufacturerHardwareCertificate' => '<string>',
        ],
        'ClusterId' => '<string>',
        'CreateTimestamp' => <DateTime>,
        'HsmType' => '<string>',
        'Hsms' => [
            [
                'AvailabilityZone' => '<string>',
                'ClusterId' => '<string>',
                'EniId' => '<string>',
                'EniIp' => '<string>',
                'HsmId' => '<string>',
                'State' => 'CREATE_IN_PROGRESS|ACTIVE|DEGRADED|DELETE_IN_PROGRESS|DELETED',
                'StateMessage' => '<string>',
                'SubnetId' => '<string>',
            ],
            // ...
        ],
        'PreCoPassword' => '<string>',
        'SecurityGroup' => '<string>',
        'SourceBackupId' => '<string>',
        'State' => 'CREATE_IN_PROGRESS|UNINITIALIZED|INITIALIZE_IN_PROGRESS|INITIALIZED|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|DELETED|DEGRADED',
        'StateMessage' => '<string>',
        'SubnetMapping' => ['<string>', ...],
        'VpcId' => '<string>',
    ],
]

Result Details

Members
Cluster
  • Type: Cluster structure

Information about the cluster that was created.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

CreateHsm

$result = $client->createHsm([/* ... */]);
$promise = $client->createHsmAsync([/* ... */]);

Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.

Parameter Syntax

$result = $client->createHsm([
    'AvailabilityZone' => '<string>', // REQUIRED
    'ClusterId' => '<string>', // REQUIRED
    'IpAddress' => '<string>',
]);

Parameter Details

Members
AvailabilityZone
  • Required: Yes
  • Type: string

The Availability Zone where you are creating the HSM. To find the cluster's Availability Zones, use DescribeClusters.

ClusterId
  • Required: Yes
  • Type: string

The identifier (ID) of the HSM's cluster. To find the cluster ID, use DescribeClusters.

IpAddress
  • Type: string

The HSM's IP address. If you specify an IP address, use an available address from the subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify an IP address, one is chosen for you from that subnet.

Result Syntax

[
    'Hsm' => [
        'AvailabilityZone' => '<string>',
        'ClusterId' => '<string>',
        'EniId' => '<string>',
        'EniIp' => '<string>',
        'HsmId' => '<string>',
        'State' => 'CREATE_IN_PROGRESS|ACTIVE|DEGRADED|DELETE_IN_PROGRESS|DELETED',
        'StateMessage' => '<string>',
        'SubnetId' => '<string>',
    ],
]

Result Details

Members
Hsm
  • Type: Hsm structure

Information about the HSM that was created.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

DeleteBackup

$result = $client->deleteBackup([/* ... */]);
$promise = $client->deleteBackupAsync([/* ... */]);

Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request. For more information on restoring a backup, see RestoreBackup

Parameter Syntax

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

Parameter Details

Members
BackupId
  • Required: Yes
  • Type: string

The ID of the backup to be deleted. To find the ID of a backup, use the DescribeBackups operation.

Result Syntax

[
    'Backup' => [
        'BackupId' => '<string>',
        'BackupState' => 'CREATE_IN_PROGRESS|READY|DELETED|PENDING_DELETION',
        'ClusterId' => '<string>',
        'CopyTimestamp' => <DateTime>,
        'CreateTimestamp' => <DateTime>,
        'DeleteTimestamp' => <DateTime>,
        'SourceBackup' => '<string>',
        'SourceCluster' => '<string>',
        'SourceRegion' => '<string>',
    ],
]

Result Details

Members
Backup
  • Type: Backup structure

Information on the Backup object deleted.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

DeleteCluster

$result = $client->deleteCluster([/* ... */]);
$promise = $client->deleteClusterAsync([/* ... */]);

Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.

Parameter Syntax

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

Parameter Details

Members
ClusterId
  • Required: Yes
  • Type: string

The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters.

Result Syntax

[
    'Cluster' => [
        'BackupPolicy' => 'DEFAULT',
        'Certificates' => [
            'AwsHardwareCertificate' => '<string>',
            'ClusterCertificate' => '<string>',
            'ClusterCsr' => '<string>',
            'HsmCertificate' => '<string>',
            'ManufacturerHardwareCertificate' => '<string>',
        ],
        'ClusterId' => '<string>',
        'CreateTimestamp' => <DateTime>,
        'HsmType' => '<string>',
        'Hsms' => [
            [
                'AvailabilityZone' => '<string>',
                'ClusterId' => '<string>',
                'EniId' => '<string>',
                'EniIp' => '<string>',
                'HsmId' => '<string>',
                'State' => 'CREATE_IN_PROGRESS|ACTIVE|DEGRADED|DELETE_IN_PROGRESS|DELETED',
                'StateMessage' => '<string>',
                'SubnetId' => '<string>',
            ],
            // ...
        ],
        'PreCoPassword' => '<string>',
        'SecurityGroup' => '<string>',
        'SourceBackupId' => '<string>',
        'State' => 'CREATE_IN_PROGRESS|UNINITIALIZED|INITIALIZE_IN_PROGRESS|INITIALIZED|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|DELETED|DEGRADED',
        'StateMessage' => '<string>',
        'SubnetMapping' => ['<string>', ...],
        'VpcId' => '<string>',
    ],
]

Result Details

Members
Cluster
  • Type: Cluster structure

Information about the cluster that was deleted.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

DeleteHsm

$result = $client->deleteHsm([/* ... */]);
$promise = $client->deleteHsmAsync([/* ... */]);

Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.

Parameter Syntax

$result = $client->deleteHsm([
    'ClusterId' => '<string>', // REQUIRED
    'EniId' => '<string>',
    'EniIp' => '<string>',
    'HsmId' => '<string>',
]);

Parameter Details

Members
ClusterId
  • Required: Yes
  • Type: string

The identifier (ID) of the cluster that contains the HSM that you are deleting.

EniId
  • Type: string

The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.

EniIp
  • Type: string

The IP address of the elastic network interface (ENI) of the HSM that you are deleting.

HsmId
  • Type: string

The identifier (ID) of the HSM that you are deleting.

Result Syntax

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

Result Details

Members
HsmId
  • Type: string

The identifier (ID) of the HSM that was deleted.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

DescribeBackups

$result = $client->describeBackups([/* ... */]);
$promise = $client->describeBackupsAsync([/* ... */]);

Gets information about backups of AWS CloudHSM clusters.

This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.

Parameter Syntax

$result = $client->describeBackups([
    'Filters' => [
        '<Field>' => ['<string>', ...],
        // ...
    ],
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'SortAscending' => true || false,
]);

Parameter Details

Members
Filters
  • Type: Associative array of custom strings keys (Field) to stringss

One or more filters to limit the items returned in the response.

Use the backupIds filter to return only the specified backups. Specify backups by their backup identifier (ID).

Use the sourceBackupIds filter to return only the backups created from a source backup. The sourceBackupID of a source backup is returned by the CopyBackupToRegion operation.

Use the clusterIds filter to return only the backups for the specified clusters. Specify clusters by their cluster identifier (ID).

Use the states filter to return only backups that match the specified state.

MaxResults
  • Type: int

The maximum number of backups to return in the response. When there are more backups than the number you specify, the response contains a NextToken value.

NextToken
  • Type: string

The NextToken value that you received in the previous response. Use this value to get more backups.

SortAscending
  • Type: boolean

Result Syntax

[
    'Backups' => [
        [
            'BackupId' => '<string>',
            'BackupState' => 'CREATE_IN_PROGRESS|READY|DELETED|PENDING_DELETION',
            'ClusterId' => '<string>',
            'CopyTimestamp' => <DateTime>,
            'CreateTimestamp' => <DateTime>,
            'DeleteTimestamp' => <DateTime>,
            'SourceBackup' => '<string>',
            'SourceCluster' => '<string>',
            'SourceRegion' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Backups
  • Type: Array of Backup structures

A list of backups.

NextToken
  • Type: string

An opaque string that indicates that the response contains only a subset of backups. Use this value in a subsequent DescribeBackups request to get more backups.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

DescribeClusters

$result = $client->describeClusters([/* ... */]);
$promise = $client->describeClustersAsync([/* ... */]);

Gets information about AWS CloudHSM clusters.

This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.

Parameter Syntax

$result = $client->describeClusters([
    'Filters' => [
        '<Field>' => ['<string>', ...],
        // ...
    ],
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
Filters
  • Type: Associative array of custom strings keys (Field) to stringss

One or more filters to limit the items returned in the response.

Use the clusterIds filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).

Use the vpcIds filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).

Use the states filter to return only clusters that match the specified state.

MaxResults
  • Type: int

The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a NextToken value.

NextToken
  • Type: string

The NextToken value that you received in the previous response. Use this value to get more clusters.

Result Syntax

[
    'Clusters' => [
        [
            'BackupPolicy' => 'DEFAULT',
            'Certificates' => [
                'AwsHardwareCertificate' => '<string>',
                'ClusterCertificate' => '<string>',
                'ClusterCsr' => '<string>',
                'HsmCertificate' => '<string>',
                'ManufacturerHardwareCertificate' => '<string>',
            ],
            'ClusterId' => '<string>',
            'CreateTimestamp' => <DateTime>,
            'HsmType' => '<string>',
            'Hsms' => [
                [
                    'AvailabilityZone' => '<string>',
                    'ClusterId' => '<string>',
                    'EniId' => '<string>',
                    'EniIp' => '<string>',
                    'HsmId' => '<string>',
                    'State' => 'CREATE_IN_PROGRESS|ACTIVE|DEGRADED|DELETE_IN_PROGRESS|DELETED',
                    'StateMessage' => '<string>',
                    'SubnetId' => '<string>',
                ],
                // ...
            ],
            'PreCoPassword' => '<string>',
            'SecurityGroup' => '<string>',
            'SourceBackupId' => '<string>',
            'State' => 'CREATE_IN_PROGRESS|UNINITIALIZED|INITIALIZE_IN_PROGRESS|INITIALIZED|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|DELETED|DEGRADED',
            'StateMessage' => '<string>',
            'SubnetMapping' => ['<string>', ...],
            'VpcId' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Clusters
  • Type: Array of Cluster structures

A list of clusters.

NextToken
  • Type: string

An opaque string that indicates that the response contains only a subset of clusters. Use this value in a subsequent DescribeClusters request to get more clusters.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

InitializeCluster

$result = $client->initializeCluster([/* ... */]);
$promise = $client->initializeClusterAsync([/* ... */]);

Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.

Parameter Syntax

$result = $client->initializeCluster([
    'ClusterId' => '<string>', // REQUIRED
    'SignedCert' => '<string>', // REQUIRED
    'TrustAnchor' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClusterId
  • Required: Yes
  • Type: string

The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.

SignedCert
  • Required: Yes
  • Type: string

The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.

TrustAnchor
  • Required: Yes
  • Type: string

The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. This can be a root (self-signed) certificate or a certificate chain that begins with the certificate that issued the cluster certificate and ends with a root certificate. The certificate or certificate chain must be in PEM format and can contain a maximum of 5000 characters.

Result Syntax

[
    'State' => 'CREATE_IN_PROGRESS|UNINITIALIZED|INITIALIZE_IN_PROGRESS|INITIALIZED|ACTIVE|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|DELETED|DEGRADED',
    'StateMessage' => '<string>',
]

Result Details

Members
State
  • Type: string

The cluster's state.

StateMessage
  • Type: string

A description of the cluster's state.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

ListTags

$result = $client->listTags([/* ... */]);
$promise = $client->listTagsAsync([/* ... */]);

Gets a list of tags for the specified AWS CloudHSM cluster.

This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.

Parameter Syntax

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

Parameter Details

Members
MaxResults
  • Type: int

The maximum number of tags to return in the response. When there are more tags than the number you specify, the response contains a NextToken value.

NextToken
  • Type: string

The NextToken value that you received in the previous response. Use this value to get more tags.

ResourceId
  • Required: Yes
  • Type: string

The cluster identifier (ID) for the cluster whose tags you are getting. To find the cluster ID, use DescribeClusters.

Result Syntax

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

Result Details

Members
NextToken
  • Type: string

An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent ListTags request to get more tags.

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

A list of tags.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

RestoreBackup

$result = $client->restoreBackup([/* ... */]);
$promise = $client->restoreBackupAsync([/* ... */]);

Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see DeleteBackup.

Parameter Syntax

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

Parameter Details

Members
BackupId
  • Required: Yes
  • Type: string

The ID of the backup to be restored. To find the ID of a backup, use the DescribeBackups operation.

Result Syntax

[
    'Backup' => [
        'BackupId' => '<string>',
        'BackupState' => 'CREATE_IN_PROGRESS|READY|DELETED|PENDING_DELETION',
        'ClusterId' => '<string>',
        'CopyTimestamp' => <DateTime>,
        'CreateTimestamp' => <DateTime>,
        'DeleteTimestamp' => <DateTime>,
        'SourceBackup' => '<string>',
        'SourceCluster' => '<string>',
        'SourceRegion' => '<string>',
    ],
]

Result Details

Members
Backup
  • Type: Backup structure

Information on the Backup object created.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

TagResource

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

Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.

Parameter Syntax

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

Parameter Details

Members
ResourceId
  • Required: Yes
  • Type: string

The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.

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

A list of one or more tags.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

UntagResource

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

Removes the specified tag or tags from the specified AWS CloudHSM cluster.

Parameter Syntax

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

Parameter Details

Members
ResourceId
  • Required: Yes
  • Type: string

The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use DescribeClusters.

TagKeyList
  • Required: Yes
  • Type: Array of strings

A list of one or more tag keys for the tags that you are removing. Specify only the tag keys, not the tag values.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • CloudHsmInternalFailureException:

    The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

  • CloudHsmServiceException:

    The request was rejected because an error occurred.

  • CloudHsmResourceNotFoundException:

    The request was rejected because it refers to a resource that cannot be found.

  • CloudHsmInvalidRequestException:

    The request was rejected because it is not a valid request.

  • CloudHsmAccessDeniedException:

    The request was rejected because the requester does not have permission to perform the requested operation.

Shapes

Backup

Description

Contains information about a backup of an AWS CloudHSM cluster.

Members
BackupId
  • Required: Yes
  • Type: string

The identifier (ID) of the backup.

BackupState
  • Type: string

The state of the backup.

ClusterId
  • Type: string

The identifier (ID) of the cluster that was backed up.

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

The date and time when the backup was created.

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

The date and time when the backup will be permanently deleted.

SourceBackup
  • Type: string
SourceCluster
  • Type: string
SourceRegion
  • Type: string

Certificates

Description

Contains one or more certificates or a certificate signing request (CSR).

Members
AwsHardwareCertificate
  • Type: string

The HSM hardware certificate issued (signed) by AWS CloudHSM.

ClusterCertificate
  • Type: string

The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.

ClusterCsr
  • Type: string

The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is UNINITIALIZED.

HsmCertificate
  • Type: string

The HSM certificate issued (signed) by the HSM hardware.

ManufacturerHardwareCertificate
  • Type: string

The HSM hardware certificate issued (signed) by the hardware manufacturer.

CloudHsmAccessDeniedException

Description

The request was rejected because the requester does not have permission to perform the requested operation.

Members
Message
  • Type: string

CloudHsmInternalFailureException

Description

The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

Members
Message
  • Type: string

CloudHsmInvalidRequestException

Description

The request was rejected because it is not a valid request.

Members
Message
  • Type: string

CloudHsmResourceNotFoundException

Description

The request was rejected because it refers to a resource that cannot be found.

Members
Message
  • Type: string

CloudHsmServiceException

Description

The request was rejected because an error occurred.

Members
Message
  • Type: string

Cluster

Description

Contains information about an AWS CloudHSM cluster.

Members
BackupPolicy
  • Type: string

The cluster's backup policy.

Certificates
  • Type: Certificates structure

Contains one or more certificates or a certificate signing request (CSR).

ClusterId
  • Type: string

The cluster's identifier (ID).

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

The date and time when the cluster was created.

HsmType
  • Type: string

The type of HSM that the cluster contains.

Hsms
  • Type: Array of Hsm structures

Contains information about the HSMs in the cluster.

PreCoPassword
  • Type: string

The default password for the cluster's Pre-Crypto Officer (PRECO) user.

SecurityGroup
  • Type: string

The identifier (ID) of the cluster's security group.

SourceBackupId
  • Type: string

The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.

State
  • Type: string

The cluster's state.

StateMessage
  • Type: string

A description of the cluster's state.

SubnetMapping
  • Type: Associative array of custom strings keys (ExternalAz) to strings

A map of the cluster's subnets and their corresponding Availability Zones.

VpcId
  • Type: string

The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.

DestinationBackup

Members
CreateTimestamp
  • Type: timestamp (string|DateTime or anything parsable by strtotime)
SourceBackup
  • Type: string
SourceCluster
  • Type: string
SourceRegion
  • Type: string

Hsm

Description

Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.

Members
AvailabilityZone
  • Type: string

The Availability Zone that contains the HSM.

ClusterId
  • Type: string

The identifier (ID) of the cluster that contains the HSM.

EniId
  • Type: string

The identifier (ID) of the HSM's elastic network interface (ENI).

EniIp
  • Type: string

The IP address of the HSM's elastic network interface (ENI).

HsmId
  • Required: Yes
  • Type: string

The HSM's identifier (ID).

State
  • Type: string

The HSM's state.

StateMessage
  • Type: string

A description of the HSM's state.

SubnetId
  • Type: string

The subnet that contains the HSM's elastic network interface (ENI).

Tag

Description

Contains a tag. A tag is a key-value pair.

Members
Key
  • Required: Yes
  • Type: string

The key of the tag.

Value
  • Required: Yes
  • Type: string

The value of the tag.

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