PluginProbe ʕ •ᴥ•ʔ
Transferito: WP Migration / trunk
Transferito: WP Migration vtrunk
trunk 11.4.0 12.0.0 13.1.0 14.0.0 14.0.11 14.0.7 14.1.0 14.1.1 14.1.2 14.1.3 14.1.4
transferito / vendor / aws / aws-sdk-php / src / Arn / ObjectLambdaAccessPointArn.php
transferito / vendor / aws / aws-sdk-php / src / Arn Last commit date
Exception 11 months ago S3 11 months ago AccessPointArn.php 11 months ago AccessPointArnInterface.php 11 months ago Arn.php 11 months ago ArnInterface.php 11 months ago ArnParser.php 11 months ago ObjectLambdaAccessPointArn.php 11 months ago ResourceTypeAndIdTrait.php 11 months ago
ObjectLambdaAccessPointArn.php
36 lines
1 <?php
2 namespace Aws\Arn;
3
4 /**
5 * This class represents an S3 Object bucket ARN, which is in the
6 * following format:
7 *
8 * @internal
9 */
10 class ObjectLambdaAccessPointArn extends AccessPointArn
11 {
12 /**
13 * Parses a string into an associative array of components that represent
14 * a ObjectLambdaAccessPointArn
15 *
16 * @param $string
17 * @return array
18 */
19 public static function parse($string)
20 {
21 $data = parent::parse($string);
22 return parent::parseResourceTypeAndId($data);
23 }
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