AccessPointArn.php
11 months ago
BucketArnInterface.php
11 months ago
MultiRegionAccessPointArn.php
11 months ago
OutpostsAccessPointArn.php
11 months ago
OutpostsArnInterface.php
11 months ago
OutpostsBucketArn.php
11 months ago
MultiRegionAccessPointArn.php
39 lines
| 1 | <?php |
| 2 | namespace Aws\Arn\S3; |
| 3 | |
| 4 | use Aws\Arn\Arn; |
| 5 | use Aws\Arn\ResourceTypeAndIdTrait; |
| 6 | |
| 7 | /** |
| 8 | * This class represents an S3 multi-region bucket ARN, which is in the |
| 9 | * following format: |
| 10 | * |
| 11 | * @internal |
| 12 | */ |
| 13 | class MultiRegionAccessPointArn extends AccessPointArn |
| 14 | { |
| 15 | use ResourceTypeAndIdTrait; |
| 16 | |
| 17 | /** |
| 18 | * Parses a string into an associative array of components that represent |
| 19 | * a MultiRegionArn |
| 20 | * |
| 21 | * @param $string |
| 22 | * @return array |
| 23 | */ |
| 24 | public static function parse($string) |
| 25 | { |
| 26 | return parent::parse($string); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * |
| 31 | * @param array $data |
| 32 | */ |
| 33 | public static function validate(array $data) |
| 34 | { |
| 35 | Arn::validate($data); |
| 36 | } |
| 37 | |
| 38 | } |
| 39 |