| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\Arn; |
| 4 |
|
| 5 |
/** |
| 6 |
* Amazon Resource Names (ARNs) uniquely identify AWS resources. Classes |
| 7 |
* implementing ArnInterface parse and store an ARN object representation. |
| 8 |
* |
| 9 |
* Valid ARN formats include: |
| 10 |
* |
| 11 |
* arn:partition:service:region:account-id:resource-id |
| 12 |
* arn:partition:service:region:account-id:resource-type/resource-id |
| 13 |
* arn:partition:service:region:account-id:resource-type:resource-id |
| 14 |
* |
| 15 |
* Some components may be omitted, depending on the service and resource type. |
| 16 |
* |
| 17 |
* @internal |
| 18 |
*/ |
| 19 |
interface ArnInterface |
| 20 |
{ |
| 21 |
public static function parse($string); |
| 22 |
public function __toString(); |
| 23 |
public function getPrefix(); |
| 24 |
public function getPartition(); |
| 25 |
public function getService(); |
| 26 |
public function getRegion(); |
| 27 |
public function getAccountId(); |
| 28 |
public function getResource(); |
| 29 |
public function toArray(); |
| 30 |
} |
| 31 |
|