PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / s3 / Aws / Arn / ObjectLambdaAccessPointArn.php

ObjectLambdaAccessPointArn.php in Media Cloud Sync 1.4.2, at includes/sdk/s3/Aws/Arn/ObjectLambdaAccessPointArn.php

36 lines 816 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Dudlewebs\WPMCS\s3\Aws\Arn;
4
5 /**
6 * This class represents an S3 Object bucket ARN, which is in the
7 * following format:
8 *
9 * @internal
10 */
11 class ObjectLambdaAccessPointArn extends AccessPointArn
12 {
13 /**
14 * Parses a string into an associative array of components that represent
15 * a ObjectLambdaAccessPointArn
16 *
17 * @param $string
18 * @return array
19 */
20 public static function parse($string)
21 {
22 $data = parent::parse($string);
23 return parent::parseResourceTypeAndId($data);
24 }
25 /**
26 *
27 * @param array $data
28 */
29 protected static function validate(array $data)
30 {
31 parent::validate($data);
32 self::validateRegion($data, 'S3 Object Lambda ARN');
33 self::validateAccountId($data, 'S3 Object Lambda ARN');
34 }
35 }
36