summaryrefslogtreecommitdiff
path: root/vendor/aws/aws-sdk-php/src/Arn/ArnInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/aws/aws-sdk-php/src/Arn/ArnInterface.php')
-rw-r--r--vendor/aws/aws-sdk-php/src/Arn/ArnInterface.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/aws/aws-sdk-php/src/Arn/ArnInterface.php b/vendor/aws/aws-sdk-php/src/Arn/ArnInterface.php
new file mode 100644
index 0000000..c30c6cc
--- /dev/null
+++ b/vendor/aws/aws-sdk-php/src/Arn/ArnInterface.php
@@ -0,0 +1,37 @@
+<?php
+namespace Aws\Arn;
+
+/**
+ * Amazon Resource Names (ARNs) uniquely identify AWS resources. Classes
+ * implementing ArnInterface parse and store an ARN object representation.
+ *
+ * Valid ARN formats include:
+ *
+ * arn:partition:service:region:account-id:resource-id
+ * arn:partition:service:region:account-id:resource-type/resource-id
+ * arn:partition:service:region:account-id:resource-type:resource-id
+ *
+ * Some components may be omitted, depending on the service and resource type.
+ *
+ * @internal
+ */
+interface ArnInterface
+{
+ public static function parse($string);
+
+ public function __toString();
+
+ public function getPrefix();
+
+ public function getPartition();
+
+ public function getService();
+
+ public function getRegion();
+
+ public function getAccountId();
+
+ public function getResource();
+
+ public function toArray();
+} \ No newline at end of file