39 lines
695 B
PHP
39 lines
695 B
PHP
<?php
|
|
namespace Aws\Arn\S3;
|
|
|
|
use Aws\Arn\Arn;
|
|
use Aws\Arn\ResourceTypeAndIdTrait;
|
|
|
|
/**
|
|
* This class represents an S3 multi-region bucket ARN, which is in the
|
|
* following format:
|
|
*
|
|
* @internal
|
|
*/
|
|
class MultiRegionAccessPointArn extends AccessPointArn
|
|
{
|
|
use ResourceTypeAndIdTrait;
|
|
|
|
/**
|
|
* Parses a string into an associative array of components that represent
|
|
* a MultiRegionArn
|
|
*
|
|
* @param $string
|
|
* @return array
|
|
*/
|
|
public static function parse($string)
|
|
{
|
|
return parent::parse($string);
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param array $data
|
|
*/
|
|
public static function validate(array $data)
|
|
{
|
|
Arn::validate($data);
|
|
}
|
|
|
|
}
|