<?php

namespace Kazcode\WpStorage\Vendor;

// This file was auto-generated from sdk-root/src/data/codecatalyst/2022-09-28/endpoint-rule-set-1.json
return ['version' => '1.0', 'parameters' => ['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'], 'Region' => ['builtIn' => 'AWS::Region', 'required' => \false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string'], 'Endpoint' => ['builtIn' => 'SDK::Endpoint', 'required' => \false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string']], 'rules' => [['conditions' => [['fn' => 'isSet', 'argv' => [['ref' => 'Endpoint']]]], 'endpoint' => ['url' => ['ref' => 'Endpoint'], 'properties' => [], 'headers' => []], 'type' => 'endpoint'], ['conditions' => [['fn' => 'not', 'argv' => [['fn' => 'isSet', 'argv' => [['ref' => 'Region']]]]], ['fn' => 'aws.partition', 'argv' => ['us-west-2'], 'assign' => 'PartitionResult']], 'rules' => [['conditions' => [['fn' => 'booleanEquals', 'argv' => [['ref' => 'UseFIPS'], \true]]], 'rules' => [['conditions' => [['fn' => 'booleanEquals', 'argv' => [['fn' => 'getAttr', 'argv' => [['ref' => 'PartitionResult'], 'supportsFIPS']], \false]]], 'error' => 'Partition does not support FIPS.', 'type' => 'error'], ['conditions' => [], 'endpoint' => ['url' => 'https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => []], 'type' => 'endpoint']], 'type' => 'tree'], ['conditions' => [], 'endpoint' => ['url' => 'https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => []], 'type' => 'endpoint']], 'type' => 'tree'], ['conditions' => [['fn' => 'isSet', 'argv' => [['ref' => 'Region']]], ['fn' => 'aws.partition', 'argv' => [['ref' => 'Region']], 'assign' => 'PartitionResult']], 'rules' => [['conditions' => [['fn' => 'booleanEquals', 'argv' => [['ref' => 'UseFIPS'], \true]]], 'rules' => [['conditions' => [['fn' => 'booleanEquals', 'argv' => [['fn' => 'getAttr', 'argv' => [['ref' => 'PartitionResult'], 'supportsFIPS']], \false]]], 'error' => 'Partition does not support FIPS.', 'type' => 'error'], ['conditions' => [], 'endpoint' => ['url' => 'https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => []], 'type' => 'endpoint']], 'type' => 'tree'], ['conditions' => [], 'endpoint' => ['url' => 'https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => []], 'type' => 'endpoint']], 'type' => 'tree']]];
