# media-cloud-sync/1.2.8/includes/sdk/s3/Aws/Arn/ObjectLambdaAccessPointArn.php

Media Cloud Sync, version 1.2.8. 36 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.2.8/code/includes/sdk/s3/Aws/Arn/ObjectLambdaAccessPointArn.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.2.8/raw/includes/sdk/s3/Aws/Arn/ObjectLambdaAccessPointArn.php
- Modified: 2024-10-27T10:40:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.2.8/code/includes/sdk/s3/Aws/Arn/ObjectLambdaAccessPointArn.php#L10-L20`.

```php
<?php

namespace Dudlewebs\WPMCS\s3\Aws\Arn;

/**
 * This class represents an S3 Object bucket ARN, which is in the
 * following format:
 *
 * @internal
 */
class ObjectLambdaAccessPointArn extends AccessPointArn
{
    /**
     * Parses a string into an associative array of components that represent
     * a ObjectLambdaAccessPointArn
     *
     * @param $string
     * @return array
     */
    public static function parse($string)
    {
        $data = parent::parse($string);
        return parent::parseResourceTypeAndId($data);
    }
    /**
     *
     * @param array $data
     */
    protected static function validate(array $data)
    {
        parent::validate($data);
        self::validateRegion($data, 'S3 Object Lambda ARN');
        self::validateAccountId($data, 'S3 Object Lambda ARN');
    }
}

```
