PHP 7.4.33
Preview: AccessPointArn.php Size: 709 B
/home/godevadmin/www/admin/vendor/aws/Aws/Arn/S3/AccessPointArn.php

<?php
namespace Aws\Arn\S3;

use Aws\Arn\AccessPointArn as BaseAccessPointArn;
use Aws\Arn\AccessPointArnInterface;
use Aws\Arn\ArnInterface;
use Aws\Arn\Exception\InvalidArnException;

/**
 * @internal
 */
class AccessPointArn extends BaseAccessPointArn implements AccessPointArnInterface
{
    /**
     * Validation specific to AccessPointArn
     *
     * @param array $data
     */
    public static function validate(array $data)
    {
        parent::validate($data);
        if ($data['service'] !== 's3') {
            throw new InvalidArnException("The 3rd component of an S3 access"
                . " point ARN represents the region and must be 's3'.");
        }
    }
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
709 B lrwxrwxr-x 2024-06-18 20:09:58
Edit Download
180 B lrwxrwxr-x 2024-06-18 20:09:58
Edit Download
733 B lrwxrwxr-x 2024-06-18 20:09:58
Edit Download
3.73 KB lrwxrwxr-x 2024-06-18 20:09:58
Edit Download
181 B lrwxrwxr-x 2024-06-18 20:09:58
Edit Download
2.87 KB lrwxrwxr-x 2024-06-18 20:09:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).