MultiRegionAccessPointArn.php 695 B

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