ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/vendor/aws/aws-sdk-php/src/Arn/
Upload File :
Current File : /home2/selectio/www/fms-worksuite/vendor/aws/aws-sdk-php/src/Arn/ObjectLambdaAccessPointArn.php

<?php
namespace 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');
    }
}

Zerion Mini Shell 1.0