<?php

namespace Kazcode\WpStorage\Vendor;

// This file was auto-generated from sdk-root/src/data/cloudfront-keyvaluestore/2022-07-26/endpoint-bdd-1.json
return ['version' => '1.1', 'parameters' => ['KvsARN' => ['required' => \false, 'documentation' => 'The ARN of the Key Value Store', 'type' => 'string'], 'Region' => ['builtIn' => 'AWS::Region', 'required' => \false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string'], 'UseFIPS' => ['builtIn' => 'AWS::UseFIPS', 'required' => \true, 'default' => \false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean'], 'Endpoint' => ['builtIn' => 'SDK::Endpoint', 'required' => \false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string']], 'conditions' => [['fn' => 'booleanEquals', 'argv' => [['ref' => 'UseFIPS'], \true]], ['fn' => 'isSet', 'argv' => [['ref' => 'KvsARN']]], ['fn' => 'aws.parseArn', 'argv' => [['ref' => 'KvsARN']], 'assign' => 'parsedArn'], ['fn' => 'stringEquals', 'argv' => [['fn' => 'getAttr', 'argv' => [['ref' => 'parsedArn'], 'service']], 'cloudfront']], ['fn' => 'stringEquals', 'argv' => [['fn' => 'getAttr', 'argv' => [['ref' => 'parsedArn'], 'region']], '']], ['fn' => 'getAttr', 'argv' => [['ref' => 'parsedArn'], 'resourceId[0]'], 'assign' => 'arnType'], ['fn' => 'stringEquals', 'argv' => [['ref' => 'arnType'], '']], ['fn' => 'stringEquals', 'argv' => [['ref' => 'arnType'], 'key-value-store']], ['fn' => 'stringEquals', 'argv' => [['fn' => 'getAttr', 'argv' => [['ref' => 'parsedArn'], 'partition']], 'aws']], ['fn' => 'isSet', 'argv' => [['ref' => 'Region']]], ['fn' => 'aws.partition', 'argv' => [['ref' => 'Region']], 'assign' => 'partitionResult'], ['fn' => 'stringEquals', 'argv' => [['fn' => 'getAttr', 'argv' => [['ref' => 'parsedArn'], 'partition']], ['fn' => 'getAttr', 'argv' => [['ref' => 'partitionResult'], 'name']]]], ['fn' => 'isSet', 'argv' => [['ref' => 'Endpoint']]], ['fn' => 'parseURL', 'argv' => [['ref' => 'Endpoint']], 'assign' => 'url']], 'results' => [['conditions' => [], 'endpoint' => ['url' => '{url#scheme}://{parsedArn#accountId}.{url#authority}{url#path}', 'properties' => ['authSchemes' => [['name' => 'sigv4a', 'signingName' => 'cloudfront-keyvaluestore', 'signingRegionSet' => ['*']]]], 'headers' => []], 'type' => 'endpoint'], ['conditions' => [], 'error' => 'Provided endpoint is not a valid URL', 'type' => 'error'], ['conditions' => [], 'endpoint' => ['url' => 'https://{parsedArn#accountId}.cloudfront-kvs.global.api.aws', 'properties' => ['authSchemes' => [['name' => 'sigv4a', 'signingName' => 'cloudfront-keyvaluestore', 'signingRegionSet' => ['*']]]], 'headers' => []], 'type' => 'endpoint'], ['conditions' => [], 'error' => 'Client was configured for partition `{partitionResult#name}` but Kvs ARN has `{parsedArn#partition}`', 'type' => 'error'], ['conditions' => [], 'error' => 'CloudFront-KeyValueStore is not supported in partition `{parsedArn#partition}`', 'type' => 'error'], ['conditions' => [], 'error' => 'ARN resource type is invalid. Expected `key-value-store`, found: `{arnType}`', 'type' => 'error'], ['conditions' => [], 'error' => 'No resource type found in the KVS ARN. Resource type must be `key-value-store`.', 'type' => 'error'], ['conditions' => [], 'error' => 'Provided ARN must be a global resource ARN. Found: `{parsedArn#region}`', 'type' => 'error'], ['conditions' => [], 'error' => 'Provided ARN is not a valid CloudFront Service ARN. Found: `{parsedArn#service}`', 'type' => 'error'], ['conditions' => [], 'error' => 'KVS ARN must be a valid ARN', 'type' => 'error'], ['conditions' => [], 'error' => 'KVS ARN must be provided to use this service', 'type' => 'error'], ['conditions' => [], 'error' => 'Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore.', 'type' => 'error']], 'root' => 2, 'nodeCount' => 15, 'nodes' => '/////wAAAAH/////AAAAAAX14QwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eEKAAAAAwAAAAYF9eEJAAAABAAAAAcF9eEIAAAABQAAAAgF9eEHAAAABgX14QcAAAAJAAAABwAAAAoF9eEGAAAACAAAAAsF9eEFAAAACQAAAAwAAAAOAAAACgAAAA0AAAAOAAAACwAAAA4F9eEEAAAADAAAAA8F9eEDAAAADQX14QEF9eEC'];
